@apple-pie/slice 0.1.45 → 0.1.47

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 (292) hide show
  1. package/dist/cjs/chunks/{AudioBubble-DSKLRflw.js → AudioBubble-7MRDr6oW.js} +5 -3
  2. package/dist/cjs/chunks/{Avatar-CFcsdTuN.js → Avatar-BEQvuKXB.js} +1 -1
  3. package/dist/cjs/chunks/{AvatarGroup-CMd6AE9B.js → AvatarGroup-BBigZoAv.js} +1 -1
  4. package/dist/cjs/chunks/{Badge-C__w6y3X.js → Badge-BvSSeAAt.js} +1 -1
  5. package/dist/cjs/chunks/{Button-BLdW3YU9.js → Button-DXQNFBaZ.js} +1 -1
  6. package/dist/cjs/chunks/{ButtonBar-CL4kiqgc.js → ButtonBar-BXo6dNuf.js} +1 -1
  7. package/dist/cjs/chunks/{Camera-BmLMOBRg.js → Camera-BPQ1yF3e.js} +6 -4
  8. package/dist/cjs/chunks/{CheckBox-Cihl0IrF.js → CheckBox-OnTqLOoy.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-BfD_0Cig.js → Chip-ekl1KQ93.js} +1 -1
  10. package/dist/cjs/chunks/{DivInput-LIJ7zv8H.js → DivInput-D3SEX8J9.js} +1 -1
  11. package/dist/cjs/chunks/{Dot-Bj2a76Ta.js → Dot-03FuwY2T.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-CqzMpyGs.js → DrggablePanel-CzMav9ix.js} +5 -3
  13. package/dist/cjs/chunks/{DropDown-pWYMxruM.js → DropDown-DZmhSeRX.js} +1 -1
  14. package/dist/cjs/chunks/{ErrorSummary-ClLL68U3.js → ErrorSummary-DWQIY4M8.js} +5 -3
  15. package/dist/cjs/chunks/{FileIcon-z21zrEc2.js → FileIcon-CtEGJMf1.js} +5 -4
  16. package/dist/cjs/chunks/{FileList-qY-irjP-.js → FileList-31XpLMih.js} +1 -1
  17. package/dist/cjs/chunks/{FlexDiv-DgR6u9Jv.js → FlexDiv-CC6KADWm.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-DeYMKA1T.js → Grouper-B9qnrP-4.js} +4 -3
  19. package/dist/cjs/chunks/{Icon-tc6LQovS.js → Icon-CiZuv_Ch.js} +5 -3
  20. package/dist/cjs/chunks/{IconButton-LoaWO9zY.js → IconButton-C6ZUdM8z.js} +1 -1
  21. package/dist/cjs/chunks/{IndexedDB-CYqvMLuZ.js → IndexedDB-DFFn9mqX.js} +1 -1
  22. package/dist/cjs/chunks/{Label-T84i3rWo.js → Label-B7bBplmn.js} +1 -1
  23. package/dist/cjs/chunks/{Level-OEsy5yT2.js → Level-DwSesAi0.js} +5 -1
  24. package/dist/cjs/chunks/{Modal-DqXuXPge.js → Modal-BPPojCas.js} +1 -1
  25. package/dist/cjs/chunks/{ModalController-C91kCSxO.js → ModalController-BGEq6nZW.js} +3 -2
  26. package/dist/cjs/chunks/{Overlay-D3QPWT8O.js → Overlay-BTyVHmZi.js} +1 -1
  27. package/dist/cjs/chunks/{Pager-CLtuO3Sv.js → Pager-CyJRXuXt.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-DI1fY8vp.js → ProgressIndicator-DywiCVkO.js} +5 -3
  29. package/dist/cjs/chunks/{PromptInput-BMnpfTXt.js → PromptInput-Cg5z8XMK.js} +6 -4
  30. package/dist/cjs/chunks/{RadioButton-CzkQTfqG.js → RadioButton-3LQ__XHx.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-CVkww1_P.js → RadioButtonList-CCmGGzhD.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-9ze6h-KZ.js → Slider-DEvyBgim.js} +5 -3
  33. package/dist/cjs/chunks/{Spacer-DuipTdw1.js → Spacer-DzKg1JZN.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-Bug1jQu4.js → Switch-BCnrGlFd.js} +1 -1
  35. package/dist/cjs/chunks/{TabBar-CLDId1LR.js → TabBar-tawvDdQ9.js} +6 -4
  36. package/dist/cjs/chunks/{TextArea-DyQZBTPs.js → TextArea-BCmck_Bu.js} +1 -1
  37. package/dist/cjs/chunks/{TextField-BR-pQK87.js → TextField-D0ig3i5Z.js} +6 -4
  38. package/dist/cjs/chunks/{Tip-BvGX_YgV.js → Tip-DPAa_tZz.js} +1 -1
  39. package/dist/cjs/chunks/{Toast-D7pGWE3h.js → Toast-CjSm6wKq.js} +6 -4
  40. package/dist/cjs/chunks/{ToggleButton-8NaB4UUl.js → ToggleButton-cNIopPE-.js} +1 -1
  41. package/dist/cjs/chunks/{UploadArea-G-mBqjb7.js → UploadArea-DoJuVudV.js} +1 -1
  42. package/dist/cjs/chunks/{Video-Ba3wg6jb.js → Video-M1-jtah8.js} +1 -1
  43. package/dist/cjs/chunks/{VideoController-BKzIJmMa.js → VideoController-Cghf-ihF.js} +4 -3
  44. package/dist/cjs/chunks/{WSConnection-DMrqNo3k.js → WSConnection-BERcrJfr.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-DNnDh6-M.js → WebRTCConnection-Dd5i5Vsn.js} +1 -1
  46. package/dist/cjs/chunks/broadcastChannel-D1XhG6Q1.js +75 -0
  47. package/dist/cjs/chunks/browserChannelsStore-CPJhMFtD.js +96 -0
  48. package/dist/cjs/chunks/{localDBStore-BTA4H5xb.js → localDBStore-CzLeudjH.js} +4 -2
  49. package/dist/cjs/chunks/{microphoneStore-Gd9Pi7xk.js → microphoneStore-BkaENcMx.js} +1 -1
  50. package/dist/cjs/chunks/{misc-DwqTFwbJ.js → misc-BzvE_9R_.js} +1 -1
  51. package/dist/cjs/chunks/{sseStore-BLzihLI9.js → sseStore-C9XlDamt.js} +4 -2
  52. package/dist/cjs/chunks/{uploads-worker-b6jenaeT.js → uploads-worker-ZLJR3WZA.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-BdD0blGO.js → uploadsStore-xzGjSmYP.js} +2 -2
  54. package/dist/cjs/chunks/{viewState-DgJIoERG.js → viewState-6P26uORS.js} +6 -4
  55. package/dist/cjs/chunks/{volumeStore-BU9B-kDV.js → volumeStore-D5uQzCPQ.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-U1mlk90q.js → webRTCStore-CgLUjMDH.js} +3 -1
  57. package/dist/cjs/chunks/{windowStore-qDiDW4v-.js → windowStore-De7LtHFd.js} +1 -1
  58. package/dist/cjs/components/AudioBubble/index.js +6 -5
  59. package/dist/cjs/components/Avatar/index.js +3 -3
  60. package/dist/cjs/components/AvatarGroup/index.js +3 -3
  61. package/dist/cjs/components/Badge/index.js +2 -2
  62. package/dist/cjs/components/Button/index.js +9 -8
  63. package/dist/cjs/components/ButtonBar/index.js +6 -5
  64. package/dist/cjs/components/Camera/index.js +8 -7
  65. package/dist/cjs/components/CheckBox/index.js +6 -5
  66. package/dist/cjs/components/Chip/index.js +7 -6
  67. package/dist/cjs/components/DataTable/index.js +7 -6
  68. package/dist/cjs/components/DivInput/index.js +3 -3
  69. package/dist/cjs/components/Dot/index.js +2 -2
  70. package/dist/cjs/components/DraggablePanel/index.js +6 -5
  71. package/dist/cjs/components/DropDown/index.js +6 -5
  72. package/dist/cjs/components/ErrorSummary/index.js +6 -5
  73. package/dist/cjs/components/FileIcon/index.js +6 -5
  74. package/dist/cjs/components/FileList/index.js +7 -6
  75. package/dist/cjs/components/FlexDiv/index.js +2 -2
  76. package/dist/cjs/components/Grouper/index.js +7 -6
  77. package/dist/cjs/components/Icon/index.js +6 -5
  78. package/dist/cjs/components/IconButton/index.js +9 -8
  79. package/dist/cjs/components/Label/index.js +3 -3
  80. package/dist/cjs/components/Level/index.js +4 -4
  81. package/dist/cjs/components/Modal/index.js +10 -9
  82. package/dist/cjs/components/ModalController/index.js +6 -5
  83. package/dist/cjs/components/Overlay/index.js +2 -2
  84. package/dist/cjs/components/Pager/index.js +3 -3
  85. package/dist/cjs/components/Progress/index.js +6 -5
  86. package/dist/cjs/components/PromptInput/index.js +10 -9
  87. package/dist/cjs/components/RadioButton/index.js +6 -5
  88. package/dist/cjs/components/RadioButtonList/index.js +7 -6
  89. package/dist/cjs/components/Slider/index.js +6 -5
  90. package/dist/cjs/components/Spacer/index.js +2 -2
  91. package/dist/cjs/components/Switch/index.js +2 -2
  92. package/dist/cjs/components/TabBar/index.js +9 -8
  93. package/dist/cjs/components/TextArea/index.js +9 -8
  94. package/dist/cjs/components/Textfield/index.js +10 -9
  95. package/dist/cjs/components/Tip/index.js +3 -3
  96. package/dist/cjs/components/Toast/index.js +7 -6
  97. package/dist/cjs/components/ToggleButton/index.js +9 -8
  98. package/dist/cjs/components/UploadArea/index.js +8 -7
  99. package/dist/cjs/components/Video/index.js +12 -11
  100. package/dist/cjs/components/VideoController/index.js +10 -9
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +3 -2
  103. package/dist/cjs/hooks/useClipboard.js +127 -0
  104. package/dist/cjs/hooks/useMdStreamBuffer.js +2 -2
  105. package/dist/cjs/hooks/useMicrophone.js +1 -1
  106. package/dist/cjs/hooks/useTrackRenders.js +2 -2
  107. package/dist/cjs/hooks.js +7 -5
  108. package/dist/cjs/index.js +14 -12
  109. package/dist/cjs/stores/LocalDB.js +6 -6
  110. package/dist/cjs/stores/SSE.js +6 -5
  111. package/dist/cjs/stores/WS.js +4 -2
  112. package/dist/cjs/stores/WebRTC.js +6 -6
  113. package/dist/cjs/stores/browserChannel.js +10 -0
  114. package/dist/cjs/stores/microphone.js +2 -2
  115. package/dist/cjs/stores/modal.js +1 -1
  116. package/dist/cjs/stores/tip.js +1 -1
  117. package/dist/cjs/stores/toast.js +1 -1
  118. package/dist/cjs/stores/uploads.js +2 -2
  119. package/dist/cjs/stores/video.js +1 -1
  120. package/dist/cjs/stores/volume.js +2 -2
  121. package/dist/cjs/stores/window.js +2 -2
  122. package/dist/cjs/stores.js +47 -41
  123. package/dist/cjs/utils/index.js +9 -3
  124. package/dist/cjs/utils/objects/index.js +9 -3
  125. package/dist/cjs/workers/uploads/uploads.js +2 -2
  126. package/dist/esm/chunks/{AudioBubble-C8RHNRZ_.mjs → AudioBubble-sDq1KbG4.mjs} +9 -5
  127. package/dist/esm/chunks/{Avatar-B5dBNLzt.mjs → Avatar-CgH69dGS.mjs} +2 -2
  128. package/dist/esm/chunks/{AvatarGroup-CXIojYDR.mjs → AvatarGroup-CVcONno4.mjs} +2 -2
  129. package/dist/esm/chunks/{Badge-CMEuRMVe.mjs → Badge-V0fkzlfk.mjs} +1 -1
  130. package/dist/esm/chunks/{Button-DvW5z2Fy.mjs → Button-CL0LKJDc.mjs} +6 -6
  131. package/dist/esm/chunks/{ButtonBar-CFxfVpe3.mjs → ButtonBar-BPLc12tE.mjs} +3 -3
  132. package/dist/esm/chunks/{Camera-BV_CFREh.mjs → Camera-D6KBmxd_.mjs} +11 -7
  133. package/dist/esm/chunks/{CheckBox-DHFFL-Jq.mjs → CheckBox-iVGppX1l.mjs} +3 -3
  134. package/dist/esm/chunks/{Chip-Cuh20guW.mjs → Chip-DO5g84bY.mjs} +4 -4
  135. package/dist/esm/chunks/{DivInput-BxW5ri5Q.mjs → DivInput-D5m-4myl.mjs} +2 -2
  136. package/dist/esm/chunks/{Dot-zriuPgn8.mjs → Dot-sfjq9c6Z.mjs} +1 -1
  137. package/dist/esm/chunks/{DrggablePanel-hAxQGwCH.mjs → DrggablePanel-IO_BrX30.mjs} +8 -4
  138. package/dist/esm/chunks/{DropDown-B0CYM8o5.mjs → DropDown-BBLh_fWy.mjs} +3 -3
  139. package/dist/esm/chunks/{ErrorSummary-I17C5u75.mjs → ErrorSummary-B0YJ3i5i.mjs} +8 -4
  140. package/dist/esm/chunks/{FileIcon-CuIzwDJs.mjs → FileIcon-hM81mI8u.mjs} +8 -4
  141. package/dist/esm/chunks/{FileList-DhitNTMJ.mjs → FileList-BCkq2RDu.mjs} +5 -5
  142. package/dist/esm/chunks/{FlexDiv-DMXeGSEr.mjs → FlexDiv-DXMUnFLf.mjs} +1 -1
  143. package/dist/esm/chunks/{Grouper-BfkNOB5K.mjs → Grouper-16TyXy09.mjs} +9 -5
  144. package/dist/esm/chunks/{Icon-QUVzyYBt.mjs → Icon-DfeRt_ez.mjs} +8 -4
  145. package/dist/esm/chunks/{IconButton-DIodt9r2.mjs → IconButton-VzkyqbvH.mjs} +5 -5
  146. package/dist/esm/chunks/{IndexedDB-DHk5y9UO.mjs → IndexedDB-Dr5zANnZ.mjs} +1 -1
  147. package/dist/esm/chunks/{Label-DlYEhytS.mjs → Label-D1Z4Zouo.mjs} +2 -2
  148. package/dist/esm/chunks/{Level-BpxVLm1m.mjs → Level-ChdkPG6_.mjs} +5 -3
  149. package/dist/esm/chunks/{Modal-Dg3jWsON.mjs → Modal-C7n04R_z.mjs} +5 -5
  150. package/dist/esm/chunks/{ModalController-CDaKXxq3.mjs → ModalController-oB5b930d.mjs} +6 -4
  151. package/dist/esm/chunks/{Overlay-DfkhMYtD.mjs → Overlay-DX_g-1OP.mjs} +1 -1
  152. package/dist/esm/chunks/{Pager-C4aHLVBY.mjs → Pager-Bz0p-nkX.mjs} +2 -2
  153. package/dist/esm/chunks/{ProgressIndicator-BrLB_HEn.mjs → ProgressIndicator-Cx1alCaM.mjs} +8 -4
  154. package/dist/esm/chunks/{PromptInput-BLs3B_Um.mjs → PromptInput-Cw7w2DJk.mjs} +10 -6
  155. package/dist/esm/chunks/{RadioButton-lGkQ2BjR.mjs → RadioButton-DNi4HZSs.mjs} +3 -3
  156. package/dist/esm/chunks/{RadioButtonList-Dwdbj7oq.mjs → RadioButtonList-DuOqut1l.mjs} +3 -3
  157. package/dist/esm/chunks/{Slider-C5FcSmsD.mjs → Slider-DESg64FR.mjs} +9 -5
  158. package/dist/esm/chunks/{Spacer-CUub-zd9.mjs → Spacer-yLr4JhRb.mjs} +1 -1
  159. package/dist/esm/chunks/{Switch-BZx31_TC.mjs → Switch-B8SOJBXI.mjs} +1 -1
  160. package/dist/esm/chunks/{TabBar-BUlSi-mM.mjs → TabBar-CON4mLhp.mjs} +12 -8
  161. package/dist/esm/chunks/{TextArea-CrTPPqPj.mjs → TextArea-CDTEvkGd.mjs} +2 -2
  162. package/dist/esm/chunks/{TextField-DJqLzBpE.mjs → TextField-CMNdOgk6.mjs} +11 -7
  163. package/dist/esm/chunks/{Tip-6Frqfzpi.mjs → Tip-B0Ue8ayH.mjs} +2 -2
  164. package/dist/esm/chunks/{Toast-CphE3OkY.mjs → Toast-1VODwuQo.mjs} +10 -6
  165. package/dist/esm/chunks/{ToggleButton-BXB_VtB3.mjs → ToggleButton-DhiHk_eR.mjs} +2 -2
  166. package/dist/esm/chunks/{UploadArea-B4jM32ER.mjs → UploadArea-OzgNd37z.mjs} +4 -4
  167. package/dist/esm/chunks/{Video-DgkfQgi8.mjs → Video-Cgq5CCI3.mjs} +5 -5
  168. package/dist/esm/chunks/{VideoController-M3g4Pwtc.mjs → VideoController-FZ_rT2N8.mjs} +9 -7
  169. package/dist/esm/chunks/{WSConnection-M552mwWy.mjs → WSConnection-Bg5A_R4Y.mjs} +1 -1
  170. package/dist/esm/chunks/{WebRTCConnection-BZNdtUKO.mjs → WebRTCConnection-DwhXmF5N.mjs} +1 -1
  171. package/dist/esm/chunks/broadcastChannel-_OaC_OdO.mjs +76 -0
  172. package/dist/esm/chunks/browserChannelsStore-Dn8RLoFP.mjs +94 -0
  173. package/dist/esm/chunks/{localDBStore-GmKJfODp.mjs → localDBStore-CbMyWyUR.mjs} +4 -2
  174. package/dist/esm/chunks/{microphoneStore-CvhusEyi.mjs → microphoneStore-tq5JJf5k.mjs} +1 -1
  175. package/dist/esm/chunks/{misc-CWSDLgrI.mjs → misc-BhDxN2k_.mjs} +1 -1
  176. package/dist/esm/chunks/{sseStore-CBd7nxYG.mjs → sseStore-CuK5Cj7t.mjs} +4 -2
  177. package/dist/esm/chunks/{uploads-worker-Dg7tuCe8.mjs → uploads-worker-DOZg7N_E.mjs} +1 -1
  178. package/dist/esm/chunks/{uploadsStore-bAoNL5My.mjs → uploadsStore-1A4Qh0sX.mjs} +1 -1
  179. package/dist/esm/chunks/{viewState-C-AmMZQr.mjs → viewState-CA1LPPV6.mjs} +10 -6
  180. package/dist/esm/chunks/{volumeStore-BnfcWvWI.mjs → volumeStore-C4J_3uNt.mjs} +1 -1
  181. package/dist/esm/chunks/{webRTCStore-BUW-j3A9.mjs → webRTCStore-BRp0i0h6.mjs} +4 -2
  182. package/dist/esm/chunks/{windowStore-CW_UBAZc.mjs → windowStore-B1On863x.mjs} +1 -1
  183. package/dist/esm/components/AudioBubble/index.mjs +11 -7
  184. package/dist/esm/components/Avatar/index.mjs +3 -3
  185. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  186. package/dist/esm/components/Badge/index.mjs +2 -2
  187. package/dist/esm/components/Button/index.mjs +15 -11
  188. package/dist/esm/components/ButtonBar/index.mjs +11 -7
  189. package/dist/esm/components/Camera/index.mjs +13 -9
  190. package/dist/esm/components/CheckBox/index.mjs +11 -7
  191. package/dist/esm/components/Chip/index.mjs +12 -8
  192. package/dist/esm/components/DataTable/index.mjs +12 -8
  193. package/dist/esm/components/DivInput/index.mjs +3 -3
  194. package/dist/esm/components/Dot/index.mjs +2 -2
  195. package/dist/esm/components/DraggablePanel/index.mjs +10 -6
  196. package/dist/esm/components/DropDown/index.mjs +11 -7
  197. package/dist/esm/components/ErrorSummary/index.mjs +10 -6
  198. package/dist/esm/components/FileIcon/index.mjs +10 -6
  199. package/dist/esm/components/FileList/index.mjs +13 -9
  200. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  201. package/dist/esm/components/Grouper/index.mjs +12 -8
  202. package/dist/esm/components/Icon/index.mjs +11 -7
  203. package/dist/esm/components/IconButton/index.mjs +14 -10
  204. package/dist/esm/components/Label/index.mjs +3 -3
  205. package/dist/esm/components/Level/index.mjs +6 -4
  206. package/dist/esm/components/Modal/index.mjs +17 -13
  207. package/dist/esm/components/ModalController/index.mjs +11 -7
  208. package/dist/esm/components/Overlay/index.mjs +2 -2
  209. package/dist/esm/components/Pager/index.mjs +3 -3
  210. package/dist/esm/components/Progress/index.mjs +11 -7
  211. package/dist/esm/components/PromptInput/index.mjs +18 -14
  212. package/dist/esm/components/RadioButton/index.mjs +11 -7
  213. package/dist/esm/components/RadioButtonList/index.mjs +12 -8
  214. package/dist/esm/components/Slider/index.mjs +11 -7
  215. package/dist/esm/components/Spacer/index.mjs +2 -2
  216. package/dist/esm/components/Switch/index.mjs +2 -2
  217. package/dist/esm/components/TabBar/index.mjs +15 -11
  218. package/dist/esm/components/TextArea/index.mjs +16 -12
  219. package/dist/esm/components/Textfield/index.mjs +17 -13
  220. package/dist/esm/components/Tip/index.mjs +3 -3
  221. package/dist/esm/components/Toast/index.mjs +12 -8
  222. package/dist/esm/components/ToggleButton/index.mjs +16 -12
  223. package/dist/esm/components/UploadArea/index.mjs +14 -10
  224. package/dist/esm/components/Video/index.mjs +19 -15
  225. package/dist/esm/components/VideoController/index.mjs +17 -13
  226. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  227. package/dist/esm/hooks/useBindWebRTC.mjs +7 -5
  228. package/dist/esm/hooks/useClipboard.mjs +131 -0
  229. package/dist/esm/hooks/useMdStreamBuffer.mjs +4 -2
  230. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  231. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  232. package/dist/esm/hooks.mjs +12 -6
  233. package/dist/esm/index.mjs +63 -59
  234. package/dist/esm/stores/LocalDB.mjs +5 -3
  235. package/dist/esm/stores/SSE.mjs +5 -3
  236. package/dist/esm/stores/WS.mjs +4 -2
  237. package/dist/esm/stores/WebRTC.mjs +5 -3
  238. package/dist/esm/stores/browserChannel.mjs +7 -0
  239. package/dist/esm/stores/microphone.mjs +2 -2
  240. package/dist/esm/stores/modal.mjs +1 -1
  241. package/dist/esm/stores/tip.mjs +1 -1
  242. package/dist/esm/stores/toast.mjs +1 -1
  243. package/dist/esm/stores/uploads.mjs +3 -3
  244. package/dist/esm/stores/video.mjs +1 -1
  245. package/dist/esm/stores/volume.mjs +2 -2
  246. package/dist/esm/stores/window.mjs +2 -2
  247. package/dist/esm/stores.mjs +21 -17
  248. package/dist/esm/utils/index.mjs +13 -11
  249. package/dist/esm/utils/objects/index.mjs +9 -7
  250. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  251. package/dist/styles.css +1748 -1748
  252. package/dist/types/hooks/index.d.ts +1 -0
  253. package/dist/types/hooks/useClipboard/useClipboard.d.ts +40 -0
  254. package/dist/types/hooks/useClipboard/useClipboard.test.d.ts +1 -0
  255. package/dist/types/index.d.ts +1 -1
  256. package/dist/types/stores/browserChannel/_types.d.ts +24 -0
  257. package/dist/types/stores/browserChannel/browserChannelsStore.d.ts +42 -0
  258. package/dist/types/stores/browserChannel/browserChannelsStore.test.d.ts +1 -0
  259. package/dist/types/stores/browserChannel/index.d.ts +2 -0
  260. package/dist/types/stores/index.d.ts +2 -0
  261. package/dist/types/stores/toast/_types.d.ts +1 -0
  262. package/dist/types/utils/index.d.ts +2 -2
  263. package/dist/types/utils/objects/browserChannel/broadcastChannel.d.ts +67 -0
  264. package/dist/types/utils/objects/browserChannel/broadcastChannel.test.d.ts +1 -0
  265. package/dist/types/utils/objects/index.d.ts +2 -0
  266. package/package.json +1 -1
  267. /package/dist/cjs/chunks/{MdStreamBuffer-CGJnTgCw.js → MdStreamBuffer-Ble8ibwA.js} +0 -0
  268. /package/dist/cjs/chunks/{SSEConnection-BMf8pqRz.js → SSEConnection-DncGftXV.js} +0 -0
  269. /package/dist/cjs/chunks/{_types-CrX297Zz.js → _types-ByMdhdf3.js} +0 -0
  270. /package/dist/cjs/chunks/{audioVisualizer-C-2yYuy_.js → audioVisualizer-zAy7uTX1.js} +0 -0
  271. /package/dist/cjs/chunks/{colors-BXuIv_3Q.js → colors-D5CWjn09.js} +0 -0
  272. /package/dist/cjs/chunks/{debounce-COjctjMe.js → debounce-Dm998akY.js} +0 -0
  273. /package/dist/cjs/chunks/{modalStore-dUsnPsMX.js → modalStore-CG80hn6s.js} +0 -0
  274. /package/dist/cjs/chunks/{rafThrottle-CUFIaObP.js → rafThrottle-D-ki3HW1.js} +0 -0
  275. /package/dist/cjs/chunks/{sharedTypes-gCKfLc_F.js → sharedTypes-xKamS99V.js} +0 -0
  276. /package/dist/cjs/chunks/{tipStore-D8rVy17f.js → tipStore-l4N-Ht3k.js} +0 -0
  277. /package/dist/cjs/chunks/{toastStore-B-KcGjfs.js → toastStore-DSvjQPDV.js} +0 -0
  278. /package/dist/cjs/chunks/{tslib.es6-1b_WVOSx.js → tslib.es6-C8i2M07g.js} +0 -0
  279. /package/dist/cjs/chunks/{videoStore-CEvD64Je.js → videoStore-CwqZlMvJ.js} +0 -0
  280. /package/dist/esm/chunks/{MdStreamBuffer-D5RvMu84.mjs → MdStreamBuffer-eFLLW5Tb.mjs} +0 -0
  281. /package/dist/esm/chunks/{SSEConnection-CgipQWUg.mjs → SSEConnection-DlEQOzv6.mjs} +0 -0
  282. /package/dist/esm/chunks/{_types-DJdJTzFY.mjs → _types-BOCtN_Uf.mjs} +0 -0
  283. /package/dist/esm/chunks/{audioVisualizer-PV2YALCi.mjs → audioVisualizer-Dh04_7kZ.mjs} +0 -0
  284. /package/dist/esm/chunks/{colors-BuApx_ML.mjs → colors-BzL5-oTQ.mjs} +0 -0
  285. /package/dist/esm/chunks/{debounce-DcUXZUBL.mjs → debounce-W1TqN0ok.mjs} +0 -0
  286. /package/dist/esm/chunks/{modalStore-CxNd2bGs.mjs → modalStore-pT-zaa0K.mjs} +0 -0
  287. /package/dist/esm/chunks/{rafThrottle-BX_UbPqi.mjs → rafThrottle-Dn5Hoq7g.mjs} +0 -0
  288. /package/dist/esm/chunks/{sharedTypes-BPqmyLRY.mjs → sharedTypes-CTv7xT4S.mjs} +0 -0
  289. /package/dist/esm/chunks/{tipStore-kz1SU1W0.mjs → tipStore-UMY4yIdr.mjs} +0 -0
  290. /package/dist/esm/chunks/{toastStore-gM8d8pIo.mjs → toastStore-Do6Cy79x.mjs} +0 -0
  291. /package/dist/esm/chunks/{tslib.es6-ChkYAtDK.mjs → tslib.es6-DcvCgOAo.mjs} +0 -0
  292. /package/dist/esm/chunks/{videoStore-Tv0qujkr.mjs → videoStore-D8m6mJ4d.mjs} +0 -0
@@ -1,13 +1,15 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
8
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
9
9
 
10
- import { A as AudioVisualizer } from "./audioVisualizer-PV2YALCi.mjs";
10
+ import { A as AudioVisualizer } from "./audioVisualizer-Dh04_7kZ.mjs";
11
+
12
+ import "./broadcastChannel-_OaC_OdO.mjs";
11
13
 
12
14
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
13
15
 
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
8
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
9
9
 
10
- import { B as Button } from "./Button-DvW5z2Fy.mjs";
10
+ import { B as Button } from "./Button-CL0LKJDc.mjs";
11
11
 
12
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
12
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
13
13
 
14
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
14
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
15
15
 
16
16
  var css = {
17
17
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
@@ -5,13 +5,15 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
5
5
 
6
6
  import { useRef } from "react";
7
7
 
8
- import "./volumeStore-BnfcWvWI.mjs";
8
+ import "./microphoneStore-tq5JJf5k.mjs";
9
9
 
10
- import "./webRTCStore-BUW-j3A9.mjs";
10
+ import "./volumeStore-C4J_3uNt.mjs";
11
11
 
12
- import { O as Overlay } from "./Overlay-DfkhMYtD.mjs";
12
+ import "./webRTCStore-BRp0i0h6.mjs";
13
13
 
14
- import { u as useModal, a as useModalActions } from "./modalStore-CxNd2bGs.mjs";
14
+ import { O as Overlay } from "./Overlay-DX_g-1OP.mjs";
15
+
16
+ import { u as useModal, a as useModalActions } from "./modalStore-pT-zaa0K.mjs";
15
17
 
16
18
  var css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
17
19
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useMemo, useEffect, useCallback } from "react";
7
7
 
8
- import { a as accessibleKeyDown } from "./misc-CWSDLgrI.mjs";
8
+ import { a as accessibleKeyDown } from "./misc-BhDxN2k_.mjs";
9
9
 
10
10
  var css_wrapper = "Pager-module_wrapper__eutVg flexBox-module_row__z24tF", css_bullet = "Pager-module_bullet__TxyR5 flexBox-module_row__z24tF", css_selected = "Pager-module_selected__C6xbR";
11
11
 
@@ -7,15 +7,19 @@ import { useTheme } from "../hooks/useTheme.mjs";
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
10
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
11
11
 
12
- import "./webRTCStore-BUW-j3A9.mjs";
12
+ import "./broadcastChannel-_OaC_OdO.mjs";
13
13
 
14
- import "./volumeStore-BnfcWvWI.mjs";
14
+ import "./webRTCStore-BRp0i0h6.mjs";
15
+
16
+ import "./microphoneStore-tq5JJf5k.mjs";
17
+
18
+ import "./volumeStore-C4J_3uNt.mjs";
15
19
 
16
20
  import "../hooks/useWindow.mjs";
17
21
 
18
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
22
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
19
23
 
20
24
  import { AnimatePresence, motion } from "motion/react";
21
25
 
@@ -7,19 +7,23 @@ import { useTheme } from "../hooks/useTheme.mjs";
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import "./tslib.es6-ChkYAtDK.mjs";
10
+ import "./tslib.es6-DcvCgOAo.mjs";
11
11
 
12
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
12
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
13
13
 
14
- import "./webRTCStore-BUW-j3A9.mjs";
14
+ import "./broadcastChannel-_OaC_OdO.mjs";
15
15
 
16
- import "./volumeStore-BnfcWvWI.mjs";
16
+ import "./webRTCStore-BRp0i0h6.mjs";
17
+
18
+ import "./microphoneStore-tq5JJf5k.mjs";
19
+
20
+ import "./volumeStore-C4J_3uNt.mjs";
17
21
 
18
22
  import "../hooks/useWindow.mjs";
19
23
 
20
- import { B as Button } from "./Button-DvW5z2Fy.mjs";
24
+ import { B as Button } from "./Button-CL0LKJDc.mjs";
21
25
 
22
- import { F as FileList } from "./FileList-DhitNTMJ.mjs";
26
+ import { F as FileList } from "./FileList-BCkq2RDu.mjs";
23
27
 
24
28
  var css = {
25
29
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useEffect, useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
8
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
9
9
 
10
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
10
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
11
11
 
12
12
  var css_wrapper = "RadioButton-module_wrapper__-pWRe flexBox-module_row__z24tF", css_radioIcon = "RadioButton-module_radioIcon__I27Xv flexBox-module_column__ezvMq", css_radioTitle = "RadioButton-module_radioTitle__zCQII flexBox-module_rowStart__4tcxS type-module_body-m-regular__LuQBA", css_radioContent = "RadioButton-module_radioContent__38xVx flexBox-module_columnStart__C7P44";
13
13
 
@@ -1,13 +1,13 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useId, useState, useEffect, useCallback, useMemo } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
8
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
9
9
 
10
- import { R as RadioButton } from "./RadioButton-lGkQ2BjR.mjs";
10
+ import { R as RadioButton } from "./RadioButton-DNi4HZSs.mjs";
11
11
 
12
12
  var css_wrapper = "RadioButtonList-module_wrapper__wnq1-", css_column = "RadioButtonList-module_column__Bq16e flexBox-module_columnStart__C7P44", css_row = "RadioButtonList-module_row__D3szq flexBox-module_rowStart__4tcxS";
13
13
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -7,13 +7,17 @@ import React, { useRef, useState, useMemo, useCallback, useEffect } from "react"
7
7
 
8
8
  import "../theme/colors.mjs";
9
9
 
10
- import { p as pointerPosition } from "./misc-CWSDLgrI.mjs";
10
+ import { p as pointerPosition } from "./misc-BhDxN2k_.mjs";
11
11
 
12
- import { d as debounce } from "./debounce-DcUXZUBL.mjs";
12
+ import { d as debounce } from "./debounce-W1TqN0ok.mjs";
13
13
 
14
- import "./webRTCStore-BUW-j3A9.mjs";
14
+ import "./broadcastChannel-_OaC_OdO.mjs";
15
15
 
16
- import "./volumeStore-BnfcWvWI.mjs";
16
+ import "./webRTCStore-BRp0i0h6.mjs";
17
+
18
+ import "./microphoneStore-tq5JJf5k.mjs";
19
+
20
+ import "./volumeStore-C4J_3uNt.mjs";
17
21
 
18
22
  import "../hooks/useWindow.mjs";
19
23
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -9,21 +9,25 @@ import { useTheme } from "../hooks/useTheme.mjs";
9
9
 
10
10
  import "../theme/colors.mjs";
11
11
 
12
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
12
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
13
13
 
14
- import "./webRTCStore-BUW-j3A9.mjs";
14
+ import "./broadcastChannel-_OaC_OdO.mjs";
15
15
 
16
- import "./volumeStore-BnfcWvWI.mjs";
16
+ import "./webRTCStore-BRp0i0h6.mjs";
17
+
18
+ import "./microphoneStore-tq5JJf5k.mjs";
19
+
20
+ import "./volumeStore-C4J_3uNt.mjs";
17
21
 
18
22
  import "../hooks/useWindow.mjs";
19
23
 
20
- import { B as Badge } from "./Badge-CMEuRMVe.mjs";
24
+ import { B as Badge } from "./Badge-V0fkzlfk.mjs";
21
25
 
22
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
26
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
23
27
 
24
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
28
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
25
29
 
26
- import { T as ToolTipType } from "./sharedTypes-BPqmyLRY.mjs";
30
+ import { T as ToolTipType } from "./sharedTypes-CTv7xT4S.mjs";
27
31
 
28
32
  var css = {
29
33
  wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useState, useRef, useCallback, useEffect, useMemo } from "react";
7
7
 
8
- import { B as Button } from "./Button-DvW5z2Fy.mjs";
8
+ import { B as Button } from "./Button-CL0LKJDc.mjs";
9
9
 
10
10
  var css_wrapper = "TextArea-module_wrapper__O0sWP flexBox-module_columnStart__C7P44", css_textarea = "TextArea-module_textarea__-R2n0 scrollBars-module_scrollbars__c-ZPl", css_send = "TextArea-module_send__Cub13", css_xs = "TextArea-module_xs__5e748 type-module_body-xs-regular__ZAFft", css_s = "TextArea-module_s__Ac-fq type-module_body-s-regular__vRHSP", css_m = "TextArea-module_m__dod4R type-module_body-m-regular__LuQBA", css_l = "TextArea-module_l__-uLCG type-module_body-l-regular__lOYbg";
11
11
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
@@ -11,19 +11,23 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
14
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
15
15
 
16
- import "./webRTCStore-BUW-j3A9.mjs";
16
+ import "./broadcastChannel-_OaC_OdO.mjs";
17
17
 
18
- import "./volumeStore-BnfcWvWI.mjs";
18
+ import "./webRTCStore-BRp0i0h6.mjs";
19
+
20
+ import "./microphoneStore-tq5JJf5k.mjs";
21
+
22
+ import "./volumeStore-C4J_3uNt.mjs";
19
23
 
20
24
  import "../hooks/useWindow.mjs";
21
25
 
22
- import { B as Button } from "./Button-DvW5z2Fy.mjs";
26
+ import { B as Button } from "./Button-CL0LKJDc.mjs";
23
27
 
24
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
28
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
25
29
 
26
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
30
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
27
31
 
28
32
  var css = {
29
33
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx } from "react/jsx-runtime";
5
5
 
@@ -7,7 +7,7 @@ import { motion } from "motion/react";
7
7
 
8
8
  import React, { useState, useRef, useEffect, useMemo } from "react";
9
9
 
10
- import { f as filterClasses } from "./misc-CWSDLgrI.mjs";
10
+ import { f as filterClasses } from "./misc-BhDxN2k_.mjs";
11
11
 
12
12
  var css = {
13
13
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
 
@@ -11,17 +11,21 @@ import { useTheme } from "../hooks/useTheme.mjs";
11
11
 
12
12
  import "../theme/colors.mjs";
13
13
 
14
- import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-CWSDLgrI.mjs";
14
+ import { s as setStyle, f as filterClasses, a as accessibleKeyDown } from "./misc-BhDxN2k_.mjs";
15
15
 
16
- import "./webRTCStore-BUW-j3A9.mjs";
16
+ import "./broadcastChannel-_OaC_OdO.mjs";
17
17
 
18
- import "./volumeStore-BnfcWvWI.mjs";
18
+ import "./webRTCStore-BRp0i0h6.mjs";
19
+
20
+ import "./microphoneStore-tq5JJf5k.mjs";
21
+
22
+ import "./volumeStore-C4J_3uNt.mjs";
19
23
 
20
24
  import "../hooks/useWindow.mjs";
21
25
 
22
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
26
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
23
27
 
24
- import { P as ProgressIndicator } from "./ProgressIndicator-BrLB_HEn.mjs";
28
+ import { P as ProgressIndicator } from "./ProgressIndicator-Cx1alCaM.mjs";
25
29
 
26
30
  var ToastType, css = {
27
31
  wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
@@ -3,9 +3,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import { useMemo } from "react";
5
5
 
6
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
6
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
7
7
 
8
- import { L as Label } from "./Label-DlYEhytS.mjs";
8
+ import { L as Label } from "./Label-D1Z4Zouo.mjs";
9
9
 
10
10
  var css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
11
11
 
@@ -3,13 +3,13 @@ import { jsxs, jsx } from "react/jsx-runtime";
3
3
 
4
4
  import React, { useState, useRef, useId, useCallback, useMemo } from "react";
5
5
 
6
- import { s as setStyle, a as accessibleKeyDown } from "./misc-CWSDLgrI.mjs";
6
+ import { s as setStyle, a as accessibleKeyDown } from "./misc-BhDxN2k_.mjs";
7
7
 
8
- import { I as Icon } from "./Icon-QUVzyYBt.mjs";
8
+ import { I as Icon } from "./Icon-DfeRt_ez.mjs";
9
9
 
10
- import { P as ProgressIndicator } from "./ProgressIndicator-BrLB_HEn.mjs";
10
+ import { P as ProgressIndicator } from "./ProgressIndicator-Cx1alCaM.mjs";
11
11
 
12
- import { F as FileList } from "./FileList-DhitNTMJ.mjs";
12
+ import { F as FileList } from "./FileList-BCkq2RDu.mjs";
13
13
 
14
14
  var css = {
15
15
  wrapper: "UploadArea-module_wrapper__aircC flexBox-module_column__ezvMq",
@@ -1,17 +1,17 @@
1
1
  'use client';
2
- import { a as __rest, _ as __awaiter } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest, _ as __awaiter } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
 
6
6
  import React, { useRef, useState, useCallback, useMemo, useEffect } from "react";
7
7
 
8
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
8
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
9
9
 
10
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
10
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
11
11
 
12
- import { S as Slider } from "./Slider-C5FcSmsD.mjs";
12
+ import { S as Slider } from "./Slider-DESg64FR.mjs";
13
13
 
14
- import { T as ToggleButton } from "./ToggleButton-BXB_VtB3.mjs";
14
+ import { T as ToggleButton } from "./ToggleButton-DhiHk_eR.mjs";
15
15
 
16
16
  var PlayState, css_wrapper = "Video-module_wrapper__a9iH8", css_video = "Video-module_video__hxKME", css_controls = "Video-module_controls__X4yt6", css_controlsHeader = "Video-module_controlsHeader__dD64-", css_controlsFooter = "Video-module_controlsFooter__qJNTa", css_controlsBody = "Video-module_controlsBody__2GbQz", css_right = "Video-module_right__UMhfW", css_left = "Video-module_left__XC33m", css_progress = "Video-module_progress__UTWtq";
17
17
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { a as __rest } from "./tslib.es6-ChkYAtDK.mjs";
2
+ import { a as __rest } from "./tslib.es6-DcvCgOAo.mjs";
3
3
 
4
4
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
5
5
 
@@ -7,17 +7,19 @@ import { useDragControls, AnimatePresence, motion } from "motion/react";
7
7
 
8
8
  import { useRef, useState, useEffect, useMemo } from "react";
9
9
 
10
- import "./volumeStore-BnfcWvWI.mjs";
10
+ import "./microphoneStore-tq5JJf5k.mjs";
11
11
 
12
- import "./webRTCStore-BUW-j3A9.mjs";
12
+ import "./volumeStore-C4J_3uNt.mjs";
13
13
 
14
- import { s as setStyle } from "./misc-CWSDLgrI.mjs";
14
+ import "./webRTCStore-BRp0i0h6.mjs";
15
15
 
16
- import { I as IconButton } from "./IconButton-DIodt9r2.mjs";
16
+ import { s as setStyle } from "./misc-BhDxN2k_.mjs";
17
17
 
18
- import { O as Overlay } from "./Overlay-DfkhMYtD.mjs";
18
+ import { I as IconButton } from "./IconButton-VzkyqbvH.mjs";
19
19
 
20
- import { u as useVideo, a as useVideoActions } from "./videoStore-Tv0qujkr.mjs";
20
+ import { O as Overlay } from "./Overlay-DX_g-1OP.mjs";
21
+
22
+ import { u as useVideo, a as useVideoActions } from "./videoStore-D8m6mJ4d.mjs";
21
23
 
22
24
  var css_container = "VideoController-module_container__wNiGy", css_box = "VideoController-module_box__a0PRD", css_wrapper = "VideoController-module_wrapper__RhpUo", css_video = "VideoController-module_video__9bS2L";
23
25
 
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter } from "./tslib.es6-ChkYAtDK.mjs";
1
+ import { _ as __awaiter } from "./tslib.es6-DcvCgOAo.mjs";
2
2
 
3
3
  /**
4
4
  * Manage a WebSocket connection with optional unified events, retries, and keep-alive pings.
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter } from "./tslib.es6-ChkYAtDK.mjs";
1
+ import { _ as __awaiter } from "./tslib.es6-DcvCgOAo.mjs";
2
2
 
3
3
  class WebRTCConnection {
4
4
  /**
@@ -0,0 +1,76 @@
1
+ var MessageType;
2
+
3
+ /**
4
+ * Pulls the useful fields off a `messageerror` event into a JSON string.
5
+ * `JSON.stringify(event)` alone won't work here - `MessageEvent`'s properties
6
+ * are getters on the prototype, not own-enumerable, so the default
7
+ * serializer drops all of them and produces `"{}"`. This reads them
8
+ * explicitly instead, so a consumer relying on the unified message stream
9
+ * gets something to actually diagnose. Note `event.origin` here is the DOM
10
+ * event's own `origin` field (the sending window/worker's origin), which is
11
+ * unrelated to a {@link BrowserChannel}'s own `origin` identifier.
12
+ */
13
+ function serializeMessageEvent(event) {
14
+ var _a;
15
+ return JSON.stringify({
16
+ type: event.type,
17
+ origin: event.origin,
18
+ lastEventId: event.lastEventId,
19
+ data: null !== (_a = event.data) && void 0 !== _a ? _a : null
20
+ });
21
+ }
22
+
23
+ /**
24
+ * A typed wrapper around the native `BroadcastChannel` API for posting and
25
+ * receiving messages between same-origin browsing contexts (tabs, windows,
26
+ * iframes, workers).
27
+ */ !function(MessageType) {
28
+ MessageType.Data = "data", MessageType.Error = "error";
29
+ }(MessageType || (MessageType = {}));
30
+
31
+ class BrowserChannel {
32
+ /**
33
+ * Open the underlying `BroadcastChannel` and attach listeners.
34
+ */
35
+ constructor(options) {
36
+ var _a;
37
+ if (this.onMessage = event => {
38
+ const {data: data} = event;
39
+ this.onMessageCallback(data);
40
+ }, this.onError = event => {
41
+ this.onErrorCallback(event), this.onMessageCallback({
42
+ content: serializeMessageEvent(event),
43
+ origin: this.origin,
44
+ type: MessageType.Error
45
+ });
46
+ }, this.name = options.name, this.origin = `${null !== (_a = options.origin) && void 0 !== _a ? _a : ""}.${crypto.randomUUID()}`,
47
+ this.onMessageCallback = options.onMessageCallback, this.onErrorCallback = options.onErrorCallback,
48
+ "undefined" == typeof BroadcastChannel) throw new TypeError("BroadcastChannel is not supported in this environment.");
49
+ this.channel = new BroadcastChannel(options.name), this.attachListeners();
50
+ }
51
+ attachListeners() {
52
+ this.channel.addEventListener("message", this.onMessage), this.channel.addEventListener("messageerror", this.onError);
53
+ }
54
+ cleanUpListeners() {
55
+ this.channel.removeEventListener("message", this.onMessage), this.channel.removeEventListener("messageerror", this.onError);
56
+ }
57
+ /**
58
+ * Post a message to every other same-origin context listening on this
59
+ * channel. The message is wrapped with this instance's `origin` before
60
+ * being sent.
61
+ */ post(message) {
62
+ this.channel.postMessage({
63
+ content: message,
64
+ origin: this.origin,
65
+ type: MessageType.Data
66
+ });
67
+ }
68
+ /**
69
+ * Close the channel and remove its listeners. The instance should not be
70
+ * reused after calling this.
71
+ */ close() {
72
+ this.channel.close(), this.cleanUpListeners();
73
+ }
74
+ }
75
+
76
+ export { BrowserChannel as B, MessageType as M };
@@ -0,0 +1,94 @@
1
+ import { create } from "zustand";
2
+
3
+ import "./tslib.es6-DcvCgOAo.mjs";
4
+
5
+ import { B as BrowserChannel } from "./broadcastChannel-_OaC_OdO.mjs";
6
+
7
+ const useBrowserChannelsStore = create((set, get) => ({
8
+ channels: null,
9
+ message: null,
10
+ messages: null,
11
+ actions: {
12
+ addChannel: (config, replace = !0) => {
13
+ var _a;
14
+ const existingChannel = null === (_a = get().channels) || void 0 === _a ? void 0 : _a[config.name];
15
+ if (existingChannel && !replace) return;
16
+ null == existingChannel || existingChannel.close();
17
+ const channel = new BrowserChannel(Object.assign(Object.assign({}, config), {
18
+ onMessageCallback: message => {
19
+ set(state => ({
20
+ message: message,
21
+ messages: Object.assign(Object.assign({}, state.messages), {
22
+ [config.name]: message
23
+ })
24
+ }));
25
+ },
26
+ onErrorCallback: () => {}
27
+ }));
28
+ set(state => {
29
+ const nextMessages = Object.assign({}, state.messages);
30
+ return delete nextMessages[config.name], {
31
+ channels: Object.assign(Object.assign({}, state.channels), {
32
+ [config.name]: channel
33
+ }),
34
+ messages: Object.keys(nextMessages).length > 0 ? nextMessages : null
35
+ };
36
+ });
37
+ },
38
+ removeChannel: channelName => {
39
+ var _a;
40
+ const existingChannel = null === (_a = get().channels) || void 0 === _a ? void 0 : _a[channelName];
41
+ return !!existingChannel && (existingChannel.close(), set(state => {
42
+ const remainingChannels = Object.assign({}, state.channels);
43
+ delete remainingChannels[channelName];
44
+ const remainingMessages = Object.assign({}, state.messages);
45
+ return delete remainingMessages[channelName], {
46
+ channels: Object.keys(remainingChannels).length > 0 ? remainingChannels : null,
47
+ messages: Object.keys(remainingMessages).length > 0 ? remainingMessages : null
48
+ };
49
+ }), !0);
50
+ },
51
+ addChannels: (configs, replace = !0) => {
52
+ for (const config of configs) get().actions.addChannel(config, replace);
53
+ },
54
+ removeChannels: () => {
55
+ const existingChannels = get().channels;
56
+ if (!existingChannels || 0 === Object.keys(existingChannels).length) return !1;
57
+ for (const channel of Object.values(existingChannels)) channel.close();
58
+ return set({
59
+ channels: null,
60
+ messages: null
61
+ }), !0;
62
+ },
63
+ post: (channelName, message) => {
64
+ var _a;
65
+ const channel = null === (_a = get().channels) || void 0 === _a ? void 0 : _a[channelName];
66
+ return !!channel && (channel.post(message), !0);
67
+ },
68
+ isActiveChannel: channelName => {
69
+ var _a;
70
+ return Boolean(null === (_a = get().channels) || void 0 === _a ? void 0 : _a[channelName]);
71
+ }
72
+ }
73
+ })), useBrowserChannels = () => useBrowserChannelsStore(state => state.channels), useBrowserChannelActions = () => useBrowserChannelsStore(state => state.actions), useIsActiveChannel = channelName => useBrowserChannelsStore(state => {
74
+ var _a;
75
+ return Boolean(null === (_a = state.channels) || void 0 === _a ? void 0 : _a[channelName]);
76
+ });
77
+
78
+ function useMessage(channelName, type) {
79
+ return useBrowserChannelsStore(state => {
80
+ var _a;
81
+ const message = null === (_a = state.messages) || void 0 === _a ? void 0 : _a[channelName];
82
+ return message ? type && message.type !== type ? null : message : null;
83
+ });
84
+ }
85
+
86
+ const browserChannelActions = useBrowserChannelsStore.getState().actions, getBrowserChannels = () => useBrowserChannelsStore.getState().channels, getLastBrowserChannelMessage = () => useBrowserChannelsStore.getState().message;
87
+
88
+ function getMessage(channelName, type) {
89
+ var _a;
90
+ const message = null === (_a = useBrowserChannelsStore.getState().messages) || void 0 === _a ? void 0 : _a[channelName];
91
+ return message ? type && message.type !== type ? null : message : null;
92
+ }
93
+
94
+ export { getLastBrowserChannelMessage as a, browserChannelActions as b, getMessage as c, useBrowserChannels as d, useBrowserChannelsStore as e, useIsActiveChannel as f, getBrowserChannels as g, useMessage as h, useBrowserChannelActions as u };