@hexclave/next 1.0.14 → 1.0.16

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 (220) hide show
  1. package/dist/clickmap/clickmap-core.d.ts +15 -0
  2. package/dist/clickmap/clickmap-core.d.ts.map +1 -0
  3. package/dist/clickmap/clickmap-core.js +1527 -0
  4. package/dist/clickmap/clickmap-core.js.map +1 -0
  5. package/dist/clickmap/clickmap-styles.d.ts +5 -0
  6. package/dist/clickmap/clickmap-styles.d.ts.map +1 -0
  7. package/dist/clickmap/clickmap-styles.js +1095 -0
  8. package/dist/clickmap/clickmap-styles.js.map +1 -0
  9. package/dist/clickmap/index.d.ts +16 -0
  10. package/dist/clickmap/index.d.ts.map +1 -0
  11. package/dist/clickmap/index.js +74 -0
  12. package/dist/clickmap/index.js.map +1 -0
  13. package/dist/components/api-key-dialogs.d.ts +1 -1
  14. package/dist/components/api-key-dialogs.js +5 -5
  15. package/dist/components/credential-sign-in.js +3 -3
  16. package/dist/components/credential-sign-up.js +5 -5
  17. package/dist/components/elements/sidebar-layout.js +1 -1
  18. package/dist/components/elements/user-avatar.js +1 -1
  19. package/dist/components/magic-link-sign-in.js +5 -5
  20. package/dist/components/message-cards/known-error-message-card.d.ts +1 -1
  21. package/dist/components/message-cards/predefined-message-card.js +1 -1
  22. package/dist/components/passkey-button.js +1 -1
  23. package/dist/components/profile-image-editor.js +1 -1
  24. package/dist/components/team-icon.js +1 -1
  25. package/dist/components/team-switcher.js +2 -2
  26. package/dist/components/user-button.js +1 -1
  27. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  28. package/dist/components-page/account-settings/editable-text.js +1 -1
  29. package/dist/components-page/account-settings/email-and-auth/emails-section.js +3 -3
  30. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  31. package/dist/components-page/account-settings/email-and-auth/password-section.js +3 -3
  32. package/dist/components-page/account-settings/teams/team-api-keys-section.js +1 -1
  33. package/dist/components-page/account-settings/teams/team-creation-page.js +3 -3
  34. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
  35. package/dist/components-page/account-settings.js +3 -3
  36. package/dist/components-page/auth-page.js +2 -2
  37. package/dist/components-page/cli-auth-confirm.js +2 -2
  38. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  39. package/dist/components-page/email-verification.js +1 -1
  40. package/dist/components-page/forgot-password.d.ts.map +1 -1
  41. package/dist/components-page/forgot-password.js +6 -7
  42. package/dist/components-page/forgot-password.js.map +1 -1
  43. package/dist/components-page/hexclave-handler-client.d.ts +1 -1
  44. package/dist/components-page/hexclave-handler-client.js +2 -2
  45. package/dist/components-page/magic-link-callback.js +1 -1
  46. package/dist/components-page/mfa.js +7 -22
  47. package/dist/components-page/mfa.js.map +1 -1
  48. package/dist/components-page/oauth-callback.js +2 -2
  49. package/dist/components-page/onboarding.js +4 -4
  50. package/dist/components-page/password-reset.d.ts.map +1 -1
  51. package/dist/components-page/password-reset.js +12 -14
  52. package/dist/components-page/password-reset.js.map +1 -1
  53. package/dist/components-page/team-creation.js +5 -5
  54. package/dist/dev-tool/dev-tool-core.d.ts.map +1 -1
  55. package/dist/dev-tool/dev-tool-core.js +258 -262
  56. package/dist/dev-tool/dev-tool-core.js.map +1 -1
  57. package/dist/dev-tool/dev-tool-styles.d.ts +1 -1
  58. package/dist/dev-tool/dev-tool-styles.d.ts.map +1 -1
  59. package/dist/dev-tool/dev-tool-styles.js +13 -143
  60. package/dist/dev-tool/dev-tool-styles.js.map +1 -1
  61. package/dist/dev-tool/index.d.ts.map +1 -1
  62. package/dist/dev-tool/index.js +4 -11
  63. package/dist/dev-tool/index.js.map +1 -1
  64. package/dist/esm/clickmap/clickmap-core.d.ts +15 -0
  65. package/dist/esm/clickmap/clickmap-core.d.ts.map +1 -0
  66. package/dist/esm/clickmap/clickmap-core.js +1525 -0
  67. package/dist/esm/clickmap/clickmap-core.js.map +1 -0
  68. package/dist/esm/clickmap/clickmap-styles.d.ts +5 -0
  69. package/dist/esm/clickmap/clickmap-styles.d.ts.map +1 -0
  70. package/dist/esm/clickmap/clickmap-styles.js +1093 -0
  71. package/dist/esm/clickmap/clickmap-styles.js.map +1 -0
  72. package/dist/esm/clickmap/index.d.ts +16 -0
  73. package/dist/esm/clickmap/index.d.ts.map +1 -0
  74. package/dist/esm/clickmap/index.js +72 -0
  75. package/dist/esm/clickmap/index.js.map +1 -0
  76. package/dist/esm/components/api-key-dialogs.d.ts +1 -1
  77. package/dist/esm/components/api-key-dialogs.js +5 -5
  78. package/dist/esm/components/credential-sign-in.js +3 -3
  79. package/dist/esm/components/credential-sign-up.js +5 -5
  80. package/dist/esm/components/elements/sidebar-layout.js +1 -1
  81. package/dist/esm/components/elements/user-avatar.js +1 -1
  82. package/dist/esm/components/magic-link-sign-in.js +5 -5
  83. package/dist/esm/components/message-cards/predefined-message-card.js +1 -1
  84. package/dist/esm/components/passkey-button.js +1 -1
  85. package/dist/esm/components/profile-image-editor.js +1 -1
  86. package/dist/esm/components/team-icon.js +1 -1
  87. package/dist/esm/components/team-switcher.js +2 -2
  88. package/dist/esm/components/user-button.js +1 -1
  89. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  90. package/dist/esm/components-page/account-settings/editable-text.js +1 -1
  91. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +3 -3
  92. package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  93. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +3 -3
  94. package/dist/esm/components-page/account-settings/teams/team-api-keys-section.js +1 -1
  95. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +3 -3
  96. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +4 -4
  97. package/dist/esm/components-page/account-settings.d.ts +1 -1
  98. package/dist/esm/components-page/account-settings.js +3 -3
  99. package/dist/esm/components-page/auth-page.js +2 -2
  100. package/dist/esm/components-page/cli-auth-confirm.js +2 -2
  101. package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
  102. package/dist/esm/components-page/email-verification.js +1 -1
  103. package/dist/esm/components-page/forgot-password.d.ts.map +1 -1
  104. package/dist/esm/components-page/forgot-password.js +6 -7
  105. package/dist/esm/components-page/forgot-password.js.map +1 -1
  106. package/dist/esm/components-page/hexclave-handler-client.d.ts +1 -1
  107. package/dist/esm/components-page/hexclave-handler-client.js +2 -2
  108. package/dist/esm/components-page/magic-link-callback.js +1 -1
  109. package/dist/esm/components-page/mfa.js +7 -22
  110. package/dist/esm/components-page/mfa.js.map +1 -1
  111. package/dist/esm/components-page/oauth-callback.js +2 -2
  112. package/dist/esm/components-page/onboarding.js +4 -4
  113. package/dist/esm/components-page/password-reset.d.ts.map +1 -1
  114. package/dist/esm/components-page/password-reset.js +11 -13
  115. package/dist/esm/components-page/password-reset.js.map +1 -1
  116. package/dist/esm/components-page/team-creation.js +5 -5
  117. package/dist/esm/dev-tool/dev-tool-core.d.ts.map +1 -1
  118. package/dist/esm/dev-tool/dev-tool-core.js +35 -39
  119. package/dist/esm/dev-tool/dev-tool-core.js.map +1 -1
  120. package/dist/esm/dev-tool/dev-tool-styles.d.ts +1 -1
  121. package/dist/esm/dev-tool/dev-tool-styles.d.ts.map +1 -1
  122. package/dist/esm/dev-tool/dev-tool-styles.js +13 -143
  123. package/dist/esm/dev-tool/dev-tool-styles.js.map +1 -1
  124. package/dist/esm/dev-tool/index.d.ts.map +1 -1
  125. package/dist/esm/dev-tool/index.js +1 -8
  126. package/dist/esm/dev-tool/index.js.map +1 -1
  127. package/dist/esm/generated/global-css.d.ts +1 -1
  128. package/dist/esm/generated/global-css.js +1 -1
  129. package/dist/esm/generated/global-css.js.map +1 -1
  130. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  131. package/dist/esm/in-page-ui/base-styles.d.ts +5 -0
  132. package/dist/esm/in-page-ui/base-styles.d.ts.map +1 -0
  133. package/dist/esm/in-page-ui/base-styles.js +166 -0
  134. package/dist/esm/in-page-ui/base-styles.js.map +1 -0
  135. package/dist/esm/in-page-ui/dom.d.ts +15 -0
  136. package/dist/esm/in-page-ui/dom.d.ts.map +1 -0
  137. package/dist/esm/in-page-ui/dom.js +44 -0
  138. package/dist/esm/in-page-ui/dom.js.map +1 -0
  139. package/dist/esm/lib/auth.js +2 -2
  140. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +6 -2
  141. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  142. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js +21 -1
  143. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  144. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  145. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +1 -1
  146. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +4 -2
  147. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  148. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +2 -2
  149. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.d.ts +13 -0
  150. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
  151. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +146 -14
  152. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
  153. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js +221 -0
  154. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
  155. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +2 -2
  156. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  157. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts +5 -0
  158. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.d.ts.map +1 -1
  159. package/dist/esm/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
  160. package/dist/esm/lib/hexclave-app/users/index.d.ts +1 -1
  161. package/dist/esm/providers/theme-provider.js +1 -1
  162. package/dist/esm/providers/translation-provider.js +1 -1
  163. package/dist/generated/global-css.d.ts +1 -1
  164. package/dist/generated/global-css.js +1 -1
  165. package/dist/generated/global-css.js.map +1 -1
  166. package/dist/generated/quetzal-translations.d.ts +2 -2
  167. package/dist/in-page-ui/base-styles.d.ts +5 -0
  168. package/dist/in-page-ui/base-styles.d.ts.map +1 -0
  169. package/dist/in-page-ui/base-styles.js +168 -0
  170. package/dist/in-page-ui/base-styles.js.map +1 -0
  171. package/dist/in-page-ui/dom.d.ts +15 -0
  172. package/dist/in-page-ui/dom.d.ts.map +1 -0
  173. package/dist/in-page-ui/dom.js +51 -0
  174. package/dist/in-page-ui/dom.js.map +1 -0
  175. package/dist/index.d.ts +1 -1
  176. package/dist/integrations/convex/component/convex.config.d.ts +1 -1
  177. package/dist/lib/auth.js +2 -2
  178. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -1
  179. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts.map +1 -1
  180. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js +21 -1
  181. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.js.map +1 -1
  182. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts.map +1 -1
  183. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +4 -2
  184. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js.map +1 -1
  185. package/dist/lib/hexclave-app/apps/implementations/common.js +2 -2
  186. package/dist/lib/hexclave-app/apps/implementations/event-tracker.d.ts +13 -0
  187. package/dist/lib/hexclave-app/apps/implementations/event-tracker.d.ts.map +1 -1
  188. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +146 -14
  189. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js.map +1 -1
  190. package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js +221 -0
  191. package/dist/lib/hexclave-app/apps/implementations/event-tracker.test.js.map +1 -1
  192. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  193. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  194. package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts +5 -0
  195. package/dist/lib/hexclave-app/apps/interfaces/admin-app.d.ts.map +1 -1
  196. package/dist/lib/hexclave-app/apps/interfaces/admin-app.js.map +1 -1
  197. package/dist/lib/hexclave-app/apps/interfaces/server-app.d.ts +1 -1
  198. package/dist/lib/hexclave-app/common.d.ts +1 -1
  199. package/dist/providers/hexclave-provider-client.d.ts +1 -1
  200. package/dist/providers/theme-provider.js +1 -1
  201. package/dist/providers/translation-provider.js +1 -1
  202. package/dist/{storage-CKzvsBxG.d.ts → storage-ksajV_p6.d.ts} +1 -1
  203. package/dist/{storage-CKzvsBxG.d.ts.map → storage-ksajV_p6.d.ts.map} +1 -1
  204. package/package.json +4 -4
  205. package/src/clickmap/clickmap-core.ts +1997 -0
  206. package/src/clickmap/clickmap-styles.ts +1102 -0
  207. package/src/clickmap/index.ts +95 -0
  208. package/src/components-page/forgot-password.tsx +1 -2
  209. package/src/components-page/mfa.tsx +12 -21
  210. package/src/components-page/password-reset.tsx +4 -6
  211. package/src/dev-tool/dev-tool-core.ts +38 -65
  212. package/src/dev-tool/dev-tool-styles.ts +13 -142
  213. package/src/dev-tool/index.ts +1 -14
  214. package/src/in-page-ui/base-styles.ts +171 -0
  215. package/src/in-page-ui/dom.ts +80 -0
  216. package/src/lib/hexclave-app/apps/implementations/admin-app-impl.ts +23 -1
  217. package/src/lib/hexclave-app/apps/implementations/client-app-impl.ts +7 -0
  218. package/src/lib/hexclave-app/apps/implementations/event-tracker.test.ts +287 -0
  219. package/src/lib/hexclave-app/apps/implementations/event-tracker.ts +226 -16
  220. package/src/lib/hexclave-app/apps/interfaces/admin-app.ts +3 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clickmap-styles.js","names":[],"sources":["../../../src/clickmap/clickmap-styles.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n// CSS for the standalone clickmap overlay.\n//\n// The clickmap is fully independent from the dev tool: it ships its own\n// stylesheet and panel chrome so the dev tool (and its stylesheet) can be\n// removed without affecting the clickmap. Class names keep the shared `sdt-`\n// prefix on purpose — the analytics ingest/query layers exclude self-clicks by\n// that prefix (see @hexclave/shared/dist/utils/dev-tool).\n// Uses the .hexclave-clickmap scope to avoid conflicts with host app styles.\n// Design tokens + base reset come from the shared in-page-ui module.\n\nimport { getInPageUiBaseCSS } from \"../in-page-ui/base-styles\";\n\nexport const clickmapCSS = getInPageUiBaseCSS('.hexclave-clickmap') + `\n /* Bottom-centered floating panel (the clickmap's only chrome) */\n .hexclave-clickmap .sdt-hm-panel {\n position: fixed;\n left: 50%;\n bottom: 18px;\n z-index: 2147483647;\n width: min(680px, calc(100vw - 24px));\n max-width: calc(100vw - 24px);\n max-height: calc(100vh - 36px);\n transform: translateX(-50%);\n display: flex;\n flex-direction: column;\n overflow: visible;\n }\n\n .hexclave-clickmap .sdt-hm-panel-inner {\n display: flex;\n flex-direction: column;\n width: 100%;\n animation: sdt-hm-panel-enter 0.2s ease-out;\n }\n\n @keyframes sdt-hm-panel-enter {\n from {\n opacity: 0;\n transform: scale(0.95) translateY(8px);\n }\n to {\n opacity: 1;\n transform: scale(1) translateY(0);\n }\n }\n\n /* --- Clickmaps --- */\n\n .hexclave-clickmap .sdt-hm {\n height: auto;\n display: flex;\n flex-direction: column;\n gap: 8px;\n overflow: visible;\n background: transparent;\n }\n\n /* One spacing rhythm across the pill: a tight 2px base gap so adjacent\n controls read as clusters, with the wider between-group separation\n coming only from the metrics block's own padding (and the title's\n trailing padding). Item-level whitespace inside ghost icon buttons\n already provides the rest of the breathing room. */\n .hexclave-clickmap .sdt-hm-toolbar {\n position: relative;\n z-index: 4;\n display: flex;\n align-items: center;\n gap: 2px;\n min-height: 44px;\n padding: 6px 8px;\n border: 1px solid var(--sdt-border);\n border-radius: 999px;\n background: var(--sdt-overlay-bg);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);\n backdrop-filter: blur(18px);\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-title {\n flex-shrink: 0;\n padding: 0 6px 0 2px;\n font-size: 13px;\n font-weight: 650;\n color: var(--sdt-text);\n line-height: 1.1;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-filters {\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: 6px;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-filters .sdt-hm-filter-input {\n height: 28px;\n border-radius: 999px;\n font-size: 11.5px;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-filters > .sdt-hm-filter-input {\n flex-shrink: 0;\n width: auto;\n max-width: 120px;\n padding-right: 4px;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-url {\n position: relative;\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n /* The revert/info ghost buttons hug the input they belong to. */\n gap: 2px;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-url .sdt-hm-filter-input {\n flex: 1;\n }\n\n .hexclave-clickmap .sdt-hm-mode {\n flex-shrink: 0;\n display: inline-flex;\n align-items: center;\n gap: 2px;\n padding: 2px;\n border-radius: 999px;\n background: var(--sdt-bg-elevated);\n border: 1px solid var(--sdt-border-subtle);\n }\n\n .hexclave-clickmap .sdt-hm-mode-btn {\n min-width: 24px;\n height: 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 999px;\n background: transparent;\n color: var(--sdt-text-tertiary);\n padding: 0 7px;\n font: inherit;\n font-family: var(--sdt-font-mono, ui-monospace, monospace);\n font-size: 11px;\n font-weight: 600;\n cursor: pointer;\n }\n\n .hexclave-clickmap .sdt-hm-mode-btn:not(.sdt-hm-mode-btn-active):hover {\n color: var(--sdt-text);\n }\n\n .hexclave-clickmap .sdt-hm-mode-btn-active {\n background: var(--sdt-accent);\n color: white;\n }\n\n .hexclave-clickmap .sdt-hm-filter-input-error,\n .hexclave-clickmap .sdt-hm-filter-input-error:focus {\n border-color: var(--sdt-error);\n }\n\n .hexclave-clickmap .sdt-hm-filter-info {\n flex-shrink: 0;\n width: 20px;\n height: 20px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 999px;\n background: transparent;\n color: var(--sdt-text-tertiary);\n cursor: pointer;\n padding: 0;\n }\n\n .hexclave-clickmap .sdt-hm-filter-info:hover,\n .hexclave-clickmap .sdt-hm-filter-info[aria-expanded=\"true\"] {\n background: var(--sdt-bg-hover);\n color: var(--sdt-text);\n }\n\n .hexclave-clickmap .sdt-hm-url-help {\n display: none;\n position: absolute;\n bottom: calc(100% + 10px);\n right: 0;\n z-index: 6;\n width: 320px;\n max-width: min(320px, calc(100vw - 32px));\n box-sizing: border-box;\n padding: 14px;\n border: 1px solid var(--sdt-border);\n border-radius: var(--sdt-radius-lg);\n background: var(--sdt-bg);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);\n backdrop-filter: blur(18px);\n cursor: default;\n }\n\n .hexclave-clickmap .sdt-hm-url-help-open {\n display: block;\n }\n\n .hexclave-clickmap .sdt-hm-url-help-title {\n font-size: 12px;\n font-weight: 650;\n color: var(--sdt-text);\n margin-bottom: 6px;\n }\n\n .hexclave-clickmap .sdt-hm-url-help-body {\n font-size: 11.5px;\n line-height: 1.5;\n color: var(--sdt-text-secondary);\n }\n\n .hexclave-clickmap .sdt-hm-url-help-rows {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin-top: 12px;\n padding-top: 12px;\n border-top: 1px solid var(--sdt-border-subtle);\n }\n\n .hexclave-clickmap .sdt-hm-url-help-row {\n display: flex;\n align-items: baseline;\n gap: 10px;\n }\n\n .hexclave-clickmap .sdt-hm-url-help-code {\n flex-shrink: 0;\n border-radius: var(--sdt-radius);\n background: var(--sdt-bg-elevated);\n border: 1px solid var(--sdt-border-subtle);\n padding: 1px 6px;\n font-family: var(--sdt-font-mono, ui-monospace, monospace);\n font-size: 11px;\n color: var(--sdt-text);\n white-space: nowrap;\n }\n\n .hexclave-clickmap .sdt-hm-url-help-desc {\n font-size: 11px;\n line-height: 1.4;\n color: var(--sdt-text-secondary);\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-metrics {\n flex-shrink: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n /* Side padding is what separates the metrics group from the url field\n on its left and the toggle cluster on its right. */\n padding: 0 8px;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-metric {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n color: var(--sdt-text-secondary);\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-metric-value {\n font-size: 12px;\n font-weight: 700;\n color: var(--sdt-text);\n font-variant-numeric: tabular-nums;\n }\n\n .hexclave-clickmap .sdt-hm-toolbar-metric-icon {\n display: inline-flex;\n align-items: center;\n color: var(--sdt-text-tertiary);\n }\n\n .hexclave-clickmap .sdt-hm-icon-btn {\n width: 28px;\n height: 28px;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n border: 0;\n border-radius: 999px;\n background: transparent;\n color: var(--sdt-text-secondary);\n cursor: pointer;\n }\n\n .hexclave-clickmap .sdt-hm-icon-btn:hover {\n background: var(--sdt-bg-hover);\n color: var(--sdt-text);\n }\n\n /* Presses must always target the button itself: the chevron svg is replaced\n when the panel toggles, and a press whose mousedown landed on a since-\n detached svg never produces a click. */\n .hexclave-clickmap .sdt-hm-icon-btn svg {\n pointer-events: none;\n }\n\n /* Styled tooltips for toolbar controls, driven by a data-sdt-tip attribute\n instead of native title so they match the overlay theme and also show on\n keyboard focus. The hover transition-delay acts as a hover-intent gate so\n tooltips don't flash while the pointer crosses the toolbar; hover-out has\n no delay, so they dismiss instantly. */\n .hexclave-clickmap [data-sdt-tip] {\n position: relative;\n }\n\n .hexclave-clickmap [data-sdt-tip]::after {\n content: attr(data-sdt-tip);\n position: absolute;\n bottom: calc(100% + 8px);\n left: 50%;\n transform: translateX(-50%) translateY(2px);\n padding: 4px 8px;\n border: 1px solid var(--sdt-border);\n border-radius: var(--sdt-radius);\n background: var(--sdt-overlay-bg);\n backdrop-filter: blur(18px);\n box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);\n color: var(--sdt-text);\n font-size: 11px;\n font-weight: 600;\n line-height: 1.2;\n white-space: nowrap;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.12s ease, transform 0.12s ease;\n z-index: 3;\n }\n\n .hexclave-clickmap [data-sdt-tip]:hover::after,\n .hexclave-clickmap [data-sdt-tip]:focus-visible::after {\n opacity: 1;\n transform: translateX(-50%) translateY(0);\n transition-delay: 0.35s;\n }\n\n /* The info button's tooltip would sit on top of its own help popover. */\n .hexclave-clickmap .sdt-hm-filter-info[aria-expanded=\"true\"]::after {\n opacity: 0;\n }\n\n .hexclave-clickmap .sdt-hm-details {\n display: none;\n position: relative;\n z-index: 1;\n max-height: min(460px, calc(100vh - 98px));\n overflow: hidden;\n border: 1px solid var(--sdt-border);\n border-radius: var(--sdt-radius-lg);\n background: var(--sdt-bg);\n box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);\n }\n\n .hexclave-clickmap .sdt-hm-expanded .sdt-hm-details {\n display: flex;\n flex-direction: column;\n }\n\n .hexclave-clickmap .sdt-hm-head {\n flex-shrink: 0;\n display: flex;\n flex-direction: column;\n gap: 14px;\n padding: 16px;\n border-bottom: 1px solid var(--sdt-border-subtle);\n }\n\n .hexclave-clickmap .sdt-hm-filters {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .hexclave-clickmap .sdt-hm-filter-row {\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px;\n }\n\n .hexclave-clickmap .sdt-hm-seg {\n position: relative;\n display: flex;\n align-items: stretch;\n gap: 2px;\n height: 30px;\n padding: 3px;\n border-radius: var(--sdt-radius);\n border: 1px solid var(--sdt-border-subtle);\n background: var(--sdt-bg-elevated);\n box-sizing: border-box;\n }\n\n .hexclave-clickmap .sdt-hm-seg-thumb {\n position: absolute;\n top: 3px;\n left: 0;\n bottom: 3px;\n width: 0;\n border-radius: calc(var(--sdt-radius) - 2px);\n background: var(--sdt-bg);\n border: 1px solid var(--sdt-border);\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);\n transform: translateX(0);\n transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), width 220ms cubic-bezier(0.22, 1, 0.36, 1);\n pointer-events: none;\n }\n\n .hexclave-clickmap .sdt-hm-seg-btn {\n position: relative;\n z-index: 1;\n flex: 1 1 0;\n min-width: 0;\n border: 0;\n background: transparent;\n color: var(--sdt-text-tertiary);\n font: inherit;\n font-family: var(--sdt-font);\n font-size: 11px;\n font-weight: 600;\n line-height: 1;\n padding: 0 4px;\n border-radius: calc(var(--sdt-radius) - 2px);\n cursor: pointer;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n transition: color 160ms ease;\n }\n\n .hexclave-clickmap .sdt-hm-seg-btn:hover {\n color: var(--sdt-text-secondary);\n }\n\n .hexclave-clickmap .sdt-hm-seg-btn[aria-checked=\"true\"] {\n color: var(--sdt-text);\n }\n\n .hexclave-clickmap .sdt-hm-seg-btn:focus-visible {\n outline: 2px solid var(--sdt-accent);\n outline-offset: -2px;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .hexclave-clickmap .sdt-hm-seg-thumb {\n transition: none;\n }\n }\n\n .hexclave-clickmap .sdt-hm-filter-field {\n display: flex;\n flex-direction: column;\n gap: 5px;\n min-width: 0;\n }\n\n .hexclave-clickmap .sdt-hm-filter-label-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 6px;\n min-height: 13px;\n }\n\n .hexclave-clickmap .sdt-hm-filter-label {\n font-size: 10px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: var(--sdt-text-tertiary);\n }\n\n .hexclave-clickmap .sdt-hm-filter-reset {\n display: none;\n flex-shrink: 0;\n width: 20px;\n height: 20px;\n align-items: center;\n justify-content: center;\n border: 0;\n border-radius: 999px;\n background: transparent;\n padding: 0;\n color: var(--sdt-accent);\n cursor: pointer;\n }\n\n .hexclave-clickmap .sdt-hm-filter-reset:hover {\n background: var(--sdt-bg-hover);\n color: var(--sdt-accent-hover);\n }\n\n .hexclave-clickmap .sdt-hm-filter-reset-visible {\n display: inline-flex;\n }\n\n .hexclave-clickmap .sdt-hm-filter-input {\n height: 30px;\n border-radius: var(--sdt-radius);\n border: 1px solid var(--sdt-border-subtle);\n background: var(--sdt-bg-elevated);\n color: var(--sdt-text);\n padding: 0 9px;\n font: inherit;\n font-size: 12px;\n font-family: var(--sdt-font);\n min-width: 0;\n width: 100%;\n box-sizing: border-box;\n }\n\n .hexclave-clickmap .sdt-hm-filter-input:focus {\n outline: none;\n border-color: var(--sdt-accent);\n }\n\n .hexclave-clickmap .sdt-hm-actions {\n display: flex;\n align-items: stretch;\n gap: 10px;\n }\n\n .hexclave-clickmap .sdt-hm-actions .sdt-hm-btn {\n height: auto;\n flex-shrink: 0;\n white-space: nowrap;\n padding: 0 16px;\n }\n\n .hexclave-clickmap .sdt-hm-btn {\n height: 30px;\n border-radius: var(--sdt-radius);\n border: 1px solid var(--sdt-border-subtle);\n background: var(--sdt-bg-elevated);\n color: var(--sdt-text-secondary);\n padding: 0 10px;\n font: inherit;\n font-size: 12px;\n cursor: pointer;\n transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;\n }\n\n .hexclave-clickmap .sdt-hm-btn:hover {\n background: var(--sdt-bg-hover);\n color: var(--sdt-text);\n transition: none;\n }\n\n .hexclave-clickmap .sdt-hm-btn-primary {\n background: var(--sdt-accent);\n border-color: var(--sdt-accent);\n color: white;\n }\n\n .hexclave-clickmap .sdt-hm-btn-primary:hover {\n background: var(--sdt-accent);\n border-color: var(--sdt-accent);\n color: white;\n transition: none;\n }\n\n .hexclave-clickmap .sdt-hm-btn-sm {\n height: 24px;\n flex-shrink: 0;\n border-radius: 999px;\n padding: 0 10px;\n font-size: 11px;\n font-weight: 600;\n white-space: nowrap;\n }\n\n .hexclave-clickmap .sdt-hm-btn:disabled {\n opacity: 0.45;\n pointer-events: none;\n }\n\n /* Dead-clicks-only filter toggle (toolbar icon button + expanded-panel\n button). Active state borrows the error tint used by the dead chips so\n the mode reads as \"you are looking at failures\". */\n .hexclave-clickmap .sdt-hm-dead-toggle {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n gap: 6px;\n }\n\n .hexclave-clickmap .sdt-hm-dead-toggle-icon {\n display: inline-flex;\n align-items: center;\n }\n\n .hexclave-clickmap .sdt-hm-dead-toggle-active,\n .hexclave-clickmap .sdt-hm-dead-toggle-active:hover {\n background: var(--sdt-error-muted);\n border-color: var(--sdt-error);\n color: var(--sdt-error);\n transition: none;\n }\n\n /* Toolbar overlay toggle while the overlay is hidden: tinted so the off\n state reads at a glance, eye-off icon carries the meaning. */\n .hexclave-clickmap .sdt-hm-overlay-mini-off,\n .hexclave-clickmap .sdt-hm-overlay-mini-off:hover {\n background: var(--sdt-accent-muted);\n color: var(--sdt-accent-hover);\n }\n\n .hexclave-clickmap .sdt-hm-stats {\n flex: 1;\n min-width: 0;\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 8px;\n }\n\n .hexclave-clickmap .sdt-hm-stat {\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 2px;\n border-radius: var(--sdt-radius);\n background: var(--sdt-bg-elevated);\n padding: 7px 10px;\n }\n\n .hexclave-clickmap .sdt-hm-stat-label {\n font-size: 9.5px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: var(--sdt-text-tertiary);\n }\n\n .hexclave-clickmap .sdt-hm-stat-value {\n font-size: 15px;\n font-weight: 650;\n color: var(--sdt-text);\n font-variant-numeric: tabular-nums;\n }\n\n /* No top padding on the scroller: the sticky list header pins at top 0,\n and scroller padding reads as a see-through strip above it while the\n list scrolls (Chromium offsets sticky insets by the scroll container's\n padding). The status line below carries the 12px instead. */\n .hexclave-clickmap .sdt-hm-body {\n flex: 1;\n min-height: 0;\n overflow: auto;\n display: flex;\n flex-direction: column;\n gap: 10px;\n padding: 0 16px 14px;\n }\n\n .hexclave-clickmap .sdt-hm-token-status {\n color: var(--sdt-text-secondary);\n padding: 12px 2px 0;\n font-size: 11.5px;\n line-height: 1.45;\n }\n\n .hexclave-clickmap .sdt-hm-token-status-error {\n color: var(--sdt-error);\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning {\n display: none;\n gap: 8px;\n padding: 10px;\n border-radius: var(--sdt-radius);\n border: 1px solid rgba(234, 179, 8, 0.24);\n background: var(--sdt-warning-muted);\n color: var(--sdt-text);\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-visible {\n display: flex;\n flex-direction: column;\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-title {\n font-size: 12px;\n font-weight: 650;\n color: var(--sdt-text);\n line-height: 1.2;\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-body {\n font-size: 11.5px;\n line-height: 1.45;\n color: var(--sdt-text-secondary);\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-actions {\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-action {\n min-width: 0;\n display: inline-flex;\n align-items: center;\n gap: 6px;\n border-radius: var(--sdt-radius);\n border: 1px solid var(--sdt-border-subtle);\n background: var(--sdt-bg-elevated);\n padding: 4px 5px 4px 8px;\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-label {\n font-size: 10px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n color: var(--sdt-text-tertiary);\n }\n\n .hexclave-clickmap .sdt-hm-viewport-warning-code {\n font-family: var(--sdt-font-mono);\n font-size: 11.5px;\n font-weight: 650;\n color: var(--sdt-text);\n font-variant-numeric: tabular-nums;\n }\n\n .hexclave-clickmap .sdt-hm-copy-btn {\n height: 22px;\n border: 1px solid var(--sdt-border-subtle);\n border-radius: 999px;\n background: var(--sdt-bg);\n color: var(--sdt-text-secondary);\n padding: 0 8px;\n font: inherit;\n font-size: 10.5px;\n font-weight: 600;\n cursor: pointer;\n transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;\n }\n\n .hexclave-clickmap .sdt-hm-copy-btn:hover {\n background: var(--sdt-bg-hover);\n border-color: var(--sdt-border);\n color: var(--sdt-text);\n transition: none;\n }\n\n .hexclave-clickmap .sdt-hm-list {\n display: flex;\n flex-direction: column;\n gap: 2px;\n }\n\n /* Datagrid-style header above the element list. Sticky inside the\n scrolling body (full-bleed via negative margins) so select-all and the\n bulk show/hide actions stay reachable while the list scrolls. The 24px\n left padding lines its master checkbox up with the row checkboxes\n (16px body padding + 8px row padding). */\n .hexclave-clickmap .sdt-hm-list-header {\n display: none;\n position: sticky;\n top: 0;\n z-index: 2;\n align-items: center;\n gap: 8px;\n margin: 0 -16px;\n padding: 8px 24px;\n background: var(--sdt-bg);\n border-bottom: 1px solid var(--sdt-border-subtle);\n }\n\n .hexclave-clickmap .sdt-hm-list-header-visible {\n display: flex;\n }\n\n .hexclave-clickmap .sdt-hm-list-header-summary {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-size: 11px;\n font-weight: 600;\n color: var(--sdt-text-secondary);\n font-variant-numeric: tabular-nums;\n }\n\n /* Element search, compacted to header height. Shrinks before the summary\n does, but never below a usable width. */\n .hexclave-clickmap .sdt-hm-list-header .sdt-hm-filter-input {\n flex: 0 1 220px;\n width: auto;\n min-width: 90px;\n height: 24px;\n border-radius: 999px;\n font-size: 11px;\n padding: 0 10px;\n }\n\n .hexclave-clickmap .sdt-hm-empty {\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 140px;\n border-radius: var(--sdt-radius);\n border: 1px dashed var(--sdt-border);\n color: var(--sdt-text-tertiary);\n font-size: 12px;\n text-align: center;\n padding: 0 16px;\n }\n\n .hexclave-clickmap .sdt-hm-row {\n width: 100%;\n display: grid;\n grid-template-columns: 16px minmax(42px, auto) minmax(0, 1fr) 24px;\n align-items: center;\n gap: 10px;\n border: 0;\n border-radius: var(--sdt-radius);\n background: transparent;\n color: var(--sdt-text);\n padding: 8px;\n text-align: left;\n cursor: pointer;\n font-family: var(--sdt-font);\n user-select: none;\n }\n\n .hexclave-clickmap .sdt-hm-row:hover {\n background: var(--sdt-bg-hover);\n transition: none;\n }\n\n .hexclave-clickmap .sdt-hm-row:focus-visible {\n outline: 2px solid var(--sdt-accent);\n outline-offset: 2px;\n }\n\n .hexclave-clickmap .sdt-hm-row-muted {\n opacity: 0.52;\n }\n\n .hexclave-clickmap .sdt-hm-row-highlighted {\n background: rgba(250, 204, 21, 0.12);\n }\n\n /* Declared after -highlighted and with a :hover pair so the selection tint\n wins over both the lead-highlight wash and the plain hover background. */\n .hexclave-clickmap .sdt-hm-row-selected,\n .hexclave-clickmap .sdt-hm-row-selected:hover {\n background: var(--sdt-accent-muted);\n }\n\n /* Row checkbox (also reused as the list header's master checkbox). A\n button with role=checkbox instead of a native input so it can render the\n overlay-themed check/indeterminate icons. */\n .hexclave-clickmap .sdt-hm-row-check {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n flex-shrink: 0;\n border: 1px solid var(--sdt-border);\n border-radius: calc(var(--sdt-radius) - 3px);\n background: var(--sdt-bg-elevated);\n color: white;\n appearance: none;\n padding: 0;\n cursor: pointer;\n }\n\n .hexclave-clickmap .sdt-hm-row-check:hover {\n border-color: var(--sdt-accent);\n }\n\n .hexclave-clickmap .sdt-hm-row-check[aria-checked=\"true\"],\n .hexclave-clickmap .sdt-hm-row-check[aria-checked=\"mixed\"] {\n background: var(--sdt-accent);\n border-color: var(--sdt-accent);\n }\n\n .hexclave-clickmap .sdt-hm-row-check:focus-visible {\n outline: 2px solid var(--sdt-accent);\n outline-offset: 2px;\n }\n\n .hexclave-clickmap .sdt-hm-row-check svg {\n pointer-events: none;\n }\n\n .hexclave-clickmap .sdt-hm-row-count {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n border-radius: calc(var(--sdt-radius) - 2px);\n background: var(--sdt-accent-muted);\n color: var(--sdt-accent-hover);\n padding: 0 7px;\n font-size: 12px;\n font-weight: 700;\n font-variant-numeric: tabular-nums;\n font-family: var(--sdt-font);\n }\n\n .hexclave-clickmap .sdt-hm-row-muted .sdt-hm-row-count {\n background: var(--sdt-bg-elevated);\n color: var(--sdt-text-tertiary);\n }\n\n .hexclave-clickmap .sdt-hm-row-eye {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n border: 1px solid var(--sdt-border-subtle);\n border-radius: calc(var(--sdt-radius) - 2px);\n background: var(--sdt-bg-elevated);\n color: var(--sdt-text-secondary);\n appearance: none;\n padding: 0;\n cursor: pointer;\n opacity: 0;\n pointer-events: none;\n }\n\n .hexclave-clickmap .sdt-hm-row:hover .sdt-hm-row-eye,\n .hexclave-clickmap .sdt-hm-row:focus-within .sdt-hm-row-eye,\n .hexclave-clickmap .sdt-hm-row-muted .sdt-hm-row-eye {\n opacity: 1;\n pointer-events: auto;\n }\n\n .hexclave-clickmap .sdt-hm-row-eye:hover {\n background: var(--sdt-bg-hover);\n border-color: var(--sdt-border);\n color: var(--sdt-text);\n transition: none;\n }\n\n .hexclave-clickmap .sdt-hm-row-eye:focus-visible {\n outline: 2px solid var(--sdt-accent);\n outline-offset: 2px;\n }\n\n .hexclave-clickmap .sdt-hm-row-meta {\n min-width: 0;\n display: flex;\n flex-direction: column;\n gap: 1px;\n }\n\n .hexclave-clickmap .sdt-hm-row-label-row {\n display: flex;\n align-items: center;\n gap: 6px;\n min-width: 0;\n }\n\n .hexclave-clickmap .sdt-hm-row-label {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n min-width: 0;\n font-size: 12px;\n font-weight: 600;\n }\n\n .hexclave-clickmap .sdt-hm-row-dead {\n display: none;\n flex: none;\n align-items: center;\n height: 16px;\n border-radius: calc(var(--sdt-radius) - 3px);\n background: var(--sdt-error-muted);\n color: var(--sdt-error);\n padding: 0 5px;\n font-size: 10px;\n font-weight: 700;\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n }\n\n .hexclave-clickmap .sdt-hm-row-dead-visible {\n display: inline-flex;\n }\n\n .hexclave-clickmap .sdt-hm-row-selector {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n font-family: var(--sdt-font-mono);\n font-size: 10.5px;\n color: var(--sdt-text-tertiary);\n }\n\n .sdt-hm-overlay-root {\n position: fixed;\n inset: 0;\n z-index: 2147483646;\n pointer-events: none;\n --resize-dur: 320ms;\n --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);\n }\n\n .sdt-hm-overlay-root .sdt-hm-marker {\n position: fixed;\n transform: translate(-50%, -50%);\n min-width: 28px;\n height: 24px;\n border-radius: 999px;\n padding: 0 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: 0;\n color: rgba(10, 10, 11, 0.92);\n font: 700 12px/1 var(--sdt-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);\n font-variant-numeric: tabular-nums;\n cursor: pointer;\n pointer-events: auto;\n transition: opacity 0.15s ease, transform 0.15s ease, filter 0.15s ease;\n }\n\n .sdt-hm-overlay-root .sdt-hm-marker:hover {\n transform: translate(-50%, -50%) scale(1.06);\n transition: none;\n }\n\n .sdt-hm-overlay-root .sdt-hm-marker-muted {\n opacity: 0.18;\n filter: saturate(0.25);\n text-decoration: line-through;\n }\n\n .sdt-hm-overlay-root .sdt-hm-marker-highlighted {\n transform: translate(-50%, -50%) scale(1.08);\n }\n\n .sdt-hm-overlay-root .sdt-hm-outline {\n position: fixed;\n border: 1px solid;\n border-radius: 4px;\n background: rgba(99, 102, 241, 0.04);\n transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;\n }\n\n .sdt-hm-overlay-root .sdt-hm-outline-muted {\n opacity: 0;\n }\n\n .sdt-hm-overlay-root .sdt-hm-outline-highlighted {\n border-color: rgba(250, 204, 21, 0.92) !important;\n }\n\n .sdt-hm-overlay-root .sdt-hm-highlight {\n position: fixed;\n border-radius: 5px;\n background: rgba(250, 204, 21, 0.28);\n box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.7), 0 0 0 9999px rgba(0, 0, 0, 0.04);\n opacity: 0;\n will-change: top, left, width, height;\n transition: opacity 0.18s ease;\n }\n\n .sdt-hm-overlay-root .sdt-hm-highlight-visible {\n opacity: 1;\n }\n\n .sdt-hm-overlay-root .sdt-hm-highlight-animating {\n transition:\n top var(--resize-dur) var(--resize-ease),\n left var(--resize-dur) var(--resize-ease),\n width var(--resize-dur) var(--resize-ease),\n height var(--resize-dur) var(--resize-ease),\n opacity 0.18s ease;\n }\n\n @media (prefers-reduced-motion: reduce) {\n .sdt-hm-overlay-root .sdt-hm-highlight-animating {\n transition: opacity 0.18s ease;\n }\n }\n`;\n"],"mappings":";;;AAgBA,MAAa,cAAc,mBAAmB,qBAAqB,GAAG"}
@@ -0,0 +1,16 @@
1
+ import { StackClientApp } from "../lib/hexclave-app";
2
+
3
+ //#region src/clickmap/index.d.ts
4
+ /**
5
+ * Mounts the clickmap overlay listener on the page.
6
+ *
7
+ * The clickmap is fully independent from the dev tool. It has no ambient UI:
8
+ * nothing renders until a dashboard-minted token is handed over (the
9
+ * CLICKMAP_OVERLAY_TOKEN_UPDATED event fired by the dashboard's console
10
+ * snippet) or a navigation-resume sentinel is present — only then is the
11
+ * actual overlay code lazily loaded and shown.
12
+ */
13
+ declare function mountClickmapOverlay(app: StackClientApp<true>): () => void;
14
+ //#endregion
15
+ export { mountClickmapOverlay };
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/clickmap/index.ts"],"mappings":";;;;;AA2EA;;;;;;;iBAAgB,oBAAA,CAAqB,GAAA,EAAK,cAAA"}
@@ -0,0 +1,72 @@
1
+ import { CLICKMAP_OVERLAY_RESUME_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { canMountIntoDom } from "../in-page-ui/dom.js";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
5
+
6
+ //#region src/clickmap/index.ts
7
+ function consumeResumeSentinel() {
8
+ try {
9
+ if (sessionStorage.getItem(CLICKMAP_OVERLAY_RESUME_STORAGE_KEY) !== "1") return false;
10
+ sessionStorage.removeItem(CLICKMAP_OVERLAY_RESUME_STORAGE_KEY);
11
+ return true;
12
+ } catch {
13
+ return false;
14
+ }
15
+ }
16
+ let activeApp = null;
17
+ let activeOverlayCleanup = null;
18
+ let openGeneration = 0;
19
+ let tokenListenerAttached = false;
20
+ let openClickmapOverlayPromise = null;
21
+ function loadOpenClickmapOverlay() {
22
+ if (!openClickmapOverlayPromise) openClickmapOverlayPromise = import("./clickmap-core.js").then((m) => m.openClickmapOverlay).catch((err) => {
23
+ openClickmapOverlayPromise = null;
24
+ throw err;
25
+ });
26
+ return openClickmapOverlayPromise;
27
+ }
28
+ function tryOpenOverlay() {
29
+ if (activeOverlayCleanup || !activeApp || !canMountIntoDom()) return;
30
+ const generation = ++openGeneration;
31
+ const app = activeApp;
32
+ runAsynchronously(async () => {
33
+ const openClickmapOverlay = await loadOpenClickmapOverlay();
34
+ if (generation !== openGeneration) return;
35
+ if (activeOverlayCleanup || activeApp !== app || !canMountIntoDom()) return;
36
+ activeOverlayCleanup = openClickmapOverlay(app, () => {
37
+ activeOverlayCleanup = null;
38
+ });
39
+ }, {
40
+ noErrorLogging: true,
41
+ onError: (error) => {
42
+ captureError("clickmap-mount", error);
43
+ }
44
+ });
45
+ }
46
+ /**
47
+ * Mounts the clickmap overlay listener on the page.
48
+ *
49
+ * The clickmap is fully independent from the dev tool. It has no ambient UI:
50
+ * nothing renders until a dashboard-minted token is handed over (the
51
+ * CLICKMAP_OVERLAY_TOKEN_UPDATED event fired by the dashboard's console
52
+ * snippet) or a navigation-resume sentinel is present — only then is the
53
+ * actual overlay code lazily loaded and shown.
54
+ */
55
+ function mountClickmapOverlay(app) {
56
+ activeApp = app;
57
+ if (typeof window !== "undefined" && !tokenListenerAttached) {
58
+ tokenListenerAttached = true;
59
+ window.addEventListener(CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT, tryOpenOverlay);
60
+ }
61
+ if (canMountIntoDom() && consumeResumeSentinel()) tryOpenOverlay();
62
+ return () => {
63
+ if (activeApp !== app) return;
64
+ activeApp = null;
65
+ openGeneration++;
66
+ activeOverlayCleanup?.();
67
+ };
68
+ }
69
+
70
+ //#endregion
71
+ export { mountClickmapOverlay };
72
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../src/clickmap/index.ts"],"sourcesContent":["\n//===========================================\n// THIS FILE IS AUTO-GENERATED FROM TEMPLATE. DO NOT EDIT IT DIRECTLY UNLESS YOU ALSO EDIT THE CORRESPONDING FILE IN packages/template\n//===========================================\n\nimport {\n CLICKMAP_OVERLAY_RESUME_STORAGE_KEY,\n CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT,\n} from \"@hexclave/shared/dist/utils/analytics-clickmap-overlay\";\nimport { captureError } from \"@hexclave/shared/dist/utils/errors\";\nimport { runAsynchronously } from \"@hexclave/shared/dist/utils/promises\";\nimport { canMountIntoDom } from \"../in-page-ui/dom\";\nimport type { StackClientApp } from \"../lib/hexclave-app\";\nimport type { openClickmapOverlay as OpenClickmapOverlayFn } from \"./clickmap-core\";\n\n// While the overlay is open it drops a sentinel into sessionStorage on unload\n// (see clickmap-core); consuming it here reopens the clickmap on the next page\n// so the user picks up where they left off.\nfunction consumeResumeSentinel(): boolean {\n try {\n if (sessionStorage.getItem(CLICKMAP_OVERLAY_RESUME_STORAGE_KEY) !== '1') return false;\n sessionStorage.removeItem(CLICKMAP_OVERLAY_RESUME_STORAGE_KEY);\n return true;\n } catch {\n return false;\n }\n}\n\nlet activeApp: StackClientApp<true> | null = null;\nlet activeOverlayCleanup: (() => void) | null = null;\nlet openGeneration = 0;\nlet tokenListenerAttached = false;\n\nlet openClickmapOverlayPromise: Promise<typeof OpenClickmapOverlayFn> | null = null;\nfunction loadOpenClickmapOverlay(): Promise<typeof OpenClickmapOverlayFn> {\n if (!openClickmapOverlayPromise) {\n openClickmapOverlayPromise = import(\"./clickmap-core\").then(m => m.openClickmapOverlay).catch((err) => {\n openClickmapOverlayPromise = null;\n throw err;\n });\n }\n return openClickmapOverlayPromise;\n}\n\nfunction tryOpenOverlay() {\n // Already open: the panel listens for the token event itself and refetches.\n if (activeOverlayCleanup || !activeApp || !canMountIntoDom()) return;\n\n const generation = ++openGeneration;\n const app = activeApp;\n\n runAsynchronously(async () => {\n const openClickmapOverlay = await loadOpenClickmapOverlay();\n if (generation !== openGeneration) return;\n if (activeOverlayCleanup || activeApp !== app || !canMountIntoDom()) return;\n activeOverlayCleanup = openClickmapOverlay(app, () => {\n activeOverlayCleanup = null;\n });\n }, {\n noErrorLogging: true,\n onError: (error) => {\n captureError(\"clickmap-mount\", error);\n },\n });\n}\n\n/**\n * Mounts the clickmap overlay listener on the page.\n *\n * The clickmap is fully independent from the dev tool. It has no ambient UI:\n * nothing renders until a dashboard-minted token is handed over (the\n * CLICKMAP_OVERLAY_TOKEN_UPDATED event fired by the dashboard's console\n * snippet) or a navigation-resume sentinel is present — only then is the\n * actual overlay code lazily loaded and shown.\n */\nexport function mountClickmapOverlay(app: StackClientApp<true>): () => void {\n activeApp = app;\n\n if (typeof window !== 'undefined' && !tokenListenerAttached) {\n tokenListenerAttached = true;\n window.addEventListener(CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT, tryOpenOverlay);\n }\n\n if (canMountIntoDom() && consumeResumeSentinel()) {\n tryOpenOverlay();\n }\n\n return () => {\n if (activeApp !== app) return;\n activeApp = null;\n openGeneration++;\n activeOverlayCleanup?.();\n };\n}\n\n"],"mappings":";;;;;;AAkBA,SAAS,wBAAiC;AACxC,KAAI;AACF,MAAI,eAAe,QAAQ,oCAAoC,KAAK,IAAK,QAAO;AAChF,iBAAe,WAAW,oCAAoC;AAC9D,SAAO;SACD;AACN,SAAO;;;AAIX,IAAI,YAAyC;AAC7C,IAAI,uBAA4C;AAChD,IAAI,iBAAiB;AACrB,IAAI,wBAAwB;AAE5B,IAAI,6BAA2E;AAC/E,SAAS,0BAAiE;AACxE,KAAI,CAAC,2BACH,8BAA6B,OAAO,sBAAmB,MAAK,MAAK,EAAE,oBAAoB,CAAC,OAAO,QAAQ;AACrG,+BAA6B;AAC7B,QAAM;GACN;AAEJ,QAAO;;AAGT,SAAS,iBAAiB;AAExB,KAAI,wBAAwB,CAAC,aAAa,CAAC,iBAAiB,CAAE;CAE9D,MAAM,aAAa,EAAE;CACrB,MAAM,MAAM;AAEZ,mBAAkB,YAAY;EAC5B,MAAM,sBAAsB,MAAM,yBAAyB;AAC3D,MAAI,eAAe,eAAgB;AACnC,MAAI,wBAAwB,cAAc,OAAO,CAAC,iBAAiB,CAAE;AACrE,yBAAuB,oBAAoB,WAAW;AACpD,0BAAuB;IACvB;IACD;EACD,gBAAgB;EAChB,UAAU,UAAU;AAClB,gBAAa,kBAAkB,MAAM;;EAExC,CAAC;;;;;;;;;;;AAYJ,SAAgB,qBAAqB,KAAuC;AAC1E,aAAY;AAEZ,KAAI,OAAO,WAAW,eAAe,CAAC,uBAAuB;AAC3D,0BAAwB;AACxB,SAAO,iBAAiB,sCAAsC,eAAe;;AAG/E,KAAI,iBAAiB,IAAI,uBAAuB,CAC9C,iBAAgB;AAGlB,cAAa;AACX,MAAI,cAAc,IAAK;AACvB,cAAY;AACZ;AACA,0BAAwB"}
@@ -4,7 +4,7 @@ import { ApiKey, ApiKeyCreationOptions, ApiKeyType } from "../lib/hexclave-app/a
4
4
  //#region src/components/api-key-dialogs.d.ts
5
5
  declare const neverInMs: number;
6
6
  declare const expiresInOptions: {
7
- readonly [x: number]: "1 day" | "7 days" | "30 days" | "90 days" | "1 year" | "Never";
7
+ readonly [x: number]: "Never" | "1 day" | "7 days" | "30 days" | "90 days" | "1 year";
8
8
  };
9
9
  /**
10
10
  * Dialog for creating a new API key
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
- import { ActionDialog, Button, CopyField, Input, Label, Typography } from "@hexclave/ui";
5
- import { useState } from "react";
6
- import { useUser } from "../index.js";
7
- import { useTranslation } from "../lib/translations.js";
8
- import { jsx, jsxs } from "react/jsx-runtime";
9
4
  import { captureError } from "@hexclave/shared/dist/utils/errors";
10
5
  import { yupResolver } from "@hookform/resolvers/yup";
11
6
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
7
+ import { ActionDialog, Button, CopyField, Input, Label, Typography } from "@hexclave/ui";
8
+ import { useState } from "react";
12
9
  import { useForm } from "react-hook-form";
10
+ import { useUser } from "../index.js";
13
11
  import { FormWarningText } from "../components/elements/form-warning.js";
12
+ import { useTranslation } from "../lib/translations.js";
13
+ import { jsx, jsxs } from "react/jsx-runtime";
14
14
 
15
15
  //#region src/components/api-key-dialogs.tsx
16
16
  const neverInMs = 1e3 * 60 * 60 * 24 * 365 * 200;
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { yupResolver } from "@hookform/resolvers/yup";
5
+ import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
5
7
  import { useState } from "react";
8
+ import { useForm } from "react-hook-form";
6
9
  import { useStackApp } from "../index.js";
7
10
  import { useTranslation } from "../lib/translations.js";
8
11
  import { jsx, jsxs } from "react/jsx-runtime";
9
- import { yupResolver } from "@hookform/resolvers/yup";
10
- import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
11
- import { useForm } from "react-hook-form";
12
12
  import { FormWarningText } from "./elements/form-warning.js";
13
13
  import { StyledLink } from "./link.js";
14
14
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { yupResolver } from "@hookform/resolvers/yup";
5
+ import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
6
  import { Button, Input, Label, PasswordInput } from "@hexclave/ui";
5
7
  import React, { useState } from "react";
8
+ import { useForm } from "react-hook-form";
6
9
  import { useTranslation } from "../lib/translations.js";
7
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
- import { useStackApp } from "../lib/hooks.js";
9
- import { yupResolver } from "@hookform/resolvers/yup";
10
- import { passwordSchema, strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
11
- import { useForm } from "react-hook-form";
11
+ import { FormWarningText } from "./elements/form-warning.js";
12
12
  import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
13
13
  import * as yup from "yup";
14
- import { FormWarningText } from "./elements/form-warning.js";
14
+ import { useStackApp } from "../lib/hooks.js";
15
15
 
16
16
  //#region src/components/credential-sign-up.tsx
17
17
  function CredentialSignUp(props) {
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
 
3
3
  import { Button, Typography, cn } from "@hexclave/ui";
4
- import { XIcon } from "lucide-react";
5
4
  import React from "react";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ import { XIcon } from "lucide-react";
7
7
  import { useHash } from "@hexclave/shared/dist/hooks/use-hash";
8
8
  import { useStackApp } from "../../index.js";
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { Avatar, AvatarFallback, AvatarImage } from "@hexclave/ui";
2
- import { UserRound } from "lucide-react";
3
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { UserRound } from "lucide-react";
4
4
 
5
5
  //#region src/components/elements/user-avatar.tsx
6
6
  const defaultSize = 34;
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { yupResolver } from "@hookform/resolvers/yup";
5
+ import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
6
  import { Button, Input, InputOTP, InputOTPGroup, InputOTPSlot, Label, Typography } from "@hexclave/ui";
5
7
  import { useEffect, useState } from "react";
8
+ import { useForm } from "react-hook-form";
6
9
  import { useTranslation } from "../lib/translations.js";
7
10
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { KnownErrors } from "@hexclave/shared";
9
- import { useStackApp } from "../lib/hooks.js";
10
- import { yupResolver } from "@hookform/resolvers/yup";
11
- import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
12
- import { useForm } from "react-hook-form";
13
11
  import { FormWarningText } from "./elements/form-warning.js";
12
+ import { useStackApp } from "../lib/hooks.js";
13
+ import { KnownErrors } from "@hexclave/shared";
14
14
 
15
15
  //#region src/components/magic-link-sign-in.tsx
16
16
  function OTP(props) {
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { Typography } from "@hexclave/ui";
4
4
  import { jsx } from "react/jsx-runtime";
5
- import { useTranslation } from "../../lib/translations.js";
6
5
  import { useStackApp } from "../../index.js";
7
6
  import { MessageCard } from "./message-card.js";
7
+ import { useTranslation } from "../../lib/translations.js";
8
8
 
9
9
  //#region src/components/message-cards/predefined-message-card.tsx
10
10
  function PredefinedMessageCard({ type, fullPage = false }) {
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
 
3
3
  import { Button } from "@hexclave/ui";
4
- import { KeyRound } from "lucide-react";
5
4
  import { useId } from "react";
6
5
  import { useStackApp } from "../index.js";
7
6
  import { useTranslation } from "../lib/translations.js";
8
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { KeyRound } from "lucide-react";
9
9
 
10
10
  //#region src/components/passkey-button.tsx
11
11
  function PasskeyButton({ type }) {
@@ -1,9 +1,9 @@
1
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
2
  import { Button, Slider, Typography } from "@hexclave/ui";
3
- import { Upload } from "lucide-react";
4
3
  import { useCallback, useState } from "react";
5
4
  import { useTranslation } from "../lib/translations.js";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
+ import { Upload } from "lucide-react";
7
7
  import { fileToBase64 } from "@hexclave/shared/dist/utils/base64";
8
8
  import imageCompression from "browser-image-compression";
9
9
  import Cropper from "react-easy-crop";
@@ -1,6 +1,6 @@
1
1
  import { Avatar, AvatarImage, Typography } from "@hexclave/ui";
2
- import { User2 } from "lucide-react";
3
2
  import { jsx } from "react/jsx-runtime";
3
+ import { User2 } from "lucide-react";
4
4
 
5
5
  //#region src/components/team-icon.tsx
6
6
  function TeamIcon(props) {
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
4
5
  import { Button, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Skeleton, Typography, cn } from "@hexclave/ui";
5
- import { PlusCircle, Settings } from "lucide-react";
6
6
  import { Suspense, useMemo } from "react";
7
7
  import { useStackApp, useUser } from "../index.js";
8
8
  import { useTranslation } from "../lib/translations.js";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
- import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
10
+ import { PlusCircle, Settings } from "lucide-react";
11
11
  import { TeamIcon } from "./team-icon.js";
12
12
 
13
13
  //#region src/components/team-switcher.tsx
@@ -2,11 +2,11 @@
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, Skeleton, Typography } from "@hexclave/ui";
5
- import { CircleUser, LogIn, LogOut, SunMoon, UserPlus } from "lucide-react";
6
5
  import React, { Suspense } from "react";
7
6
  import { useStackApp, useUser } from "../index.js";
8
7
  import { useTranslation } from "../lib/translations.js";
9
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
+ import { CircleUser, LogIn, LogOut, SunMoon, UserPlus } from "lucide-react";
10
10
  import { UserAvatar } from "./elements/user-avatar.js";
11
11
 
12
12
  //#region src/components/user-button.tsx
@@ -1,8 +1,8 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
2
3
  import { ActionCell, Badge, Button, Skeleton, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
3
4
  import { useEffect, useState } from "react";
4
5
  import { jsx, jsxs } from "react/jsx-runtime";
5
- import { captureError } from "@hexclave/shared/dist/utils/errors";
6
6
  import { fromNow } from "@hexclave/shared/dist/utils/dates";
7
7
  import { useUser } from "../../../lib/hooks.js";
8
8
  import { useTranslation } from "../../../lib/translations.js";
@@ -1,7 +1,7 @@
1
1
  import { Button, Input, Typography } from "@hexclave/ui";
2
- import { Edit } from "lucide-react";
3
2
  import { useState } from "react";
4
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+ import { Edit } from "lucide-react";
5
5
  import { useTranslation } from "../../lib/translations.js";
6
6
 
7
7
  //#region src/components-page/account-settings/editable-text.tsx
@@ -1,10 +1,10 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
- import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
3
- import { useEffect, useState } from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
+ import { ActionCell, Badge, Button, Input, Table, TableBody, TableCell, TableRow, Typography } from "@hexclave/ui";
5
+ import { useEffect, useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { useUser } from "../../../lib/hooks.js";
9
9
  import { useTranslation } from "../../../lib/translations.js";
10
10
  import { KnownErrors } from "@hexclave/shared/dist/known-errors";
@@ -1,8 +1,8 @@
1
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
+ import { throwErr } from "@hexclave/shared/dist/utils/errors";
2
3
  import { Button, Input, Typography } from "@hexclave/ui";
3
4
  import { useEffect, useState } from "react";
4
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { throwErr } from "@hexclave/shared/dist/utils/errors";
6
6
  import { useStackApp, useUser } from "../../../lib/hooks.js";
7
7
  import { useTranslation } from "../../../lib/translations.js";
8
8
  import { createTOTPKeyURI, verifyTOTP } from "@oslojs/otp";
@@ -1,10 +1,10 @@
1
1
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
- import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
3
- import { useState } from "react";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
+ import { useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  import { getPasswordError } from "@hexclave/shared/dist/helpers/password";
9
9
  import * as yup from "yup";
10
10
  import { useUser } from "../../../lib/hooks.js";
@@ -1,7 +1,7 @@
1
+ import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
1
2
  import { Button } from "@hexclave/ui";
2
3
  import { useState } from "react";
3
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
- import { HexclaveAssertionError } from "@hexclave/shared/dist/utils/errors";
5
5
  import { useStackApp, useUser } from "../../../lib/hooks.js";
6
6
  import { useTranslation } from "../../../lib/translations.js";
7
7
  import { CreateApiKeyDialog, ShowApiKeyDialog } from "../../../components/api-key-dialogs.js";
@@ -1,10 +1,10 @@
1
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
- import { Button, Input } from "@hexclave/ui";
3
- import { useState } from "react";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
2
  import { yupResolver } from "@hookform/resolvers/yup";
6
3
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input } from "@hexclave/ui";
5
+ import { useState } from "react";
7
6
  import { useForm } from "react-hook-form";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { useStackApp, useUser } from "../../../lib/hooks.js";
9
9
  import { useTranslation } from "../../../lib/translations.js";
10
10
  import { PageLayout } from "../page-layout.js";
@@ -1,11 +1,11 @@
1
1
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
- import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
3
- import { Trash } from "lucide-react";
4
- import { useEffect, useState } from "react";
5
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
2
  import { yupResolver } from "@hookform/resolvers/yup";
7
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
+ import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
5
+ import { useEffect, useState } from "react";
8
6
  import { useForm } from "react-hook-form";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { Trash } from "lucide-react";
9
9
  import { useUser } from "../../../lib/hooks.js";
10
10
  import { useTranslation } from "../../../lib/translations.js";
11
11
  import { FormWarningText } from "../../../components/elements/form-warning.js";
@@ -1,6 +1,6 @@
1
- import * as lucide_react0 from "lucide-react";
2
1
  import React from "react";
3
2
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as lucide_react0 from "lucide-react";
4
4
 
5
5
  //#region src/components-page/account-settings.d.ts
6
6
  declare const iconMap: {
@@ -2,13 +2,14 @@
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Skeleton, Typography } from "@hexclave/ui";
5
- import { Bell, CirclePlus, Contact, CreditCard, Key, Monitor, Settings, ShieldCheck } from "lucide-react";
6
5
  import React, { Suspense, useEffect, useMemo, useRef, useState } from "react";
7
6
  import { useStackApp, useUser } from "../index.js";
7
+ import { useTranslation } from "../lib/translations.js";
8
+ import { jsx, jsxs } from "react/jsx-runtime";
9
+ import { Bell, CirclePlus, Contact, CreditCard, Key, Monitor, Settings, ShieldCheck } from "lucide-react";
8
10
  import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
9
11
  import { SidebarLayout } from "../components/elements/sidebar-layout.js";
10
12
  import { TeamIcon } from "../components/team-icon.js";
11
- import { useTranslation } from "../lib/translations.js";
12
13
  import { ActiveSessionsPage } from "./account-settings/active-sessions/active-sessions-page.js";
13
14
  import { ApiKeysPage } from "./account-settings/api-keys/api-keys-page.js";
14
15
  import { EmailsAndAuthPage } from "./account-settings/email-and-auth/email-and-auth-page.js";
@@ -18,7 +19,6 @@ import { PaymentsPage } from "./account-settings/payments/payments-page.js";
18
19
  import { SettingsPage } from "./account-settings/settings/settings-page.js";
19
20
  import { TeamCreationPage } from "./account-settings/teams/team-creation-page.js";
20
21
  import { TeamPage } from "./account-settings/teams/team-page.js";
21
- import { jsx, jsxs } from "react/jsx-runtime";
22
22
 
23
23
  //#region src/components-page/account-settings.tsx
24
24
  const iconMap = {
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
5
  import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
5
6
  import { Suspense, useMemo } from "react";
6
7
  import { useStackApp, useUser } from "../index.js";
7
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
8
8
  import { useTranslation } from "../lib/translations.js";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { KnownError } from "@hexclave/shared";
11
- import { captureError } from "@hexclave/shared/dist/utils/errors";
11
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
12
12
  import { use } from "@hexclave/shared/dist/utils/react";
13
13
  import { CredentialSignIn } from "../components/credential-sign-in.js";
14
14
  import { CredentialSignUp } from "../components/credential-sign-up.js";
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
4
5
  import { Typography } from "@hexclave/ui";
5
6
  import { useCallback, useEffect, useRef, useState } from "react";
6
7
  import { useTranslation } from "../lib/translations.js";
7
8
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { MessageCard } from "../components/message-cards/message-card.js";
9
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
9
  import { useStackApp } from "../lib/hooks.js";
10
+ import { MessageCard } from "../components/message-cards/message-card.js";
11
11
 
12
12
  //#region src/components-page/cli-auth-confirm.tsx
13
13
  async function postCliAuthComplete(app, body) {
@@ -1,9 +1,9 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
2
3
  import React, { act } from "react";
3
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
5
  import { createRoot } from "react-dom/client";
5
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
7
7
  import { HexclaveContext } from "../providers/hexclave-context.js";
8
8
  import { useCliAuthConfirmation } from "./cli-auth-confirm.js";
9
9
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
2
 
3
+ import { throwErr } from "@hexclave/shared/dist/utils/errors";
3
4
  import React from "react";
4
5
  import { useStackApp, useUser } from "../index.js";
5
6
  import { useTranslation } from "../lib/translations.js";
6
7
  import { jsx } from "react/jsx-runtime";
7
8
  import { KnownErrors } from "@hexclave/shared";
8
- import { throwErr } from "@hexclave/shared/dist/utils/errors";
9
9
  import { MessageCard as MessageCard$1 } from "../components/message-cards/message-card.js";
10
10
 
11
11
  //#region src/components-page/email-verification.tsx
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password.d.ts","names":[],"sources":["../../../src/components-page/forgot-password.tsx"],"mappings":";;;iBAqBgB,kBAAA,CAAA;EAAqB;AAAA;EAAY,MAAA;AAAA,IAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBAgDtD,cAAA,CAAe,KAAA;EAAS,QAAA;AAAA,IAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"forgot-password.d.ts","names":[],"sources":["../../../src/components-page/forgot-password.tsx"],"mappings":";;;iBAqBgB,kBAAA,CAAA;EAAqB;AAAA;EAAY,MAAA;AAAA,IAAqB,kBAAA,CAAA,GAAA,CAAA,OAAA;AAAA,iBA+CtD,cAAA,CAAe,KAAA;EAAS,QAAA;AAAA,IAAoB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,18 +1,18 @@
1
1
  'use client';
2
2
 
3
3
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
+ import { yupResolver } from "@hookform/resolvers/yup";
5
+ import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
6
  import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
5
7
  import { useState } from "react";
8
+ import { useForm } from "react-hook-form";
6
9
  import { useStackApp, useUser } from "../index.js";
7
- import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
10
+ import { FormWarningText } from "../components/elements/form-warning.js";
8
11
  import { useTranslation } from "../lib/translations.js";
9
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
+ import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
10
14
  import { StyledLink } from "../components/link.js";
11
15
  import { PredefinedMessageCard } from "../components/message-cards/predefined-message-card.js";
12
- import { yupResolver } from "@hookform/resolvers/yup";
13
- import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
14
- import { useForm } from "react-hook-form";
15
- import { FormWarningText } from "../components/elements/form-warning.js";
16
16
 
17
17
  //#region src/components-page/forgot-password.tsx
18
18
  function ForgotPasswordForm({ onSent }) {
@@ -44,8 +44,7 @@ function ForgotPasswordForm({ onSent }) {
44
44
  id: "email",
45
45
  type: "email",
46
46
  autoComplete: "email",
47
- ...register("email"),
48
- onChange: () => clearErrors("email")
47
+ ...register("email", { onChange: () => clearErrors("email") })
49
48
  }),
50
49
  /* @__PURE__ */ jsx(FormWarningText, { text: errors.email?.message?.toString() }),
51
50
  /* @__PURE__ */ jsx(Button, {