@onequery/cli 0.1.51-alpha.1-win32-x64 → 0.1.51-alpha.2-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.
Files changed (166) hide show
  1. package/package.json +3 -3
  2. package/vendor/{x86_64-pc-windows-msvc/onequery/onequery.exe → aarch64-apple-darwin/onequery/onequery} +0 -0
  3. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeItem-CZdKsA45.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeItem-5Ejg9goZ.js} +1 -1
  4. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/CompositeList-C9xWKWEY.js → aarch64-apple-darwin/runtime/dashboard/assets/CompositeList-YgaWmh3B.js} +1 -1
  5. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/DialogTitle-DSjY6Xud.js → aarch64-apple-darwin/runtime/dashboard/assets/DialogTitle-ClXtDd9Q.js} +1 -1
  6. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/Separator-Di8cGnYl.js → aarch64-apple-darwin/runtime/dashboard/assets/Separator-DFErBP0R.js} +1 -1
  7. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_authenticated-DJ_4zmt8.js → aarch64-apple-darwin/runtime/dashboard/assets/_authenticated-BLaa3dX9.js} +1 -1
  8. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/_org_slug-COtToeSC.js → aarch64-apple-darwin/runtime/dashboard/assets/_org_slug-DpTz88Qu.js} +1 -1
  9. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/alert-CS-uCjgY.js +1 -0
  10. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/audit-eCycUPz_.js +2 -0
  11. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-bootstrap-query-KhD_VRw3.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-bootstrap-query-BfqZ8Yy7.js} +1 -1
  12. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/avatar-DoLsibq3.js → aarch64-apple-darwin/runtime/dashboard/assets/avatar-Bhrck5AU.js} +1 -1
  13. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/badge-D8XKsDus.js → aarch64-apple-darwin/runtime/dashboard/assets/badge-CD1NZZeu.js} +1 -1
  14. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/budget-CpNnCDvc.js → aarch64-apple-darwin/runtime/dashboard/assets/budget-DIFmKLVZ.js} +1 -1
  15. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/callback-DX7qJ2z3.js → aarch64-apple-darwin/runtime/dashboard/assets/callback-DaMZ_DSj.js} +1 -1
  16. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/checkbox-BLYovhFU.js → aarch64-apple-darwin/runtime/dashboard/assets/checkbox-DleS9yrS.js} +1 -1
  17. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/connect-database-2O_Oe_4E.js +1 -0
  18. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/create-org-DcFcmY-G.js → aarch64-apple-darwin/runtime/dashboard/assets/create-org-NlEAqKKM.js} +1 -1
  19. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/data-source-connection-form-DGIyt0OF.js → aarch64-apple-darwin/runtime/dashboard/assets/data-source-connection-form-DxFQvde4.js} +1 -1
  20. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/device-GZIoJtbw.js → aarch64-apple-darwin/runtime/dashboard/assets/device-xqYJjaBL.js} +1 -1
  21. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dropdown-menu-1lFANFIg.js → aarch64-apple-darwin/runtime/dashboard/assets/dropdown-menu-BAlPEsmU.js} +1 -1
  22. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getDisabledMountTransitionStyles-f3pOCbyk.js → aarch64-apple-darwin/runtime/dashboard/assets/getDisabledMountTransitionStyles-D7JdES34.js} +1 -1
  23. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/getPseudoElementBounds-BpCtHFAC.js → aarch64-apple-darwin/runtime/dashboard/assets/getPseudoElementBounds-DoV2AHJj.js} +1 -1
  24. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/home-BL1SSXlH.js → aarch64-apple-darwin/runtime/dashboard/assets/home-Dr-U2hqI.js} +1 -1
  25. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/index-BlJdKLZ2.js +10 -0
  26. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/index-HSlveFcV.css +2 -0
  27. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/input-DSkIbIFK.js → aarch64-apple-darwin/runtime/dashboard/assets/input-1NcNY1Rk.js} +1 -1
  28. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/integrations-CDs4fcwt.js +1 -0
  29. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/invite._invitationId-D0BbiY9f.js → aarch64-apple-darwin/runtime/dashboard/assets/invite._invitationId-CxwewYTO.js} +1 -1
  30. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/routes-jr9opiO_.js → aarch64-apple-darwin/runtime/dashboard/assets/routes-L1BSaJiU.js} +1 -1
  31. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/select-BSubTgC3.js → aarch64-apple-darwin/runtime/dashboard/assets/select-5H3IfaXj.js} +1 -1
  32. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/separator-CWjuJH0f.js → aarch64-apple-darwin/runtime/dashboard/assets/separator-BA_IZNjv.js} +1 -1
  33. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/settings-B3gO4YZk.js → aarch64-apple-darwin/runtime/dashboard/assets/settings-BZiuqXT-.js} +1 -1
  34. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/signin-VOTh7Maw.js → aarch64-apple-darwin/runtime/dashboard/assets/signin-B87kq0Ly.js} +1 -1
  35. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/table-KbfTJ5Sr.js +1 -0
  36. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/team-BluE4VcP.js +1 -0
  37. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/textarea-B57VG43g.js → aarch64-apple-darwin/runtime/dashboard/assets/textarea-CrZYjVAa.js} +1 -1
  38. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/theme-toggle-CdJo4s34.js → aarch64-apple-darwin/runtime/dashboard/assets/theme-toggle-uajvlezR.js} +1 -1
  39. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/use-optimistic-mutation-D88ezW6g.js → aarch64-apple-darwin/runtime/dashboard/assets/use-optimistic-mutation-CBrmyJZM.js} +1 -1
  40. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseQuery-C_843G5v.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseQuery-D1yu1ezG.js} +1 -1
  41. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useCompositeItem-DqawtL5i.js → aarch64-apple-darwin/runtime/dashboard/assets/useCompositeItem-CeS9xqAj.js} +1 -1
  42. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useQuery-DlCKU9N7.js +1 -0
  43. package/vendor/aarch64-apple-darwin/runtime/dashboard/assets/useSuspenseQuery-XqNBsVA3.js +1 -0
  44. package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/zod-BgAmwIO1.js → aarch64-apple-darwin/runtime/dashboard/assets/zod-CEwGZQUT.js} +1 -1
  45. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/index.html +14 -14
  46. package/vendor/aarch64-apple-darwin/runtime/migrations/20260430114113_jittery_scorpion.sql +28 -0
  47. package/vendor/aarch64-apple-darwin/runtime/migrations/20260430135906_flippant_timeslip.sql +4 -0
  48. package/vendor/aarch64-apple-darwin/runtime/migrations/20260502000100_drop_old_workflow_audit_tables.sql +15 -0
  49. package/vendor/aarch64-apple-darwin/runtime/migrations/20260503011110_moaning_jack_flag.sql +22 -0
  50. package/vendor/aarch64-apple-darwin/runtime/migrations/meta/20260430114113_snapshot.json +3507 -0
  51. package/vendor/aarch64-apple-darwin/runtime/migrations/meta/20260430135906_snapshot.json +3531 -0
  52. package/vendor/aarch64-apple-darwin/runtime/migrations/meta/20260503011110_snapshot.json +3089 -0
  53. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/_journal.json +28 -0
  54. package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/server/onequery-server.mjs +25887 -24437
  55. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/IconDatabase-BLZDgpcN.js +0 -1
  56. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/alert-TnJXtO0T.js +0 -1
  57. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/audit-L0p_sbmf.js +0 -1
  58. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/connect-database-veJddN9s.js +0 -1
  59. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/index-BZrWlEXZ.js +0 -10
  60. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/index-ClbN-fUj.css +0 -2
  61. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/integrations-B4PT4c-V.js +0 -1
  62. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/table-mA0t_uVk.js +0 -1
  63. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/team-CWGusGkh.js +0 -1
  64. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useQuery-jz7A3Y4u.js +0 -1
  65. package/vendor/x86_64-pc-windows-msvc/runtime/dashboard/assets/useSuspenseQuery-BXj42YYV.js +0 -1
  66. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconArrowRight-DsOD7mDl.js +0 -0
  67. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCheck-Gc24xPT2.js +0 -0
  68. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronDown-B-39MA7-.js +0 -0
  69. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconChevronRight-DD16tNHZ.js +0 -0
  70. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconCoins-C7Nn0L6R.js +0 -0
  71. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconHistory-k3NVXypq.js +0 -0
  72. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconLoader2-CZSIppar.js +0 -0
  73. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/IconPlus-Ie-KpLOF.js +0 -0
  74. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/IconX-Cg43mUxH.js → aarch64-apple-darwin/runtime/dashboard/assets/IconX-lzvnmVyG.js} +0 -0
  75. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/api-base-url-DIb6qukm.js +0 -0
  76. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/api-client-F8Y7IuHn.js → aarch64-apple-darwin/runtime/dashboard/assets/api-client-DPCavVwb.js} +0 -0
  77. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/api-paths-DcYkf-C_.js → aarch64-apple-darwin/runtime/dashboard/assets/api-paths-CFdXXr7u.js} +0 -0
  78. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/app-routes-DM5pppqD.js → aarch64-apple-darwin/runtime/dashboard/assets/app-routes-DZ9Y_rfa.js} +0 -0
  79. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/auth-client-Dj6z7Pcl.js → aarch64-apple-darwin/runtime/dashboard/assets/auth-client-CMZBteJH.js} +0 -0
  80. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/card-CZCl7QNy.js → aarch64-apple-darwin/runtime/dashboard/assets/card-BWqhQk-T.js} +0 -0
  81. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/compiler-runtime-DCc3R3Xn.js +0 -0
  82. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/createReactComponent-_L2mp4Ui.js +0 -0
  83. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/dist-Cg-lnuP8.js → aarch64-apple-darwin/runtime/dashboard/assets/dist-ppXnK3vn.js} +0 -0
  84. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/empty-DjRo5ytz.js → aarch64-apple-darwin/runtime/dashboard/assets/empty-CL-DucEV.js} +0 -0
  85. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/format-date-B5v-Ga9z.js → aarch64-apple-darwin/runtime/dashboard/assets/format-date-DA6GHF32.js} +0 -0
  86. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
  87. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
  88. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
  89. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
  90. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
  91. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
  92. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
  93. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/jsx-runtime-DG_AJzB_.js +0 -0
  94. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/label-CUY3W2yp.js → aarch64-apple-darwin/runtime/dashboard/assets/label-C_ikCvs8.js} +0 -0
  95. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/link-Cgvqhh5w.js +0 -0
  96. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/matchContext-CDajBC0L.js +0 -0
  97. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-permissions-PidGz2SY.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-permissions-BVvfS7YH.js} +0 -0
  98. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/organization-query-keys-Dl2dsKXD.js → aarch64-apple-darwin/runtime/dashboard/assets/organization-query-keys-DyKPI5eG.js} +0 -0
  99. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/query-timing-C8VVOl1e.js → aarch64-apple-darwin/runtime/dashboard/assets/query-timing-DJ9GuO2c.js} +0 -0
  100. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/queryOptions-LX_zDC40.js → aarch64-apple-darwin/runtime/dashboard/assets/queryOptions-uXYq4lsk.js} +0 -0
  101. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/removable-DwbP0VJV.js → aarch64-apple-darwin/runtime/dashboard/assets/removable-Dfzz1goA.js} +0 -0
  102. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/schemas-K0ZhTj23.js → aarch64-apple-darwin/runtime/dashboard/assets/schemas-F85ZMR4X.js} +0 -0
  103. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/src-Cs2YIecp.js → aarch64-apple-darwin/runtime/dashboard/assets/src-BLN-I5in.js} +0 -0
  104. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useBaseUiId-Cn1kR417.js → aarch64-apple-darwin/runtime/dashboard/assets/useBaseUiId-DFyoDJ0E.js} +0 -0
  105. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useControlled-C1S7R-1A.js → aarch64-apple-darwin/runtime/dashboard/assets/useControlled-DtSMvmU7.js} +0 -0
  106. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useRender-DFMo54_d.js → aarch64-apple-darwin/runtime/dashboard/assets/useRender-DFBf8QFH.js} +0 -0
  107. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/useRouterState-DpT8luFk.js +0 -0
  108. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/useValueChanged-CH03vPJ5.js → aarch64-apple-darwin/runtime/dashboard/assets/useValueChanged-DCVzV7fD.js} +0 -0
  109. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/assets/utils-C8DGLIgm.js +0 -0
  110. /package/vendor/{x86_64-pc-windows-msvc/runtime/dashboard/assets/xstate-react.esm--l_MSO73.js → aarch64-apple-darwin/runtime/dashboard/assets/xstate-react.esm-CSzd0UA8.js} +0 -0
  111. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/favicon.ico +0 -0
  112. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step1_settings_sidebar.png +0 -0
  113. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step2_projects.png +0 -0
  114. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step3_project_keys.png +0 -0
  115. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/amplitude/step4_api_keys.png +0 -0
  116. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step1_service_accounts.png +0 -0
  117. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step2_bigquery_roles.png +0 -0
  118. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step3_add_key_menu.png +0 -0
  119. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/bigquery/step4_create_json_key.png +0 -0
  120. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step1_service_accounts.png +0 -0
  121. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step2_create_json_key.png +0 -0
  122. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step3_add_user_viewer.png +0 -0
  123. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/ga4/step4_property_details.png +0 -0
  124. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step1_signin.png +0 -0
  125. /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
  126. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step3_permissions_configured_sanitized.png +0 -0
  127. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/github-token-guide/step4_token_created_sanitized.png +0 -0
  128. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step1_service_accounts.png +0 -0
  129. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step2_create_service_account.png +0 -0
  130. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step3_credentials.png +0 -0
  131. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/mixpanel/step4_project_settings.png +0 -0
  132. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step1_create_user.png +0 -0
  133. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/postgresql/step2_connection.png +0 -0
  134. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step1_project_settings.png +0 -0
  135. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step2_personal_api_keys.png +0 -0
  136. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/posthog/step3_create_key_modal.png +0 -0
  137. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step1_connect.png +0 -0
  138. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step2_create_user.png +0 -0
  139. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step3_grant.png +0 -0
  140. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/rds/step4_info.png +0 -0
  141. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step1_personal_tokens.png +0 -0
  142. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step2_create_token_permissions.png +0 -0
  143. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step3_organization_slug.png +0 -0
  144. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/images/sentry/step4_project_slug.png +0 -0
  145. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/linear.svg +0 -0
  146. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/dashboard/onequery.svg +0 -0
  147. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260327065242_curious_nightmare.sql +0 -0
  148. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403103652_slippery_hellfire_club.sql +0 -0
  149. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260403112219_gigantic_namora.sql +0 -0
  150. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420071232_previous_justin_hammer.sql +0 -0
  151. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420093157_spooky_cassandra_nova.sql +0 -0
  152. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260420101631_even_ogun.sql +0 -0
  153. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260425110519_smart_amazoness.sql +0 -0
  154. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/20260428033542_rename_source_query_interface_missing.sql +0 -0
  155. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260327065242_snapshot.json +0 -0
  156. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403103652_snapshot.json +0 -0
  157. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260403112219_snapshot.json +0 -0
  158. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420071232_snapshot.json +0 -0
  159. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420093157_snapshot.json +0 -0
  160. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260420101631_snapshot.json +0 -0
  161. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260425110519_snapshot.json +0 -0
  162. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/migrations/meta/20260428033542_snapshot.json +0 -0
  163. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/initdb.wasm +0 -0
  164. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.data +0 -0
  165. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/pglite/pglite.wasm +0 -0
  166. /package/vendor/{x86_64-pc-windows-msvc → aarch64-apple-darwin}/runtime/sql-parser/sql_parser_wasm_bg.wasm +0 -0
@@ -1 +1 @@
1
- import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{n as r}from"./useRouterState-DpT8luFk.js";import{a as i,o as a}from"./api-base-url-DIb6qukm.js";import{t as o}from"./auth-client-Dj6z7Pcl.js";import{t as s}from"./queryOptions-LX_zDC40.js";import{t as c}from"./query-timing-C8VVOl1e.js";import{f as l,g as u,r as d,u as f}from"./schemas-K0ZhTj23.js";import{t as p}from"./organization-query-keys-Dl2dsKXD.js";import{O as m,U as h,k as g}from"./index-BZrWlEXZ.js";import{t as _}from"./auth-bootstrap-query-KhD_VRw3.js";var v=e(t(),1);function y(e){let t=e.organizations.at(0);if(t)return{kind:`organizationHome`,organizationSlug:g(t)};let n=b(e.pendingInvitations);return n?{kind:`invite`,invitationId:n.id}:e.signupMode===`invite-only`?{kind:`inviteOnlyPendingAccess`}:{kind:`onboardingCreateOrg`}}function b(e){return e.length===0?null:[...e].sort(x)[0]??null}function x(e,t){let n=Date.parse(t.createdAt)-Date.parse(e.createdAt);return n===0?e.id.localeCompare(t.id):n}var S=d(f({createdAt:u(),email:l(),expiresAt:u(),id:l(),inviterId:l(),organizationId:l(),organizationName:l(),role:l().nullable().optional(),status:l(),teamId:l().nullable().optional()}));async function C(){let e=await o.listUserInvitations();if(!e.data)throw Error(`Failed to fetch pending invitations`);return S.parse(e.data)}function w(e){return s({queryFn:C,queryKey:p.pendingInvitations(e),staleTime:c})}var T=n(),E=i(`/auth/callback`),D=`Your account is signed in, but you do not have access to an organization yet. Ask an admin to send or resend your invitation link.`;function O(){let e=a(),t=r(),n=(0,v.useRef)(!1),[i,o]=(0,v.useState)(0),[s,c]=(0,v.useState)(`Setting up your account...`),{redirect:l}=E.useSearch(),{auth:u,queryClient:d,refetchSession:f}=E.useRouteContext(),p=h(l);return(0,v.useEffect)(()=>{let r=!0;async function i(){try{let i=u;if(!i.session?.user){if(!n.current){console.warn(`[auth] callback missing session, retrying refetch`),n.current=!0,await f(),r&&o(e=>e+1);return}if(!i.session?.user){console.error(`[auth] callback failed: session is still missing`),r&&await e({to:`/signin`});return}}if(await t.invalidate({sync:!0}),r&&c(`Setting up your account...`),!r)return;if(p&&p.path!==`/auth/callback`){await e({to:p.path});return}let a=i.session?.user.id;if(!a){console.error(`[auth] callback failed: authenticated user is missing`),r&&await e({to:`/signin`});return}let s=await d.fetchQuery({...m(a),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load organizations`,{error:e}),null));if(!s){r&&await e({to:`/signin`});return}if(!r)return;let l=y({organizations:s,pendingInvitations:s.length===0?await d.fetchQuery({...w(a),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load pending invitations`,{error:e}),[])):[],signupMode:(await d.fetchQuery({..._(),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load bootstrap state`,{error:e}),null)))?.signupMode});if(l.kind===`organizationHome`){await e({params:{org_slug:l.organizationSlug},to:`/$org_slug/home`});return}if(l.kind===`invite`){await e({params:{invitationId:l.invitationId},to:`/invite/$invitationId`});return}if(l.kind===`inviteOnlyPendingAccess`){console.warn(`[auth] callback found no organizations or pending invitations in invite-only mode`),r&&c(D);return}console.warn(`[auth] callback found no organizations or pending invitations, onboarding redirect`),await e({to:`/onboarding/create-org`})}catch(t){console.error(`[auth] callback failed unexpectedly`,{error:t}),r&&await e({to:`/signin`})}}return i(),()=>{r=!1}},[u.session?.user.id,e,d,p,i,f,t]),(0,T.jsx)(`div`,{className:`flex min-h-screen items-center justify-center`,children:(0,T.jsx)(`div`,{className:`max-w-md text-center text-muted-foreground`,children:s})})}var k=O;export{k as component};
1
+ import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{n as r}from"./useRouterState-DpT8luFk.js";import{a as i,o as a}from"./api-base-url-DIb6qukm.js";import{t as o}from"./auth-client-CMZBteJH.js";import{t as s}from"./queryOptions-uXYq4lsk.js";import{t as c}from"./query-timing-DJ9GuO2c.js";import{f as l,g as u,r as d,u as f}from"./schemas-F85ZMR4X.js";import{t as p}from"./organization-query-keys-DyKPI5eG.js";import{O as m,U as h,k as g}from"./index-BlJdKLZ2.js";import{t as _}from"./auth-bootstrap-query-BfqZ8Yy7.js";var v=e(t(),1);function y(e){let t=e.organizations.at(0);if(t)return{kind:`organizationHome`,organizationSlug:g(t)};let n=b(e.pendingInvitations);return n?{kind:`invite`,invitationId:n.id}:e.signupMode===`invite-only`?{kind:`inviteOnlyPendingAccess`}:{kind:`onboardingCreateOrg`}}function b(e){return e.length===0?null:[...e].sort(x)[0]??null}function x(e,t){let n=Date.parse(t.createdAt)-Date.parse(e.createdAt);return n===0?e.id.localeCompare(t.id):n}var S=d(f({createdAt:u(),email:l(),expiresAt:u(),id:l(),inviterId:l(),organizationId:l(),organizationName:l(),role:l().nullable().optional(),status:l(),teamId:l().nullable().optional()}));async function C(){let e=await o.listUserInvitations();if(!e.data)throw Error(`Failed to fetch pending invitations`);return S.parse(e.data)}function w(e){return s({queryFn:C,queryKey:p.pendingInvitations(e),staleTime:c})}var T=n(),E=i(`/auth/callback`),D=`Your account is signed in, but you do not have access to an organization yet. Ask an admin to send or resend your invitation link.`;function O(){let e=a(),t=r(),n=(0,v.useRef)(!1),[i,o]=(0,v.useState)(0),[s,c]=(0,v.useState)(`Setting up your account...`),{redirect:l}=E.useSearch(),{auth:u,queryClient:d,refetchSession:f}=E.useRouteContext(),p=h(l);return(0,v.useEffect)(()=>{let r=!0;async function i(){try{let i=u;if(!i.session?.user){if(!n.current){console.warn(`[auth] callback missing session, retrying refetch`),n.current=!0,await f(),r&&o(e=>e+1);return}if(!i.session?.user){console.error(`[auth] callback failed: session is still missing`),r&&await e({to:`/signin`});return}}if(await t.invalidate({sync:!0}),r&&c(`Setting up your account...`),!r)return;if(p&&p.path!==`/auth/callback`){await e({to:p.path});return}let a=i.session?.user.id;if(!a){console.error(`[auth] callback failed: authenticated user is missing`),r&&await e({to:`/signin`});return}let s=await d.fetchQuery({...m(a),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load organizations`,{error:e}),null));if(!s){r&&await e({to:`/signin`});return}if(!r)return;let l=y({organizations:s,pendingInvitations:s.length===0?await d.fetchQuery({...w(a),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load pending invitations`,{error:e}),[])):[],signupMode:(await d.fetchQuery({..._(),staleTime:0}).catch(e=>(console.error(`[auth] callback failed to load bootstrap state`,{error:e}),null)))?.signupMode});if(l.kind===`organizationHome`){await e({params:{org_slug:l.organizationSlug},to:`/$org_slug/home`});return}if(l.kind===`invite`){await e({params:{invitationId:l.invitationId},to:`/invite/$invitationId`});return}if(l.kind===`inviteOnlyPendingAccess`){console.warn(`[auth] callback found no organizations or pending invitations in invite-only mode`),r&&c(D);return}console.warn(`[auth] callback found no organizations or pending invitations, onboarding redirect`),await e({to:`/onboarding/create-org`})}catch(t){console.error(`[auth] callback failed unexpectedly`,{error:t}),r&&await e({to:`/signin`})}}return i(),()=>{r=!1}},[u.session?.user.id,e,d,p,i,f,t]),(0,T.jsx)(`div`,{className:`flex min-h-screen items-center justify-center`,children:(0,T.jsx)(`div`,{className:`max-w-md text-center text-muted-foreground`,children:s})})}var k=O;export{k as component};
@@ -1 +1 @@
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{S as i,a,b as o,f as s,g as c,h as l,p as u,t as d,x as f,y as p}from"./createReactComponent-_L2mp4Ui.js";import{t as m}from"./utils-C8DGLIgm.js";import{t as h}from"./IconCheck-Gc24xPT2.js";import{F as g,I as ee,b as _,x as v,y as te}from"./getDisabledMountTransitionStyles-f3pOCbyk.js";import{d as ne,n as re,t as ie}from"./useBaseUiId-Cn1kR417.js";import{a as ae,i as oe,n as se,o as ce,s as y}from"./input-DSkIbIFK.js";import{t as le}from"./useControlled-C1S7R-1A.js";import{t as ue}from"./useValueChanged-CH03vPJ5.js";var b=d(`outline`,`dots-vertical`,`DotsVertical`,[[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M11 19a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M11 5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]),de=d(`outline`,`trash`,`Trash`,[[`path`,{d:`M4 7l16 0`,key:`svg-0`}],[`path`,{d:`M10 11l0 6`,key:`svg-1`}],[`path`,{d:`M14 11l0 6`,key:`svg-2`}],[`path`,{d:`M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12`,key:`svg-3`}],[`path`,{d:`M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3`,key:`svg-4`}]]),x=e(t()),S=x.createContext({disabled:!1});function fe(){return x.useContext(S)}var C=x.createContext(void 0);function pe(e=!0){let t=x.useContext(C);if(t===void 0&&!e)throw Error(p(3));return t}var w=function(e){return e.checked=`data-checked`,e.unchecked=`data-unchecked`,e.indeterminate=`data-indeterminate`,e.disabled=`data-disabled`,e.readonly=`data-readonly`,e.required=`data-required`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({});function me(e){return x.useMemo(()=>({checked(t){return e.indeterminate?{}:t?{[w.checked]:``}:{[w.unchecked]:``}},...y}),[e.indeterminate])}var T=x.createContext(void 0);function E(){let e=x.useContext(T);if(e===void 0)throw Error(p(14));return e}var D=n(),he=`data-parent`,O=x.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:d=!1,disabled:p=!1,id:m,indeterminate:h=!1,inputRef:_,name:v,onCheckedChange:te,parent:y=!1,readOnly:b=!1,render:de,required:S=!1,uncheckedValue:C,value:w,nativeButton:E=!1,...O}=e,{clearErrors:k}=ae(),{disabled:A,name:j,setDirty:ge,setFilled:M,setFocused:N,setTouched:_e,state:P,validationMode:ve,validityData:ye,shouldValidateOnChange:be,validation:xe}=ce(),Se=fe(),{labelId:Ce,controlId:we,setControlId:F,getDescriptionProps:I}=oe(),L=pe(),R=L?.parent,z=R&&L.allValues,B=A||Se.disabled||L?.disabled||p,V=j??v,H=w??V,U=ie(),Te=ie(),W=we;z?W=y?Te:`${R.id}-${H}`:m&&(W=m);let G={};z&&(y?G=L.parent.getParentProps():H&&(G=L.parent.getChildProps(H)));let Ee=i(te),{checked:K=n,indeterminate:q=h,onCheckedChange:De,...Oe}=G,J=L?.value,ke=L?.setValue,Ae=L?.defaultValue,Y=x.useRef(null),{getButtonProps:je,buttonRef:Me}=c({disabled:B,native:E}),X=L?.validation??xe,[Z,Ne]=le({controlled:H&&J&&!y?J.includes(H):K,default:H&&Ae&&!y?Ae.includes(H):d,name:`Checkbox`,state:`checked`});f(()=>{if(F!==u)return F(W),()=>{F(void 0)}},[W,L,F,y]),se({enabled:!L,id:U,commit:X.commit,value:Z,controlRef:Y,name:V,getValue:()=>Z});let Q=x.useRef(null),Pe=l(_,Q,X.inputRef);f(()=>{Q.current&&(Q.current.indeterminate=q,Z&&M(!0))},[Z,q,M]),ue(Z,()=>{L&&!y||(k(V),M(Z),ge(Z!==ye.initialValue),be()?X.commit(Z):X.commit(Z,!0))});let Fe=o({checked:Z,disabled:B,name:y?void 0:V,id:E?void 0:W??void 0,required:S,ref:Pe,style:V?ee:g,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked,n=re(ne,e.nativeEvent);De?.(t,n),Ee(t,n),!n.isCanceled&&(Ne(t),H&&J&&ke&&!y&&ke(t?[...J,H]:J.filter(e=>e!==H),n))},onFocus(){Y.current?.focus()}},w===void 0?s:{value:(L?Z&&w:w)||``},I,L?X.getValidationProps:X.getInputValidationProps),Ie=z?!!K:Z,Le=z&&q||h;x.useEffect(()=>{R&&H&&R.disabledStatesRef.current.set(H,B)},[R,B,H]);let $=x.useMemo(()=>({...P,checked:Ie,disabled:B,readOnly:b,required:S,indeterminate:Le}),[P,Ie,B,b,S,Le]),Re=me($),ze=a(`span`,e,{state:$,ref:[Me,Y,t,L?.registerControlRef],props:[{id:E?W??void 0:U,role:`checkbox`,"aria-checked":q?`mixed`:Z,"aria-readonly":b||void 0,"aria-required":S||void 0,"aria-labelledby":Ce,[he]:y?``:void 0,onFocus(){N(!0)},onBlur(){let e=Q.current;e&&(_e(!0),N(!1),ve===`onBlur`&&X.commit(L?J:e.checked))},onClick(e){b||B||(e.preventDefault(),Q.current?.click())}},I,X.getValidationProps,O,Oe,je],stateAttributesMapping:Re});return(0,D.jsxs)(T.Provider,{value:$,children:[ze,!Z&&!L&&V&&!y&&C!==void 0&&(0,D.jsx)(`input`,{type:`hidden`,name:V,value:C}),(0,D.jsx)(`input`,{...Fe})]})}),k=x.forwardRef(function(e,t){let{render:n,className:r,keepMounted:i=!1,...o}=e,s=E(),c=s.checked||s.indeterminate,{transitionStatus:l,setMounted:u}=v(c),d=x.useRef(null),f=x.useMemo(()=>({...s,transitionStatus:l}),[s,l]);te({open:c,ref:d,onComplete(){c||u(!1)}});let p=me(s),m=x.useMemo(()=>({...p,..._,...y}),[p]),h=i||c,g=a(`span`,e,{enabled:h,ref:[t,d],state:f,stateAttributesMapping:m,props:o});return h?g:null}),A=r();function j(e){let t=(0,A.c)(9),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=m(`border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-[3px] aria-invalid:ring-[3px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,D.jsx)(k,{"data-slot":`checkbox-indicator`,className:`[&>svg]:size-3.5 grid place-content-center text-current transition-none`,children:(0,D.jsx)(h,{})}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,D.jsx)(O,{"data-slot":`checkbox`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{de as n,b as r,j as t};
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{S as i,a,b as o,f as s,g as c,h as l,p as u,t as d,x as f,y as p}from"./createReactComponent-_L2mp4Ui.js";import{t as m}from"./utils-C8DGLIgm.js";import{t as h}from"./IconCheck-Gc24xPT2.js";import{F as g,I as ee,b as _,x as v,y as te}from"./getDisabledMountTransitionStyles-D7JdES34.js";import{d as ne,n as re,t as ie}from"./useBaseUiId-DFyoDJ0E.js";import{a as ae,i as oe,n as se,o as ce,s as y}from"./input-1NcNY1Rk.js";import{t as le}from"./useControlled-DtSMvmU7.js";import{t as ue}from"./useValueChanged-DCVzV7fD.js";var b=d(`outline`,`dots-vertical`,`DotsVertical`,[[`path`,{d:`M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M11 19a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M11 5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]),de=d(`outline`,`trash`,`Trash`,[[`path`,{d:`M4 7l16 0`,key:`svg-0`}],[`path`,{d:`M10 11l0 6`,key:`svg-1`}],[`path`,{d:`M14 11l0 6`,key:`svg-2`}],[`path`,{d:`M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12`,key:`svg-3`}],[`path`,{d:`M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3`,key:`svg-4`}]]),x=e(t()),S=x.createContext({disabled:!1});function fe(){return x.useContext(S)}var C=x.createContext(void 0);function pe(e=!0){let t=x.useContext(C);if(t===void 0&&!e)throw Error(p(3));return t}var w=function(e){return e.checked=`data-checked`,e.unchecked=`data-unchecked`,e.indeterminate=`data-indeterminate`,e.disabled=`data-disabled`,e.readonly=`data-readonly`,e.required=`data-required`,e.valid=`data-valid`,e.invalid=`data-invalid`,e.touched=`data-touched`,e.dirty=`data-dirty`,e.filled=`data-filled`,e.focused=`data-focused`,e}({});function me(e){return x.useMemo(()=>({checked(t){return e.indeterminate?{}:t?{[w.checked]:``}:{[w.unchecked]:``}},...y}),[e.indeterminate])}var T=x.createContext(void 0);function E(){let e=x.useContext(T);if(e===void 0)throw Error(p(14));return e}var D=n(),he=`data-parent`,O=x.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:d=!1,disabled:p=!1,id:m,indeterminate:h=!1,inputRef:_,name:v,onCheckedChange:te,parent:y=!1,readOnly:b=!1,render:de,required:S=!1,uncheckedValue:C,value:w,nativeButton:E=!1,...O}=e,{clearErrors:k}=ae(),{disabled:A,name:j,setDirty:ge,setFilled:M,setFocused:N,setTouched:_e,state:P,validationMode:ve,validityData:ye,shouldValidateOnChange:be,validation:xe}=ce(),Se=fe(),{labelId:Ce,controlId:we,setControlId:F,getDescriptionProps:I}=oe(),L=pe(),R=L?.parent,z=R&&L.allValues,B=A||Se.disabled||L?.disabled||p,V=j??v,H=w??V,U=ie(),Te=ie(),W=we;z?W=y?Te:`${R.id}-${H}`:m&&(W=m);let G={};z&&(y?G=L.parent.getParentProps():H&&(G=L.parent.getChildProps(H)));let Ee=i(te),{checked:K=n,indeterminate:q=h,onCheckedChange:De,...Oe}=G,J=L?.value,ke=L?.setValue,Ae=L?.defaultValue,Y=x.useRef(null),{getButtonProps:je,buttonRef:Me}=c({disabled:B,native:E}),X=L?.validation??xe,[Z,Ne]=le({controlled:H&&J&&!y?J.includes(H):K,default:H&&Ae&&!y?Ae.includes(H):d,name:`Checkbox`,state:`checked`});f(()=>{if(F!==u)return F(W),()=>{F(void 0)}},[W,L,F,y]),se({enabled:!L,id:U,commit:X.commit,value:Z,controlRef:Y,name:V,getValue:()=>Z});let Q=x.useRef(null),Pe=l(_,Q,X.inputRef);f(()=>{Q.current&&(Q.current.indeterminate=q,Z&&M(!0))},[Z,q,M]),ue(Z,()=>{L&&!y||(k(V),M(Z),ge(Z!==ye.initialValue),be()?X.commit(Z):X.commit(Z,!0))});let Fe=o({checked:Z,disabled:B,name:y?void 0:V,id:E?void 0:W??void 0,required:S,ref:Pe,style:V?ee:g,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked,n=re(ne,e.nativeEvent);De?.(t,n),Ee(t,n),!n.isCanceled&&(Ne(t),H&&J&&ke&&!y&&ke(t?[...J,H]:J.filter(e=>e!==H),n))},onFocus(){Y.current?.focus()}},w===void 0?s:{value:(L?Z&&w:w)||``},I,L?X.getValidationProps:X.getInputValidationProps),Ie=z?!!K:Z,Le=z&&q||h;x.useEffect(()=>{R&&H&&R.disabledStatesRef.current.set(H,B)},[R,B,H]);let $=x.useMemo(()=>({...P,checked:Ie,disabled:B,readOnly:b,required:S,indeterminate:Le}),[P,Ie,B,b,S,Le]),Re=me($),ze=a(`span`,e,{state:$,ref:[Me,Y,t,L?.registerControlRef],props:[{id:E?W??void 0:U,role:`checkbox`,"aria-checked":q?`mixed`:Z,"aria-readonly":b||void 0,"aria-required":S||void 0,"aria-labelledby":Ce,[he]:y?``:void 0,onFocus(){N(!0)},onBlur(){let e=Q.current;e&&(_e(!0),N(!1),ve===`onBlur`&&X.commit(L?J:e.checked))},onClick(e){b||B||(e.preventDefault(),Q.current?.click())}},I,X.getValidationProps,O,Oe,je],stateAttributesMapping:Re});return(0,D.jsxs)(T.Provider,{value:$,children:[ze,!Z&&!L&&V&&!y&&C!==void 0&&(0,D.jsx)(`input`,{type:`hidden`,name:V,value:C}),(0,D.jsx)(`input`,{...Fe})]})}),k=x.forwardRef(function(e,t){let{render:n,className:r,keepMounted:i=!1,...o}=e,s=E(),c=s.checked||s.indeterminate,{transitionStatus:l,setMounted:u}=v(c),d=x.useRef(null),f=x.useMemo(()=>({...s,transitionStatus:l}),[s,l]);te({open:c,ref:d,onComplete(){c||u(!1)}});let p=me(s),m=x.useMemo(()=>({...p,..._,...y}),[p]),h=i||c,g=a(`span`,e,{enabled:h,ref:[t,d],state:f,stateAttributesMapping:m,props:o});return h?g:null}),A=r();function j(e){let t=(0,A.c)(9),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=m(`border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-[3px] aria-invalid:ring-[3px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,D.jsx)(k,{"data-slot":`checkbox-indicator`,className:`[&>svg]:size-3.5 grid place-content-center text-current transition-none`,children:(0,D.jsx)(h,{})}),t[5]=a):a=t[5];let o;return t[6]!==r||t[7]!==i?(o=(0,D.jsx)(O,{"data-slot":`checkbox`,className:i,...r,children:a}),t[6]=r,t[7]=i,t[8]=o):o=t[8],o}export{de as n,b as r,j as t};
@@ -0,0 +1 @@
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{a as i,o as a}from"./api-base-url-DIb6qukm.js";import{n as o,t as s}from"./createReactComponent-_L2mp4Ui.js";import{t as c}from"./auth-client-CMZBteJH.js";import{L as l}from"./index-BlJdKLZ2.js";import{a as u,n as d,o as f,r as p,t as m}from"./card-BWqhQk-T.js";import{t as h}from"./data-source-connection-form-DxFQvde4.js";var g=s(`outline`,`database`,`Database`,[[`path`,{d:`M4 6a8 3 0 1 0 16 0a8 3 0 1 0 -16 0`,key:`svg-0`}],[`path`,{d:`M4 6v6a8 3 0 0 0 16 0v-6`,key:`svg-1`}],[`path`,{d:`M4 12v6a8 3 0 0 0 16 0v-6`,key:`svg-2`}]]),_=r(),v=e(t(),1),y=n(),b=i(`/_authenticated/onboarding/connect-database`);function x(e){if(!(e instanceof Error))return`Failed to finish onboarding`;let t=e.message.trim();return t.length>0?t:`Failed to finish onboarding`}async function S(e){let t=await c.getFullOrganization({query:{organizationId:e}});if(!t.data?.slug)throw Error(`Failed to resolve organization slug`);return t.data.slug}function C(){let e=(0,_.c)(31),t=a(),n=b.useSearch(),r=(0,v.useRef)(null),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={hasSubmitButton:!1,isDisabled:!0,label:`Create Data Source`},e[0]=i):i=e[0];let[s,c]=(0,v.useState)(i),C=n.orgId,E,D;e[1]!==t||e[2]!==C?(E=()=>{C||(l.error(`Missing organization information`),t({to:`/onboarding/create-org`}))},D=[C,t],e[1]=t,e[2]=C,e[3]=E,e[4]=D):(E=e[3],D=e[4]),(0,v.useEffect)(E,D);let O;e[5]!==t||e[6]!==C?(O=function(e){C&&S(C).then(t=>(l.success(`Data source connected (${e})`),t)).then(async e=>t({params:{org_slug:e},to:`/$org_slug/home`})).catch(T)},e[5]=t,e[6]=C,e[7]=O):O=e[7];let k=O,A;e[8]!==t||e[9]!==C?(A=async function(){if(C)try{await t({params:{org_slug:await S(C)},to:`/$org_slug/home`})}catch(e){let t=e;l.error(x(t))}},e[8]=t,e[9]=C,e[10]=A):A=e[10];let j=A,M;e[11]===Symbol.for(`react.memo_cache_sentinel`)?(M=function(e){return e?[...e.querySelectorAll(`button[type='submit']`)].find(w):null},e[11]=M):M=e[11];let N=M,P;e[12]===Symbol.for(`react.memo_cache_sentinel`)?(P=function(){let e=N(r.current);!e||e.disabled||e.click()},e[12]=P):P=e[12];let F=P,I,L;if(e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=()=>{let e=r.current;if(!e)return;let t=()=>{let t=N(e);if(!t){c({hasSubmitButton:!1,isDisabled:!0,label:`Create Data Source`});return}c({hasSubmitButton:!0,isDisabled:t.disabled,label:t.textContent?.trim()||`Create Data Source`})};t();let n=new MutationObserver(t);return n.observe(e,{attributeFilter:[`class`,`disabled`,`hidden`,`data-active`,`data-state`],attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>n.disconnect()},L=[],e[13]=I,e[14]=L):(I=e[13],L=e[14]),(0,v.useEffect)(I,L),!C)return null;let R;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,y.jsxs)(u,{className:`shrink-0 border-b text-center`,children:[(0,y.jsx)(`div`,{className:`mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-muted`,children:(0,y.jsx)(g,{size:24,stroke:1.5})}),(0,y.jsx)(f,{className:`text-xl`,children:`Connect a data source`}),(0,y.jsx)(p,{children:`Connect a data source to start querying your workspace data, or skip to explore first`})]}),e[15]=R):R=e[15];let z;e[16]!==k||e[17]!==C?(z=(0,y.jsx)(`div`,{ref:r,className:`min-h-0 flex-1 overflow-y-auto`,children:(0,y.jsx)(h,{organizationId:C,onSuccess:k,className:`px-6 py-4 [&_button[type='submit']]:sr-only`})}),e[16]=k,e[17]=C,e[18]=z):z=e[18];let B;e[19]!==s.hasSubmitButton||e[20]!==s.isDisabled||e[21]!==s.label?(B=s.hasSubmitButton&&(0,y.jsx)(o,{className:`w-full`,disabled:s.isDisabled,onClick:F,children:s.label}),e[19]=s.hasSubmitButton,e[20]=s.isDisabled,e[21]=s.label,e[22]=B):B=e[22];let V;e[23]===j?V=e[24]:(V=(0,y.jsx)(o,{variant:`ghost`,onClick:()=>{j()},className:`mt-2 w-full`,children:`Skip for now`}),e[23]=j,e[24]=V);let H;e[25]!==B||e[26]!==V?(H=(0,y.jsxs)(`div`,{className:`shrink-0 border-t px-6 py-4`,children:[B,V]}),e[25]=B,e[26]=V,e[27]=H):H=e[27];let U;return e[28]!==z||e[29]!==H?(U=(0,y.jsx)(`div`,{className:`flex min-h-screen items-center justify-center p-6`,children:(0,y.jsxs)(m,{className:`flex h-[min(720px,calc(100vh-3rem))] w-full max-w-md flex-col overflow-hidden`,children:[R,(0,y.jsxs)(d,{className:`flex min-h-0 flex-1 flex-col p-0`,children:[z,H]})]})}),e[28]=z,e[29]=H,e[30]=U):U=e[30],U}function w(e){let t=e.closest(`form`);return t?t.offsetParent!==null:e.offsetParent!==null}function T(e){let t=e instanceof Error?e.message:`Failed to link data source`;l.error(t)}var E=C;export{E as component};
@@ -1 +1 @@
1
- import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{a as r,o as i}from"./api-base-url-DIb6qukm.js";import{n as a,t as o}from"./createReactComponent-_L2mp4Ui.js";import{t as s}from"./IconArrowRight-DsOD7mDl.js";import{t as c}from"./auth-client-Dj6z7Pcl.js";import{f as l,u}from"./schemas-K0ZhTj23.js";import{O as d,z as f}from"./index-BZrWlEXZ.js";import{t as p}from"./input-DSkIbIFK.js";import{t as m}from"./label-CUY3W2yp.js";import{a as h,n as g,o as _,r as v,t as y}from"./card-CZCl7QNy.js";import{n as b,t as x}from"./zod-BgAmwIO1.js";var S=o(`outline`,`building`,`Building`,[[`path`,{d:`M3 21l18 0`,key:`svg-0`}],[`path`,{d:`M9 8l1 0`,key:`svg-1`}],[`path`,{d:`M9 12l1 0`,key:`svg-2`}],[`path`,{d:`M9 16l1 0`,key:`svg-3`}],[`path`,{d:`M14 8l1 0`,key:`svg-4`}],[`path`,{d:`M14 12l1 0`,key:`svg-5`}],[`path`,{d:`M14 16l1 0`,key:`svg-6`}],[`path`,{d:`M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16`,key:`svg-7`}]]),C=e(t(),1),w=n(),T=u({name:l().min(2,`Organization name must be at least 2 characters`),slug:l().min(2,`Slug must be at least 2 characters`).regex(/^[a-z0-9-]+$/,`Slug can only contain lowercase letters, numbers, and hyphens`)}),E=r(`/_authenticated/onboarding/create-org`);function D(e){return e.toLowerCase().replaceAll(/[^a-z0-9]+/g,`-`).replaceAll(/^-|-$/g,``)}function O(e){if(!(e instanceof Error))return`Failed to create organization`;let t=e.message.trim();return t.length>0?t:`Failed to create organization`}function k(){let e=i(),t=f(),{auth:n,refetchSession:r}=E.useRouteContext(),[o,l]=(0,C.useState)(!1),u=n.session?.user.id,k=typeof window>`u`?`your-host`:window.location.host,A=b({defaultValues:{name:``,slug:``},resolver:x(T)}),j=A.watch(`name`),M=A.watch(`slug`);async function N(n){l(!0);try{let i=await c.create({name:n.name,slug:n.slug});if(i.error){A.setError(`root`,{message:i.error.message??`Failed to create organization`}),l(!1);return}let a=i.data?.id;if(!a){A.setError(`root`,{message:`Failed to create organization`}),l(!1);return}await c.setActive({organizationId:a}),await r(),await t.invalidateQueries({queryKey:d(u).queryKey}),await e({search:{orgId:a},to:`/onboarding/connect-database`})}catch(e){A.setError(`root`,{message:O(e)}),l(!1)}}return(0,w.jsx)(`div`,{className:`flex min-h-screen flex-col items-center justify-center p-6`,children:(0,w.jsxs)(y,{className:`w-full max-w-md`,children:[(0,w.jsxs)(h,{className:`text-center`,children:[(0,w.jsx)(`div`,{className:`mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-muted`,children:(0,w.jsx)(S,{size:24,stroke:1.5})}),(0,w.jsx)(_,{className:`text-xl`,children:`Create your organization`}),(0,w.jsx)(v,{children:`Set up your workspace to get started with OneQuery`})]}),(0,w.jsx)(g,{children:(0,w.jsxs)(`form`,{onSubmit:e=>{A.handleSubmit(N)(e)},className:`space-y-4`,children:[(0,w.jsxs)(`div`,{className:`space-y-2`,children:[(0,w.jsx)(m,{htmlFor:`name`,children:`Organization name`}),(0,w.jsx)(p,{id:`name`,placeholder:`Acme Inc.`,...A.register(`name`,{onChange:e=>{let t=D(e.target.value);A.setValue(`slug`,t)}})}),A.formState.errors.name&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.name.message})]}),(0,w.jsxs)(`div`,{className:`space-y-2`,children:[(0,w.jsx)(m,{htmlFor:`slug`,children:`URL slug`}),(0,w.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,w.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[k,`/`]}),(0,w.jsx)(p,{id:`slug`,placeholder:`acme`,...A.register(`slug`),className:`flex-1`})]}),A.formState.errors.slug&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.slug.message})]}),A.formState.errors.root&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.root.message}),(0,w.jsxs)(a,{type:`submit`,className:`w-full`,disabled:o||!j||!M,children:[o?`Setting up...`:`Continue`,(0,w.jsx)(s,{size:16,stroke:2})]})]})})]})})}var A=k;export{A as component};
1
+ import{i as e,n as t,t as n}from"./jsx-runtime-DG_AJzB_.js";import{a as r,o as i}from"./api-base-url-DIb6qukm.js";import{n as a,t as o}from"./createReactComponent-_L2mp4Ui.js";import{t as s}from"./IconArrowRight-DsOD7mDl.js";import{t as c}from"./auth-client-CMZBteJH.js";import{f as l,u}from"./schemas-F85ZMR4X.js";import{O as d,z as f}from"./index-BlJdKLZ2.js";import{t as p}from"./input-1NcNY1Rk.js";import{t as m}from"./label-C_ikCvs8.js";import{a as h,n as g,o as _,r as v,t as y}from"./card-BWqhQk-T.js";import{n as b,t as x}from"./zod-CEwGZQUT.js";var S=o(`outline`,`building`,`Building`,[[`path`,{d:`M3 21l18 0`,key:`svg-0`}],[`path`,{d:`M9 8l1 0`,key:`svg-1`}],[`path`,{d:`M9 12l1 0`,key:`svg-2`}],[`path`,{d:`M9 16l1 0`,key:`svg-3`}],[`path`,{d:`M14 8l1 0`,key:`svg-4`}],[`path`,{d:`M14 12l1 0`,key:`svg-5`}],[`path`,{d:`M14 16l1 0`,key:`svg-6`}],[`path`,{d:`M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16`,key:`svg-7`}]]),C=e(t(),1),w=n(),T=u({name:l().min(2,`Organization name must be at least 2 characters`),slug:l().min(2,`Slug must be at least 2 characters`).regex(/^[a-z0-9-]+$/,`Slug can only contain lowercase letters, numbers, and hyphens`)}),E=r(`/_authenticated/onboarding/create-org`);function D(e){return e.toLowerCase().replaceAll(/[^a-z0-9]+/g,`-`).replaceAll(/^-|-$/g,``)}function O(e){if(!(e instanceof Error))return`Failed to create organization`;let t=e.message.trim();return t.length>0?t:`Failed to create organization`}function k(){let e=i(),t=f(),{auth:n,refetchSession:r}=E.useRouteContext(),[o,l]=(0,C.useState)(!1),u=n.session?.user.id,k=typeof window>`u`?`your-host`:window.location.host,A=b({defaultValues:{name:``,slug:``},resolver:x(T)}),j=A.watch(`name`),M=A.watch(`slug`);async function N(n){l(!0);try{let i=await c.create({name:n.name,slug:n.slug});if(i.error){A.setError(`root`,{message:i.error.message??`Failed to create organization`}),l(!1);return}let a=i.data?.id;if(!a){A.setError(`root`,{message:`Failed to create organization`}),l(!1);return}await c.setActive({organizationId:a}),await r(),await t.invalidateQueries({queryKey:d(u).queryKey}),await e({search:{orgId:a},to:`/onboarding/connect-database`})}catch(e){A.setError(`root`,{message:O(e)}),l(!1)}}return(0,w.jsx)(`div`,{className:`flex min-h-screen flex-col items-center justify-center p-6`,children:(0,w.jsxs)(y,{className:`w-full max-w-md`,children:[(0,w.jsxs)(h,{className:`text-center`,children:[(0,w.jsx)(`div`,{className:`mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-muted`,children:(0,w.jsx)(S,{size:24,stroke:1.5})}),(0,w.jsx)(_,{className:`text-xl`,children:`Create your organization`}),(0,w.jsx)(v,{children:`Set up your workspace to get started with OneQuery`})]}),(0,w.jsx)(g,{children:(0,w.jsxs)(`form`,{onSubmit:e=>{A.handleSubmit(N)(e)},className:`space-y-4`,children:[(0,w.jsxs)(`div`,{className:`space-y-2`,children:[(0,w.jsx)(m,{htmlFor:`name`,children:`Organization name`}),(0,w.jsx)(p,{id:`name`,placeholder:`Acme Inc.`,...A.register(`name`,{onChange:e=>{let t=D(e.target.value);A.setValue(`slug`,t)}})}),A.formState.errors.name&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.name.message})]}),(0,w.jsxs)(`div`,{className:`space-y-2`,children:[(0,w.jsx)(m,{htmlFor:`slug`,children:`URL slug`}),(0,w.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,w.jsxs)(`span`,{className:`text-sm text-muted-foreground`,children:[k,`/`]}),(0,w.jsx)(p,{id:`slug`,placeholder:`acme`,...A.register(`slug`),className:`flex-1`})]}),A.formState.errors.slug&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.slug.message})]}),A.formState.errors.root&&(0,w.jsx)(`p`,{className:`text-sm text-destructive`,children:A.formState.errors.root.message}),(0,w.jsxs)(a,{type:`submit`,className:`w-full`,disabled:o||!j||!M,children:[o?`Setting up...`:`Continue`,(0,w.jsx)(s,{size:16,stroke:2})]})]})})]})})}var A=k;export{A as component};
@@ -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-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:`{
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-5H3IfaXj.js";import{c as y,i as b,l as x,r as S,s as C,t as w}from"./use-optimistic-mutation-CBrmyJZM.js";import{M as T,ct as E,i as D,st as O}from"./getDisabledMountTransitionStyles-D7JdES34.js";import{i as k,t as A}from"./CompositeList-YgaWmh3B.js";import{d as j,n as M,t as N}from"./useBaseUiId-DFyoDJ0E.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-F85ZMR4X.js";import{t as ee}from"./src-BLN-I5in.js";import{E as te,_ as ne,g as re,q as ie}from"./index-BlJdKLZ2.js";import{t as U}from"./input-1NcNY1Rk.js";import{t as ae}from"./useControlled-DtSMvmU7.js";import"./separator-BA_IZNjv.js";import{t as oe}from"./useCompositeItem-CeS9xqAj.js";import{t as W}from"./label-C_ikCvs8.js";import{n as G,r as se,t as ce}from"./textarea-CrZYjVAa.js";import{t as le}from"./api-paths-CFdXXr7u.js";import{n as ue,t as de}from"./zod-CEwGZQUT.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",
@@ -1 +1 @@
1
- import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./link-Cgvqhh5w.js";import{t as n}from"./compiler-runtime-DCc3R3Xn.js";import{a as r,o as i}from"./api-base-url-DIb6qukm.js";import{n as a,r as o,t as s}from"./createReactComponent-_L2mp4Ui.js";import{t as c}from"./utils-C8DGLIgm.js";import{t as l}from"./IconCheck-Gc24xPT2.js";import{t as u}from"./theme-toggle-CdJo4s34.js";import{t as d}from"./IconX-Cg43mUxH.js";import{c as f,d as p,n as m,o as h,r as g}from"./app-routes-DM5pppqD.js";import{t as _}from"./api-client-F8Y7IuHn.js";import{t as v}from"./input-DSkIbIFK.js";import{t as y}from"./label-CUY3W2yp.js";import{a as b,n as x,o as S,r as C,t as w}from"./card-CZCl7QNy.js";import{a as T,i as E,n as D,r as O,t as ee}from"./xstate-react.esm--l_MSO73.js";import{n as k,t as A}from"./dist-Cg-lnuP8.js";var j=s(`outline`,`key`,`Key`,[[`path`,{d:`M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0`,key:`svg-0`}],[`path`,{d:`M15 9h.01`,key:`svg-1`}]]),M=s(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),te=s(`outline`,`shield-check`,`ShieldCheck`,[[`path`,{d:`M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06`,key:`svg-0`}],[`path`,{d:`M15 19l2 2l4 -4`,key:`svg-1`}]]),ne=s(`outline`,`sparkles`,`Sparkles`,[[`path`,{d:`M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6`,key:`svg-0`}]]),re=s(`outline`,`terminal-2`,`Terminal2`,[[`path`,{d:`M8 9l3 3l-3 3`,key:`svg-0`}],[`path`,{d:`M13 15l3 0`,key:`svg-1`}],[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12`,key:`svg-2`}]]),N=n();function P(){return{kind:`idle`}}function F(e){return{kind:`error`,message:e}}function I(){return{kind:`idle`}}function L(e){return{kind:`ready`,result:e}}function R(e){let t={activeUserCode:null,alert:P(),inputCode:``,navigation:null,nextAsyncRequestId:1,nextNavigationId:1,pendingDecision:null,pendingVerification:null,resultState:I(),session:e?.initialSession??{kind:`pending`}};return e?.initialUserCode?{...t,activeUserCode:e.initialUserCode,inputCode:e.initialUserCode,nextAsyncRequestId:2,pendingVerification:{requestId:1,userCode:e.initialUserCode}}:t}function ie(e){return{...R(),nextAsyncRequestId:e.nextAsyncRequestId,nextNavigationId:e.nextNavigationId,session:e.session}}function z(e,t,n){return{navigation:{id:e.nextNavigationId,replace:n,userCode:t},nextNavigationId:e.nextNavigationId+1}}function B(e){return p(e)??null}function ae(e){return e.value===`entry`?`entry`:e.value===`verifying`?`verifying`:e.value===`result`?`result`:e.value.pending===`sessionCheck`?`sessionCheck`:e.value.pending===`signInRequired`?`signInRequired`:`review`}function oe(e){return e.context.session.kind===`signedIn`?e.context.session.email:null}function se(e){return e.context.alert.kind===`error`?e.context.alert.message:null}function ce(e){return e.context.resultState.kind===`ready`?e.context.resultState.result:null}function le(e){return e.isSessionPending?{kind:`pending`}:e.email?{email:e.email,kind:`signedIn`}:{kind:`signedOut`}}function ue(e){return`Couldn't update the device URL. Try the same action again.`}function de(e){return{activeUserCode:e.userCode,alert:P(),inputCode:e.userCode,pendingDecision:null,pendingVerification:null,resultState:e.resultState,...V(e.context.activeUserCode,e.userCode)?z(e.context,e.userCode,!0):{}}}function fe(e){if(e.pendingVerification===null)throw Error(`Pending verification is required in verifying state`);return e.pendingVerification}function pe(e){if(e.pendingDecision===null)throw Error(`Pending decision is required in submitting state`);return e.pendingDecision}function V(e,t){return t!==e}var H=`The device code could not be verified. Try again.`,U=`The device request could not be completed. Try again.`,W=class extends k(`DeviceVerificationError`)(){},G=class extends k(`DeviceDecisionError`)(){},K=class extends Error{requestId;constructor(e){super(e.message),this.name=`DeviceActorRequestError`,this.requestId=e.requestId}};async function me(e,t={}){let n=_();if(!e)return A.err(new W({message:`Enter the code shown in your terminal to continue.`,reason:`missing_code`}));let r=await A.tryPromise({try:()=>n.api.device.verify.$get({query:{user_code:e}},{init:{signal:t.signal}}),catch:e=>new W({cause:e,message:H,reason:`request_failed`})});if(r.isErr())return console.error(`[device-auth] failed to verify device code`,{errorName:Y(r.error.cause)}),A.err(r.error);let i=r.value;if(!i.ok){let e=await q(i);return A.err(new W({message:J(e,H),reason:`response_failed`}))}let a=await q(i);return a===null?(console.error(`[device-auth] failed to parse verify device response`),A.err(new W({message:H,reason:`response_failed`}))):A.ok({status:a.status,userCode:a.userCode})}async function he(e){let t=_();if(!e.userCode)return A.err(new G({action:e.action,message:U,reason:`missing_code`}));let n=e.userCode,r=e.action===`approve`?t.api.device.approve.$post:t.api.device.deny.$post,i=await A.tryPromise({try:()=>r({form:{user_code:n}},{init:{signal:e.signal}}),catch:t=>new G({action:e.action,cause:t,message:U,reason:`request_failed`})});if(i.isErr())return console.error(`[device-auth] failed to submit device decision`,{action:e.action,errorName:Y(i.error.cause)}),A.err(i.error);let a=i.value;if(!a.ok){let t=await q(a);return A.err(new G({action:e.action,message:J(t,U),reason:`response_failed`}))}let o=await q(a);return o===null?(console.error(`[device-auth] failed to parse device decision response`,{action:e.action}),A.err(new G({action:e.action,message:U,reason:`response_failed`}))):A.ok({message:o.message,title:o.title,tone:e.action===`approve`?`success`:`error`})}async function ge(e,t={}){let n=await me(e.userCode,t);if(n.isErr())throw new K({message:n.error.message,requestId:e.requestId});return{requestId:e.requestId,status:n.value.status,userCode:n.value.userCode}}async function _e(e,t={}){let n=await he({action:e.action,signal:t.signal,userCode:e.userCode});if(n.isErr())throw new K({message:n.error.message,requestId:e.requestId});return{message:n.value.message,requestId:e.requestId,title:n.value.title,tone:n.value.tone}}async function q(e){let t=await A.tryPromise(()=>e.json());return t.isErr()?null:t.value}function J(e,t){return e&&`error`in e,t}function Y(e){return e instanceof Error?e.name:`unknown`}var ve=O({actions:{navigateToDeviceRoute:(e,t)=>void 0,setInputCode:E(({event:e})=>(D(e,`deviceAuth/inputChanged`),{inputCode:e.value,alert:P()})),stageVerificationFromInput:E(({context:e})=>{let t=B(e.inputCode);return t===null?{}:{inputCode:t,activeUserCode:t,alert:P(),nextAsyncRequestId:e.nextAsyncRequestId+1,pendingDecision:null,pendingVerification:{requestId:e.nextAsyncRequestId,userCode:t},resultState:I(),...z(e,t,!1)}}),setMissingCodeError:E({alert:()=>F(`Enter the code shown in your terminal to continue.`)}),queueClearCodeNavigation:E(({context:e})=>{let t=ie(e);return{...t,...z(t,null,!1)}}),stageDecision:E(({context:e},t)=>({alert:P(),nextAsyncRequestId:e.nextAsyncRequestId+1,pendingDecision:{action:t.action,requestId:e.nextAsyncRequestId,userCode:e.activeUserCode}})),storeVerified:E(({context:e},t)=>e.pendingVerification?.requestId===t.output.requestId?de({context:e,resultState:t.resultState,userCode:t.output.userCode}):{}),completeNavigation:E(({context:e,event:t})=>(D(t,`deviceAuth/navigationCompleted`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null})),failNavigation:E(({context:e,event:t})=>(D(t,`deviceAuth/navigationFailed`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null,alert:F(t.message)})),storeVerificationFailure:E(({context:e},t)=>e.pendingVerification?.requestId===t.requestId?{alert:F(t.message),inputCode:e.activeUserCode??e.inputCode,pendingDecision:null,pendingVerification:null,resultState:I()}:{}),storeDecisionFailure:E(({context:e},t)=>e.pendingDecision?.requestId===t.requestId?{alert:F(t.message),inputCode:e.activeUserCode??``,pendingDecision:null,resultState:I()}:{}),storeDecisionSuccess:E(({context:e},t)=>e.pendingDecision?.requestId===t.requestId?{alert:P(),pendingDecision:null,resultState:L({message:t.message,title:t.title,tone:t.tone})}:{})},actors:{submitDeviceDecision:T(()=>new Promise(()=>{})),verifyDevice:T(()=>new Promise(()=>{}))},guards:{hasPendingVerification:({context:e})=>e.pendingVerification!==null,hasNormalizedInputCode:({context:e})=>B(e.inputCode)!==null,storedSessionSignedIn:({context:e})=>e.session.kind===`signedIn`,storedSessionSignedOut:({context:e})=>e.session.kind===`signedOut`,verifiedPendingDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`pending`,verifiedApprovedDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`approved`,verifiedDeniedDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`denied`,matchesPendingDecision:({context:e},t)=>e.pendingDecision?.requestId===t.requestId},types:{}}).createMachine({context:({input:e})=>R(e),id:`deviceAuth`,initial:`entry`,on:{"deviceAuth/navigationCompleted":{actions:`completeNavigation`},"deviceAuth/navigationFailed":{actions:`failNavigation`}},states:{entry:{always:{guard:`hasPendingVerification`,target:`verifying`},on:{"deviceAuth/inputChanged":{actions:`setInputCode`},"deviceAuth/submit":[{guard:`hasNormalizedInputCode`,target:`verifying`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>{let t=B(e.inputCode);return t===null?null:{id:e.nextNavigationId,replace:!1,userCode:t}}},`stageVerificationFromInput`]},{actions:`setMissingCodeError`}]}},verifying:{invoke:{src:`verifyDevice`,input:({context:e})=>fe(e),onDone:[{guard:{type:`verifiedPendingDevice`,params:({event:e})=>e.output},target:`pending`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:I()})}]},{guard:{type:`verifiedApprovedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`Return to your terminal to continue. You can close this tab.`,title:`Device Approved`,tone:`success`})})}]},{guard:{type:`verifiedDeniedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`This device code has already been denied. Start onequery auth login again if you need a new code.`,title:`Device Denied`,tone:`error`})})}]}],onError:{actions:{type:`storeVerificationFailure`,params:({context:e,event:t})=>Z(t.error,e.pendingVerification?.requestId??0,H)},target:`entry`}}},pending:{initial:`sessionCheck`,on:{"deviceAuth/useDifferentCode":{target:`#deviceAuth.entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}},states:{sessionCheck:{always:[{guard:`storedSessionSignedIn`,target:`review`},{guard:`storedSessionSignedOut`,target:`signInRequired`}]},signInRequired:{},review:{on:{"deviceAuth/approve":{target:`submittingDecision`,actions:{type:`stageDecision`,params:{action:`approve`}}},"deviceAuth/deny":{target:`submittingDecision`,actions:{type:`stageDecision`,params:{action:`deny`}}}}},submittingDecision:{invoke:{src:`submitDeviceDecision`,input:({context:e})=>pe(e),onDone:{actions:{type:`storeDecisionSuccess`,params:({event:e})=>e.output},guard:{type:`matchesPendingDecision`,params:({event:e})=>e.output},target:`#deviceAuth.result`},onError:{actions:{type:`storeDecisionFailure`,params:({context:e,event:t})=>Z(t.error,e.pendingDecision?.requestId??0,U)},target:`#deviceAuth.entry`}}}}},result:{on:{"deviceAuth/useDifferentCode":{target:`entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}}}}});function X(e){let{context:t,output:n}=e;return V(t.activeUserCode,n.userCode)?{id:t.nextNavigationId,replace:!0,userCode:n.userCode}:null}function Z(e,t,n){return e instanceof K?{message:e.message,requestId:e.requestId}:{message:n,requestId:t}}var Q=e();function ye(e){return e.panelView===`entry`?{badge:`Enter code`,description:`Paste the code from your terminal to verify the device login request before approving access.`,icon:re,title:`Authorize OneQuery CLI`,tone:`primary`}:e.panelView===`verifying`?{badge:`Checking request`,description:`We’re validating the code from your terminal and loading the next step in the authorization flow.`,icon:j,title:`Checking device code`,tone:`neutral`}:e.panelView===`sessionCheck`?{badge:`Checking session`,description:`We’re checking whether you already have an active OneQuery session for this device request.`,icon:M,title:`Confirming your browser session`,tone:`neutral`}:e.panelView===`signInRequired`?{badge:`Sign in required`,description:`Sign in with the account that should own this CLI session.`,icon:M,title:`Sign in to approve this device`,tone:`primary`}:e.panelView===`review`?{badge:`Review request`,description:`Review the request and decide whether to authorize this CLI sign-in.`,icon:te,title:`Approve device login`,tone:`primary`}:e.result?.tone===`success`?{badge:`Approved`,description:e.result.message,icon:l,title:e.result.title,tone:`success`}:{badge:`Denied`,description:e.result?.message??`This device request has been denied or could not be completed.`,icon:d,title:e.result?.title??`Device Denied`,tone:`error`}}function be(e){switch(e){case`primary`:return`border-primary/15 bg-primary/5 text-primary`;case`success`:return`border-primary/15 bg-primary/5 text-primary`;case`error`:return`border-destructive/15 bg-destructive/5 text-destructive`;case`neutral`:return`border-border bg-muted/40 text-foreground`}}function xe(e){switch(e){case`primary`:return`bg-primary/10 text-primary`;case`success`:return`bg-primary/10 text-primary`;case`error`:return`bg-destructive/10 text-destructive`;case`neutral`:return`bg-background text-foreground`}}function $(e){let t=(0,N.c)(10),{label:n,value:r,emphasis:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-primary/15 bg-primary/5`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-mono text-xl font-semibold tracking-[0.32em] text-foreground sm:text-2xl`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function Se(e){let t=(0,N.c)(10),{label:n,value:r,tone:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-border bg-muted/30`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-medium text-foreground`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function Ce(e){let t=(0,N.c)(51),{initialSession:n,onboardingOrganizationId:r,requestedUserCode:a}=e,o=i(),s;t[0]!==o||t[1]!==r?(s=ve.provide({actions:{navigateToDeviceRoute:(e,t)=>{let{self:n}=e;t!==null&&o({replace:t.replace,search:t.userCode===null?{}:{user_code:t.userCode,...r?{orgId:r}:{}},to:g}).then(()=>{n.send({id:t.id,type:`deviceAuth/navigationCompleted`})}).catch(e=>{console.error(`[device-auth] failed to sync device route`,{errorName:Ee(e),navigationId:t.id,replace:t.replace}),n.send({id:t.id,message:ue(e),type:`deviceAuth/navigationFailed`})})}},actors:{submitDeviceDecision:T(Te),verifyDevice:T(we)}}),t[0]=o,t[1]=r,t[2]=s):s=t[2];let c;t[3]!==n||t[4]!==a?(c={input:{initialSession:n,initialUserCode:a}},t[3]=n,t[4]=a,t[5]=c):c=t[5];let[l,u]=ee(s,c),d,p,m,h,_,v,y,b,x,S;if(t[6]!==r||t[7]!==a||t[8]!==l){_=ae(l),m=l.context.inputCode,d=l.context.activeUserCode;let e;t[19]===l?e=t[20]:(e=se(l),t[19]=l,t[20]=e),p=e,y=ce(l);let n;t[21]===l?n=t[22]:(n=oe(l),t[21]=l,t[22]=n),x=n,v=l.context.pendingDecision;let i;t[23]===l?i=t[24]:(i=l.matches({pending:`submittingDecision`}),t[23]=l,t[24]=i),h=i;let o=d??a,s;t[25]!==o||t[26]!==r?(s=f(o,r),t[25]=o,t[26]=r,t[27]=s):s=t[27],b=s,S=ye({panelView:_,result:y}),t[6]=r,t[7]=a,t[8]=l,t[9]=d,t[10]=p,t[11]=m,t[12]=h,t[13]=_,t[14]=v,t[15]=y,t[16]=b,t[17]=x,t[18]=S}else d=t[9],p=t[10],m=t[11],h=t[12],_=t[13],v=t[14],y=t[15],b=t[16],x=t[17],S=t[18];let C=S,w=h&&v?.action===`approve`,E=h&&v?.action===`deny`,D,O,k,A,j;t[28]===u?(D=t[29],O=t[30],k=t[31],A=t[32],j=t[33]):(O=()=>{u({type:`deviceAuth/approve`})},k=()=>{u({type:`deviceAuth/deny`})},A=e=>{u({type:`deviceAuth/inputChanged`,value:e.toUpperCase()})},j=()=>{u({type:`deviceAuth/submit`})},D=()=>{u({type:`deviceAuth/useDifferentCode`})},t[28]=u,t[29]=D,t[30]=O,t[31]=k,t[32]=A,t[33]=j);let M;return t[34]!==d||t[35]!==p||t[36]!==m||t[37]!==r||t[38]!==C||t[39]!==_||t[40]!==y||t[41]!==b||t[42]!==x||t[43]!==D||t[44]!==w||t[45]!==E||t[46]!==O||t[47]!==k||t[48]!==A||t[49]!==j?(M={activeUserCode:d,errorMessage:p,inputCode:m,isSubmittingApprove:w,isSubmittingDeny:E,onboardingOrganizationId:r,onApprove:O,onDeny:k,onInputChange:A,onSubmit:j,onUseDifferentCode:D,panelMeta:C,panelView:_,result:y,resumePath:b,sessionEmail:x},t[34]=d,t[35]=p,t[36]=m,t[37]=r,t[38]=C,t[39]=_,t[40]=y,t[41]=b,t[42]=x,t[43]=D,t[44]=w,t[45]=E,t[46]=O,t[47]=k,t[48]=A,t[49]=j,t[50]=M):M=t[50],M}async function we(e){let{input:t,signal:n}=e;return ge(t,{signal:n})}async function Te(e){let{input:t,signal:n}=e;return _e(t,{signal:n})}function Ee(e){return e instanceof Error?e.name:`unknown`}function De(e){let n=(0,N.c)(33),{controller:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsxs)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-0`,children:[(0,Q.jsx)(`div`,{className:`absolute left-[-7rem] top-[-8rem] h-64 w-64 rounded-full bg-primary/10 blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute right-[-8rem] top-20 h-80 w-80 rounded-full bg-muted blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(to_right,rgba(127,127,127,0.06)_1px,transparent_1px),linear-gradient(to_bottom,rgba(127,127,127,0.06)_1px,transparent_1px)] bg-[size:4.5rem_4.5rem] [mask-image:linear-gradient(to_bottom,white,rgba(255,255,255,0.3))]`})]}),n[0]=i):i=n[0];let a;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(`header`,{className:`relative z-10 border-b border-border/60 bg-background/80 backdrop-blur`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex h-16 w-full max-w-6xl items-center justify-between px-6`,children:[(0,Q.jsxs)(t,{to:`/`,className:`flex items-center gap-3`,children:[(0,Q.jsx)(`img`,{src:`/onequery.svg`,alt:`OneQuery`,className:`h-9 w-9 rounded-lg`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-semibold text-lg leading-none`,children:`OneQuery`}),(0,Q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Device authorization`})]})]}),(0,Q.jsx)(u,{})]})}),n[1]=a):a=n[1];let o;n[2]===r.panelMeta.tone?o=n[3]:(o=c(`inline-flex items-center gap-2 rounded-full border px-3 py-1 text-xs font-medium uppercase tracking-[0.18em]`,be(r.panelMeta.tone)),n[2]=r.panelMeta.tone,n[3]=o);let s;n[4]===r.panelMeta.tone?s=n[5]:(s=c(`flex h-6 w-6 items-center justify-center rounded-full`,xe(r.panelMeta.tone)),n[4]=r.panelMeta.tone,n[5]=s);let l;n[6]===r.panelMeta.icon?l=n[7]:(l=(0,Q.jsx)(r.panelMeta.icon,{size:14,stroke:1.9}),n[6]=r.panelMeta.icon,n[7]=l);let d;n[8]!==s||n[9]!==l?(d=(0,Q.jsx)(`div`,{className:s,children:l}),n[8]=s,n[9]=l,n[10]=d):d=n[10];let f;n[11]!==r.panelMeta.badge||n[12]!==o||n[13]!==d?(f=(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:(0,Q.jsxs)(`div`,{className:o,children:[d,r.panelMeta.badge]})}),n[11]=r.panelMeta.badge,n[12]=o,n[13]=d,n[14]=f):f=n[14];let p;n[15]===r.panelMeta.title?p=n[16]:(p=(0,Q.jsx)(S,{className:`mt-4 text-2xl`,children:r.panelMeta.title}),n[15]=r.panelMeta.title,n[16]=p);let m;n[17]===r.panelMeta.description?m=n[18]:(m=(0,Q.jsx)(C,{className:`max-w-2xl text-base leading-7`,children:r.panelMeta.description}),n[17]=r.panelMeta.description,n[18]=m);let h;n[19]!==f||n[20]!==p||n[21]!==m?(h=(0,Q.jsxs)(b,{className:`border-b border-border/60 pb-5`,children:[f,p,m]}),n[19]=f,n[20]=p,n[21]=m,n[22]=h):h=n[22];let g;n[23]===r.errorMessage?g=n[24]:(g=r.errorMessage?(0,Q.jsx)(`div`,{className:`rounded-xl border border-destructive/20 bg-destructive/5 px-3 py-2 text-sm text-destructive`,children:r.errorMessage}):null,n[23]=r.errorMessage,n[24]=g);let _;n[25]===r?_=n[26]:(_=Oe(r),n[25]=r,n[26]=_);let v;n[27]!==g||n[28]!==_?(v=(0,Q.jsxs)(x,{className:`space-y-5 pt-6`,children:[g,_]}),n[27]=g,n[28]=_,n[29]=v):v=n[29];let y;return n[30]!==h||n[31]!==v?(y=(0,Q.jsxs)(`div`,{className:`relative min-h-screen overflow-hidden bg-background`,children:[i,a,(0,Q.jsx)(`main`,{className:`relative z-10 flex flex-1 items-center justify-center px-6 py-10 lg:min-h-[calc(100vh-4rem)] lg:py-14`,children:(0,Q.jsx)(`section`,{className:`w-full max-w-3xl`,children:(0,Q.jsx)(`div`,{className:`rounded-[2rem] border border-border/70 bg-background/75 p-2 shadow-2xl shadow-foreground/5 backdrop-blur`,children:(0,Q.jsxs)(w,{className:`w-full border-0 bg-card/95 shadow-none ring-0`,children:[h,v]})})})})]}),n[30]=h,n[31]=v,n[32]=y):y=n[32],y}function Oe(e){switch(e.panelView){case`entry`:return(0,Q.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),e.onSubmit()},className:`space-y-5`,children:[(0,Q.jsxs)(`div`,{className:`space-y-2`,children:[(0,Q.jsx)(y,{htmlFor:`user-code`,children:`Device code`}),(0,Q.jsx)(v,{id:`user-code`,value:e.inputCode,onChange:t=>e.onInputChange(t.target.value),placeholder:`ABCD1234`,autoCapitalize:`characters`,autoComplete:`one-time-code`,required:!0,className:`h-11 font-mono text-base tracking-[0.25em] uppercase`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Enter the 8-character code shown in your terminal.`})]}),(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(a,{type:`submit`,className:`h-11 w-full`,children:`Continue`}),(0,Q.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:`You’ll review the request before any access is granted.`})]})]});case`verifying`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Verifying code`,value:e.activeUserCode??e.inputCode,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-primary/10 text-primary`,children:(0,Q.jsx)(ne,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking request details`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`We’re validating that this device code is still active and can be approved.`})]})]})})]});case`sessionCheck`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Ready to approve`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-muted`,children:(0,Q.jsx)(M,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking your browser session`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Once we know who you are, you’ll be able to approve or deny this request.`})]})]})})]});case`signInRequired`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(t,{to:h,search:{redirect:e.resumePath},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Sign in`}),(0,Q.jsx)(a,{type:`button`,variant:`ghost`,size:`sm`,className:`mx-auto flex h-9 px-3 text-muted-foreground`,onClick:e.onUseDifferentCode,children:`Use a different code`})]});case`review`:return e.sessionEmail?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(Se,{label:`Signed in as`,value:e.sessionEmail,tone:`neutral`}),(0,Q.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,Q.jsx)(a,{type:`button`,variant:`outline`,size:`lg`,className:`h-11 flex-1`,onClick:e.onDeny,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingDeny?`Denying...`:`Deny`}),(0,Q.jsx)(a,{type:`button`,size:`lg`,className:`h-11 flex-1`,onClick:e.onApprove,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingApprove?`Approving...`:`Approve`})]})]}):null;case`result`:return e.result?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:e.result.tone===`success`?`Approved code`:`Resolved code`,value:e.activeUserCode??``,emphasis:e.result.tone}),e.result.tone===`success`&&e.onboardingOrganizationId?(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Your CLI session is ready. Connect a data source now, or come back later from the dashboard.`}),(0,Q.jsx)(t,{to:m,search:{orgId:e.onboardingOrganizationId},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Continue setup`})]}):null]}):null}}var ke=r(g);function Ae(){let e=(0,N.c)(10),{orgId:t,user_code:n}=ke.useSearch(),{auth:r}=ke.useRouteContext(),i=t??null,a,o,s;e[0]!==r.session?.user.email||e[1]!==n?(o=p(n??null)??null,a=le({email:r.session?.user.email??null,isSessionPending:!1}),s=Me({requestedUserCode:o,session:a}),e[0]=r.session?.user.email,e[1]=n,e[2]=a,e[3]=o,e[4]=s):(a=e[2],o=e[3],s=e[4]);let c=s,l;return e[5]!==c||e[6]!==a||e[7]!==i||e[8]!==o?(l=(0,Q.jsx)(je,{initialSession:a,onboardingOrganizationId:i,requestedUserCode:o},c),e[5]=c,e[6]=a,e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function je(e){let t=(0,N.c)(2),n=Ce(e),r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(De,{controller:n}),t[0]=n,t[1]=r),r}function Me(e){return e.session.kind===`signedIn`?`${e.requestedUserCode??``}:signedIn:${e.session.email}`:`${e.requestedUserCode??``}:${e.session.kind}`}function Ne(){let e=(0,N.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(Ae,{}),e[0]=t):t=e[0],t}var Pe=Ne;export{Pe as component};
1
+ import{t as e}from"./jsx-runtime-DG_AJzB_.js";import{t}from"./link-Cgvqhh5w.js";import{t as n}from"./compiler-runtime-DCc3R3Xn.js";import{a as r,o as i}from"./api-base-url-DIb6qukm.js";import{n as a,r as o,t as s}from"./createReactComponent-_L2mp4Ui.js";import{t as c}from"./utils-C8DGLIgm.js";import{t as l}from"./IconCheck-Gc24xPT2.js";import{t as u}from"./theme-toggle-uajvlezR.js";import{t as d}from"./IconX-lzvnmVyG.js";import{c as f,d as p,n as m,o as h,r as g}from"./app-routes-DZ9Y_rfa.js";import{t as _}from"./api-client-DPCavVwb.js";import{t as v}from"./input-1NcNY1Rk.js";import{t as y}from"./label-C_ikCvs8.js";import{a as b,n as x,o as S,r as C,t as w}from"./card-BWqhQk-T.js";import{a as T,i as E,n as D,r as O,t as ee}from"./xstate-react.esm-CSzd0UA8.js";import{n as k,t as A}from"./dist-ppXnK3vn.js";var j=s(`outline`,`key`,`Key`,[[`path`,{d:`M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0`,key:`svg-0`}],[`path`,{d:`M15 9h.01`,key:`svg-1`}]]),M=s(`outline`,`login-2`,`Login2`,[[`path`,{d:`M9 8v-2a2 2 0 0 1 2 -2h7a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-2`,key:`svg-0`}],[`path`,{d:`M3 12h13l-3 -3`,key:`svg-1`}],[`path`,{d:`M13 15l3 -3`,key:`svg-2`}]]),te=s(`outline`,`shield-check`,`ShieldCheck`,[[`path`,{d:`M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06`,key:`svg-0`}],[`path`,{d:`M15 19l2 2l4 -4`,key:`svg-1`}]]),ne=s(`outline`,`sparkles`,`Sparkles`,[[`path`,{d:`M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6`,key:`svg-0`}]]),re=s(`outline`,`terminal-2`,`Terminal2`,[[`path`,{d:`M8 9l3 3l-3 3`,key:`svg-0`}],[`path`,{d:`M13 15l3 0`,key:`svg-1`}],[`path`,{d:`M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12`,key:`svg-2`}]]),N=n();function P(){return{kind:`idle`}}function F(e){return{kind:`error`,message:e}}function I(){return{kind:`idle`}}function L(e){return{kind:`ready`,result:e}}function R(e){let t={activeUserCode:null,alert:P(),inputCode:``,navigation:null,nextAsyncRequestId:1,nextNavigationId:1,pendingDecision:null,pendingVerification:null,resultState:I(),session:e?.initialSession??{kind:`pending`}};return e?.initialUserCode?{...t,activeUserCode:e.initialUserCode,inputCode:e.initialUserCode,nextAsyncRequestId:2,pendingVerification:{requestId:1,userCode:e.initialUserCode}}:t}function ie(e){return{...R(),nextAsyncRequestId:e.nextAsyncRequestId,nextNavigationId:e.nextNavigationId,session:e.session}}function z(e,t,n){return{navigation:{id:e.nextNavigationId,replace:n,userCode:t},nextNavigationId:e.nextNavigationId+1}}function B(e){return p(e)??null}function ae(e){return e.value===`entry`?`entry`:e.value===`verifying`?`verifying`:e.value===`result`?`result`:e.value.pending===`sessionCheck`?`sessionCheck`:e.value.pending===`signInRequired`?`signInRequired`:`review`}function oe(e){return e.context.session.kind===`signedIn`?e.context.session.email:null}function se(e){return e.context.alert.kind===`error`?e.context.alert.message:null}function ce(e){return e.context.resultState.kind===`ready`?e.context.resultState.result:null}function le(e){return e.isSessionPending?{kind:`pending`}:e.email?{email:e.email,kind:`signedIn`}:{kind:`signedOut`}}function ue(e){return`Couldn't update the device URL. Try the same action again.`}function de(e){return{activeUserCode:e.userCode,alert:P(),inputCode:e.userCode,pendingDecision:null,pendingVerification:null,resultState:e.resultState,...V(e.context.activeUserCode,e.userCode)?z(e.context,e.userCode,!0):{}}}function fe(e){if(e.pendingVerification===null)throw Error(`Pending verification is required in verifying state`);return e.pendingVerification}function pe(e){if(e.pendingDecision===null)throw Error(`Pending decision is required in submitting state`);return e.pendingDecision}function V(e,t){return t!==e}var H=`The device code could not be verified. Try again.`,U=`The device request could not be completed. Try again.`,W=class extends k(`DeviceVerificationError`)(){},G=class extends k(`DeviceDecisionError`)(){},K=class extends Error{requestId;constructor(e){super(e.message),this.name=`DeviceActorRequestError`,this.requestId=e.requestId}};async function me(e,t={}){let n=_();if(!e)return A.err(new W({message:`Enter the code shown in your terminal to continue.`,reason:`missing_code`}));let r=await A.tryPromise({try:()=>n.api.device.verify.$get({query:{user_code:e}},{init:{signal:t.signal}}),catch:e=>new W({cause:e,message:H,reason:`request_failed`})});if(r.isErr())return console.error(`[device-auth] failed to verify device code`,{errorName:Y(r.error.cause)}),A.err(r.error);let i=r.value;if(!i.ok){let e=await q(i);return A.err(new W({message:J(e,H),reason:`response_failed`}))}let a=await q(i);return a===null?(console.error(`[device-auth] failed to parse verify device response`),A.err(new W({message:H,reason:`response_failed`}))):A.ok({status:a.status,userCode:a.userCode})}async function he(e){let t=_();if(!e.userCode)return A.err(new G({action:e.action,message:U,reason:`missing_code`}));let n=e.userCode,r=e.action===`approve`?t.api.device.approve.$post:t.api.device.deny.$post,i=await A.tryPromise({try:()=>r({form:{user_code:n}},{init:{signal:e.signal}}),catch:t=>new G({action:e.action,cause:t,message:U,reason:`request_failed`})});if(i.isErr())return console.error(`[device-auth] failed to submit device decision`,{action:e.action,errorName:Y(i.error.cause)}),A.err(i.error);let a=i.value;if(!a.ok){let t=await q(a);return A.err(new G({action:e.action,message:J(t,U),reason:`response_failed`}))}let o=await q(a);return o===null?(console.error(`[device-auth] failed to parse device decision response`,{action:e.action}),A.err(new G({action:e.action,message:U,reason:`response_failed`}))):A.ok({message:o.message,title:o.title,tone:e.action===`approve`?`success`:`error`})}async function ge(e,t={}){let n=await me(e.userCode,t);if(n.isErr())throw new K({message:n.error.message,requestId:e.requestId});return{requestId:e.requestId,status:n.value.status,userCode:n.value.userCode}}async function _e(e,t={}){let n=await he({action:e.action,signal:t.signal,userCode:e.userCode});if(n.isErr())throw new K({message:n.error.message,requestId:e.requestId});return{message:n.value.message,requestId:e.requestId,title:n.value.title,tone:n.value.tone}}async function q(e){let t=await A.tryPromise(()=>e.json());return t.isErr()?null:t.value}function J(e,t){return e&&`error`in e,t}function Y(e){return e instanceof Error?e.name:`unknown`}var ve=O({actions:{navigateToDeviceRoute:(e,t)=>void 0,setInputCode:E(({event:e})=>(D(e,`deviceAuth/inputChanged`),{inputCode:e.value,alert:P()})),stageVerificationFromInput:E(({context:e})=>{let t=B(e.inputCode);return t===null?{}:{inputCode:t,activeUserCode:t,alert:P(),nextAsyncRequestId:e.nextAsyncRequestId+1,pendingDecision:null,pendingVerification:{requestId:e.nextAsyncRequestId,userCode:t},resultState:I(),...z(e,t,!1)}}),setMissingCodeError:E({alert:()=>F(`Enter the code shown in your terminal to continue.`)}),queueClearCodeNavigation:E(({context:e})=>{let t=ie(e);return{...t,...z(t,null,!1)}}),stageDecision:E(({context:e},t)=>({alert:P(),nextAsyncRequestId:e.nextAsyncRequestId+1,pendingDecision:{action:t.action,requestId:e.nextAsyncRequestId,userCode:e.activeUserCode}})),storeVerified:E(({context:e},t)=>e.pendingVerification?.requestId===t.output.requestId?de({context:e,resultState:t.resultState,userCode:t.output.userCode}):{}),completeNavigation:E(({context:e,event:t})=>(D(t,`deviceAuth/navigationCompleted`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null})),failNavigation:E(({context:e,event:t})=>(D(t,`deviceAuth/navigationFailed`),e.navigation===null||e.navigation.id!==t.id?{}:{navigation:null,alert:F(t.message)})),storeVerificationFailure:E(({context:e},t)=>e.pendingVerification?.requestId===t.requestId?{alert:F(t.message),inputCode:e.activeUserCode??e.inputCode,pendingDecision:null,pendingVerification:null,resultState:I()}:{}),storeDecisionFailure:E(({context:e},t)=>e.pendingDecision?.requestId===t.requestId?{alert:F(t.message),inputCode:e.activeUserCode??``,pendingDecision:null,resultState:I()}:{}),storeDecisionSuccess:E(({context:e},t)=>e.pendingDecision?.requestId===t.requestId?{alert:P(),pendingDecision:null,resultState:L({message:t.message,title:t.title,tone:t.tone})}:{})},actors:{submitDeviceDecision:T(()=>new Promise(()=>{})),verifyDevice:T(()=>new Promise(()=>{}))},guards:{hasPendingVerification:({context:e})=>e.pendingVerification!==null,hasNormalizedInputCode:({context:e})=>B(e.inputCode)!==null,storedSessionSignedIn:({context:e})=>e.session.kind===`signedIn`,storedSessionSignedOut:({context:e})=>e.session.kind===`signedOut`,verifiedPendingDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`pending`,verifiedApprovedDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`approved`,verifiedDeniedDevice:({context:e},t)=>e.pendingVerification?.requestId===t.requestId&&t.status===`denied`,matchesPendingDecision:({context:e},t)=>e.pendingDecision?.requestId===t.requestId},types:{}}).createMachine({context:({input:e})=>R(e),id:`deviceAuth`,initial:`entry`,on:{"deviceAuth/navigationCompleted":{actions:`completeNavigation`},"deviceAuth/navigationFailed":{actions:`failNavigation`}},states:{entry:{always:{guard:`hasPendingVerification`,target:`verifying`},on:{"deviceAuth/inputChanged":{actions:`setInputCode`},"deviceAuth/submit":[{guard:`hasNormalizedInputCode`,target:`verifying`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>{let t=B(e.inputCode);return t===null?null:{id:e.nextNavigationId,replace:!1,userCode:t}}},`stageVerificationFromInput`]},{actions:`setMissingCodeError`}]}},verifying:{invoke:{src:`verifyDevice`,input:({context:e})=>fe(e),onDone:[{guard:{type:`verifiedPendingDevice`,params:({event:e})=>e.output},target:`pending`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:I()})}]},{guard:{type:`verifiedApprovedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`Return to your terminal to continue. You can close this tab.`,title:`Device Approved`,tone:`success`})})}]},{guard:{type:`verifiedDeniedDevice`,params:({event:e})=>e.output},target:`result`,actions:[{type:`navigateToDeviceRoute`,params:({context:e,event:t})=>X({context:e,output:t.output})},{type:`storeVerified`,params:({event:e})=>({output:e.output,resultState:L({message:`This device code has already been denied. Start onequery auth login again if you need a new code.`,title:`Device Denied`,tone:`error`})})}]}],onError:{actions:{type:`storeVerificationFailure`,params:({context:e,event:t})=>Z(t.error,e.pendingVerification?.requestId??0,H)},target:`entry`}}},pending:{initial:`sessionCheck`,on:{"deviceAuth/useDifferentCode":{target:`#deviceAuth.entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}},states:{sessionCheck:{always:[{guard:`storedSessionSignedIn`,target:`review`},{guard:`storedSessionSignedOut`,target:`signInRequired`}]},signInRequired:{},review:{on:{"deviceAuth/approve":{target:`submittingDecision`,actions:{type:`stageDecision`,params:{action:`approve`}}},"deviceAuth/deny":{target:`submittingDecision`,actions:{type:`stageDecision`,params:{action:`deny`}}}}},submittingDecision:{invoke:{src:`submitDeviceDecision`,input:({context:e})=>pe(e),onDone:{actions:{type:`storeDecisionSuccess`,params:({event:e})=>e.output},guard:{type:`matchesPendingDecision`,params:({event:e})=>e.output},target:`#deviceAuth.result`},onError:{actions:{type:`storeDecisionFailure`,params:({context:e,event:t})=>Z(t.error,e.pendingDecision?.requestId??0,U)},target:`#deviceAuth.entry`}}}}},result:{on:{"deviceAuth/useDifferentCode":{target:`entry`,actions:[{type:`navigateToDeviceRoute`,params:({context:e})=>({id:e.nextNavigationId,replace:!1,userCode:null})},`queueClearCodeNavigation`]}}}}});function X(e){let{context:t,output:n}=e;return V(t.activeUserCode,n.userCode)?{id:t.nextNavigationId,replace:!0,userCode:n.userCode}:null}function Z(e,t,n){return e instanceof K?{message:e.message,requestId:e.requestId}:{message:n,requestId:t}}var Q=e();function ye(e){return e.panelView===`entry`?{badge:`Enter code`,description:`Paste the code from your terminal to verify the device login request before approving access.`,icon:re,title:`Authorize OneQuery CLI`,tone:`primary`}:e.panelView===`verifying`?{badge:`Checking request`,description:`We’re validating the code from your terminal and loading the next step in the authorization flow.`,icon:j,title:`Checking device code`,tone:`neutral`}:e.panelView===`sessionCheck`?{badge:`Checking session`,description:`We’re checking whether you already have an active OneQuery session for this device request.`,icon:M,title:`Confirming your browser session`,tone:`neutral`}:e.panelView===`signInRequired`?{badge:`Sign in required`,description:`Sign in with the account that should own this CLI session.`,icon:M,title:`Sign in to approve this device`,tone:`primary`}:e.panelView===`review`?{badge:`Review request`,description:`Review the request and decide whether to authorize this CLI sign-in.`,icon:te,title:`Approve device login`,tone:`primary`}:e.result?.tone===`success`?{badge:`Approved`,description:e.result.message,icon:l,title:e.result.title,tone:`success`}:{badge:`Denied`,description:e.result?.message??`This device request has been denied or could not be completed.`,icon:d,title:e.result?.title??`Device Denied`,tone:`error`}}function be(e){switch(e){case`primary`:return`border-primary/15 bg-primary/5 text-primary`;case`success`:return`border-primary/15 bg-primary/5 text-primary`;case`error`:return`border-destructive/15 bg-destructive/5 text-destructive`;case`neutral`:return`border-border bg-muted/40 text-foreground`}}function xe(e){switch(e){case`primary`:return`bg-primary/10 text-primary`;case`success`:return`bg-primary/10 text-primary`;case`error`:return`bg-destructive/10 text-destructive`;case`neutral`:return`bg-background text-foreground`}}function $(e){let t=(0,N.c)(10),{label:n,value:r,emphasis:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-primary/15 bg-primary/5`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-mono text-xl font-semibold tracking-[0.32em] text-foreground sm:text-2xl`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function Se(e){let t=(0,N.c)(10),{label:n,value:r,tone:i}=e,a=i===`error`?`border-destructive/15 bg-destructive/5`:`border-border bg-muted/30`,o;t[0]===a?o=t[1]:(o=c(`rounded-2xl border p-4`,a),t[0]=a,t[1]=o);let s;t[2]===n?s=t[3]:(s=(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:n}),t[2]=n,t[3]=s);let l;t[4]===r?l=t[5]:(l=(0,Q.jsx)(`p`,{className:`mt-2 font-medium text-foreground`,children:r}),t[4]=r,t[5]=l);let u;return t[6]!==o||t[7]!==s||t[8]!==l?(u=(0,Q.jsxs)(`div`,{className:o,children:[s,l]}),t[6]=o,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function Ce(e){let t=(0,N.c)(51),{initialSession:n,onboardingOrganizationId:r,requestedUserCode:a}=e,o=i(),s;t[0]!==o||t[1]!==r?(s=ve.provide({actions:{navigateToDeviceRoute:(e,t)=>{let{self:n}=e;t!==null&&o({replace:t.replace,search:t.userCode===null?{}:{user_code:t.userCode,...r?{orgId:r}:{}},to:g}).then(()=>{n.send({id:t.id,type:`deviceAuth/navigationCompleted`})}).catch(e=>{console.error(`[device-auth] failed to sync device route`,{errorName:Ee(e),navigationId:t.id,replace:t.replace}),n.send({id:t.id,message:ue(e),type:`deviceAuth/navigationFailed`})})}},actors:{submitDeviceDecision:T(Te),verifyDevice:T(we)}}),t[0]=o,t[1]=r,t[2]=s):s=t[2];let c;t[3]!==n||t[4]!==a?(c={input:{initialSession:n,initialUserCode:a}},t[3]=n,t[4]=a,t[5]=c):c=t[5];let[l,u]=ee(s,c),d,p,m,h,_,v,y,b,x,S;if(t[6]!==r||t[7]!==a||t[8]!==l){_=ae(l),m=l.context.inputCode,d=l.context.activeUserCode;let e;t[19]===l?e=t[20]:(e=se(l),t[19]=l,t[20]=e),p=e,y=ce(l);let n;t[21]===l?n=t[22]:(n=oe(l),t[21]=l,t[22]=n),x=n,v=l.context.pendingDecision;let i;t[23]===l?i=t[24]:(i=l.matches({pending:`submittingDecision`}),t[23]=l,t[24]=i),h=i;let o=d??a,s;t[25]!==o||t[26]!==r?(s=f(o,r),t[25]=o,t[26]=r,t[27]=s):s=t[27],b=s,S=ye({panelView:_,result:y}),t[6]=r,t[7]=a,t[8]=l,t[9]=d,t[10]=p,t[11]=m,t[12]=h,t[13]=_,t[14]=v,t[15]=y,t[16]=b,t[17]=x,t[18]=S}else d=t[9],p=t[10],m=t[11],h=t[12],_=t[13],v=t[14],y=t[15],b=t[16],x=t[17],S=t[18];let C=S,w=h&&v?.action===`approve`,E=h&&v?.action===`deny`,D,O,k,A,j;t[28]===u?(D=t[29],O=t[30],k=t[31],A=t[32],j=t[33]):(O=()=>{u({type:`deviceAuth/approve`})},k=()=>{u({type:`deviceAuth/deny`})},A=e=>{u({type:`deviceAuth/inputChanged`,value:e.toUpperCase()})},j=()=>{u({type:`deviceAuth/submit`})},D=()=>{u({type:`deviceAuth/useDifferentCode`})},t[28]=u,t[29]=D,t[30]=O,t[31]=k,t[32]=A,t[33]=j);let M;return t[34]!==d||t[35]!==p||t[36]!==m||t[37]!==r||t[38]!==C||t[39]!==_||t[40]!==y||t[41]!==b||t[42]!==x||t[43]!==D||t[44]!==w||t[45]!==E||t[46]!==O||t[47]!==k||t[48]!==A||t[49]!==j?(M={activeUserCode:d,errorMessage:p,inputCode:m,isSubmittingApprove:w,isSubmittingDeny:E,onboardingOrganizationId:r,onApprove:O,onDeny:k,onInputChange:A,onSubmit:j,onUseDifferentCode:D,panelMeta:C,panelView:_,result:y,resumePath:b,sessionEmail:x},t[34]=d,t[35]=p,t[36]=m,t[37]=r,t[38]=C,t[39]=_,t[40]=y,t[41]=b,t[42]=x,t[43]=D,t[44]=w,t[45]=E,t[46]=O,t[47]=k,t[48]=A,t[49]=j,t[50]=M):M=t[50],M}async function we(e){let{input:t,signal:n}=e;return ge(t,{signal:n})}async function Te(e){let{input:t,signal:n}=e;return _e(t,{signal:n})}function Ee(e){return e instanceof Error?e.name:`unknown`}function De(e){let n=(0,N.c)(33),{controller:r}=e,i;n[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Q.jsxs)(`div`,{"aria-hidden":!0,className:`pointer-events-none absolute inset-0`,children:[(0,Q.jsx)(`div`,{className:`absolute left-[-7rem] top-[-8rem] h-64 w-64 rounded-full bg-primary/10 blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute right-[-8rem] top-20 h-80 w-80 rounded-full bg-muted blur-3xl`}),(0,Q.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(to_right,rgba(127,127,127,0.06)_1px,transparent_1px),linear-gradient(to_bottom,rgba(127,127,127,0.06)_1px,transparent_1px)] bg-[size:4.5rem_4.5rem] [mask-image:linear-gradient(to_bottom,white,rgba(255,255,255,0.3))]`})]}),n[0]=i):i=n[0];let a;n[1]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Q.jsx)(`header`,{className:`relative z-10 border-b border-border/60 bg-background/80 backdrop-blur`,children:(0,Q.jsxs)(`div`,{className:`mx-auto flex h-16 w-full max-w-6xl items-center justify-between px-6`,children:[(0,Q.jsxs)(t,{to:`/`,className:`flex items-center gap-3`,children:[(0,Q.jsx)(`img`,{src:`/onequery.svg`,alt:`OneQuery`,className:`h-9 w-9 rounded-lg`}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-semibold text-lg leading-none`,children:`OneQuery`}),(0,Q.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Device authorization`})]})]}),(0,Q.jsx)(u,{})]})}),n[1]=a):a=n[1];let o;n[2]===r.panelMeta.tone?o=n[3]:(o=c(`inline-flex items-center gap-2 rounded-full border px-3 py-1 text-xs font-medium uppercase tracking-[0.18em]`,be(r.panelMeta.tone)),n[2]=r.panelMeta.tone,n[3]=o);let s;n[4]===r.panelMeta.tone?s=n[5]:(s=c(`flex h-6 w-6 items-center justify-center rounded-full`,xe(r.panelMeta.tone)),n[4]=r.panelMeta.tone,n[5]=s);let l;n[6]===r.panelMeta.icon?l=n[7]:(l=(0,Q.jsx)(r.panelMeta.icon,{size:14,stroke:1.9}),n[6]=r.panelMeta.icon,n[7]=l);let d;n[8]!==s||n[9]!==l?(d=(0,Q.jsx)(`div`,{className:s,children:l}),n[8]=s,n[9]=l,n[10]=d):d=n[10];let f;n[11]!==r.panelMeta.badge||n[12]!==o||n[13]!==d?(f=(0,Q.jsx)(`div`,{className:`flex flex-wrap items-center justify-between gap-3`,children:(0,Q.jsxs)(`div`,{className:o,children:[d,r.panelMeta.badge]})}),n[11]=r.panelMeta.badge,n[12]=o,n[13]=d,n[14]=f):f=n[14];let p;n[15]===r.panelMeta.title?p=n[16]:(p=(0,Q.jsx)(S,{className:`mt-4 text-2xl`,children:r.panelMeta.title}),n[15]=r.panelMeta.title,n[16]=p);let m;n[17]===r.panelMeta.description?m=n[18]:(m=(0,Q.jsx)(C,{className:`max-w-2xl text-base leading-7`,children:r.panelMeta.description}),n[17]=r.panelMeta.description,n[18]=m);let h;n[19]!==f||n[20]!==p||n[21]!==m?(h=(0,Q.jsxs)(b,{className:`border-b border-border/60 pb-5`,children:[f,p,m]}),n[19]=f,n[20]=p,n[21]=m,n[22]=h):h=n[22];let g;n[23]===r.errorMessage?g=n[24]:(g=r.errorMessage?(0,Q.jsx)(`div`,{className:`rounded-xl border border-destructive/20 bg-destructive/5 px-3 py-2 text-sm text-destructive`,children:r.errorMessage}):null,n[23]=r.errorMessage,n[24]=g);let _;n[25]===r?_=n[26]:(_=Oe(r),n[25]=r,n[26]=_);let v;n[27]!==g||n[28]!==_?(v=(0,Q.jsxs)(x,{className:`space-y-5 pt-6`,children:[g,_]}),n[27]=g,n[28]=_,n[29]=v):v=n[29];let y;return n[30]!==h||n[31]!==v?(y=(0,Q.jsxs)(`div`,{className:`relative min-h-screen overflow-hidden bg-background`,children:[i,a,(0,Q.jsx)(`main`,{className:`relative z-10 flex flex-1 items-center justify-center px-6 py-10 lg:min-h-[calc(100vh-4rem)] lg:py-14`,children:(0,Q.jsx)(`section`,{className:`w-full max-w-3xl`,children:(0,Q.jsx)(`div`,{className:`rounded-[2rem] border border-border/70 bg-background/75 p-2 shadow-2xl shadow-foreground/5 backdrop-blur`,children:(0,Q.jsxs)(w,{className:`w-full border-0 bg-card/95 shadow-none ring-0`,children:[h,v]})})})})]}),n[30]=h,n[31]=v,n[32]=y):y=n[32],y}function Oe(e){switch(e.panelView){case`entry`:return(0,Q.jsxs)(`form`,{onSubmit:t=>{t.preventDefault(),e.onSubmit()},className:`space-y-5`,children:[(0,Q.jsxs)(`div`,{className:`space-y-2`,children:[(0,Q.jsx)(y,{htmlFor:`user-code`,children:`Device code`}),(0,Q.jsx)(v,{id:`user-code`,value:e.inputCode,onChange:t=>e.onInputChange(t.target.value),placeholder:`ABCD1234`,autoCapitalize:`characters`,autoComplete:`one-time-code`,required:!0,className:`h-11 font-mono text-base tracking-[0.25em] uppercase`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Enter the 8-character code shown in your terminal.`})]}),(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(a,{type:`submit`,className:`h-11 w-full`,children:`Continue`}),(0,Q.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:`You’ll review the request before any access is granted.`})]})]});case`verifying`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Verifying code`,value:e.activeUserCode??e.inputCode,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-primary/10 text-primary`,children:(0,Q.jsx)(ne,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking request details`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`We’re validating that this device code is still active and can be approved.`})]})]})})]});case`sessionCheck`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Ready to approve`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(`div`,{className:`rounded-2xl border bg-muted/40 p-4`,children:(0,Q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,Q.jsx)(`div`,{className:`flex h-9 w-9 items-center justify-center rounded-full bg-muted`,children:(0,Q.jsx)(M,{size:18,stroke:1.75})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`p`,{className:`font-medium`,children:`Checking your browser session`}),(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Once we know who you are, you’ll be able to approve or deny this request.`})]})]})})]});case`signInRequired`:return(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(t,{to:h,search:{redirect:e.resumePath},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Sign in`}),(0,Q.jsx)(a,{type:`button`,variant:`ghost`,size:`sm`,className:`mx-auto flex h-9 px-3 text-muted-foreground`,onClick:e.onUseDifferentCode,children:`Use a different code`})]});case`review`:return e.sessionEmail?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:`Device code`,value:e.activeUserCode??``,emphasis:`primary`}),(0,Q.jsx)(Se,{label:`Signed in as`,value:e.sessionEmail,tone:`neutral`}),(0,Q.jsxs)(`div`,{className:`flex flex-col gap-3 sm:flex-row`,children:[(0,Q.jsx)(a,{type:`button`,variant:`outline`,size:`lg`,className:`h-11 flex-1`,onClick:e.onDeny,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingDeny?`Denying...`:`Deny`}),(0,Q.jsx)(a,{type:`button`,size:`lg`,className:`h-11 flex-1`,onClick:e.onApprove,disabled:e.isSubmittingApprove||e.isSubmittingDeny,children:e.isSubmittingApprove?`Approving...`:`Approve`})]})]}):null;case`result`:return e.result?(0,Q.jsxs)(`div`,{className:`space-y-4`,children:[(0,Q.jsx)($,{label:e.result.tone===`success`?`Approved code`:`Resolved code`,value:e.activeUserCode??``,emphasis:e.result.tone}),e.result.tone===`success`&&e.onboardingOrganizationId?(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Your CLI session is ready. Connect a data source now, or come back later from the dashboard.`}),(0,Q.jsx)(t,{to:m,search:{orgId:e.onboardingOrganizationId},className:o({variant:`default`,size:`lg`,className:`h-11 w-full`}),children:`Continue setup`})]}):null]}):null}}var ke=r(g);function Ae(){let e=(0,N.c)(10),{orgId:t,user_code:n}=ke.useSearch(),{auth:r}=ke.useRouteContext(),i=t??null,a,o,s;e[0]!==r.session?.user.email||e[1]!==n?(o=p(n??null)??null,a=le({email:r.session?.user.email??null,isSessionPending:!1}),s=Me({requestedUserCode:o,session:a}),e[0]=r.session?.user.email,e[1]=n,e[2]=a,e[3]=o,e[4]=s):(a=e[2],o=e[3],s=e[4]);let c=s,l;return e[5]!==c||e[6]!==a||e[7]!==i||e[8]!==o?(l=(0,Q.jsx)(je,{initialSession:a,onboardingOrganizationId:i,requestedUserCode:o},c),e[5]=c,e[6]=a,e[7]=i,e[8]=o,e[9]=l):l=e[9],l}function je(e){let t=(0,N.c)(2),n=Ce(e),r;return t[0]===n?r=t[1]:(r=(0,Q.jsx)(De,{controller:n}),t[0]=n,t[1]=r),r}function Me(e){return e.session.kind===`signedIn`?`${e.requestedUserCode??``}:signedIn:${e.session.email}`:`${e.requestedUserCode??``}:${e.session.kind}`}function Ne(){let e=(0,N.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Q.jsx)(Ae,{}),e[0]=t):t=e[0],t}var Pe=Ne;export{Pe as component};