uapp-communication-sdk 1.0.0-dev.101

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 (2272) hide show
  1. package/ChatHead-148558a8-OzyqHKjD.js +12 -0
  2. package/ChatHead-148558a8-gdOGhIok.cjs +2 -0
  3. package/CloudflareMeetingExperience-15Abwl_o.cjs +2 -0
  4. package/CloudflareMeetingExperience-DEoxCj-1.js +102 -0
  5. package/ExperienceError-BMPPV7Rk.js +22 -0
  6. package/ExperienceError-D_VBeqGy.cjs +2 -0
  7. package/README.md +747 -0
  8. package/ResizeObserver.es-02979d4e-08-m4hFC.cjs +2 -0
  9. package/ResizeObserver.es-02979d4e-7ifz085B.js +278 -0
  10. package/TextMessage-2b375fe4-BWbcMohK.js +25 -0
  11. package/TextMessage-2b375fe4-Bt0VNPuV.cjs +4 -0
  12. package/ZoomMeetingExperience-CEl73r3S.cjs +1413 -0
  13. package/ZoomMeetingExperience-waSxkv-U.js +219630 -0
  14. package/browser-24d8ab3e-Dc1oiNSF.cjs +2 -0
  15. package/browser-24d8ab3e-NtKNY0W9.js +6 -0
  16. package/communication-sdk.cjs +9 -0
  17. package/communication-sdk.js +26804 -0
  18. package/communication-sdk.standalone.js +2101 -0
  19. package/date-b1f78dea-CMBworrP.js +18 -0
  20. package/date-b1f78dea-DZ5M_dXV.cjs +2 -0
  21. package/debounce-0169a54d-BTbObJU4.js +105 -0
  22. package/debounce-0169a54d-D2rXxKxS.cjs +2 -0
  23. package/debounce-d193e708-6SsBoYvf.cjs +2 -0
  24. package/debounce-d193e708-D7pSN-I8.js +78 -0
  25. package/es-CsZYZpOU.js +60349 -0
  26. package/es-zyxbWpTB.cjs +1029 -0
  27. package/file-6114f1a9-BqdWZ5p6.js +33 -0
  28. package/file-6114f1a9-tHgu1ZLQ.cjs +2 -0
  29. package/floating-ui.dom.esm-21c3d54e-BPpyJeSs.js +837 -0
  30. package/floating-ui.dom.esm-21c3d54e-BU9X0ai0.cjs +2 -0
  31. package/full-screen-d36ffc68-BdzItNrC.cjs +2 -0
  32. package/full-screen-d36ffc68-DTjfmPnC.js +10 -0
  33. package/grid-a3ca5a3e-Bb63kX0E.js +75 -0
  34. package/grid-a3ca5a3e-Be7O6bWJ.cjs +2 -0
  35. package/hark-6327d91e-BC3gpCxb.js +91 -0
  36. package/hark-6327d91e-Myicfflm.cjs +2 -0
  37. package/icon.jpg +0 -0
  38. package/index-3f51790f-Dyjz_XrU.js +139 -0
  39. package/index-3f51790f-w6gq2XfJ.cjs +2 -0
  40. package/index-8be19fcf-RtyrL2rS.cjs +2 -0
  41. package/index-8be19fcf-cQ0uyH2h.js +59 -0
  42. package/join-error-e87be64a-Bp5K1v67.cjs +2 -0
  43. package/join-error-e87be64a-Bxi3HnXN.js +22 -0
  44. package/jsx-runtime-DkX7fJRX.js +495 -0
  45. package/jsx-runtime-VQ627FC0.cjs +17 -0
  46. package/lead management v1.svg +40 -0
  47. package/meetings-B7mnw5UW.cjs +2 -0
  48. package/meetings-DbdB2N77.js +5943 -0
  49. package/merge-d1e6bb2e-CLFPYFC_.cjs +2 -0
  50. package/merge-d1e6bb2e-Z4TT7NcY.js +302 -0
  51. package/package.json +31 -0
  52. package/realtimekit-call-media-CbmaiBD9.cjs +2 -0
  53. package/realtimekit-call-media-Ld5BAFoJ.js +76 -0
  54. package/rtk-ai-toggle.entry-DVrRSGA9.cjs +2 -0
  55. package/rtk-ai-toggle.entry-OBio-KNg.js +49 -0
  56. package/rtk-ai-transcriptions.entry-VmDdXptH.js +103 -0
  57. package/rtk-ai-transcriptions.entry-iRAyUe3j.cjs +3 -0
  58. package/rtk-ai_3.entry-DZdnTUew.js +170 -0
  59. package/rtk-ai_3.entry-SO0XPWjs.cjs +4 -0
  60. package/rtk-audio-grid.entry-AEFQMHT6.js +79 -0
  61. package/rtk-audio-grid.entry-C6NvAzqI.cjs +3 -0
  62. package/rtk-audio-tile.entry-DNqDI1ba.cjs +2 -0
  63. package/rtk-audio-tile.entry-lRi3-4R4.js +70 -0
  64. package/rtk-audio-visualizer_4.entry-Bq-dYs3k.cjs +2 -0
  65. package/rtk-audio-visualizer_4.entry-xfJm5ZS2.js +274 -0
  66. package/rtk-avatar_26.entry-BwjFPpy0.cjs +202 -0
  67. package/rtk-avatar_26.entry-DbUwLoJm.js +1827 -0
  68. package/rtk-breakout-room-manager_3.entry-C2lVHKZR.js +357 -0
  69. package/rtk-breakout-room-manager_3.entry-CzDVrIM5.cjs +3 -0
  70. package/rtk-breakout-rooms-manager_9.entry-CV9rgQ8j.cjs +4 -0
  71. package/rtk-breakout-rooms-manager_9.entry-CvoYR_UV.js +816 -0
  72. package/rtk-breakout-rooms-toggle.entry-CfevWxty.js +51 -0
  73. package/rtk-breakout-rooms-toggle.entry-DfUwvbqC.cjs +2 -0
  74. package/rtk-camera-selector_2.entry-BYalbIF0.cjs +285 -0
  75. package/rtk-camera-selector_2.entry-DCxgi-gT.js +163 -0
  76. package/rtk-camera-toggle.entry-BfTHfTcP.js +95 -0
  77. package/rtk-camera-toggle.entry-CRNKUyEU.cjs +2 -0
  78. package/rtk-caption-toggle.entry-C7p1F6Vq.js +56 -0
  79. package/rtk-caption-toggle.entry-D2-u4lUj.cjs +2 -0
  80. package/rtk-chat-composer-ui.entry-C-GxLGZQ.cjs +4 -0
  81. package/rtk-chat-composer-ui.entry-CQuFQXI2.js +284 -0
  82. package/rtk-chat-message.entry-BIHo3z8_.js +130 -0
  83. package/rtk-chat-message.entry-mdtGZQIw.cjs +2 -0
  84. package/rtk-chat-messages-ui.entry-BufAJNDa.cjs +3 -0
  85. package/rtk-chat-messages-ui.entry-CdWLSTD3.js +172 -0
  86. package/rtk-chat-search-results.entry-CelDuopX.js +36 -0
  87. package/rtk-chat-search-results.entry-D1xJf9ya.cjs +2 -0
  88. package/rtk-chat-selector-ui.entry-S0GjqNHM.cjs +3 -0
  89. package/rtk-chat-selector-ui.entry-qMtwX3VI.js +67 -0
  90. package/rtk-chat-toggle.entry-BOOsVdeB.cjs +2 -0
  91. package/rtk-chat-toggle.entry-CASwiW_Y.js +80 -0
  92. package/rtk-clock.entry-B7wLY0Ej.js +72 -0
  93. package/rtk-clock.entry-B_0IN3dc.cjs +2 -0
  94. package/rtk-controlbar-button.entry-B7QgRQjJ.js +47 -0
  95. package/rtk-controlbar-button.entry-gFNDA_mn.cjs +5 -0
  96. package/rtk-controlbar.entry-93Z2xx45.cjs +2 -0
  97. package/rtk-controlbar.entry-LhIvQ0z6.js +35 -0
  98. package/rtk-debugger-audio_4.entry-DhZDHMzq.js +332 -0
  99. package/rtk-debugger-audio_4.entry-kv-N7GJ-.cjs +6 -0
  100. package/rtk-debugger-toggle.entry-E7NszqGx.cjs +2 -0
  101. package/rtk-debugger-toggle.entry-cbmO71xv.js +38 -0
  102. package/rtk-dialog-manager.entry-BQW-m5CC.js +152 -0
  103. package/rtk-dialog-manager.entry-zxRgOwOI.cjs +2 -0
  104. package/rtk-dialog.entry-CqHtEY7c.cjs +2 -0
  105. package/rtk-dialog.entry-ZEU9JtT8.js +54 -0
  106. package/rtk-ended-screen.entry-BnvjUAgP.cjs +2 -0
  107. package/rtk-ended-screen.entry-gbdikjgw.js +73 -0
  108. package/rtk-file-dropzone.entry-BJwpZhT2.js +39 -0
  109. package/rtk-file-dropzone.entry-fPsoD4pP.cjs +2 -0
  110. package/rtk-file-message_3.entry-Clp2m-p6.cjs +2 -0
  111. package/rtk-file-message_3.entry-DPmUIUTX.js +190 -0
  112. package/rtk-fullscreen-toggle.entry-9M8mf4eD.cjs +2 -0
  113. package/rtk-fullscreen-toggle.entry-Cm374dN_.js +40 -0
  114. package/rtk-grid-pagination.entry-DFm3Iodb.cjs +2 -0
  115. package/rtk-grid-pagination.entry-WwwQ4fcv.js +93 -0
  116. package/rtk-grid.entry-CWK4EGAc.js +190 -0
  117. package/rtk-grid.entry-CuC69sIo.cjs +2 -0
  118. package/rtk-header.entry-DaEYIzCt.cjs +2 -0
  119. package/rtk-header.entry-F7DpoWxc.js +35 -0
  120. package/rtk-idle-screen.entry-DBqSQ8HC.js +75 -0
  121. package/rtk-idle-screen.entry-Dfd1Qdlx.cjs +2 -0
  122. package/rtk-image-viewer.entry-5Z1lBL8A.js +68 -0
  123. package/rtk-image-viewer.entry-Db-p_k_T.cjs +3 -0
  124. package/rtk-information-tooltip.entry-CyTdSzHI.js +34 -0
  125. package/rtk-information-tooltip.entry-Dmvc71Vw.cjs +2 -0
  126. package/rtk-leave-button.entry-B0TnzoX-.cjs +2 -0
  127. package/rtk-leave-button.entry-D3fh2Aw6.js +37 -0
  128. package/rtk-livestream-indicator_3.entry-C6pB6ADp.cjs +47 -0
  129. package/rtk-livestream-indicator_3.entry-P5ht8aip.js +18768 -0
  130. package/rtk-livestream-toggle.entry-CI3ITTf5.cjs +2 -0
  131. package/rtk-livestream-toggle.entry-Olo2C18X.js +87 -0
  132. package/rtk-logo.entry-BzLSXiww.cjs +2 -0
  133. package/rtk-logo.entry-CxNectDO.js +47 -0
  134. package/rtk-meeting-title.entry-BFor3DOV.cjs +2 -0
  135. package/rtk-meeting-title.entry-BIDLog9O.js +31 -0
  136. package/rtk-message-list-view.entry-C1M13eK5.cjs +3 -0
  137. package/rtk-message-list-view.entry-Df0isnx0.js +157 -0
  138. package/rtk-mic-toggle.entry-D-yCYv8A.js +95 -0
  139. package/rtk-mic-toggle.entry-DClZvBQd.cjs +2 -0
  140. package/rtk-mixed-grid.entry-DPwmH1lF.cjs +2 -0
  141. package/rtk-mixed-grid.entry-DwNRXcoo.js +174 -0
  142. package/rtk-more-toggle.entry-DrUAS0Gc.cjs +2 -0
  143. package/rtk-more-toggle.entry-tsi4ffXn.js +59 -0
  144. package/rtk-mute-all-button.entry-B93B0noJ.cjs +2 -0
  145. package/rtk-mute-all-button.entry-CtCbXCqU.js +52 -0
  146. package/rtk-name-tag.entry-CQvXGZxI.cjs +2 -0
  147. package/rtk-name-tag.entry-Cg8Gz-X6.js +44 -0
  148. package/rtk-network-indicator.entry-Bo9m9X5G.js +51 -0
  149. package/rtk-network-indicator.entry-Cqf_kWaj.cjs +2 -0
  150. package/rtk-notification.entry-CjjqXW_D.cjs +2 -0
  151. package/rtk-notification.entry-DlNMwa-_.js +76 -0
  152. package/rtk-notifications.entry-C8o2lBdj.js +353 -0
  153. package/rtk-notifications.entry-nHc1-KcQ.cjs +2 -0
  154. package/rtk-participant-count.entry-CCERDgnn.cjs +2 -0
  155. package/rtk-participant-count.entry-DcXyannJ.js +48 -0
  156. package/rtk-participant-setup.entry-Bv37TykR.cjs +2 -0
  157. package/rtk-participant-setup.entry-DigTtvFz.js +68 -0
  158. package/rtk-participant_2.entry-Cy0erP_B.cjs +2 -0
  159. package/rtk-participant_2.entry-DglsZGdC.js +322 -0
  160. package/rtk-participants-audio.entry-BGzXAn1F.cjs +4 -0
  161. package/rtk-participants-audio.entry-CqgkssV2.js +112 -0
  162. package/rtk-participants-stage-list_4.entry-DrbG5M4g.cjs +2 -0
  163. package/rtk-participants-stage-list_4.entry-WRBze1hg.js +331 -0
  164. package/rtk-participants-toggle.entry-Bp31E5bu.js +79 -0
  165. package/rtk-participants-toggle.entry-CTBsQj33.cjs +2 -0
  166. package/rtk-participants.entry-BP1oZ1qQ.cjs +3 -0
  167. package/rtk-participants.entry-D1ONRYNt.js +121 -0
  168. package/rtk-pip-toggle.entry-B4Euq2fG.js +47 -0
  169. package/rtk-pip-toggle.entry-C0fPttaY.cjs +2 -0
  170. package/rtk-plugin-main_2.entry-DCeIdf9M.cjs +3 -0
  171. package/rtk-plugin-main_2.entry-Dbeo8Vxq.js +111 -0
  172. package/rtk-plugins-toggle.entry-6R02C59I.cjs +2 -0
  173. package/rtk-plugins-toggle.entry-fIHatyL0.js +68 -0
  174. package/rtk-poll_2.entry-BTsB9GS5.js +148 -0
  175. package/rtk-poll_2.entry-BebrZ256.cjs +4 -0
  176. package/rtk-polls-toggle.entry-BYtJV_3X.js +73 -0
  177. package/rtk-polls-toggle.entry-BkR9BeEP.cjs +2 -0
  178. package/rtk-recording-indicator.entry-CE2s78p4.cjs +2 -0
  179. package/rtk-recording-indicator.entry-DCI4Fmk6.js +52 -0
  180. package/rtk-recording-toggle.entry-CCi-8L4J.js +103 -0
  181. package/rtk-recording-toggle.entry-CjMtfzWA.cjs +2 -0
  182. package/rtk-screen-share-toggle.entry-B6YehzIs.js +119 -0
  183. package/rtk-screen-share-toggle.entry-CiO__9E7.cjs +2 -0
  184. package/rtk-screenshare-view.entry-CS5aEBpa.cjs +296 -0
  185. package/rtk-screenshare-view.entry-DDmqE2sZ.js +128 -0
  186. package/rtk-settings-audio_2.entry-BFE1i57F.cjs +2 -0
  187. package/rtk-settings-audio_2.entry-BHibrom8.js +118 -0
  188. package/rtk-settings-toggle.entry-ChADrqnU.cjs +2 -0
  189. package/rtk-settings-toggle.entry-DcnzFfdf.js +41 -0
  190. package/rtk-settings.entry-B0MYbO2R.js +82 -0
  191. package/rtk-settings.entry-BUXN1kqm.cjs +3 -0
  192. package/rtk-setup-screen.entry-BJgJQNY1.js +114 -0
  193. package/rtk-setup-screen.entry-sLKF-r_m.cjs +2 -0
  194. package/rtk-sidebar-ui.entry-Cc5IzRaC.js +70 -0
  195. package/rtk-sidebar-ui.entry-DI9sGtmM.cjs +137 -0
  196. package/rtk-sidebar.entry-Bw8W8yAT.js +115 -0
  197. package/rtk-sidebar.entry-itCPVxbn.cjs +2 -0
  198. package/rtk-simple-grid.entry-_rivH90G.cjs +2 -0
  199. package/rtk-simple-grid.entry-sgI0cr9u.js +85 -0
  200. package/rtk-spotlight-grid.entry-BFaBssUO.cjs +2 -0
  201. package/rtk-spotlight-grid.entry-CTnJTCvq.js +63 -0
  202. package/rtk-spotlight-indicator.entry-BkPvg5Ez.cjs +2 -0
  203. package/rtk-spotlight-indicator.entry-K8rD0fvD.js +59 -0
  204. package/rtk-stage-toggle.entry-BKuZZabh.cjs +2 -0
  205. package/rtk-stage-toggle.entry-CCHghl8a.js +87 -0
  206. package/rtk-stage.entry-DONeGgHM.cjs +2 -0
  207. package/rtk-stage.entry-enEhuWV6.js +21 -0
  208. package/rtk-transcript.entry-BNjpfknm.cjs +2 -0
  209. package/rtk-transcript.entry-Cby-uxXZ.js +46 -0
  210. package/rtk-transcripts.entry-DyYEshpM.js +101 -0
  211. package/rtk-transcripts.entry-uKvWdMez.cjs +2 -0
  212. package/rtk-ui-provider.entry-BP2pS8mN.cjs +2 -0
  213. package/rtk-ui-provider.entry-BdSfAjQD.js +118 -0
  214. package/rtk-waiting-screen.entry-0VvsmJny.js +31 -0
  215. package/rtk-waiting-screen.entry-h-NmKAKI.cjs +2 -0
  216. package/scroll-2d8e810c-B3Y6cdqn.js +11 -0
  217. package/scroll-2d8e810c-lAwqeGvB.cjs +2 -0
  218. package/sidebar-6b71ecaa-B8FBrLd-.cjs +2 -0
  219. package/sidebar-6b71ecaa-CTDWYRHS.js +24 -0
  220. package/string-068ce30a-B_DfAHxl.cjs +2 -0
  221. package/string-068ce30a-DsdGnSiw.js +9 -0
  222. package/sw.js +33 -0
  223. package/types/app/App.d.ts +7 -0
  224. package/types/app/App.d.ts.map +1 -0
  225. package/types/app/AppErrorBoundary.d.ts +23 -0
  226. package/types/app/AppErrorBoundary.d.ts.map +1 -0
  227. package/types/app/di/composition-root.d.ts +47 -0
  228. package/types/app/di/composition-root.d.ts.map +1 -0
  229. package/types/app/pages/ForbiddenPage.d.ts +3 -0
  230. package/types/app/pages/ForbiddenPage.d.ts.map +1 -0
  231. package/types/app/pages/NotFoundPage.d.ts +3 -0
  232. package/types/app/pages/NotFoundPage.d.ts.map +1 -0
  233. package/types/app/pages/ProfilePage.d.ts +3 -0
  234. package/types/app/pages/ProfilePage.d.ts.map +1 -0
  235. package/types/app/pages/ProfileTimezoneDropdown.d.ts +6 -0
  236. package/types/app/pages/ProfileTimezoneDropdown.d.ts.map +1 -0
  237. package/types/app/pages/profile-page.d.ts +2 -0
  238. package/types/app/pages/profile-page.d.ts.map +1 -0
  239. package/types/app/pages/profile-timezone-utils.d.ts +2 -0
  240. package/types/app/pages/profile-timezone-utils.d.ts.map +1 -0
  241. package/types/app/router/AppRouter.d.ts +7 -0
  242. package/types/app/router/AppRouter.d.ts.map +1 -0
  243. package/types/app/shell/AccountMenu.d.ts +7 -0
  244. package/types/app/shell/AccountMenu.d.ts.map +1 -0
  245. package/types/app/shell/AccountProfilePanel.d.ts +7 -0
  246. package/types/app/shell/AccountProfilePanel.d.ts.map +1 -0
  247. package/types/app/shell/AppLauncher.d.ts +4 -0
  248. package/types/app/shell/AppLauncher.d.ts.map +1 -0
  249. package/types/app/shell/AppPlaceholderPage.d.ts +4 -0
  250. package/types/app/shell/AppPlaceholderPage.d.ts.map +1 -0
  251. package/types/app/shell/AppShell.d.ts +8 -0
  252. package/types/app/shell/AppShell.d.ts.map +1 -0
  253. package/types/app/shell/HubSubNav.d.ts +9 -0
  254. package/types/app/shell/HubSubNav.d.ts.map +1 -0
  255. package/types/app/shell/NotificationsMenu.d.ts +4 -0
  256. package/types/app/shell/NotificationsMenu.d.ts.map +1 -0
  257. package/types/app/shell/PlaceholderPage.d.ts +14 -0
  258. package/types/app/shell/PlaceholderPage.d.ts.map +1 -0
  259. package/types/app/shell/TopBar.d.ts +10 -0
  260. package/types/app/shell/TopBar.d.ts.map +1 -0
  261. package/types/app/shell/account-actions.d.ts +8 -0
  262. package/types/app/shell/account-actions.d.ts.map +1 -0
  263. package/types/app/shell/badge-count.d.ts +3 -0
  264. package/types/app/shell/badge-count.d.ts.map +1 -0
  265. package/types/app/shell/notification-cards.d.ts +22 -0
  266. package/types/app/shell/notification-cards.d.ts.map +1 -0
  267. package/types/app/shell/notification-sections.d.ts +14 -0
  268. package/types/app/shell/notification-sections.d.ts.map +1 -0
  269. package/types/app/shell/shell-data.d.ts +54 -0
  270. package/types/app/shell/shell-data.d.ts.map +1 -0
  271. package/types/app/shell/shell-notifications.d.ts +39 -0
  272. package/types/app/shell/shell-notifications.d.ts.map +1 -0
  273. package/types/app/shell/store/use-notification-store.d.ts +10 -0
  274. package/types/app/shell/store/use-notification-store.d.ts.map +1 -0
  275. package/types/app/shell/use-account-profile.d.ts +13 -0
  276. package/types/app/shell/use-account-profile.d.ts.map +1 -0
  277. package/types/app/shell/use-bottom-nav-items.d.ts +3 -0
  278. package/types/app/shell/use-bottom-nav-items.d.ts.map +1 -0
  279. package/types/app/shell/use-notification-realtime.d.ts +2 -0
  280. package/types/app/shell/use-notification-realtime.d.ts.map +1 -0
  281. package/types/app/shell/use-shell-motion.d.ts +15 -0
  282. package/types/app/shell/use-shell-motion.d.ts.map +1 -0
  283. package/types/app/shell/use-theme.d.ts +11 -0
  284. package/types/app/shell/use-theme.d.ts.map +1 -0
  285. package/types/app/shell/user-display.d.ts +8 -0
  286. package/types/app/shell/user-display.d.ts.map +1 -0
  287. package/types/core/config/app-config.d.ts +34 -0
  288. package/types/core/config/app-config.d.ts.map +1 -0
  289. package/types/core/config/index.d.ts +2 -0
  290. package/types/core/config/index.d.ts.map +1 -0
  291. package/types/core/domain/errors/invalid-email-error.d.ts +13 -0
  292. package/types/core/domain/errors/invalid-email-error.d.ts.map +1 -0
  293. package/types/core/domain/errors/invalid-time-error.d.ts +14 -0
  294. package/types/core/domain/errors/invalid-time-error.d.ts.map +1 -0
  295. package/types/core/domain/index.d.ts +16 -0
  296. package/types/core/domain/index.d.ts.map +1 -0
  297. package/types/core/domain/value-objects/email.d.ts +18 -0
  298. package/types/core/domain/value-objects/email.d.ts.map +1 -0
  299. package/types/core/domain/value-objects/time-of-day.d.ts +24 -0
  300. package/types/core/domain/value-objects/time-of-day.d.ts.map +1 -0
  301. package/types/core/domain/value-objects/time-range.d.ts +22 -0
  302. package/types/core/domain/value-objects/time-range.d.ts.map +1 -0
  303. package/types/core/domain/value-objects/weekday.d.ts +16 -0
  304. package/types/core/domain/value-objects/weekday.d.ts.map +1 -0
  305. package/types/core/errors/app-error.d.ts +37 -0
  306. package/types/core/errors/app-error.d.ts.map +1 -0
  307. package/types/core/errors/index.d.ts +2 -0
  308. package/types/core/errors/index.d.ts.map +1 -0
  309. package/types/core/http/auth-refresh-http-client.d.ts +32 -0
  310. package/types/core/http/auth-refresh-http-client.d.ts.map +1 -0
  311. package/types/core/http/fetch-http-client.d.ts +40 -0
  312. package/types/core/http/fetch-http-client.d.ts.map +1 -0
  313. package/types/core/http/http-client.d.ts +62 -0
  314. package/types/core/http/http-client.d.ts.map +1 -0
  315. package/types/core/http/index.d.ts +6 -0
  316. package/types/core/http/index.d.ts.map +1 -0
  317. package/types/core/http/retry-http-client.d.ts +36 -0
  318. package/types/core/http/retry-http-client.d.ts.map +1 -0
  319. package/types/core/http/timeout-http-client.d.ts +27 -0
  320. package/types/core/http/timeout-http-client.d.ts.map +1 -0
  321. package/types/core/logger/index.d.ts +2 -0
  322. package/types/core/logger/index.d.ts.map +1 -0
  323. package/types/core/logger/logger.d.ts +29 -0
  324. package/types/core/logger/logger.d.ts.map +1 -0
  325. package/types/core/realtime/index.d.ts +4 -0
  326. package/types/core/realtime/index.d.ts.map +1 -0
  327. package/types/core/realtime/null-realtime-connection.d.ts +11 -0
  328. package/types/core/realtime/null-realtime-connection.d.ts.map +1 -0
  329. package/types/core/realtime/realtime-connection.d.ts +37 -0
  330. package/types/core/realtime/realtime-connection.d.ts.map +1 -0
  331. package/types/core/realtime/reconnect-policy.d.ts +23 -0
  332. package/types/core/realtime/reconnect-policy.d.ts.map +1 -0
  333. package/types/core/realtime/signalr-connection.d.ts +11 -0
  334. package/types/core/realtime/signalr-connection.d.ts.map +1 -0
  335. package/types/core/result/index.d.ts +2 -0
  336. package/types/core/result/index.d.ts.map +1 -0
  337. package/types/core/result/result.d.ts +35 -0
  338. package/types/core/result/result.d.ts.map +1 -0
  339. package/types/core/time/clock.d.ts +22 -0
  340. package/types/core/time/clock.d.ts.map +1 -0
  341. package/types/core/time/index.d.ts +4 -0
  342. package/types/core/time/index.d.ts.map +1 -0
  343. package/types/core/time/timezone.d.ts +46 -0
  344. package/types/core/time/timezone.d.ts.map +1 -0
  345. package/types/core/time/viewer-timezone.d.ts +43 -0
  346. package/types/core/time/viewer-timezone.d.ts.map +1 -0
  347. package/types/features/api-keys/api-keys-module.d.ts +19 -0
  348. package/types/features/api-keys/api-keys-module.d.ts.map +1 -0
  349. package/types/features/api-keys/application/index.d.ts +7 -0
  350. package/types/features/api-keys/application/index.d.ts.map +1 -0
  351. package/types/features/api-keys/application/queries/use-api-keys.d.ts +10 -0
  352. package/types/features/api-keys/application/queries/use-api-keys.d.ts.map +1 -0
  353. package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts +18 -0
  354. package/types/features/api-keys/application/use-cases/confirm-api-key-rotation.d.ts.map +1 -0
  355. package/types/features/api-keys/application/use-cases/create-api-key.d.ts +14 -0
  356. package/types/features/api-keys/application/use-cases/create-api-key.d.ts.map +1 -0
  357. package/types/features/api-keys/application/use-cases/delete-api-key.d.ts +15 -0
  358. package/types/features/api-keys/application/use-cases/delete-api-key.d.ts.map +1 -0
  359. package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts +14 -0
  360. package/types/features/api-keys/application/use-cases/rotate-api-key.d.ts.map +1 -0
  361. package/types/features/api-keys/application/use-cases/update-api-key.d.ts +14 -0
  362. package/types/features/api-keys/application/use-cases/update-api-key.d.ts.map +1 -0
  363. package/types/features/api-keys/domain/entities/api-key-credentials.d.ts +7 -0
  364. package/types/features/api-keys/domain/entities/api-key-credentials.d.ts.map +1 -0
  365. package/types/features/api-keys/domain/entities/api-key.d.ts +58 -0
  366. package/types/features/api-keys/domain/entities/api-key.d.ts.map +1 -0
  367. package/types/features/api-keys/domain/entities/index.d.ts +3 -0
  368. package/types/features/api-keys/domain/entities/index.d.ts.map +1 -0
  369. package/types/features/api-keys/domain/errors/api-key-errors.d.ts +20 -0
  370. package/types/features/api-keys/domain/errors/api-key-errors.d.ts.map +1 -0
  371. package/types/features/api-keys/domain/index.d.ts +6 -0
  372. package/types/features/api-keys/domain/index.d.ts.map +1 -0
  373. package/types/features/api-keys/domain/ports/api-key-gateway.d.ts +50 -0
  374. package/types/features/api-keys/domain/ports/api-key-gateway.d.ts.map +1 -0
  375. package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts +8 -0
  376. package/types/features/api-keys/domain/value-objects/api-key-display-name.d.ts.map +1 -0
  377. package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts +28 -0
  378. package/types/features/api-keys/domain/value-objects/api-key-origin.d.ts.map +1 -0
  379. package/types/features/api-keys/domain/value-objects/index.d.ts +3 -0
  380. package/types/features/api-keys/domain/value-objects/index.d.ts.map +1 -0
  381. package/types/features/api-keys/index.d.ts +6 -0
  382. package/types/features/api-keys/index.d.ts.map +1 -0
  383. package/types/features/api-keys/infrastructure/api-key-dto.d.ts +245 -0
  384. package/types/features/api-keys/infrastructure/api-key-dto.d.ts.map +1 -0
  385. package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts +27 -0
  386. package/types/features/api-keys/infrastructure/http-api-key-gateway.d.ts.map +1 -0
  387. package/types/features/api-keys/infrastructure/index.d.ts +3 -0
  388. package/types/features/api-keys/infrastructure/index.d.ts.map +1 -0
  389. package/types/features/api-keys/presentation/ApiKeyCard.d.ts +12 -0
  390. package/types/features/api-keys/presentation/ApiKeyCard.d.ts.map +1 -0
  391. package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts +8 -0
  392. package/types/features/api-keys/presentation/ApiKeyCredentialsModal.d.ts.map +1 -0
  393. package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts +12 -0
  394. package/types/features/api-keys/presentation/ApiKeysModuleProvider.d.ts.map +1 -0
  395. package/types/features/api-keys/presentation/ApiKeysPage.d.ts +3 -0
  396. package/types/features/api-keys/presentation/ApiKeysPage.d.ts.map +1 -0
  397. package/types/features/api-keys/presentation/CodeText.d.ts +12 -0
  398. package/types/features/api-keys/presentation/CodeText.d.ts.map +1 -0
  399. package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts +21 -0
  400. package/types/features/api-keys/presentation/CreateApiKeyFields.d.ts.map +1 -0
  401. package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts +9 -0
  402. package/types/features/api-keys/presentation/CreateApiKeyModal.d.ts.map +1 -0
  403. package/types/features/api-keys/presentation/EditApiKeyModal.d.ts +24 -0
  404. package/types/features/api-keys/presentation/EditApiKeyModal.d.ts.map +1 -0
  405. package/types/features/api-keys/presentation/EditOriginsField.d.ts +11 -0
  406. package/types/features/api-keys/presentation/EditOriginsField.d.ts.map +1 -0
  407. package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts +19 -0
  408. package/types/features/api-keys/presentation/IntegrationGuideDrawer.d.ts.map +1 -0
  409. package/types/features/api-keys/presentation/WidgetEventsSection.d.ts +20 -0
  410. package/types/features/api-keys/presentation/WidgetEventsSection.d.ts.map +1 -0
  411. package/types/features/api-keys/presentation/api-base-url.d.ts +10 -0
  412. package/types/features/api-keys/presentation/api-base-url.d.ts.map +1 -0
  413. package/types/features/api-keys/presentation/api-key-confirmations.d.ts +12 -0
  414. package/types/features/api-keys/presentation/api-key-confirmations.d.ts.map +1 -0
  415. package/types/features/api-keys/presentation/api-key-modules.d.ts +18 -0
  416. package/types/features/api-keys/presentation/api-key-modules.d.ts.map +1 -0
  417. package/types/features/api-keys/presentation/api-keys-module-context.d.ts +4 -0
  418. package/types/features/api-keys/presentation/api-keys-module-context.d.ts.map +1 -0
  419. package/types/features/api-keys/presentation/guide-section.d.ts +14 -0
  420. package/types/features/api-keys/presentation/guide-section.d.ts.map +1 -0
  421. package/types/features/api-keys/presentation/index.d.ts +4 -0
  422. package/types/features/api-keys/presentation/index.d.ts.map +1 -0
  423. package/types/features/api-keys/presentation/integration-guide-sections.d.ts +35 -0
  424. package/types/features/api-keys/presentation/integration-guide-sections.d.ts.map +1 -0
  425. package/types/features/api-keys/presentation/integration-guide.d.ts +100 -0
  426. package/types/features/api-keys/presentation/integration-guide.d.ts.map +1 -0
  427. package/types/features/api-keys/presentation/sdk-script-url.d.ts +16 -0
  428. package/types/features/api-keys/presentation/sdk-script-url.d.ts.map +1 -0
  429. package/types/features/api-keys/presentation/use-api-keys-module.d.ts +4 -0
  430. package/types/features/api-keys/presentation/use-api-keys-module.d.ts.map +1 -0
  431. package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts +39 -0
  432. package/types/features/api-keys/presentation/use-api-keys-page-controller.d.ts.map +1 -0
  433. package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts +35 -0
  434. package/types/features/api-keys/presentation/use-create-api-key-form-state.d.ts.map +1 -0
  435. package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts +41 -0
  436. package/types/features/api-keys/presentation/use-edit-api-key-form-state.d.ts.map +1 -0
  437. package/types/features/auth/application/index.d.ts +5 -0
  438. package/types/features/auth/application/index.d.ts.map +1 -0
  439. package/types/features/auth/application/use-cases/complete-sso-login.d.ts +23 -0
  440. package/types/features/auth/application/use-cases/complete-sso-login.d.ts.map +1 -0
  441. package/types/features/auth/application/use-cases/logout.d.ts +16 -0
  442. package/types/features/auth/application/use-cases/logout.d.ts.map +1 -0
  443. package/types/features/auth/application/use-cases/refresh-session.d.ts +21 -0
  444. package/types/features/auth/application/use-cases/refresh-session.d.ts.map +1 -0
  445. package/types/features/auth/application/use-cases/restore-session.d.ts +24 -0
  446. package/types/features/auth/application/use-cases/restore-session.d.ts.map +1 -0
  447. package/types/features/auth/auth-module.d.ts +24 -0
  448. package/types/features/auth/auth-module.d.ts.map +1 -0
  449. package/types/features/auth/domain/entities/auth-session.d.ts +44 -0
  450. package/types/features/auth/domain/entities/auth-session.d.ts.map +1 -0
  451. package/types/features/auth/domain/entities/authenticated-user.d.ts +24 -0
  452. package/types/features/auth/domain/entities/authenticated-user.d.ts.map +1 -0
  453. package/types/features/auth/domain/errors/auth-errors.d.ts +24 -0
  454. package/types/features/auth/domain/errors/auth-errors.d.ts.map +1 -0
  455. package/types/features/auth/domain/index.d.ts +6 -0
  456. package/types/features/auth/domain/index.d.ts.map +1 -0
  457. package/types/features/auth/domain/ports/auth-gateway.d.ts +21 -0
  458. package/types/features/auth/domain/ports/auth-gateway.d.ts.map +1 -0
  459. package/types/features/auth/domain/ports/session-store.d.ts +12 -0
  460. package/types/features/auth/domain/ports/session-store.d.ts.map +1 -0
  461. package/types/features/auth/index.d.ts +11 -0
  462. package/types/features/auth/index.d.ts.map +1 -0
  463. package/types/features/auth/infrastructure/dto/token-response.dto.d.ts +40 -0
  464. package/types/features/auth/infrastructure/dto/token-response.dto.d.ts.map +1 -0
  465. package/types/features/auth/infrastructure/index.d.ts +7 -0
  466. package/types/features/auth/infrastructure/index.d.ts.map +1 -0
  467. package/types/features/auth/infrastructure/jwt-claims.d.ts +37 -0
  468. package/types/features/auth/infrastructure/jwt-claims.d.ts.map +1 -0
  469. package/types/features/auth/infrastructure/local-session-store.d.ts +44 -0
  470. package/types/features/auth/infrastructure/local-session-store.d.ts.map +1 -0
  471. package/types/features/auth/infrastructure/sso-session-mapper.d.ts +14 -0
  472. package/types/features/auth/infrastructure/sso-session-mapper.d.ts.map +1 -0
  473. package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts +28 -0
  474. package/types/features/auth/infrastructure/uapp-sso-auth-gateway.d.ts.map +1 -0
  475. package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts +59 -0
  476. package/types/features/auth/infrastructure/uapp-sso-protocol.d.ts.map +1 -0
  477. package/types/features/auth/presentation/AuthStoreProvider.d.ts +12 -0
  478. package/types/features/auth/presentation/AuthStoreProvider.d.ts.map +1 -0
  479. package/types/features/auth/presentation/LoginPage.d.ts +7 -0
  480. package/types/features/auth/presentation/LoginPage.d.ts.map +1 -0
  481. package/types/features/auth/presentation/ProtectedRoute.d.ts +13 -0
  482. package/types/features/auth/presentation/ProtectedRoute.d.ts.map +1 -0
  483. package/types/features/auth/presentation/SsoBootstrap.d.ts +15 -0
  484. package/types/features/auth/presentation/SsoBootstrap.d.ts.map +1 -0
  485. package/types/features/auth/presentation/SsoCallbackPage.d.ts +9 -0
  486. package/types/features/auth/presentation/SsoCallbackPage.d.ts.map +1 -0
  487. package/types/features/auth/presentation/auth-store-context.d.ts +4 -0
  488. package/types/features/auth/presentation/auth-store-context.d.ts.map +1 -0
  489. package/types/features/auth/presentation/index.d.ts +9 -0
  490. package/types/features/auth/presentation/index.d.ts.map +1 -0
  491. package/types/features/auth/presentation/sentry-user-bridge.d.ts +6 -0
  492. package/types/features/auth/presentation/sentry-user-bridge.d.ts.map +1 -0
  493. package/types/features/auth/presentation/use-auth.d.ts +22 -0
  494. package/types/features/auth/presentation/use-auth.d.ts.map +1 -0
  495. package/types/features/auth/presentation/use-proactive-token-refresh.d.ts +6 -0
  496. package/types/features/auth/presentation/use-proactive-token-refresh.d.ts.map +1 -0
  497. package/types/features/auth/store/auth-store.d.ts +40 -0
  498. package/types/features/auth/store/auth-store.d.ts.map +1 -0
  499. package/types/features/auth/store/index.d.ts +2 -0
  500. package/types/features/auth/store/index.d.ts.map +1 -0
  501. package/types/features/calls/application/index.d.ts +6 -0
  502. package/types/features/calls/application/index.d.ts.map +1 -0
  503. package/types/features/calls/application/use-cases/accept-call.d.ts +15 -0
  504. package/types/features/calls/application/use-cases/accept-call.d.ts.map +1 -0
  505. package/types/features/calls/application/use-cases/get-call-history.d.ts +15 -0
  506. package/types/features/calls/application/use-cases/get-call-history.d.ts.map +1 -0
  507. package/types/features/calls/application/use-cases/heartbeat-call.d.ts +26 -0
  508. package/types/features/calls/application/use-cases/heartbeat-call.d.ts.map +1 -0
  509. package/types/features/calls/application/use-cases/respond-call.d.ts +29 -0
  510. package/types/features/calls/application/use-cases/respond-call.d.ts.map +1 -0
  511. package/types/features/calls/application/use-cases/start-call.d.ts +15 -0
  512. package/types/features/calls/application/use-cases/start-call.d.ts.map +1 -0
  513. package/types/features/calls/calls-module.d.ts +30 -0
  514. package/types/features/calls/calls-module.d.ts.map +1 -0
  515. package/types/features/calls/domain/call.d.ts +64 -0
  516. package/types/features/calls/domain/call.d.ts.map +1 -0
  517. package/types/features/calls/domain/errors/call-errors.d.ts +10 -0
  518. package/types/features/calls/domain/errors/call-errors.d.ts.map +1 -0
  519. package/types/features/calls/domain/index.d.ts +4 -0
  520. package/types/features/calls/domain/index.d.ts.map +1 -0
  521. package/types/features/calls/domain/ports/call-gateway.d.ts +19 -0
  522. package/types/features/calls/domain/ports/call-gateway.d.ts.map +1 -0
  523. package/types/features/calls/index.d.ts +13 -0
  524. package/types/features/calls/index.d.ts.map +1 -0
  525. package/types/features/calls/infrastructure/call-mappers.d.ts +8 -0
  526. package/types/features/calls/infrastructure/call-mappers.d.ts.map +1 -0
  527. package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts +6 -0
  528. package/types/features/calls/infrastructure/calls-realtime-parsers.d.ts.map +1 -0
  529. package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts +55 -0
  530. package/types/features/calls/infrastructure/calls-realtime-protocol.d.ts.map +1 -0
  531. package/types/features/calls/infrastructure/dto/call-dtos.d.ts +275 -0
  532. package/types/features/calls/infrastructure/dto/call-dtos.d.ts.map +1 -0
  533. package/types/features/calls/infrastructure/http-call-gateway.d.ts +28 -0
  534. package/types/features/calls/infrastructure/http-call-gateway.d.ts.map +1 -0
  535. package/types/features/calls/infrastructure/http-call-routes.d.ts +11 -0
  536. package/types/features/calls/infrastructure/http-call-routes.d.ts.map +1 -0
  537. package/types/features/calls/infrastructure/index.d.ts +4 -0
  538. package/types/features/calls/infrastructure/index.d.ts.map +1 -0
  539. package/types/features/calls/presentation/CallButton.d.ts +15 -0
  540. package/types/features/calls/presentation/CallButton.d.ts.map +1 -0
  541. package/types/features/calls/presentation/CallCenter.d.ts +8 -0
  542. package/types/features/calls/presentation/CallCenter.d.ts.map +1 -0
  543. package/types/features/calls/presentation/CallOverlay.d.ts +7 -0
  544. package/types/features/calls/presentation/CallOverlay.d.ts.map +1 -0
  545. package/types/features/calls/presentation/CallsModuleProvider.d.ts +8 -0
  546. package/types/features/calls/presentation/CallsModuleProvider.d.ts.map +1 -0
  547. package/types/features/calls/presentation/CallsRealtimeProvider.d.ts +6 -0
  548. package/types/features/calls/presentation/CallsRealtimeProvider.d.ts.map +1 -0
  549. package/types/features/calls/presentation/call-notifications.d.ts +25 -0
  550. package/types/features/calls/presentation/call-notifications.d.ts.map +1 -0
  551. package/types/features/calls/presentation/call-pip.d.ts +62 -0
  552. package/types/features/calls/presentation/call-pip.d.ts.map +1 -0
  553. package/types/features/calls/presentation/calls-module-context.d.ts +4 -0
  554. package/types/features/calls/presentation/calls-module-context.d.ts.map +1 -0
  555. package/types/features/calls/presentation/calls-realtime-handlers.d.ts +12 -0
  556. package/types/features/calls/presentation/calls-realtime-handlers.d.ts.map +1 -0
  557. package/types/features/calls/presentation/index.d.ts +8 -0
  558. package/types/features/calls/presentation/index.d.ts.map +1 -0
  559. package/types/features/calls/presentation/media/call-media-props.d.ts +16 -0
  560. package/types/features/calls/presentation/media/call-media-props.d.ts.map +1 -0
  561. package/types/features/calls/presentation/media/call-media-stage.d.ts +11 -0
  562. package/types/features/calls/presentation/media/call-media-stage.d.ts.map +1 -0
  563. package/types/features/calls/presentation/media/realtimekit-call-media.d.ts +19 -0
  564. package/types/features/calls/presentation/media/realtimekit-call-media.d.ts.map +1 -0
  565. package/types/features/calls/presentation/ringtone.d.ts +18 -0
  566. package/types/features/calls/presentation/ringtone.d.ts.map +1 -0
  567. package/types/features/calls/presentation/use-call-actions.d.ts +27 -0
  568. package/types/features/calls/presentation/use-call-actions.d.ts.map +1 -0
  569. package/types/features/calls/presentation/use-call-heartbeat.d.ts +38 -0
  570. package/types/features/calls/presentation/use-call-heartbeat.d.ts.map +1 -0
  571. package/types/features/calls/presentation/use-call-pip.d.ts +30 -0
  572. package/types/features/calls/presentation/use-call-pip.d.ts.map +1 -0
  573. package/types/features/calls/presentation/use-calls-module.d.ts +6 -0
  574. package/types/features/calls/presentation/use-calls-module.d.ts.map +1 -0
  575. package/types/features/calls/presentation/use-calls-realtime-controller.d.ts +6 -0
  576. package/types/features/calls/presentation/use-calls-realtime-controller.d.ts.map +1 -0
  577. package/types/features/calls/presentation/use-incoming-alert.d.ts +14 -0
  578. package/types/features/calls/presentation/use-incoming-alert.d.ts.map +1 -0
  579. package/types/features/calls/presentation/use-start-call.d.ts +9 -0
  580. package/types/features/calls/presentation/use-start-call.d.ts.map +1 -0
  581. package/types/features/calls/store/call-store.d.ts +71 -0
  582. package/types/features/calls/store/call-store.d.ts.map +1 -0
  583. package/types/features/chat/application/index.d.ts +29 -0
  584. package/types/features/chat/application/index.d.ts.map +1 -0
  585. package/types/features/chat/application/use-cases/create-group.d.ts +15 -0
  586. package/types/features/chat/application/use-cases/create-group.d.ts.map +1 -0
  587. package/types/features/chat/application/use-cases/delete-conversation.d.ts +15 -0
  588. package/types/features/chat/application/use-cases/delete-conversation.d.ts.map +1 -0
  589. package/types/features/chat/application/use-cases/delete-message-for-me.d.ts +15 -0
  590. package/types/features/chat/application/use-cases/delete-message-for-me.d.ts.map +1 -0
  591. package/types/features/chat/application/use-cases/delete-message.d.ts +15 -0
  592. package/types/features/chat/application/use-cases/delete-message.d.ts.map +1 -0
  593. package/types/features/chat/application/use-cases/download-chat-media.d.ts +18 -0
  594. package/types/features/chat/application/use-cases/download-chat-media.d.ts.map +1 -0
  595. package/types/features/chat/application/use-cases/edit-message.d.ts +15 -0
  596. package/types/features/chat/application/use-cases/edit-message.d.ts.map +1 -0
  597. package/types/features/chat/application/use-cases/get-conversation-counts.d.ts +15 -0
  598. package/types/features/chat/application/use-cases/get-conversation-counts.d.ts.map +1 -0
  599. package/types/features/chat/application/use-cases/get-conversation.d.ts +15 -0
  600. package/types/features/chat/application/use-cases/get-conversation.d.ts.map +1 -0
  601. package/types/features/chat/application/use-cases/get-group-member-pool.d.ts +18 -0
  602. package/types/features/chat/application/use-cases/get-group-member-pool.d.ts.map +1 -0
  603. package/types/features/chat/application/use-cases/get-messages-before.d.ts +15 -0
  604. package/types/features/chat/application/use-cases/get-messages-before.d.ts.map +1 -0
  605. package/types/features/chat/application/use-cases/get-messages-since.d.ts +15 -0
  606. package/types/features/chat/application/use-cases/get-messages-since.d.ts.map +1 -0
  607. package/types/features/chat/application/use-cases/get-messages.d.ts +15 -0
  608. package/types/features/chat/application/use-cases/get-messages.d.ts.map +1 -0
  609. package/types/features/chat/application/use-cases/get-viewer.d.ts +15 -0
  610. package/types/features/chat/application/use-cases/get-viewer.d.ts.map +1 -0
  611. package/types/features/chat/application/use-cases/leave-conversation.d.ts +15 -0
  612. package/types/features/chat/application/use-cases/leave-conversation.d.ts.map +1 -0
  613. package/types/features/chat/application/use-cases/list-conversations.d.ts +15 -0
  614. package/types/features/chat/application/use-cases/list-conversations.d.ts.map +1 -0
  615. package/types/features/chat/application/use-cases/list-staff.d.ts +15 -0
  616. package/types/features/chat/application/use-cases/list-staff.d.ts.map +1 -0
  617. package/types/features/chat/application/use-cases/mark-delivered.d.ts +15 -0
  618. package/types/features/chat/application/use-cases/mark-delivered.d.ts.map +1 -0
  619. package/types/features/chat/application/use-cases/mark-read.d.ts +15 -0
  620. package/types/features/chat/application/use-cases/mark-read.d.ts.map +1 -0
  621. package/types/features/chat/application/use-cases/react-to-message.d.ts +15 -0
  622. package/types/features/chat/application/use-cases/react-to-message.d.ts.map +1 -0
  623. package/types/features/chat/application/use-cases/refresh-portal.d.ts +15 -0
  624. package/types/features/chat/application/use-cases/refresh-portal.d.ts.map +1 -0
  625. package/types/features/chat/application/use-cases/save-members.d.ts +15 -0
  626. package/types/features/chat/application/use-cases/save-members.d.ts.map +1 -0
  627. package/types/features/chat/application/use-cases/send-media-message.d.ts +15 -0
  628. package/types/features/chat/application/use-cases/send-media-message.d.ts.map +1 -0
  629. package/types/features/chat/application/use-cases/send-message.d.ts +15 -0
  630. package/types/features/chat/application/use-cases/send-message.d.ts.map +1 -0
  631. package/types/features/chat/application/use-cases/set-archived.d.ts +15 -0
  632. package/types/features/chat/application/use-cases/set-archived.d.ts.map +1 -0
  633. package/types/features/chat/application/use-cases/set-favourite.d.ts +15 -0
  634. package/types/features/chat/application/use-cases/set-favourite.d.ts.map +1 -0
  635. package/types/features/chat/application/use-cases/set-pinned.d.ts +15 -0
  636. package/types/features/chat/application/use-cases/set-pinned.d.ts.map +1 -0
  637. package/types/features/chat/application/use-cases/start-direct.d.ts +15 -0
  638. package/types/features/chat/application/use-cases/start-direct.d.ts.map +1 -0
  639. package/types/features/chat/application/use-cases/subscribe-push.d.ts +15 -0
  640. package/types/features/chat/application/use-cases/subscribe-push.d.ts.map +1 -0
  641. package/types/features/chat/chat-module.d.ts +58 -0
  642. package/types/features/chat/chat-module.d.ts.map +1 -0
  643. package/types/features/chat/domain/chat-constants.d.ts +13 -0
  644. package/types/features/chat/domain/chat-constants.d.ts.map +1 -0
  645. package/types/features/chat/domain/entities/chat-message.d.ts +102 -0
  646. package/types/features/chat/domain/entities/chat-message.d.ts.map +1 -0
  647. package/types/features/chat/domain/entities/conversation.d.ts +122 -0
  648. package/types/features/chat/domain/entities/conversation.d.ts.map +1 -0
  649. package/types/features/chat/domain/errors/chat-errors.d.ts +35 -0
  650. package/types/features/chat/domain/errors/chat-errors.d.ts.map +1 -0
  651. package/types/features/chat/domain/index.d.ts +8 -0
  652. package/types/features/chat/domain/index.d.ts.map +1 -0
  653. package/types/features/chat/domain/ports/chat-gateway.d.ts +122 -0
  654. package/types/features/chat/domain/ports/chat-gateway.d.ts.map +1 -0
  655. package/types/features/chat/domain/ports/chat-outbox-store.d.ts +16 -0
  656. package/types/features/chat/domain/ports/chat-outbox-store.d.ts.map +1 -0
  657. package/types/features/chat/domain/server-instant.d.ts +10 -0
  658. package/types/features/chat/domain/server-instant.d.ts.map +1 -0
  659. package/types/features/chat/index.d.ts +8 -0
  660. package/types/features/chat/index.d.ts.map +1 -0
  661. package/types/features/chat/infrastructure/chat-gateway-errors.d.ts +17 -0
  662. package/types/features/chat/infrastructure/chat-gateway-errors.d.ts.map +1 -0
  663. package/types/features/chat/infrastructure/chat-mappers.d.ts +13 -0
  664. package/types/features/chat/infrastructure/chat-mappers.d.ts.map +1 -0
  665. package/types/features/chat/infrastructure/chat-outbox-store.d.ts +4 -0
  666. package/types/features/chat/infrastructure/chat-outbox-store.d.ts.map +1 -0
  667. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts +12 -0
  668. package/types/features/chat/infrastructure/chat-realtime-parsers.d.ts.map +1 -0
  669. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts +144 -0
  670. package/types/features/chat/infrastructure/chat-realtime-protocol.d.ts.map +1 -0
  671. package/types/features/chat/infrastructure/chat-seed.d.ts +68 -0
  672. package/types/features/chat/infrastructure/chat-seed.d.ts.map +1 -0
  673. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts +1035 -0
  674. package/types/features/chat/infrastructure/dto/chat-dtos.d.ts.map +1 -0
  675. package/types/features/chat/infrastructure/hidden-messages-storage.d.ts +8 -0
  676. package/types/features/chat/infrastructure/hidden-messages-storage.d.ts.map +1 -0
  677. package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts +20 -0
  678. package/types/features/chat/infrastructure/http-chat-conversation-actions.d.ts.map +1 -0
  679. package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts +16 -0
  680. package/types/features/chat/infrastructure/http-chat-gateway-helpers.d.ts.map +1 -0
  681. package/types/features/chat/infrastructure/http-chat-gateway.d.ts +53 -0
  682. package/types/features/chat/infrastructure/http-chat-gateway.d.ts.map +1 -0
  683. package/types/features/chat/infrastructure/http-chat-message-actions.d.ts +16 -0
  684. package/types/features/chat/infrastructure/http-chat-message-actions.d.ts.map +1 -0
  685. package/types/features/chat/infrastructure/http-chat-paths.d.ts +24 -0
  686. package/types/features/chat/infrastructure/http-chat-paths.d.ts.map +1 -0
  687. package/types/features/chat/infrastructure/http-chat-query-actions.d.ts +30 -0
  688. package/types/features/chat/infrastructure/http-chat-query-actions.d.ts.map +1 -0
  689. package/types/features/chat/infrastructure/http-chat-routes.d.ts +34 -0
  690. package/types/features/chat/infrastructure/http-chat-routes.d.ts.map +1 -0
  691. package/types/features/chat/infrastructure/index.d.ts +9 -0
  692. package/types/features/chat/infrastructure/index.d.ts.map +1 -0
  693. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts +50 -0
  694. package/types/features/chat/infrastructure/mock-chat-gateway.d.ts.map +1 -0
  695. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts +41 -0
  696. package/types/features/chat/infrastructure/mock-chat-helpers.d.ts.map +1 -0
  697. package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts +9 -0
  698. package/types/features/chat/infrastructure/mock-chat-message-ops.d.ts.map +1 -0
  699. package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts +2 -0
  700. package/types/features/chat/infrastructure/normalize-chat-media-path.d.ts.map +1 -0
  701. package/types/features/chat/presentation/AddMemberPanel.d.ts +10 -0
  702. package/types/features/chat/presentation/AddMemberPanel.d.ts.map +1 -0
  703. package/types/features/chat/presentation/ChatConfirmDialogs.d.ts +13 -0
  704. package/types/features/chat/presentation/ChatConfirmDialogs.d.ts.map +1 -0
  705. package/types/features/chat/presentation/ChatMediaImage.d.ts +13 -0
  706. package/types/features/chat/presentation/ChatMediaImage.d.ts.map +1 -0
  707. package/types/features/chat/presentation/ChatModuleProvider.d.ts +12 -0
  708. package/types/features/chat/presentation/ChatModuleProvider.d.ts.map +1 -0
  709. package/types/features/chat/presentation/ChatPage.d.ts +9 -0
  710. package/types/features/chat/presentation/ChatPage.d.ts.map +1 -0
  711. package/types/features/chat/presentation/ChatRealtimeProvider.d.ts +11 -0
  712. package/types/features/chat/presentation/ChatRealtimeProvider.d.ts.map +1 -0
  713. package/types/features/chat/presentation/ChatSkeleton.d.ts +3 -0
  714. package/types/features/chat/presentation/ChatSkeleton.d.ts.map +1 -0
  715. package/types/features/chat/presentation/ChatTabs.d.ts +10 -0
  716. package/types/features/chat/presentation/ChatTabs.d.ts.map +1 -0
  717. package/types/features/chat/presentation/ConversationHeader.d.ts +21 -0
  718. package/types/features/chat/presentation/ConversationHeader.d.ts.map +1 -0
  719. package/types/features/chat/presentation/ConversationList.d.ts +30 -0
  720. package/types/features/chat/presentation/ConversationList.d.ts.map +1 -0
  721. package/types/features/chat/presentation/ConversationRow.d.ts +12 -0
  722. package/types/features/chat/presentation/ConversationRow.d.ts.map +1 -0
  723. package/types/features/chat/presentation/ConversationView.d.ts +14 -0
  724. package/types/features/chat/presentation/ConversationView.d.ts.map +1 -0
  725. package/types/features/chat/presentation/DeleteMessageDialog.d.ts +16 -0
  726. package/types/features/chat/presentation/DeleteMessageDialog.d.ts.map +1 -0
  727. package/types/features/chat/presentation/DmCallAction.d.ts +7 -0
  728. package/types/features/chat/presentation/DmCallAction.d.ts.map +1 -0
  729. package/types/features/chat/presentation/EmojiPicker.d.ts +5 -0
  730. package/types/features/chat/presentation/EmojiPicker.d.ts.map +1 -0
  731. package/types/features/chat/presentation/FileAttachmentCard.d.ts +14 -0
  732. package/types/features/chat/presentation/FileAttachmentCard.d.ts.map +1 -0
  733. package/types/features/chat/presentation/ManageMembersModal.d.ts +9 -0
  734. package/types/features/chat/presentation/ManageMembersModal.d.ts.map +1 -0
  735. package/types/features/chat/presentation/MediaViewer.d.ts +8 -0
  736. package/types/features/chat/presentation/MediaViewer.d.ts.map +1 -0
  737. package/types/features/chat/presentation/MemberRow.d.ts +17 -0
  738. package/types/features/chat/presentation/MemberRow.d.ts.map +1 -0
  739. package/types/features/chat/presentation/MessageAlbum.d.ts +22 -0
  740. package/types/features/chat/presentation/MessageAlbum.d.ts.map +1 -0
  741. package/types/features/chat/presentation/MessageBubble.d.ts +27 -0
  742. package/types/features/chat/presentation/MessageBubble.d.ts.map +1 -0
  743. package/types/features/chat/presentation/MessageComposer.d.ts +21 -0
  744. package/types/features/chat/presentation/MessageComposer.d.ts.map +1 -0
  745. package/types/features/chat/presentation/MessageList.d.ts +25 -0
  746. package/types/features/chat/presentation/MessageList.d.ts.map +1 -0
  747. package/types/features/chat/presentation/MessageSendState.d.ts +20 -0
  748. package/types/features/chat/presentation/MessageSendState.d.ts.map +1 -0
  749. package/types/features/chat/presentation/MessageThread.d.ts +17 -0
  750. package/types/features/chat/presentation/MessageThread.d.ts.map +1 -0
  751. package/types/features/chat/presentation/MessageTicks.d.ts +10 -0
  752. package/types/features/chat/presentation/MessageTicks.d.ts.map +1 -0
  753. package/types/features/chat/presentation/MobileSelectionHeader.d.ts +11 -0
  754. package/types/features/chat/presentation/MobileSelectionHeader.d.ts.map +1 -0
  755. package/types/features/chat/presentation/NewConversationButton.d.ts +12 -0
  756. package/types/features/chat/presentation/NewConversationButton.d.ts.map +1 -0
  757. package/types/features/chat/presentation/NewGroupModal.d.ts +11 -0
  758. package/types/features/chat/presentation/NewGroupModal.d.ts.map +1 -0
  759. package/types/features/chat/presentation/ReplyPreview.d.ts +7 -0
  760. package/types/features/chat/presentation/ReplyPreview.d.ts.map +1 -0
  761. package/types/features/chat/presentation/RowMenu.d.ts +11 -0
  762. package/types/features/chat/presentation/RowMenu.d.ts.map +1 -0
  763. package/types/features/chat/presentation/SharedPostCard.d.ts +13 -0
  764. package/types/features/chat/presentation/SharedPostCard.d.ts.map +1 -0
  765. package/types/features/chat/presentation/StartDirectPicker.d.ts +11 -0
  766. package/types/features/chat/presentation/StartDirectPicker.d.ts.map +1 -0
  767. package/types/features/chat/presentation/active-conversation-pane.d.ts +13 -0
  768. package/types/features/chat/presentation/active-conversation-pane.d.ts.map +1 -0
  769. package/types/features/chat/presentation/apply-reaction-toggle.d.ts +20 -0
  770. package/types/features/chat/presentation/apply-reaction-toggle.d.ts.map +1 -0
  771. package/types/features/chat/presentation/chat-emojis.d.ts +5 -0
  772. package/types/features/chat/presentation/chat-emojis.d.ts.map +1 -0
  773. package/types/features/chat/presentation/chat-module-context.d.ts +4 -0
  774. package/types/features/chat/presentation/chat-module-context.d.ts.map +1 -0
  775. package/types/features/chat/presentation/chat-realtime-handlers.d.ts +18 -0
  776. package/types/features/chat/presentation/chat-realtime-handlers.d.ts.map +1 -0
  777. package/types/features/chat/presentation/chat-realtime-ui.d.ts +16 -0
  778. package/types/features/chat/presentation/chat-realtime-ui.d.ts.map +1 -0
  779. package/types/features/chat/presentation/chat-tabs.d.ts +21 -0
  780. package/types/features/chat/presentation/chat-tabs.d.ts.map +1 -0
  781. package/types/features/chat/presentation/chat-url.d.ts +21 -0
  782. package/types/features/chat/presentation/chat-url.d.ts.map +1 -0
  783. package/types/features/chat/presentation/composer-actions.d.ts +15 -0
  784. package/types/features/chat/presentation/composer-actions.d.ts.map +1 -0
  785. package/types/features/chat/presentation/conversation-access.d.ts +10 -0
  786. package/types/features/chat/presentation/conversation-access.d.ts.map +1 -0
  787. package/types/features/chat/presentation/conversation-composer.d.ts +19 -0
  788. package/types/features/chat/presentation/conversation-composer.d.ts.map +1 -0
  789. package/types/features/chat/presentation/conversation-thread-pane.d.ts +17 -0
  790. package/types/features/chat/presentation/conversation-thread-pane.d.ts.map +1 -0
  791. package/types/features/chat/presentation/dm-presence.d.ts +36 -0
  792. package/types/features/chat/presentation/dm-presence.d.ts.map +1 -0
  793. package/types/features/chat/presentation/format-message-time.d.ts +24 -0
  794. package/types/features/chat/presentation/format-message-time.d.ts.map +1 -0
  795. package/types/features/chat/presentation/group-header.d.ts +21 -0
  796. package/types/features/chat/presentation/group-header.d.ts.map +1 -0
  797. package/types/features/chat/presentation/group-menu-items.d.ts +10 -0
  798. package/types/features/chat/presentation/group-menu-items.d.ts.map +1 -0
  799. package/types/features/chat/presentation/group-messages.d.ts +43 -0
  800. package/types/features/chat/presentation/group-messages.d.ts.map +1 -0
  801. package/types/features/chat/presentation/index.d.ts +8 -0
  802. package/types/features/chat/presentation/index.d.ts.map +1 -0
  803. package/types/features/chat/presentation/jump-to-message.d.ts +13 -0
  804. package/types/features/chat/presentation/jump-to-message.d.ts.map +1 -0
  805. package/types/features/chat/presentation/last-seen.d.ts +7 -0
  806. package/types/features/chat/presentation/last-seen.d.ts.map +1 -0
  807. package/types/features/chat/presentation/manage-members.d.ts +15 -0
  808. package/types/features/chat/presentation/manage-members.d.ts.map +1 -0
  809. package/types/features/chat/presentation/merge-incoming-message.d.ts +17 -0
  810. package/types/features/chat/presentation/merge-incoming-message.d.ts.map +1 -0
  811. package/types/features/chat/presentation/message-actions.d.ts +11 -0
  812. package/types/features/chat/presentation/message-actions.d.ts.map +1 -0
  813. package/types/features/chat/presentation/message-bubble-body.d.ts +27 -0
  814. package/types/features/chat/presentation/message-bubble-body.d.ts.map +1 -0
  815. package/types/features/chat/presentation/message-reactions.d.ts +14 -0
  816. package/types/features/chat/presentation/message-reactions.d.ts.map +1 -0
  817. package/types/features/chat/presentation/new-conversation.d.ts +10 -0
  818. package/types/features/chat/presentation/new-conversation.d.ts.map +1 -0
  819. package/types/features/chat/presentation/normalize-user-id.d.ts +4 -0
  820. package/types/features/chat/presentation/normalize-user-id.d.ts.map +1 -0
  821. package/types/features/chat/presentation/optimistic-send.d.ts +67 -0
  822. package/types/features/chat/presentation/optimistic-send.d.ts.map +1 -0
  823. package/types/features/chat/presentation/pick-attachable-files.d.ts +21 -0
  824. package/types/features/chat/presentation/pick-attachable-files.d.ts.map +1 -0
  825. package/types/features/chat/presentation/prepend-older-messages.d.ts +13 -0
  826. package/types/features/chat/presentation/prepend-older-messages.d.ts.map +1 -0
  827. package/types/features/chat/presentation/resolve-media-kind.d.ts +9 -0
  828. package/types/features/chat/presentation/resolve-media-kind.d.ts.map +1 -0
  829. package/types/features/chat/presentation/resolve-message-identity.d.ts +12 -0
  830. package/types/features/chat/presentation/resolve-message-identity.d.ts.map +1 -0
  831. package/types/features/chat/presentation/resolve-reply-preview.d.ts +22 -0
  832. package/types/features/chat/presentation/resolve-reply-preview.d.ts.map +1 -0
  833. package/types/features/chat/presentation/tick-state.d.ts +23 -0
  834. package/types/features/chat/presentation/tick-state.d.ts.map +1 -0
  835. package/types/features/chat/presentation/unread-chat-count.d.ts +14 -0
  836. package/types/features/chat/presentation/unread-chat-count.d.ts.map +1 -0
  837. package/types/features/chat/presentation/use-active-conversation.d.ts +32 -0
  838. package/types/features/chat/presentation/use-active-conversation.d.ts.map +1 -0
  839. package/types/features/chat/presentation/use-chat-actions.d.ts +17 -0
  840. package/types/features/chat/presentation/use-chat-actions.d.ts.map +1 -0
  841. package/types/features/chat/presentation/use-chat-media-src.d.ts +15 -0
  842. package/types/features/chat/presentation/use-chat-media-src.d.ts.map +1 -0
  843. package/types/features/chat/presentation/use-chat-module.d.ts +4 -0
  844. package/types/features/chat/presentation/use-chat-module.d.ts.map +1 -0
  845. package/types/features/chat/presentation/use-chat-page-state.d.ts +24 -0
  846. package/types/features/chat/presentation/use-chat-page-state.d.ts.map +1 -0
  847. package/types/features/chat/presentation/use-chat.d.ts +86 -0
  848. package/types/features/chat/presentation/use-chat.d.ts.map +1 -0
  849. package/types/features/chat/presentation/use-conversation-confirm.d.ts +19 -0
  850. package/types/features/chat/presentation/use-conversation-confirm.d.ts.map +1 -0
  851. package/types/features/chat/presentation/use-conversations.d.ts +88 -0
  852. package/types/features/chat/presentation/use-conversations.d.ts.map +1 -0
  853. package/types/features/chat/presentation/use-debounced-value.d.ts +6 -0
  854. package/types/features/chat/presentation/use-debounced-value.d.ts.map +1 -0
  855. package/types/features/chat/presentation/use-hidden-messages.d.ts +14 -0
  856. package/types/features/chat/presentation/use-hidden-messages.d.ts.map +1 -0
  857. package/types/features/chat/presentation/use-infinite-scroll.d.ts +19 -0
  858. package/types/features/chat/presentation/use-infinite-scroll.d.ts.map +1 -0
  859. package/types/features/chat/presentation/use-jump-to-message.d.ts +3 -0
  860. package/types/features/chat/presentation/use-jump-to-message.d.ts.map +1 -0
  861. package/types/features/chat/presentation/use-load-older-messages.d.ts +17 -0
  862. package/types/features/chat/presentation/use-load-older-messages.d.ts.map +1 -0
  863. package/types/features/chat/presentation/use-mark-read-on-view.d.ts +13 -0
  864. package/types/features/chat/presentation/use-mark-read-on-view.d.ts.map +1 -0
  865. package/types/features/chat/presentation/use-mark-read.d.ts +13 -0
  866. package/types/features/chat/presentation/use-mark-read.d.ts.map +1 -0
  867. package/types/features/chat/presentation/use-media-viewer.d.ts +20 -0
  868. package/types/features/chat/presentation/use-media-viewer.d.ts.map +1 -0
  869. package/types/features/chat/presentation/use-member-draft.d.ts +18 -0
  870. package/types/features/chat/presentation/use-member-draft.d.ts.map +1 -0
  871. package/types/features/chat/presentation/use-message-delete.d.ts +17 -0
  872. package/types/features/chat/presentation/use-message-delete.d.ts.map +1 -0
  873. package/types/features/chat/presentation/use-pending-attachments.d.ts +20 -0
  874. package/types/features/chat/presentation/use-pending-attachments.d.ts.map +1 -0
  875. package/types/features/chat/presentation/use-seed-receipts.d.ts +8 -0
  876. package/types/features/chat/presentation/use-seed-receipts.d.ts.map +1 -0
  877. package/types/features/chat/presentation/use-send-media.d.ts +11 -0
  878. package/types/features/chat/presentation/use-send-media.d.ts.map +1 -0
  879. package/types/features/chat/presentation/use-send-message.d.ts +14 -0
  880. package/types/features/chat/presentation/use-send-message.d.ts.map +1 -0
  881. package/types/features/chat/presentation/use-staff-search.d.ts +19 -0
  882. package/types/features/chat/presentation/use-staff-search.d.ts.map +1 -0
  883. package/types/features/chat/presentation/use-sync-on-reconnect.d.ts +6 -0
  884. package/types/features/chat/presentation/use-sync-on-reconnect.d.ts.map +1 -0
  885. package/types/features/chat/presentation/use-thread-scroll.d.ts +23 -0
  886. package/types/features/chat/presentation/use-thread-scroll.d.ts.map +1 -0
  887. package/types/features/chat/presentation/use-typing.d.ts +14 -0
  888. package/types/features/chat/presentation/use-typing.d.ts.map +1 -0
  889. package/types/features/chat/presentation/use-web-push.d.ts +6 -0
  890. package/types/features/chat/presentation/use-web-push.d.ts.map +1 -0
  891. package/types/features/chat/presentation/useChatRealtime.d.ts +11 -0
  892. package/types/features/chat/presentation/useChatRealtime.d.ts.map +1 -0
  893. package/types/features/chat/presentation/with-viewer-perspective.d.ts +12 -0
  894. package/types/features/chat/presentation/with-viewer-perspective.d.ts.map +1 -0
  895. package/types/features/chat/store/chat-realtime-context.d.ts +4 -0
  896. package/types/features/chat/store/chat-realtime-context.d.ts.map +1 -0
  897. package/types/features/chat/store/chat-realtime-store.d.ts +43 -0
  898. package/types/features/chat/store/chat-realtime-store.d.ts.map +1 -0
  899. package/types/features/chat/store/index.d.ts +5 -0
  900. package/types/features/chat/store/index.d.ts.map +1 -0
  901. package/types/features/chat/store/realtime-reducers.d.ts +83 -0
  902. package/types/features/chat/store/realtime-reducers.d.ts.map +1 -0
  903. package/types/features/chat/store/use-chat-realtime-store.d.ts +6 -0
  904. package/types/features/chat/store/use-chat-realtime-store.d.ts.map +1 -0
  905. package/types/features/feed/application/index.d.ts +19 -0
  906. package/types/features/feed/application/index.d.ts.map +1 -0
  907. package/types/features/feed/application/use-cases/acknowledge-post.d.ts +15 -0
  908. package/types/features/feed/application/use-cases/acknowledge-post.d.ts.map +1 -0
  909. package/types/features/feed/application/use-cases/add-comment.d.ts +19 -0
  910. package/types/features/feed/application/use-cases/add-comment.d.ts.map +1 -0
  911. package/types/features/feed/application/use-cases/create-post.d.ts +15 -0
  912. package/types/features/feed/application/use-cases/create-post.d.ts.map +1 -0
  913. package/types/features/feed/application/use-cases/detect-location.d.ts +11 -0
  914. package/types/features/feed/application/use-cases/detect-location.d.ts.map +1 -0
  915. package/types/features/feed/application/use-cases/get-notifications.d.ts +12 -0
  916. package/types/features/feed/application/use-cases/get-notifications.d.ts.map +1 -0
  917. package/types/features/feed/application/use-cases/get-post.d.ts +15 -0
  918. package/types/features/feed/application/use-cases/get-post.d.ts.map +1 -0
  919. package/types/features/feed/application/use-cases/list-feed-audiences.d.ts +11 -0
  920. package/types/features/feed/application/use-cases/list-feed-audiences.d.ts.map +1 -0
  921. package/types/features/feed/application/use-cases/list-feed-categories.d.ts +11 -0
  922. package/types/features/feed/application/use-cases/list-feed-categories.d.ts.map +1 -0
  923. package/types/features/feed/application/use-cases/list-feed-feelings.d.ts +11 -0
  924. package/types/features/feed/application/use-cases/list-feed-feelings.d.ts.map +1 -0
  925. package/types/features/feed/application/use-cases/list-feed.d.ts +21 -0
  926. package/types/features/feed/application/use-cases/list-feed.d.ts.map +1 -0
  927. package/types/features/feed/application/use-cases/mark-notification-read.d.ts +12 -0
  928. package/types/features/feed/application/use-cases/mark-notification-read.d.ts.map +1 -0
  929. package/types/features/feed/application/use-cases/mark-seen.d.ts +15 -0
  930. package/types/features/feed/application/use-cases/mark-seen.d.ts.map +1 -0
  931. package/types/features/feed/application/use-cases/react-to-post.d.ts +15 -0
  932. package/types/features/feed/application/use-cases/react-to-post.d.ts.map +1 -0
  933. package/types/features/feed/application/use-cases/search-feed-users.d.ts +11 -0
  934. package/types/features/feed/application/use-cases/search-feed-users.d.ts.map +1 -0
  935. package/types/features/feed/application/use-cases/set-post-pinned.d.ts +15 -0
  936. package/types/features/feed/application/use-cases/set-post-pinned.d.ts.map +1 -0
  937. package/types/features/feed/application/use-cases/toggle-bookmark.d.ts +15 -0
  938. package/types/features/feed/application/use-cases/toggle-bookmark.d.ts.map +1 -0
  939. package/types/features/feed/application/use-cases/update-post.d.ts +15 -0
  940. package/types/features/feed/application/use-cases/update-post.d.ts.map +1 -0
  941. package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts +14 -0
  942. package/types/features/feed/application/use-cases/upload-feed-image-use-case.d.ts.map +1 -0
  943. package/types/features/feed/domain/errors/feed-errors.d.ts +15 -0
  944. package/types/features/feed/domain/errors/feed-errors.d.ts.map +1 -0
  945. package/types/features/feed/domain/feed-options.d.ts +28 -0
  946. package/types/features/feed/domain/feed-options.d.ts.map +1 -0
  947. package/types/features/feed/domain/feed-post.d.ts +88 -0
  948. package/types/features/feed/domain/feed-post.d.ts.map +1 -0
  949. package/types/features/feed/domain/index.d.ts +5 -0
  950. package/types/features/feed/domain/index.d.ts.map +1 -0
  951. package/types/features/feed/domain/ports/feed-gateway.d.ts +69 -0
  952. package/types/features/feed/domain/ports/feed-gateway.d.ts.map +1 -0
  953. package/types/features/feed/feed-module.d.ts +34 -0
  954. package/types/features/feed/feed-module.d.ts.map +1 -0
  955. package/types/features/feed/index.d.ts +9 -0
  956. package/types/features/feed/index.d.ts.map +1 -0
  957. package/types/features/feed/infrastructure/dto/feed-dtos.d.ts +1022 -0
  958. package/types/features/feed/infrastructure/dto/feed-dtos.d.ts.map +1 -0
  959. package/types/features/feed/infrastructure/dto/notification-dtos.d.ts +77 -0
  960. package/types/features/feed/infrastructure/dto/notification-dtos.d.ts.map +1 -0
  961. package/types/features/feed/infrastructure/feed-gateway-errors.d.ts +21 -0
  962. package/types/features/feed/infrastructure/feed-gateway-errors.d.ts.map +1 -0
  963. package/types/features/feed/infrastructure/feed-mappers.d.ts +8 -0
  964. package/types/features/feed/infrastructure/feed-mappers.d.ts.map +1 -0
  965. package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts +38 -0
  966. package/types/features/feed/infrastructure/feed-realtime-protocol.d.ts.map +1 -0
  967. package/types/features/feed/infrastructure/geolocation-detector.d.ts +16 -0
  968. package/types/features/feed/infrastructure/geolocation-detector.d.ts.map +1 -0
  969. package/types/features/feed/infrastructure/http-feed-gateway.d.ts +35 -0
  970. package/types/features/feed/infrastructure/http-feed-gateway.d.ts.map +1 -0
  971. package/types/features/feed/infrastructure/index.d.ts +2 -0
  972. package/types/features/feed/infrastructure/index.d.ts.map +1 -0
  973. package/types/features/feed/presentation/EditPostForm.d.ts +9 -0
  974. package/types/features/feed/presentation/EditPostForm.d.ts.map +1 -0
  975. package/types/features/feed/presentation/EditPostImages.d.ts +10 -0
  976. package/types/features/feed/presentation/EditPostImages.d.ts.map +1 -0
  977. package/types/features/feed/presentation/FeedComposer.d.ts +3 -0
  978. package/types/features/feed/presentation/FeedComposer.d.ts.map +1 -0
  979. package/types/features/feed/presentation/FeedEmptyState.d.ts +3 -0
  980. package/types/features/feed/presentation/FeedEmptyState.d.ts.map +1 -0
  981. package/types/features/feed/presentation/FeedImage.d.ts +13 -0
  982. package/types/features/feed/presentation/FeedImage.d.ts.map +1 -0
  983. package/types/features/feed/presentation/FeedModuleProvider.d.ts +9 -0
  984. package/types/features/feed/presentation/FeedModuleProvider.d.ts.map +1 -0
  985. package/types/features/feed/presentation/FeedPage.d.ts +3 -0
  986. package/types/features/feed/presentation/FeedPage.d.ts.map +1 -0
  987. package/types/features/feed/presentation/FeedPostCard.d.ts +12 -0
  988. package/types/features/feed/presentation/FeedPostCard.d.ts.map +1 -0
  989. package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts +20 -0
  990. package/types/features/feed/presentation/FeedPostCardSubcomponents.d.ts.map +1 -0
  991. package/types/features/feed/presentation/FeedPostList.d.ts +7 -0
  992. package/types/features/feed/presentation/FeedPostList.d.ts.map +1 -0
  993. package/types/features/feed/presentation/FeedPromotionsRail.d.ts +4 -0
  994. package/types/features/feed/presentation/FeedPromotionsRail.d.ts.map +1 -0
  995. package/types/features/feed/presentation/FeedScopeTabs.d.ts +8 -0
  996. package/types/features/feed/presentation/FeedScopeTabs.d.ts.map +1 -0
  997. package/types/features/feed/presentation/FeedSkeleton.d.ts +6 -0
  998. package/types/features/feed/presentation/FeedSkeleton.d.ts.map +1 -0
  999. package/types/features/feed/presentation/Lightbox.d.ts +21 -0
  1000. package/types/features/feed/presentation/Lightbox.d.ts.map +1 -0
  1001. package/types/features/feed/presentation/PostCardContent.d.ts +30 -0
  1002. package/types/features/feed/presentation/PostCardContent.d.ts.map +1 -0
  1003. package/types/features/feed/presentation/PostComments.d.ts +9 -0
  1004. package/types/features/feed/presentation/PostComments.d.ts.map +1 -0
  1005. package/types/features/feed/presentation/PostHeader.d.ts +12 -0
  1006. package/types/features/feed/presentation/PostHeader.d.ts.map +1 -0
  1007. package/types/features/feed/presentation/PostImages.d.ts +7 -0
  1008. package/types/features/feed/presentation/PostImages.d.ts.map +1 -0
  1009. package/types/features/feed/presentation/PromotionsPanel.d.ts +12 -0
  1010. package/types/features/feed/presentation/PromotionsPanel.d.ts.map +1 -0
  1011. package/types/features/feed/presentation/SharePostModal.d.ts +9 -0
  1012. package/types/features/feed/presentation/SharePostModal.d.ts.map +1 -0
  1013. package/types/features/feed/presentation/SharedPostForm.d.ts +70 -0
  1014. package/types/features/feed/presentation/SharedPostForm.d.ts.map +1 -0
  1015. package/types/features/feed/presentation/WhatYouMissed.d.ts +7 -0
  1016. package/types/features/feed/presentation/WhatYouMissed.d.ts.map +1 -0
  1017. package/types/features/feed/presentation/composer-audience.d.ts +11 -0
  1018. package/types/features/feed/presentation/composer-audience.d.ts.map +1 -0
  1019. package/types/features/feed/presentation/composer-category-utils.d.ts +19 -0
  1020. package/types/features/feed/presentation/composer-category-utils.d.ts.map +1 -0
  1021. package/types/features/feed/presentation/composer-data.d.ts +23 -0
  1022. package/types/features/feed/presentation/composer-data.d.ts.map +1 -0
  1023. package/types/features/feed/presentation/composer-extras.d.ts +37 -0
  1024. package/types/features/feed/presentation/composer-extras.d.ts.map +1 -0
  1025. package/types/features/feed/presentation/composer-header.d.ts +18 -0
  1026. package/types/features/feed/presentation/composer-header.d.ts.map +1 -0
  1027. package/types/features/feed/presentation/composer-item-template-sheets.d.ts +23 -0
  1028. package/types/features/feed/presentation/composer-item-template-sheets.d.ts.map +1 -0
  1029. package/types/features/feed/presentation/composer-meta.d.ts +11 -0
  1030. package/types/features/feed/presentation/composer-meta.d.ts.map +1 -0
  1031. package/types/features/feed/presentation/composer-mini-sheets.d.ts +11 -0
  1032. package/types/features/feed/presentation/composer-mini-sheets.d.ts.map +1 -0
  1033. package/types/features/feed/presentation/composer-photos.d.ts +11 -0
  1034. package/types/features/feed/presentation/composer-photos.d.ts.map +1 -0
  1035. package/types/features/feed/presentation/composer-profile.d.ts +17 -0
  1036. package/types/features/feed/presentation/composer-profile.d.ts.map +1 -0
  1037. package/types/features/feed/presentation/composer-schedule.d.ts +24 -0
  1038. package/types/features/feed/presentation/composer-schedule.d.ts.map +1 -0
  1039. package/types/features/feed/presentation/composer-tag-sheet.d.ts +12 -0
  1040. package/types/features/feed/presentation/composer-tag-sheet.d.ts.map +1 -0
  1041. package/types/features/feed/presentation/composer-utils.d.ts +12 -0
  1042. package/types/features/feed/presentation/composer-utils.d.ts.map +1 -0
  1043. package/types/features/feed/presentation/execute-save-post.d.ts +23 -0
  1044. package/types/features/feed/presentation/execute-save-post.d.ts.map +1 -0
  1045. package/types/features/feed/presentation/feed-module-context.d.ts +4 -0
  1046. package/types/features/feed/presentation/feed-module-context.d.ts.map +1 -0
  1047. package/types/features/feed/presentation/feed-promos.d.ts +28 -0
  1048. package/types/features/feed/presentation/feed-promos.d.ts.map +1 -0
  1049. package/types/features/feed/presentation/feed-utils.d.ts +20 -0
  1050. package/types/features/feed/presentation/feed-utils.d.ts.map +1 -0
  1051. package/types/features/feed/presentation/index.d.ts +4 -0
  1052. package/types/features/feed/presentation/index.d.ts.map +1 -0
  1053. package/types/features/feed/presentation/share-rows.d.ts +41 -0
  1054. package/types/features/feed/presentation/share-rows.d.ts.map +1 -0
  1055. package/types/features/feed/presentation/use-composer-form-state.d.ts +41 -0
  1056. package/types/features/feed/presentation/use-composer-form-state.d.ts.map +1 -0
  1057. package/types/features/feed/presentation/use-edit-post-state.d.ts +46 -0
  1058. package/types/features/feed/presentation/use-edit-post-state.d.ts.map +1 -0
  1059. package/types/features/feed/presentation/use-feed-module.d.ts +4 -0
  1060. package/types/features/feed/presentation/use-feed-module.d.ts.map +1 -0
  1061. package/types/features/feed/presentation/use-feed-post-card-state.d.ts +51 -0
  1062. package/types/features/feed/presentation/use-feed-post-card-state.d.ts.map +1 -0
  1063. package/types/features/feed/presentation/use-feed.d.ts +36 -0
  1064. package/types/features/feed/presentation/use-feed.d.ts.map +1 -0
  1065. package/types/features/feed/presentation/use-scroll-to-post.d.ts +11 -0
  1066. package/types/features/feed/presentation/use-scroll-to-post.d.ts.map +1 -0
  1067. package/types/features/feed/presentation/use-share-post-modal-logic.d.ts +33 -0
  1068. package/types/features/feed/presentation/use-share-post-modal-logic.d.ts.map +1 -0
  1069. package/types/features/meeting-video/application/index.d.ts +6 -0
  1070. package/types/features/meeting-video/application/index.d.ts.map +1 -0
  1071. package/types/features/meeting-video/application/use-cases/end-meeting-now.d.ts +15 -0
  1072. package/types/features/meeting-video/application/use-cases/end-meeting-now.d.ts.map +1 -0
  1073. package/types/features/meeting-video/application/use-cases/extend-meeting.d.ts +15 -0
  1074. package/types/features/meeting-video/application/use-cases/extend-meeting.d.ts.map +1 -0
  1075. package/types/features/meeting-video/application/use-cases/get-meeting-room-status.d.ts +21 -0
  1076. package/types/features/meeting-video/application/use-cases/get-meeting-room-status.d.ts.map +1 -0
  1077. package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts +15 -0
  1078. package/types/features/meeting-video/application/use-cases/join-meeting-video.d.ts.map +1 -0
  1079. package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts +10 -0
  1080. package/types/features/meeting-video/domain/errors/meeting-video-errors.d.ts.map +1 -0
  1081. package/types/features/meeting-video/domain/index.d.ts +4 -0
  1082. package/types/features/meeting-video/domain/index.d.ts.map +1 -0
  1083. package/types/features/meeting-video/domain/meeting-join-ticket.d.ts +30 -0
  1084. package/types/features/meeting-video/domain/meeting-join-ticket.d.ts.map +1 -0
  1085. package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts +14 -0
  1086. package/types/features/meeting-video/domain/ports/meeting-video-gateway.d.ts.map +1 -0
  1087. package/types/features/meeting-video/index.d.ts +5 -0
  1088. package/types/features/meeting-video/index.d.ts.map +1 -0
  1089. package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts +47 -0
  1090. package/types/features/meeting-video/infrastructure/dto/meeting-video-dtos.d.ts.map +1 -0
  1091. package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts +25 -0
  1092. package/types/features/meeting-video/infrastructure/http-meeting-video-gateway.d.ts.map +1 -0
  1093. package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts +13 -0
  1094. package/types/features/meeting-video/infrastructure/http-meeting-video-routes.d.ts.map +1 -0
  1095. package/types/features/meeting-video/infrastructure/index.d.ts +4 -0
  1096. package/types/features/meeting-video/infrastructure/index.d.ts.map +1 -0
  1097. package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts +6 -0
  1098. package/types/features/meeting-video/infrastructure/meeting-video-mappers.d.ts.map +1 -0
  1099. package/types/features/meeting-video/meeting-video-module.d.ts +16 -0
  1100. package/types/features/meeting-video/meeting-video-module.d.ts.map +1 -0
  1101. package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts +8 -0
  1102. package/types/features/meeting-video/presentation/FloatingMeetingWidget.d.ts.map +1 -0
  1103. package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts +14 -0
  1104. package/types/features/meeting-video/presentation/MeetingRoomTrigger.d.ts.map +1 -0
  1105. package/types/features/meeting-video/presentation/MeetingTimeControls.d.ts +16 -0
  1106. package/types/features/meeting-video/presentation/MeetingTimeControls.d.ts.map +1 -0
  1107. package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts +9 -0
  1108. package/types/features/meeting-video/presentation/MeetingVideoModuleProvider.d.ts.map +1 -0
  1109. package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts +15 -0
  1110. package/types/features/meeting-video/presentation/MeetingVideoRoom.d.ts.map +1 -0
  1111. package/types/features/meeting-video/presentation/PersistentMeetingOverlay.d.ts +22 -0
  1112. package/types/features/meeting-video/presentation/PersistentMeetingOverlay.d.ts.map +1 -0
  1113. package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts +8 -0
  1114. package/types/features/meeting-video/presentation/experiences/CloudflareMeetingExperience.d.ts.map +1 -0
  1115. package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts +6 -0
  1116. package/types/features/meeting-video/presentation/experiences/ExperienceError.d.ts.map +1 -0
  1117. package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts +10 -0
  1118. package/types/features/meeting-video/presentation/experiences/ZoomMeetingExperience.d.ts.map +1 -0
  1119. package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts +11 -0
  1120. package/types/features/meeting-video/presentation/experiences/meeting-experience.d.ts.map +1 -0
  1121. package/types/features/meeting-video/presentation/index.d.ts +7 -0
  1122. package/types/features/meeting-video/presentation/index.d.ts.map +1 -0
  1123. package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts +4 -0
  1124. package/types/features/meeting-video/presentation/meeting-video-module-context.d.ts.map +1 -0
  1125. package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts +24 -0
  1126. package/types/features/meeting-video/presentation/use-active-meeting-store.d.ts.map +1 -0
  1127. package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts +10 -0
  1128. package/types/features/meeting-video/presentation/use-join-meeting-video.d.ts.map +1 -0
  1129. package/types/features/meeting-video/presentation/use-meeting-room-guard.d.ts +43 -0
  1130. package/types/features/meeting-video/presentation/use-meeting-room-guard.d.ts.map +1 -0
  1131. package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts +4 -0
  1132. package/types/features/meeting-video/presentation/use-meeting-video-module.d.ts.map +1 -0
  1133. package/types/features/meetings/application/index.d.ts +8 -0
  1134. package/types/features/meetings/application/index.d.ts.map +1 -0
  1135. package/types/features/meetings/application/use-cases/book-meeting.d.ts +15 -0
  1136. package/types/features/meetings/application/use-cases/book-meeting.d.ts.map +1 -0
  1137. package/types/features/meetings/application/use-cases/cancel-meeting.d.ts +15 -0
  1138. package/types/features/meetings/application/use-cases/cancel-meeting.d.ts.map +1 -0
  1139. package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts +15 -0
  1140. package/types/features/meetings/application/use-cases/list-attendee-availability.d.ts.map +1 -0
  1141. package/types/features/meetings/application/use-cases/list-available-slots.d.ts +15 -0
  1142. package/types/features/meetings/application/use-cases/list-available-slots.d.ts.map +1 -0
  1143. package/types/features/meetings/application/use-cases/list-contacts.d.ts +15 -0
  1144. package/types/features/meetings/application/use-cases/list-contacts.d.ts.map +1 -0
  1145. package/types/features/meetings/application/use-cases/list-meetings.d.ts +15 -0
  1146. package/types/features/meetings/application/use-cases/list-meetings.d.ts.map +1 -0
  1147. package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts +15 -0
  1148. package/types/features/meetings/application/use-cases/respond-to-meeting.d.ts.map +1 -0
  1149. package/types/features/meetings/domain/errors/meeting-errors.d.ts +25 -0
  1150. package/types/features/meetings/domain/errors/meeting-errors.d.ts.map +1 -0
  1151. package/types/features/meetings/domain/index.d.ts +7 -0
  1152. package/types/features/meetings/domain/index.d.ts.map +1 -0
  1153. package/types/features/meetings/domain/meeting-timezones.d.ts +20 -0
  1154. package/types/features/meetings/domain/meeting-timezones.d.ts.map +1 -0
  1155. package/types/features/meetings/domain/meeting.d.ts +82 -0
  1156. package/types/features/meetings/domain/meeting.d.ts.map +1 -0
  1157. package/types/features/meetings/domain/ports/calendar-writer.d.ts +16 -0
  1158. package/types/features/meetings/domain/ports/calendar-writer.d.ts.map +1 -0
  1159. package/types/features/meetings/domain/ports/meeting-gateway.d.ts +51 -0
  1160. package/types/features/meetings/domain/ports/meeting-gateway.d.ts.map +1 -0
  1161. package/types/features/meetings/domain/slot-availability.d.ts +67 -0
  1162. package/types/features/meetings/domain/slot-availability.d.ts.map +1 -0
  1163. package/types/features/meetings/index.d.ts +7 -0
  1164. package/types/features/meetings/index.d.ts.map +1 -0
  1165. package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts +489 -0
  1166. package/types/features/meetings/infrastructure/dto/meeting-dtos.d.ts.map +1 -0
  1167. package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts +30 -0
  1168. package/types/features/meetings/infrastructure/http-meeting-gateway.d.ts.map +1 -0
  1169. package/types/features/meetings/infrastructure/http-meeting-routes.d.ts +16 -0
  1170. package/types/features/meetings/infrastructure/http-meeting-routes.d.ts.map +1 -0
  1171. package/types/features/meetings/infrastructure/index.d.ts +4 -0
  1172. package/types/features/meetings/infrastructure/index.d.ts.map +1 -0
  1173. package/types/features/meetings/infrastructure/meeting-gateway-errors.d.ts +12 -0
  1174. package/types/features/meetings/infrastructure/meeting-gateway-errors.d.ts.map +1 -0
  1175. package/types/features/meetings/infrastructure/meeting-mappers.d.ts +25 -0
  1176. package/types/features/meetings/infrastructure/meeting-mappers.d.ts.map +1 -0
  1177. package/types/features/meetings/infrastructure/meeting-seed.d.ts +27 -0
  1178. package/types/features/meetings/infrastructure/meeting-seed.d.ts.map +1 -0
  1179. package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts +22 -0
  1180. package/types/features/meetings/infrastructure/mock-meeting-gateway.d.ts.map +1 -0
  1181. package/types/features/meetings/meetings-module.d.ts +19 -0
  1182. package/types/features/meetings/meetings-module.d.ts.map +1 -0
  1183. package/types/features/meetings/presentation/AttendeeSidebar.d.ts +16 -0
  1184. package/types/features/meetings/presentation/AttendeeSidebar.d.ts.map +1 -0
  1185. package/types/features/meetings/presentation/BookBar.d.ts +17 -0
  1186. package/types/features/meetings/presentation/BookBar.d.ts.map +1 -0
  1187. package/types/features/meetings/presentation/BookMeetingPanel.d.ts +6 -0
  1188. package/types/features/meetings/presentation/BookMeetingPanel.d.ts.map +1 -0
  1189. package/types/features/meetings/presentation/BookingCalendar.d.ts +11 -0
  1190. package/types/features/meetings/presentation/BookingCalendar.d.ts.map +1 -0
  1191. package/types/features/meetings/presentation/BookingConfirmModal.d.ts +16 -0
  1192. package/types/features/meetings/presentation/BookingConfirmModal.d.ts.map +1 -0
  1193. package/types/features/meetings/presentation/BookingSuccessScreen.d.ts +9 -0
  1194. package/types/features/meetings/presentation/BookingSuccessScreen.d.ts.map +1 -0
  1195. package/types/features/meetings/presentation/BookingsPage.d.ts +4 -0
  1196. package/types/features/meetings/presentation/BookingsPage.d.ts.map +1 -0
  1197. package/types/features/meetings/presentation/ContactColumn.d.ts +16 -0
  1198. package/types/features/meetings/presentation/ContactColumn.d.ts.map +1 -0
  1199. package/types/features/meetings/presentation/GroupMeetingWizard.d.ts +6 -0
  1200. package/types/features/meetings/presentation/GroupMeetingWizard.d.ts.map +1 -0
  1201. package/types/features/meetings/presentation/MeetingCard.d.ts +14 -0
  1202. package/types/features/meetings/presentation/MeetingCard.d.ts.map +1 -0
  1203. package/types/features/meetings/presentation/MeetingParticipantsChip.d.ts +21 -0
  1204. package/types/features/meetings/presentation/MeetingParticipantsChip.d.ts.map +1 -0
  1205. package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts +9 -0
  1206. package/types/features/meetings/presentation/MeetingsModuleProvider.d.ts.map +1 -0
  1207. package/types/features/meetings/presentation/MeetingsSkeleton.d.ts +3 -0
  1208. package/types/features/meetings/presentation/MeetingsSkeleton.d.ts.map +1 -0
  1209. package/types/features/meetings/presentation/ScheduledMeetings.d.ts +3 -0
  1210. package/types/features/meetings/presentation/ScheduledMeetings.d.ts.map +1 -0
  1211. package/types/features/meetings/presentation/SlotsColumn.d.ts +15 -0
  1212. package/types/features/meetings/presentation/SlotsColumn.d.ts.map +1 -0
  1213. package/types/features/meetings/presentation/StepConfirm.d.ts +8 -0
  1214. package/types/features/meetings/presentation/StepConfirm.d.ts.map +1 -0
  1215. package/types/features/meetings/presentation/StepDetails.d.ts +8 -0
  1216. package/types/features/meetings/presentation/StepDetails.d.ts.map +1 -0
  1217. package/types/features/meetings/presentation/StepParticipants.d.ts +8 -0
  1218. package/types/features/meetings/presentation/StepParticipants.d.ts.map +1 -0
  1219. package/types/features/meetings/presentation/StepTime.d.ts +6 -0
  1220. package/types/features/meetings/presentation/StepTime.d.ts.map +1 -0
  1221. package/types/features/meetings/presentation/TimelineGrid.d.ts +24 -0
  1222. package/types/features/meetings/presentation/TimelineGrid.d.ts.map +1 -0
  1223. package/types/features/meetings/presentation/TimezoneSelect.d.ts +8 -0
  1224. package/types/features/meetings/presentation/TimezoneSelect.d.ts.map +1 -0
  1225. package/types/features/meetings/presentation/booking-date.d.ts +17 -0
  1226. package/types/features/meetings/presentation/booking-date.d.ts.map +1 -0
  1227. package/types/features/meetings/presentation/booking-draft-result.d.ts +115 -0
  1228. package/types/features/meetings/presentation/booking-draft-result.d.ts.map +1 -0
  1229. package/types/features/meetings/presentation/booking-helpers.d.ts +61 -0
  1230. package/types/features/meetings/presentation/booking-helpers.d.ts.map +1 -0
  1231. package/types/features/meetings/presentation/index.d.ts +4 -0
  1232. package/types/features/meetings/presentation/index.d.ts.map +1 -0
  1233. package/types/features/meetings/presentation/meetings-module-context.d.ts +4 -0
  1234. package/types/features/meetings/presentation/meetings-module-context.d.ts.map +1 -0
  1235. package/types/features/meetings/presentation/use-booking-draft.d.ts +4 -0
  1236. package/types/features/meetings/presentation/use-booking-draft.d.ts.map +1 -0
  1237. package/types/features/meetings/presentation/use-booking-viewer.d.ts +15 -0
  1238. package/types/features/meetings/presentation/use-booking-viewer.d.ts.map +1 -0
  1239. package/types/features/meetings/presentation/use-debounced-value.d.ts +6 -0
  1240. package/types/features/meetings/presentation/use-debounced-value.d.ts.map +1 -0
  1241. package/types/features/meetings/presentation/use-group-wizard-state.d.ts +14 -0
  1242. package/types/features/meetings/presentation/use-group-wizard-state.d.ts.map +1 -0
  1243. package/types/features/meetings/presentation/use-meetings-module.d.ts +4 -0
  1244. package/types/features/meetings/presentation/use-meetings-module.d.ts.map +1 -0
  1245. package/types/features/meetings/presentation/use-meetings.d.ts +32 -0
  1246. package/types/features/meetings/presentation/use-meetings.d.ts.map +1 -0
  1247. package/types/features/module-access/application/index.d.ts +2 -0
  1248. package/types/features/module-access/application/index.d.ts.map +1 -0
  1249. package/types/features/module-access/application/use-cases/get-module-access.d.ts +15 -0
  1250. package/types/features/module-access/application/use-cases/get-module-access.d.ts.map +1 -0
  1251. package/types/features/module-access/domain/index.d.ts +2 -0
  1252. package/types/features/module-access/domain/index.d.ts.map +1 -0
  1253. package/types/features/module-access/domain/module-access.d.ts +100 -0
  1254. package/types/features/module-access/domain/module-access.d.ts.map +1 -0
  1255. package/types/features/module-access/index.d.ts +9 -0
  1256. package/types/features/module-access/index.d.ts.map +1 -0
  1257. package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts +20 -0
  1258. package/types/features/module-access/infrastructure/http-module-access-gateway.d.ts.map +1 -0
  1259. package/types/features/module-access/infrastructure/index.d.ts +2 -0
  1260. package/types/features/module-access/infrastructure/index.d.ts.map +1 -0
  1261. package/types/features/module-access/module-access-module.d.ts +16 -0
  1262. package/types/features/module-access/module-access-module.d.ts.map +1 -0
  1263. package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts +9 -0
  1264. package/types/features/module-access/presentation/ModuleAccessModuleProvider.d.ts.map +1 -0
  1265. package/types/features/module-access/presentation/RequireModule.d.ts +13 -0
  1266. package/types/features/module-access/presentation/RequireModule.d.ts.map +1 -0
  1267. package/types/features/module-access/presentation/index.d.ts +5 -0
  1268. package/types/features/module-access/presentation/index.d.ts.map +1 -0
  1269. package/types/features/module-access/presentation/module-access-module-context.d.ts +4 -0
  1270. package/types/features/module-access/presentation/module-access-module-context.d.ts.map +1 -0
  1271. package/types/features/module-access/presentation/use-module-access-module.d.ts +4 -0
  1272. package/types/features/module-access/presentation/use-module-access-module.d.ts.map +1 -0
  1273. package/types/features/module-access/presentation/use-module-access.d.ts +33 -0
  1274. package/types/features/module-access/presentation/use-module-access.d.ts.map +1 -0
  1275. package/types/features/org/application/index.d.ts +26 -0
  1276. package/types/features/org/application/index.d.ts.map +1 -0
  1277. package/types/features/org/application/use-cases/assign-manager.d.ts +15 -0
  1278. package/types/features/org/application/use-cases/assign-manager.d.ts.map +1 -0
  1279. package/types/features/org/application/use-cases/assign-user-branch.d.ts +15 -0
  1280. package/types/features/org/application/use-cases/assign-user-branch.d.ts.map +1 -0
  1281. package/types/features/org/application/use-cases/assign-user-type.d.ts +15 -0
  1282. package/types/features/org/application/use-cases/assign-user-type.d.ts.map +1 -0
  1283. package/types/features/org/application/use-cases/delete-branch.d.ts +15 -0
  1284. package/types/features/org/application/use-cases/delete-branch.d.ts.map +1 -0
  1285. package/types/features/org/application/use-cases/delete-team.d.ts +15 -0
  1286. package/types/features/org/application/use-cases/delete-team.d.ts.map +1 -0
  1287. package/types/features/org/application/use-cases/delete-user-type.d.ts +15 -0
  1288. package/types/features/org/application/use-cases/delete-user-type.d.ts.map +1 -0
  1289. package/types/features/org/application/use-cases/get-assignable-roles.d.ts +15 -0
  1290. package/types/features/org/application/use-cases/get-assignable-roles.d.ts.map +1 -0
  1291. package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts +15 -0
  1292. package/types/features/org/application/use-cases/get-hierarchy-plan.d.ts.map +1 -0
  1293. package/types/features/org/application/use-cases/get-my-user-types.d.ts +15 -0
  1294. package/types/features/org/application/use-cases/get-my-user-types.d.ts.map +1 -0
  1295. package/types/features/org/application/use-cases/get-user-branches.d.ts +15 -0
  1296. package/types/features/org/application/use-cases/get-user-branches.d.ts.map +1 -0
  1297. package/types/features/org/application/use-cases/get-user-types-for.d.ts +15 -0
  1298. package/types/features/org/application/use-cases/get-user-types-for.d.ts.map +1 -0
  1299. package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts +22 -0
  1300. package/types/features/org/application/use-cases/group-membership-hierarchy.d.ts.map +1 -0
  1301. package/types/features/org/application/use-cases/list-branch-options.d.ts +15 -0
  1302. package/types/features/org/application/use-cases/list-branch-options.d.ts.map +1 -0
  1303. package/types/features/org/application/use-cases/list-branches.d.ts +15 -0
  1304. package/types/features/org/application/use-cases/list-branches.d.ts.map +1 -0
  1305. package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts +15 -0
  1306. package/types/features/org/application/use-cases/list-hierarchy-edges.d.ts.map +1 -0
  1307. package/types/features/org/application/use-cases/list-teams.d.ts +15 -0
  1308. package/types/features/org/application/use-cases/list-teams.d.ts.map +1 -0
  1309. package/types/features/org/application/use-cases/list-user-types.d.ts +15 -0
  1310. package/types/features/org/application/use-cases/list-user-types.d.ts.map +1 -0
  1311. package/types/features/org/application/use-cases/remove-manager.d.ts +15 -0
  1312. package/types/features/org/application/use-cases/remove-manager.d.ts.map +1 -0
  1313. package/types/features/org/application/use-cases/remove-user-branch.d.ts +15 -0
  1314. package/types/features/org/application/use-cases/remove-user-branch.d.ts.map +1 -0
  1315. package/types/features/org/application/use-cases/remove-user-type.d.ts +15 -0
  1316. package/types/features/org/application/use-cases/remove-user-type.d.ts.map +1 -0
  1317. package/types/features/org/application/use-cases/save-branch.d.ts +18 -0
  1318. package/types/features/org/application/use-cases/save-branch.d.ts.map +1 -0
  1319. package/types/features/org/application/use-cases/save-team.d.ts +18 -0
  1320. package/types/features/org/application/use-cases/save-team.d.ts.map +1 -0
  1321. package/types/features/org/application/use-cases/save-user-type.d.ts +18 -0
  1322. package/types/features/org/application/use-cases/save-user-type.d.ts.map +1 -0
  1323. package/types/features/org/application/use-cases/set-default-branch.d.ts +15 -0
  1324. package/types/features/org/application/use-cases/set-default-branch.d.ts.map +1 -0
  1325. package/types/features/org/application/use-cases/switch-my-user-type.d.ts +15 -0
  1326. package/types/features/org/application/use-cases/switch-my-user-type.d.ts.map +1 -0
  1327. package/types/features/org/domain/branch.d.ts +43 -0
  1328. package/types/features/org/domain/branch.d.ts.map +1 -0
  1329. package/types/features/org/domain/data-access-scope.d.ts +12 -0
  1330. package/types/features/org/domain/data-access-scope.d.ts.map +1 -0
  1331. package/types/features/org/domain/errors/org-errors.d.ts +33 -0
  1332. package/types/features/org/domain/errors/org-errors.d.ts.map +1 -0
  1333. package/types/features/org/domain/hierarchy.d.ts +63 -0
  1334. package/types/features/org/domain/hierarchy.d.ts.map +1 -0
  1335. package/types/features/org/domain/index.d.ts +8 -0
  1336. package/types/features/org/domain/index.d.ts.map +1 -0
  1337. package/types/features/org/domain/ports/org-gateway.d.ts +59 -0
  1338. package/types/features/org/domain/ports/org-gateway.d.ts.map +1 -0
  1339. package/types/features/org/domain/team.d.ts +28 -0
  1340. package/types/features/org/domain/team.d.ts.map +1 -0
  1341. package/types/features/org/domain/user-type.d.ts +67 -0
  1342. package/types/features/org/domain/user-type.d.ts.map +1 -0
  1343. package/types/features/org/index.d.ts +8 -0
  1344. package/types/features/org/index.d.ts.map +1 -0
  1345. package/types/features/org/infrastructure/dto/org-dtos.d.ts +522 -0
  1346. package/types/features/org/infrastructure/dto/org-dtos.d.ts.map +1 -0
  1347. package/types/features/org/infrastructure/http-org-gateway.d.ts +59 -0
  1348. package/types/features/org/infrastructure/http-org-gateway.d.ts.map +1 -0
  1349. package/types/features/org/infrastructure/http-org-routes.d.ts +40 -0
  1350. package/types/features/org/infrastructure/http-org-routes.d.ts.map +1 -0
  1351. package/types/features/org/infrastructure/index.d.ts +6 -0
  1352. package/types/features/org/infrastructure/index.d.ts.map +1 -0
  1353. package/types/features/org/infrastructure/org-gateway-errors.d.ts +15 -0
  1354. package/types/features/org/infrastructure/org-gateway-errors.d.ts.map +1 -0
  1355. package/types/features/org/infrastructure/org-mappers.d.ts +24 -0
  1356. package/types/features/org/infrastructure/org-mappers.d.ts.map +1 -0
  1357. package/types/features/org/org-module.d.ts +38 -0
  1358. package/types/features/org/org-module.d.ts.map +1 -0
  1359. package/types/features/org/presentation/AccessControlPage.d.ts +9 -0
  1360. package/types/features/org/presentation/AccessControlPage.d.ts.map +1 -0
  1361. package/types/features/org/presentation/AssignManagerModal.d.ts +13 -0
  1362. package/types/features/org/presentation/AssignManagerModal.d.ts.map +1 -0
  1363. package/types/features/org/presentation/BranchFormModal.d.ts +16 -0
  1364. package/types/features/org/presentation/BranchFormModal.d.ts.map +1 -0
  1365. package/types/features/org/presentation/BranchTimezoneField.d.ts +6 -0
  1366. package/types/features/org/presentation/BranchTimezoneField.d.ts.map +1 -0
  1367. package/types/features/org/presentation/BranchesPanel.d.ts +11 -0
  1368. package/types/features/org/presentation/BranchesPanel.d.ts.map +1 -0
  1369. package/types/features/org/presentation/GroupMembershipSetting.d.ts +8 -0
  1370. package/types/features/org/presentation/GroupMembershipSetting.d.ts.map +1 -0
  1371. package/types/features/org/presentation/HierarchyInsertPicker.d.ts +18 -0
  1372. package/types/features/org/presentation/HierarchyInsertPicker.d.ts.map +1 -0
  1373. package/types/features/org/presentation/MemberAccessCard.d.ts +11 -0
  1374. package/types/features/org/presentation/MemberAccessCard.d.ts.map +1 -0
  1375. package/types/features/org/presentation/MemberAccessModal.d.ts +14 -0
  1376. package/types/features/org/presentation/MemberAccessModal.d.ts.map +1 -0
  1377. package/types/features/org/presentation/OrgChartPanel.d.ts +10 -0
  1378. package/types/features/org/presentation/OrgChartPanel.d.ts.map +1 -0
  1379. package/types/features/org/presentation/OrgChartTree.d.ts +17 -0
  1380. package/types/features/org/presentation/OrgChartTree.d.ts.map +1 -0
  1381. package/types/features/org/presentation/OrgModuleProvider.d.ts +9 -0
  1382. package/types/features/org/presentation/OrgModuleProvider.d.ts.map +1 -0
  1383. package/types/features/org/presentation/TeamFormModal.d.ts +16 -0
  1384. package/types/features/org/presentation/TeamFormModal.d.ts.map +1 -0
  1385. package/types/features/org/presentation/TeamsPanel.d.ts +11 -0
  1386. package/types/features/org/presentation/TeamsPanel.d.ts.map +1 -0
  1387. package/types/features/org/presentation/TypeSwitcher.d.ts +8 -0
  1388. package/types/features/org/presentation/TypeSwitcher.d.ts.map +1 -0
  1389. package/types/features/org/presentation/UserTypeFormFields.d.ts +21 -0
  1390. package/types/features/org/presentation/UserTypeFormFields.d.ts.map +1 -0
  1391. package/types/features/org/presentation/UserTypeFormView.d.ts +14 -0
  1392. package/types/features/org/presentation/UserTypeFormView.d.ts.map +1 -0
  1393. package/types/features/org/presentation/UserTypeLadder.d.ts +8 -0
  1394. package/types/features/org/presentation/UserTypeLadder.d.ts.map +1 -0
  1395. package/types/features/org/presentation/UserTypesPanel.d.ts +13 -0
  1396. package/types/features/org/presentation/UserTypesPanel.d.ts.map +1 -0
  1397. package/types/features/org/presentation/index.d.ts +6 -0
  1398. package/types/features/org/presentation/index.d.ts.map +1 -0
  1399. package/types/features/org/presentation/org-module-context.d.ts +4 -0
  1400. package/types/features/org/presentation/org-module-context.d.ts.map +1 -0
  1401. package/types/features/org/presentation/org-query-keys.d.ts +10 -0
  1402. package/types/features/org/presentation/org-query-keys.d.ts.map +1 -0
  1403. package/types/features/org/presentation/org-role-color.d.ts +4 -0
  1404. package/types/features/org/presentation/org-role-color.d.ts.map +1 -0
  1405. package/types/features/org/presentation/use-assign-manager-form.d.ts +29 -0
  1406. package/types/features/org/presentation/use-assign-manager-form.d.ts.map +1 -0
  1407. package/types/features/org/presentation/use-group-membership.d.ts +6 -0
  1408. package/types/features/org/presentation/use-group-membership.d.ts.map +1 -0
  1409. package/types/features/org/presentation/use-my-user-type.d.ts +12 -0
  1410. package/types/features/org/presentation/use-my-user-type.d.ts.map +1 -0
  1411. package/types/features/org/presentation/use-org-admin.d.ts +62 -0
  1412. package/types/features/org/presentation/use-org-admin.d.ts.map +1 -0
  1413. package/types/features/org/presentation/use-org-module.d.ts +4 -0
  1414. package/types/features/org/presentation/use-org-module.d.ts.map +1 -0
  1415. package/types/features/org/presentation/use-save-branch-handler.d.ts +7 -0
  1416. package/types/features/org/presentation/use-save-branch-handler.d.ts.map +1 -0
  1417. package/types/features/org/presentation/use-save-team-handler.d.ts +7 -0
  1418. package/types/features/org/presentation/use-save-team-handler.d.ts.map +1 -0
  1419. package/types/features/org/presentation/use-save-user-type-handler.d.ts +7 -0
  1420. package/types/features/org/presentation/use-save-user-type-handler.d.ts.map +1 -0
  1421. package/types/features/org/presentation/use-user-type-form.d.ts +25 -0
  1422. package/types/features/org/presentation/use-user-type-form.d.ts.map +1 -0
  1423. package/types/features/permissions/application/index.d.ts +4 -0
  1424. package/types/features/permissions/application/index.d.ts.map +1 -0
  1425. package/types/features/permissions/application/use-cases/delete-permission-set.d.ts +15 -0
  1426. package/types/features/permissions/application/use-cases/delete-permission-set.d.ts.map +1 -0
  1427. package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts +15 -0
  1428. package/types/features/permissions/application/use-cases/get-permission-catalog.d.ts.map +1 -0
  1429. package/types/features/permissions/application/use-cases/save-permission-set.d.ts +15 -0
  1430. package/types/features/permissions/application/use-cases/save-permission-set.d.ts.map +1 -0
  1431. package/types/features/permissions/domain/errors/permission-errors.d.ts +18 -0
  1432. package/types/features/permissions/domain/errors/permission-errors.d.ts.map +1 -0
  1433. package/types/features/permissions/domain/index.d.ts +5 -0
  1434. package/types/features/permissions/domain/index.d.ts.map +1 -0
  1435. package/types/features/permissions/domain/permission-rules.d.ts +20 -0
  1436. package/types/features/permissions/domain/permission-rules.d.ts.map +1 -0
  1437. package/types/features/permissions/domain/permission.d.ts +42 -0
  1438. package/types/features/permissions/domain/permission.d.ts.map +1 -0
  1439. package/types/features/permissions/domain/ports/permission-gateway.d.ts +13 -0
  1440. package/types/features/permissions/domain/ports/permission-gateway.d.ts.map +1 -0
  1441. package/types/features/permissions/index.d.ts +7 -0
  1442. package/types/features/permissions/index.d.ts.map +1 -0
  1443. package/types/features/permissions/infrastructure/http-permission-gateway.d.ts +23 -0
  1444. package/types/features/permissions/infrastructure/http-permission-gateway.d.ts.map +1 -0
  1445. package/types/features/permissions/infrastructure/http-permission-routes.d.ts +15 -0
  1446. package/types/features/permissions/infrastructure/http-permission-routes.d.ts.map +1 -0
  1447. package/types/features/permissions/infrastructure/index.d.ts +2 -0
  1448. package/types/features/permissions/infrastructure/index.d.ts.map +1 -0
  1449. package/types/features/permissions/infrastructure/permission-dtos.d.ts +200 -0
  1450. package/types/features/permissions/infrastructure/permission-dtos.d.ts.map +1 -0
  1451. package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts +10 -0
  1452. package/types/features/permissions/infrastructure/permission-gateway-errors.d.ts.map +1 -0
  1453. package/types/features/permissions/infrastructure/permission-mappers.d.ts +8 -0
  1454. package/types/features/permissions/infrastructure/permission-mappers.d.ts.map +1 -0
  1455. package/types/features/permissions/permissions-module.d.ts +15 -0
  1456. package/types/features/permissions/permissions-module.d.ts.map +1 -0
  1457. package/types/features/permissions/presentation/EditorLegend.d.ts +3 -0
  1458. package/types/features/permissions/presentation/EditorLegend.d.ts.map +1 -0
  1459. package/types/features/permissions/presentation/EditorModal.d.ts +18 -0
  1460. package/types/features/permissions/presentation/EditorModal.d.ts.map +1 -0
  1461. package/types/features/permissions/presentation/EditorSurface.d.ts +15 -0
  1462. package/types/features/permissions/presentation/EditorSurface.d.ts.map +1 -0
  1463. package/types/features/permissions/presentation/PermissionRow.d.ts +16 -0
  1464. package/types/features/permissions/presentation/PermissionRow.d.ts.map +1 -0
  1465. package/types/features/permissions/presentation/PermissionSetCard.d.ts +12 -0
  1466. package/types/features/permissions/presentation/PermissionSetCard.d.ts.map +1 -0
  1467. package/types/features/permissions/presentation/PermissionsEditor.d.ts +8 -0
  1468. package/types/features/permissions/presentation/PermissionsEditor.d.ts.map +1 -0
  1469. package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts +9 -0
  1470. package/types/features/permissions/presentation/PermissionsModuleProvider.d.ts.map +1 -0
  1471. package/types/features/permissions/presentation/PermissionsPage.d.ts +8 -0
  1472. package/types/features/permissions/presentation/PermissionsPage.d.ts.map +1 -0
  1473. package/types/features/permissions/presentation/SetsGrid.d.ts +15 -0
  1474. package/types/features/permissions/presentation/SetsGrid.d.ts.map +1 -0
  1475. package/types/features/permissions/presentation/index.d.ts +4 -0
  1476. package/types/features/permissions/presentation/index.d.ts.map +1 -0
  1477. package/types/features/permissions/presentation/permissions-module-context.d.ts +4 -0
  1478. package/types/features/permissions/presentation/permissions-module-context.d.ts.map +1 -0
  1479. package/types/features/permissions/presentation/use-permission-catalog.d.ts +5 -0
  1480. package/types/features/permissions/presentation/use-permission-catalog.d.ts.map +1 -0
  1481. package/types/features/permissions/presentation/use-permission-mutations.d.ts +6 -0
  1482. package/types/features/permissions/presentation/use-permission-mutations.d.ts.map +1 -0
  1483. package/types/features/permissions/presentation/use-permission-set-actions.d.ts +27 -0
  1484. package/types/features/permissions/presentation/use-permission-set-actions.d.ts.map +1 -0
  1485. package/types/features/permissions/presentation/use-permissions-module.d.ts +4 -0
  1486. package/types/features/permissions/presentation/use-permissions-module.d.ts.map +1 -0
  1487. package/types/features/permissions/presentation/use-permissions-state.d.ts +35 -0
  1488. package/types/features/permissions/presentation/use-permissions-state.d.ts.map +1 -0
  1489. package/types/features/presence/application/index.d.ts +3 -0
  1490. package/types/features/presence/application/index.d.ts.map +1 -0
  1491. package/types/features/presence/application/use-cases/get-presence-of.d.ts +14 -0
  1492. package/types/features/presence/application/use-cases/get-presence-of.d.ts.map +1 -0
  1493. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts +26 -0
  1494. package/types/features/presence/application/use-cases/my-presence-use-cases.d.ts.map +1 -0
  1495. package/types/features/presence/domain/errors/presence-errors.d.ts +8 -0
  1496. package/types/features/presence/domain/errors/presence-errors.d.ts.map +1 -0
  1497. package/types/features/presence/domain/index.d.ts +5 -0
  1498. package/types/features/presence/domain/index.d.ts.map +1 -0
  1499. package/types/features/presence/domain/my-presence.d.ts +28 -0
  1500. package/types/features/presence/domain/my-presence.d.ts.map +1 -0
  1501. package/types/features/presence/domain/others-presence.d.ts +18 -0
  1502. package/types/features/presence/domain/others-presence.d.ts.map +1 -0
  1503. package/types/features/presence/domain/ports/presence-gateway.d.ts +23 -0
  1504. package/types/features/presence/domain/ports/presence-gateway.d.ts.map +1 -0
  1505. package/types/features/presence/index.d.ts +4 -0
  1506. package/types/features/presence/index.d.ts.map +1 -0
  1507. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts +63 -0
  1508. package/types/features/presence/infrastructure/dto/presence-dtos.d.ts.map +1 -0
  1509. package/types/features/presence/infrastructure/http-presence-gateway.d.ts +25 -0
  1510. package/types/features/presence/infrastructure/http-presence-gateway.d.ts.map +1 -0
  1511. package/types/features/presence/infrastructure/http-presence-routes.d.ts +12 -0
  1512. package/types/features/presence/infrastructure/http-presence-routes.d.ts.map +1 -0
  1513. package/types/features/presence/infrastructure/index.d.ts +3 -0
  1514. package/types/features/presence/infrastructure/index.d.ts.map +1 -0
  1515. package/types/features/presence/infrastructure/presence-mappers.d.ts +13 -0
  1516. package/types/features/presence/infrastructure/presence-mappers.d.ts.map +1 -0
  1517. package/types/features/presence/presence-module.d.ts +17 -0
  1518. package/types/features/presence/presence-module.d.ts.map +1 -0
  1519. package/types/features/presence/presentation/MyPresenceMenu.d.ts +23 -0
  1520. package/types/features/presence/presentation/MyPresenceMenu.d.ts.map +1 -0
  1521. package/types/features/presence/presentation/PresenceModuleProvider.d.ts +7 -0
  1522. package/types/features/presence/presentation/PresenceModuleProvider.d.ts.map +1 -0
  1523. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts +22 -0
  1524. package/types/features/presence/presentation/ViewerPresenceBadge.d.ts.map +1 -0
  1525. package/types/features/presence/presentation/index.d.ts +7 -0
  1526. package/types/features/presence/presentation/index.d.ts.map +1 -0
  1527. package/types/features/presence/presentation/presence-module-context.d.ts +3 -0
  1528. package/types/features/presence/presentation/presence-module-context.d.ts.map +1 -0
  1529. package/types/features/presence/presentation/use-live-presence-poll.d.ts +18 -0
  1530. package/types/features/presence/presentation/use-live-presence-poll.d.ts.map +1 -0
  1531. package/types/features/presence/presentation/use-my-presence.d.ts +13 -0
  1532. package/types/features/presence/presentation/use-my-presence.d.ts.map +1 -0
  1533. package/types/features/presence/presentation/use-presence-module.d.ts +3 -0
  1534. package/types/features/presence/presentation/use-presence-module.d.ts.map +1 -0
  1535. package/types/features/schedule/application/index.d.ts +10 -0
  1536. package/types/features/schedule/application/index.d.ts.map +1 -0
  1537. package/types/features/schedule/application/use-cases/create-block.d.ts +15 -0
  1538. package/types/features/schedule/application/use-cases/create-block.d.ts.map +1 -0
  1539. package/types/features/schedule/application/use-cases/delete-block.d.ts +15 -0
  1540. package/types/features/schedule/application/use-cases/delete-block.d.ts.map +1 -0
  1541. package/types/features/schedule/application/use-cases/get-availability.d.ts +15 -0
  1542. package/types/features/schedule/application/use-cases/get-availability.d.ts.map +1 -0
  1543. package/types/features/schedule/application/use-cases/get-effective-availability.d.ts +18 -0
  1544. package/types/features/schedule/application/use-cases/get-effective-availability.d.ts.map +1 -0
  1545. package/types/features/schedule/application/use-cases/get-preferences.d.ts +15 -0
  1546. package/types/features/schedule/application/use-cases/get-preferences.d.ts.map +1 -0
  1547. package/types/features/schedule/application/use-cases/index.d.ts +9 -0
  1548. package/types/features/schedule/application/use-cases/index.d.ts.map +1 -0
  1549. package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts +15 -0
  1550. package/types/features/schedule/application/use-cases/list-schedule-blocks.d.ts.map +1 -0
  1551. package/types/features/schedule/application/use-cases/save-availability.d.ts +15 -0
  1552. package/types/features/schedule/application/use-cases/save-availability.d.ts.map +1 -0
  1553. package/types/features/schedule/application/use-cases/save-preferences.d.ts +15 -0
  1554. package/types/features/schedule/application/use-cases/save-preferences.d.ts.map +1 -0
  1555. package/types/features/schedule/application/use-cases/update-block.d.ts +19 -0
  1556. package/types/features/schedule/application/use-cases/update-block.d.ts.map +1 -0
  1557. package/types/features/schedule/domain/datetime.d.ts +16 -0
  1558. package/types/features/schedule/domain/datetime.d.ts.map +1 -0
  1559. package/types/features/schedule/domain/day-availability.d.ts +14 -0
  1560. package/types/features/schedule/domain/day-availability.d.ts.map +1 -0
  1561. package/types/features/schedule/domain/effective-availability.d.ts +34 -0
  1562. package/types/features/schedule/domain/effective-availability.d.ts.map +1 -0
  1563. package/types/features/schedule/domain/errors/schedule-errors.d.ts +25 -0
  1564. package/types/features/schedule/domain/errors/schedule-errors.d.ts.map +1 -0
  1565. package/types/features/schedule/domain/index.d.ts +15 -0
  1566. package/types/features/schedule/domain/index.d.ts.map +1 -0
  1567. package/types/features/schedule/domain/ports/calendar-sink.d.ts +16 -0
  1568. package/types/features/schedule/domain/ports/calendar-sink.d.ts.map +1 -0
  1569. package/types/features/schedule/domain/ports/schedule-gateway.d.ts +20 -0
  1570. package/types/features/schedule/domain/ports/schedule-gateway.d.ts.map +1 -0
  1571. package/types/features/schedule/domain/recurrence-calc.d.ts +13 -0
  1572. package/types/features/schedule/domain/recurrence-calc.d.ts.map +1 -0
  1573. package/types/features/schedule/domain/recurrence.d.ts +65 -0
  1574. package/types/features/schedule/domain/recurrence.d.ts.map +1 -0
  1575. package/types/features/schedule/domain/schedule-block.d.ts +66 -0
  1576. package/types/features/schedule/domain/schedule-block.d.ts.map +1 -0
  1577. package/types/features/schedule/domain/schedule-preferences.d.ts +18 -0
  1578. package/types/features/schedule/domain/schedule-preferences.d.ts.map +1 -0
  1579. package/types/features/schedule/domain/schedule-status.d.ts +12 -0
  1580. package/types/features/schedule/domain/schedule-status.d.ts.map +1 -0
  1581. package/types/features/schedule/domain/schedule-summary.d.ts +13 -0
  1582. package/types/features/schedule/domain/schedule-summary.d.ts.map +1 -0
  1583. package/types/features/schedule/domain/schedule-week.d.ts +30 -0
  1584. package/types/features/schedule/domain/schedule-week.d.ts.map +1 -0
  1585. package/types/features/schedule/domain/time-range.d.ts +3 -0
  1586. package/types/features/schedule/domain/time-range.d.ts.map +1 -0
  1587. package/types/features/schedule/domain/weekday.d.ts +8 -0
  1588. package/types/features/schedule/domain/weekday.d.ts.map +1 -0
  1589. package/types/features/schedule/index.d.ts +8 -0
  1590. package/types/features/schedule/index.d.ts.map +1 -0
  1591. package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts +1051 -0
  1592. package/types/features/schedule/infrastructure/dto/schedule-dtos.d.ts.map +1 -0
  1593. package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts +37 -0
  1594. package/types/features/schedule/infrastructure/http-schedule-gateway.d.ts.map +1 -0
  1595. package/types/features/schedule/infrastructure/http-schedule-routes.d.ts +18 -0
  1596. package/types/features/schedule/infrastructure/http-schedule-routes.d.ts.map +1 -0
  1597. package/types/features/schedule/infrastructure/index.d.ts +4 -0
  1598. package/types/features/schedule/infrastructure/index.d.ts.map +1 -0
  1599. package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts +27 -0
  1600. package/types/features/schedule/infrastructure/mock-schedule-gateway.d.ts.map +1 -0
  1601. package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts +11 -0
  1602. package/types/features/schedule/infrastructure/schedule-gateway-errors.d.ts.map +1 -0
  1603. package/types/features/schedule/infrastructure/schedule-mappers.d.ts +23 -0
  1604. package/types/features/schedule/infrastructure/schedule-mappers.d.ts.map +1 -0
  1605. package/types/features/schedule/infrastructure/schedule-seed.d.ts +22 -0
  1606. package/types/features/schedule/infrastructure/schedule-seed.d.ts.map +1 -0
  1607. package/types/features/schedule/presentation/AgendaList.d.ts +9 -0
  1608. package/types/features/schedule/presentation/AgendaList.d.ts.map +1 -0
  1609. package/types/features/schedule/presentation/BlockEditor.d.ts +11 -0
  1610. package/types/features/schedule/presentation/BlockEditor.d.ts.map +1 -0
  1611. package/types/features/schedule/presentation/BlockFields.d.ts +9 -0
  1612. package/types/features/schedule/presentation/BlockFields.d.ts.map +1 -0
  1613. package/types/features/schedule/presentation/BookingPrefFields.d.ts +10 -0
  1614. package/types/features/schedule/presentation/BookingPrefFields.d.ts.map +1 -0
  1615. package/types/features/schedule/presentation/CalendarChips.d.ts +15 -0
  1616. package/types/features/schedule/presentation/CalendarChips.d.ts.map +1 -0
  1617. package/types/features/schedule/presentation/CalendarGridLayers.d.ts +23 -0
  1618. package/types/features/schedule/presentation/CalendarGridLayers.d.ts.map +1 -0
  1619. package/types/features/schedule/presentation/CustomTimesSection.d.ts +13 -0
  1620. package/types/features/schedule/presentation/CustomTimesSection.d.ts.map +1 -0
  1621. package/types/features/schedule/presentation/DayColumn.d.ts +26 -0
  1622. package/types/features/schedule/presentation/DayColumn.d.ts.map +1 -0
  1623. package/types/features/schedule/presentation/HoursForm.d.ts +10 -0
  1624. package/types/features/schedule/presentation/HoursForm.d.ts.map +1 -0
  1625. package/types/features/schedule/presentation/MonthCalendar.d.ts +12 -0
  1626. package/types/features/schedule/presentation/MonthCalendar.d.ts.map +1 -0
  1627. package/types/features/schedule/presentation/RecurrenceBuilder.d.ts +11 -0
  1628. package/types/features/schedule/presentation/RecurrenceBuilder.d.ts.map +1 -0
  1629. package/types/features/schedule/presentation/ScheduleBody.d.ts +31 -0
  1630. package/types/features/schedule/presentation/ScheduleBody.d.ts.map +1 -0
  1631. package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts +9 -0
  1632. package/types/features/schedule/presentation/ScheduleModuleProvider.d.ts.map +1 -0
  1633. package/types/features/schedule/presentation/SchedulePage.d.ts +4 -0
  1634. package/types/features/schedule/presentation/SchedulePage.d.ts.map +1 -0
  1635. package/types/features/schedule/presentation/ScheduleSidebar.d.ts +15 -0
  1636. package/types/features/schedule/presentation/ScheduleSidebar.d.ts.map +1 -0
  1637. package/types/features/schedule/presentation/TimezoneCombobox.d.ts +10 -0
  1638. package/types/features/schedule/presentation/TimezoneCombobox.d.ts.map +1 -0
  1639. package/types/features/schedule/presentation/UpcomingOccurrences.d.ts +9 -0
  1640. package/types/features/schedule/presentation/UpcomingOccurrences.d.ts.map +1 -0
  1641. package/types/features/schedule/presentation/WeekCalendar.d.ts +24 -0
  1642. package/types/features/schedule/presentation/WeekCalendar.d.ts.map +1 -0
  1643. package/types/features/schedule/presentation/WorkingHoursEditor.d.ts +9 -0
  1644. package/types/features/schedule/presentation/WorkingHoursEditor.d.ts.map +1 -0
  1645. package/types/features/schedule/presentation/block-draft.d.ts +53 -0
  1646. package/types/features/schedule/presentation/block-draft.d.ts.map +1 -0
  1647. package/types/features/schedule/presentation/conflict-resolution.d.ts +44 -0
  1648. package/types/features/schedule/presentation/conflict-resolution.d.ts.map +1 -0
  1649. package/types/features/schedule/presentation/drag-slot.d.ts +16 -0
  1650. package/types/features/schedule/presentation/drag-slot.d.ts.map +1 -0
  1651. package/types/features/schedule/presentation/index.d.ts +5 -0
  1652. package/types/features/schedule/presentation/index.d.ts.map +1 -0
  1653. package/types/features/schedule/presentation/schedule-dates.d.ts +36 -0
  1654. package/types/features/schedule/presentation/schedule-dates.d.ts.map +1 -0
  1655. package/types/features/schedule/presentation/schedule-grid.d.ts +73 -0
  1656. package/types/features/schedule/presentation/schedule-grid.d.ts.map +1 -0
  1657. package/types/features/schedule/presentation/schedule-module-context.d.ts +4 -0
  1658. package/types/features/schedule/presentation/schedule-module-context.d.ts.map +1 -0
  1659. package/types/features/schedule/presentation/use-conflict-resolver.d.ts +13 -0
  1660. package/types/features/schedule/presentation/use-conflict-resolver.d.ts.map +1 -0
  1661. package/types/features/schedule/presentation/use-hours-form.d.ts +36 -0
  1662. package/types/features/schedule/presentation/use-hours-form.d.ts.map +1 -0
  1663. package/types/features/schedule/presentation/use-schedule-controller.d.ts +28 -0
  1664. package/types/features/schedule/presentation/use-schedule-controller.d.ts.map +1 -0
  1665. package/types/features/schedule/presentation/use-schedule-data.d.ts +24 -0
  1666. package/types/features/schedule/presentation/use-schedule-data.d.ts.map +1 -0
  1667. package/types/features/schedule/presentation/use-schedule-module.d.ts +4 -0
  1668. package/types/features/schedule/presentation/use-schedule-module.d.ts.map +1 -0
  1669. package/types/features/schedule/presentation/use-schedule.d.ts +18 -0
  1670. package/types/features/schedule/presentation/use-schedule.d.ts.map +1 -0
  1671. package/types/features/schedule/presentation/use-viewer-timezone.d.ts +10 -0
  1672. package/types/features/schedule/presentation/use-viewer-timezone.d.ts.map +1 -0
  1673. package/types/features/schedule/presentation/working-hours-tz.d.ts +18 -0
  1674. package/types/features/schedule/presentation/working-hours-tz.d.ts.map +1 -0
  1675. package/types/features/schedule/schedule-module.d.ts +28 -0
  1676. package/types/features/schedule/schedule-module.d.ts.map +1 -0
  1677. package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts +9 -0
  1678. package/types/features/settings/application/feed-pref/delete-feed-category-item.d.ts.map +1 -0
  1679. package/types/features/settings/application/feed-pref/delete-feed-template.d.ts +9 -0
  1680. package/types/features/settings/application/feed-pref/delete-feed-template.d.ts.map +1 -0
  1681. package/types/features/settings/application/feed-pref/get-content-prefs.d.ts +13 -0
  1682. package/types/features/settings/application/feed-pref/get-content-prefs.d.ts.map +1 -0
  1683. package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts +9 -0
  1684. package/types/features/settings/application/feed-pref/list-external-feed-category-items.d.ts.map +1 -0
  1685. package/types/features/settings/application/feed-pref/list-feed-categories.d.ts +9 -0
  1686. package/types/features/settings/application/feed-pref/list-feed-categories.d.ts.map +1 -0
  1687. package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts +9 -0
  1688. package/types/features/settings/application/feed-pref/list-feed-category-items.d.ts.map +1 -0
  1689. package/types/features/settings/application/feed-pref/list-feed-templates.d.ts +9 -0
  1690. package/types/features/settings/application/feed-pref/list-feed-templates.d.ts.map +1 -0
  1691. package/types/features/settings/application/feed-pref/save-content-prefs.d.ts +9 -0
  1692. package/types/features/settings/application/feed-pref/save-content-prefs.d.ts.map +1 -0
  1693. package/types/features/settings/application/feed-pref/save-feed-categories.d.ts +9 -0
  1694. package/types/features/settings/application/feed-pref/save-feed-categories.d.ts.map +1 -0
  1695. package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts +9 -0
  1696. package/types/features/settings/application/feed-pref/save-feed-category-item.d.ts.map +1 -0
  1697. package/types/features/settings/application/feed-pref/save-feed-template.d.ts +9 -0
  1698. package/types/features/settings/application/feed-pref/save-feed-template.d.ts.map +1 -0
  1699. package/types/features/settings/application/group-category-use-cases.d.ts +23 -0
  1700. package/types/features/settings/application/group-category-use-cases.d.ts.map +1 -0
  1701. package/types/features/settings/application/index.d.ts +31 -0
  1702. package/types/features/settings/application/index.d.ts.map +1 -0
  1703. package/types/features/settings/application/org-settings-use-cases.d.ts +19 -0
  1704. package/types/features/settings/application/org-settings-use-cases.d.ts.map +1 -0
  1705. package/types/features/settings/application/promotions/delete-comm-template.d.ts +9 -0
  1706. package/types/features/settings/application/promotions/delete-comm-template.d.ts.map +1 -0
  1707. package/types/features/settings/application/promotions/delete-promotion.d.ts +9 -0
  1708. package/types/features/settings/application/promotions/delete-promotion.d.ts.map +1 -0
  1709. package/types/features/settings/application/promotions/list-comm-templates.d.ts +9 -0
  1710. package/types/features/settings/application/promotions/list-comm-templates.d.ts.map +1 -0
  1711. package/types/features/settings/application/promotions/list-promo-categories.d.ts +9 -0
  1712. package/types/features/settings/application/promotions/list-promo-categories.d.ts.map +1 -0
  1713. package/types/features/settings/application/promotions/list-promotions.d.ts +9 -0
  1714. package/types/features/settings/application/promotions/list-promotions.d.ts.map +1 -0
  1715. package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts +7 -0
  1716. package/types/features/settings/application/promotions/promotions-use-case-deps.d.ts.map +1 -0
  1717. package/types/features/settings/application/promotions/save-comm-template.d.ts +9 -0
  1718. package/types/features/settings/application/promotions/save-comm-template.d.ts.map +1 -0
  1719. package/types/features/settings/application/promotions/save-promo-categories.d.ts +9 -0
  1720. package/types/features/settings/application/promotions/save-promo-categories.d.ts.map +1 -0
  1721. package/types/features/settings/application/promotions/save-promotion.d.ts +9 -0
  1722. package/types/features/settings/application/promotions/save-promotion.d.ts.map +1 -0
  1723. package/types/features/settings/application/provision-group.d.ts +14 -0
  1724. package/types/features/settings/application/provision-group.d.ts.map +1 -0
  1725. package/types/features/settings/application/usage-use-cases.d.ts +13 -0
  1726. package/types/features/settings/application/usage-use-cases.d.ts.map +1 -0
  1727. package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts +9 -0
  1728. package/types/features/settings/application/webhook-registry/delete-webhook-endpoint.d.ts.map +1 -0
  1729. package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts +9 -0
  1730. package/types/features/settings/application/webhook-registry/list-webhook-endpoints.d.ts.map +1 -0
  1731. package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts +9 -0
  1732. package/types/features/settings/application/webhook-registry/save-webhook-endpoint.d.ts.map +1 -0
  1733. package/types/features/settings/application/webhook-registry/send-test-event.d.ts +9 -0
  1734. package/types/features/settings/application/webhook-registry/send-test-event.d.ts.map +1 -0
  1735. package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts +5 -0
  1736. package/types/features/settings/application/webhook-registry/webhook-use-case-deps.d.ts.map +1 -0
  1737. package/types/features/settings/application/webhook-use-cases.d.ts +25 -0
  1738. package/types/features/settings/application/webhook-use-cases.d.ts.map +1 -0
  1739. package/types/features/settings/domain/array-move.d.ts +5 -0
  1740. package/types/features/settings/domain/array-move.d.ts.map +1 -0
  1741. package/types/features/settings/domain/errors/settings-errors.d.ts +20 -0
  1742. package/types/features/settings/domain/errors/settings-errors.d.ts.map +1 -0
  1743. package/types/features/settings/domain/feed-category-item.d.ts +7 -0
  1744. package/types/features/settings/domain/feed-category-item.d.ts.map +1 -0
  1745. package/types/features/settings/domain/feed-pref.d.ts +61 -0
  1746. package/types/features/settings/domain/feed-pref.d.ts.map +1 -0
  1747. package/types/features/settings/domain/feed-template.d.ts +14 -0
  1748. package/types/features/settings/domain/feed-template.d.ts.map +1 -0
  1749. package/types/features/settings/domain/group-category.d.ts +39 -0
  1750. package/types/features/settings/domain/group-category.d.ts.map +1 -0
  1751. package/types/features/settings/domain/index.d.ts +23 -0
  1752. package/types/features/settings/domain/index.d.ts.map +1 -0
  1753. package/types/features/settings/domain/org-settings.d.ts +69 -0
  1754. package/types/features/settings/domain/org-settings.d.ts.map +1 -0
  1755. package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts +19 -0
  1756. package/types/features/settings/domain/ports/feed-preferences-gateway.d.ts.map +1 -0
  1757. package/types/features/settings/domain/ports/group-categories-gateway.d.ts +10 -0
  1758. package/types/features/settings/domain/ports/group-categories-gateway.d.ts.map +1 -0
  1759. package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts +34 -0
  1760. package/types/features/settings/domain/ports/group-provisioning-gateway.d.ts.map +1 -0
  1761. package/types/features/settings/domain/ports/org-settings-gateway.d.ts +13 -0
  1762. package/types/features/settings/domain/ports/org-settings-gateway.d.ts.map +1 -0
  1763. package/types/features/settings/domain/ports/promotions-gateway.d.ts +14 -0
  1764. package/types/features/settings/domain/ports/promotions-gateway.d.ts.map +1 -0
  1765. package/types/features/settings/domain/ports/settings-gateway.d.ts +14 -0
  1766. package/types/features/settings/domain/ports/settings-gateway.d.ts.map +1 -0
  1767. package/types/features/settings/domain/ports/usage-gateway.d.ts +9 -0
  1768. package/types/features/settings/domain/ports/usage-gateway.d.ts.map +1 -0
  1769. package/types/features/settings/domain/ports/webhook-gateway.d.ts +17 -0
  1770. package/types/features/settings/domain/ports/webhook-gateway.d.ts.map +1 -0
  1771. package/types/features/settings/domain/promo-fields.d.ts +65 -0
  1772. package/types/features/settings/domain/promo-fields.d.ts.map +1 -0
  1773. package/types/features/settings/domain/promo-samples.d.ts +4 -0
  1774. package/types/features/settings/domain/promo-samples.d.ts.map +1 -0
  1775. package/types/features/settings/domain/promotion.d.ts +73 -0
  1776. package/types/features/settings/domain/promotion.d.ts.map +1 -0
  1777. package/types/features/settings/domain/usage.d.ts +48 -0
  1778. package/types/features/settings/domain/usage.d.ts.map +1 -0
  1779. package/types/features/settings/domain/value-objects/setting-name.d.ts +17 -0
  1780. package/types/features/settings/domain/value-objects/setting-name.d.ts.map +1 -0
  1781. package/types/features/settings/domain/webhook-registry.d.ts +80 -0
  1782. package/types/features/settings/domain/webhook-registry.d.ts.map +1 -0
  1783. package/types/features/settings/domain/webhook.d.ts +59 -0
  1784. package/types/features/settings/domain/webhook.d.ts.map +1 -0
  1785. package/types/features/settings/index.d.ts +14 -0
  1786. package/types/features/settings/index.d.ts.map +1 -0
  1787. package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts +29 -0
  1788. package/types/features/settings/infrastructure/dto/feed-pref/feed-category-item-dtos.d.ts.map +1 -0
  1789. package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts +70 -0
  1790. package/types/features/settings/infrastructure/dto/feed-pref/feed-pref-dtos.d.ts.map +1 -0
  1791. package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts +138 -0
  1792. package/types/features/settings/infrastructure/dto/feed-pref/feed-template-dtos.d.ts.map +1 -0
  1793. package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts +278 -0
  1794. package/types/features/settings/infrastructure/dto/group-category-dtos.d.ts.map +1 -0
  1795. package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts +16 -0
  1796. package/types/features/settings/infrastructure/dto/group-provisioning-dtos.d.ts.map +1 -0
  1797. package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts +747 -0
  1798. package/types/features/settings/infrastructure/dto/org-settings/org-settings-dtos.d.ts.map +1 -0
  1799. package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts +347 -0
  1800. package/types/features/settings/infrastructure/dto/promotions/promotion-dtos.d.ts.map +1 -0
  1801. package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts +821 -0
  1802. package/types/features/settings/infrastructure/dto/settings/settings-dtos.d.ts.map +1 -0
  1803. package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts +31 -0
  1804. package/types/features/settings/infrastructure/http-feed-preferences-gateway.d.ts.map +1 -0
  1805. package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts +18 -0
  1806. package/types/features/settings/infrastructure/http-group-categories-gateway.d.ts.map +1 -0
  1807. package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts +16 -0
  1808. package/types/features/settings/infrastructure/http-group-provisioning-gateway.d.ts.map +1 -0
  1809. package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts +24 -0
  1810. package/types/features/settings/infrastructure/http-org-settings-gateway.d.ts.map +1 -0
  1811. package/types/features/settings/infrastructure/http-promotions-gateway.d.ts +22 -0
  1812. package/types/features/settings/infrastructure/http-promotions-gateway.d.ts.map +1 -0
  1813. package/types/features/settings/infrastructure/http-usage-gateway.d.ts +23 -0
  1814. package/types/features/settings/infrastructure/http-usage-gateway.d.ts.map +1 -0
  1815. package/types/features/settings/infrastructure/http-webhook-gateway.d.ts +25 -0
  1816. package/types/features/settings/infrastructure/http-webhook-gateway.d.ts.map +1 -0
  1817. package/types/features/settings/infrastructure/index.d.ts +10 -0
  1818. package/types/features/settings/infrastructure/index.d.ts.map +1 -0
  1819. package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts +4 -0
  1820. package/types/features/settings/infrastructure/mappers/feed-category-item-mappers.d.ts.map +1 -0
  1821. package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts +5 -0
  1822. package/types/features/settings/infrastructure/mappers/feed-pref-mappers.d.ts.map +1 -0
  1823. package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts +4 -0
  1824. package/types/features/settings/infrastructure/mappers/feed-template-mappers.d.ts.map +1 -0
  1825. package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts +25 -0
  1826. package/types/features/settings/infrastructure/mappers/group-category-mappers.d.ts.map +1 -0
  1827. package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts +15 -0
  1828. package/types/features/settings/infrastructure/mappers/org-settings-mappers.d.ts.map +1 -0
  1829. package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts +6 -0
  1830. package/types/features/settings/infrastructure/mappers/promotion-mappers.d.ts.map +1 -0
  1831. package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts +15 -0
  1832. package/types/features/settings/infrastructure/mappers/settings-mappers.d.ts.map +1 -0
  1833. package/types/features/settings/infrastructure/mock-settings-gateway.d.ts +42 -0
  1834. package/types/features/settings/infrastructure/mock-settings-gateway.d.ts.map +1 -0
  1835. package/types/features/settings/infrastructure/settings-gateway-errors.d.ts +13 -0
  1836. package/types/features/settings/infrastructure/settings-gateway-errors.d.ts.map +1 -0
  1837. package/types/features/settings/infrastructure/settings-seed.d.ts +23 -0
  1838. package/types/features/settings/infrastructure/settings-seed.d.ts.map +1 -0
  1839. package/types/features/settings/presentation/AddTopicsModal.d.ts +16 -0
  1840. package/types/features/settings/presentation/AddTopicsModal.d.ts.map +1 -0
  1841. package/types/features/settings/presentation/CampaignRow.d.ts +10 -0
  1842. package/types/features/settings/presentation/CampaignRow.d.ts.map +1 -0
  1843. package/types/features/settings/presentation/CampaignsPanel.d.ts +15 -0
  1844. package/types/features/settings/presentation/CampaignsPanel.d.ts.map +1 -0
  1845. package/types/features/settings/presentation/CategoryCampaigns.d.ts +9 -0
  1846. package/types/features/settings/presentation/CategoryCampaigns.d.ts.map +1 -0
  1847. package/types/features/settings/presentation/CategoryEditor.d.ts +7 -0
  1848. package/types/features/settings/presentation/CategoryEditor.d.ts.map +1 -0
  1849. package/types/features/settings/presentation/CategoryFields.d.ts +17 -0
  1850. package/types/features/settings/presentation/CategoryFields.d.ts.map +1 -0
  1851. package/types/features/settings/presentation/ConnectedFeed.d.ts +26 -0
  1852. package/types/features/settings/presentation/ConnectedFeed.d.ts.map +1 -0
  1853. package/types/features/settings/presentation/DeptSections.d.ts +11 -0
  1854. package/types/features/settings/presentation/DeptSections.d.ts.map +1 -0
  1855. package/types/features/settings/presentation/EventWebhookGuide.d.ts +21 -0
  1856. package/types/features/settings/presentation/EventWebhookGuide.d.ts.map +1 -0
  1857. package/types/features/settings/presentation/FeedCategoriesTab.d.ts +3 -0
  1858. package/types/features/settings/presentation/FeedCategoriesTab.d.ts.map +1 -0
  1859. package/types/features/settings/presentation/FeedCategoryItems.d.ts +7 -0
  1860. package/types/features/settings/presentation/FeedCategoryItems.d.ts.map +1 -0
  1861. package/types/features/settings/presentation/FeedItemModal.d.ts +10 -0
  1862. package/types/features/settings/presentation/FeedItemModal.d.ts.map +1 -0
  1863. package/types/features/settings/presentation/FeedItemRow.d.ts +9 -0
  1864. package/types/features/settings/presentation/FeedItemRow.d.ts.map +1 -0
  1865. package/types/features/settings/presentation/FeedItemsPanel.d.ts +14 -0
  1866. package/types/features/settings/presentation/FeedItemsPanel.d.ts.map +1 -0
  1867. package/types/features/settings/presentation/FeedPrefsEditor.d.ts +12 -0
  1868. package/types/features/settings/presentation/FeedPrefsEditor.d.ts.map +1 -0
  1869. package/types/features/settings/presentation/FeedPrefsFooter.d.ts +7 -0
  1870. package/types/features/settings/presentation/FeedPrefsFooter.d.ts.map +1 -0
  1871. package/types/features/settings/presentation/FeedSettingsPage.d.ts +4 -0
  1872. package/types/features/settings/presentation/FeedSettingsPage.d.ts.map +1 -0
  1873. package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts +11 -0
  1874. package/types/features/settings/presentation/FeedTemplateEditorViews.d.ts.map +1 -0
  1875. package/types/features/settings/presentation/FeedTemplatesTab.d.ts +3 -0
  1876. package/types/features/settings/presentation/FeedTemplatesTab.d.ts.map +1 -0
  1877. package/types/features/settings/presentation/FixedProtocolNotice.d.ts +18 -0
  1878. package/types/features/settings/presentation/FixedProtocolNotice.d.ts.map +1 -0
  1879. package/types/features/settings/presentation/GroupCategoriesPage.d.ts +4 -0
  1880. package/types/features/settings/presentation/GroupCategoriesPage.d.ts.map +1 -0
  1881. package/types/features/settings/presentation/IntegrationGuide.d.ts +15 -0
  1882. package/types/features/settings/presentation/IntegrationGuide.d.ts.map +1 -0
  1883. package/types/features/settings/presentation/OrgCard.d.ts +12 -0
  1884. package/types/features/settings/presentation/OrgCard.d.ts.map +1 -0
  1885. package/types/features/settings/presentation/OrgDetailsCard.d.ts +9 -0
  1886. package/types/features/settings/presentation/OrgDetailsCard.d.ts.map +1 -0
  1887. package/types/features/settings/presentation/OutboundDynamicFields.d.ts +10 -0
  1888. package/types/features/settings/presentation/OutboundDynamicFields.d.ts.map +1 -0
  1889. package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts +9 -0
  1890. package/types/features/settings/presentation/OutboundIntegrationGuide.d.ts.map +1 -0
  1891. package/types/features/settings/presentation/PreferencesTab.d.ts +3 -0
  1892. package/types/features/settings/presentation/PreferencesTab.d.ts.map +1 -0
  1893. package/types/features/settings/presentation/PromoCampaignModal.d.ts +14 -0
  1894. package/types/features/settings/presentation/PromoCampaignModal.d.ts.map +1 -0
  1895. package/types/features/settings/presentation/PromoCategoryCard.d.ts +16 -0
  1896. package/types/features/settings/presentation/PromoCategoryCard.d.ts.map +1 -0
  1897. package/types/features/settings/presentation/PromoCategoryModal.d.ts +9 -0
  1898. package/types/features/settings/presentation/PromoCategoryModal.d.ts.map +1 -0
  1899. package/types/features/settings/presentation/PromoCategoryRow.d.ts +31 -0
  1900. package/types/features/settings/presentation/PromoCategoryRow.d.ts.map +1 -0
  1901. package/types/features/settings/presentation/PromoTemplatesTab.d.ts +3 -0
  1902. package/types/features/settings/presentation/PromoTemplatesTab.d.ts.map +1 -0
  1903. package/types/features/settings/presentation/PromotionsPage.d.ts +4 -0
  1904. package/types/features/settings/presentation/PromotionsPage.d.ts.map +1 -0
  1905. package/types/features/settings/presentation/RegistryDetail.d.ts +7 -0
  1906. package/types/features/settings/presentation/RegistryDetail.d.ts.map +1 -0
  1907. package/types/features/settings/presentation/SettingsModuleProvider.d.ts +9 -0
  1908. package/types/features/settings/presentation/SettingsModuleProvider.d.ts.map +1 -0
  1909. package/types/features/settings/presentation/SettingsSkeleton.d.ts +3 -0
  1910. package/types/features/settings/presentation/SettingsSkeleton.d.ts.map +1 -0
  1911. package/types/features/settings/presentation/SimulateFeedModal.d.ts +12 -0
  1912. package/types/features/settings/presentation/SimulateFeedModal.d.ts.map +1 -0
  1913. package/types/features/settings/presentation/TeamSettingsPage.d.ts +4 -0
  1914. package/types/features/settings/presentation/TeamSettingsPage.d.ts.map +1 -0
  1915. package/types/features/settings/presentation/TemplateEditorViews.d.ts +11 -0
  1916. package/types/features/settings/presentation/TemplateEditorViews.d.ts.map +1 -0
  1917. package/types/features/settings/presentation/TemplateFormModal.d.ts +9 -0
  1918. package/types/features/settings/presentation/TemplateFormModal.d.ts.map +1 -0
  1919. package/types/features/settings/presentation/TemplatesTab.d.ts +7 -0
  1920. package/types/features/settings/presentation/TemplatesTab.d.ts.map +1 -0
  1921. package/types/features/settings/presentation/TopicSections.d.ts +11 -0
  1922. package/types/features/settings/presentation/TopicSections.d.ts.map +1 -0
  1923. package/types/features/settings/presentation/UsagePage.d.ts +4 -0
  1924. package/types/features/settings/presentation/UsagePage.d.ts.map +1 -0
  1925. package/types/features/settings/presentation/WebhookRegistry.d.ts +4 -0
  1926. package/types/features/settings/presentation/WebhookRegistry.d.ts.map +1 -0
  1927. package/types/features/settings/presentation/WebhookTabs.d.ts +24 -0
  1928. package/types/features/settings/presentation/WebhookTabs.d.ts.map +1 -0
  1929. package/types/features/settings/presentation/WebhooksPage.d.ts +4 -0
  1930. package/types/features/settings/presentation/WebhooksPage.d.ts.map +1 -0
  1931. package/types/features/settings/presentation/WorkHoursCard.d.ts +11 -0
  1932. package/types/features/settings/presentation/WorkHoursCard.d.ts.map +1 -0
  1933. package/types/features/settings/presentation/WorkHoursRow.d.ts +10 -0
  1934. package/types/features/settings/presentation/WorkHoursRow.d.ts.map +1 -0
  1935. package/types/features/settings/presentation/WorkHoursTabs.d.ts +11 -0
  1936. package/types/features/settings/presentation/WorkHoursTabs.d.ts.map +1 -0
  1937. package/types/features/settings/presentation/category-editor-parts.d.ts +12 -0
  1938. package/types/features/settings/presentation/category-editor-parts.d.ts.map +1 -0
  1939. package/types/features/settings/presentation/category-fields.d.ts +12 -0
  1940. package/types/features/settings/presentation/category-fields.d.ts.map +1 -0
  1941. package/types/features/settings/presentation/category-preview.d.ts +13 -0
  1942. package/types/features/settings/presentation/category-preview.d.ts.map +1 -0
  1943. package/types/features/settings/presentation/category-samples.d.ts +3 -0
  1944. package/types/features/settings/presentation/category-samples.d.ts.map +1 -0
  1945. package/types/features/settings/presentation/event-webhook-guide.d.ts +30 -0
  1946. package/types/features/settings/presentation/event-webhook-guide.d.ts.map +1 -0
  1947. package/types/features/settings/presentation/feed-categories-tab-utils.d.ts +17 -0
  1948. package/types/features/settings/presentation/feed-categories-tab-utils.d.ts.map +1 -0
  1949. package/types/features/settings/presentation/feed-category-utils.d.ts +3 -0
  1950. package/types/features/settings/presentation/feed-category-utils.d.ts.map +1 -0
  1951. package/types/features/settings/presentation/index.d.ts +5 -0
  1952. package/types/features/settings/presentation/index.d.ts.map +1 -0
  1953. package/types/features/settings/presentation/integration-guide.d.ts +24 -0
  1954. package/types/features/settings/presentation/integration-guide.d.ts.map +1 -0
  1955. package/types/features/settings/presentation/pref-chips.d.ts +9 -0
  1956. package/types/features/settings/presentation/pref-chips.d.ts.map +1 -0
  1957. package/types/features/settings/presentation/promo-field-palette.d.ts +12 -0
  1958. package/types/features/settings/presentation/promo-field-palette.d.ts.map +1 -0
  1959. package/types/features/settings/presentation/promo-token-line.d.ts +18 -0
  1960. package/types/features/settings/presentation/promo-token-line.d.ts.map +1 -0
  1961. package/types/features/settings/presentation/settings-module-context.d.ts +4 -0
  1962. package/types/features/settings/presentation/settings-module-context.d.ts.map +1 -0
  1963. package/types/features/settings/presentation/use-categories-editor.d.ts +19 -0
  1964. package/types/features/settings/presentation/use-categories-editor.d.ts.map +1 -0
  1965. package/types/features/settings/presentation/use-category-feed.d.ts +19 -0
  1966. package/types/features/settings/presentation/use-category-feed.d.ts.map +1 -0
  1967. package/types/features/settings/presentation/use-feed-prefs-editor.d.ts +19 -0
  1968. package/types/features/settings/presentation/use-feed-prefs-editor.d.ts.map +1 -0
  1969. package/types/features/settings/presentation/use-promo-category-feed.d.ts +17 -0
  1970. package/types/features/settings/presentation/use-promo-category-feed.d.ts.map +1 -0
  1971. package/types/features/settings/presentation/use-promotions-settings.d.ts +11 -0
  1972. package/types/features/settings/presentation/use-promotions-settings.d.ts.map +1 -0
  1973. package/types/features/settings/presentation/use-provision-group.d.ts +8 -0
  1974. package/types/features/settings/presentation/use-provision-group.d.ts.map +1 -0
  1975. package/types/features/settings/presentation/use-settings-module.d.ts +4 -0
  1976. package/types/features/settings/presentation/use-settings-module.d.ts.map +1 -0
  1977. package/types/features/settings/presentation/use-settings.d.ts +23 -0
  1978. package/types/features/settings/presentation/use-settings.d.ts.map +1 -0
  1979. package/types/features/settings/presentation/use-webhooks-settings.d.ts +11 -0
  1980. package/types/features/settings/presentation/use-webhooks-settings.d.ts.map +1 -0
  1981. package/types/features/settings/presentation/webhook-registry-parts.d.ts +24 -0
  1982. package/types/features/settings/presentation/webhook-registry-parts.d.ts.map +1 -0
  1983. package/types/features/settings/presentation/webhook-table.d.ts +14 -0
  1984. package/types/features/settings/presentation/webhook-table.d.ts.map +1 -0
  1985. package/types/features/settings/settings-module.d.ts +46 -0
  1986. package/types/features/settings/settings-module.d.ts.map +1 -0
  1987. package/types/features/user-access/application/index.d.ts +3 -0
  1988. package/types/features/user-access/application/index.d.ts.map +1 -0
  1989. package/types/features/user-access/application/use-cases/get-user-access.d.ts +15 -0
  1990. package/types/features/user-access/application/use-cases/get-user-access.d.ts.map +1 -0
  1991. package/types/features/user-access/application/use-cases/save-user-access.d.ts +15 -0
  1992. package/types/features/user-access/application/use-cases/save-user-access.d.ts.map +1 -0
  1993. package/types/features/user-access/domain/index.d.ts +3 -0
  1994. package/types/features/user-access/domain/index.d.ts.map +1 -0
  1995. package/types/features/user-access/domain/user-access-rules.d.ts +31 -0
  1996. package/types/features/user-access/domain/user-access-rules.d.ts.map +1 -0
  1997. package/types/features/user-access/domain/user-access.d.ts +62 -0
  1998. package/types/features/user-access/domain/user-access.d.ts.map +1 -0
  1999. package/types/features/user-access/index.d.ts +8 -0
  2000. package/types/features/user-access/index.d.ts.map +1 -0
  2001. package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts +21 -0
  2002. package/types/features/user-access/infrastructure/http-user-access-gateway.d.ts.map +1 -0
  2003. package/types/features/user-access/infrastructure/index.d.ts +2 -0
  2004. package/types/features/user-access/infrastructure/index.d.ts.map +1 -0
  2005. package/types/features/user-access/presentation/ManageAccessModal.d.ts +13 -0
  2006. package/types/features/user-access/presentation/ManageAccessModal.d.ts.map +1 -0
  2007. package/types/features/user-access/presentation/UserAccessEditor.d.ts +17 -0
  2008. package/types/features/user-access/presentation/UserAccessEditor.d.ts.map +1 -0
  2009. package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts +9 -0
  2010. package/types/features/user-access/presentation/UserAccessModuleProvider.d.ts.map +1 -0
  2011. package/types/features/user-access/presentation/UserAccessRow.d.ts +20 -0
  2012. package/types/features/user-access/presentation/UserAccessRow.d.ts.map +1 -0
  2013. package/types/features/user-access/presentation/index.d.ts +6 -0
  2014. package/types/features/user-access/presentation/index.d.ts.map +1 -0
  2015. package/types/features/user-access/presentation/use-save-user-access.d.ts +5 -0
  2016. package/types/features/user-access/presentation/use-save-user-access.d.ts.map +1 -0
  2017. package/types/features/user-access/presentation/use-user-access-module.d.ts +4 -0
  2018. package/types/features/user-access/presentation/use-user-access-module.d.ts.map +1 -0
  2019. package/types/features/user-access/presentation/use-user-access.d.ts +6 -0
  2020. package/types/features/user-access/presentation/use-user-access.d.ts.map +1 -0
  2021. package/types/features/user-access/presentation/user-access-module-context.d.ts +4 -0
  2022. package/types/features/user-access/presentation/user-access-module-context.d.ts.map +1 -0
  2023. package/types/features/user-access/user-access-module.d.ts +14 -0
  2024. package/types/features/user-access/user-access-module.d.ts.map +1 -0
  2025. package/types/features/users/application/index.d.ts +3 -0
  2026. package/types/features/users/application/index.d.ts.map +1 -0
  2027. package/types/features/users/application/use-cases/list-directory-facets.d.ts +21 -0
  2028. package/types/features/users/application/use-cases/list-directory-facets.d.ts.map +1 -0
  2029. package/types/features/users/application/use-cases/list-users.d.ts +15 -0
  2030. package/types/features/users/application/use-cases/list-users.d.ts.map +1 -0
  2031. package/types/features/users/domain/entities/user.d.ts +58 -0
  2032. package/types/features/users/domain/entities/user.d.ts.map +1 -0
  2033. package/types/features/users/domain/errors/user-errors.d.ts +10 -0
  2034. package/types/features/users/domain/errors/user-errors.d.ts.map +1 -0
  2035. package/types/features/users/domain/index.d.ts +4 -0
  2036. package/types/features/users/domain/index.d.ts.map +1 -0
  2037. package/types/features/users/domain/ports/user-gateway.d.ts +43 -0
  2038. package/types/features/users/domain/ports/user-gateway.d.ts.map +1 -0
  2039. package/types/features/users/index.d.ts +7 -0
  2040. package/types/features/users/index.d.ts.map +1 -0
  2041. package/types/features/users/infrastructure/dto/user-dtos.d.ts +155 -0
  2042. package/types/features/users/infrastructure/dto/user-dtos.d.ts.map +1 -0
  2043. package/types/features/users/infrastructure/http-user-gateway.d.ts +25 -0
  2044. package/types/features/users/infrastructure/http-user-gateway.d.ts.map +1 -0
  2045. package/types/features/users/infrastructure/http-user-routes.d.ts +22 -0
  2046. package/types/features/users/infrastructure/http-user-routes.d.ts.map +1 -0
  2047. package/types/features/users/infrastructure/index.d.ts +3 -0
  2048. package/types/features/users/infrastructure/index.d.ts.map +1 -0
  2049. package/types/features/users/infrastructure/mock-user-gateway.d.ts +15 -0
  2050. package/types/features/users/infrastructure/mock-user-gateway.d.ts.map +1 -0
  2051. package/types/features/users/infrastructure/user-gateway-errors.d.ts +8 -0
  2052. package/types/features/users/infrastructure/user-gateway-errors.d.ts.map +1 -0
  2053. package/types/features/users/infrastructure/user-mappers.d.ts +5 -0
  2054. package/types/features/users/infrastructure/user-mappers.d.ts.map +1 -0
  2055. package/types/features/users/presentation/PaginationControls.d.ts +11 -0
  2056. package/types/features/users/presentation/PaginationControls.d.ts.map +1 -0
  2057. package/types/features/users/presentation/UserPresenceCell.d.ts +18 -0
  2058. package/types/features/users/presentation/UserPresenceCell.d.ts.map +1 -0
  2059. package/types/features/users/presentation/UsersModuleProvider.d.ts +9 -0
  2060. package/types/features/users/presentation/UsersModuleProvider.d.ts.map +1 -0
  2061. package/types/features/users/presentation/UsersPage.d.ts +7 -0
  2062. package/types/features/users/presentation/UsersPage.d.ts.map +1 -0
  2063. package/types/features/users/presentation/UsersPageToolbar.d.ts +14 -0
  2064. package/types/features/users/presentation/UsersPageToolbar.d.ts.map +1 -0
  2065. package/types/features/users/presentation/filter-users.d.ts +18 -0
  2066. package/types/features/users/presentation/filter-users.d.ts.map +1 -0
  2067. package/types/features/users/presentation/index.d.ts +4 -0
  2068. package/types/features/users/presentation/index.d.ts.map +1 -0
  2069. package/types/features/users/presentation/use-debounced-value.d.ts +3 -0
  2070. package/types/features/users/presentation/use-debounced-value.d.ts.map +1 -0
  2071. package/types/features/users/presentation/use-users-module.d.ts +4 -0
  2072. package/types/features/users/presentation/use-users-module.d.ts.map +1 -0
  2073. package/types/features/users/presentation/use-users.d.ts +10 -0
  2074. package/types/features/users/presentation/use-users.d.ts.map +1 -0
  2075. package/types/features/users/presentation/users-module-context.d.ts +4 -0
  2076. package/types/features/users/presentation/users-module-context.d.ts.map +1 -0
  2077. package/types/features/users/users-module.d.ts +18 -0
  2078. package/types/features/users/users-module.d.ts.map +1 -0
  2079. package/types/main.d.ts +2 -0
  2080. package/types/main.d.ts.map +1 -0
  2081. package/types/sdk/CommsProvider.d.ts +14 -0
  2082. package/types/sdk/CommsProvider.d.ts.map +1 -0
  2083. package/types/sdk/SdkErrorBoundary.d.ts +28 -0
  2084. package/types/sdk/SdkErrorBoundary.d.ts.map +1 -0
  2085. package/types/sdk/SdkProviders.d.ts +24 -0
  2086. package/types/sdk/SdkProviders.d.ts.map +1 -0
  2087. package/types/sdk/elements/BaseUappElement.d.ts +11 -0
  2088. package/types/sdk/elements/BaseUappElement.d.ts.map +1 -0
  2089. package/types/sdk/elements/WidgetConfigNotice.d.ts +12 -0
  2090. package/types/sdk/elements/WidgetConfigNotice.d.ts.map +1 -0
  2091. package/types/sdk/elements/WidgetRoot.d.ts +18 -0
  2092. package/types/sdk/elements/WidgetRoot.d.ts.map +1 -0
  2093. package/types/sdk/elements/bookings-widget-routes.d.ts +21 -0
  2094. package/types/sdk/elements/bookings-widget-routes.d.ts.map +1 -0
  2095. package/types/sdk/elements/chat-widget-routes.d.ts +17 -0
  2096. package/types/sdk/elements/chat-widget-routes.d.ts.map +1 -0
  2097. package/types/sdk/elements/define-configured-widget.d.ts +8 -0
  2098. package/types/sdk/elements/define-configured-widget.d.ts.map +1 -0
  2099. package/types/sdk/elements/single-page-widget-routes.d.ts +17 -0
  2100. package/types/sdk/elements/single-page-widget-routes.d.ts.map +1 -0
  2101. package/types/sdk/elements/uapp-bookings.d.ts +3 -0
  2102. package/types/sdk/elements/uapp-bookings.d.ts.map +1 -0
  2103. package/types/sdk/elements/uapp-chat.d.ts +3 -0
  2104. package/types/sdk/elements/uapp-chat.d.ts.map +1 -0
  2105. package/types/sdk/elements/uapp-feed.d.ts +3 -0
  2106. package/types/sdk/elements/uapp-feed.d.ts.map +1 -0
  2107. package/types/sdk/elements/uapp-schedule.d.ts +3 -0
  2108. package/types/sdk/elements/uapp-schedule.d.ts.map +1 -0
  2109. package/types/sdk/elements/widget-config.d.ts +14 -0
  2110. package/types/sdk/elements/widget-config.d.ts.map +1 -0
  2111. package/types/sdk/index.d.ts +32 -0
  2112. package/types/sdk/index.d.ts.map +1 -0
  2113. package/types/sdk/notifications/notification-client.d.ts +56 -0
  2114. package/types/sdk/notifications/notification-client.d.ts.map +1 -0
  2115. package/types/sdk/notifications/notification-payload.d.ts +26 -0
  2116. package/types/sdk/notifications/notification-payload.d.ts.map +1 -0
  2117. package/types/sdk/presence/presence-client.d.ts +99 -0
  2118. package/types/sdk/presence/presence-client.d.ts.map +1 -0
  2119. package/types/sdk/runtime/SdkNotificationBridge.d.ts +22 -0
  2120. package/types/sdk/runtime/SdkNotificationBridge.d.ts.map +1 -0
  2121. package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts +18 -0
  2122. package/types/sdk/runtime/auth/in-memory-key-value-storage.d.ts.map +1 -0
  2123. package/types/sdk/runtime/auth/sdk-auth-module.d.ts +25 -0
  2124. package/types/sdk/runtime/auth/sdk-auth-module.d.ts.map +1 -0
  2125. package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts +23 -0
  2126. package/types/sdk/runtime/auth/sdk-auth-protocol.d.ts.map +1 -0
  2127. package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts +56 -0
  2128. package/types/sdk/runtime/auth/sdk-handshake-runner.d.ts.map +1 -0
  2129. package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts +21 -0
  2130. package/types/sdk/runtime/auth/sdk-host-token-auth-gateway.d.ts.map +1 -0
  2131. package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts +44 -0
  2132. package/types/sdk/runtime/auth/sdk-signed-auth-gateway.d.ts.map +1 -0
  2133. package/types/sdk/runtime/auth/shared-handshake.d.ts +36 -0
  2134. package/types/sdk/runtime/auth/shared-handshake.d.ts.map +1 -0
  2135. package/types/sdk/runtime/headless-session.d.ts +34 -0
  2136. package/types/sdk/runtime/headless-session.d.ts.map +1 -0
  2137. package/types/sdk/runtime/module-scopes.d.ts +16 -0
  2138. package/types/sdk/runtime/module-scopes.d.ts.map +1 -0
  2139. package/types/sdk/runtime/sdk-composition-root.d.ts +48 -0
  2140. package/types/sdk/runtime/sdk-composition-root.d.ts.map +1 -0
  2141. package/types/sdk/runtime/sdk-module-access-gateway.d.ts +19 -0
  2142. package/types/sdk/runtime/sdk-module-access-gateway.d.ts.map +1 -0
  2143. package/types/sdk/runtime/sdk-module-access.d.ts +13 -0
  2144. package/types/sdk/runtime/sdk-module-access.d.ts.map +1 -0
  2145. package/types/sdk/runtime/sdk-runtime-registry.d.ts +64 -0
  2146. package/types/sdk/runtime/sdk-runtime-registry.d.ts.map +1 -0
  2147. package/types/sdk/runtime/styles.d.ts +26 -0
  2148. package/types/sdk/runtime/styles.d.ts.map +1 -0
  2149. package/types/sdk/runtime/theme.d.ts +14 -0
  2150. package/types/sdk/runtime/theme.d.ts.map +1 -0
  2151. package/types/sdk/runtime/timezone.d.ts +11 -0
  2152. package/types/sdk/runtime/timezone.d.ts.map +1 -0
  2153. package/types/sdk/runtime/use-sdk-composition.d.ts +38 -0
  2154. package/types/sdk/runtime/use-sdk-composition.d.ts.map +1 -0
  2155. package/types/sdk/runtime/use-sdk-handshake.d.ts +24 -0
  2156. package/types/sdk/runtime/use-sdk-handshake.d.ts.map +1 -0
  2157. package/types/sdk/runtime/use-sdk-theme.d.ts +9 -0
  2158. package/types/sdk/runtime/use-sdk-theme.d.ts.map +1 -0
  2159. package/types/sdk/types.d.ts +114 -0
  2160. package/types/sdk/types.d.ts.map +1 -0
  2161. package/types/shared/forms/domain-resolver.d.ts +27 -0
  2162. package/types/shared/forms/domain-resolver.d.ts.map +1 -0
  2163. package/types/shared/forms/index.d.ts +2 -0
  2164. package/types/shared/forms/index.d.ts.map +1 -0
  2165. package/types/shared/presence/PresenceBadge.d.ts +34 -0
  2166. package/types/shared/presence/PresenceBadge.d.ts.map +1 -0
  2167. package/types/shared/presence/index.d.ts +4 -0
  2168. package/types/shared/presence/index.d.ts.map +1 -0
  2169. package/types/shared/presence/live-presence-store.d.ts +41 -0
  2170. package/types/shared/presence/live-presence-store.d.ts.map +1 -0
  2171. package/types/shared/presence/presence-status.d.ts +41 -0
  2172. package/types/shared/presence/presence-status.d.ts.map +1 -0
  2173. package/types/shared/ui/Alert/Alert.d.ts +9 -0
  2174. package/types/shared/ui/Alert/Alert.d.ts.map +1 -0
  2175. package/types/shared/ui/Avatar/Avatar.d.ts +15 -0
  2176. package/types/shared/ui/Avatar/Avatar.d.ts.map +1 -0
  2177. package/types/shared/ui/Badge/Badge.d.ts +14 -0
  2178. package/types/shared/ui/Badge/Badge.d.ts.map +1 -0
  2179. package/types/shared/ui/BottomNavigation/BottomNavBar.d.ts +14 -0
  2180. package/types/shared/ui/BottomNavigation/BottomNavBar.d.ts.map +1 -0
  2181. package/types/shared/ui/Button/Button.d.ts +16 -0
  2182. package/types/shared/ui/Button/Button.d.ts.map +1 -0
  2183. package/types/shared/ui/Card/Card.d.ts +12 -0
  2184. package/types/shared/ui/Card/Card.d.ts.map +1 -0
  2185. package/types/shared/ui/CodeBlock/CodeBlock.d.ts +9 -0
  2186. package/types/shared/ui/CodeBlock/CodeBlock.d.ts.map +1 -0
  2187. package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts +14 -0
  2188. package/types/shared/ui/ConfirmDialog/ConfirmDialog.d.ts.map +1 -0
  2189. package/types/shared/ui/Drawer/Drawer.d.ts +38 -0
  2190. package/types/shared/ui/Drawer/Drawer.d.ts.map +1 -0
  2191. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts +40 -0
  2192. package/types/shared/ui/DropdownMenu/DropdownMenu.d.ts.map +1 -0
  2193. package/types/shared/ui/EmptyState/EmptyState.d.ts +11 -0
  2194. package/types/shared/ui/EmptyState/EmptyState.d.ts.map +1 -0
  2195. package/types/shared/ui/IconButton/IconButton.d.ts +14 -0
  2196. package/types/shared/ui/IconButton/IconButton.d.ts.map +1 -0
  2197. package/types/shared/ui/Modal/Modal.d.ts +33 -0
  2198. package/types/shared/ui/Modal/Modal.d.ts.map +1 -0
  2199. package/types/shared/ui/Popover/Popover.d.ts +24 -0
  2200. package/types/shared/ui/Popover/Popover.d.ts.map +1 -0
  2201. package/types/shared/ui/SecretField/SecretField.d.ts +10 -0
  2202. package/types/shared/ui/SecretField/SecretField.d.ts.map +1 -0
  2203. package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts +17 -0
  2204. package/types/shared/ui/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  2205. package/types/shared/ui/Select/Select.d.ts +8 -0
  2206. package/types/shared/ui/Select/Select.d.ts.map +1 -0
  2207. package/types/shared/ui/Skeleton/Skeleton.d.ts +11 -0
  2208. package/types/shared/ui/Skeleton/Skeleton.d.ts.map +1 -0
  2209. package/types/shared/ui/Spinner/Spinner.d.ts +7 -0
  2210. package/types/shared/ui/Spinner/Spinner.d.ts.map +1 -0
  2211. package/types/shared/ui/Stat/Stat.d.ts +13 -0
  2212. package/types/shared/ui/Stat/Stat.d.ts.map +1 -0
  2213. package/types/shared/ui/Tabs/Tabs.d.ts +24 -0
  2214. package/types/shared/ui/Tabs/Tabs.d.ts.map +1 -0
  2215. package/types/shared/ui/TextField/TextField.d.ts +11 -0
  2216. package/types/shared/ui/TextField/TextField.d.ts.map +1 -0
  2217. package/types/shared/ui/TimePicker/TimePicker.d.ts +18 -0
  2218. package/types/shared/ui/TimePicker/TimePicker.d.ts.map +1 -0
  2219. package/types/shared/ui/Toast/Toast.d.ts +3 -0
  2220. package/types/shared/ui/Toast/Toast.d.ts.map +1 -0
  2221. package/types/shared/ui/Toast/use-toast.d.ts +13 -0
  2222. package/types/shared/ui/Toast/use-toast.d.ts.map +1 -0
  2223. package/types/shared/ui/Tooltip/Tooltip.d.ts +19 -0
  2224. package/types/shared/ui/Tooltip/Tooltip.d.ts.map +1 -0
  2225. package/types/shared/ui/clipboard.d.ts +10 -0
  2226. package/types/shared/ui/clipboard.d.ts.map +1 -0
  2227. package/types/shared/ui/index.d.ts +39 -0
  2228. package/types/shared/ui/index.d.ts.map +1 -0
  2229. package/types/shared/ui/is-event-outside.d.ts +17 -0
  2230. package/types/shared/ui/is-event-outside.d.ts.map +1 -0
  2231. package/types/shared/ui/layout/Container.d.ts +15 -0
  2232. package/types/shared/ui/layout/Container.d.ts.map +1 -0
  2233. package/types/shared/ui/layout/Grid.d.ts +14 -0
  2234. package/types/shared/ui/layout/Grid.d.ts.map +1 -0
  2235. package/types/shared/ui/layout/Inline.d.ts +17 -0
  2236. package/types/shared/ui/layout/Inline.d.ts.map +1 -0
  2237. package/types/shared/ui/layout/PageHeader.d.ts +13 -0
  2238. package/types/shared/ui/layout/PageHeader.d.ts.map +1 -0
  2239. package/types/shared/ui/layout/Stack.d.ts +13 -0
  2240. package/types/shared/ui/layout/Stack.d.ts.map +1 -0
  2241. package/types/shared/ui/layout/space.d.ts +16 -0
  2242. package/types/shared/ui/layout/space.d.ts.map +1 -0
  2243. package/types/shared/ui/motion/index.d.ts +2 -0
  2244. package/types/shared/ui/motion/index.d.ts.map +1 -0
  2245. package/types/shared/ui/motion/presets.d.ts +10 -0
  2246. package/types/shared/ui/motion/presets.d.ts.map +1 -0
  2247. package/types/shared/ui/portal-container-context.d.ts +13 -0
  2248. package/types/shared/ui/portal-container-context.d.ts.map +1 -0
  2249. package/types/shared/ui/portal-container.d.ts +7 -0
  2250. package/types/shared/ui/portal-container.d.ts.map +1 -0
  2251. package/types/shared/ui/use-media-query.d.ts +6 -0
  2252. package/types/shared/ui/use-media-query.d.ts.map +1 -0
  2253. package/types/shared/ui/use-portal-container.d.ts +8 -0
  2254. package/types/shared/ui/use-portal-container.d.ts.map +1 -0
  2255. package/types/shared/utils/assert-never.d.ts +7 -0
  2256. package/types/shared/utils/assert-never.d.ts.map +1 -0
  2257. package/types/shared/utils/avatar.d.ts +7 -0
  2258. package/types/shared/utils/avatar.d.ts.map +1 -0
  2259. package/types/shared/utils/character-limit.d.ts +15 -0
  2260. package/types/shared/utils/character-limit.d.ts.map +1 -0
  2261. package/types/shared/utils/cn.d.ts +4 -0
  2262. package/types/shared/utils/cn.d.ts.map +1 -0
  2263. package/types/shared/utils/css-vars.d.ts +9 -0
  2264. package/types/shared/utils/css-vars.d.ts.map +1 -0
  2265. package/types/shared/utils/format-role-name.d.ts +2 -0
  2266. package/types/shared/utils/format-role-name.d.ts.map +1 -0
  2267. package/types/shared/utils/index.d.ts +7 -0
  2268. package/types/shared/utils/index.d.ts.map +1 -0
  2269. package/ui-store-4fbabb78-D3qAYH9k.js +3775 -0
  2270. package/ui-store-4fbabb78-DJ1d5tcD.cjs +29 -0
  2271. package/use-active-meeting-store-BYNg3cF3.cjs +52 -0
  2272. package/use-active-meeting-store-hqtfgGa_.js +12267 -0
@@ -0,0 +1,2 @@
1
+ const e=require("./jsx-runtime-VQ627FC0.cjs");let t=require("react");t=e.o(t,1);var n=class extends Error{context;constructor(e,t){super(e),this.name=new.target.name,t?.cause!==void 0&&(this.cause=t.cause),t?.context!==void 0&&(this.context=Object.freeze({...t.context})),Object.setPrototypeOf(this,new.target.prototype)}},r=class extends n{},i=e.t(),a=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`get-availability`)}async execute(){let e=await this.scheduleGateway.getAvailability();return e.ok||this.logger.warn(`Loading availability failed`,{code:e.error.code}),e}},o=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`get-effective-availability`)}async execute(){let e=await this.scheduleGateway.getEffectiveAvailability();return e.ok||this.logger.warn(`Loading effective availability failed`,{code:e.error.code}),e}},s=e=>({ok:!0,value:e}),c=e=>({ok:!1,error:e}),l=e=>e.ok,u=e=>!e.ok,d=e=>{if(u(e))throw e.error;return e.value},f=async e=>d(await e),p=[{id:`mon`,short:`Mon`,long:`Monday`},{id:`tue`,short:`Tue`,long:`Tuesday`},{id:`wed`,short:`Wed`,long:`Wednesday`},{id:`thu`,short:`Thu`,long:`Thursday`},{id:`fri`,short:`Fri`,long:`Friday`},{id:`sat`,short:`Sat`,long:`Saturday`},{id:`sun`,short:`Sun`,long:`Sunday`}],m=class extends r{code=`INVALID_TIME`;constructor(e){super(`"${e}" is not a valid 24-hour time.`,{context:{value:e}})}},ee=/^([01]\d|2[0-3]):([0-5]\d)$/,te=60,ne=class e{minutes;normalized;constructor(e,t){this.minutes=e,this.normalized=t}static create(t){let n=ee.exec(t.trim());if(n===null)return c(new m(t));let r=Number(n[1]),i=Number(n[2]);return s(new e(r*te+i,`${String(r).padStart(2,`0`)}:${String(i).padStart(2,`0`)}`))}get minutesSinceMidnight(){return this.minutes}get value(){return this.normalized}equals(e){return this.minutes===e.minutes}isBefore(e){return this.minutes<e.minutes}isAfter(e){return this.minutes>e.minutes}toString(){return this.normalized}},re=class e{start;end;constructor(e,t){this.start=e,this.end=t}static create(t,n){let r=ne.create(t);if(!r.ok)return r;let i=ne.create(n);return i.ok?t===n?c(new m(`${t}–${n}`)):s(new e(r.value,i.value)):i}get from(){return this.start}get to(){return this.end}get minutes(){let e=this.end.minutesSinceMidnight-this.start.minutesSinceMidnight;return e<0?e+1440:e}},ie=class extends r{},ae=class extends ie{code=`SCHEDULE_UNAVAILABLE`;constructor(e){super(`Your schedule is currently unavailable. Please try again.`,{cause:e})}},h=class extends ie{code=`SCHEDULE_INVALID_AVAILABILITY`;constructor(){super(`Each working day must end after it starts.`)}},oe=class extends ie{code=`SCHEDULE_INVALID_BLOCK`;constructor(e=`Give the block a title and an end time after its start.`){super(e)}},se=class extends ie{code=`SCHEDULE_BLOCK_NOT_FOUND`;constructor(){super(`That schedule block no longer exists.`)}},ce=e=>{let t=new Date(e);return t.getHours()*60+t.getMinutes()},le=(e,t)=>Math.max(0,Math.round((new Date(t).getTime()-new Date(e).getTime())/6e4)),ue=(e,t)=>new Date(t).getTime()>new Date(e).getTime(),de=e=>(new Date(e).getDay()+6)%7,fe=e=>{let t=typeof e==`string`?new Date(e):e;return`${String(t.getFullYear())}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`},pe=e=>{let t={mon:{active:e.mon.active,slots:[]},tue:{active:e.tue.active,slots:[]},wed:{active:e.wed.active,slots:[]},thu:{active:e.thu.active,slots:[]},fri:{active:e.fri.active,slots:[]},sat:{active:e.sat.active,slots:[]},sun:{active:e.sun.active,slots:[]}},n=e=>p[(e+1)%7]?.id??`mon`;p.forEach((r,i)=>{let a=e[r.id].slots,o=t[r.id].slots;for(let e of a)if(e.from>e.to&&e.from!==e.to){if(o.push({id:e.id,from:e.from,to:`23:59`}),e.to>`00:00`){let r=n(i),a=t[r].slots;a.push({id:crypto.randomUUID(),from:`00:00`,to:e.to}),t[r]={active:!0,slots:a}}}else o.push({...e})});for(let e of p)t[e.id].slots.sort((e,t)=>e.from.localeCompare(t.from));return t},me={mon:{active:!0,slots:[{id:`default-mon-1`,from:`09:00`,to:`17:00`}]},tue:{active:!0,slots:[{id:`default-tue-1`,from:`09:00`,to:`17:00`}]},wed:{active:!0,slots:[{id:`default-wed-1`,from:`09:00`,to:`17:00`}]},thu:{active:!0,slots:[{id:`default-thu-1`,from:`09:00`,to:`17:00`}]},fri:{active:!0,slots:[{id:`default-fri-1`,from:`09:00`,to:`17:00`}]},sat:{active:!1,slots:[{id:`default-sat-1`,from:`10:00`,to:`14:00`}]},sun:{active:!1,slots:[{id:`default-sun-1`,from:`10:00`,to:`14:00`}]}},he=p.map(e=>e.id),ge=e=>he[(e.getDay()+6)%7]??`mon`,_e=(e,t)=>e??t??me,ve=(e,t)=>e[ge(t)],ye=1500,be=(e,t)=>new Date(e,t+1,0).getDate(),xe=e=>Math.min(5,Math.ceil(e.getDate()/7)),Se=(e,t,n,r)=>{if(n===5){let n=be(e,t),i=new Date(e,t,n);return new Date(e,t,n-(i.getDay()-r+7)%7)}let i=1+(r-new Date(e,t,1).getDay()+7)%7+(n-1)*7;return i>be(e,t)?null:new Date(e,t,i)},Ce=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),we=(e,t,n)=>{let r=[],i=Ce(e),a=Math.max(1,t);for(;i<=n&&r.length<1500;)r.push(new Date(i)),i.setDate(i.getDate()+a);return r},Te=(e,t,n)=>{let r=Math.max(1,t.interval),i=(t.weekdays.length>0?[...t.weekdays]:[e.getDay()]).sort((e,t)=>e-t),a=Ce(e);a.setDate(a.getDate()-a.getDay());let o=[];for(let e=0;o.length<ye;e+=r){let t=new Date(a);if(t.setDate(t.getDate()+e*7),t>n)break;for(let e of i){let r=new Date(t);r.setDate(r.getDate()+e),r<=n&&o.push(r)}}return o},Ee=(e,t,n,r)=>t.monthlyMode===`dayOfMonth`?new Date(n,r,Math.min(e.getDate(),be(n,r))):Se(n,r,xe(e),e.getDay()),De=(e,t,n,r)=>{let i=[],a=Math.max(1,t.interval),o=r?12*a:a;for(let r=0;r<600&&i.length<1500;r+=1){let a=e.getMonth()+r*o,s=e.getFullYear()+Math.floor(a/12),c=(a%12+12)%12;if(new Date(s,c,1)>n&&r>0)break;let l=Ee(e,t,s,c);l&&l<=n&&i.push(l)}return i},Oe=(e,t,n)=>{switch(t.freq){case`daily`:return we(e,t.interval,n);case`weekly`:return Te(e,t,n);case`monthly`:return De(e,t,n,!1);case`yearly`:return De(e,t,n,!0)}},ke=[{id:`daily`,label:`Daily`},{id:`weekly`,label:`Weekly`},{id:`monthly`,label:`Monthly`},{id:`yearly`,label:`Yearly`}],Ae=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],je=[`first`,`second`,`third`,`fourth`,`last`],Me=e=>({freq:`weekly`,interval:1,weekdays:[new Date(e).getDay()],monthlyMode:`dayOfMonth`,endType:`never`,endCount:13,endDate:``,exceptions:[]}),Ne=e=>e.endType===`on`&&e.endDate!==``?new Date(`${e.endDate}T23:59:59`):null,Pe=(e,t,n)=>{let[r,i]=t.split(`:`),[a,o]=n.split(`:`);return{start:new Date(e.getFullYear(),e.getMonth(),e.getDate(),Number(r??`0`),Number(i??`0`),0,0),end:new Date(e.getFullYear(),e.getMonth(),e.getDate(),Number(a??`0`),Number(o??`0`),0,0)}},Fe=({day:e,rec:t,endDate:n,exceptions:r,range:i,count:a,out:o})=>{let s=a,c=e.getDay(),l=t.weekdayTimes?.[c];if(!l||l.length===0)return{count:s,broken:!1};for(let a of l){let{start:c,end:l}=Pe(e,a.start,a.end);if(n!==null&&c>n)return{count:s,broken:!0};if(!r.has(fe(c))){if(s+=1,t.endType===`after`&&s>t.endCount)return{count:s,broken:!0};c>=i.start&&c<=i.end&&o.push({start:c.toISOString(),end:l.toISOString()})}}return{count:s,broken:!1}},Ie=(e,t)=>{if(!t.differentTimes||!t.weekdayTimes)return!1;let n=t.weekdayTimes[e.getDay()];return n!==void 0&&n.length>0},Le=({day:e,base:t,dur:n,rec:r,endDate:i,exceptions:a,range:o,count:s,out:c})=>{if(Ie(e,r))return Fe({day:e,rec:r,endDate:i,exceptions:a,range:o,count:s,out:c});let l=new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),0,0);if(l<t)return{count:s,broken:!1};if(i!==null&&l>i)return{count:s,broken:!0};if(a.has(fe(l)))return{count:s,broken:!1};let u=s+1;return r.endType===`after`&&u>r.endCount?{count:u,broken:!0}:(l>=o.start&&l<=o.end&&c.push({start:l.toISOString(),end:new Date(l.getTime()+n).toISOString()}),{count:u,broken:!1})},Re=(e,t,n,r)=>{let i=Ne(n),a=new Set(n.exceptions),o=[],s=0;for(let c of Oe(e,n,r.end)){let l=Le({day:c,base:e,dur:t,rec:n,endDate:i,exceptions:a,range:r,count:s,out:o});if(s=l.count,l.broken)break}return o},ze=(e,t,n)=>{let r=new Date(e.start);return e.recurrence===null?r>=t&&r<=n?[{start:e.start,end:e.end}]:[]:Re(r,new Date(e.end).getTime()-r.getTime(),e.recurrence,{start:t,end:n})},Be=(e,t,n)=>{let r=Math.max(0,new Date(e.end).getTime()-new Date(e.start).getTime()),i=new Date(t.getTime()-r),a=t.getTime(),o=n.getTime();return ze(e,i,n).filter(e=>{let t=new Date(e.start).getTime(),n=new Date(e.end).getTime();return t<=o&&n>a})},Ve=e=>{let t={daily:`day`,weekly:`week`,monthly:`month`,yearly:`year`}[e.freq];return e.interval>1?`every ${String(e.interval)} ${t}s`:`every ${t}`},He=(e,t)=>e.freq===`weekly`?` on ${(e.weekdays.length>0?[...e.weekdays]:[t.getDay()]).sort((e,t)=>e-t).map(e=>Ae[e]).join(`, `)}`:e.freq===`monthly`||e.freq===`yearly`?e.monthlyMode===`nthWeekday`?` on the ${je[xe(t)-1]??`first`} ${Ae[t.getDay()]??``}`:` on day ${String(t.getDate())}`:``,Ue=e=>e.endType===`after`?`, ${String(e.endCount)} times`:e.endType===`on`&&e.endDate!==``?`, until ${new Date(`${e.endDate}T00:00:00`).toLocaleDateString(void 0,{day:`numeric`,month:`short`,year:`numeric`})}`:``,We=(e,t)=>{if(e.differentTimes){let n=He(e,new Date(t));return`${Ve(e)}${n} with different times per day${Ue(e)}`}return`${Ve(e)}${He(e,new Date(t))}${Ue(e)}`},Ge=class{id;userId;title;status;start;end;allDay;notes;recurrence;sourceMeetingId;constructor(e){this.id=e.id,this.userId=e.userId,this.title=e.title,this.status=e.status,this.start=e.start,this.end=e.end,this.allDay=e.allDay,this.notes=e.notes,this.recurrence=e.recurrence,this.sourceMeetingId=e.sourceMeetingId??null}get durationMinutes(){return le(this.start,this.end)}get isRecurring(){return this.recurrence!==null}get hasNotes(){return this.notes.trim().length>0}},Ke=e=>{let t=e.title.trim();if(t.length===0)return c(new oe(`Give the block a title.`));if(!ue(e.start,e.end))return c(new oe(`The block must end after it starts.`));let n=e.allDay?26:24;return le(e.start,e.end)>n*60?c(new oe(`A single block can't span more than ${String(n)} hours. Use a recurring block for events that repeat across days.`)):s({...e,title:t})},qe=[15,30,45,60],Je=[0,5,10,15],Ye=[`Europe/London`,`America/New_York`,`America/Los_Angeles`,`Asia/Dhaka`,`Europe/Bucharest`,`Asia/Dubai`],Xe=[{id:`available`,label:`Available`},{id:`busy`,label:`Busy`},{id:`meeting`,label:`Meeting`},{id:`focus`,label:`Focus`},{id:`away`,label:`Away`}],Ze=e=>Math.round(e*10)/10,Qe=(e,t)=>Ze(e.filter(e=>!e.block.allDay&&e.block.status===t).reduce((e,t)=>e+le(t.start,t.end),0)/60),$e=(e,t)=>{let n=fe(t),r=e.filter(e=>e.date===n);return{busyHours:Qe(r,`busy`),meetingCount:r.filter(e=>!e.block.allDay&&e.block.status===`meeting`).length,focusHours:Qe(r,`focus`)}},et=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),tt=(e,t)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,0,0,0,0),nt=(e,t,n)=>{let r=[],i=new Date(t.start).getTime(),a=new Date(t.end).getTime(),o=fe(t.start),s=et(new Date(t.start)),c=!0;s.getTime()<n.start.getTime()&&(s=et(n.start),c=!1);for(let l=0;s.getTime()<a&&s.getTime()<=n.end.getTime()&&l<400;l+=1){let l=tt(s,1),u=Math.max(i,s.getTime()),d=Math.min(a,l.getTime());if(d>u&&s.getTime()>=n.start.getTime()){let n=fe(s),l=u===i?t.start:new Date(u).toISOString(),f=d===a?t.end:new Date(d).toISOString(),p=u>i,m=d<a;r.push({key:c?`${e.id}@${o}`:`${e.id}@${o}+${n}`,block:e,dayIndex:de(l),date:n,start:l,end:f,...p?{continuesFromPrevDay:!0}:{},...m?{continuesToNextDay:!0}:{}})}c=!1,s=l}return r},rt=(e,t,n)=>{let r=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),i=new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999),a=[];for(let e of n)for(let t of Be(e,r,i))for(let n of nt(e,t,{start:r,end:i}))a.push(n);return a},it=(e,t)=>{let n=t[0],r=t[6];return n===void 0||r===void 0?[]:rt(n,r,e)},at=e=>{let[t,n]=e.split(`:`);return Number(t??`0`)*60+Number(n??`0`)},ot=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`save-availability`)}async execute(e){return e!==null&&p.some(t=>{let n=e[t.id];if(!n.active||n.slots.length===0)return!1;if(n.slots.some(e=>{let t=re.create(e.from,e.to);return!t.ok||t.value.from.minutesSinceMidnight>=t.value.to.minutesSinceMidnight}))return!0;let r=[...n.slots].sort((e,t)=>e.from.localeCompare(t.from)),i=``;for(let e of r){if(e.from<i)return!0;i=e.to}return!1})?(this.logger.warn(`Rejected invalid availability`),c(new h)):this.scheduleGateway.saveAvailability(e)}},st=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`list-schedule-blocks`)}async execute(){let e=await this.scheduleGateway.listBlocks();return e.ok||this.logger.warn(`Listing schedule blocks failed`,{code:e.error.code}),e}},ct=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`create-schedule-block`)}async execute(e){let t=Ke(e);return u(t)?(this.logger.warn(`Rejected invalid block`,{code:t.error.code}),c(t.error)):this.scheduleGateway.createBlock(t.value)}},lt=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`update-schedule-block`)}async execute({id:e,draft:t}){let n=Ke(t);return u(n)?(this.logger.warn(`Rejected invalid block edit`,{code:n.error.code}),c(n.error)):this.scheduleGateway.updateBlock(e,n.value)}},ut=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`delete-schedule-block`)}async execute(e){let t=await this.scheduleGateway.deleteBlock(e);return t.ok||this.logger.warn(`Deleting schedule block failed`,{code:t.error.code}),t}},dt=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`get-preferences`)}async execute(){let e=await this.scheduleGateway.getPreferences();return e.ok||this.logger.warn(`Loading preferences failed`,{code:e.error.code}),e}},ft=class{scheduleGateway;logger;constructor(e){this.scheduleGateway=e.scheduleGateway,this.logger=e.logger.child(`save-preferences`)}async execute(e){let t=await this.scheduleGateway.savePreferences(e);return t.ok||this.logger.warn(`Saving preferences failed`,{code:t.error.code}),t}},pt=class extends n{code=`HTTP`;status;statusText;url;body;retryAfterMs;constructor(e){super(`HTTP ${String(e.status)} ${e.statusText} for ${e.url}`,{context:{status:e.status,url:e.url}}),this.status=e.status,this.statusText=e.statusText,this.url=e.url,this.body=e.body,this.retryAfterMs=e.retryAfterMs}isUnauthorized(){return this.status===401}isForbidden(){return this.status===403}isNotFound(){return this.status===404}isConflict(){return this.status===409}isTooManyRequests(){return this.status===429}isClientError(){return this.status>=400&&this.status<500}isServerError(){return this.status>=500&&this.status<600}},mt=class extends n{code=`NETWORK`;constructor(e,t){super(`Network request to ${e} failed`,{cause:t,context:{url:e}})}},g;(function(e){e.assertEqual=e=>{};function t(e){}e.assertIs=t;function n(e){throw Error()}e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>typeof t[t[e]]!=`number`),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys=typeof Object.keys==`function`?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger=typeof Number.isInteger==`function`?e=>Number.isInteger(e):e=>typeof e==`number`&&Number.isFinite(e)&&Math.floor(e)===e;function r(e,t=` | `){return e.map(e=>typeof e==`string`?`'${e}'`:e).join(t)}e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>typeof t==`bigint`?t.toString():t})(g||={});var ht;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(ht||={});var _=g.arrayToEnum([`string`,`nan`,`number`,`integer`,`float`,`boolean`,`date`,`bigint`,`symbol`,`function`,`undefined`,`null`,`array`,`object`,`unknown`,`promise`,`void`,`never`,`map`,`set`]),v=e=>{switch(typeof e){case`undefined`:return _.undefined;case`string`:return _.string;case`number`:return Number.isNaN(e)?_.nan:_.number;case`boolean`:return _.boolean;case`function`:return _.function;case`bigint`:return _.bigint;case`symbol`:return _.symbol;case`object`:return Array.isArray(e)?_.array:e===null?_.null:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?_.promise:typeof Map<`u`&&e instanceof Map?_.map:typeof Set<`u`&&e instanceof Set?_.set:typeof Date<`u`&&e instanceof Date?_.date:_.object;default:return _.unknown}},y=g.arrayToEnum([`invalid_type`,`invalid_literal`,`custom`,`invalid_union`,`invalid_union_discriminator`,`invalid_enum_value`,`unrecognized_keys`,`invalid_arguments`,`invalid_return_type`,`invalid_date`,`invalid_string`,`too_small`,`too_big`,`invalid_intersection_types`,`not_multiple_of`,`not_finite`]),b=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name=`ZodError`,this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`)i.unionErrors.map(r);else if(i.code===`invalid_return_type`)r(i.returnTypeError);else if(i.code===`invalid_arguments`)r(i.argumentsError);else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,g.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){let t={},n=[];for(let r of this.issues)if(r.path.length>0){let n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};b.create=e=>new b(e);var gt=(e,t)=>{let n;switch(e.code){case y.invalid_type:n=e.received===_.undefined?`Required`:`Expected ${e.expected}, received ${e.received}`;break;case y.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,g.jsonStringifyReplacer)}`;break;case y.unrecognized_keys:n=`Unrecognized key(s) in object: ${g.joinValues(e.keys,`, `)}`;break;case y.invalid_union:n=`Invalid input`;break;case y.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${g.joinValues(e.options)}`;break;case y.invalid_enum_value:n=`Invalid enum value. Expected ${g.joinValues(e.options)}, received '${e.received}'`;break;case y.invalid_arguments:n=`Invalid function arguments`;break;case y.invalid_return_type:n=`Invalid function return type`;break;case y.invalid_date:n=`Invalid date`;break;case y.invalid_string:typeof e.validation==`object`?`includes`in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position==`number`&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):`startsWith`in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:`endsWith`in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:g.assertNever(e.validation):n=e.validation===`regex`?`Invalid`:`Invalid ${e.validation}`;break;case y.too_small:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at least`:`over`} ${e.minimum} character(s)`:e.type===`number`||e.type===`bigint`?`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`:e.type===`date`?`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`:`Invalid input`;break;case y.too_big:n=e.type===`array`?`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`:e.type===`string`?`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`:e.type===`number`?`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`bigint`?`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`:e.type===`date`?`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`:`Invalid input`;break;case y.custom:n=`Invalid input`;break;case y.invalid_intersection_types:n=`Intersection results could not be merged`;break;case y.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case y.not_finite:n=`Number must be finite`;break;default:n=t.defaultError,g.assertNever(e)}return{message:n}},_t=gt;function vt(){return _t}var yt=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let s=``,c=r.filter(e=>!!e).slice().reverse();for(let e of c)s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function x(e,t){let n=vt(),r=yt({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===gt?void 0:gt].filter(e=>!!e)});e.common.issues.push(r)}var S=class e{constructor(){this.value=`valid`}dirty(){this.value===`valid`&&(this.value=`dirty`)}abort(){this.value!==`aborted`&&(this.value=`aborted`)}static mergeArray(e,t){let n=[];for(let r of t){if(r.status===`aborted`)return C;r.status===`dirty`&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(t,n){let r=[];for(let e of n){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if(t.status===`aborted`||i.status===`aborted`)return C;t.status===`dirty`&&e.dirty(),i.status===`dirty`&&e.dirty(),t.value!==`__proto__`&&(i.value!==void 0||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}},C=Object.freeze({status:`aborted`}),bt=e=>({status:`dirty`,value:e}),w=e=>({status:`valid`,value:e}),xt=e=>e.status===`aborted`,St=e=>e.status===`dirty`,Ct=e=>e.status===`valid`,wt=e=>typeof Promise<`u`&&e instanceof Promise,T;(function(e){e.errToObj=e=>typeof e==`string`?{message:e}:e||{},e.toString=e=>typeof e==`string`?e:e?.message})(T||={});var E=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Tt=(e,t)=>{if(Ct(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error(`Validation failed but no issues detected.`);return{success:!1,get error(){if(this._error)return this._error;let t=new b(e.common.issues);return this._error=t,this._error}}};function D(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return t.code===`invalid_enum_value`?{message:a??i.defaultError}:i.data===void 0?{message:a??r??i.defaultError}:t.code===`invalid_type`?{message:a??n??i.defaultError}:{message:i.defaultError}},description:i}}var O=class{get description(){return this._def.description}_getType(e){return v(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:v(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new S,ctx:{common:e.parent.common,data:e.data,parsedType:v(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(wt(t))throw Error(`Synchronous parse encountered promise.`);return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:v(e)};return Tt(n,this._parseSync({data:e,path:n.path,parent:n}))}"~validate"(e){let t={common:{issues:[],async:!!this[`~standard`].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:v(e)};if(!this[`~standard`].async)try{let n=this._parseSync({data:e,path:[],parent:t});return Ct(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes(`encountered`)&&(this[`~standard`].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>Ct(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:v(e)},r=this._parse({data:e,path:n.path,parent:n});return Tt(n,await(wt(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>typeof t==`string`||t===void 0?{message:t}:typeof t==`function`?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:y.custom,...n(t)});return typeof Promise<`u`&&i instanceof Promise?i.then(e=>e?!0:(a(),!1)):i?!0:(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t==`function`?t(n,r):t),!1))}_refinement(e){return new M({schema:this,typeName:F.ZodEffects,effect:{type:`refinement`,refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this[`~standard`]={version:1,vendor:`zod`,validate:e=>this[`~validate`](e)}}optional(){return N.create(this,this._def)}nullable(){return P.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ln.create(this)}promise(){return Tn.create(this,this._def)}or(e){return dn.create([this,e],this._def)}and(e){return mn.create(this,e,this._def)}transform(e){return new M({...D(this._def),schema:this,typeName:F.ZodEffects,effect:{type:`transform`,transform:e}})}default(e){let t=typeof e==`function`?e:()=>e;return new En({...D(this._def),innerType:this,defaultValue:t,typeName:F.ZodDefault})}brand(){return new kn({typeName:F.ZodBranded,type:this,...D(this._def)})}catch(e){let t=typeof e==`function`?e:()=>e;return new Dn({...D(this._def),innerType:this,catchValue:t,typeName:F.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return An.create(this,e)}readonly(){return jn.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},Et=/^c[^\s-]{8,}$/i,Dt=/^[0-9a-z]+$/,Ot=/^[0-9A-HJKMNP-TV-Z]{26}$/i,kt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,At=/^[a-z0-9_-]{21}$/i,jt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Mt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Nt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Pt=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,Ft,It=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Lt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Rt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,zt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Bt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Vt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Ht=`((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))`,Ut=RegExp(`^${Ht}$`);function Wt(e){let t=`[0-5]\\d`;e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`);let n=e.precision?`+`:`?`;return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Gt(e){return RegExp(`^${Wt(e)}$`)}function Kt(e){let t=`${Ht}T${Wt(e)}`,n=[];return n.push(e.local?`Z?`:`Z`),e.offset&&n.push(`([+-]\\d{2}:?\\d{2})`),t=`${t}(${n.join(`|`)})`,RegExp(`^${t}$`)}function qt(e,t){return!!((t===`v4`||!t)&&It.test(e)||(t===`v6`||!t)&&Rt.test(e))}function Jt(e,t){if(!jt.test(e))return!1;try{let[n]=e.split(`.`);if(!n)return!1;let r=n.replace(/-/g,`+`).replace(/_/g,`/`).padEnd(n.length+(4-n.length%4)%4,`=`),i=JSON.parse(atob(r));return!(typeof i!=`object`||!i||`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&i.alg!==t)}catch{return!1}}function Yt(e,t){return!!((t===`v4`||!t)&&Lt.test(e)||(t===`v6`||!t)&&zt.test(e))}var Xt=class e extends O{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==_.string){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.string,received:t.parsedType}),C}let t=new S,n;for(let r of this._def.checks)if(r.kind===`min`)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),x(n,{code:y.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`max`)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),x(n,{code:y.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind===`length`){let i=e.data.length>r.value,a=e.data.length<r.value;(i||a)&&(n=this._getOrReturnCtx(e,n),i?x(n,{code:y.too_big,maximum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}):a&&x(n,{code:y.too_small,minimum:r.value,type:`string`,inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if(r.kind===`email`)Nt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`email`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`emoji`)Ft||=new RegExp(Pt,`u`),Ft.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`emoji`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`uuid`)kt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`uuid`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`nanoid`)At.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`nanoid`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid`)Et.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`cuid`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`cuid2`)Dt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`cuid2`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`ulid`)Ot.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`ulid`,code:y.invalid_string,message:r.message}),t.dirty());else if(r.kind===`url`)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),x(n,{validation:`url`,code:y.invalid_string,message:r.message}),t.dirty()}else r.kind===`regex`?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`regex`,code:y.invalid_string,message:r.message}),t.dirty())):r.kind===`trim`?e.data=e.data.trim():r.kind===`includes`?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):r.kind===`toLowerCase`?e.data=e.data.toLowerCase():r.kind===`toUpperCase`?e.data=e.data.toUpperCase():r.kind===`startsWith`?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):r.kind===`endsWith`?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):r.kind===`datetime`?Kt(r).test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:`datetime`,message:r.message}),t.dirty()):r.kind===`date`?Ut.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:`date`,message:r.message}),t.dirty()):r.kind===`time`?Gt(r).test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{code:y.invalid_string,validation:`time`,message:r.message}),t.dirty()):r.kind===`duration`?Mt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`duration`,code:y.invalid_string,message:r.message}),t.dirty()):r.kind===`ip`?qt(e.data,r.version)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`ip`,code:y.invalid_string,message:r.message}),t.dirty()):r.kind===`jwt`?Jt(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`jwt`,code:y.invalid_string,message:r.message}),t.dirty()):r.kind===`cidr`?Yt(e.data,r.version)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`cidr`,code:y.invalid_string,message:r.message}),t.dirty()):r.kind===`base64`?Bt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`base64`,code:y.invalid_string,message:r.message}),t.dirty()):r.kind===`base64url`?Vt.test(e.data)||(n=this._getOrReturnCtx(e,n),x(n,{validation:`base64url`,code:y.invalid_string,message:r.message}),t.dirty()):g.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:y.invalid_string,...T.errToObj(n)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:`email`,...T.errToObj(e)})}url(e){return this._addCheck({kind:`url`,...T.errToObj(e)})}emoji(e){return this._addCheck({kind:`emoji`,...T.errToObj(e)})}uuid(e){return this._addCheck({kind:`uuid`,...T.errToObj(e)})}nanoid(e){return this._addCheck({kind:`nanoid`,...T.errToObj(e)})}cuid(e){return this._addCheck({kind:`cuid`,...T.errToObj(e)})}cuid2(e){return this._addCheck({kind:`cuid2`,...T.errToObj(e)})}ulid(e){return this._addCheck({kind:`ulid`,...T.errToObj(e)})}base64(e){return this._addCheck({kind:`base64`,...T.errToObj(e)})}base64url(e){return this._addCheck({kind:`base64url`,...T.errToObj(e)})}jwt(e){return this._addCheck({kind:`jwt`,...T.errToObj(e)})}ip(e){return this._addCheck({kind:`ip`,...T.errToObj(e)})}cidr(e){return this._addCheck({kind:`cidr`,...T.errToObj(e)})}datetime(e){return typeof e==`string`?this._addCheck({kind:`datetime`,precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:`datetime`,precision:e?.precision===void 0?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...T.errToObj(e?.message)})}date(e){return this._addCheck({kind:`date`,message:e})}time(e){return typeof e==`string`?this._addCheck({kind:`time`,precision:null,message:e}):this._addCheck({kind:`time`,precision:e?.precision===void 0?null:e?.precision,...T.errToObj(e?.message)})}duration(e){return this._addCheck({kind:`duration`,...T.errToObj(e)})}regex(e,t){return this._addCheck({kind:`regex`,regex:e,...T.errToObj(t)})}includes(e,t){return this._addCheck({kind:`includes`,value:e,position:t?.position,...T.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:`startsWith`,value:e,...T.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:`endsWith`,value:e,...T.errToObj(t)})}min(e,t){return this._addCheck({kind:`min`,value:e,...T.errToObj(t)})}max(e,t){return this._addCheck({kind:`max`,value:e,...T.errToObj(t)})}length(e,t){return this._addCheck({kind:`length`,value:e,...T.errToObj(t)})}nonempty(e){return this.min(1,T.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:`trim`}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toLowerCase`}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:`toUpperCase`}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind===`datetime`)}get isDate(){return!!this._def.checks.find(e=>e.kind===`date`)}get isTime(){return!!this._def.checks.find(e=>e.kind===`time`)}get isDuration(){return!!this._def.checks.find(e=>e.kind===`duration`)}get isEmail(){return!!this._def.checks.find(e=>e.kind===`email`)}get isURL(){return!!this._def.checks.find(e=>e.kind===`url`)}get isEmoji(){return!!this._def.checks.find(e=>e.kind===`emoji`)}get isUUID(){return!!this._def.checks.find(e=>e.kind===`uuid`)}get isNANOID(){return!!this._def.checks.find(e=>e.kind===`nanoid`)}get isCUID(){return!!this._def.checks.find(e=>e.kind===`cuid`)}get isCUID2(){return!!this._def.checks.find(e=>e.kind===`cuid2`)}get isULID(){return!!this._def.checks.find(e=>e.kind===`ulid`)}get isIP(){return!!this._def.checks.find(e=>e.kind===`ip`)}get isCIDR(){return!!this._def.checks.find(e=>e.kind===`cidr`)}get isBase64(){return!!this._def.checks.find(e=>e.kind===`base64`)}get isBase64url(){return!!this._def.checks.find(e=>e.kind===`base64url`)}get minLength(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};Xt.create=e=>new Xt({checks:[],typeName:F.ZodString,coerce:e?.coerce??!1,...D(e)});function Zt(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=(t.toString().split(`.`)[1]||``).length,i=n>r?n:r;return Number.parseInt(e.toFixed(i).replace(`.`,``))%Number.parseInt(t.toFixed(i).replace(`.`,``))/10**i}var Qt=class e extends O{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==_.number){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.number,received:t.parsedType}),C}let t,n=new S;for(let r of this._def.checks)r.kind===`int`?g.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),x(t,{code:y.invalid_type,expected:`integer`,received:`float`,message:r.message}),n.dirty()):r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.too_small,minimum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.too_big,maximum:r.value,type:`number`,inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind===`multipleOf`?Zt(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind===`finite`?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),x(t,{code:y.not_finite,message:r.message}),n.dirty()):g.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit(`min`,e,!0,T.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,T.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,T.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,T.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:T.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:`int`,message:T.toString(e)})}positive(e){return this._addCheck({kind:`min`,value:0,inclusive:!1,message:T.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:0,inclusive:!1,message:T.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:0,inclusive:!0,message:T.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:0,inclusive:!0,message:T.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:T.toString(t)})}finite(e){return this._addCheck({kind:`finite`,message:T.toString(e)})}safe(e){return this._addCheck({kind:`min`,inclusive:!0,value:-(2**53-1),message:T.toString(e)})._addCheck({kind:`max`,inclusive:!0,value:2**53-1,message:T.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind===`int`||e.kind===`multipleOf`&&g.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks)if(n.kind===`finite`||n.kind===`int`||n.kind===`multipleOf`)return!0;else n.kind===`min`?(t===null||n.value>t)&&(t=n.value):n.kind===`max`&&(e===null||n.value<e)&&(e=n.value);return Number.isFinite(t)&&Number.isFinite(e)}};Qt.create=e=>new Qt({checks:[],typeName:F.ZodNumber,coerce:e?.coerce||!1,...D(e)});var $t=class e extends O{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==_.bigint)return this._getInvalidInput(e);let t,n=new S;for(let r of this._def.checks)r.kind===`min`?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.too_small,type:`bigint`,minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`max`?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.too_big,type:`bigint`,maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind===`multipleOf`?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),x(t,{code:y.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):g.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.bigint,received:t.parsedType}),C}gte(e,t){return this.setLimit(`min`,e,!0,T.toString(t))}gt(e,t){return this.setLimit(`min`,e,!1,T.toString(t))}lte(e,t){return this.setLimit(`max`,e,!0,T.toString(t))}lt(e,t){return this.setLimit(`max`,e,!1,T.toString(t))}setLimit(t,n,r,i){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:T.toString(i)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!1,message:T.toString(e)})}negative(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!1,message:T.toString(e)})}nonpositive(e){return this._addCheck({kind:`max`,value:BigInt(0),inclusive:!0,message:T.toString(e)})}nonnegative(e){return this._addCheck({kind:`min`,value:BigInt(0),inclusive:!0,message:T.toString(e)})}multipleOf(e,t){return this._addCheck({kind:`multipleOf`,value:e,message:T.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e}};$t.create=e=>new $t({checks:[],typeName:F.ZodBigInt,coerce:e?.coerce??!1,...D(e)});var en=class extends O{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==_.boolean){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.boolean,received:t.parsedType}),C}return w(e.data)}};en.create=e=>new en({typeName:F.ZodBoolean,coerce:e?.coerce||!1,...D(e)});var tn=class e extends O{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==_.date){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.date,received:t.parsedType}),C}if(Number.isNaN(e.data.getTime()))return x(this._getOrReturnCtx(e),{code:y.invalid_date}),C;let t=new S,n;for(let r of this._def.checks)r.kind===`min`?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),x(n,{code:y.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:`date`}),t.dirty()):r.kind===`max`?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),x(n,{code:y.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:`date`}),t.dirty()):g.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:`min`,value:e.getTime(),message:T.toString(t)})}max(e,t){return this._addCheck({kind:`max`,value:e.getTime(),message:T.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind===`min`&&(e===null||t.value>e)&&(e=t.value);return e==null?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)t.kind===`max`&&(e===null||t.value<e)&&(e=t.value);return e==null?null:new Date(e)}};tn.create=e=>new tn({checks:[],coerce:e?.coerce||!1,typeName:F.ZodDate,...D(e)});var nn=class extends O{_parse(e){if(this._getType(e)!==_.symbol){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.symbol,received:t.parsedType}),C}return w(e.data)}};nn.create=e=>new nn({typeName:F.ZodSymbol,...D(e)});var rn=class extends O{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.undefined,received:t.parsedType}),C}return w(e.data)}};rn.create=e=>new rn({typeName:F.ZodUndefined,...D(e)});var an=class extends O{_parse(e){if(this._getType(e)!==_.null){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.null,received:t.parsedType}),C}return w(e.data)}};an.create=e=>new an({typeName:F.ZodNull,...D(e)});var on=class extends O{constructor(){super(...arguments),this._any=!0}_parse(e){return w(e.data)}};on.create=e=>new on({typeName:F.ZodAny,...D(e)});var sn=class extends O{constructor(){super(...arguments),this._unknown=!0}_parse(e){return w(e.data)}};sn.create=e=>new sn({typeName:F.ZodUnknown,...D(e)});var k=class extends O{_parse(e){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.never,received:t.parsedType}),C}};k.create=e=>new k({typeName:F.ZodNever,...D(e)});var cn=class extends O{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.void,received:t.parsedType}),C}return w(e.data)}};cn.create=e=>new cn({typeName:F.ZodVoid,...D(e)});var ln=class e extends O{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==_.array)return x(t,{code:y.invalid_type,expected:_.array,received:t.parsedType}),C;if(r.exactLength!==null){let e=t.data.length>r.exactLength.value,i=t.data.length<r.exactLength.value;(e||i)&&(x(t,{code:e?y.too_big:y.too_small,minimum:i?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:`array`,inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(r.minLength!==null&&t.data.length<r.minLength.value&&(x(t,{code:y.too_small,minimum:r.minLength.value,type:`array`,inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),r.maxLength!==null&&t.data.length>r.maxLength.value&&(x(t,{code:y.too_big,maximum:r.maxLength.value,type:`array`,inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new E(t,e,t.path,n)))).then(e=>S.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new E(t,e,t.path,n)));return S.mergeArray(n,i)}get element(){return this._def.type}min(t,n){return new e({...this._def,minLength:{value:t,message:T.toString(n)}})}max(t,n){return new e({...this._def,maxLength:{value:t,message:T.toString(n)}})}length(t,n){return new e({...this._def,exactLength:{value:t,message:T.toString(n)}})}nonempty(e){return this.min(1,e)}};ln.create=(e,t)=>new ln({type:e,minLength:null,maxLength:null,exactLength:null,typeName:F.ZodArray,...D(t)});function un(e){if(e instanceof A){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=N.create(un(r))}return new A({...e._def,shape:()=>t})}else if(e instanceof ln)return new ln({...e._def,type:un(e.element)});else if(e instanceof N)return N.create(un(e.unwrap()));else if(e instanceof P)return P.create(un(e.unwrap()));else if(e instanceof hn)return hn.create(e.items.map(e=>un(e)));else return e}var A=class e extends O{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=g.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==_.object){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.object,received:t.parsedType}),C}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof k&&this._def.unknownKeys===`strip`))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:`valid`,value:e},value:t._parse(new E(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof k){let e=this._def.unknownKeys;if(e===`passthrough`)for(let e of a)o.push({key:{status:`valid`,value:e},value:{status:`valid`,value:n.data[e]}});else if(e===`strict`)a.length>0&&(x(n,{code:y.unrecognized_keys,keys:a}),t.dirty());else if(e!==`strip`)throw Error(`Internal ZodObject error: invalid unknownKeys value.`)}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:`valid`,value:t},value:e._parse(new E(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>S.mergeObjectSync(t,e)):S.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(t){return T.errToObj,new e({...this._def,unknownKeys:`strict`,...t===void 0?{}:{errorMap:(e,n)=>{let r=this._def.errorMap?.(e,n).message??n.defaultError;return e.code===`unrecognized_keys`?{message:T.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:`strip`})}passthrough(){return new e({...this._def,unknownKeys:`passthrough`})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:F.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let n={};for(let e of g.objectKeys(t))t[e]&&this.shape[e]&&(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}omit(t){let n={};for(let e of g.objectKeys(this.shape))t[e]||(n[e]=this.shape[e]);return new e({...this._def,shape:()=>n})}deepPartial(){return un(this)}partial(t){let n={};for(let e of g.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?n[e]=r:n[e]=r.optional()}return new e({...this._def,shape:()=>n})}required(t){let n={};for(let e of g.objectKeys(this.shape))if(t&&!t[e])n[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof N;)t=t._def.innerType;n[e]=t}return new e({...this._def,shape:()=>n})}keyof(){return Sn(g.objectKeys(this.shape))}};A.create=(e,t)=>new A({shape:()=>e,unknownKeys:`strip`,catchall:k.create(),typeName:F.ZodObject,...D(t)}),A.strictCreate=(e,t)=>new A({shape:()=>e,unknownKeys:`strict`,catchall:k.create(),typeName:F.ZodObject,...D(t)}),A.lazycreate=(e,t)=>new A({shape:e,unknownKeys:`strip`,catchall:k.create(),typeName:F.ZodObject,...D(t)});var dn=class extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if(t.result.status===`valid`)return t.result;for(let n of e)if(n.result.status===`dirty`)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new b(e.ctx.common.issues));return x(t,{code:y.invalid_union,unionErrors:n}),C}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e,r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if(a.status===`valid`)return a;a.status===`dirty`&&!e&&(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new b(e));return x(t,{code:y.invalid_union,unionErrors:i}),C}}get options(){return this._def.options}};dn.create=(e,t)=>new dn({options:e,typeName:F.ZodUnion,...D(t)});var j=e=>e instanceof bn?j(e.schema):e instanceof M?j(e.innerType()):e instanceof xn?[e.value]:e instanceof Cn?e.options:e instanceof wn?g.objectValues(e.enum):e instanceof En?j(e._def.innerType):e instanceof rn?[void 0]:e instanceof an?[null]:e instanceof N?[void 0,...j(e.unwrap())]:e instanceof P?[null,...j(e.unwrap())]:e instanceof kn||e instanceof jn?j(e.unwrap()):e instanceof Dn?j(e._def.innerType):[],fn=class e extends O{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.object)return x(t,{code:y.invalid_type,expected:_.object,received:t.parsedType}),C;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(x(t,{code:y.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),C)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){let i=new Map;for(let e of n){let n=j(e.shape[t]);if(!n.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of n){if(i.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);i.set(r,e)}}return new e({typeName:F.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:i,...D(r)})}};function pn(e,t){let n=v(e),r=v(t);if(e===t)return{valid:!0,data:e};if(n===_.object&&r===_.object){let n=g.objectKeys(t),r=g.objectKeys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=pn(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}else if(n===_.array&&r===_.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=pn(i,a);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}else if(n===_.date&&r===_.date&&+e==+t)return{valid:!0,data:e};else return{valid:!1}}var mn=class extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(xt(e)||xt(r))return C;let i=pn(e.value,r.value);return i.valid?((St(e)||St(r))&&t.dirty(),{status:t.value,value:i.data}):(x(n,{code:y.invalid_intersection_types}),C)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};mn.create=(e,t,n)=>new mn({left:e,right:t,typeName:F.ZodIntersection,...D(n)});var hn=class e extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.array)return x(n,{code:y.invalid_type,expected:_.array,received:n.parsedType}),C;if(n.data.length<this._def.items.length)return x(n,{code:y.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),C;!this._def.rest&&n.data.length>this._def.items.length&&(x(n,{code:y.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:`array`}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new E(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>S.mergeArray(t,e)):S.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}};hn.create=(e,t)=>{if(!Array.isArray(e))throw Error(`You must pass an array of schemas to z.tuple([ ... ])`);return new hn({items:e,typeName:F.ZodTuple,rest:null,...D(t)})};var gn=class e extends O{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.object)return x(n,{code:y.invalid_type,expected:_.object,received:n.parsedType}),C;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new E(n,e,n.path,e)),value:a._parse(new E(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?S.mergeObjectAsync(t,r):S.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof O?new e({keyType:t,valueType:n,typeName:F.ZodRecord,...D(r)}):new e({keyType:Xt.create(),valueType:t,typeName:F.ZodRecord,...D(n)})}},_n=class extends O{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.map)return x(n,{code:y.invalid_type,expected:_.map,received:n.parsedType}),C;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new E(n,e,n.path,[a,`key`])),value:i._parse(new E(n,t,n.path,[a,`value`]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if(r.status===`aborted`||i.status===`aborted`)return C;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}else{let e=new Map;for(let n of a){let r=n.key,i=n.value;if(r.status===`aborted`||i.status===`aborted`)return C;(r.status===`dirty`||i.status===`dirty`)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}};_n.create=(e,t,n)=>new _n({valueType:t,keyType:e,typeName:F.ZodMap,...D(n)});var vn=class e extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.set)return x(n,{code:y.invalid_type,expected:_.set,received:n.parsedType}),C;let r=this._def;r.minSize!==null&&n.data.size<r.minSize.value&&(x(n,{code:y.too_small,minimum:r.minSize.value,type:`set`,inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),r.maxSize!==null&&n.data.size>r.maxSize.value&&(x(n,{code:y.too_big,maximum:r.maxSize.value,type:`set`,inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if(r.status===`aborted`)return C;r.status===`dirty`&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new E(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(t,n){return new e({...this._def,minSize:{value:t,message:T.toString(n)}})}max(t,n){return new e({...this._def,maxSize:{value:t,message:T.toString(n)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};vn.create=(e,t)=>new vn({valueType:e,minSize:null,maxSize:null,typeName:F.ZodSet,...D(t)});var yn=class e extends O{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.function)return x(t,{code:y.invalid_type,expected:_.function,received:t.parsedType}),C;function n(e,n){return yt({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,vt(),gt].filter(e=>!!e),issueData:{code:y.invalid_arguments,argumentsError:n}})}function r(e,n){return yt({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,vt(),gt].filter(e=>!!e),issueData:{code:y.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof Tn){let e=this;return w(async function(...t){let o=new b([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),c=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(c,i).catch(e=>{throw o.addIssue(r(c,e)),o})})}else{let e=this;return w(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new b([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),c=e._def.returns.safeParse(s,i);if(!c.success)throw new b([r(s,c.error)]);return c.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new e({...this._def,args:hn.create(t).rest(sn.create())})}returns(t){return new e({...this._def,returns:t})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(t,n,r){return new e({args:t||hn.create([]).rest(sn.create()),returns:n||sn.create(),typeName:F.ZodFunction,...D(r)})}},bn=class extends O{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};bn.create=(e,t)=>new bn({getter:e,typeName:F.ZodLazy,...D(t)});var xn=class extends O{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return x(t,{received:t.data,code:y.invalid_literal,expected:this._def.value}),C}return{status:`valid`,value:e.data}}get value(){return this._def.value}};xn.create=(e,t)=>new xn({value:e,typeName:F.ZodLiteral,...D(t)});function Sn(e,t){return new Cn({values:e,typeName:F.ZodEnum,...D(t)})}var Cn=class e extends O{_parse(e){if(typeof e.data!=`string`){let t=this._getOrReturnCtx(e),n=this._def.values;return x(t,{expected:g.joinValues(n),received:t.parsedType,code:y.invalid_type}),C}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return x(t,{received:t.data,code:y.invalid_enum_value,options:n}),C}return w(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,n=this._def){return e.create(t,{...this._def,...n})}exclude(t,n=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...n})}};Cn.create=Sn;var wn=class extends O{_parse(e){let t=g.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==_.string&&n.parsedType!==_.number){let e=g.objectValues(t);return x(n,{expected:g.joinValues(e),received:n.parsedType,code:y.invalid_type}),C}if(this._cache||=new Set(g.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=g.objectValues(t);return x(n,{received:n.data,code:y.invalid_enum_value,options:e}),C}return w(e.data)}get enum(){return this._def.values}};wn.create=(e,t)=>new wn({values:e,typeName:F.ZodNativeEnum,...D(t)});var Tn=class extends O{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==_.promise&&t.common.async===!1?(x(t,{code:y.invalid_type,expected:_.promise,received:t.parsedType}),C):w((t.parsedType===_.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}};Tn.create=(e,t)=>new Tn({type:e,typeName:F.ZodPromise,...D(t)});var M=class extends O{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===F.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{x(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type===`preprocess`){let e=r.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if(t.value===`aborted`)return C;let r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return r.status===`aborted`?C:r.status===`dirty`||t.value===`dirty`?bt(r.value):r});{if(t.value===`aborted`)return C;let r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return r.status===`aborted`?C:r.status===`dirty`||t.value===`dirty`?bt(r.value):r}}if(r.type===`refinement`){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error(`Async refinement encountered during synchronous parse operation. Use .parseAsync instead.`);return e};if(n.common.async===!1){let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return r.status===`aborted`?C:(r.status===`dirty`&&t.dirty(),e(r.value),{status:t.value,value:r.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>n.status===`aborted`?C:(n.status===`dirty`&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if(r.type===`transform`)if(n.common.async===!1){let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Ct(e))return C;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);return{status:t.value,value:a}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>Ct(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):C);g.assertNever(r)}};M.create=(e,t,n)=>new M({schema:e,typeName:F.ZodEffects,effect:t,...D(n)}),M.createWithPreprocess=(e,t,n)=>new M({schema:t,effect:{type:`preprocess`,transform:e},typeName:F.ZodEffects,...D(n)});var N=class extends O{_parse(e){return this._getType(e)===_.undefined?w(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};N.create=(e,t)=>new N({innerType:e,typeName:F.ZodOptional,...D(t)});var P=class extends O{_parse(e){return this._getType(e)===_.null?w(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};P.create=(e,t)=>new P({innerType:e,typeName:F.ZodNullable,...D(t)});var En=class extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===_.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};En.create=(e,t)=>new En({innerType:e,typeName:F.ZodDefault,defaultValue:typeof t.default==`function`?t.default:()=>t.default,...D(t)});var Dn=class extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return wt(r)?r.then(e=>({status:`valid`,value:e.status===`valid`?e.value:this._def.catchValue({get error(){return new b(n.common.issues)},input:n.data})})):{status:`valid`,value:r.status===`valid`?r.value:this._def.catchValue({get error(){return new b(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};Dn.create=(e,t)=>new Dn({innerType:e,typeName:F.ZodCatch,catchValue:typeof t.catch==`function`?t.catch:()=>t.catch,...D(t)});var On=class extends O{_parse(e){if(this._getType(e)!==_.nan){let t=this._getOrReturnCtx(e);return x(t,{code:y.invalid_type,expected:_.nan,received:t.parsedType}),C}return{status:`valid`,value:e.data}}};On.create=e=>new On({typeName:F.ZodNaN,...D(e)});var kn=class extends O{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},An=class e extends O{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?C:e.status===`dirty`?(t.dirty(),bt(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return e.status===`aborted`?C:e.status===`dirty`?(t.dirty(),{status:`dirty`,value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(t,n){return new e({in:t,out:n,typeName:F.ZodPipeline})}},jn=class extends O{_parse(e){let t=this._def.innerType._parse(e),n=e=>(Ct(e)&&(e.value=Object.freeze(e.value)),e);return wt(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}};jn.create=(e,t)=>new jn({innerType:e,typeName:F.ZodReadonly,...D(t)});function Mn(e,t){let n=typeof e==`function`?e(t):typeof e==`string`?{message:e}:e;return typeof n==`string`?{message:n}:n}function Nn(e,t={},n){return e?on.create().superRefine((r,i)=>{let a=e(r);if(a instanceof Promise)return a.then(e=>{if(!e){let e=Mn(t,r),a=e.fatal??n??!0;i.addIssue({code:`custom`,...e,fatal:a})}});if(!a){let e=Mn(t,r),a=e.fatal??n??!0;i.addIssue({code:`custom`,...e,fatal:a})}}):on.create()}A.lazycreate;var F;(function(e){e.ZodString=`ZodString`,e.ZodNumber=`ZodNumber`,e.ZodNaN=`ZodNaN`,e.ZodBigInt=`ZodBigInt`,e.ZodBoolean=`ZodBoolean`,e.ZodDate=`ZodDate`,e.ZodSymbol=`ZodSymbol`,e.ZodUndefined=`ZodUndefined`,e.ZodNull=`ZodNull`,e.ZodAny=`ZodAny`,e.ZodUnknown=`ZodUnknown`,e.ZodNever=`ZodNever`,e.ZodVoid=`ZodVoid`,e.ZodArray=`ZodArray`,e.ZodObject=`ZodObject`,e.ZodUnion=`ZodUnion`,e.ZodDiscriminatedUnion=`ZodDiscriminatedUnion`,e.ZodIntersection=`ZodIntersection`,e.ZodTuple=`ZodTuple`,e.ZodRecord=`ZodRecord`,e.ZodMap=`ZodMap`,e.ZodSet=`ZodSet`,e.ZodFunction=`ZodFunction`,e.ZodLazy=`ZodLazy`,e.ZodLiteral=`ZodLiteral`,e.ZodEnum=`ZodEnum`,e.ZodEffects=`ZodEffects`,e.ZodNativeEnum=`ZodNativeEnum`,e.ZodOptional=`ZodOptional`,e.ZodNullable=`ZodNullable`,e.ZodDefault=`ZodDefault`,e.ZodCatch=`ZodCatch`,e.ZodPromise=`ZodPromise`,e.ZodBranded=`ZodBranded`,e.ZodPipeline=`ZodPipeline`,e.ZodReadonly=`ZodReadonly`})(F||={});var I=Xt.create,L=Qt.create;On.create,$t.create;var R=en.create;tn.create,nn.create,rn.create,an.create;var Pn=on.create;sn.create,k.create,cn.create;var z=ln.create,B=A.create;A.strictCreate;var Fn=dn.create,In=fn.create;mn.create;var Ln=hn.create,Rn=gn.create;_n.create,vn.create,yn.create,bn.create;var zn=xn.create,Bn=Cn.create;wn.create,Tn.create,M.create,N.create,P.create,M.createWithPreprocess,An.create;var Vn=B({freq:L(),interval:L(),weekdaysCsv:I(),monthlyMode:L(),endType:L(),endCount:L(),endDate:I(),exceptionsCsv:I(),differentTimes:R().optional(),weekdayTimesJson:I().nullable().optional()}),Hn=B({id:I(),ownerUserId:I(),title:I(),status:L(),start:I(),end:I(),allDay:R(),notes:I(),recurrence:Vn.nullable().optional(),sourceMeetingId:I().nullable().optional()}).passthrough(),Un=z(Hn),Wn=B({from:I(),to:I()}),V=B({active:R(),slots:z(Wn).default([])}),Gn=B({mon:V,tue:V,wed:V,thu:V,fri:V,sat:V,sun:V}),Kn=B({weekly:Gn,isOverride:R(),source:I()}),qn=B({meetingDuration:L(),bufferMinutes:L(),workStart:I(),workEnd:I(),timezone:I(),branchId:I(),availabilityTimezone:I().optional()}),Jn={0:`available`,1:`busy`,2:`meeting`,3:`focus`,4:`away`},Yn={available:0,busy:1,meeting:2,focus:3,away:4},Xn={0:`daily`,1:`weekly`,2:`monthly`,3:`yearly`},Zn={daily:0,weekly:1,monthly:2,yearly:3},Qn={0:`dayOfMonth`,1:`nthWeekday`},$n={dayOfMonth:0,nthWeekday:1},er={0:`never`,1:`after`,2:`on`},tr={never:0,after:1,on:2},nr=e=>e.split(`,`).map(e=>e.trim()).filter(e=>e.length>0).map(Number).filter(e=>!Number.isNaN(e)),rr=e=>e.split(`,`).map(e=>e.trim()).filter(e=>e.length>0),ir=/[zZ]|[+-]\d{2}:?\d{2}$/,ar=e=>{let t=ir.test(e)?e:`${e}Z`,n=new Date(t);return Number.isNaN(n.getTime())?e:n.toISOString()},or=e=>{let t;if(e.weekdayTimesJson)try{t=JSON.parse(e.weekdayTimesJson)}catch{}return{freq:Xn[e.freq]??`daily`,interval:e.interval,weekdays:nr(e.weekdaysCsv),monthlyMode:Qn[e.monthlyMode]??`dayOfMonth`,endType:er[e.endType]??`never`,endCount:e.endCount,endDate:e.endDate,exceptions:rr(e.exceptionsCsv),differentTimes:e.differentTimes??!1,...t?{weekdayTimes:t}:{}}},sr=e=>new Ge({id:e.id,userId:e.ownerUserId,title:e.title,status:Jn[e.status]??`busy`,start:ar(e.start),end:ar(e.end),allDay:e.allDay,notes:e.notes,recurrence:e.recurrence!==null&&e.recurrence!==void 0?or(e.recurrence):null,sourceMeetingId:e.sourceMeetingId??null}),H=e=>({active:e.active,slots:e.slots.map(e=>({id:crypto.randomUUID(),from:e.from,to:e.to}))}),cr=e=>pe({mon:H(e.mon),tue:H(e.tue),wed:H(e.wed),thu:H(e.thu),fri:H(e.fri),sat:H(e.sat),sun:H(e.sun)}),lr=[`personal`,`branch`,`org`,`default`],ur=e=>lr.find(t=>t===e)??`default`,dr=e=>({weekly:cr(e.weekly),isOverride:e.isOverride,source:ur(e.source)}),fr=e=>({meetingDuration:e.meetingDuration,bufferMinutes:e.bufferMinutes,workStart:e.workStart,workEnd:e.workEnd,timezone:e.timezone,branchId:e.branchId,availabilityTimezone:e.availabilityTimezone??``}),pr=e=>({freq:Zn[e.freq],interval:e.interval,weekdaysCsv:e.weekdays.join(`,`),monthlyMode:$n[e.monthlyMode],endType:tr[e.endType],endCount:e.endCount,endDate:e.endDate,exceptionsCsv:e.exceptions.join(`,`),differentTimes:e.differentTimes,weekdayTimesJson:e.weekdayTimes?JSON.stringify(e.weekdayTimes):null}),mr=e=>({title:e.title,status:Yn[e.status],start:e.start,end:e.end,allDay:e.allDay,notes:e.notes,recurrence:e.recurrence===null?null:pr(e.recurrence)}),U=e=>({active:e.active,slots:e.slots.map(e=>({from:e.from,to:e.to}))}),hr=e=>({mon:U(e.mon),tue:U(e.tue),wed:U(e.wed),thu:U(e.thu),fri:U(e.fri),sat:U(e.sat),sun:U(e.sun)}),gr=e=>({meetingDuration:e.meetingDuration,bufferMinutes:e.bufferMinutes,workStart:e.workStart,workEnd:e.workEnd,timezone:e.timezone,branchId:e.branchId}),W=(e,t,n)=>(e.error(`Schedule ${t} returned an unexpected shape`,n),c(new ae(n))),G=(e,t)=>t instanceof pt&&t.status===404?new se:(e.error(`Schedule request failed`,t),new ae(t)),K={blocks:`/api/app/schedule-block`,availability:`/api/app/schedule-availability/availability`,effectiveAvailability:`/api/app/schedule-availability/effective-availability`,saveAvailability:`/api/app/schedule-availability/save-availability`,clearAvailability:`/api/app/schedule-availability/clear-availability`,preferences:`/api/app/schedule-preferences/preferences`,savePreferences:`/api/app/schedule-preferences/save-preferences`},_r=e=>`/api/app/schedule-block/${encodeURIComponent(e)}`,vr=class{httpClient;logger;constructor(e){this.httpClient=e.httpClient,this.logger=e.logger.child(`http-schedule-gateway`)}async getAvailability(){try{let e=await this.httpClient.get(K.availability);if(e==null)return s(null);let t=Gn.safeParse(e);return t.success?s(cr(t.data)):W(this.logger,`availability`,t.error)}catch(e){return c(G(this.logger,e))}}async getEffectiveAvailability(){try{let e=await this.httpClient.get(K.effectiveAvailability),t=Kn.safeParse(e);return t.success?s(dr(t.data)):W(this.logger,`effective-availability`,t.error)}catch(e){return c(G(this.logger,e))}}async saveAvailability(e){if(e===null)try{return await this.httpClient.post(K.clearAvailability),s(null)}catch(e){return c(G(this.logger,e))}try{let t=await this.httpClient.post(K.saveAvailability,hr(e)),n=Gn.safeParse(t);return n.success?s(cr(n.data)):W(this.logger,`save-availability`,n.error)}catch(e){return c(G(this.logger,e))}}async listBlocks(){try{let e=await this.httpClient.get(K.blocks),t=Un.safeParse(e);return t.success?s(t.data.map(sr)):W(this.logger,`blocks`,t.error)}catch(e){return c(G(this.logger,e))}}createBlock(e){return this.saveBlock(this.httpClient.post(K.blocks,mr(e)),`create-block`)}updateBlock(e,t){return this.saveBlock(this.httpClient.put(_r(e),mr(t)),`update-block`)}async saveBlock(e,t){try{let n=await e,r=Hn.safeParse(n);return r.success?s(sr(r.data)):W(this.logger,t,r.error)}catch(e){return c(G(this.logger,e))}}async deleteBlock(e){try{return await this.httpClient.delete(_r(e)),s(void 0)}catch(e){return c(G(this.logger,e))}}async getPreferences(){try{let e=await this.httpClient.get(K.preferences),t=qn.safeParse(e);return t.success?s(fr(t.data)):W(this.logger,`preferences`,t.error)}catch(e){return c(G(this.logger,e))}}async savePreferences(e){try{let t=await this.httpClient.post(K.savePreferences,gr(e)),n=qn.safeParse(t);return n.success?s(fr(n.data)):W(this.logger,`save-preferences`,n.error)}catch(e){return c(G(this.logger,e))}}addMeetingBlocks(e){this.logger.debug(`addMeetingBlocks is a no-op (server owns meeting→calendar sync)`)}},yr=e=>{let t=new vr({httpClient:e.httpClient,logger:e.logger}),n={scheduleGateway:t,logger:e.logger};return{getAvailability:new a(n),getEffectiveAvailability:new o(n),saveAvailability:new ot(n),listBlocks:new st(n),createBlock:new ct(n),updateBlock:new lt(n),deleteBlock:new ut(n),getPreferences:new dt(n),savePreferences:new ft(n),calendarSink:t,clock:e.clock}},br=(0,t.createContext)(null),xr=({module:e,children:t})=>(0,i.jsx)(br.Provider,{value:e,children:t}),Sr=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Cr=new class extends Sr{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},wr={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},q=new class{#e=wr;#t=!1;setTimeoutProvider(e){process.env.NODE_ENV!==`production`&&this.#t&&e!==this.#e&&console.error(`[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`,{previous:this.#e,provider:e}),this.#e=e,process.env.NODE_ENV!==`production`&&(this.#t=!1)}setTimeout(e,t){return process.env.NODE_ENV!==`production`&&(this.#t=!0),this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return process.env.NODE_ENV!==`production`&&(this.#t=!0),this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function Tr(e){setTimeout(e,0)}var Er=typeof window>`u`||`Deno`in globalThis;function J(){}function Dr(e,t){return typeof e==`function`?e(t):e}function Or(e){return typeof e==`number`&&e>=0&&e!==1/0}function kr(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ar(e,t){return typeof e==`function`?e(t):e}function Y(e,t){return typeof e==`function`?e(t):e}function jr(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Nr(o,t.options))return!1}else if(!Fr(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Mr(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Pr(t.options.mutationKey)!==Pr(a))return!1}else if(!Fr(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Nr(e,t){return(t?.queryKeyHashFn||Pr)(e)}function Pr(e){return JSON.stringify(e,(e,t)=>Br(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Fr(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Fr(e[n],t[n])):!1}var Ir=Object.prototype.hasOwnProperty;function Lr(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=zr(e)&&zr(t);if(!r&&!(Br(e)&&Br(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:Ir.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Lr(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Rr(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function zr(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Br(e){if(!Vr(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!Vr(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function Vr(e){return Object.prototype.toString.call(e)===`[object Object]`}function Hr(e){return new Promise(t=>{q.setTimeout(t,e)})}function Ur(e,t,n){if(typeof n.structuralSharing==`function`)return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!==`production`)try{return Lr(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return Lr(e,t)}return t}function Wr(e){return e}function Gr(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Kr(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var qr=Symbol();function Jr(e,t){return process.env.NODE_ENV!==`production`&&e.queryFn===qr&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===qr?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Yr(e,t){return typeof e==`function`?e(...t):!!e}function Xr(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Zr=(()=>{let e=()=>Er;return{isServer(){return e()},setIsServer(t){e=t}}})();function Qr(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var $r=Tr;function ei(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=$r,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var ti=ei(),ni=new class extends Sr{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function ri(e){return Math.min(1e3*2**e,3e4)}function ii(e){return(e??`online`)===`online`?ni.isOnline():!0}var ai=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function oi(e){let t=!1,n=0,r,i=Qr(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new ai(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>Cr.isFocused()&&(e.networkMode===`always`||ni.isOnline())&&e.canRun(),u=()=>ii(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Zr.isServer()?0:3),o=e.retryDelay??ri,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),Hr(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var si=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Or(this.gcTime)&&(this.#e=q.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Zr.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(q.clearTimeout(this.#e),this.#e=void 0)}};function ci(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Xr(e,()=>t.signal,()=>n=!0)},u=Jr(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?Kr:Gr;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?ui:li,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:li(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function li(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function ui(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function di(e,t){return t?li(e,t)!=null:!1}function fi(e,t){return!t||!e.getPreviousPageParam?!1:ui(e,t)!=null}var pi=class extends si{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=gi(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=gi(this.options);e.data!==void 0&&(this.setState(hi(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Ur(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(J).catch(J):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Y(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===qr||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ar(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!kr(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}process.env.NODE_ENV!==`production`&&(Array.isArray(this.options.queryKey)||console.error(`As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']`));let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Jr(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?ci(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=oi({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof ai&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw process.env.NODE_ENV!==`production`&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof ai){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...mi(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...hi(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),ti.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function mi(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ii(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function hi(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function gi(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var _i=class extends Sr{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Qr(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),yi(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bi(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bi(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof Y(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!Rr(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&xi(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||Y(this.options.enabled,this.#t)!==Y(t.enabled,this.#t)||Ar(this.options.staleTime,this.#t)!==Ar(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||Y(this.options.enabled,this.#t)!==Y(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Ci(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(J)),t}#g(){this.#b();let e=Ar(this.options.staleTime,this.#t);if(Zr.isServer()||this.#r.isStale||!Or(e))return;let t=kr(this.#r.dataUpdatedAt,e)+1;this.#d=q.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(Zr.isServer()||Y(this.options.enabled,this.#t)===!1||!Or(this.#p)||this.#p===0)&&(this.#f=q.setInterval(()=>{(this.options.refetchIntervalInBackground||Cr.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(q.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(q.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&yi(e,t),o=i&&xi(e,n,t,r);(a||o)&&(l={...l,...mi(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let ee=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,ee=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=Ur(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!ee)if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=Ur(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let te=l.fetchStatus===`fetching`,ne=m===`pending`,re=m===`error`,ie=ne&&te,ae=d!==void 0,h={status:m,fetchStatus:l.fetchStatus,isPending:ne,isSuccess:m===`success`,isError:re,isInitialLoading:ie,isLoading:ie,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:te,isRefetching:te&&!ne,isLoadingError:re&&!ae,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:re&&ae,isStale:Si(e,t),refetch:this.refetch,promise:this.#o,isEnabled:Y(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=h.data!==void 0,r=h.status===`error`&&!t,i=e=>{r?e.reject(h.error):t&&e.resolve(h.data)},a=()=>{i(this.#o=h.promise=Qr())},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||h.data!==o.value)&&a();break;case`rejected`:(!r||h.error!==o.reason)&&a();break}}return h}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!Rr(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){ti.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function vi(e,t){return Y(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status===`error`&&Y(t.retryOnMount,e)===!1)}function yi(e,t){return vi(e,t)||e.state.data!==void 0&&bi(e,t,t.refetchOnMount)}function bi(e,t,n){if(Y(t.enabled,e)!==!1&&Ar(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&Si(e,t)}return!1}function xi(e,t,n,r){return(e!==t||Y(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&Si(e,n)}function Si(e,t){return Y(t.enabled,e)!==!1&&e.isStaleByTime(Ar(t.staleTime,e))}function Ci(e,t){return!Rr(e.getCurrentResult(),t)}var wi=class extends si{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||Ti(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=oi({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),ti.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ti(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Ei=class extends Sr{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),Rr(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&Pr(t.mutationKey)!==Pr(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??Ti();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){ti.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},Di=t.createContext(void 0),X=e=>{let n=t.useContext(Di);if(e)return e;if(!n)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return n},Oi=({client:e,children:n})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,i.jsx)(Di.Provider,{value:e,children:n})),ki=t.createContext(!1),Ai=()=>t.useContext(ki);ki.Provider;function ji(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Mi=t.createContext(ji()),Ni=()=>t.useContext(Mi),Pi=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Yr(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},Fi=e=>{t.useEffect(()=>{e.clearReset()},[e])},Ii=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Yr(n,[e.error,r])),Li=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},Ri=(e,t)=>e.isLoading&&e.isFetching&&!t,zi=(e,t)=>e?.suspense&&t.isPending,Bi=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Vi(e,n,r){if(process.env.NODE_ENV!==`production`&&(typeof e!=`object`||Array.isArray(e)))throw Error(`Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object`);let i=Ai(),a=Ni(),o=X(r),s=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(s);let c=o.getQueryCache().get(s.queryHash);process.env.NODE_ENV!==`production`&&(s.queryFn||console.error(`[${s.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`));let l=e.subscribed!==!1;s._optimisticResults=i?`isRestoring`:l?`optimistic`:void 0,Li(s),Pi(s,a,c),Fi(a);let u=!o.getQueryCache().get(s.queryHash),[d]=t.useState(()=>new n(o,s)),f=d.getOptimisticResult(s),p=!i&&l;if(t.useSyncExternalStore(t.useCallback(e=>{let t=p?d.subscribe(ti.batchCalls(e)):J;return d.updateResult(),t},[d,p]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),t.useEffect(()=>{d.setOptions(s)},[s,d]),zi(s,f))throw Bi(s,d,a);if(Ii({result:f,errorResetBoundary:a,throwOnError:s.throwOnError,query:c,suspense:s.suspense}))throw f.error;return o.getDefaultOptions().queries?._experimental_afterQuery?.(s,f),s.experimental_prefetchInRender&&!Zr.isServer()&&Ri(f,i)&&(u?Bi(s,d,a):c?.promise)?.catch(J).finally(()=>{d.updateResult()}),s.notifyOnChangeProps?f:d.trackResult(f)}function Z(e,t){return Vi(e,_i,t)}function Q(e,n){let r=X(n),[i]=t.useState(()=>new Ei(r,e));t.useEffect(()=>{i.setOptions(e)},[i,e]);let a=t.useSyncExternalStore(t.useCallback(e=>i.subscribe(ti.batchCalls(e)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),o=t.useCallback((e,t)=>{i.mutate(e,t).catch(J)},[i]);if(a.error&&Yr(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:o,mutateAsync:a.mutate}}var $=()=>{let e=(0,t.useContext)(br);if(e===null)throw Error(`Schedule hooks must be used within <ScheduleModuleProvider>.`);return e},Hi=[`schedule`,`availability`],Ui=[`schedule`,`effective-availability`],Wi=[`schedule`,`blocks`],Gi=[`schedule`,`preferences`],Ki=()=>{let{getAvailability:e}=$();return Z({queryKey:Hi,queryFn:()=>f(e.execute())})},qi=()=>{let{getEffectiveAvailability:e}=$();return Z({queryKey:Ui,queryFn:()=>f(e.execute())})},Ji=()=>{let{saveAvailability:e}=$(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:Hi}),t.invalidateQueries({queryKey:Ui})}})},Yi=()=>{let{listBlocks:e}=$();return Z({queryKey:Wi,queryFn:()=>f(e.execute())})},Xi=()=>{let{createBlock:e}=$(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:Wi})}})},Zi=()=>{let{updateBlock:e}=$(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:Wi})}})},Qi=()=>{let{deleteBlock:e}=$(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:Wi})}})},$i=()=>{let{getPreferences:e}=$();return Z({queryKey:Gi,queryFn:()=>f(e.execute())})},ea=()=>{let{savePreferences:e}=$(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:Gi})}})},ta=()=>Intl.DateTimeFormat().resolvedOptions().timeZone,na=(e,t)=>{let n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`}).formatToParts(e),r=e=>Number(n.find(t=>t.type===e)?.value??`0`);return{year:r(`year`),month:r(`month`),day:r(`day`),hour:r(`hour`)===24?0:r(`hour`),minute:r(`minute`),second:r(`second`)}},ra=(e,t)=>{let n=na(t,e),r=Date.UTC(n.year,n.month-1,n.day,n.hour,n.minute,n.second);return Math.round((r-t.getTime())/6e4)},ia=e=>String(e).padStart(2,`0`),aa=(e,t,n)=>{let r=Date.parse(`${e}T${t}:00Z`);if(Number.isNaN(r))throw Error(`Invalid date/time`);let i=ra(n,new Date(r)),a=ra(n,new Date(r-i*6e4));return new Date(r-a*6e4).toISOString()},oa=e=>{let t=e<0?`-`:`+`,n=Math.abs(e);return`GMT${t}${ia(Math.floor(n/60))}:${ia(n%60)}`},sa=e=>e.find(e=>e!==void 0&&e!==``),ca=class e{display;anchor;constructor(e,t){this.display=e,this.anchor=t}static from(t){let n=sa([t.anchor,t.personal])??`UTC`;return new e(sa([t.pick,t.personal])??(n===`UTC`?ta():n),n)}get displayMatchesAnchor(){return this.display===this.anchor}formatTime(e){return new Date(e).toLocaleTimeString(`en-GB`,{hour:`2-digit`,minute:`2-digit`,hour12:!1,timeZone:this.display})}formatTimeRange(e,t){return!e||!t?``:`${this.formatTime(e)} – ${this.formatTime(t)}`}formatUntil(e,t=new Date){let n=this.formatTime(e),r=this.calendarDaysAhead(t,new Date(e));return r<=0?n:r===1?`tomorrow ${n}`:r<7?`${this.formatDate(e,{weekday:`short`})} ${n}`:`${this.formatDate(e)} ${n}`}calendarDaysAhead(e,t){let n=e=>Date.parse(`${e.toLocaleDateString(`en-CA`,{timeZone:this.display})}T00:00:00Z`);return Math.round((n(t)-n(e))/864e5)}formatDate(e,t={weekday:`short`,day:`numeric`,month:`short`}){return new Date(e).toLocaleDateString(`en-US`,{...t,timeZone:this.display})}},la=e=>{let t=$i().data;return ca.from({pick:e,personal:t?.timezone,anchor:t?.availabilityTimezone})},ua=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`list-contacts`)}async execute(e){let t=await this.meetingGateway.listContacts(e);return t.ok||this.logger.warn(`Listing booking contacts failed`,{code:t.error.code}),t}},da=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`list-available-slots`)}async execute(e){let t=await this.meetingGateway.getAvailableSlots(e);return t.ok||this.logger.warn(`Listing available slots failed`,{code:t.error.code}),t}},fa=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`list-attendee-availability`)}async execute(e){let t=await this.meetingGateway.listAttendeeAvailability(e);return t.ok||this.logger.warn(`Listing attendee availability failed`,{code:t.error.code}),t}},pa=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`list-meetings`)}async execute(){let e=await this.meetingGateway.listMeetings();return e.ok||this.logger.warn(`Listing meetings failed`,{code:e.error.code}),e}},ma=class extends r{},ha=class extends ma{code=`MEETINGS_UNAVAILABLE`;constructor(e){super(`Meetings are currently unavailable. Please try again.`,{cause:e})}},ga=class extends ma{code=`MEETINGS_INCOMPLETE_BOOKING`;constructor(){super(`Pick a person, a date, and a time slot to book a meeting.`)}},_a=class extends ma{code=`MEETINGS_SLOT_UNAVAILABLE`;constructor(e,t){super(typeof e==`string`&&e.trim().length>0?e:`That time can no longer be booked — please pick another time.`,{cause:t})}},va=class{id;title;withName;withInitials;withColor;dateLabel;startUtc;endUtc;location;isOrganizer;myStatus;bucket;isGroup;attendeeIds;participants;description;awaitingResponse;constructor(e){this.id=e.id,this.title=e.title,this.withName=e.withName,this.withInitials=e.withInitials,this.withColor=e.withColor,this.dateLabel=e.dateLabel,this.startUtc=e.startUtc,this.endUtc=e.endUtc,this.location=e.location,this.isOrganizer=e.isOrganizer,this.myStatus=e.myStatus,this.bucket=e.bucket,this.isGroup=e.isGroup,this.attendeeIds=e.attendeeIds,this.participants=e.participants??[],this.description=e.description,this.awaitingResponse=e.awaitingResponse}},ya=[{id:`Pacific/Honolulu`,city:`Honolulu`,offset:`GMT-10`},{id:`America/Anchorage`,city:`Anchorage`,offset:`GMT-9`},{id:`America/Los_Angeles`,city:`Los Angeles`,offset:`GMT-8`},{id:`America/Denver`,city:`Denver`,offset:`GMT-7`},{id:`America/Chicago`,city:`Chicago`,offset:`GMT-6`},{id:`America/New_York`,city:`New York`,offset:`GMT-5`},{id:`America/Sao_Paulo`,city:`São Paulo`,offset:`GMT-3`},{id:`Atlantic/Reykjavik`,city:`Reykjavik`,offset:`GMT+0`},{id:`Europe/London`,city:`London`,offset:`GMT+1`},{id:`Europe/Paris`,city:`Paris`,offset:`GMT+2`},{id:`Europe/Athens`,city:`Athens`,offset:`GMT+3`},{id:`Africa/Nairobi`,city:`Nairobi`,offset:`GMT+3`},{id:`Asia/Dubai`,city:`Dubai`,offset:`GMT+4`},{id:`Asia/Karachi`,city:`Karachi`,offset:`GMT+5`},{id:`Asia/Kolkata`,city:`Mumbai`,offset:`GMT+5:30`},{id:`Asia/Dhaka`,city:`Dhaka`,offset:`GMT+6`},{id:`Asia/Bangkok`,city:`Bangkok`,offset:`GMT+7`},{id:`Asia/Singapore`,city:`Singapore`,offset:`GMT+8`},{id:`Asia/Shanghai`,city:`Shanghai`,offset:`GMT+8`},{id:`Asia/Tokyo`,city:`Tokyo`,offset:`GMT+9`},{id:`Australia/Sydney`,city:`Sydney`,offset:`GMT+11`},{id:`Pacific/Auckland`,city:`Auckland`,offset:`GMT+13`}],ba={id:`Europe/London`,city:`London`,offset:`GMT+1`};ba.id;var xa=e=>{try{let t=new Intl.DateTimeFormat(`en-US`,{timeZone:e,timeZoneName:`longOffset`}).formatToParts(new Date).find(e=>e.type===`timeZoneName`);if(t){let e=t.value;if(e===`GMT`)return`GMT+0`;e=e.replace(/^GMT/,``);let n=e.startsWith(`-`)?`-`:`+`,[r=`0`,i=`0`]=e.replace(/^[+-]/,``).split(`:`),a=parseInt(r,10),o=parseInt(i,10);return o===0?`GMT${n}${String(a)}`:`GMT${n}${String(a)}:${String(o)}`}}catch{}return`GMT+0`},Sa=e=>{let t=ya.find(t=>t.id===e);if(t)return t;try{let t=xa(e),n=e.split(`/`);return{id:e,city:(n[n.length-1]??``).replace(/_/g,` `),offset:t}}catch{return ba}},Ca=e=>Sa(e),wa=(e,t,n)=>{let r=new Date(n.start).getTime(),i=new Date(n.end).getTime();return e.getTime()<i&&t.getTime()>r},Ta=(e,t,n)=>e.userId===t||t===n&&n!==``&&e.userId===void 0,Ea=(e,t)=>e.allBlocks.filter(t=>Ta(t,e.userId,e.selfUserId)&&t.status!==`available`).flatMap(e=>Be(e,t.start,t.end)),Da=(e,t)=>e.allBlocks.filter(t=>Ta(t,e.userId,e.selfUserId)&&t.status===`available`).flatMap(e=>Be(e,t.start,t.end)).map(e=>({start:new Date(e.start),end:new Date(e.end)})),Oa=(e,t,n)=>t.getTime()>=e.start.getTime()&&n.getTime()<=e.end.getTime(),ka=e=>{let t={start:e.rangeStart,end:e.rangeEnd},n={userId:e.userId,selfUserId:e.selfUserId,allBlocks:e.allBlocks},r=e.workWindows.some(t=>Oa(t,e.slotStart,e.slotEnd)),i=Da(n,t).some(t=>Oa(t,e.slotStart,e.slotEnd));return!r&&!i?`ooh`:Ea(n,t).some(t=>wa(e.slotStart,e.slotEnd,t))?`busy`:`available`},Aa=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`book-meeting`)}async execute(e){return e.contactId.length===0||e.dateLabel.length===0||e.slot.length===0?(this.logger.warn(`Rejected incomplete booking`),c(new ga)):this.meetingGateway.book(e)}},ja=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`respond-to-meeting`)}async execute(e,t){let n=await this.meetingGateway.respond(e,t);return n.ok||this.logger.warn(`Responding to meeting failed`,{code:n.error.code}),n}},Ma=class{meetingGateway;logger;constructor(e){this.meetingGateway=e.meetingGateway,this.logger=e.logger.child(`cancel-meeting`)}async execute(e){let t=await this.meetingGateway.cancel(e);return t.ok||this.logger.warn(`Cancelling meeting failed`,{code:t.error.code}),t}},Na=`Online — link generated automatically`,Pa=null;Pa??=[{id:`mt-1`,title:`1:1 Catch-up`,withName:`Andreea Cinpoi`,withInitials:`AN`,withColor:`#7c3aed`,dateLabel:`Tue, 24 Jun`,startUtc:`2026-06-24T14:00:00Z`,endUtc:`2026-06-24T15:00:00Z`,location:Na,isOrganizer:!0,myStatus:`accepted`,bucket:`upcoming`},{id:`mt-2`,title:`Application review`,withName:`Raj Ahmed`,withInitials:`RA`,withColor:`#0ea5e9`,dateLabel:`Wed, 25 Jun`,startUtc:`2026-06-25T11:00:00Z`,endUtc:`2026-06-25T12:00:00Z`,location:Na,isOrganizer:!1,myStatus:`pending`,bucket:`upcoming`},{id:`mt-3`,title:`Visa cases sync`,withName:`Jennifer Aboje`,withInitials:`JA`,withColor:`#fc7300`,dateLabel:`Thu, 26 Jun`,startUtc:`2026-06-26T10:00:00Z`,endUtc:`2026-06-26T10:30:00Z`,location:Na,isOrganizer:!1,myStatus:`accepted`,bucket:`upcoming`},{id:`mt-4`,title:`Consultant onboarding`,withName:`Tousif Sadman`,withInitials:`TS`,withColor:`#0e7c66`,dateLabel:`Mon, 16 Jun`,startUtc:`2026-06-16T09:00:00Z`,endUtc:`2026-06-16T09:30:00Z`,location:Na,isOrganizer:!0,myStatus:`accepted`,bucket:`passed`},{id:`mt-5`,title:`Compliance check`,withName:`Nur Mohammad`,withInitials:`NM`,withColor:`#8b5cf6`,dateLabel:`Fri, 13 Jun`,startUtc:`2026-06-13T15:00:00Z`,endUtc:`2026-06-13T16:00:00Z`,location:Na,isOrganizer:!0,myStatus:`accepted`,bucket:`canceled`}];var Fa=encodeURIComponent,Ia={list:`/api/app/meeting`,contacts:`/api/app/meeting/list-contacts`,availableSlots:`/api/app/meeting/list-available-slots`,attendeeAvailability:`/api/app/meeting/list-attendee-availability`,book:`/api/app/meeting/book`,respond:e=>`/api/app/meeting/${Fa(e)}/respond`,cancel:e=>`/api/app/meeting/${Fa(e)}/cancel`},La=e=>{if(typeof e!=`object`||!e)return null;let t=e,n=`error`in t&&typeof t.error==`object`&&t.error!==null?t.error:t;return typeof n.message==`string`&&n.message.trim().length>0?n.message.trim():null},Ra=e=>e instanceof pt&&(e.status===400||e.status===403||e.status===409),za=(e,t)=>{if(Ra(t)){let n=La(t.body);if(n!==null)return e.warn(`Booking rejected by the server`,{message:n}),new _a(n,t)}return e.error(`Book meeting failed`,t),new ha(t)},Ba=B({userId:I(),name:I(),initials:I(),color:I(),status:L(),isOrganizer:R()}).passthrough(),Va=B({id:I(),organizerUserId:I(),title:I(),withName:I(),withInitials:I(),withColor:I(),dateLabel:I(),start:I(),end:I(),location:I(),isOrganizer:R(),myStatus:L(),bucket:L(),awaitingResponse:R().optional(),isGroup:R(),attendeeIds:z(I()),participants:z(Ba).optional(),description:I()}).passthrough(),Ha=z(Va),Ua=z(B({id:I(),name:I(),initials:I(),color:I(),role:I()}).passthrough()),Wa=z(B({label:I(),startUtc:I(),endUtc:I(),conflicts:z(I())}).passthrough()),Ga=z(B({userId:I(),busy:z(B({startUtc:I(),endUtc:I()})),workingHours:z(B({startUtc:I(),endUtc:I()})).optional()}).passthrough()),Ka={0:`pending`,1:`accepted`,2:`rejected`},qa={0:`upcoming`,1:`passed`,2:`canceled`},Ja=/[zZ]|[+-]\d{2}:?\d{2}$/,Ya=e=>Ja.test(e)?e:`${e}Z`,Xa=e=>new va({id:e.id,title:e.title,withName:e.withName,withInitials:e.withInitials,withColor:e.withColor,dateLabel:e.dateLabel,startUtc:Ya(e.start),endUtc:Ya(e.end),location:e.location,isOrganizer:e.isOrganizer,myStatus:Ka[e.myStatus]??`pending`,bucket:qa[e.bucket]??`upcoming`,isGroup:e.isGroup,attendeeIds:e.attendeeIds,participants:(e.participants??[]).map(e=>({userId:e.userId,name:e.name,initials:e.initials,color:e.color,status:Ka[e.status]??`pending`,isOrganizer:e.isOrganizer})),description:e.description,awaitingResponse:e.awaitingResponse??!1}),Za=e=>({id:e.id,name:e.name,initials:e.initials,color:e.color,role:e.role}),Qa=e=>({label:e.label,startUtc:e.startUtc,endUtc:e.endUtc,conflicts:e.conflicts}),$a=e=>({userId:e.userId,busy:e.busy.map(e=>({startUtc:e.startUtc,endUtc:e.endUtc})),workingHours:(e.workingHours??[]).map(e=>({startUtc:e.startUtc,endUtc:e.endUtc}))}),eo=e=>({contactId:e.isGroup===!0?null:e.contactId,attendeeIds:e.attendeeIds??[],dateLabel:e.dateLabel,slot:e.slot,isoDate:e.isoDate,startUtc:e.startUtc,endUtc:e.endUtc,isGroup:e.isGroup??!1,title:e.title,location:e.location,description:e.description}),to=class{httpClient;logger;constructor(e){this.httpClient=e.httpClient,this.logger=e.logger.child(`http-meeting-gateway`)}async listContacts(e){try{let t=e?.trim(),n=await this.httpClient.post(Ia.contacts,void 0,{query:{search:t===void 0||t===``?void 0:t}}),r=Ua.safeParse(n);return r.success?s(r.data.map(Za)):this.fail(`List contacts returned an unexpected shape`,r.error)}catch(e){return this.fail(`List contacts failed`,e)}}async getAvailableSlots(e){try{let t=await this.httpClient.post(Ia.availableSlots,{isoDate:e.isoDate,timeZone:e.timeZone??void 0,isGroup:e.isGroup,contactId:e.contactId??void 0,attendeeIds:e.attendeeIds}),n=Wa.safeParse(t);return n.success?s(n.data.map(Qa)):this.fail(`Available slots returned an unexpected shape`,n.error)}catch(e){return this.fail(`Available slots failed`,e)}}async listAttendeeAvailability(e){try{let t=await this.httpClient.post(Ia.attendeeAvailability,{isoDate:e.isoDate,attendeeIds:e.attendeeIds}),n=Ga.safeParse(t);return n.success?s(n.data.map($a)):this.fail(`Attendee availability returned an unexpected shape`,n.error)}catch(e){return this.fail(`Attendee availability failed`,e)}}async listMeetings(){try{let e=await this.httpClient.get(Ia.list),t=Ha.safeParse(e);return t.success?s(t.data.map(Xa)):this.fail(`List meetings returned an unexpected shape`,t.error)}catch(e){return this.fail(`List meetings failed`,e)}}async book(e){try{let t=await this.httpClient.post(Ia.book,eo(e));return this.parseMeeting(t,`Book meeting`)}catch(e){return c(za(this.logger,e))}}async respond(e,t){try{let n=await this.httpClient.post(Ia.respond(e),void 0,{query:{accept:t}});return this.parseMeeting(n,`Respond to meeting`)}catch(e){return this.fail(`Respond to meeting failed`,e)}}async cancel(e){try{let t=await this.httpClient.post(Ia.cancel(e));return this.parseMeeting(t,`Cancel meeting`)}catch(e){return this.fail(`Cancel meeting failed`,e)}}parseMeeting(e,t){let n=Va.safeParse(e);return n.success?s(Xa(n.data)):this.fail(`${t} returned an unexpected shape`,n.error)}fail(e,t){return this.logger.error(e,t),c(new ha(t))}},no=e=>{let t={meetingGateway:new to({httpClient:e.httpClient,logger:e.logger}),logger:e.logger};return{listContacts:new ua(t),listAvailableSlots:new da(t),listAttendeeAvailability:new fa(t),listMeetings:new pa(t),bookMeeting:new Aa(t),respondToMeeting:new ja(t),cancelMeeting:new Ma(t)}},ro=(0,t.createContext)(null),io=({module:e,children:t})=>(0,i.jsx)(ro.Provider,{value:e,children:t}),ao=()=>{let e=(0,t.useContext)(ro);if(e===null)throw Error(`Meetings hooks must be used within <MeetingsModuleProvider>.`);return e},oo=[`meetings`,`list`],so=[`meetings`,`contacts`],co=[`meetings`,`available-slots`],lo=[`meetings`,`attendee-availability`],uo=(e,t)=>{e.setQueryData(oo,e=>e===void 0?[t]:e.map(e=>e.id===t.id?t:e))},fo=e=>{let{listContacts:t}=ao(),n=e?.trim()??``;return Z({queryKey:[...so,n],queryFn:()=>f(t.execute(n||void 0)),placeholderData:Wr})},po=e=>{let{listMeetings:t}=ao();return Z({queryKey:oo,queryFn:()=>f(t.execute()),staleTime:0,refetchOnWindowFocus:!0,...e===void 0?{}:{refetchInterval:e}})},mo=e=>{let{listAvailableSlots:t}=ao();return Z({queryKey:[...co,e],queryFn:()=>e===null?Promise.resolve([]):f(t.execute(e)),enabled:e!==null,staleTime:0,refetchOnWindowFocus:!0})},ho=(e,t)=>{let{listAttendeeAvailability:n}=ao(),r=t!==null&&e.length>0;return Z({queryKey:[...lo,t,[...e].sort()],queryFn:()=>r?f(n.execute({isoDate:t,attendeeIds:e})):Promise.resolve([]),enabled:r,staleTime:0,refetchOnWindowFocus:!0})},go=()=>{let{bookMeeting:e}=ao(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:()=>{t.invalidateQueries({queryKey:oo})}})},_o=()=>{let{respondToMeeting:e}=ao(),t=X();return Q({mutationFn:({meetingId:t,accept:n})=>f(e.execute(t,n)),onSuccess:e=>{uo(t,e)}})},vo=()=>{let{cancelMeeting:e}=ao(),t=X();return Q({mutationFn:t=>f(e.execute(t)),onSuccess:e=>{uo(t,e)}})};Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return Cr}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"At",{enumerable:!0,get:function(){return Be}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return fi}}),Object.defineProperty(exports,"Bt",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return Qi}}),Object.defineProperty(exports,"Ct",{enumerable:!0,get:function(){return Je}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return ea}}),Object.defineProperty(exports,"Dt",{enumerable:!0,get:function(){return ke}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return Ji}}),Object.defineProperty(exports,"Et",{enumerable:!0,get:function(){return Ge}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"Ft",{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return Nr}}),Object.defineProperty(exports,"Gt",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return ti}}),Object.defineProperty(exports,"Ht",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return wi}}),Object.defineProperty(exports,"It",{enumerable:!0,get:function(){return ue}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return jr}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return Wr}}),Object.defineProperty(exports,"Kt",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return _i}}),Object.defineProperty(exports,"Lt",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"Mt",{enumerable:!0,get:function(){return ve}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return Vi}}),Object.defineProperty(exports,"Nt",{enumerable:!0,get:function(){return _e}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return Yi}}),Object.defineProperty(exports,"Ot",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Oi}}),Object.defineProperty(exports,"Pt",{enumerable:!0,get:function(){return fe}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return qr}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return pi}}),Object.defineProperty(exports,"Rt",{enumerable:!0,get:function(){return re}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return Xi}}),Object.defineProperty(exports,"St",{enumerable:!0,get:function(){return Xe}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return $i}}),Object.defineProperty(exports,"Tt",{enumerable:!0,get:function(){return Ye}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return Dr}}),Object.defineProperty(exports,"Ut",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return ni}}),Object.defineProperty(exports,"Vt",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return Pr}}),Object.defineProperty(exports,"Wt",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return Fr}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return Ar}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return oa}}),Object.defineProperty(exports,"_t",{enumerable:!0,get:function(){return mt}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return vo}}),Object.defineProperty(exports,"at",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return aa}}),Object.defineProperty(exports,"bt",{enumerable:!0,get:function(){return it}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return io}}),Object.defineProperty(exports,"ct",{enumerable:!0,get:function(){return Bn}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return ya}}),Object.defineProperty(exports,"dt",{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return Sr}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return Ca}}),Object.defineProperty(exports,"ft",{enumerable:!0,get:function(){return Rn}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return ta}}),Object.defineProperty(exports,"gt",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return ca}}),Object.defineProperty(exports,"ht",{enumerable:!0,get:function(){return Fn}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return fo}}),Object.defineProperty(exports,"it",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"jt",{enumerable:!0,get:function(){return We}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return Zi}}),Object.defineProperty(exports,"kt",{enumerable:!0,get:function(){return ze}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return no}}),Object.defineProperty(exports,"lt",{enumerable:!0,get:function(){return zn}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return la}}),Object.defineProperty(exports,"mt",{enumerable:!0,get:function(){return Ln}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return mo}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return yr}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return po}}),Object.defineProperty(exports,"ot",{enumerable:!0,get:function(){return Nn}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return _a}}),Object.defineProperty(exports,"pt",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return Mr}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return go}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return Pn}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _o}}),Object.defineProperty(exports,"st",{enumerable:!0,get:function(){return In}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ho}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return xr}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return ka}}),Object.defineProperty(exports,"ut",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return ra}}),Object.defineProperty(exports,"vt",{enumerable:!0,get:function(){return at}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return qi}}),Object.defineProperty(exports,"wt",{enumerable:!0,get:function(){return qe}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return Ki}}),Object.defineProperty(exports,"xt",{enumerable:!0,get:function(){return $e}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return na}}),Object.defineProperty(exports,"yt",{enumerable:!0,get:function(){return rt}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return di}}),Object.defineProperty(exports,"zt",{enumerable:!0,get:function(){return p}});
2
+ //# sourceMappingURL=meetings-B7mnw5UW.cjs.map