@onequery/cli 0.1.50-alpha.1-win32-x64 → 0.1.50-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-CGmAYz8Z.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-DJ_4zmt8.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-f6xppY7b.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-COtToeSC.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-LQg_2-5v.js → aarch64-apple-darwin/runtime/dashboard/assets/audit-L0p_sbmf.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/budget-CpNnCDvc.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-wu4tr9JD.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-DX7qJ2z3.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-3pvIA31m.js → aarch64-apple-darwin/runtime/dashboard/assets/connect-database-veJddN9s.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-DiO7zB9V.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-DcFcmY-G.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-C0JyH5J3.js → aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-DGIyt0OF.js} +2 -2
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/device-GZIoJtbw.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-CLot8VIw.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-1lFANFIg.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-CZKXq9HA.js → aarch64-apple-darwin/runtime/dashboard/assets/home-BL1SSXlH.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/index-C_q-gtGv.js → aarch64-apple-darwin/runtime/dashboard/assets/index-BZrWlEXZ.js} +2 -2
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-B2b7o-ye.js → aarch64-apple-darwin/runtime/dashboard/assets/integrations-B4PT4c-V.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-D0BbiY9f.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-BTttPHZm.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-jr9opiO_.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/signin-VOTh7Maw.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/team-CWGusGkh.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-CcB6O_vF.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-CdJo4s34.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-BCZ8tApt.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-D88ezW6g.js} +1 -1
- package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-B3PCmH7w.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-C_843G5v.js} +1 -1
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-jz7A3Y4u.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-BXj42YYV.js +1 -0
- package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/xstate-react.esm--l_MSO73.js +1 -0
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +1 -1
- package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +328 -320
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-jeO_g_0N.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/device-DJhBvm-V.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-Dt2OlNDo.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-DNF0ckUg.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/team-BL56C5sF.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-Bj5cJCZc.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-ZQGYM-g4.js +0 -1
- package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/xstate-react.esm-CfqAjJyu.js +0 -1
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeItem-CZdKsA45.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/CompositeList-C9xWKWEY.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/DialogTitle-DSjY6Xud.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/IconDatabase-BLZDgpcN.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-Cg43mUxH.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/Separator-Di8cGnYl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/alert-TnJXtO0T.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-F8Y7IuHn.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-paths-DcYkf-C_.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/app-routes-DM5pppqD.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-bootstrap-query-KhD_VRw3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/auth-client-Dj6z7Pcl.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/avatar-DoLsibq3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/badge-D8XKsDus.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/card-CZCl7QNy.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/checkbox-BLYovhFU.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/createReactComponent-_L2mp4Ui.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/dist-Cg-lnuP8.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/empty-DjRo5ytz.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/format-date-B5v-Ga9z.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getDisabledMountTransitionStyles-f3pOCbyk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/getPseudoElementBounds-BpCtHFAC.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/index-ClbN-fUj.css +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/input-DSkIbIFK.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-PidGz2SY.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/organization-query-keys-Dl2dsKXD.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/query-timing-C8VVOl1e.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/queryOptions-LX_zDC40.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/removable-DwbP0VJV.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/schemas-K0ZhTj23.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/select-BSubTgC3.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/separator-CWjuJH0f.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/settings-B3gO4YZk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/src-Cs2YIecp.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/table-mA0t_uVk.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/textarea-B57VG43g.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useBaseUiId-Cn1kR417.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useCompositeItem-DqawtL5i.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useControlled-C1S7R-1A.js +0 -0
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRender-DFMo54_d.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/zod-BgAmwIO1.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/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/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/_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
- /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/sql-parser/sql_parser_wasm_bg.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-BSubTgC3.js";import{c as y,i as b,l as x,r as S,s as C,t as w}from"./use-optimistic-mutation-BCZ8tApt.js";import{M as T,ct as E,i as D,st as O}from"./getDisabledMountTransitionStyles-f3pOCbyk.js";import{i as k,t as A}from"./CompositeList-C9xWKWEY.js";import{d as j,n as M,t as N}from"./useBaseUiId-Cn1kR417.js";import{c as P,f as F,h as I,l as L,n as R,p as z,r as B,s as V,u as H}from"./schemas-K0ZhTj23.js";import{t as ee}from"./src-Cs2YIecp.js";import{E as te,_ as ne,g as re,q as ie}from"./index-C_q-gtGv.js";import{t as U}from"./input-DSkIbIFK.js";import{t as ae}from"./useControlled-C1S7R-1A.js";import"./separator-CWjuJH0f.js";import{t as oe}from"./useCompositeItem-DqawtL5i.js";import{t as W}from"./label-CUY3W2yp.js";import{n as G,r as se,t as ce}from"./textarea-B57VG43g.js";import{t as le}from"./api-paths-DcYkf-C_.js";import{n as ue,t as de}from"./zod-BgAmwIO1.js";var K=r(),q=e(t(),1),J=n();function fe(e){let t=(0,K.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,J.jsx)(`title`,{children:`Linear`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`PostgreSQL`}),o=(0,J.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,J.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 me(e){let t=(0,K.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,J.jsx)(`title`,{children:`Supabase`}),o=(0,J.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,J.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,J.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,J.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 he(e){let t=(0,K.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,J.jsx)(`title`,{children:`MySQL`}),o=(0,J.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,J.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 Y(e){let t=(0,K.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,J.jsx)(`title`,{children:`MongoDB`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`Google Analytics`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`BigQuery`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`Amplitude`}),o=(0,J.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,J.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,J.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,K.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,J.jsx)(`title`,{children:`Laminar`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`AWS Athena`}),o=(0,J.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,J.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,J.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,J.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 xe(e){let t=(0,K.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,J.jsx)(`title`,{children:`Mixpanel`}),o=(0,J.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,J.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 Se(e){let t=(0,K.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,J.jsx)(`title`,{children:`PostHog`}),o=(0,J.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,J.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,J.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,J.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,J.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,J.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 Ce(e){let t=(0,K.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,J.jsx)(`title`,{children:`Sentry`}),o=(0,J.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,J.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 we(e){let t=(0,K.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,J.jsx)(`title`,{children:`GitHub`}),o=(0,J.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,J.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 Te(e){let t=(0,K.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,q.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,J.jsx)(`title`,{children:`Google Docs`}),t[5]=w):w=t[5];let T;t[6]===c?T=t[7]:(T=(0,J.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,J.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,J.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,J.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,J.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,J.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,J.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,J.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF`,stopOpacity:`.1`}),N=(0,J.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,J.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,J.jsx)(`stop`,{offset:`0%`,stopColor:`#1A237E`,stopOpacity:`.2`}),I=(0,J.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,J.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,J.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,J.jsx)(`use`,{xlinkHref:z}),t[38]=z,t[39]=B);let V;t[40]!==l||t[41]!==B?(V=(0,J.jsx)(`mask`,{id:l,fill:`#fff`,children:B}),t[40]=l,t[41]=B,t[42]=V):V=t[42];let H=`url(#${l})`,ee;t[43]===H?ee=t[44]:(ee=(0,J.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]=ee);let te=`#${u}`,ne;t[45]===te?ne=t[46]:(ne=(0,J.jsx)(`use`,{xlinkHref:te}),t[45]=te,t[46]=ne);let re;t[47]!==f||t[48]!==ne?(re=(0,J.jsx)(`mask`,{id:f,fill:`#fff`,children:ne}),t[47]=f,t[48]=ne,t[49]=re):re=t[49];let ie=`url(#${d})`,U=`url(#${f})`,ae;t[50]!==ie||t[51]!==U?(ae=(0,J.jsx)(`path`,{fill:ie,fillRule:`nonzero`,d:`M30.664 16.431 47 32.858V17.727z`,mask:U}),t[50]=ie,t[51]=U,t[52]=ae):ae=t[52];let oe=`#${p}`,W;t[53]===oe?W=t[54]:(W=(0,J.jsx)(`use`,{xlinkHref:oe}),t[53]=oe,t[54]=W);let G;t[55]!==m||t[56]!==W?(G=(0,J.jsx)(`mask`,{id:m,fill:`#fff`,children:W}),t[55]=m,t[56]=W,t[57]=G):G=t[57];let se=`url(#${m})`,ce;t[58]===se?ce=t[59]:(ce=(0,J.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:se}),t[58]=se,t[59]=ce);let le=`#${h}`,ue;t[60]===le?ue=t[61]:(ue=(0,J.jsx)(`use`,{xlinkHref:le}),t[60]=le,t[61]=ue);let de;t[62]!==g||t[63]!==ue?(de=(0,J.jsx)(`mask`,{id:g,fill:`#fff`,children:ue}),t[62]=g,t[63]=ue,t[64]=de):de=t[64];let fe=`url(#${g})`,pe;t[65]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,J.jsx)(`path`,{fill:`#A1C2FA`,fillRule:`nonzero`,d:`M29.375 0v13.295c0 2.449 1.972 4.432 4.406 4.432H47z`}),t[65]=pe):pe=t[65];let me;t[66]===fe?me=t[67]:(me=(0,J.jsx)(`g`,{mask:fe,children:pe}),t[66]=fe,t[67]=me);let he=`#${_}`,Y;t[68]===he?Y=t[69]:(Y=(0,J.jsx)(`use`,{xlinkHref:he}),t[68]=he,t[69]=Y);let ge;t[70]!==v||t[71]!==Y?(ge=(0,J.jsx)(`mask`,{id:v,fill:`#fff`,children:Y}),t[70]=v,t[71]=Y,t[72]=ge):ge=t[72];let _e=`url(#${v})`,ve;t[73]===_e?ve=t[74]:(ve=(0,J.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:_e}),t[73]=_e,t[74]=ve);let ye=`#${y}`,be;t[75]===ye?be=t[76]:(be=(0,J.jsx)(`use`,{xlinkHref:ye}),t[75]=ye,t[76]=be);let xe;t[77]!==b||t[78]!==be?(xe=(0,J.jsx)(`mask`,{id:b,fill:`#fff`,children:be}),t[77]=b,t[78]=be,t[79]=xe):xe=t[79];let Se=`url(#${b})`,Ce;t[80]===Se?Ce=t[81]:(Ce=(0,J.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:Se}),t[80]=Se,t[81]=Ce);let we=`#${x}`,Te;t[82]===we?Te=t[83]:(Te=(0,J.jsx)(`use`,{xlinkHref:we}),t[82]=we,t[83]=Te);let Ee;t[84]!==S||t[85]!==Te?(Ee=(0,J.jsx)(`mask`,{id:S,fill:`#fff`,children:Te}),t[84]=S,t[85]=Te,t[86]=Ee):Ee=t[86];let X=`url(#${S})`,De;t[87]===X?De=t[88]:(De=(0,J.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:X}),t[87]=X,t[88]=De);let Oe=`url(#${C})`,ke;t[89]===Oe?ke=t[90]:(ke=(0,J.jsx)(`path`,{fill:Oe,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]=Oe,t[90]=ke);let Ae;t[91]!==V||t[92]!==ee||t[93]!==re||t[94]!==ae||t[95]!==G||t[96]!==ce||t[97]!==de||t[98]!==me||t[99]!==ge||t[100]!==ve||t[101]!==xe||t[102]!==Ce||t[103]!==Ee||t[104]!==De||t[105]!==ke?(Ae=(0,J.jsxs)(`g`,{fill:`none`,fillRule:`evenodd`,children:[V,ee,re,ae,G,ce,de,me,ge,ve,xe,Ce,Ee,De,ke]}),t[91]=V,t[92]=ee,t[93]=re,t[94]=ae,t[95]=G,t[96]=ce,t[97]=de,t[98]=me,t[99]=ge,t[100]=ve,t[101]=xe,t[102]=Ce,t[103]=Ee,t[104]=De,t[105]=ke,t[106]=Ae):Ae=t[106];let je;return t[107]!==n||t[108]!==i||t[109]!==R||t[110]!==Ae?(je=(0,J.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,Ae]}),t[107]=n,t[108]=i,t[109]=R,t[110]=Ae,t[111]=je):je=t[111],je}function Ee(e){let t=(0,K.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,J.jsx)(`title`,{children:`Unknown provider`}),o=(0,J.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,strokeWidth:`2`}),s=(0,J.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,J.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,J.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 X={amplitude:ve,aws_athena_connector:be,bigquery:_e,ga:ge,github:we,google_docs:Te,laminar:ye,linear:fe,mixpanel:xe,mongodb:Y,mysql:he,postgres:pe,supabase:me,posthog:Se,sentry:Ce};function De(e){return e in X}function Oe(e){return De(e)?X[e]:Ee}var ke=q.createContext(void 0);function Ae(){let e=q.useContext(ke);if(e===void 0)throw Error(f(64));return e}var je=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),Me={tabActivationDirection:e=>({[je.activationDirection]:e})},Ne=q.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:s=`horizontal`,render:c,value:l,...u}=e,f=D(),p=Object.hasOwn(e,`defaultValue`),m=q.useRef([]),[h,g]=q.useState(()=>new Map),[_,v]=ae({controlled:l,default:r,name:`Tabs`,state:`value`}),y=l!==void 0,[b,x]=q.useState(()=>new Map),[S,C]=q.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})}),O=q.useCallback(e=>h.get(e),[h]),k=q.useCallback(e=>{for(let t of b.values())if(e===t?.value)return t?.id},[b]),j=q.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=q.useMemo(()=>({direction:f,getTabElementBySelectedValue:j,getTabIdByPanelValue:k,getTabPanelIdByValue:O,onValueChange:w,orientation:s,registerMountedTabPanel:T,setTabMap:x,unregisterMountedTabPanel:E,tabActivationDirection:S,value:_}),[f,j,k,O,w,s,T,x,E,S,_]),N=q.useMemo(()=>{for(let e of b.values())if(e!=null&&e.value===_)return e},[b,_]),P=q.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:Me});return(0,J.jsx)(ke.Provider,{value:M,children:(0,J.jsx)(A,{elementsRef:m,children:F})})}),Pe=q.createContext(void 0);function Fe(){let e=q.useContext(Pe);if(e===void 0)throw Error(f(65));return e}var Ie=q.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}=Ae(),{activateOnFocus:h,highlightedTabIndex:g,onTabActivation:_,setHighlightedTabIndex:v,tabsListElement:y}=Fe(),b=N(s),{compositeProps:x,compositeRef:S,index:C}=oe({metadata:q.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===f,D=q.useRef(!1);d(()=>{if(D.current){D.current=!1;return}if(!(w&&C>-1&&g!==C))return;let e=y;if(e!=null){let t=O(T(e));if(t&&E(e,t))return}r||v(C)},[w,C,g,v,r,y]);let{getButtonProps:k,buttonRef:A}=c({disabled:r,native:l,focusableWhenDisabled:!0}),P=p(a),F=q.useRef(!1),I=q.useRef(!1);function L(e){w||r||_(a,M(j,e.nativeEvent,void 0,{activationDirection:`none`}))}function R(e){w||(C>-1&&!r&&v(C),!r&&h&&(!F.current||F.current&&I.current)&&_(a,M(j,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,T(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return o(`button`,e,{state:q.useMemo(()=>({disabled:r,active:w,orientation:m}),[r,w,m]),ref:[t,A,S],props:[x,{role:`tab`,"aria-controls":P,"aria-selected":w,id:b,onClick:L,onFocus:R,onPointerDown:z,[se]:w?``:void 0,onKeyDownCapture(){D.current=!0}},u,k]})}),Le=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e}({}),Re=q.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}=Ae(),h=N(),{ref:g,index:_}=k({metadata:q.useMemo(()=>({id:h,value:r}),[h,r])}),v=r!==c,y=l(r),b=o(`div`,e,{state:q.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,[Le.index]:_},s],stateAttributesMapping:Me});return d(()=>{if(!(v&&!a)&&h!=null)return p(r,h),()=>{m(r,h)}},[v,a,r,h,p,m]),!v||a?b:null}),ze=q.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}=Ae(),[h,g]=q.useState(0),[_,v]=q.useState(null),y=Ve(f,d,_,l),b=a((e,t)=>{e!==f&&(t.activationDirection=y(e),u(e,t))}),x=q.useMemo(()=>({orientation:d,tabActivationDirection:m}),[d,m]),S={"aria-orientation":d===`vertical`?`vertical`:void 0,role:`tablist`},C=q.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:h,onTabActivation:b,setHighlightedTabIndex:g,tabsListElement:_,value:f}),[n,h,b,g,_,f]);return(0,J.jsx)(Pe.Provider,{value:C,children:(0,J.jsx)(G,{render:o,className:r,state:x,refs:[t,v],props:[S,c],stateAttributesMapping:Me,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:d,onHighlightedIndexChange:g,onMapChange:p,disabledIndices:s})})});function Be(e,t){let{left:n,top:r}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:n-i,top:r-a}}function Ve(e,t,n,r){let[i,a]=q.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}=Be(i,n);a(t===`horizontal`?o:s)},[t,r,n,e]),q.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}=Be(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 He(e){let t=(0,K.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,J.jsx)(Ne,{"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 Ue=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 We(e){let t=(0,K.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(Ue({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,J.jsx)(ze,{"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 Ge(e){let t=(0,K.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,J.jsx)(Ie,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ke(e){let t=(0,K.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,J.jsx)(Re,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var qe={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-BSubTgC3.js";import{c as y,i as b,l as x,r as S,s as C,t as w}from"./use-optimistic-mutation-D88ezW6g.js";import{M as T,ct as E,i as D,st as O}from"./getDisabledMountTransitionStyles-f3pOCbyk.js";import{i as k,t as A}from"./CompositeList-C9xWKWEY.js";import{d as j,n as M,t as N}from"./useBaseUiId-Cn1kR417.js";import{c as P,f as F,h as I,l as L,n as R,p as z,r as B,s as V,u as H}from"./schemas-K0ZhTj23.js";import{t as ee}from"./src-Cs2YIecp.js";import{E as te,_ as ne,g as re,q as ie}from"./index-BZrWlEXZ.js";import{t as U}from"./input-DSkIbIFK.js";import{t as ae}from"./useControlled-C1S7R-1A.js";import"./separator-CWjuJH0f.js";import{t as oe}from"./useCompositeItem-DqawtL5i.js";import{t as W}from"./label-CUY3W2yp.js";import{n as G,r as se,t as ce}from"./textarea-B57VG43g.js";import{t as le}from"./api-paths-DcYkf-C_.js";import{n as ue,t as de}from"./zod-BgAmwIO1.js";var K=r(),q=e(t(),1),J=n();function fe(e){let t=(0,K.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,J.jsx)(`title`,{children:`Linear`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`PostgreSQL`}),o=(0,J.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,J.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 me(e){let t=(0,K.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,J.jsx)(`title`,{children:`Supabase`}),o=(0,J.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,J.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,J.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,J.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 he(e){let t=(0,K.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,J.jsx)(`title`,{children:`MySQL`}),o=(0,J.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,J.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 Y(e){let t=(0,K.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,J.jsx)(`title`,{children:`MongoDB`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`Google Analytics`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`BigQuery`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`Amplitude`}),o=(0,J.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,J.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,J.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,K.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,J.jsx)(`title`,{children:`Laminar`}),o=(0,J.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,J.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,K.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,J.jsx)(`title`,{children:`AWS Athena`}),o=(0,J.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,J.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,J.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,J.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 xe(e){let t=(0,K.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,J.jsx)(`title`,{children:`Mixpanel`}),o=(0,J.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,J.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 Se(e){let t=(0,K.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,J.jsx)(`title`,{children:`PostHog`}),o=(0,J.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,J.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,J.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,J.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,J.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,J.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 Ce(e){let t=(0,K.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,J.jsx)(`title`,{children:`Sentry`}),o=(0,J.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,J.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 we(e){let t=(0,K.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,J.jsx)(`title`,{children:`GitHub`}),o=(0,J.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,J.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 Te(e){let t=(0,K.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,q.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,J.jsx)(`title`,{children:`Google Docs`}),t[5]=w):w=t[5];let T;t[6]===c?T=t[7]:(T=(0,J.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,J.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,J.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,J.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,J.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,J.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,J.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,J.jsx)(`stop`,{offset:`0%`,stopColor:`#FFF`,stopOpacity:`.1`}),N=(0,J.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,J.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,J.jsx)(`stop`,{offset:`0%`,stopColor:`#1A237E`,stopOpacity:`.2`}),I=(0,J.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,J.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,J.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,J.jsx)(`use`,{xlinkHref:z}),t[38]=z,t[39]=B);let V;t[40]!==l||t[41]!==B?(V=(0,J.jsx)(`mask`,{id:l,fill:`#fff`,children:B}),t[40]=l,t[41]=B,t[42]=V):V=t[42];let H=`url(#${l})`,ee;t[43]===H?ee=t[44]:(ee=(0,J.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]=ee);let te=`#${u}`,ne;t[45]===te?ne=t[46]:(ne=(0,J.jsx)(`use`,{xlinkHref:te}),t[45]=te,t[46]=ne);let re;t[47]!==f||t[48]!==ne?(re=(0,J.jsx)(`mask`,{id:f,fill:`#fff`,children:ne}),t[47]=f,t[48]=ne,t[49]=re):re=t[49];let ie=`url(#${d})`,U=`url(#${f})`,ae;t[50]!==ie||t[51]!==U?(ae=(0,J.jsx)(`path`,{fill:ie,fillRule:`nonzero`,d:`M30.664 16.431 47 32.858V17.727z`,mask:U}),t[50]=ie,t[51]=U,t[52]=ae):ae=t[52];let oe=`#${p}`,W;t[53]===oe?W=t[54]:(W=(0,J.jsx)(`use`,{xlinkHref:oe}),t[53]=oe,t[54]=W);let G;t[55]!==m||t[56]!==W?(G=(0,J.jsx)(`mask`,{id:m,fill:`#fff`,children:W}),t[55]=m,t[56]=W,t[57]=G):G=t[57];let se=`url(#${m})`,ce;t[58]===se?ce=t[59]:(ce=(0,J.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:se}),t[58]=se,t[59]=ce);let le=`#${h}`,ue;t[60]===le?ue=t[61]:(ue=(0,J.jsx)(`use`,{xlinkHref:le}),t[60]=le,t[61]=ue);let de;t[62]!==g||t[63]!==ue?(de=(0,J.jsx)(`mask`,{id:g,fill:`#fff`,children:ue}),t[62]=g,t[63]=ue,t[64]=de):de=t[64];let fe=`url(#${g})`,pe;t[65]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,J.jsx)(`path`,{fill:`#A1C2FA`,fillRule:`nonzero`,d:`M29.375 0v13.295c0 2.449 1.972 4.432 4.406 4.432H47z`}),t[65]=pe):pe=t[65];let me;t[66]===fe?me=t[67]:(me=(0,J.jsx)(`g`,{mask:fe,children:pe}),t[66]=fe,t[67]=me);let he=`#${_}`,Y;t[68]===he?Y=t[69]:(Y=(0,J.jsx)(`use`,{xlinkHref:he}),t[68]=he,t[69]=Y);let ge;t[70]!==v||t[71]!==Y?(ge=(0,J.jsx)(`mask`,{id:v,fill:`#fff`,children:Y}),t[70]=v,t[71]=Y,t[72]=ge):ge=t[72];let _e=`url(#${v})`,ve;t[73]===_e?ve=t[74]:(ve=(0,J.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:_e}),t[73]=_e,t[74]=ve);let ye=`#${y}`,be;t[75]===ye?be=t[76]:(be=(0,J.jsx)(`use`,{xlinkHref:ye}),t[75]=ye,t[76]=be);let xe;t[77]!==b||t[78]!==be?(xe=(0,J.jsx)(`mask`,{id:b,fill:`#fff`,children:be}),t[77]=b,t[78]=be,t[79]=xe):xe=t[79];let Se=`url(#${b})`,Ce;t[80]===Se?Ce=t[81]:(Ce=(0,J.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:Se}),t[80]=Se,t[81]=Ce);let we=`#${x}`,Te;t[82]===we?Te=t[83]:(Te=(0,J.jsx)(`use`,{xlinkHref:we}),t[82]=we,t[83]=Te);let Ee;t[84]!==S||t[85]!==Te?(Ee=(0,J.jsx)(`mask`,{id:S,fill:`#fff`,children:Te}),t[84]=S,t[85]=Te,t[86]=Ee):Ee=t[86];let X=`url(#${S})`,De;t[87]===X?De=t[88]:(De=(0,J.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:X}),t[87]=X,t[88]=De);let Oe=`url(#${C})`,ke;t[89]===Oe?ke=t[90]:(ke=(0,J.jsx)(`path`,{fill:Oe,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]=Oe,t[90]=ke);let Ae;t[91]!==V||t[92]!==ee||t[93]!==re||t[94]!==ae||t[95]!==G||t[96]!==ce||t[97]!==de||t[98]!==me||t[99]!==ge||t[100]!==ve||t[101]!==xe||t[102]!==Ce||t[103]!==Ee||t[104]!==De||t[105]!==ke?(Ae=(0,J.jsxs)(`g`,{fill:`none`,fillRule:`evenodd`,children:[V,ee,re,ae,G,ce,de,me,ge,ve,xe,Ce,Ee,De,ke]}),t[91]=V,t[92]=ee,t[93]=re,t[94]=ae,t[95]=G,t[96]=ce,t[97]=de,t[98]=me,t[99]=ge,t[100]=ve,t[101]=xe,t[102]=Ce,t[103]=Ee,t[104]=De,t[105]=ke,t[106]=Ae):Ae=t[106];let je;return t[107]!==n||t[108]!==i||t[109]!==R||t[110]!==Ae?(je=(0,J.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,Ae]}),t[107]=n,t[108]=i,t[109]=R,t[110]=Ae,t[111]=je):je=t[111],je}function Ee(e){let t=(0,K.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,J.jsx)(`title`,{children:`Unknown provider`}),o=(0,J.jsx)(`circle`,{cx:`12`,cy:`12`,r:`9`,strokeWidth:`2`}),s=(0,J.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,J.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,J.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 X={amplitude:ve,aws_athena_connector:be,bigquery:_e,ga:ge,github:we,google_docs:Te,laminar:ye,linear:fe,mixpanel:xe,mongodb:Y,mysql:he,postgres:pe,supabase:me,posthog:Se,sentry:Ce};function De(e){return e in X}function Oe(e){return De(e)?X[e]:Ee}var ke=q.createContext(void 0);function Ae(){let e=q.useContext(ke);if(e===void 0)throw Error(f(64));return e}var je=function(e){return e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e}({}),Me={tabActivationDirection:e=>({[je.activationDirection]:e})},Ne=q.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:s=`horizontal`,render:c,value:l,...u}=e,f=D(),p=Object.hasOwn(e,`defaultValue`),m=q.useRef([]),[h,g]=q.useState(()=>new Map),[_,v]=ae({controlled:l,default:r,name:`Tabs`,state:`value`}),y=l!==void 0,[b,x]=q.useState(()=>new Map),[S,C]=q.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})}),O=q.useCallback(e=>h.get(e),[h]),k=q.useCallback(e=>{for(let t of b.values())if(e===t?.value)return t?.id},[b]),j=q.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=q.useMemo(()=>({direction:f,getTabElementBySelectedValue:j,getTabIdByPanelValue:k,getTabPanelIdByValue:O,onValueChange:w,orientation:s,registerMountedTabPanel:T,setTabMap:x,unregisterMountedTabPanel:E,tabActivationDirection:S,value:_}),[f,j,k,O,w,s,T,x,E,S,_]),N=q.useMemo(()=>{for(let e of b.values())if(e!=null&&e.value===_)return e},[b,_]),P=q.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:Me});return(0,J.jsx)(ke.Provider,{value:M,children:(0,J.jsx)(A,{elementsRef:m,children:F})})}),Pe=q.createContext(void 0);function Fe(){let e=q.useContext(Pe);if(e===void 0)throw Error(f(65));return e}var Ie=q.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}=Ae(),{activateOnFocus:h,highlightedTabIndex:g,onTabActivation:_,setHighlightedTabIndex:v,tabsListElement:y}=Fe(),b=N(s),{compositeProps:x,compositeRef:S,index:C}=oe({metadata:q.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===f,D=q.useRef(!1);d(()=>{if(D.current){D.current=!1;return}if(!(w&&C>-1&&g!==C))return;let e=y;if(e!=null){let t=O(T(e));if(t&&E(e,t))return}r||v(C)},[w,C,g,v,r,y]);let{getButtonProps:k,buttonRef:A}=c({disabled:r,native:l,focusableWhenDisabled:!0}),P=p(a),F=q.useRef(!1),I=q.useRef(!1);function L(e){w||r||_(a,M(j,e.nativeEvent,void 0,{activationDirection:`none`}))}function R(e){w||(C>-1&&!r&&v(C),!r&&h&&(!F.current||F.current&&I.current)&&_(a,M(j,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,T(e.currentTarget).addEventListener(`pointerup`,t,{once:!0}))}return o(`button`,e,{state:q.useMemo(()=>({disabled:r,active:w,orientation:m}),[r,w,m]),ref:[t,A,S],props:[x,{role:`tab`,"aria-controls":P,"aria-selected":w,id:b,onClick:L,onFocus:R,onPointerDown:z,[se]:w?``:void 0,onKeyDownCapture(){D.current=!0}},u,k]})}),Le=function(e){return e.index=`data-index`,e.activationDirection=`data-activation-direction`,e.orientation=`data-orientation`,e.hidden=`data-hidden`,e}({}),Re=q.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}=Ae(),h=N(),{ref:g,index:_}=k({metadata:q.useMemo(()=>({id:h,value:r}),[h,r])}),v=r!==c,y=l(r),b=o(`div`,e,{state:q.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,[Le.index]:_},s],stateAttributesMapping:Me});return d(()=>{if(!(v&&!a)&&h!=null)return p(r,h),()=>{m(r,h)}},[v,a,r,h,p,m]),!v||a?b:null}),ze=q.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}=Ae(),[h,g]=q.useState(0),[_,v]=q.useState(null),y=Ve(f,d,_,l),b=a((e,t)=>{e!==f&&(t.activationDirection=y(e),u(e,t))}),x=q.useMemo(()=>({orientation:d,tabActivationDirection:m}),[d,m]),S={"aria-orientation":d===`vertical`?`vertical`:void 0,role:`tablist`},C=q.useMemo(()=>({activateOnFocus:n,highlightedTabIndex:h,onTabActivation:b,setHighlightedTabIndex:g,tabsListElement:_,value:f}),[n,h,b,g,_,f]);return(0,J.jsx)(Pe.Provider,{value:C,children:(0,J.jsx)(G,{render:o,className:r,state:x,refs:[t,v],props:[S,c],stateAttributesMapping:Me,highlightedIndex:h,enableHomeAndEndKeys:!0,loopFocus:i,orientation:d,onHighlightedIndexChange:g,onMapChange:p,disabledIndices:s})})});function Be(e,t){let{left:n,top:r}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:n-i,top:r-a}}function Ve(e,t,n,r){let[i,a]=q.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}=Be(i,n);a(t===`horizontal`?o:s)},[t,r,n,e]),q.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}=Be(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 He(e){let t=(0,K.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,J.jsx)(Ne,{"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 Ue=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 We(e){let t=(0,K.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(Ue({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,J.jsx)(ze,{"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 Ge(e){let t=(0,K.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,J.jsx)(Ie,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Ke(e){let t=(0,K.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,J.jsx)(Re,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var qe={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",
|
|
@@ -170,4 +170,4 @@ GRANT USAGE ON SCHEMA public TO onequery_readonly;
|
|
|
170
170
|
GRANT SELECT ON ALL TABLES IN SCHEMA public TO onequery_readonly;
|
|
171
171
|
|
|
172
172
|
ALTER DEFAULT PRIVILEGES IN SCHEMA public
|
|
173
|
-
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 Xe(e){let t=(0,K.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(Je,`${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,J.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,J.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(Qe),t[6]=e.step.paragraphs,t[7]=f);let p;t[8]===f?p=t[9]:(p=(0,J.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,J.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 pl-5 text-sm text-muted-foreground`,children:e.step.bullets.map(Ze)}),t[10]=e.step.bullets,t[11]=m);let h;t[12]===c?h=t[13]:(h=c&&(0,J.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,J.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,J.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,J.jsx)(`div`,{className:o,children:(0,J.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,J.jsxs)(`section`,{className:r,children:[_,v]}),t[29]=r,t[30]=v,t[31]=_,t[32]=y):y=t[32],y}function Ze(e){return(0,J.jsx)(`li`,{children:e},e)}function Qe(e){return(0,J.jsx)(`p`,{children:e},e)}function $e(e){let t=(0,K.c)(19);if(!e.content){let n;return t[0]===e.providerLabel?n=t[1]:(n=(0,J.jsx)(`div`,{className:`rounded-lg border p-4 text-sm text-muted-foreground`,children:(0,J.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,J.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,J.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,J.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;t[9]===e.content.steps?a=t[10]:(a=e.content.steps.map(et),t[9]=e.content.steps,t[10]=a);let o;t[11]!==e.content.closingDescription||t[12]!==e.content.closingNote||t[13]!==e.content.closingTitle?(o=e.content.closingTitle&&(0,J.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[(0,J.jsx)(`h3`,{className:`text-base font-semibold`,children:e.content.closingTitle}),e.content.closingDescription&&(0,J.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.closingDescription}),e.content.closingNote&&(0,J.jsx)(`p`,{className:`mt-2 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.content.closingNote})]}),t[11]=e.content.closingDescription,t[12]=e.content.closingNote,t[13]=e.content.closingTitle,t[14]=o):o=t[14];let s;return t[15]!==i||t[16]!==a||t[17]!==o?(s=(0,J.jsxs)(`div`,{className:`space-y-4`,children:[i,a,o]}),t[15]=i,t[16]=a,t[17]=o,t[18]=s):s=t[18],s}function et(e,t){return(0,J.jsx)(Xe,{step:e,index:t},e.title)}function tt(e){let t=(0,K.c)(19),[n,r]=(0,q.useState)(!1),i=Ye[e.provider],a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,J.jsx)(x,{render:(0,J.jsx)(u,{variant:`outline`,size:`sm`,children:`How to connect`})}),t[0]=a):a=t[0];let o;t[1]===i.providerLabel?o=t[2]:(o=(0,J.jsx)(C,{className:`border-b px-5 py-4`,children:(0,J.jsxs)(y,{children:[i.providerLabel,` Connection Guide`]})}),t[1]=i.providerLabel,t[2]=o);let s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,J.jsxs)(We,{className:`mt-4 w-full max-w-[320px]`,children:[(0,J.jsx)(Ge,{value:`en`,className:`flex-1`,children:`English`}),(0,J.jsx)(Ge,{value:`ko`,className:`flex-1`,children:`한국어`})]}),t[3]=s):s=t[3];let c;t[4]!==i.en||t[5]!==i.providerLabel?(c=(0,J.jsx)(Ke,{value:`en`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,J.jsx)($e,{content:i.en,providerLabel:i.providerLabel})}),t[4]=i.en,t[5]=i.providerLabel,t[6]=c):c=t[6];let l;t[7]!==i.ko||t[8]!==i.providerLabel?(l=(0,J.jsx)(Ke,{value:`ko`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,J.jsx)($e,{content:i.ko,providerLabel:i.providerLabel})}),t[7]=i.ko,t[8]=i.providerLabel,t[9]=l):l=t[9];let d;t[10]!==c||t[11]!==l?(d=(0,J.jsxs)(He,{defaultValue:`en`,className:`flex h-full min-h-0 flex-col overflow-hidden px-5 pb-5`,children:[s,c,l]}),t[10]=c,t[11]=l,t[12]=d):d=t[12];let f;t[13]!==o||t[14]!==d?(f=(0,J.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:[o,d]}),t[13]=o,t[14]=d,t[15]=f):f=t[15];let p;return t[16]!==n||t[17]!==f?(p=(0,J.jsxs)(S,{open:n,onOpenChange:r,children:[a,f]}),t[16]=n,t[17]=f,t[18]=p):p=t[18],p}var nt={amplitude:{icon:X.amplitude,label:`Amplitude`,testable:!0},aws_athena_connector:{icon:X.aws_athena_connector,label:`AWS Athena Connector`,testable:!0},bigquery:{icon:X.bigquery,label:`BigQuery`,testable:!1},ga:{icon:X.ga,label:`Google Analytics`,testable:!0},github:{icon:X.github,label:`GitHub`,testable:!1},laminar:{icon:X.laminar,label:`Laminar`,testable:!1},mixpanel:{icon:X.mixpanel,label:`Mixpanel`,testable:!0},mongodb:{icon:X.mongodb,label:`MongoDB`,testable:!0},mysql:{icon:X.mysql,label:`MySQL`,testable:!0},postgres:{icon:X.postgres,label:`PostgreSQL`,testable:!0},posthog:{icon:X.posthog,label:`PostHog`,testable:!0},sentry:{icon:X.sentry,label:`Sentry`,testable:!0},supabase:{icon:X.supabase,label:`Supabase`,testable:!0}},rt=[{value:`postgres`,...nt.postgres},{value:`supabase`,...nt.supabase},{value:`mysql`,...nt.mysql},{value:`mongodb`,...nt.mongodb},{value:`ga`,...nt.ga},{value:`bigquery`,...nt.bigquery},{value:`laminar`,...nt.laminar},{value:`aws_athena_connector`,...nt.aws_athena_connector},{value:`amplitude`,...nt.amplitude},{value:`mixpanel`,...nt.mixpanel},{value:`posthog`,...nt.posthog},{value:`sentry`,...nt.sentry},{value:`github`,...nt.github}],it=new Set(rt.map(e=>e.value)),at=new Set(rt.flatMap(e=>e.testable?[e.value]:[])),ot={linear:`Linear`,...Object.fromEntries(rt.map(e=>[e.value,e.label]))},st=rt[0].value,ct=rt.map(e=>e.value);function lt(e){return it.has(e)}function ut(e){return at.has(e)}function dt(e){return ot[e]??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 ft(e){let t=(0,K.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(mt)).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,J.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(pt)}),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,J.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 pt(e,t){return e?.message&&(0,J.jsx)(`li`,{children:e.message},t)}function mt(e){return[e?.message,e]}function Z(e){let t=(0,K.c)(3),{message:n,className:r}=e;if(!n)return null;let i;return t[0]!==r||t[1]!==n?(i=(0,J.jsx)(ft,{className:r,children:n}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function ht(e){let t=(0,K.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,J.jsx)(ie,{role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function gt(e){let t=(0,K.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,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ht,{className:`size-4`}),(0,J.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,J.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 _t=(e,t,n)=>!te(e,`data_source_name_duplicate`)||!(e instanceof Error)?!1:(t(n,{message:e.message}),!0),vt=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`}],yt=H({apiKey:F().min(1,`API Key is required`),name:F().min(1,`Name is required`),region:R([`us`,`eu`]),secretKey:F().min(1,`Secret Key is required`)});function bt(e){return e===`us`||e===`eu`}function xt({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,apiKey:``,secretKey:``,region:`us`},resolver:de(yt)}),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=>{_t(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ne(t).queryKey,successMessage:`Data source created successfully`});return(0,J.jsxs)(`form`,{onSubmit:n.handleSubmit(e=>r.mutate(e)),className:`space-y-4`,children:[(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-name`,children:`Data Source Name`}),(0,J.jsx)(U,{id:`amplitude-name`,placeholder:`My Amplitude`,...n.register(`name`)}),(0,J.jsx)(Z,{message:n.formState.errors.name?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-apiKey`,children:`API Key`}),(0,J.jsx)(U,{id:`amplitude-apiKey`,placeholder:`Enter your Amplitude API Key`,...n.register(`apiKey`)}),(0,J.jsx)(Z,{message:n.formState.errors.apiKey?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-secretKey`,children:`Secret Key`}),(0,J.jsx)(U,{id:`amplitude-secretKey`,type:`password`,placeholder:`Enter your Amplitude Secret Key`,...n.register(`secretKey`)}),(0,J.jsx)(Z,{message:n.formState.errors.secretKey?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-region`,children:`Region`}),(0,J.jsxs)(v,{items:[...vt],value:n.watch(`region`),onValueChange:e=>{bt(e)&&n.setValue(`region`,e)},children:[(0,J.jsx)(h,{id:`amplitude-region`,children:(0,J.jsx)(m,{})}),(0,J.jsx)(g,{children:vt.map(e=>(0,J.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var St=H({connectorId:F().min(1,`Connector ID is required`),database:F().min(1,`Athena database is required`),name:F().min(1,`Name is required`),workgroup:F().optional()});function Ct(e){let t=(0,K.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=>{_t(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=ne(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=a.handleSubmit(p),t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{id:`connector-database`,placeholder:`analytics`,...k}),t[42]=k,t[43]=A);let j;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,J.jsx)(`code`,{children:`analytics`}),t[44]=j):j=t[44];let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,J.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Enter the Athena or AWS Glue database name, such as`,` `,j,` or `,(0,J.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,J.jsx)(Z,{message:N}),t[46]=N,t[47]=P);let F;t[48]!==A||t[49]!==P?(F=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{id:`connector-workgroup`,placeholder:`primary`,...L}),t[54]=L,t[55]=R);let z;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,J.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,J.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,J.jsx)(gt,{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,J.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 Q=e=>F().trim().min(1,e),Tt=e=>F().trim().transform(e=>e.length===0?void 0:e).pipe(Q(e).optional()).optional(),$=e=>F().refine(e=>e.trim().length>0,e),Et=e=>F().transform(e=>e.trim().length===0?void 0:e).pipe($(e).optional()).optional(),Dt=(e,t)=>F().trim().min(1,e).pipe(I(t)),Ot=e=>F().trim().transform(e=>e.length===0?void 0:e).pipe(I(e).optional()).optional(),kt=Q(`Connection string is required`).refine(e=>e.startsWith(`mongodb://`)||e.startsWith(`mongodb+srv://`),`Connection string must start with mongodb:// or mongodb+srv://`),At=R([`disable`,`prefer`,`require`]),jt=H({database:Q(`Database name is required`),host:Q(`Host is required`),password:$(`Password is required`),port:L().int().min(1).max(65535).default(5432),sslMode:At.default(`prefer`),type:P(`postgres`),username:Q(`Username is required`)}),Mt=H({database:Q(`Database name is required`),host:Q(`Host is required`),password:$(`Password is required`),port:L().int().min(1).max(65535).default(3306),sslMode:At.default(`prefer`),type:P(`mysql`),username:Q(`Username is required`)}),Nt=H({connectionString:kt,database:Tt(`Database name is required`),databases:B(Q(`Database name is required`)).optional(),type:P(`mongodb`)}),Pt=H({clientEmail:F().trim().min(1,`Client email is required`).pipe(V(`Client email must be a valid email address`)),privateKey:$(`Private key is required`),privateKeyId:Et(`Private key ID is required`),projectId:Q(`Project ID is required`)}),Ft=z([jt,Mt,Nt,z([H({accessToken:$(`Access token is required`),authType:P(`oauth`).optional(),expiresAt:L().int().min(0,`Expiration time must be positive`),propertyId:Q(`Property ID is required`),refreshToken:$(`Refresh token is required`),type:P(`ga`)}),H({authType:P(`service_account`),propertyId:Q(`Property ID is required`),serviceAccount:Pt,type:P(`ga`)})]),z([H({accessToken:$(`Access token is required`),authType:P(`oauth`).optional(),expiresAt:L().int().min(0,`Expiration time must be positive`),projectId:Q(`Project ID is required`),refreshToken:$(`Refresh token is required`),type:P(`bigquery`)}),H({authType:P(`service_account`),projectId:Q(`Project ID is required`),serviceAccount:Pt,type:P(`bigquery`)})]),H({apiBaseUrl:Ot(`API base URL must be a valid URL`),apiKey:$(`API key is required`),type:P(`laminar`)}),H({connectorId:Q(`Connector ID is required`),database:Q(`Athena database is required`),maxRows:L().int().positive().optional(),timeoutMs:L().int().positive().optional(),type:P(`aws_athena_connector`),workgroup:Tt(`Workgroup is required`)}),H({apiKey:$(`API Key is required`),region:R([`us`,`eu`]).default(`us`),secretKey:$(`Secret Key is required`),type:P(`amplitude`)}),H({projectId:Q(`Project ID is required`),region:R([`us`,`eu`,`in`]).default(`us`),secret:$(`Service Account Secret is required`),type:P(`mixpanel`),username:Q(`Service Account Username is required`),workspaceId:Tt(`Workspace ID is required`)}),H({hostUrl:Dt(`Host URL is required`,`Host URL must be a valid URL`).transform(e=>e.replace(/\/+$/,``)),personalApiKey:$(`Personal API Key is required`),projectId:Q(`Project ID is required`),type:P(`posthog`)}),H({apiBaseUrl:Ot(`API base URL must be a valid URL`),authToken:$(`Auth token is required`),organizationSlug:Q(`Organization slug is required`),projectSlug:Tt(`Project slug is required`),type:P(`sentry`)}),H({accessToken:$(`Access token is required`),installationId:Tt(`Installation ID is required`),repositories:B(Q(`Repository is required`)).optional(),type:P(`github`)}),z([H({apiKey:$(`API key is required`),type:P(`linear`)}),H({accessToken:$(`Access token is required`),appUserId:Tt(`App user ID is required`),expiresAt:Tt(`Expiration timestamp is required`),linearOrganizationId:Q(`Linear organization ID is required`),linearOrganizationName:Tt(`Linear organization name is required`),refreshToken:Et(`Refresh token is required`),scope:Tt(`Scope is required`),tokenType:Tt(`Token type is required`),type:P(`linear`)})])]),It={BIGQUERY:`bigquery`,CONNECTOR:`aws_athena_connector`,LAMINAR:`laminar`,MYSQL:`mysql`,POSTGRES:`postgres`};It.POSTGRES,It.MYSQL,It.BIGQUERY,It.LAMINAR,It.CONNECTOR;var Lt=H({credentialsText:F().optional(),name:F().min(1,`Name is required`),projectId:F().optional(),propertyId:F().optional()});function Rt(e){return e&&e.trim()||null}function zt(e,t){let n=e[t];return typeof n==`string`?Rt(n):null}function Bt(e){let t=zt(e,`project_id`)??zt(e,`projectId`);if(!t)return{error:`Project ID is required in service account JSON`};let n=zt(e,`client_email`)??zt(e,`clientEmail`);if(!n)return{error:`Client email is required in service account JSON`};let r=zt(e,`private_key`)??zt(e,`privateKey`);if(!r)return{error:`Private key is required in service account JSON`};let i=zt(e,`private_key_id`)??zt(e,`privateKeyId`),a={clientEmail:n,privateKey:r,projectId:t};return{projectId:t,serviceAccount:i?{...a,privateKeyId:i}:a}}function Vt(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=Bt(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 Ht(e,t,n){let r={...e};if(t===`ga`){let e=Rt(n.propertyId)??(`propertyId`in r&&typeof r.propertyId==`string`?Rt(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)?zt(r.serviceAccount,`projectId`):null,t=Rt(n.projectId)??(`projectId`in r&&typeof r.projectId==`string`?Rt(r.projectId):null)??e;if(!t)return{error:`Project ID is required`};r.projectId=t}let i=Ft.safeParse(r);return i.success?{credentials:i.data}:{error:i.error.issues.map(e=>e.message).join(`, `)}}function Ut(e){let t=(0,K.c)(92),{provider:n,onSuccess:r,organizationId:i}=e,[a,o]=(0,q.useState)(null),[s,c]=(0,q.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(Lt)},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=>{_t(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=ne(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;if(t[22]!==d||t[23]!==v||t[24]!==n){let e;t[26]!==v||t[27]!==n?(e=e=>{o(null);let t=e.credentialsText??``;if(!t.trim()){o(`Provide a credentials file or JSON.`);return}let r=Vt(t,n);if(`error`in r){o(r.error);return}let i=Ht(r.credentials,n,e);if(`error`in i){o(i.error);return}v.mutate({...e,credentials:i.credentials})},t[26]=v,t[27]=n,t[28]=e):e=t[28],C=d.handleSubmit(e),t[22]=d,t[23]=v,t[24]=n,t[25]=C}else C=t[25];let T=`${n}-credentials-name`,E;t[29]===T?E=t[30]:(E=(0,J.jsx)(W,{htmlFor:T,children:`Data Source Name`}),t[29]=T,t[30]=E);let D=`${n}-credentials-name`,O=`My ${l}`,k;t[31]===d?k=t[32]:(k=d.register(`name`),t[31]=d,t[32]=k);let A;t[33]!==D||t[34]!==O||t[35]!==k?(A=(0,J.jsx)(U,{id:D,placeholder:O,...k}),t[33]=D,t[34]=O,t[35]=k,t[36]=A):A=t[36];let j=d.formState.errors.name?.message,M;t[37]===j?M=t[38]:(M=(0,J.jsx)(Z,{message:j}),t[37]=j,t[38]=M);let N;t[39]!==E||t[40]!==A||t[41]!==M?(N=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[E,A,M]}),t[39]=E,t[40]=A,t[41]=M,t[42]=N):N=t[42];let P=`${n}-credentials-file`,F;t[43]===P?F=t[44]:(F=(0,J.jsx)(W,{htmlFor:P,children:`Credentials File`}),t[43]=P,t[44]=F);let I=`${n}-credentials-file`,L;t[45]!==b||t[46]!==I?(L=(0,J.jsx)(U,{id:I,type:`file`,accept:`.json,application/json`,onChange:b}),t[45]=b,t[46]=I,t[47]=L):L=t[47];let R;t[48]===s?R=t[49]:(R=s&&(0,J.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Loaded: `,s]}),t[48]=s,t[49]=R);let z;t[50]!==F||t[51]!==L||t[52]!==R?(z=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[F,L,R]}),t[50]=F,t[51]=L,t[52]=R,t[53]=z):z=t[53];let B;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,J.jsxs)(`div`,{className:`my-4 flex items-center gap-3 text-xs text-muted-foreground`,children:[(0,J.jsx)(`div`,{className:`h-px flex-1 bg-border`}),(0,J.jsx)(`span`,{className:`uppercase tracking-widest`,children:`Or`}),(0,J.jsx)(`div`,{className:`h-px flex-1 bg-border`})]}),t[54]=B):B=t[54];let V=`${n}-credentials-text`,H;t[55]===V?H=t[56]:(H=(0,J.jsx)(W,{htmlFor:V,children:`Credentials JSON`}),t[55]=V,t[56]=H);let ee=`${n}-credentials-text`,te=`Paste ${l} credentials JSON`,ie;t[57]===S?ie=t[58]:(ie=e=>{S.onChange(e),o(null)},t[57]=S,t[58]=ie);let ae;t[59]===Symbol.for(`react.memo_cache_sentinel`)?(ae={fieldSizing:`fixed`},t[59]=ae):ae=t[59];let oe;t[60]!==S||t[61]!==ee||t[62]!==te||t[63]!==ie?(oe=(0,J.jsx)(ce,{id:ee,placeholder:te,rows:8,...S,onChange:ie,className:`font-mono text-sm h-48 max-h-64 overflow-y-auto resize-y field-sizing-fixed`,style:ae}),t[60]=S,t[61]=ee,t[62]=te,t[63]=ie,t[64]=oe):oe=t[64];let G;t[65]===a?G=t[66]:(G=(0,J.jsx)(Z,{message:a}),t[65]=a,t[66]=G);let se=n===`ga`?` propertyId`:` projectId`,le;t[67]===se?le=t[68]:(le=(0,J.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Include accessToken, refreshToken, and expiresAt for OAuth. Service account JSON is also supported. Provide`,se,` here or in the JSON.`]}),t[67]=se,t[68]=le);let fe;t[69]!==H||t[70]!==oe||t[71]!==G||t[72]!==le?(fe=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[H,oe,G,le]}),t[69]=H,t[70]=oe,t[71]=G,t[72]=le,t[73]=fe):fe=t[73];let pe;t[74]!==z||t[75]!==fe?(pe=(0,J.jsxs)(`div`,{className:`rounded-lg border border-dashed p-4`,children:[z,B,fe]}),t[74]=z,t[75]=fe,t[76]=pe):pe=t[76];let me;t[77]!==d||t[78]!==n?(me=n===`ga`&&(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`ga-property-id`,children:`Property ID`}),(0,J.jsx)(U,{id:`ga-property-id`,placeholder:`properties/123456789`,...d.register(`propertyId`)}),(0,J.jsx)(Z,{message:d.formState.errors.propertyId?.message})]}),t[77]=d,t[78]=n,t[79]=me):me=t[79];let he;t[80]!==d||t[81]!==n?(he=n===`bigquery`&&(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`bigquery-project-id`,children:`Project ID`}),(0,J.jsx)(U,{id:`bigquery-project-id`,placeholder:`my-project-id`,...d.register(`projectId`)}),(0,J.jsx)(Z,{message:d.formState.errors.projectId?.message})]}),t[80]=d,t[81]=n,t[82]=he):he=t[82];let Y;t[83]===v.isPending?Y=t[84]:(Y=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:v.isPending,pendingLabel:`Creating...`}),t[83]=v.isPending,t[84]=Y);let ge;return t[85]!==C||t[86]!==N||t[87]!==pe||t[88]!==me||t[89]!==he||t[90]!==Y?(ge=(0,J.jsxs)(`form`,{onSubmit:C,className:`space-y-4 py-4`,children:[N,pe,me,he,Y]}),t[85]=C,t[86]=N,t[87]=pe,t[88]=me,t[89]=he,t[90]=Y,t[91]=ge):ge=t[91],ge}var Wt=`localhost`,Gt=`postgres://user:password@host:port/database`,Kt=`postgresql://postgres.[project-ref]:password@aws-0-[region].pooler.supabase.com:5432/postgres`,qt=`mysql://user:password@host:port/database`,Jt={mysql:{connectionStringFormat:qt,connectionStringPlaceholder:`mysql://user:password@host:3306/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:3306,defaultSslMode:`prefer`,fallbackHost:Wt,hostPlaceholder:Wt,invalidConnectionStringFormat:qt,isPostgresFamily:!1,namePlaceholder:`My Database`,supportedProtocols:[`mysql`],usernamePlaceholder:`root`},postgres:{connectionStringFormat:Gt,connectionStringPlaceholder:`postgres://user:password@host:5432/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:5432,defaultSslMode:`prefer`,fallbackHost:Wt,hostPlaceholder:Wt,invalidConnectionStringFormat:Gt,isPostgresFamily:!0,namePlaceholder:`My Database`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres`},supabase:{connectionStringFormat:Kt,connectionStringPlaceholder:Kt,databasePlaceholder:`postgres`,defaultDatabase:`postgres`,defaultPort:5432,defaultSslMode:`require`,fallbackHost:`aws-0-[region].pooler.supabase.com`,hostPlaceholder:`aws-0-[region].pooler.supabase.com`,invalidConnectionStringFormat:Gt,isPostgresFamily:!0,namePlaceholder:`My Supabase`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres.your-project-ref`}};function Yt(e){return e===`postgres`||e===`supabase`||e===`mysql`}function Xt(e){return Jt[e]}var Zt=`prefer`;function Qt(e){if(e===null)return;let t=e.trim().toLowerCase();if(t===`disable`||t===`prefer`||t===`require`)return t}function $t(e){return Qt(e)??Zt}function en(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),r=e.protocol.replace(`:`,``),i=Xt(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?$t(e.searchParams.get(`sslmode`)):void 0,username:decodeURIComponent(e.username)||``}:null}catch{return null}}function tn(e){return Xt(e).connectionStringPlaceholder}function nn(e){return Xt(e).connectionStringFormat}function rn(e){return`Invalid connection string format. Expected: ${Xt(e).invalidConnectionStringFormat}`}var an=H({database:F().min(1,`Database name is required`),host:F().min(1,`Host is required`),name:F().min(1,`Name is required`),password:F().min(1,`Password is required`),port:L().min(1).max(65535),provider:R([`postgres`,`supabase`,`mysql`]),sslMode:R([`disable`,`prefer`,`require`]).optional(),username:F().min(1,`Username is required`)});function on(e){let t=(0,K.c)(119),{provider:n,onSuccess:r,organizationId:i}=e,a;t[0]===n?a=t[1]:(a=Xt(n),t[0]=n,t[1]=a);let o=a,[s,c]=(0,q.useState)(``),[l,u]=(0,q.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(an),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=Xt(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=>{_t(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=ne(i),t[16]=i,t[17]=v);let y;t[18]!==h||t[19]!==g||t[20]!==_||t[21]!==v.queryKey?(y={createOptimisticItem:sn,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=en(s,n);if(!r){u(rn(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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:A}),t[39]=A,t[40]=j);let M;t[41]!==k||t[42]!==j?(M=(0,J.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,J.jsxs)(We,{className:`w-full`,children:[(0,J.jsx)(Ge,{value:`url`,className:`flex-1`,children:`Connection URL`}),(0,J.jsx)(Ge,{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,J.jsx)(W,{htmlFor:`connectionString`,children:`Connection String`}),t[45]=P):P=t[45];let F;t[46]===n?F=t[47]:(F=tn(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,J.jsx)(U,{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,J.jsx)(Z,{message:l}),t[52]=l,t[53]=R);let z;t[54]===n?z=t[55]:(z=nn(n),t[54]=n,t[55]=z);let B;t[56]===z?B=t[57]:(B=(0,J.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,J.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,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[62]=b.isPending,t[63]=H);let ee;t[64]!==T||t[65]!==V||t[66]!==H?(ee=(0,J.jsx)(Ke,{value:`url`,className:`pt-4`,children:(0,J.jsxs)(`form`,{onSubmit:T,className:`space-y-4`,children:[V,H]})}),t[64]=T,t[65]=V,t[66]=H,t[67]=ee):ee=t[67];let te;t[68]!==m||t[69]!==S?(te=m.handleSubmit(S),t[68]=m,t[69]=S,t[70]=te):te=t[70];let ie;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,J.jsx)(W,{htmlFor:`host`,children:`Host`}),t[71]=ie):ie=t[71];let ae=o.hostPlaceholder,oe;t[72]===m?oe=t[73]:(oe=m.register(`host`),t[72]=m,t[73]=oe);let G;t[74]!==o.hostPlaceholder||t[75]!==oe?(G=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[ie,(0,J.jsx)(U,{id:`host`,placeholder:ae,...oe})]}),t[74]=o.hostPlaceholder,t[75]=oe,t[76]=G):G=t[76];let se;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(se=(0,J.jsx)(W,{htmlFor:`port`,children:`Port`}),t[77]=se):se=t[77];let ce;t[78]===m?ce=t[79]:(ce=m.register(`port`,{valueAsNumber:!0}),t[78]=m,t[79]=ce);let le;t[80]===ce?le=t[81]:(le=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[se,(0,J.jsx)(U,{id:`port`,type:`number`,...ce})]}),t[80]=ce,t[81]=le);let fe;t[82]!==G||t[83]!==le?(fe=(0,J.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[G,le]}),t[82]=G,t[83]=le,t[84]=fe):fe=t[84];let pe;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,J.jsx)(W,{htmlFor:`database`,children:`Database`}),t[85]=pe):pe=t[85];let me=o.databasePlaceholder,he;t[86]===m?he=t[87]:(he=m.register(`database`),t[86]=m,t[87]=he);let Y;t[88]!==o.databasePlaceholder||t[89]!==he?(Y=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[pe,(0,J.jsx)(U,{id:`database`,placeholder:me,...he})]}),t[88]=o.databasePlaceholder,t[89]=he,t[90]=Y):Y=t[90];let ge;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,J.jsx)(W,{htmlFor:`username`,children:`Username`}),t[91]=ge):ge=t[91];let _e=o.usernamePlaceholder,ve;t[92]===m?ve=t[93]:(ve=m.register(`username`),t[92]=m,t[93]=ve);let ye;t[94]!==o.usernamePlaceholder||t[95]!==ve?(ye=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[ge,(0,J.jsx)(U,{id:`username`,placeholder:_e,...ve})]}),t[94]=o.usernamePlaceholder,t[95]=ve,t[96]=ye):ye=t[96];let be;t[97]===Symbol.for(`react.memo_cache_sentinel`)?(be=(0,J.jsx)(W,{htmlFor:`password`,children:`Password`}),t[97]=be):be=t[97];let xe;t[98]===m?xe=t[99]:(xe=m.register(`password`),t[98]=m,t[99]=xe);let Se;t[100]===xe?Se=t[101]:(Se=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[be,(0,J.jsx)(U,{id:`password`,type:`password`,...xe})]}),t[100]=xe,t[101]=Se);let Ce;t[102]!==ye||t[103]!==Se?(Ce=(0,J.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[ye,Se]}),t[102]=ye,t[103]=Se,t[104]=Ce):Ce=t[104];let we;t[105]===b.isPending?we=t[106]:(we=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[105]=b.isPending,t[106]=we);let Te;t[107]!==te||t[108]!==fe||t[109]!==Y||t[110]!==Ce||t[111]!==we?(Te=(0,J.jsx)(Ke,{value:`manual`,className:`pt-4`,children:(0,J.jsxs)(`form`,{onSubmit:te,className:`space-y-4`,children:[fe,Y,Ce,we]})}),t[107]=te,t[108]=fe,t[109]=Y,t[110]=Ce,t[111]=we,t[112]=Te):Te=t[112];let Ee;t[113]!==ee||t[114]!==Te?(Ee=(0,J.jsxs)(He,{defaultValue:`url`,children:[N,ee,Te]}),t[113]=ee,t[114]=Te,t[115]=Ee):Ee=t[115];let X;return t[116]!==M||t[117]!==Ee?(X=(0,J.jsxs)(`div`,{className:`space-y-4`,children:[M,Ee]}),t[116]=M,t[117]=Ee,t[118]=X):X=t[118],X}function sn(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 cn=H({accessToken:F().min(1,`Access token is required`),name:F().min(1,`Name is required`)});function ln(e){let t=(0,K.c)(47),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,accessToken:``},resolver:de(cn)},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=>{_t(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=ne(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:un,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;if(t[14]!==a||t[15]!==d){let e;t[17]===d?e=t[18]:(e=e=>d.mutate(e),t[17]=d,t[18]=e),f=a.handleSubmit(e),t[14]=a,t[15]=d,t[16]=f}else f=t[16];let p;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,J.jsx)(W,{htmlFor:`github-token-name`,children:`Data Source Name`}),t[19]=p):p=t[19];let m;t[20]===a?m=t[21]:(m=a.register(`name`),t[20]=a,t[21]=m);let h;t[22]===m?h=t[23]:(h=(0,J.jsx)(U,{id:`github-token-name`,placeholder:`GitHub`,...m}),t[22]=m,t[23]=h);let g=a.formState.errors.name?.message,_;t[24]===g?_=t[25]:(_=(0,J.jsx)(Z,{message:g}),t[24]=g,t[25]=_);let v;t[26]!==h||t[27]!==_?(v=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[26]=h,t[27]=_,t[28]=v):v=t[28];let y;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,J.jsx)(W,{htmlFor:`github-access-token`,children:`Access Token`}),t[29]=y):y=t[29];let b;t[30]===a?b=t[31]:(b=a.register(`accessToken`),t[30]=a,t[31]=b);let x;t[32]===b?x=t[33]:(x=(0,J.jsx)(U,{id:`github-access-token`,type:`password`,placeholder:`ghp_...`,...b}),t[32]=b,t[33]=x);let S=a.formState.errors.accessToken?.message,C;t[34]===S?C=t[35]:(C=(0,J.jsx)(Z,{message:S}),t[34]=S,t[35]=C);let T;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,J.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[36]=T):T=t[36];let E;t[37]!==x||t[38]!==C?(E=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C,T]}),t[37]=x,t[38]=C,t[39]=E):E=t[39];let D;t[40]===d.isPending?D=t[41]:(D=(0,J.jsx)(gt,{idleLabel:`Connect GitHub`,isPending:d.isPending,pendingLabel:`Connecting...`}),t[40]=d.isPending,t[41]=D);let O;return t[42]!==v||t[43]!==E||t[44]!==D||t[45]!==f?(O=(0,J.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,E,D]}),t[42]=v,t[43]=E,t[44]=D,t[45]=f,t[46]=O):O=t[46],O}function un(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()}}var dn=H({apiBaseUrl:z([I(`API Base URL must be a valid URL`),P(``)]),apiKey:F().min(1,`API Key is required`),name:F().min(1,`Name is required`)});function fn(e){let t=(0,K.c)(58),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,apiKey:``,apiBaseUrl:``},resolver:de(dn)},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=>{_t(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=ne(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:pn,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=a.handleSubmit(p),t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:j}),t[44]=j,t[45]=M);let N;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,J.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,J.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,J.jsx)(gt,{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,J.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 pn(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 mn=H({name:F().min(1,`Name is required`),projectId:F().min(1,`Project ID is required`),region:R([`us`,`eu`,`in`]),secret:F().min(1,`Service Account Secret is required`),username:F().min(1,`Service Account Username is required`),workspaceId:F().optional()}),hn=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`},{label:`IN (India)`,value:`in`}];function gn(e){return e===`us`||e===`eu`||e===`in`}function _n({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,username:``,secret:``,projectId:``,workspaceId:``,region:`us`},resolver:de(mn)}),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=>{_t(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ne(t).queryKey,successMessage:`Data source created successfully`});return(0,J.jsxs)(`form`,{onSubmit:n.handleSubmit(e=>r.mutate(e)),className:`space-y-4`,children:[(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-name`,children:`Data Source Name`}),(0,J.jsx)(U,{id:`mixpanel-name`,placeholder:`My Mixpanel`,...n.register(`name`)}),(0,J.jsx)(Z,{message:n.formState.errors.name?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-projectId`,children:`Project ID`}),(0,J.jsx)(U,{id:`mixpanel-projectId`,placeholder:`Enter your Mixpanel Project ID`,...n.register(`projectId`)}),(0,J.jsx)(Z,{message:n.formState.errors.projectId?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-username`,children:`Service Account Username`}),(0,J.jsx)(U,{id:`mixpanel-username`,placeholder:`Enter your Service Account Username`,...n.register(`username`)}),(0,J.jsx)(Z,{message:n.formState.errors.username?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-secret`,children:`Service Account Secret`}),(0,J.jsx)(U,{id:`mixpanel-secret`,type:`password`,placeholder:`Enter your Service Account Secret`,...n.register(`secret`)}),(0,J.jsx)(Z,{message:n.formState.errors.secret?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-workspaceId`,children:`Workspace ID (optional)`}),(0,J.jsx)(U,{id:`mixpanel-workspaceId`,placeholder:`Enter workspace ID if your project uses Data Views`,...n.register(`workspaceId`)})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-region`,children:`Region`}),(0,J.jsxs)(v,{items:[...hn],value:n.watch(`region`),onValueChange:e=>{gn(e)&&n.setValue(`region`,e)},children:[(0,J.jsx)(h,{id:`mixpanel-region`,children:(0,J.jsx)(m,{})}),(0,J.jsx)(g,{children:hn.map(e=>(0,J.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var vn=H({connectionString:F().min(1,`Connection string is required`),database:F().optional(),databases:F().optional(),name:F().min(1,`Name is required`)});function yn(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 bn(e){return e?.trim()||void 0}function xn(e){let t=(0,K.c)(62),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectionString:``,database:``,databases:``},resolver:de(vn)},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=bn(e.database);n&&(t.database=n);let i=yn(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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Sn,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=a.handleSubmit(p),t[16]=a,t[17]=p,t[18]=m):m=t[18];let h;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,J.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,J.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,J.jsx)(W,{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,J.jsxs)(`div`,{className:`space-y-2`,children:[k,(0,J.jsx)(U,{id:`mongodb-database`,placeholder:`analytics`,...A})]}),t[43]=A,t[44]=j);let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,J.jsx)(W,{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,J.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,J.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,J.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,J.jsx)(gt,{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,J.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 Sn(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 Cn=H({hostUrl:F().min(1,`Host URL is required`).pipe(I(`Invalid host URL`)),name:F().min(1,`Name is required`),personalApiKey:F().min(1,`Personal API Key is required`),projectId:F().min(1,`Project ID is required`)});function wn(e){let t=(0,K.c)(69),{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(Cn)},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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Tn,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;if(t[14]!==a||t[15]!==d){let e;t[17]===d?e=t[18]:(e=e=>d.mutate(e),t[17]=d,t[18]=e),f=a.handleSubmit(e),t[14]=a,t[15]=d,t[16]=f}else f=t[16];let p;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,J.jsx)(W,{htmlFor:`posthog-name`,children:`Data Source Name`}),t[19]=p):p=t[19];let m;t[20]===a?m=t[21]:(m=a.register(`name`),t[20]=a,t[21]=m);let h;t[22]===m?h=t[23]:(h=(0,J.jsx)(U,{id:`posthog-name`,placeholder:`My PostHog`,...m}),t[22]=m,t[23]=h);let g=a.formState.errors.name?.message,_;t[24]===g?_=t[25]:(_=(0,J.jsx)(Z,{message:g}),t[24]=g,t[25]=_);let v;t[26]!==h||t[27]!==_?(v=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[26]=h,t[27]=_,t[28]=v):v=t[28];let y;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,J.jsx)(W,{htmlFor:`posthog-projectId`,children:`Project ID`}),t[29]=y):y=t[29];let b;t[30]===a?b=t[31]:(b=a.register(`projectId`),t[30]=a,t[31]=b);let x;t[32]===b?x=t[33]:(x=(0,J.jsx)(U,{id:`posthog-projectId`,placeholder:`Enter your PostHog Project ID`,...b}),t[32]=b,t[33]=x);let S=a.formState.errors.projectId?.message,C;t[34]===S?C=t[35]:(C=(0,J.jsx)(Z,{message:S}),t[34]=S,t[35]=C);let T;t[36]!==x||t[37]!==C?(T=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[36]=x,t[37]=C,t[38]=T):T=t[38];let E;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,J.jsx)(W,{htmlFor:`posthog-personalApiKey`,children:`Personal API Key`}),t[39]=E):E=t[39];let D;t[40]===a?D=t[41]:(D=a.register(`personalApiKey`),t[40]=a,t[41]=D);let O;t[42]===D?O=t[43]:(O=(0,J.jsx)(U,{id:`posthog-personalApiKey`,type:`password`,placeholder:`Enter your PostHog Personal API Key`,...D}),t[42]=D,t[43]=O);let k=a.formState.errors.personalApiKey?.message,A;t[44]===k?A=t[45]:(A=(0,J.jsx)(Z,{message:k}),t[44]=k,t[45]=A);let j;t[46]!==O||t[47]!==A?(j=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[E,O,A]}),t[46]=O,t[47]=A,t[48]=j):j=t[48];let M;t[49]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,J.jsx)(W,{htmlFor:`posthog-hostUrl`,children:`Host URL`}),t[49]=M):M=t[49];let N;t[50]===a?N=t[51]:(N=a.register(`hostUrl`),t[50]=a,t[51]=N);let P;t[52]===N?P=t[53]:(P=(0,J.jsx)(U,{id:`posthog-hostUrl`,placeholder:`https://us.posthog.com`,...N}),t[52]=N,t[53]=P);let F=a.formState.errors.hostUrl?.message,I;t[54]===F?I=t[55]:(I=(0,J.jsx)(Z,{message:F}),t[54]=F,t[55]=I);let L;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,J.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[56]=L):L=t[56];let R;t[57]!==P||t[58]!==I?(R=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[M,P,I,L]}),t[57]=P,t[58]=I,t[59]=R):R=t[59];let z;t[60]===d.isPending?z=t[61]:(z=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[60]=d.isPending,t[61]=z);let B;return t[62]!==v||t[63]!==T||t[64]!==j||t[65]!==R||t[66]!==z||t[67]!==f?(B=(0,J.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,j,R,z]}),t[62]=v,t[63]=T,t[64]=j,t[65]=R,t[66]=z,t[67]=f,t[68]=B):B=t[68],B}function Tn(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 En=H({apiBaseUrl:z([P(``),I(`API base URL must be a valid URL`)]),authToken:F().min(1,`Auth token is required`),name:F().min(1,`Name is required`),organizationSlug:F().min(1,`Organization slug is required`),projectSlug:F().optional()});function Dn(e){let t=(0,K.c)(74),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,authToken:``,organizationSlug:``,projectSlug:``,apiBaseUrl:``},resolver:de(En)},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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:On,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;if(t[14]!==a||t[15]!==d){let e;t[17]===d?e=t[18]:(e=e=>d.mutate(e),t[17]=d,t[18]=e),f=a.handleSubmit(e),t[14]=a,t[15]=d,t[16]=f}else f=t[16];let p;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,J.jsx)(W,{htmlFor:`sentry-name`,children:`Data Source Name`}),t[19]=p):p=t[19];let m;t[20]===a?m=t[21]:(m=a.register(`name`),t[20]=a,t[21]=m);let h;t[22]===m?h=t[23]:(h=(0,J.jsx)(U,{id:`sentry-name`,placeholder:`My Sentry`,...m}),t[22]=m,t[23]=h);let g=a.formState.errors.name?.message,_;t[24]===g?_=t[25]:(_=(0,J.jsx)(Z,{message:g}),t[24]=g,t[25]=_);let v;t[26]!==h||t[27]!==_?(v=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[p,h,_]}),t[26]=h,t[27]=_,t[28]=v):v=t[28];let y;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,J.jsx)(W,{htmlFor:`sentry-organizationSlug`,children:`Organization Slug`}),t[29]=y):y=t[29];let b;t[30]===a?b=t[31]:(b=a.register(`organizationSlug`),t[30]=a,t[31]=b);let x;t[32]===b?x=t[33]:(x=(0,J.jsx)(U,{id:`sentry-organizationSlug`,placeholder:`acme`,...b}),t[32]=b,t[33]=x);let S=a.formState.errors.organizationSlug?.message,C;t[34]===S?C=t[35]:(C=(0,J.jsx)(Z,{message:S}),t[34]=S,t[35]=C);let T;t[36]!==x||t[37]!==C?(T=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[y,x,C]}),t[36]=x,t[37]=C,t[38]=T):T=t[38];let E;t[39]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,J.jsx)(W,{htmlFor:`sentry-projectSlug`,children:`Project Slug (optional)`}),t[39]=E):E=t[39];let D;t[40]===a?D=t[41]:(D=a.register(`projectSlug`),t[40]=a,t[41]=D);let O;t[42]===D?O=t[43]:(O=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,J.jsx)(U,{id:`sentry-projectSlug`,placeholder:`frontend`,...D})]}),t[42]=D,t[43]=O);let k;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,J.jsx)(W,{htmlFor:`sentry-authToken`,children:`Auth Token`}),t[44]=k):k=t[44];let A;t[45]===a?A=t[46]:(A=a.register(`authToken`),t[45]=a,t[46]=A);let j;t[47]===A?j=t[48]:(j=(0,J.jsx)(U,{id:`sentry-authToken`,type:`password`,placeholder:`sntrys_...`,...A}),t[47]=A,t[48]=j);let M=a.formState.errors.authToken?.message,N;t[49]===M?N=t[50]:(N=(0,J.jsx)(Z,{message:M}),t[49]=M,t[50]=N);let P;t[51]!==j||t[52]!==N?(P=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[k,j,N]}),t[51]=j,t[52]=N,t[53]=P):P=t[53];let F;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,J.jsx)(W,{htmlFor:`sentry-apiBaseUrl`,children:`API Base URL (optional)`}),t[54]=F):F=t[54];let I;t[55]===a?I=t[56]:(I=a.register(`apiBaseUrl`),t[55]=a,t[56]=I);let L;t[57]===I?L=t[58]:(L=(0,J.jsx)(U,{id:`sentry-apiBaseUrl`,placeholder:`https://sentry.io/api/0`,...I}),t[57]=I,t[58]=L);let R=a.formState.errors.apiBaseUrl?.message,z;t[59]===R?z=t[60]:(z=(0,J.jsx)(Z,{message:R}),t[59]=R,t[60]=z);let B;t[61]!==L||t[62]!==z?(B=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[F,L,z]}),t[61]=L,t[62]=z,t[63]=B):B=t[63];let V;t[64]===d.isPending?V=t[65]:(V=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:d.isPending,pendingLabel:`Creating...`}),t[64]=d.isPending,t[65]=V);let H;return t[66]!==v||t[67]!==T||t[68]!==O||t[69]!==P||t[70]!==B||t[71]!==V||t[72]!==f?(H=(0,J.jsxs)(`form`,{onSubmit:f,className:`space-y-4`,children:[v,T,O,P,B,V]}),t[66]=v,t[67]=T,t[68]=O,t[69]=P,t[70]=B,t[71]=V,t[72]=f,t[73]=H):H=t[73],H}function On(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 kn(e){let t=(0,K.c)(66),[n,r]=(0,q.useState)(e.initialProvider??st),i,a;t[0]!==e.initialProvider||t[1]!==n?(i=()=>{e.initialProvider&&e.initialProvider!==n&&r(e.initialProvider)},a=[e.initialProvider,n],t[0]=e.initialProvider,t[1]=n,t[2]=i,t[3]=a):(i=t[2],a=t[3]),(0,q.useEffect)(i,a);let o;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=e=>{e&<(e)&&r(e)},t[4]=o):o=t[4];let s=o,c=e.className?`space-y-4 ${e.className}`:`space-y-4`,l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,J.jsx)(W,{htmlFor:`type`,children:`Type`}),t[5]=l):l=t[5];let u;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=[...rt],t[6]=u):u=t[6];let d;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,J.jsx)(h,{id:`type`,children:(0,J.jsx)(m,{})}),t[7]=d):d=t[7];let f;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,J.jsx)(g,{children:rt.map(An)}),t[8]=f):f=t[8];let p,_;t[9]===n?(p=t[10],_=t[11]):(p=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[l,(0,J.jsxs)(v,{items:u,value:n,onValueChange:s,children:[d,f]})]}),_=(0,J.jsx)(tt,{provider:n}),t[9]=n,t[10]=p,t[11]=_);let y;t[12]!==e.onSuccess||t[13]!==e.organizationId||t[14]!==n?(y=Yt(n)&&(0,J.jsx)(on,{provider:n,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[12]=e.onSuccess,t[13]=e.organizationId,t[14]=n,t[15]=y):y=t[15];let b;t[16]!==e.onSuccess||t[17]!==e.organizationId||t[18]!==n?(b=n===`mongodb`&&(0,J.jsx)(xn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[16]=e.onSuccess,t[17]=e.organizationId,t[18]=n,t[19]=b):b=t[19];let x;t[20]!==e.onSuccess||t[21]!==e.organizationId||t[22]!==n?(x=(n===`ga`||n===`bigquery`)&&(0,J.jsx)(Ut,{provider:n,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[20]=e.onSuccess,t[21]=e.organizationId,t[22]=n,t[23]=x):x=t[23];let S;t[24]!==e.onSuccess||t[25]!==e.organizationId||t[26]!==n?(S=n===`amplitude`&&(0,J.jsx)(xt,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[24]=e.onSuccess,t[25]=e.organizationId,t[26]=n,t[27]=S):S=t[27];let C;t[28]!==e.onSuccess||t[29]!==e.organizationId||t[30]!==n?(C=n===`laminar`&&(0,J.jsx)(fn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[28]=e.onSuccess,t[29]=e.organizationId,t[30]=n,t[31]=C):C=t[31];let w;t[32]!==e.onSuccess||t[33]!==e.organizationId||t[34]!==n?(w=n===`aws_athena_connector`&&(0,J.jsx)(Ct,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[32]=e.onSuccess,t[33]=e.organizationId,t[34]=n,t[35]=w):w=t[35];let T;t[36]!==e.onSuccess||t[37]!==e.organizationId||t[38]!==n?(T=n===`mixpanel`&&(0,J.jsx)(_n,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[36]=e.onSuccess,t[37]=e.organizationId,t[38]=n,t[39]=T):T=t[39];let E;t[40]!==e.onSuccess||t[41]!==e.organizationId||t[42]!==n?(E=n===`sentry`&&(0,J.jsx)(Dn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[40]=e.onSuccess,t[41]=e.organizationId,t[42]=n,t[43]=E):E=t[43];let D;t[44]!==e.onSuccess||t[45]!==e.organizationId||t[46]!==n?(D=n===`posthog`&&(0,J.jsx)(wn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[44]=e.onSuccess,t[45]=e.organizationId,t[46]=n,t[47]=D):D=t[47];let O;t[48]!==e.onSuccess||t[49]!==e.organizationId||t[50]!==n?(O=n===`github`&&(0,J.jsx)(ln,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[48]=e.onSuccess,t[49]=e.organizationId,t[50]=n,t[51]=O):O=t[51];let k;return t[52]!==c||t[53]!==b||t[54]!==x||t[55]!==S||t[56]!==C||t[57]!==w||t[58]!==T||t[59]!==E||t[60]!==D||t[61]!==O||t[62]!==p||t[63]!==_||t[64]!==y?(k=(0,J.jsxs)(`div`,{className:c,children:[p,_,y,b,x,S,C,w,T,E,D,O]}),t[52]=c,t[53]=b,t[54]=x,t[55]=S,t[56]=C,t[57]=w,t[58]=T,t[59]=E,t[60]=D,t[61]=O,t[62]=p,t[63]=_,t[64]=y,t[65]=k):k=t[65],k}function An(e){return(0,J.jsx)(_,{value:e.value,children:(0,J.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,J.jsx)(e.icon,{className:`h-4 w-4`}),(0,J.jsx)(`span`,{children:e.label})]})},e.value)}export{we as a,ut as i,ct as n,Oe as o,dt as r,kn as t};
|
|
173
|
+
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 Xe(e){let t=(0,K.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(Je,`${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,J.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,J.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(Qe),t[6]=e.step.paragraphs,t[7]=f);let p;t[8]===f?p=t[9]:(p=(0,J.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,J.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 pl-5 text-sm text-muted-foreground`,children:e.step.bullets.map(Ze)}),t[10]=e.step.bullets,t[11]=m);let h;t[12]===c?h=t[13]:(h=c&&(0,J.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,J.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,J.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,J.jsx)(`div`,{className:o,children:(0,J.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,J.jsxs)(`section`,{className:r,children:[_,v]}),t[29]=r,t[30]=v,t[31]=_,t[32]=y):y=t[32],y}function Ze(e){return(0,J.jsx)(`li`,{children:e},e)}function Qe(e){return(0,J.jsx)(`p`,{children:e},e)}function $e(e){let t=(0,K.c)(19);if(!e.content){let n;return t[0]===e.providerLabel?n=t[1]:(n=(0,J.jsx)(`div`,{className:`rounded-lg border p-4 text-sm text-muted-foreground`,children:(0,J.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,J.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,J.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,J.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;t[9]===e.content.steps?a=t[10]:(a=e.content.steps.map(et),t[9]=e.content.steps,t[10]=a);let o;t[11]!==e.content.closingDescription||t[12]!==e.content.closingNote||t[13]!==e.content.closingTitle?(o=e.content.closingTitle&&(0,J.jsxs)(`section`,{className:`rounded-xl border p-4`,children:[(0,J.jsx)(`h3`,{className:`text-base font-semibold`,children:e.content.closingTitle}),e.content.closingDescription&&(0,J.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.content.closingDescription}),e.content.closingNote&&(0,J.jsx)(`p`,{className:`mt-2 rounded-md border bg-muted/60 p-2 text-xs text-muted-foreground`,children:e.content.closingNote})]}),t[11]=e.content.closingDescription,t[12]=e.content.closingNote,t[13]=e.content.closingTitle,t[14]=o):o=t[14];let s;return t[15]!==i||t[16]!==a||t[17]!==o?(s=(0,J.jsxs)(`div`,{className:`space-y-4`,children:[i,a,o]}),t[15]=i,t[16]=a,t[17]=o,t[18]=s):s=t[18],s}function et(e,t){return(0,J.jsx)(Xe,{step:e,index:t},e.title)}function tt(e){let t=(0,K.c)(19),[n,r]=(0,q.useState)(!1),i=Ye[e.provider],a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,J.jsx)(x,{render:(0,J.jsx)(u,{variant:`outline`,size:`sm`,children:`How to connect`})}),t[0]=a):a=t[0];let o;t[1]===i.providerLabel?o=t[2]:(o=(0,J.jsx)(C,{className:`border-b px-5 py-4`,children:(0,J.jsxs)(y,{children:[i.providerLabel,` Connection Guide`]})}),t[1]=i.providerLabel,t[2]=o);let s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,J.jsxs)(We,{className:`mt-4 w-full max-w-[320px]`,children:[(0,J.jsx)(Ge,{value:`en`,className:`flex-1`,children:`English`}),(0,J.jsx)(Ge,{value:`ko`,className:`flex-1`,children:`한국어`})]}),t[3]=s):s=t[3];let c;t[4]!==i.en||t[5]!==i.providerLabel?(c=(0,J.jsx)(Ke,{value:`en`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,J.jsx)($e,{content:i.en,providerLabel:i.providerLabel})}),t[4]=i.en,t[5]=i.providerLabel,t[6]=c):c=t[6];let l;t[7]!==i.ko||t[8]!==i.providerLabel?(l=(0,J.jsx)(Ke,{value:`ko`,className:`mt-4 min-h-0 flex-1 overflow-y-auto pr-1`,children:(0,J.jsx)($e,{content:i.ko,providerLabel:i.providerLabel})}),t[7]=i.ko,t[8]=i.providerLabel,t[9]=l):l=t[9];let d;t[10]!==c||t[11]!==l?(d=(0,J.jsxs)(He,{defaultValue:`en`,className:`flex h-full min-h-0 flex-col overflow-hidden px-5 pb-5`,children:[s,c,l]}),t[10]=c,t[11]=l,t[12]=d):d=t[12];let f;t[13]!==o||t[14]!==d?(f=(0,J.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:[o,d]}),t[13]=o,t[14]=d,t[15]=f):f=t[15];let p;return t[16]!==n||t[17]!==f?(p=(0,J.jsxs)(S,{open:n,onOpenChange:r,children:[a,f]}),t[16]=n,t[17]=f,t[18]=p):p=t[18],p}var nt={amplitude:{icon:X.amplitude,label:`Amplitude`,testable:!0},aws_athena_connector:{icon:X.aws_athena_connector,label:`AWS Athena Connector`,testable:!0},bigquery:{icon:X.bigquery,label:`BigQuery`,testable:!1},ga:{icon:X.ga,label:`Google Analytics`,testable:!0},github:{icon:X.github,label:`GitHub`,testable:!1},laminar:{icon:X.laminar,label:`Laminar`,testable:!1},mixpanel:{icon:X.mixpanel,label:`Mixpanel`,testable:!0},mongodb:{icon:X.mongodb,label:`MongoDB`,testable:!0},mysql:{icon:X.mysql,label:`MySQL`,testable:!0},postgres:{icon:X.postgres,label:`PostgreSQL`,testable:!0},posthog:{icon:X.posthog,label:`PostHog`,testable:!0},sentry:{icon:X.sentry,label:`Sentry`,testable:!0},supabase:{icon:X.supabase,label:`Supabase`,testable:!0}},rt=[{value:`postgres`,...nt.postgres},{value:`supabase`,...nt.supabase},{value:`mysql`,...nt.mysql},{value:`mongodb`,...nt.mongodb},{value:`ga`,...nt.ga},{value:`bigquery`,...nt.bigquery},{value:`laminar`,...nt.laminar},{value:`aws_athena_connector`,...nt.aws_athena_connector},{value:`amplitude`,...nt.amplitude},{value:`mixpanel`,...nt.mixpanel},{value:`posthog`,...nt.posthog},{value:`sentry`,...nt.sentry},{value:`github`,...nt.github}],it=new Set(rt.map(e=>e.value)),at=new Set(rt.flatMap(e=>e.testable?[e.value]:[])),ot={linear:`Linear`,...Object.fromEntries(rt.map(e=>[e.value,e.label]))},st=rt[0].value,ct=rt.map(e=>e.value);function lt(e){return it.has(e)}function ut(e){return at.has(e)}function dt(e){return ot[e]??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 ft(e){let t=(0,K.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(mt)).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,J.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(pt)}),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,J.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 pt(e,t){return e?.message&&(0,J.jsx)(`li`,{children:e.message},t)}function mt(e){return[e?.message,e]}function Z(e){let t=(0,K.c)(3),{message:n,className:r}=e;if(!n)return null;let i;return t[0]!==r||t[1]!==n?(i=(0,J.jsx)(ft,{className:r,children:n}),t[0]=r,t[1]=n,t[2]=i):i=t[2],i}function ht(e){let t=(0,K.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,J.jsx)(ie,{role:`status`,"aria-label":`Loading`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function gt(e){let t=(0,K.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,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(ht,{className:`size-4`}),(0,J.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,J.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 _t=(e,t,n)=>!te(e,`data_source_name_duplicate`)||!(e instanceof Error)?!1:(t(n,{message:e.message}),!0),vt=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`}],yt=H({apiKey:F().min(1,`API Key is required`),name:F().min(1,`Name is required`),region:R([`us`,`eu`]),secretKey:F().min(1,`Secret Key is required`)});function bt(e){return e===`us`||e===`eu`}function xt({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,apiKey:``,secretKey:``,region:`us`},resolver:de(yt)}),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=>{_t(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ne(t).queryKey,successMessage:`Data source created successfully`});return(0,J.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-name`,children:`Data Source Name`}),(0,J.jsx)(U,{id:`amplitude-name`,placeholder:`My Amplitude`,...n.register(`name`)}),(0,J.jsx)(Z,{message:n.formState.errors.name?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-apiKey`,children:`API Key`}),(0,J.jsx)(U,{id:`amplitude-apiKey`,placeholder:`Enter your Amplitude API Key`,...n.register(`apiKey`)}),(0,J.jsx)(Z,{message:n.formState.errors.apiKey?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-secretKey`,children:`Secret Key`}),(0,J.jsx)(U,{id:`amplitude-secretKey`,type:`password`,placeholder:`Enter your Amplitude Secret Key`,...n.register(`secretKey`)}),(0,J.jsx)(Z,{message:n.formState.errors.secretKey?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`amplitude-region`,children:`Region`}),(0,J.jsxs)(v,{items:[...vt],value:n.watch(`region`),onValueChange:e=>{bt(e)&&n.setValue(`region`,e)},children:[(0,J.jsx)(h,{id:`amplitude-region`,children:(0,J.jsx)(m,{})}),(0,J.jsx)(g,{children:vt.map(e=>(0,J.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var St=H({connectorId:F().min(1,`Connector ID is required`),database:F().min(1,`Athena database is required`),name:F().min(1,`Name is required`),workgroup:F().optional()});function Ct(e){let t=(0,K.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=>{_t(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=ne(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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{id:`connector-database`,placeholder:`analytics`,...k}),t[42]=k,t[43]=A);let j;t[44]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,J.jsx)(`code`,{children:`analytics`}),t[44]=j):j=t[44];let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,J.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Enter the Athena or AWS Glue database name, such as`,` `,j,` or `,(0,J.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,J.jsx)(Z,{message:N}),t[46]=N,t[47]=P);let F;t[48]!==A||t[49]!==P?(F=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{id:`connector-workgroup`,placeholder:`primary`,...L}),t[54]=L,t[55]=R);let z;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,J.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,J.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,J.jsx)(gt,{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,J.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 Q=e=>F().trim().min(1,e),Tt=e=>F().trim().transform(e=>e.length===0?void 0:e).pipe(Q(e).optional()).optional(),$=e=>F().refine(e=>e.trim().length>0,e),Et=e=>F().transform(e=>e.trim().length===0?void 0:e).pipe($(e).optional()).optional(),Dt=(e,t)=>F().trim().min(1,e).pipe(I(t)),Ot=e=>F().trim().transform(e=>e.length===0?void 0:e).pipe(I(e).optional()).optional(),kt=Q(`Connection string is required`).refine(e=>e.startsWith(`mongodb://`)||e.startsWith(`mongodb+srv://`),`Connection string must start with mongodb:// or mongodb+srv://`),At=R([`disable`,`prefer`,`require`]),jt=H({database:Q(`Database name is required`),host:Q(`Host is required`),password:$(`Password is required`),port:L().int().min(1).max(65535).default(5432),sslMode:At.default(`prefer`),type:P(`postgres`),username:Q(`Username is required`)}),Mt=H({database:Q(`Database name is required`),host:Q(`Host is required`),password:$(`Password is required`),port:L().int().min(1).max(65535).default(3306),sslMode:At.default(`prefer`),type:P(`mysql`),username:Q(`Username is required`)}),Nt=H({connectionString:kt,database:Tt(`Database name is required`),databases:B(Q(`Database name is required`)).optional(),type:P(`mongodb`)}),Pt=H({clientEmail:F().trim().min(1,`Client email is required`).pipe(V(`Client email must be a valid email address`)),privateKey:$(`Private key is required`),privateKeyId:Et(`Private key ID is required`),projectId:Q(`Project ID is required`)}),Ft=z([jt,Mt,Nt,z([H({accessToken:$(`Access token is required`),authType:P(`oauth`).optional(),expiresAt:L().int().min(0,`Expiration time must be positive`),propertyId:Q(`Property ID is required`),refreshToken:$(`Refresh token is required`),type:P(`ga`)}),H({authType:P(`service_account`),propertyId:Q(`Property ID is required`),serviceAccount:Pt,type:P(`ga`)})]),z([H({accessToken:$(`Access token is required`),authType:P(`oauth`).optional(),expiresAt:L().int().min(0,`Expiration time must be positive`),projectId:Q(`Project ID is required`),refreshToken:$(`Refresh token is required`),type:P(`bigquery`)}),H({authType:P(`service_account`),projectId:Q(`Project ID is required`),serviceAccount:Pt,type:P(`bigquery`)})]),H({apiBaseUrl:Ot(`API base URL must be a valid URL`),apiKey:$(`API key is required`),type:P(`laminar`)}),H({connectorId:Q(`Connector ID is required`),database:Q(`Athena database is required`),maxRows:L().int().positive().optional(),timeoutMs:L().int().positive().optional(),type:P(`aws_athena_connector`),workgroup:Tt(`Workgroup is required`)}),H({apiKey:$(`API Key is required`),region:R([`us`,`eu`]).default(`us`),secretKey:$(`Secret Key is required`),type:P(`amplitude`)}),H({projectId:Q(`Project ID is required`),region:R([`us`,`eu`,`in`]).default(`us`),secret:$(`Service Account Secret is required`),type:P(`mixpanel`),username:Q(`Service Account Username is required`),workspaceId:Tt(`Workspace ID is required`)}),H({hostUrl:Dt(`Host URL is required`,`Host URL must be a valid URL`).transform(e=>e.replace(/\/+$/,``)),personalApiKey:$(`Personal API Key is required`),projectId:Q(`Project ID is required`),type:P(`posthog`)}),H({apiBaseUrl:Ot(`API base URL must be a valid URL`),authToken:$(`Auth token is required`),organizationSlug:Q(`Organization slug is required`),projectSlug:Tt(`Project slug is required`),type:P(`sentry`)}),H({accessToken:$(`Access token is required`),installationId:Tt(`Installation ID is required`),repositories:B(Q(`Repository is required`)).optional(),type:P(`github`)}),z([H({apiKey:$(`API key is required`),type:P(`linear`)}),H({accessToken:$(`Access token is required`),appUserId:Tt(`App user ID is required`),expiresAt:Tt(`Expiration timestamp is required`),linearOrganizationId:Q(`Linear organization ID is required`),linearOrganizationName:Tt(`Linear organization name is required`),refreshToken:Et(`Refresh token is required`),scope:Tt(`Scope is required`),tokenType:Tt(`Token type is required`),type:P(`linear`)})])]),It={BIGQUERY:`bigquery`,CONNECTOR:`aws_athena_connector`,LAMINAR:`laminar`,MYSQL:`mysql`,POSTGRES:`postgres`};It.POSTGRES,It.MYSQL,It.BIGQUERY,It.LAMINAR,It.CONNECTOR;var Lt=H({credentialsText:F().optional(),name:F().min(1,`Name is required`),projectId:F().optional(),propertyId:F().optional()});function Rt(e){return e&&e.trim()||null}function zt(e,t){let n=e[t];return typeof n==`string`?Rt(n):null}function Bt(e){let t=zt(e,`project_id`)??zt(e,`projectId`);if(!t)return{error:`Project ID is required in service account JSON`};let n=zt(e,`client_email`)??zt(e,`clientEmail`);if(!n)return{error:`Client email is required in service account JSON`};let r=zt(e,`private_key`)??zt(e,`privateKey`);if(!r)return{error:`Private key is required in service account JSON`};let i=zt(e,`private_key_id`)??zt(e,`privateKeyId`),a={clientEmail:n,privateKey:r,projectId:t};return{projectId:t,serviceAccount:i?{...a,privateKeyId:i}:a}}function Vt(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=Bt(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 Ht(e,t,n){let r={...e};if(t===`ga`){let e=Rt(n.propertyId)??(`propertyId`in r&&typeof r.propertyId==`string`?Rt(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)?zt(r.serviceAccount,`projectId`):null,t=Rt(n.projectId)??(`projectId`in r&&typeof r.projectId==`string`?Rt(r.projectId):null)??e;if(!t)return{error:`Project ID is required`};r.projectId=t}let i=Ft.safeParse(r);return i.success?{credentials:i.data}:{error:i.error.issues.map(e=>e.message).join(`, `)}}function Ut(e){let t=(0,K.c)(89),{provider:n,onSuccess:r,organizationId:i}=e,[a,o]=(0,q.useState)(null),[s,c]=(0,q.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(Lt)},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=>{_t(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=ne(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=Vt(t,n);if(`error`in r){o(r.error);return}let i=Ht(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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:j}),t[34]=j,t[35]=M);let N;t[36]!==E||t[37]!==A||t[38]!==M?(N=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.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,J.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,J.jsxs)(`div`,{className:`my-4 flex items-center gap-3 text-xs text-muted-foreground`,children:[(0,J.jsx)(`div`,{className:`h-px flex-1 bg-border`}),(0,J.jsx)(`span`,{className:`uppercase tracking-widest`,children:`Or`}),(0,J.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,J.jsx)(W,{htmlFor:V,children:`Credentials JSON`}),t[52]=V,t[53]=H);let ee=`${n}-credentials-text`,te=`Paste ${l} credentials JSON`,ie;t[54]===S?ie=t[55]:(ie=e=>{S.onChange(e),o(null)},t[54]=S,t[55]=ie);let ae;t[56]===Symbol.for(`react.memo_cache_sentinel`)?(ae={fieldSizing:`fixed`},t[56]=ae):ae=t[56];let oe;t[57]!==S||t[58]!==ee||t[59]!==te||t[60]!==ie?(oe=(0,J.jsx)(ce,{id:ee,placeholder:te,rows:8,...S,onChange:ie,className:`font-mono text-sm h-48 max-h-64 overflow-y-auto resize-y field-sizing-fixed`,style:ae}),t[57]=S,t[58]=ee,t[59]=te,t[60]=ie,t[61]=oe):oe=t[61];let G;t[62]===a?G=t[63]:(G=(0,J.jsx)(Z,{message:a}),t[62]=a,t[63]=G);let se=n===`ga`?` propertyId`:` projectId`,le;t[64]===se?le=t[65]:(le=(0,J.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Include accessToken, refreshToken, and expiresAt for OAuth. Service account JSON is also supported. Provide`,se,` here or in the JSON.`]}),t[64]=se,t[65]=le);let fe;t[66]!==H||t[67]!==oe||t[68]!==G||t[69]!==le?(fe=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[H,oe,G,le]}),t[66]=H,t[67]=oe,t[68]=G,t[69]=le,t[70]=fe):fe=t[70];let pe;t[71]!==z||t[72]!==fe?(pe=(0,J.jsxs)(`div`,{className:`rounded-lg border border-dashed p-4`,children:[z,B,fe]}),t[71]=z,t[72]=fe,t[73]=pe):pe=t[73];let me;t[74]!==d||t[75]!==n?(me=n===`ga`&&(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`ga-property-id`,children:`Property ID`}),(0,J.jsx)(U,{id:`ga-property-id`,placeholder:`properties/123456789`,...d.register(`propertyId`)}),(0,J.jsx)(Z,{message:d.formState.errors.propertyId?.message})]}),t[74]=d,t[75]=n,t[76]=me):me=t[76];let he;t[77]!==d||t[78]!==n?(he=n===`bigquery`&&(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`bigquery-project-id`,children:`Project ID`}),(0,J.jsx)(U,{id:`bigquery-project-id`,placeholder:`my-project-id`,...d.register(`projectId`)}),(0,J.jsx)(Z,{message:d.formState.errors.projectId?.message})]}),t[77]=d,t[78]=n,t[79]=he):he=t[79];let Y;t[80]===v.isPending?Y=t[81]:(Y=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:v.isPending,pendingLabel:`Creating...`}),t[80]=v.isPending,t[81]=Y);let ge;return t[82]!==C||t[83]!==N||t[84]!==pe||t[85]!==me||t[86]!==he||t[87]!==Y?(ge=(0,J.jsxs)(`form`,{onSubmit:C,className:`space-y-4 py-4`,children:[N,pe,me,he,Y]}),t[82]=C,t[83]=N,t[84]=pe,t[85]=me,t[86]=he,t[87]=Y,t[88]=ge):ge=t[88],ge}var Wt=`localhost`,Gt=`postgres://user:password@host:port/database`,Kt=`postgresql://postgres.[project-ref]:password@aws-0-[region].pooler.supabase.com:5432/postgres`,qt=`mysql://user:password@host:port/database`,Jt={mysql:{connectionStringFormat:qt,connectionStringPlaceholder:`mysql://user:password@host:3306/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:3306,defaultSslMode:`prefer`,fallbackHost:Wt,hostPlaceholder:Wt,invalidConnectionStringFormat:qt,isPostgresFamily:!1,namePlaceholder:`My Database`,supportedProtocols:[`mysql`],usernamePlaceholder:`root`},postgres:{connectionStringFormat:Gt,connectionStringPlaceholder:`postgres://user:password@host:5432/database`,databasePlaceholder:`mydb`,defaultDatabase:``,defaultPort:5432,defaultSslMode:`prefer`,fallbackHost:Wt,hostPlaceholder:Wt,invalidConnectionStringFormat:Gt,isPostgresFamily:!0,namePlaceholder:`My Database`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres`},supabase:{connectionStringFormat:Kt,connectionStringPlaceholder:Kt,databasePlaceholder:`postgres`,defaultDatabase:`postgres`,defaultPort:5432,defaultSslMode:`require`,fallbackHost:`aws-0-[region].pooler.supabase.com`,hostPlaceholder:`aws-0-[region].pooler.supabase.com`,invalidConnectionStringFormat:Gt,isPostgresFamily:!0,namePlaceholder:`My Supabase`,supportedProtocols:[`postgres`,`postgresql`],usernamePlaceholder:`postgres.your-project-ref`}};function Yt(e){return e===`postgres`||e===`supabase`||e===`mysql`}function Xt(e){return Jt[e]}var Zt=`prefer`;function Qt(e){if(e===null)return;let t=e.trim().toLowerCase();if(t===`disable`||t===`prefer`||t===`require`)return t}function $t(e){return Qt(e)??Zt}function en(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),r=e.protocol.replace(`:`,``),i=Xt(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?$t(e.searchParams.get(`sslmode`)):void 0,username:decodeURIComponent(e.username)||``}:null}catch{return null}}function tn(e){return Xt(e).connectionStringPlaceholder}function nn(e){return Xt(e).connectionStringFormat}function rn(e){return`Invalid connection string format. Expected: ${Xt(e).invalidConnectionStringFormat}`}var an=H({database:F().min(1,`Database name is required`),host:F().min(1,`Host is required`),name:F().min(1,`Name is required`),password:F().min(1,`Password is required`),port:L().min(1).max(65535),provider:R([`postgres`,`supabase`,`mysql`]),sslMode:R([`disable`,`prefer`,`require`]).optional(),username:F().min(1,`Username is required`)});function on(e){let t=(0,K.c)(119),{provider:n,onSuccess:r,organizationId:i}=e,a;t[0]===n?a=t[1]:(a=Xt(n),t[0]=n,t[1]=a);let o=a,[s,c]=(0,q.useState)(``),[l,u]=(0,q.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(an),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=Xt(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=>{_t(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=ne(i),t[16]=i,t[17]=v);let y;t[18]!==h||t[19]!==g||t[20]!==_||t[21]!==v.queryKey?(y={createOptimisticItem:sn,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=en(s,n);if(!r){u(rn(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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:A}),t[39]=A,t[40]=j);let M;t[41]!==k||t[42]!==j?(M=(0,J.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,J.jsxs)(We,{className:`w-full`,children:[(0,J.jsx)(Ge,{value:`url`,className:`flex-1`,children:`Connection URL`}),(0,J.jsx)(Ge,{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,J.jsx)(W,{htmlFor:`connectionString`,children:`Connection String`}),t[45]=P):P=t[45];let F;t[46]===n?F=t[47]:(F=tn(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,J.jsx)(U,{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,J.jsx)(Z,{message:l}),t[52]=l,t[53]=R);let z;t[54]===n?z=t[55]:(z=nn(n),t[54]=n,t[55]=z);let B;t[56]===z?B=t[57]:(B=(0,J.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,J.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,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[62]=b.isPending,t[63]=H);let ee;t[64]!==T||t[65]!==V||t[66]!==H?(ee=(0,J.jsx)(Ke,{value:`url`,className:`pt-4`,children:(0,J.jsxs)(`form`,{onSubmit:T,className:`space-y-4`,children:[V,H]})}),t[64]=T,t[65]=V,t[66]=H,t[67]=ee):ee=t[67];let te;t[68]!==m||t[69]!==S?(te=e=>{m.handleSubmit(S)(e)},t[68]=m,t[69]=S,t[70]=te):te=t[70];let ie;t[71]===Symbol.for(`react.memo_cache_sentinel`)?(ie=(0,J.jsx)(W,{htmlFor:`host`,children:`Host`}),t[71]=ie):ie=t[71];let ae=o.hostPlaceholder,oe;t[72]===m?oe=t[73]:(oe=m.register(`host`),t[72]=m,t[73]=oe);let G;t[74]!==o.hostPlaceholder||t[75]!==oe?(G=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[ie,(0,J.jsx)(U,{id:`host`,placeholder:ae,...oe})]}),t[74]=o.hostPlaceholder,t[75]=oe,t[76]=G):G=t[76];let se;t[77]===Symbol.for(`react.memo_cache_sentinel`)?(se=(0,J.jsx)(W,{htmlFor:`port`,children:`Port`}),t[77]=se):se=t[77];let ce;t[78]===m?ce=t[79]:(ce=m.register(`port`,{valueAsNumber:!0}),t[78]=m,t[79]=ce);let le;t[80]===ce?le=t[81]:(le=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[se,(0,J.jsx)(U,{id:`port`,type:`number`,...ce})]}),t[80]=ce,t[81]=le);let fe;t[82]!==G||t[83]!==le?(fe=(0,J.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[G,le]}),t[82]=G,t[83]=le,t[84]=fe):fe=t[84];let pe;t[85]===Symbol.for(`react.memo_cache_sentinel`)?(pe=(0,J.jsx)(W,{htmlFor:`database`,children:`Database`}),t[85]=pe):pe=t[85];let me=o.databasePlaceholder,he;t[86]===m?he=t[87]:(he=m.register(`database`),t[86]=m,t[87]=he);let Y;t[88]!==o.databasePlaceholder||t[89]!==he?(Y=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[pe,(0,J.jsx)(U,{id:`database`,placeholder:me,...he})]}),t[88]=o.databasePlaceholder,t[89]=he,t[90]=Y):Y=t[90];let ge;t[91]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,J.jsx)(W,{htmlFor:`username`,children:`Username`}),t[91]=ge):ge=t[91];let _e=o.usernamePlaceholder,ve;t[92]===m?ve=t[93]:(ve=m.register(`username`),t[92]=m,t[93]=ve);let ye;t[94]!==o.usernamePlaceholder||t[95]!==ve?(ye=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[ge,(0,J.jsx)(U,{id:`username`,placeholder:_e,...ve})]}),t[94]=o.usernamePlaceholder,t[95]=ve,t[96]=ye):ye=t[96];let be;t[97]===Symbol.for(`react.memo_cache_sentinel`)?(be=(0,J.jsx)(W,{htmlFor:`password`,children:`Password`}),t[97]=be):be=t[97];let xe;t[98]===m?xe=t[99]:(xe=m.register(`password`),t[98]=m,t[99]=xe);let Se;t[100]===xe?Se=t[101]:(Se=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[be,(0,J.jsx)(U,{id:`password`,type:`password`,...xe})]}),t[100]=xe,t[101]=Se);let Ce;t[102]!==ye||t[103]!==Se?(Ce=(0,J.jsxs)(`div`,{className:`grid grid-cols-2 gap-4`,children:[ye,Se]}),t[102]=ye,t[103]=Se,t[104]=Ce):Ce=t[104];let we;t[105]===b.isPending?we=t[106]:(we=(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:b.isPending,pendingLabel:`Creating...`}),t[105]=b.isPending,t[106]=we);let Te;t[107]!==te||t[108]!==fe||t[109]!==Y||t[110]!==Ce||t[111]!==we?(Te=(0,J.jsx)(Ke,{value:`manual`,className:`pt-4`,children:(0,J.jsxs)(`form`,{onSubmit:te,className:`space-y-4`,children:[fe,Y,Ce,we]})}),t[107]=te,t[108]=fe,t[109]=Y,t[110]=Ce,t[111]=we,t[112]=Te):Te=t[112];let Ee;t[113]!==ee||t[114]!==Te?(Ee=(0,J.jsxs)(He,{defaultValue:`url`,children:[N,ee,Te]}),t[113]=ee,t[114]=Te,t[115]=Ee):Ee=t[115];let X;return t[116]!==M||t[117]!==Ee?(X=(0,J.jsxs)(`div`,{className:`space-y-4`,children:[M,Ee]}),t[116]=M,t[117]=Ee,t[118]=X):X=t[118],X}function sn(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 cn=H({accessToken:F().min(1,`Access token is required`),name:F().min(1,`Name is required`)});function ln(e){let t=(0,K.c)(45),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,accessToken:``},resolver:de(cn)},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=>{_t(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=ne(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:un,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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:S}),t[32]=S,t[33]=C);let T;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,J.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,J.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,J.jsx)(gt,{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,J.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 un(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()}}var dn=H({apiBaseUrl:z([I(`API Base URL must be a valid URL`),P(``)]),apiKey:F().min(1,`API Key is required`),name:F().min(1,`Name is required`)});function fn(e){let t=(0,K.c)(58),{organizationId:n,onSuccess:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,apiKey:``,apiBaseUrl:``},resolver:de(dn)},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=>{_t(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=ne(n),t[7]=n,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:pn,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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]!==C||t[37]!==E?(D=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:j}),t[44]=j,t[45]=M);let N;t[46]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,J.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,J.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,J.jsx)(gt,{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,J.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 pn(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 mn=H({name:F().min(1,`Name is required`),projectId:F().min(1,`Project ID is required`),region:R([`us`,`eu`,`in`]),secret:F().min(1,`Service Account Secret is required`),username:F().min(1,`Service Account Username is required`),workspaceId:F().optional()}),hn=[{label:`US (Standard)`,value:`us`},{label:`EU (Europe)`,value:`eu`},{label:`IN (India)`,value:`in`}];function gn(e){return e===`us`||e===`eu`||e===`in`}function _n({onSuccess:e,organizationId:t}){let n=ue({defaultValues:{name:``,username:``,secret:``,projectId:``,workspaceId:``,region:`us`},resolver:de(mn)}),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=>{_t(e,n.setError,`name`)},onSuccess:t=>{e(t.dataSource.id)},queryKey:ne(t).queryKey,successMessage:`Data source created successfully`});return(0,J.jsxs)(`form`,{onSubmit:e=>{n.handleSubmit(e=>{r.mutate(e)})(e)},className:`space-y-4`,children:[(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-name`,children:`Data Source Name`}),(0,J.jsx)(U,{id:`mixpanel-name`,placeholder:`My Mixpanel`,...n.register(`name`)}),(0,J.jsx)(Z,{message:n.formState.errors.name?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-projectId`,children:`Project ID`}),(0,J.jsx)(U,{id:`mixpanel-projectId`,placeholder:`Enter your Mixpanel Project ID`,...n.register(`projectId`)}),(0,J.jsx)(Z,{message:n.formState.errors.projectId?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-username`,children:`Service Account Username`}),(0,J.jsx)(U,{id:`mixpanel-username`,placeholder:`Enter your Service Account Username`,...n.register(`username`)}),(0,J.jsx)(Z,{message:n.formState.errors.username?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-secret`,children:`Service Account Secret`}),(0,J.jsx)(U,{id:`mixpanel-secret`,type:`password`,placeholder:`Enter your Service Account Secret`,...n.register(`secret`)}),(0,J.jsx)(Z,{message:n.formState.errors.secret?.message})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-workspaceId`,children:`Workspace ID (optional)`}),(0,J.jsx)(U,{id:`mixpanel-workspaceId`,placeholder:`Enter workspace ID if your project uses Data Views`,...n.register(`workspaceId`)})]}),(0,J.jsxs)(`div`,{className:`space-y-2`,children:[(0,J.jsx)(W,{htmlFor:`mixpanel-region`,children:`Region`}),(0,J.jsxs)(v,{items:[...hn],value:n.watch(`region`),onValueChange:e=>{gn(e)&&n.setValue(`region`,e)},children:[(0,J.jsx)(h,{id:`mixpanel-region`,children:(0,J.jsx)(m,{})}),(0,J.jsx)(g,{children:hn.map(e=>(0,J.jsx)(_,{value:e.value,children:e.label},e.value))})]})]}),(0,J.jsx)(gt,{idleLabel:`Create Data Source`,isPending:r.isPending,pendingLabel:`Creating...`})]})}var vn=H({connectionString:F().min(1,`Connection string is required`),database:F().optional(),databases:F().optional(),name:F().min(1,`Name is required`)});function yn(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 bn(e){return e?.trim()||void 0}function xn(e){let t=(0,K.c)(62),{onSuccess:n,organizationId:r}=e,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={defaultValues:{name:``,connectionString:``,database:``,databases:``},resolver:de(vn)},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=bn(e.database);n&&(t.database=n);let i=yn(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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Sn,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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:v}),t[24]=v,t[25]=y);let b;t[26]!==_||t[27]!==y?(b=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:T}),t[34]=T,t[35]=E);let D;t[36]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,J.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,J.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,J.jsx)(W,{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,J.jsxs)(`div`,{className:`space-y-2`,children:[k,(0,J.jsx)(U,{id:`mongodb-database`,placeholder:`analytics`,...A})]}),t[43]=A,t[44]=j);let M;t[45]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,J.jsx)(W,{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,J.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,J.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,J.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,J.jsx)(gt,{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,J.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 Sn(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 Cn=H({hostUrl:F().min(1,`Host URL is required`).pipe(I(`Invalid host URL`)),name:F().min(1,`Name is required`),personalApiKey:F().min(1,`Personal API Key is required`),projectId:F().min(1,`Project ID is required`)});function wn(e){let t=(0,K.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(Cn)},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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:Tn,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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:k}),t[42]=k,t[43]=A);let j;t[44]!==O||t[45]!==A?(j=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:F}),t[52]=F,t[53]=I);let L;t[54]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,J.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,J.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,J.jsx)(gt,{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,J.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 Tn(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 En=H({apiBaseUrl:z([P(``),I(`API base URL must be a valid URL`)]),authToken:F().min(1,`Auth token is required`),name:F().min(1,`Name is required`),organizationSlug:F().min(1,`Organization slug is required`),projectSlug:F().optional()});function Dn(e){let t=(0,K.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(En)},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=>{_t(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=ne(r),t[7]=r,t[8]=l);let u;t[9]!==o||t[10]!==s||t[11]!==c||t[12]!==l.queryKey?(u={createOptimisticItem:On,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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:g}),t[22]=g,t[23]=_);let v;t[24]!==h||t[25]!==_?(v=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:S}),t[32]=S,t[33]=C);let T;t[34]!==x||t[35]!==C?(T=(0,J.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,J.jsx)(W,{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,J.jsxs)(`div`,{className:`space-y-2`,children:[E,(0,J.jsx)(U,{id:`sentry-projectSlug`,placeholder:`frontend`,...D})]}),t[40]=D,t[41]=O);let k;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:M}),t[47]=M,t[48]=N);let P;t[49]!==j||t[50]!==N?(P=(0,J.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,J.jsx)(W,{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,J.jsx)(U,{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,J.jsx)(Z,{message:R}),t[57]=R,t[58]=z);let B;t[59]!==L||t[60]!==z?(B=(0,J.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,J.jsx)(gt,{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,J.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 On(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 kn(e){let t=(0,K.c)(66),[n,r]=(0,q.useState)(e.initialProvider??st),i,a;t[0]!==e.initialProvider||t[1]!==n?(i=()=>{e.initialProvider&&e.initialProvider!==n&&r(e.initialProvider)},a=[e.initialProvider,n],t[0]=e.initialProvider,t[1]=n,t[2]=i,t[3]=a):(i=t[2],a=t[3]),(0,q.useEffect)(i,a);let o;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=e=>{e&<(e)&&r(e)},t[4]=o):o=t[4];let s=o,c=e.className?`space-y-4 ${e.className}`:`space-y-4`,l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,J.jsx)(W,{htmlFor:`type`,children:`Type`}),t[5]=l):l=t[5];let u;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=[...rt],t[6]=u):u=t[6];let d;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,J.jsx)(h,{id:`type`,children:(0,J.jsx)(m,{})}),t[7]=d):d=t[7];let f;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,J.jsx)(g,{children:rt.map(An)}),t[8]=f):f=t[8];let p,_;t[9]===n?(p=t[10],_=t[11]):(p=(0,J.jsxs)(`div`,{className:`space-y-2`,children:[l,(0,J.jsxs)(v,{items:u,value:n,onValueChange:s,children:[d,f]})]}),_=(0,J.jsx)(tt,{provider:n}),t[9]=n,t[10]=p,t[11]=_);let y;t[12]!==e.onSuccess||t[13]!==e.organizationId||t[14]!==n?(y=Yt(n)&&(0,J.jsx)(on,{provider:n,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[12]=e.onSuccess,t[13]=e.organizationId,t[14]=n,t[15]=y):y=t[15];let b;t[16]!==e.onSuccess||t[17]!==e.organizationId||t[18]!==n?(b=n===`mongodb`&&(0,J.jsx)(xn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[16]=e.onSuccess,t[17]=e.organizationId,t[18]=n,t[19]=b):b=t[19];let x;t[20]!==e.onSuccess||t[21]!==e.organizationId||t[22]!==n?(x=(n===`ga`||n===`bigquery`)&&(0,J.jsx)(Ut,{provider:n,organizationId:e.organizationId,onSuccess:e.onSuccess}),t[20]=e.onSuccess,t[21]=e.organizationId,t[22]=n,t[23]=x):x=t[23];let S;t[24]!==e.onSuccess||t[25]!==e.organizationId||t[26]!==n?(S=n===`amplitude`&&(0,J.jsx)(xt,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[24]=e.onSuccess,t[25]=e.organizationId,t[26]=n,t[27]=S):S=t[27];let C;t[28]!==e.onSuccess||t[29]!==e.organizationId||t[30]!==n?(C=n===`laminar`&&(0,J.jsx)(fn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[28]=e.onSuccess,t[29]=e.organizationId,t[30]=n,t[31]=C):C=t[31];let w;t[32]!==e.onSuccess||t[33]!==e.organizationId||t[34]!==n?(w=n===`aws_athena_connector`&&(0,J.jsx)(Ct,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[32]=e.onSuccess,t[33]=e.organizationId,t[34]=n,t[35]=w):w=t[35];let T;t[36]!==e.onSuccess||t[37]!==e.organizationId||t[38]!==n?(T=n===`mixpanel`&&(0,J.jsx)(_n,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[36]=e.onSuccess,t[37]=e.organizationId,t[38]=n,t[39]=T):T=t[39];let E;t[40]!==e.onSuccess||t[41]!==e.organizationId||t[42]!==n?(E=n===`sentry`&&(0,J.jsx)(Dn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[40]=e.onSuccess,t[41]=e.organizationId,t[42]=n,t[43]=E):E=t[43];let D;t[44]!==e.onSuccess||t[45]!==e.organizationId||t[46]!==n?(D=n===`posthog`&&(0,J.jsx)(wn,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[44]=e.onSuccess,t[45]=e.organizationId,t[46]=n,t[47]=D):D=t[47];let O;t[48]!==e.onSuccess||t[49]!==e.organizationId||t[50]!==n?(O=n===`github`&&(0,J.jsx)(ln,{organizationId:e.organizationId,onSuccess:e.onSuccess}),t[48]=e.onSuccess,t[49]=e.organizationId,t[50]=n,t[51]=O):O=t[51];let k;return t[52]!==c||t[53]!==b||t[54]!==x||t[55]!==S||t[56]!==C||t[57]!==w||t[58]!==T||t[59]!==E||t[60]!==D||t[61]!==O||t[62]!==p||t[63]!==_||t[64]!==y?(k=(0,J.jsxs)(`div`,{className:c,children:[p,_,y,b,x,S,C,w,T,E,D,O]}),t[52]=c,t[53]=b,t[54]=x,t[55]=S,t[56]=C,t[57]=w,t[58]=T,t[59]=E,t[60]=D,t[61]=O,t[62]=p,t[63]=_,t[64]=y,t[65]=k):k=t[65],k}function An(e){return(0,J.jsx)(_,{value:e.value,children:(0,J.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,J.jsx)(e.icon,{className:`h-4 w-4`}),(0,J.jsx)(`span`,{children:e.label})]})},e.value)}export{we as a,ut as i,ct as n,Oe as o,dt as r,kn as t};
|