@apple-pie/slice 0.1.52 → 0.1.53

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 (318) hide show
  1. package/dist/cjs/chunks/{AudioBubble-Di2Qyjer.js → AudioBubble-BSceAgq8.js} +5 -4
  2. package/dist/cjs/chunks/{Avatar-L6s2-x0u.js → Avatar-LhoIzZYs.js} +2 -2
  3. package/dist/cjs/chunks/{AvatarGroup-DNGFPl1j.js → AvatarGroup-6rYDbrq0.js} +3 -3
  4. package/dist/cjs/chunks/{Badge-CWASZI0E.js → Badge-DNzsgQk9.js} +1 -1
  5. package/dist/cjs/chunks/{Button-kzWt5lcL.js → Button-GrPLJIBP.js} +5 -5
  6. package/dist/cjs/chunks/{ButtonBar-BaFGN5AR.js → ButtonBar-Df0iGtC3.js} +2 -2
  7. package/dist/cjs/chunks/{Camera-CBZmVUf6.js → Camera-BN2emgEV.js} +7 -6
  8. package/dist/cjs/chunks/{CheckBox-D8e57FqA.js → CheckBox-DOTWw9VH.js} +1 -1
  9. package/dist/cjs/chunks/{Chip-DCFtFPpu.js → Chip-BjzBZU6j.js} +2 -2
  10. package/dist/cjs/chunks/{DivInput-BbYo5dnn.js → DivInput-DXpi201k.js} +5 -5
  11. package/dist/cjs/chunks/{Dot-ByKZIcva.js → Dot-nWPzJqlj.js} +1 -1
  12. package/dist/cjs/chunks/{DrggablePanel-EvnMMRh0.js → DrggablePanel-Bi4cmUh5.js} +21 -16
  13. package/dist/cjs/chunks/{DropDown-C-i2rIhH.js → DropDown-K6xOYkfl.js} +2 -2
  14. package/dist/cjs/chunks/{ErrorSummary-DLaE1duh.js → ErrorSummary-pWO_o2MN.js} +6 -5
  15. package/dist/cjs/chunks/{FileIcon-DqFMbhRF.js → FileIcon-BXmM4L3A.js} +5 -5
  16. package/dist/cjs/chunks/{FileList-C3KR7jHj.js → FileList-NDj9e_To.js} +2 -2
  17. package/dist/cjs/chunks/{FlexDiv-BPmDJlQe.js → FlexDiv-Dfp6NfR-.js} +1 -1
  18. package/dist/cjs/chunks/{Grouper-Bm013ATj.js → Grouper-DJP2JXUi.js} +5 -5
  19. package/dist/cjs/chunks/{Icon-CUbgmUeu.js → Icon-VcvTUkMA.js} +5 -4
  20. package/dist/cjs/chunks/{IconButton-BbgyyMjG.js → IconButton-Cz7iTVhO.js} +3 -3
  21. package/dist/cjs/chunks/{IndexedDB-DFVmvrQg.js → IndexedDB-D7TVb0pF.js} +8 -4
  22. package/dist/cjs/chunks/{Label-CDuN-9n3.js → Label-E7350HYG.js} +2 -2
  23. package/dist/cjs/chunks/{Level-vbDvflcO.js → Level-ZmAb4JQ9.js} +3 -3
  24. package/dist/cjs/chunks/{Modal-BS-9UkxV.js → Modal-BKZ9fgWF.js} +3 -2
  25. package/dist/cjs/chunks/{ModalController-B-m3OD5K.js → ModalController-CCcRXYUs.js} +3 -2
  26. package/dist/cjs/chunks/{Overlay-QprT1IaK.js → Overlay-B0jNgBu3.js} +2 -2
  27. package/dist/cjs/chunks/{Pager-7edBFop6.js → Pager-CwOhw4nE.js} +1 -1
  28. package/dist/cjs/chunks/{ProgressIndicator-Bi1UfJIW.js → ProgressIndicator--Ph78ZSe.js} +5 -4
  29. package/dist/cjs/chunks/{PromptInput-BHDK8fjX.js → PromptInput-8TqoRRtq.js} +13 -8
  30. package/dist/cjs/chunks/{RadioButton-SqAqjkcO.js → RadioButton-oZxMZCpd.js} +1 -1
  31. package/dist/cjs/chunks/{RadioButtonList-Bk4zdfNK.js → RadioButtonList-C0zngoe4.js} +1 -1
  32. package/dist/cjs/chunks/{Slider-CGXCa5hf.js → Slider-BfiaN55A.js} +5 -4
  33. package/dist/cjs/chunks/{Spacer-Cz634l5B.js → Spacer-D9SULpcV.js} +1 -1
  34. package/dist/cjs/chunks/{Switch-BWz76WjN.js → Switch-Bax_lPw4.js} +2 -2
  35. package/dist/cjs/chunks/{TabBar-BhV5XeiX.js → TabBar-C9NycMo8.js} +6 -5
  36. package/dist/cjs/chunks/{TextArea-Dc0MXEtY.js → TextArea-BSo1K02e.js} +5 -5
  37. package/dist/cjs/chunks/{TextField-l62uCubT.js → TextField-TpzwNrB3.js} +12 -7
  38. package/dist/cjs/chunks/{Tip-BBMqZlgV.js → Tip-CtobkAG3.js} +3 -3
  39. package/dist/cjs/chunks/{Toast-DNSA3BzO.js → Toast-BRvp6HeI.js} +6 -5
  40. package/dist/cjs/chunks/{ToggleButton-DclomTgT.js → ToggleButton-BGsKt1uz.js} +5 -5
  41. package/dist/cjs/chunks/{UploadArea-Bm674kMd.js → UploadArea-BVIOxAk0.js} +5 -5
  42. package/dist/cjs/chunks/{Video-Be2aIETB.js → Video-B9BWFeiN.js} +15 -15
  43. package/dist/cjs/chunks/{VideoController-BCTD_gZh.js → VideoController-D5J76aQJ.js} +8 -7
  44. package/dist/cjs/chunks/{WSConnection-pryKJWc6.js → WSConnection-BrwlAScO.js} +1 -1
  45. package/dist/cjs/chunks/{WebRTCConnection-C_GRUnIY.js → WebRTCConnection-nx-EhtdY.js} +1 -1
  46. package/dist/cjs/chunks/{browserChannelsStore-6ZSY_xb-.js → browserChannelsStore-C8C4qb7h.js} +2 -2
  47. package/dist/cjs/chunks/{localDBStore-DO3FanPt.js → localDBStore-DhruyXfz.js} +2 -2
  48. package/dist/cjs/chunks/magic-string.es-DXiBW6ft.js +724 -0
  49. package/dist/cjs/chunks/{microphoneStore-Ch3VVm4T.js → microphoneStore-axA5TgKM.js} +1 -1
  50. package/dist/cjs/chunks/{misc-BNlFh_4N.js → misc-B2oK3rIL.js} +1 -1
  51. package/dist/cjs/chunks/{sseStore-C_INE2Dq.js → sseStore-DaJgRKej.js} +3 -3
  52. package/dist/cjs/chunks/{uploads-worker-Bz66LCly.js → uploads-worker-B_12HqmC.js} +1 -1
  53. package/dist/cjs/chunks/{uploadsStore-blQX5Zny.js → uploadsStore-hFHe0RDh.js} +2 -2
  54. package/dist/cjs/chunks/{viewState-8FeRZBG3.js → viewState-BzvJJA68.js} +8 -7
  55. package/dist/cjs/chunks/{volumeStore-CA9Pdx5e.js → volumeStore-D64ziNWo.js} +1 -1
  56. package/dist/cjs/chunks/{webRTCStore-Bu7_nxNq.js → webRTCStore-XciamNCa.js} +2 -2
  57. package/dist/cjs/chunks/{windowStore-CYvn2_ma.js → windowStore-DRgyVg9e.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 +12 -11
  63. package/dist/cjs/components/ButtonBar/index.js +9 -8
  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 +9 -9
  67. package/dist/cjs/components/DataTable/index.js +13 -13
  68. package/dist/cjs/components/DivInput/index.js +4 -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 +9 -8
  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 +12 -10
  79. package/dist/cjs/components/Label/index.js +4 -3
  80. package/dist/cjs/components/Level/index.js +4 -4
  81. package/dist/cjs/components/Modal/index.js +12 -12
  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 +12 -12
  94. package/dist/cjs/components/Textfield/index.js +10 -9
  95. package/dist/cjs/components/Tip/index.js +4 -3
  96. package/dist/cjs/components/Toast/index.js +7 -6
  97. package/dist/cjs/components/ToggleButton/index.js +12 -12
  98. package/dist/cjs/components/UploadArea/index.js +11 -10
  99. package/dist/cjs/components/Video/index.js +15 -13
  100. package/dist/cjs/components/VideoController/index.js +12 -12
  101. package/dist/cjs/hooks/useAudioRecorder.js +1 -1
  102. package/dist/cjs/hooks/useBindWebRTC.js +2 -2
  103. package/dist/cjs/hooks/useClipboard.js +2 -2
  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 +4 -4
  108. package/dist/cjs/index.js +10 -10
  109. package/dist/cjs/providers/themeServer.test.js +10574 -0
  110. package/dist/cjs/stores/LocalDB.js +3 -3
  111. package/dist/cjs/stores/SSE.js +3 -3
  112. package/dist/cjs/stores/WS.js +3 -3
  113. package/dist/cjs/stores/WebRTC.js +3 -3
  114. package/dist/cjs/stores/browserChannel.js +2 -2
  115. package/dist/cjs/stores/microphone.js +2 -2
  116. package/dist/cjs/stores/modal.js +1 -1
  117. package/dist/cjs/stores/tip.js +1 -1
  118. package/dist/cjs/stores/toast.js +1 -1
  119. package/dist/cjs/stores/uploads.js +2 -2
  120. package/dist/cjs/stores/video.js +1 -1
  121. package/dist/cjs/stores/volume.js +2 -2
  122. package/dist/cjs/stores/window.js +2 -2
  123. package/dist/cjs/stores.js +15 -16
  124. package/dist/cjs/theme/corners.js +8 -8
  125. package/dist/cjs/utils/index.js +2 -2
  126. package/dist/cjs/utils/objects/index.js +2 -2
  127. package/dist/cjs/workers/uploads/uploads.js +2 -2
  128. package/dist/esm/chunks/{AudioBubble-BzlrPWjD.mjs → AudioBubble-CdmLKDhc.mjs} +8 -6
  129. package/dist/esm/chunks/{Avatar-DE7v6q5Z.mjs → Avatar-CblCPiom.mjs} +3 -3
  130. package/dist/esm/chunks/{AvatarGroup-B-E3eFeF.mjs → AvatarGroup-DgNd60cP.mjs} +4 -4
  131. package/dist/esm/chunks/{Badge-Cli_Ebpu.mjs → Badge-DIru-w6O.mjs} +1 -1
  132. package/dist/esm/chunks/{Button-BdxJ4wnE.mjs → Button-BYALDfuE.mjs} +12 -10
  133. package/dist/esm/chunks/{ButtonBar-LIzMkcAW.mjs → ButtonBar-DUDK-0Y4.mjs} +6 -4
  134. package/dist/esm/chunks/{Camera-DQIlyciR.mjs → Camera-BOgxXxRV.mjs} +11 -9
  135. package/dist/esm/chunks/{CheckBox-yuitT-oK.mjs → CheckBox-xLveo-Lt.mjs} +3 -3
  136. package/dist/esm/chunks/{Chip-BVWlgpZ4.mjs → Chip-COWEFzyh.mjs} +7 -5
  137. package/dist/esm/chunks/{DivInput-SeyX77Nb.mjs → DivInput-faLHJ1b9.mjs} +8 -6
  138. package/dist/esm/chunks/{Dot-Lyaimh03.mjs → Dot-CWVfujdC.mjs} +1 -1
  139. package/dist/esm/chunks/{DrggablePanel--TPNDMpD.mjs → DrggablePanel-DCA9LeNq.mjs} +23 -17
  140. package/dist/esm/chunks/{DropDown-BmumgcHV.mjs → DropDown-C9fS9E6c.mjs} +6 -4
  141. package/dist/esm/chunks/{ErrorSummary-CPsaqCL-.mjs → ErrorSummary-D1WbASIx.mjs} +8 -6
  142. package/dist/esm/chunks/{FileIcon-Ckvm7EOw.mjs → FileIcon-CBNQckHc.mjs} +7 -5
  143. package/dist/esm/chunks/{FileList-D0b6RxKc.mjs → FileList-CK96tECm.mjs} +6 -6
  144. package/dist/esm/chunks/{FlexDiv-D7wQNKz0.mjs → FlexDiv-Cglvd-xT.mjs} +1 -1
  145. package/dist/esm/chunks/{Grouper-BrjPf1Zm.mjs → Grouper-CivlTYk2.mjs} +8 -6
  146. package/dist/esm/chunks/{Icon-DGQB6Mfm.mjs → Icon-CGqm8lg7.mjs} +7 -5
  147. package/dist/esm/chunks/{IconButton-Wffb0Rhg.mjs → IconButton-LsCK8HUU.mjs} +9 -7
  148. package/dist/esm/chunks/{IndexedDB-Cwb-PZNm.mjs → IndexedDB-DNFNyOit.mjs} +8 -4
  149. package/dist/esm/chunks/{Label-BF7Bac6I.mjs → Label-CFUlmEKM.mjs} +5 -3
  150. package/dist/esm/chunks/{Level-DnWQ5mLH.mjs → Level-CAZN_Xt7.mjs} +7 -5
  151. package/dist/esm/chunks/{Modal-BuDVEntK.mjs → Modal-DAU9VnrP.mjs} +9 -6
  152. package/dist/esm/chunks/{ModalController-CWZBh7Dg.mjs → ModalController-axF12LqY.mjs} +6 -4
  153. package/dist/esm/chunks/{Overlay-DXAULyRd.mjs → Overlay-CYvVXNU5.mjs} +2 -2
  154. package/dist/esm/chunks/{Pager-Bjwlh0Vs.mjs → Pager-BvFWzAok.mjs} +2 -2
  155. package/dist/esm/chunks/{ProgressIndicator-C8tli-Jg.mjs → ProgressIndicator-CNTW0t8s.mjs} +7 -5
  156. package/dist/esm/chunks/{PromptInput-JE3EkzEV.mjs → PromptInput-PJIXJMCp.mjs} +14 -10
  157. package/dist/esm/chunks/{RadioButton-BK37fGER.mjs → RadioButton-DipoEV9R.mjs} +3 -3
  158. package/dist/esm/chunks/{RadioButtonList-CPfE3YBM.mjs → RadioButtonList-CDysnTjd.mjs} +3 -3
  159. package/dist/esm/chunks/{Slider-D6nWSQ-A.mjs → Slider-BzX_jQ27.mjs} +8 -6
  160. package/dist/esm/chunks/{Spacer-CWY79s4p.mjs → Spacer-DJKkJpdX.mjs} +1 -1
  161. package/dist/esm/chunks/{Switch-De_cFgOS.mjs → Switch-C8FXGMlJ.mjs} +2 -2
  162. package/dist/esm/chunks/{TabBar-CCq8-TdA.mjs → TabBar-B_pwLZcy.mjs} +11 -9
  163. package/dist/esm/chunks/{TextArea-kAVb9Lpy.mjs → TextArea-BbveliHo.mjs} +8 -6
  164. package/dist/esm/chunks/{TextField-MxcxS6SE.mjs → TextField-D-680Ah3.mjs} +13 -9
  165. package/dist/esm/chunks/{Tip-CuRp-fki.mjs → Tip-IdoSsqpu.mjs} +6 -4
  166. package/dist/esm/chunks/{Toast-CvWVJwrM.mjs → Toast-DNN0M8ds.mjs} +9 -7
  167. package/dist/esm/chunks/{ToggleButton-DpR2FO_I.mjs → ToggleButton-BhRGIiQz.mjs} +6 -6
  168. package/dist/esm/chunks/{UploadArea-ChXIXxSg.mjs → UploadArea-BFEjUf7n.mjs} +10 -8
  169. package/dist/esm/chunks/{Video-D3FSIySJ.mjs → Video-DBF6un3N.mjs} +19 -19
  170. package/dist/esm/chunks/{VideoController-CS6eZwuf.mjs → VideoController-lNXxiYAp.mjs} +15 -11
  171. package/dist/esm/chunks/{WSConnection-DX-v8PDB.mjs → WSConnection-Bd3_THiB.mjs} +1 -1
  172. package/dist/esm/chunks/{WebRTCConnection-KLpY6CZG.mjs → WebRTCConnection-DvF2ENaH.mjs} +1 -1
  173. package/dist/esm/chunks/{browserChannelsStore-BlUi1EOi.mjs → browserChannelsStore-Dkg2yF-s.mjs} +2 -2
  174. package/dist/esm/chunks/{localDBStore-Cqmkk2oq.mjs → localDBStore-DmM1xv6W.mjs} +3 -3
  175. package/dist/esm/chunks/magic-string.es-w54Wbyiz.mjs +722 -0
  176. package/dist/esm/chunks/{microphoneStore-CHjTUEL_.mjs → microphoneStore-B9HEjn8x.mjs} +1 -1
  177. package/dist/esm/chunks/{misc-GB29X0YR.mjs → misc-O5ZSVDP0.mjs} +1 -1
  178. package/dist/esm/chunks/{sseStore-CsFtm_ph.mjs → sseStore-CWOB35p7.mjs} +3 -3
  179. package/dist/esm/chunks/{uploads-worker-DnuyqnvO.mjs → uploads-worker-C4I-bc63.mjs} +1 -1
  180. package/dist/esm/chunks/{uploadsStore-BJkaMc8Q.mjs → uploadsStore-Bx9nAcin.mjs} +1 -1
  181. package/dist/esm/chunks/{viewState-Bz_5JiKf.mjs → viewState-Dv3Y_pc4.mjs} +13 -9
  182. package/dist/esm/chunks/{volumeStore-DBjptppw.mjs → volumeStore-C2AnBA5B.mjs} +1 -1
  183. package/dist/esm/chunks/{webRTCStore-Da4krjmG.mjs → webRTCStore-fNJiXwLR.mjs} +3 -3
  184. package/dist/esm/chunks/{windowStore-DuCMm9ZH.mjs → windowStore-CYsBH-_Y.mjs} +1 -1
  185. package/dist/esm/components/AudioBubble/index.mjs +11 -7
  186. package/dist/esm/components/Avatar/index.mjs +3 -3
  187. package/dist/esm/components/AvatarGroup/index.mjs +4 -4
  188. package/dist/esm/components/Badge/index.mjs +2 -2
  189. package/dist/esm/components/Button/index.mjs +17 -13
  190. package/dist/esm/components/ButtonBar/index.mjs +13 -9
  191. package/dist/esm/components/Camera/index.mjs +13 -9
  192. package/dist/esm/components/CheckBox/index.mjs +11 -7
  193. package/dist/esm/components/Chip/index.mjs +14 -10
  194. package/dist/esm/components/DataTable/index.mjs +14 -10
  195. package/dist/esm/components/DivInput/index.mjs +5 -3
  196. package/dist/esm/components/Dot/index.mjs +2 -2
  197. package/dist/esm/components/DraggablePanel/index.mjs +10 -6
  198. package/dist/esm/components/DropDown/index.mjs +13 -9
  199. package/dist/esm/components/ErrorSummary/index.mjs +10 -6
  200. package/dist/esm/components/FileIcon/index.mjs +10 -6
  201. package/dist/esm/components/FileList/index.mjs +13 -9
  202. package/dist/esm/components/FlexDiv/index.mjs +2 -2
  203. package/dist/esm/components/Grouper/index.mjs +12 -8
  204. package/dist/esm/components/Icon/index.mjs +11 -7
  205. package/dist/esm/components/IconButton/index.mjs +16 -12
  206. package/dist/esm/components/Label/index.mjs +5 -3
  207. package/dist/esm/components/Level/index.mjs +7 -5
  208. package/dist/esm/components/Modal/index.mjs +19 -15
  209. package/dist/esm/components/ModalController/index.mjs +12 -6
  210. package/dist/esm/components/Overlay/index.mjs +2 -2
  211. package/dist/esm/components/Pager/index.mjs +3 -3
  212. package/dist/esm/components/Progress/index.mjs +11 -7
  213. package/dist/esm/components/PromptInput/index.mjs +18 -14
  214. package/dist/esm/components/RadioButton/index.mjs +11 -7
  215. package/dist/esm/components/RadioButtonList/index.mjs +12 -8
  216. package/dist/esm/components/Slider/index.mjs +11 -7
  217. package/dist/esm/components/Spacer/index.mjs +2 -2
  218. package/dist/esm/components/Switch/index.mjs +2 -2
  219. package/dist/esm/components/TabBar/index.mjs +15 -11
  220. package/dist/esm/components/TextArea/index.mjs +18 -14
  221. package/dist/esm/components/Textfield/index.mjs +17 -13
  222. package/dist/esm/components/Tip/index.mjs +5 -3
  223. package/dist/esm/components/Toast/index.mjs +12 -8
  224. package/dist/esm/components/ToggleButton/index.mjs +18 -14
  225. package/dist/esm/components/UploadArea/index.mjs +16 -12
  226. package/dist/esm/components/Video/index.mjs +21 -17
  227. package/dist/esm/components/VideoController/index.mjs +20 -16
  228. package/dist/esm/hooks/useAudioRecorder.mjs +1 -1
  229. package/dist/esm/hooks/useBindWebRTC.mjs +6 -6
  230. package/dist/esm/hooks/useClipboard.mjs +3 -3
  231. package/dist/esm/hooks/useMdStreamBuffer.mjs +3 -3
  232. package/dist/esm/hooks/useMicrophone.mjs +1 -1
  233. package/dist/esm/hooks/useTrackRenders.mjs +2 -2
  234. package/dist/esm/hooks.mjs +8 -8
  235. package/dist/esm/index.mjs +59 -59
  236. package/dist/esm/providers/themeServer.test.mjs +10572 -0
  237. package/dist/esm/stores/LocalDB.mjs +4 -4
  238. package/dist/esm/stores/SSE.mjs +4 -4
  239. package/dist/esm/stores/WS.mjs +3 -3
  240. package/dist/esm/stores/WebRTC.mjs +4 -4
  241. package/dist/esm/stores/browserChannel.mjs +3 -3
  242. package/dist/esm/stores/microphone.mjs +2 -2
  243. package/dist/esm/stores/modal.mjs +1 -1
  244. package/dist/esm/stores/tip.mjs +1 -1
  245. package/dist/esm/stores/toast.mjs +1 -1
  246. package/dist/esm/stores/uploads.mjs +3 -3
  247. package/dist/esm/stores/video.mjs +1 -1
  248. package/dist/esm/stores/volume.mjs +2 -2
  249. package/dist/esm/stores/window.mjs +2 -2
  250. package/dist/esm/stores.mjs +18 -18
  251. package/dist/esm/theme/corners.mjs +8 -8
  252. package/dist/esm/utils/index.mjs +12 -12
  253. package/dist/esm/utils/objects/index.mjs +8 -8
  254. package/dist/esm/workers/uploads/uploads.mjs +2 -2
  255. package/dist/styles.css +2225 -2214
  256. package/dist/types/components/Avatar/_types.d.ts +0 -1
  257. package/dist/types/components/AvatarGroup/_types.d.ts +0 -1
  258. package/dist/types/components/Button/Button.d.ts +0 -4
  259. package/dist/types/components/Button/_types.d.ts +0 -2
  260. package/dist/types/components/ButtonBar/_types.d.ts +0 -3
  261. package/dist/types/components/Chip/_types.d.ts +0 -2
  262. package/dist/types/components/DataTable/_useResizeColumn.test.d.ts +1 -0
  263. package/dist/types/components/DataTable/columnHelper.test.d.ts +1 -0
  264. package/dist/types/components/DivInput/_types.d.ts +0 -1
  265. package/dist/types/components/DraggablePanel/DrggablePanel.d.ts +13 -1
  266. package/dist/types/components/DropDown/_types.d.ts +0 -1
  267. package/dist/types/components/ErrorSummary/_types.d.ts +0 -1
  268. package/dist/types/components/FileList/_types.d.ts +0 -1
  269. package/dist/types/components/Icon/iconRegistry.test.d.ts +1 -0
  270. package/dist/types/components/IconButton/_animation.test.d.ts +1 -0
  271. package/dist/types/components/IconButton/_types.d.ts +3 -3
  272. package/dist/types/components/Label/_types.d.ts +0 -1
  273. package/dist/types/components/Switch/_types.d.ts +0 -2
  274. package/dist/types/components/TextArea/_types.d.ts +0 -1
  275. package/dist/types/components/Tip/_types.d.ts +0 -1
  276. package/dist/types/components/ToggleButton/_types.d.ts +3 -3
  277. package/dist/types/components/UploadArea/UploadArea.d.ts +0 -4
  278. package/dist/types/components/UploadArea/_types.d.ts +0 -2
  279. package/dist/types/components/playHelpers.d.ts +353 -0
  280. package/dist/types/hooks/useBindWebRTC/useBindWebRTC.test.d.ts +1 -0
  281. package/dist/types/hooks/useTrackRenders/useTrackRenders.test.d.ts +1 -0
  282. package/dist/types/providers/themeServer.test.d.ts +1 -0
  283. package/dist/types/stores/LocalDB/localDBStore.test.d.ts +1 -0
  284. package/dist/types/theme/corners/types.d.ts +8 -8
  285. package/dist/types/utils/objects/IndexedDB/IndexedDB.d.ts +3 -0
  286. package/dist/types/utils/objects/IndexedDB/IndexedDB.test.d.ts +1 -0
  287. package/dist/types/utils/objects/MDStreamBuffer/MdStreamBuffer.test.d.ts +1 -0
  288. package/dist/types/utils/objects/WebRTCConnection/WebRTCConnection.test.d.ts +1 -0
  289. package/dist/types/workers/uploads/uploads-worker.test.d.ts +1 -0
  290. package/package.json +2 -1
  291. /package/dist/cjs/chunks/{MdStreamBuffer-Ba-YbQaW.js → MdStreamBuffer-BiFYXGu6.js} +0 -0
  292. /package/dist/cjs/chunks/{SSEConnection-C0XhTcpi.js → SSEConnection-CygPbs0L.js} +0 -0
  293. /package/dist/cjs/chunks/{_types-DEjCVlhp.js → _types-jaI3KEVY.js} +0 -0
  294. /package/dist/cjs/chunks/{audioVisualizer-DFgLMDKW.js → audioVisualizer-Dmtjjosj.js} +0 -0
  295. /package/dist/cjs/chunks/{broadcastChannel-B0l8OE4I.js → broadcastChannel-CRR59lw6.js} +0 -0
  296. /package/dist/cjs/chunks/{colors-jx2QRRls.js → colors-Dok44sXW.js} +0 -0
  297. /package/dist/cjs/chunks/{debounce-CsmIqkDy.js → debounce-C3P6vOcn.js} +0 -0
  298. /package/dist/cjs/chunks/{modalStore-DaB75uoa.js → modalStore--QHdUyuE.js} +0 -0
  299. /package/dist/cjs/chunks/{rafThrottle-DvT0BNgS.js → rafThrottle-DlDdrddz.js} +0 -0
  300. /package/dist/cjs/chunks/{sharedTypes-BT25wBhL.js → sharedTypes-BW_hw-Vb.js} +0 -0
  301. /package/dist/cjs/chunks/{tipStore-Dxda_4EA.js → tipStore-DAb0BV40.js} +0 -0
  302. /package/dist/cjs/chunks/{toastStore-DqWfFw57.js → toastStore-6OcUl7VL.js} +0 -0
  303. /package/dist/cjs/chunks/{tslib.es6-CTGrDO27.js → tslib.es6-Y3RzGMQw.js} +0 -0
  304. /package/dist/cjs/chunks/{videoStore-q-yi22M3.js → videoStore-B2FtqVfG.js} +0 -0
  305. /package/dist/esm/chunks/{MdStreamBuffer-CuqX6fWF.mjs → MdStreamBuffer-D3J2CXWe.mjs} +0 -0
  306. /package/dist/esm/chunks/{SSEConnection-DgwE_V3B.mjs → SSEConnection-5GuqCTf8.mjs} +0 -0
  307. /package/dist/esm/chunks/{_types-n_IXoiPR.mjs → _types-CLPtELrL.mjs} +0 -0
  308. /package/dist/esm/chunks/{audioVisualizer-CLKL6Y79.mjs → audioVisualizer-BO_hMyyp.mjs} +0 -0
  309. /package/dist/esm/chunks/{broadcastChannel-qkn7bL4S.mjs → broadcastChannel-B8FxWRVj.mjs} +0 -0
  310. /package/dist/esm/chunks/{colors-C3CypePZ.mjs → colors-Pe71RB3l.mjs} +0 -0
  311. /package/dist/esm/chunks/{debounce-xuz65F25.mjs → debounce-O12UHVJH.mjs} +0 -0
  312. /package/dist/esm/chunks/{modalStore-DN1F_WR9.mjs → modalStore-CBW78_cT.mjs} +0 -0
  313. /package/dist/esm/chunks/{rafThrottle-B6dxl-O8.mjs → rafThrottle-Cf-gEuLq.mjs} +0 -0
  314. /package/dist/esm/chunks/{sharedTypes-DqPH1p0Q.mjs → sharedTypes-ySBopm8X.mjs} +0 -0
  315. /package/dist/esm/chunks/{tipStore-B_trLnIa.mjs → tipStore-DHu8QqNR.mjs} +0 -0
  316. /package/dist/esm/chunks/{toastStore-BWlW1cRh.mjs → toastStore-EbAo-Cjj.mjs} +0 -0
  317. /package/dist/esm/chunks/{tslib.es6-DGRmn-gx.mjs → tslib.es6-uJhEruZV.mjs} +0 -0
  318. /package/dist/esm/chunks/{videoStore-BxCTQ_tE.mjs → videoStore-TxVsMj8s.mjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var AnimationPreset, AnimationType, tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), Badge = require("./Badge-CWASZI0E.js"), Dot = require("./Dot-ByKZIcva.js"), Icon = require("./Icon-CUbgmUeu.js"), sharedTypes = require("./sharedTypes-BT25wBhL.js"), css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
4
+ var AnimationPreset, AnimationType, tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), theme_corners = require("../theme/corners.js"), Badge = require("./Badge-DNzsgQk9.js"), Dot = require("./Dot-nWPzJqlj.js"), Icon = require("./Icon-VcvTUkMA.js"), sharedTypes = require("./sharedTypes-BW_hw-Vb.js"), css_button = "IconButton-module_button__rziqa flexBox-module_row__z24tF", css_label = "IconButton-module_label__qWGFD flexBox-module_row__z24tF type-module_body-l-regular__lOYbg", css_icon = "IconButton-module_icon__2DDWy flexBox-module_row__z24tF", css_count = "IconButton-module_count__6r373 flexBox-module_row__z24tF";
5
5
 
6
6
  /**
7
7
  * Helper for quick popular animation effects
@@ -99,7 +99,7 @@ const presetAnimation = {
99
99
  transition: transition
100
100
  });
101
101
  }, IconButton = React.memo(props => {
102
- const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = 4, border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-outline-primary)", bgColorOn: bgColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "bgColor", "bgColorHover", "bgColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = React.useRef(null), [on, setOn] = React.useState(isToggled), [hovered, setHovered] = React.useState(!1);
102
+ const {frameSize: frameSize = 36, iconSize: iconSize = 20, round: round = !0, icon: icon = "more", borderRadius: borderRadius = theme_corners.corners["corner-xs"], border: border = !1, tooltip: tooltip, color: color, colorOn: colorOn, iconFill: iconFill = !1, backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-outline-primary)", backgroundColorOn: backgroundColorOn = "var(--core-outline-primary)", iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-text-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", transition: transition, variants: variants, initial: initial, animate: animate, exit: exit, fillColor: fillColor, label: label, hover: hover = !0, count: count = 0, toggle: toggle = !1, toggleIcon: toggleIcon = !1, isToggled: isToggled = !1, disabled: disabled = !1, showDot: showDot = !1, buttonSize: buttonSize = "m", presetAnimations: presetAnimations, customAnimations: customAnimations, onClick: onClick = () => null, onToolTip: onToolTip = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "frameSize", "iconSize", "round", "icon", "borderRadius", "border", "tooltip", "color", "colorOn", "iconFill", "backgroundColor", "backgroundColorHover", "backgroundColorOn", "iconColor", "iconColorOn", "iconColorHover", "transition", "variants", "initial", "animate", "exit", "fillColor", "label", "hover", "count", "toggle", "toggleIcon", "isToggled", "disabled", "showDot", "buttonSize", "presetAnimations", "customAnimations", "onClick", "onToolTip" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", ref = React.useRef(null), [on, setOn] = React.useState(isToggled), [hovered, setHovered] = React.useState(!1);
103
103
  React.useEffect(() => setOn(isToggled), [ isToggled ]);
104
104
  const handleClick = React.useCallback(e => {
105
105
  disabled || (tooltip && onToolTip(null), toggle && setOn(!on), onClick(e));
@@ -116,7 +116,7 @@ const presetAnimation = {
116
116
  onToolTip(tip);
117
117
  }, [ tooltip, onToolTip ]), handleMouseLeave = React.useCallback(() => {
118
118
  setHovered(!1), tooltip && onToolTip(null);
119
- }, [ tooltip, onToolTip ]), bgColorNormal = React.useMemo(() => on ? bgColorOn : null != bgColor ? bgColor : "var(--core-surface-secondary)", [ bgColorOn, bgColor, on ]), bgHoverColor = React.useMemo(() => hover && on ? bgColorOn : hover ? bgColorHover : null != bgColor ? bgColor : "transparent", [ hover, bgColor, bgColorOn, bgColorHover, on ]), textColor = React.useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = React.useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = React.useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = React.useMemo(() => ({
119
+ }, [ tooltip, onToolTip ]), bgColorNormal = React.useMemo(() => on ? backgroundColorOn : null != backgroundColor ? backgroundColor : "var(--core-surface-secondary)", [ backgroundColorOn, backgroundColor, on ]), bgHoverColor = React.useMemo(() => hover && on ? backgroundColorOn : hover ? backgroundColorHover : null != backgroundColor ? backgroundColor : "transparent", [ hover, backgroundColor, backgroundColorOn, backgroundColorHover, on ]), textColor = React.useMemo(() => on ? colorOn : null != color ? color : "var(--core-text-primary)", [ on, colorOn, color ]), setIconColor = React.useMemo(() => on ? iconColorOn : hovered ? iconColorHover : null != iconColor ? iconColor : "var(--core-text-primary)", [ on, iconColorOn, iconColor, iconColorHover, hovered ]), size = React.useMemo(() => buttonSize ? "s" === buttonSize ? 24 : "m" === buttonSize ? 36 : "l" === buttonSize ? 44 : "xl" === buttonSize ? 56 : void 0 : frameSize, [ frameSize, buttonSize ]), cssVars = React.useMemo(() => ({
120
120
  "--ib-bg-color": bgColorNormal,
121
121
  "--ib-bg-color-hover": disabled ? bgColorNormal : bgHoverColor,
122
122
  "--ib-icon-size": `${null != iconSize ? iconSize : 0}px`,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js");
3
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js");
4
4
 
5
5
  exports.IndexedDB = class {
6
6
  constructor(storeName, options = {}) {
@@ -43,7 +43,8 @@ exports.IndexedDB = class {
43
43
  * Get a single DB value by key.
44
44
  */ get(key) {
45
45
  return tslib_es6.__awaiter(this, void 0, void 0, function*() {
46
- return this.runRequest("readonly", store => store.get(key));
46
+ const value = yield this.runRequest("readonly", store => store.get(key));
47
+ return null != value ? value : null;
47
48
  });
48
49
  }
49
50
  /**
@@ -62,15 +63,18 @@ exports.IndexedDB = class {
62
63
  }
63
64
  set(key, value) {
64
65
  return tslib_es6.__awaiter(this, void 0, void 0, function*() {
65
- return this.runRequest("readwrite", store => store.put(value, key));
66
+ return this.runRequest("readwrite", store => this.key ? store.put(value) : store.put(value, key));
66
67
  });
67
68
  }
68
69
  /**
69
70
  * Adds a new value to the store with or without a key.
70
71
  * If a key already exists it will error.
72
+ *
73
+ * As with `set()`, a store configured with an in-line key path must never
74
+ * be given an explicit key - it is always derived from the value.
71
75
  */ add(value, key) {
72
76
  return tslib_es6.__awaiter(this, void 0, void 0, function*() {
73
- return this.runRequest("readwrite", store => void 0 === key ? store.add(value) : store.add(value, key));
77
+ return this.runRequest("readwrite", store => this.key || void 0 === key ? store.add(value) : store.add(value, key));
74
78
  });
75
79
  }
76
80
  /**
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var LabelBackground, tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), css = {
4
+ var LabelBackground, tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), css = {
5
5
  label: "Label-module_label__RaRvM",
6
6
  button: "Label-module_button__N8bcQ type-module_body-m-regular__LuQBA",
7
7
  xs: "Label-module_xs__K9Ai6 type-module_body-xs-regular__ZAFft",
@@ -21,7 +21,7 @@ exports.LabelBackground = void 0, (LabelBackground = exports.LabelBackground ||
21
21
  LabelBackground.yellow = "yellow", LabelBackground.green = "green", LabelBackground.blue = "blue",
22
22
  LabelBackground.grey = "grey", LabelBackground.lightGrey = "lightGrey", LabelBackground.white = "white",
23
23
  exports.Label = function(props) {
24
- const {children: children, label: label, backgroundColor: backgroundColor, borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", bgColor: bgColor = "transparent", borderRadius: borderRadius = 4, padding: padding, textColor: textColor = "var(--core-text-primary)", textSize: textSize = "s", onClick: onClick} = props, divAttributes = tslib_es6.__rest(props, [ "children", "label", "backgroundColor", "borderWidth", "borderSize", "borderColor", "bgColor", "borderRadius", "padding", "textColor", "textSize", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", isInteractive = Boolean(onClick), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, handleClick = React.useCallback(e => {
24
+ const {children: children, label: label, backgroundColor: backgroundColor = "transparent", borderWidth: borderWidth, borderSize: borderSize = 1, borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = theme_corners.corners["corner-xs"], padding: padding, textColor: textColor = "var(--core-text-primary)", textSize: textSize = "s", onClick: onClick} = props, divAttributes = tslib_es6.__rest(props, [ "children", "label", "backgroundColor", "borderWidth", "borderSize", "borderColor", "borderRadius", "padding", "textColor", "textSize", "onClick" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", isInteractive = Boolean(onClick), resolvedBackgroundColor = backgroundColor, resolvedBorderWidth = null != borderWidth ? borderWidth : borderSize, handleClick = React.useCallback(e => {
25
25
  isInteractive && (null == onClick || onClick(e));
26
26
  }, [ isInteractive, onClick ]), setBgColor = React.useMemo(() => {
27
27
  if (!resolvedBackgroundColor) return "transparent";
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), audioVisualizer = require("./audioVisualizer-DFgLMDKW.js");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), audioVisualizer = require("./audioVisualizer-Dmtjjosj.js");
5
5
 
6
- require("./broadcastChannel-B0l8OE4I.js");
6
+ require("./broadcastChannel-CRR59lw6.js");
7
7
 
8
8
  var css_wrapper = "Level-module_wrapper__yOfXw", css_barContainer = "Level-module_barContainer__QMUdv", css_bar = "Level-module_bar__MnApX";
9
9
 
10
10
  const Level = React.memo(function(props) {
11
- const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius = 4, borderColor: borderColor = "transparent", borderWidth: borderWidth = 0, colorActive: colorActive = "var(--feedback-positive)", backgroundColor: backgroundColor = "var(--core-surface-primary-tint)"} = props, divAttributes = tslib_es6.__rest(props, [ "width", "height", "gap", "audioStream", "playing", "minIntensity", "maxIntensity", "intensity", "peakIntensity", "risePerSeconds", "releasePerSeconds", "ReleasePerSeconds", "borderRadius", "borderColor", "borderWidth", "colorActive", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", visualizerRef = React.useRef(null), [normalizedIntensity, setNormalizedIntensity] = React.useState(0), totalBars = Math.max(1, Math.floor(maxIntensity)), minBars = Math.max(0, Math.min(Math.floor(minIntensity), totalBars)), releaseRate = null != releasePerSeconds ? releasePerSeconds : ReleasePerSeconds, intensityIntervals = React.useMemo(() => new Array(totalBars).fill(0).map((_, index) => index), [ totalBars ]), activeBars = React.useMemo(() => {
11
+ const {width: width = 100, height: height = 4, gap: gap = 0, audioStream: audioStream, playing: playing = !1, minIntensity: minIntensity = 0, maxIntensity: maxIntensity = 5, intensity: intensity = 3.5, peakIntensity: peakIntensity = .5, risePerSeconds: risePerSeconds = 4, releasePerSeconds: releasePerSeconds, ReleasePerSeconds: ReleasePerSeconds = 1.5, borderRadius: borderRadius = theme_corners.corners["corner-xs"], borderColor: borderColor = "transparent", borderWidth: borderWidth = 0, colorActive: colorActive = "var(--feedback-positive)", backgroundColor: backgroundColor = "var(--core-surface-primary-tint)"} = props, divAttributes = tslib_es6.__rest(props, [ "width", "height", "gap", "audioStream", "playing", "minIntensity", "maxIntensity", "intensity", "peakIntensity", "risePerSeconds", "releasePerSeconds", "ReleasePerSeconds", "borderRadius", "borderColor", "borderWidth", "colorActive", "backgroundColor" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", visualizerRef = React.useRef(null), [normalizedIntensity, setNormalizedIntensity] = React.useState(0), totalBars = Math.max(1, Math.floor(maxIntensity)), minBars = Math.max(0, Math.min(Math.floor(minIntensity), totalBars)), releaseRate = null != releasePerSeconds ? releasePerSeconds : ReleasePerSeconds, intensityIntervals = React.useMemo(() => new Array(totalBars).fill(0).map((_, index) => index), [ totalBars ]), activeBars = React.useMemo(() => {
12
12
  const scaledBars = Math.round(minBars + normalizedIntensity * (totalBars - minBars));
13
13
  return Math.max(minBars, Math.min(scaledBars, totalBars));
14
14
  }, [ minBars, normalizedIntensity, totalBars ]), visualizerSettings = React.useMemo(() => ({
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), Button = require("./Button-kzWt5lcL.js"), Icon = require("./Icon-CUbgmUeu.js"), IconButton = require("./IconButton-BbgyyMjG.js"), css = {
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), Button = require("./Button-GrPLJIBP.js"), Icon = require("./Icon-VcvTUkMA.js"), IconButton = require("./IconButton-Cz7iTVhO.js"), css = {
5
5
  wrapper: "Modal-module_wrapper__34Hds flexBox-module_columnBetween__ERfp7",
6
6
  title: "Modal-module_title__A5OeE flexBox-module_rowBetween__5FEvi",
7
7
  titleBlock: "Modal-module_titleBlock__HUepX flexBox-module_rowStart__4tcxS",
@@ -19,7 +19,7 @@ var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/
19
19
  };
20
20
 
21
21
  const Modal = React.memo(props => {
22
- const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = 8, borderWidth: borderWidth = 1} = props, rest = tslib_es6.__rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = React.useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = React.useState(!1), getScrolls = React.useCallback(() => {
22
+ const {children: children, id: id, className: className, style: style, minWidth: minWidth = 300, minHeight: minHeight = 200, maxHeight: maxHeight = 400, maxWidth: maxWidth = 400, padding: padding, close: close = !0, title: title, titleTextSize: titleTextSize = "l", contentTextSize: contentTextSize = "m", actions: actions, titleIcon: titleIcon, titleIconFill: titleIconFill = !0, titleBorderColor: titleBorderColor = "var(--core-outline-primary)", titleBorderWidth: titleBorderWidth = 0, actionsBorderColor: actionsBorderColor = "var(--core-outline-primary)", actionsBorderWidth: actionsBorderWidth = 0, autoBorderBottom: autoBorderBottom = !0, onAction: onAction, onReject: onReject, onResolve: onResolve, onClose: onClose, onToolTip: onToolTip, onDragPointerDown: onDragPointerDown, backgroundColor: backgroundColor = "var(--core-surface-secondary)", scrollHandleColor: scrollHandleColor = "var(--core-text-disabled)", scrollHandleColorHover: scrollHandleColorHover = "var(--core-text-disabled)", titleColor: titleColor = "var(--core-text-special)", borderColor: borderColor = "var(--core-outline-primary)", borderRadius: borderRadius = theme_corners.corners["corner-m"], borderWidth: borderWidth = 1} = props, rest = tslib_es6.__rest(props, [ "children", "id", "className", "style", "minWidth", "minHeight", "maxHeight", "maxWidth", "padding", "close", "title", "titleTextSize", "contentTextSize", "actions", "titleIcon", "titleIconFill", "titleBorderColor", "titleBorderWidth", "actionsBorderColor", "actionsBorderWidth", "autoBorderBottom", "onAction", "onReject", "onResolve", "onClose", "onToolTip", "onDragPointerDown", "backgroundColor", "scrollHandleColor", "scrollHandleColorHover", "titleColor", "borderColor", "borderRadius", "borderWidth" ]), contentWrapperRef = React.useRef(null), modalStyle = null != style ? style : {}, modalClass = className ? ` ${className}` : "", [scrolls, setScrolls] = React.useState(!1), getScrolls = React.useCallback(() => {
23
23
  var _a, _b;
24
24
  const height = null === (_a = contentWrapperRef.current) || void 0 === _a ? void 0 : _a.offsetHeight, scrollHeight = null === (_b = contentWrapperRef.current) || void 0 === _b ? void 0 : _b.scrollHeight;
25
25
  return !(!height || !scrollHeight) && height < scrollHeight;
@@ -93,6 +93,7 @@ const Modal = React.memo(props => {
93
93
  className: css.titleIcon,
94
94
  children: jsxRuntime.jsx(IconButton.IconButton, {
95
95
  tooltip: "close",
96
+ "aria-label": "close",
96
97
  icon: "x",
97
98
  onClick: () => {
98
99
  null == onReject || onReject(new Error("Modal was closed", {
@@ -3,9 +3,10 @@
3
3
 
4
4
  var jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react");
5
5
 
6
- require("./microphoneStore-Ch3VVm4T.js"), require("./volumeStore-CA9Pdx5e.js");
6
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
7
+ require("./webRTCStore-XciamNCa.js");
7
8
 
8
- var Overlay = require("./Overlay-QprT1IaK.js"), modalStore = require("./modalStore-DaB75uoa.js"), css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
9
+ var Overlay = require("./Overlay-B0jNgBu3.js"), modalStore = require("./modalStore--QHdUyuE.js"), css_container = "ModalController-module_container__3cSaO", css_box = "ModalController-module_box__cPzOz", css_wrapper = "ModalController-module_wrapper__HkOoX flexBox-module_row__z24tF";
9
10
 
10
11
  const defaultTransition = {
11
12
  ease: "easeOut",
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_overlay = "Overlay-module_overlay__EkbfA";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_overlay = "Overlay-module_overlay__EkbfA";
5
5
 
6
6
  const defaultTransition = {
7
7
  ease: "easeOut",
8
8
  duration: .25
9
9
  }, Overlay = React.memo(props => {
10
- const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity = 0, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = React.useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = React.useCallback(() => {
10
+ const {children: children, show: show = !1, type: type = "clear", global: global = !1, overlay: overlay, color: color = "rgb(0,0,0)", opacity: opacity, transition: transition = defaultTransition, onClick: onClick = () => null, toggleOverlay: toggleOverlay = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "children", "show", "type", "global", "overlay", "color", "opacity", "transition", "onClick", "toggleOverlay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", computedOpacity = React.useMemo(() => "clear" === type ? 0 : void 0 !== opacity ? opacity : "dark" === type ? .8 : 0, [ type, opacity ]), handleClick = React.useCallback(() => {
11
11
  global && toggleOverlay(!1), onClick();
12
12
  }, [ global, toggleOverlay, onClick ]), handleContextMenu = React.useCallback(e => {
13
13
  e.preventDefault();
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-B2oK3rIL.js"), 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";
5
5
 
6
6
  const Pager = React.memo(props => {
7
7
  const {size: size = 8, index: index = 0, color: color, colorHover: colorHover, colorOn: colorOn, pages: pages = 2, gap: gap = 4, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "size", "index", "color", "colorHover", "colorOn", "pages", "gap", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [selected, setSelected] = React.useState(index), bullets = React.useMemo(() => Array.from({
@@ -5,12 +5,13 @@ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_u
5
5
 
6
6
  require("../theme/colors.js"), require("../theme/type.js");
7
7
 
8
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js");
8
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
11
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
12
+ require("../hooks/useWindow.js");
12
13
 
13
- var Icon = require("./Icon-CUbgmUeu.js"), react = require("motion/react"), css$1_wrapper = "DoneCheck-module_wrapper__AlISD flexBox-module_row__z24tF", css$1_icon = "DoneCheck-module_icon__bKaFp flexBox-module_row__z24tF";
14
+ var Icon = require("./Icon-VcvTUkMA.js"), react = require("motion/react"), css$1_wrapper = "DoneCheck-module_wrapper__AlISD flexBox-module_row__z24tF", css$1_icon = "DoneCheck-module_icon__bKaFp flexBox-module_row__z24tF";
14
15
 
15
16
  const DoneCheck = React.memo(props => {
16
17
  const theme = hooks_useTheme.useTheme(), {size: size = 88, stroke: stroke = 1.5, color: color = theme.current.colors["feedback-positive"], play: play = !0, delay: delay = 5, duration: duration = 1, didStart: didStart, didEnd: didEnd} = props, [playing, setPlaying] = React.useState(!play);
@@ -3,14 +3,19 @@
3
3
 
4
4
  var jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
- require("../theme/colors.js"), require("../theme/type.js"), require("./tslib.es6-CTGrDO27.js");
6
+ require("../theme/colors.js");
7
7
 
8
- var misc = require("./misc-BNlFh_4N.js");
8
+ var theme_corners = require("../theme/corners.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("../theme/type.js"), require("./tslib.es6-Y3RzGMQw.js");
12
11
 
13
- var Button = require("./Button-kzWt5lcL.js"), FileList = require("./FileList-C3KR7jHj.js"), css = {
12
+ var misc = require("./misc-B2oK3rIL.js");
13
+
14
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
15
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
16
+ require("../hooks/useWindow.js");
17
+
18
+ var Button = require("./Button-GrPLJIBP.js"), FileList = require("./FileList-NDj9e_To.js"), css = {
14
19
  wrapperBg: "PromptInput-module_wrapperBg__zabZq flexBox-module_columnStart__C7P44",
15
20
  bgRotate: "PromptInput-module_bgRotate__Um720",
16
21
  textareaWrapper: "PromptInput-module_textareaWrapper__KusiV flexBox-module_columnStart__C7P44",
@@ -27,7 +32,7 @@ var Button = require("./Button-kzWt5lcL.js"), FileList = require("./FileList-C3K
27
32
  };
28
33
 
29
34
  const PromptInputBase = React.forwardRef((props, ref) => {
30
- const {children: children, attachments: attachments = [], value: value = "", width: width = "100%", maxWidth: maxWidth, minWidth: minWidth, working: working = !1, maxHeight: maxHeight, attachmentsDisabled: attachmentsDisabled = !1, submitWorking: submitWorking = !1, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius = 8, focused: focused = !1, placeholder: placeholder = "Ask me anything ...", placeholderWorking: placeholderWorking = "Working ...", submitClears: submitClears = !0, enterSubmits: enterSubmits = !0, attachButton: attachButton = !0, sendButton: sendButton = !0, stopEnabled: stopEnabled = !1, textSize: textSize = "m", maxLength: maxLength, toolbarGap: toolbarGap = 8, onChange: onChange, onBlur: onBlur, onFocus: onFocus, onSubmit: onSubmit, onStop: onStop, onAttachmentsChange: onAttachmentsChange} = props, {isDark: isDark} = hooks_useTheme.useTheme(), [isFocused, setIsFocused] = React.useState(null != focused && focused), [textValue, setTextValue] = React.useState(value), textAreaRef = React.useRef(null), handleFocus = React.useCallback(() => {
35
+ const {children: children, attachments: attachments = [], value: value = "", width: width = "100%", maxWidth: maxWidth, minWidth: minWidth, working: working = !1, maxHeight: maxHeight, attachmentsDisabled: attachmentsDisabled = !1, submitWorking: submitWorking = !1, borderStyle: borderStyle = "gradient", borderColor: borderColor, borderColorOn: borderColorOn, borderAnimate: borderAnimate = !0, borderWidth: borderWidth = 1, borderRadius: borderRadius = theme_corners.corners["corner-m"], focused: focused = !1, placeholder: placeholder = "Ask me anything ...", placeholderWorking: placeholderWorking = "Working ...", submitClears: submitClears = !0, enterSubmits: enterSubmits = !0, attachButton: attachButton = !0, sendButton: sendButton = !0, stopEnabled: stopEnabled = !1, textSize: textSize = "m", maxLength: maxLength, toolbarGap: toolbarGap = 8, onChange: onChange, onBlur: onBlur, onFocus: onFocus, onSubmit: onSubmit, onStop: onStop, onAttachmentsChange: onAttachmentsChange} = props, {isDark: isDark} = hooks_useTheme.useTheme(), [isFocused, setIsFocused] = React.useState(null != focused && focused), [textValue, setTextValue] = React.useState(value), textAreaRef = React.useRef(null), handleFocus = React.useCallback(() => {
31
36
  var _a, _b;
32
37
  setIsFocused(!0), null === (_a = null == textAreaRef ? void 0 : textAreaRef.current) || void 0 === _a || _a.focus(),
33
38
  null == onFocus || onFocus(null === (_b = textAreaRef.current) || void 0 === _b ? void 0 : _b.value, attachments);
@@ -96,7 +101,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
96
101
  children: jsxRuntime.jsx(FileList.FileList, {
97
102
  files: attachments,
98
103
  onChange: handleAttachmentsChange,
99
- bgColor: "var(--core-surface-primary)",
104
+ backgroundColor: "var(--core-surface-primary)",
100
105
  textSize: "s",
101
106
  direction: "row",
102
107
  gap: 8,
@@ -139,7 +144,7 @@ const PromptInputBase = React.forwardRef((props, ref) => {
139
144
  iconLeft: stopEnabled ? "stop" : "arrow up",
140
145
  iconSize: stopEnabled ? 16 : 20,
141
146
  state: sendButtonState,
142
- bgColorDisabled: "var(--core-outline-primary)",
147
+ backgroundColorDisabled: "var(--core-outline-primary)",
143
148
  progress: !stopEnabled,
144
149
  working: submitWorking && working,
145
150
  onMouseDown: handleClickSend,
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), Icon = require("./Icon-CUbgmUeu.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-B2oK3rIL.js"), Icon = require("./Icon-VcvTUkMA.js"), 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";
5
5
 
6
6
  function RadioButtonComponent(props) {
7
7
  const {label: label, children: children, fieldName: fieldName, value: value, selected: selected = !1, controlType: controlType = "radio", deselect: deselect = !0, tabIndex: tabIndex = 0, wrap: wrap = !1, list: list = !1, hideRadio: hideRadio = !1, noFrame: noFrame = !0, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconColor: iconColor, gap: gap = 6, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "label", "children", "fieldName", "value", "selected", "controlType", "deselect", "tabIndex", "wrap", "list", "hideRadio", "noFrame", "icon", "checkedIcon", "iconColor", "gap", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [isSelected, setIsSelected] = React.useState(selected);
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), RadioButton = require("./RadioButton-SqAqjkcO.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), misc = require("./misc-B2oK3rIL.js"), RadioButton = require("./RadioButton-oZxMZCpd.js"), 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";
5
5
 
6
6
  function RadioButtonListComponent(props) {
7
7
  const {width: width = "min-content", options: options = [], selectedIndexes: selectedIndexes = null, selectedOptions: selectedOptions = null, label: label = null, deselect: deselect = !1, multiSelect: multiSelect = !1, wrap: wrap = !1, tabIndexSeed: tabIndexSeed = 0, spacer: spacer = "none", custom: custom = 0, gap: gap = 16, hideRadio: hideRadio = !1, noFrame: noFrame = !0, toggleIcon: toggleIcon = !0, iconColor: iconColor, icon: icon = "circle", checkedIcon: checkedIcon = "check circle", iconSelectedColor: iconSelectedColor, onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "width", "options", "selectedIndexes", "selectedOptions", "label", "deselect", "multiSelect", "wrap", "tabIndexSeed", "spacer", "custom", "gap", "hideRadio", "noFrame", "toggleIcon", "iconColor", "icon", "checkedIcon", "iconSelectedColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", labelId = React.useId(), [selected, setSelected] = React.useState(selectedIndexes);
@@ -1,14 +1,15 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
5
5
 
6
6
  require("../theme/colors.js"), require("../theme/type.js");
7
7
 
8
- var misc = require("./misc-BNlFh_4N.js"), debounce = require("./debounce-CsmIqkDy.js");
8
+ var misc = require("./misc-B2oK3rIL.js"), debounce = require("./debounce-C3P6vOcn.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
11
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
12
+ require("../hooks/useWindow.js");
12
13
 
13
14
  var hooks_useObserveResize = require("../hooks/useObserveResize.js"), css_wrapper = "Slider-module_wrapper__KCCs1", css_trackBg = "Slider-module_trackBg__7zfqm flexBox-module_rowStart__4tcxS", css_track = "Slider-module_track__kaJkL flexBox-module_rowStart__4tcxS", css_trackHead = "Slider-module_trackHead__W-UdG", css_trackWrapper = "Slider-module_trackWrapper__Ot0Wh flexBox-module_rowStart__4tcxS";
14
15
 
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react");
5
5
 
6
6
  const Spacer = React.memo(props => {
7
7
  const {size: size = 8} = props, divAttributes = tslib_es6.__rest(props, [ "size" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), spacerStyle = React.useMemo(() => ({
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), css_wrapper = "Switch-module_wrapper__kudO9 flexBox-module_row__z24tF", css_knob = "Switch-module_knob__vKNOc flexBox-module_row__z24tF";
5
5
 
6
6
  function SwitchComponent(props) {
7
- const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn, backgroundColorOff: backgroundColorOff, bgColorOn: bgColorOn = "var(--feedback-positive)", bgColorOff: bgColorOff = "var(--core-text-disabled)", knobColor: knobColor = "var(--core-surface-primary)", onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "bgColorOn", "bgColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = React.useState(state), resolvedBackgroundColorOn = null != backgroundColorOn ? backgroundColorOn : bgColorOn, resolvedBackgroundColorOff = null != backgroundColorOff ? backgroundColorOff : bgColorOff;
7
+ const {fieldName: fieldName, state: state = !1, value: value, height: height = 22, width: width = 44, padding: padding = 3, backgroundColorOn: backgroundColorOn = "var(--feedback-positive)", backgroundColorOff: backgroundColorOff = "var(--core-text-disabled)", knobColor: knobColor = "var(--core-surface-primary)", onChange: onChange = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "fieldName", "state", "value", "height", "width", "padding", "backgroundColorOn", "backgroundColorOff", "knobColor", "onChange" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", [on, setOn] = React.useState(state), resolvedBackgroundColorOn = backgroundColorOn, resolvedBackgroundColorOff = backgroundColorOff;
8
8
  React.useEffect(() => {
9
9
  setOn(state);
10
10
  }, [ state ]);
@@ -1,16 +1,17 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
6
  require("../theme/colors.js"), require("../theme/type.js");
7
7
 
8
- var misc = require("./misc-BNlFh_4N.js");
8
+ var misc = require("./misc-B2oK3rIL.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
11
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
12
+ require("../hooks/useWindow.js");
12
13
 
13
- var Badge = require("./Badge-CWASZI0E.js"), Icon = require("./Icon-CUbgmUeu.js"), IconButton = require("./IconButton-BbgyyMjG.js"), sharedTypes = require("./sharedTypes-BT25wBhL.js"), css = {
14
+ var Badge = require("./Badge-DNzsgQk9.js"), Icon = require("./Icon-VcvTUkMA.js"), IconButton = require("./IconButton-Cz7iTVhO.js"), sharedTypes = require("./sharedTypes-BW_hw-Vb.js"), css = {
14
15
  wrapper: "TabBar-module_wrapper__cyOR1 flexBox-module_rowStart__4tcxS",
15
16
  option: "TabBar-module_option__gYjDf flexBox-module_row__z24tF",
16
17
  icon: "TabBar-module_icon__JDgG3 flexBox-module_row__z24tF",
@@ -1,13 +1,13 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), Button = require("./Button-kzWt5lcL.js"), 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";
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), React = require("react"), theme_corners = require("../theme/corners.js"), Button = require("./Button-GrPLJIBP.js"), 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";
5
5
 
6
6
  const TextArea = React.memo(props => {
7
- const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = 4, padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
7
+ const {value: value = "", name: name = "text_area", width: width = "100%", height: height = "auto", focused: focused = !1, placeholder: placeholder = "Enter text here...", rows: rows = 6, border: border = !0, borderRadius: borderRadius = theme_corners.corners["corner-xs"], padding: padding = "16px 4px 16px 16px", error: error = !1, resizable: resizable = !0, hasSend: hasSend = !1, sendOffset: sendOffset = {
8
8
  bottom: 10,
9
9
  right: 10
10
- }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, bgColor: bgColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "bgColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, [isFocused, setIsFocused] = React.useState(focused), [text, setText] = React.useState(value), ref = React.useRef(null), handleResize = React.useCallback(() => {
10
+ }, sendSize: sendSize = 36, returnSubmits: returnSubmits = !1, backgroundColor: backgroundColor, minWidth: minWidth, textSize: textSize = "m", disabled: disabled = !1, submitClears: submitClears = !0, maxLength: maxLength, onChange: onChange = () => null, onFocus: onFocus = () => null, onBlur: onBlur = () => null, onSubmit: onSubmit = () => null, onKeyDown: onKeyDown = () => null} = props, divAttributes = tslib_es6.__rest(props, [ "value", "name", "width", "height", "focused", "placeholder", "rows", "border", "borderRadius", "padding", "error", "resizable", "hasSend", "sendOffset", "sendSize", "returnSubmits", "backgroundColor", "minWidth", "textSize", "disabled", "submitClears", "maxLength", "onChange", "onFocus", "onBlur", "onSubmit", "onKeyDown" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", resolvedBackgroundColor = backgroundColor, [isFocused, setIsFocused] = React.useState(focused), [text, setText] = React.useState(value), ref = React.useRef(null), handleResize = React.useCallback(() => {
11
11
  (null == ref ? void 0 : ref.current) && (ref.current.style.height = "auto", ref.current.style.height = `${ref.current.scrollHeight}px`);
12
12
  }, []);
13
13
  React.useEffect(() => {
@@ -23,8 +23,8 @@ const TextArea = React.memo(props => {
23
23
  var _a, _b;
24
24
  setIsFocused(!1), onBlur(null !== (_b = null === (_a = ref.current) || void 0 === _a ? void 0 : _a.value) && void 0 !== _b ? _b : "");
25
25
  }, [ onBlur ]), handleSubmit = React.useCallback(e => {
26
- null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && setText(""),
27
- (null == ref ? void 0 : ref.current) && (ref.current.value = ""), handleResize();
26
+ null == e || e.preventDefault(), handleFocus(), onSubmit(text), submitClears && (setText(""),
27
+ ref.current && (ref.current.value = "")), handleResize();
28
28
  }, [ handleFocus, onSubmit, text, submitClears, handleResize ]), handleKeyDownWrapper = React.useCallback(e => {
29
29
  returnSubmits && "Enter" === e.key && (e.preventDefault(), e.stopPropagation(),
30
30
  handleSubmit(void 0)), onKeyDown(e);
@@ -1,16 +1,21 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
- require("../theme/colors.js"), require("../theme/type.js");
6
+ require("../theme/colors.js");
7
7
 
8
- var misc = require("./misc-BNlFh_4N.js");
8
+ var theme_corners = require("../theme/corners.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("../theme/type.js");
12
11
 
13
- var Button = require("./Button-kzWt5lcL.js"), Icon = require("./Icon-CUbgmUeu.js"), IconButton = require("./IconButton-BbgyyMjG.js"), css = {
12
+ var misc = require("./misc-B2oK3rIL.js");
13
+
14
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
15
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
16
+ require("../hooks/useWindow.js");
17
+
18
+ var Button = require("./Button-GrPLJIBP.js"), Icon = require("./Icon-VcvTUkMA.js"), IconButton = require("./IconButton-Cz7iTVhO.js"), css = {
14
19
  wrapper: "TextField-module_wrapper__qZ-p- flexBox-module_rowStart__4tcxS",
15
20
  container: "TextField-module_container__5U9yK flexBox-module_rowStart__4tcxS",
16
21
  label: "TextField-module_label__jD8MR flexBox-module_rowStart__4tcxS",
@@ -44,7 +49,7 @@ const MOTION_CONFIG = {
44
49
  const theme = hooks_useTheme.useTheme(), {name: name = "input_name", value: value = "", label: label, labelSize: labelSize = "m", textSize: textSize = "m", placeholder: placeholder = "placeholder", focused: focused = !1, onSubmit: onSubmit = () => null, onChange: onChange = () => null, onBlur: onBlur = () => null, onFocus: onFocus = () => null, onKeydown: onKeydown = () => null, onAction: onAction = () => null, onPaste: onPaste = () => null, onClear: onClear = () => null, actionButton: actionButton = !1, maxLength: maxLength, size: size = {
45
50
  width: "100%",
46
51
  height: "auto"
47
- }, padding: padding, borderRadius: borderRadius = 8, editable: editable = !0, textAlign: textAlign = "left", inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", error: error = !1, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft, clearButton: clearButton = {
52
+ }, padding: padding, borderRadius: borderRadius = theme_corners.corners["corner-m"], editable: editable = !0, textAlign: textAlign = "left", inline: inline = !1, noShow: noShow = !1, borderType: borderType = "box", error: error = !1, borderColorFocused: borderColorFocused = "var(--core-link-primary)", borderColorBlurred: borderColorBlurred = "var(--core-outline-primary)", borderColorError: borderColorError = "var(--feedback-warning)", backgroundColorFocused: backgroundColorFocused = "var(--core-surface-secondary)", backgroundColorBlurred: backgroundColorBlurred = "var(--core-surface-secondary)", textColorFocused: textColorFocused = "var(--core-text-primary)", textColorBlurred: textColorBlurred = "var(--core-text-primary)", textColorError: textColorError = "var(--feedback-warning)", textColorPlaceholder: textColorPlaceholder = "var(--core-text-disabled)", textColorDisabled: textColorDisabled = "var(--core-text-disabled)", labelColor: labelColor = "var(--core-text-primary)", iconLeft: iconLeft, clearButton: clearButton = {
48
53
  size: 20
49
54
  }, clearBlurs: clearBlurs = !1, disabled: disabled = !1, inputType: inputType = "text"} = props, divAttributes = tslib_es6.__rest(props, [ "name", "value", "label", "labelSize", "textSize", "placeholder", "focused", "onSubmit", "onChange", "onBlur", "onFocus", "onKeydown", "onAction", "onPaste", "onClear", "actionButton", "maxLength", "size", "padding", "borderRadius", "editable", "textAlign", "inline", "noShow", "borderType", "error", "borderColorFocused", "borderColorBlurred", "borderColorError", "backgroundColorFocused", "backgroundColorBlurred", "textColorFocused", "textColorBlurred", "textColorError", "textColorPlaceholder", "textColorDisabled", "labelColor", "iconLeft", "clearButton", "clearBlurs", "disabled", "inputType" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? ` ${className}` : "", input = React.useRef(null), [text, setText] = React.useState(value), [isFocused, setIsFocused] = React.useState(focused), [show, setShow] = React.useState(!1);
50
55
  React.useEffect(() => {
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), misc = require("./misc-BNlFh_4N.js"), css = {
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), theme_corners = require("../theme/corners.js"), misc = require("./misc-B2oK3rIL.js"), css = {
5
5
  wrapper: "Tip-module_wrapper__D7ACT flexBox-module_rowStart__4tcxS",
6
6
  xs: "Tip-module_xs__wsz9y type-module_body-xs-regular__ZAFft",
7
7
  s: "Tip-module_s__Wvz3q type-module_body-s-regular__vRHSP",
@@ -15,7 +15,7 @@ const tipBasePos = {
15
15
  top: 0
16
16
  }, TipBase = React.forwardRef((props, ref) => {
17
17
  var _a;
18
- const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor, bgColor: bgColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = tslib_es6.__rest(props, [ "tip", "textSize", "backgroundColor", "bgColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = React.useState(tipBasePos), [ready, setReady] = React.useState(!1), [animate, setAnimate] = React.useState(!1), timer = React.useRef(null), resolvedBackgroundColor = null != backgroundColor ? backgroundColor : bgColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
18
+ const {tip: tip, textSize: textSize = "s", backgroundColor: backgroundColor, textColor: textColor, color: color, border: border = !0, borderColor: borderColor, padding: padding, borderRadius: borderRadius, radius: radius, coords: coords, showDelay: showDelay = 500, hideDelay: hideDelay = 2500} = props, divAttributes = tslib_es6.__rest(props, [ "tip", "textSize", "backgroundColor", "textColor", "color", "border", "borderColor", "padding", "borderRadius", "radius", "coords", "showDelay", "hideDelay" ]), {id: divId, className: className, style: style} = divAttributes, rest = tslib_es6.__rest(divAttributes, [ "id", "className", "style" ]), divStyle = null != style ? style : {}, divClass = className ? `${className}` : "", [pos, setPos] = React.useState(tipBasePos), [ready, setReady] = React.useState(!1), [animate, setAnimate] = React.useState(!1), timer = React.useRef(null), resolvedBackgroundColor = backgroundColor, resolvedTextColor = null != textColor ? textColor : color, resolvedBorderRadius = null != borderRadius ? borderRadius : radius;
19
19
  React.useEffect(() => {
20
20
  timer.current && clearTimeout(timer.current);
21
21
  const {x: x, y: y} = null != coords ? coords : {
@@ -45,7 +45,7 @@ const tipBasePos = {
45
45
  "--tooltip-background": null != resolvedBackgroundColor ? resolvedBackgroundColor : "var(--core-surface-secondary)",
46
46
  "--tooltip-color": null != resolvedTextColor ? resolvedTextColor : "var(--core-text-primary)",
47
47
  "--tooltip-border": border ? `1px solid ${null != borderColor ? borderColor : "var(--core-outline-primary)"}` : "unset",
48
- "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : "4px"
48
+ "--tooltip-border-radius": null != resolvedBorderRadius ? resolvedBorderRadius : `${theme_corners.corners["corner-xs"]}px`
49
49
  }), [ padding, resolvedBackgroundColor, resolvedTextColor, border, borderColor, resolvedBorderRadius ]), coordStyle = React.useMemo(() => {
50
50
  const {left: left, top: top} = pos;
51
51
  return {
@@ -1,16 +1,17 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var tslib_es6 = require("./tslib.es6-CTGrDO27.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
4
+ var tslib_es6 = require("./tslib.es6-Y3RzGMQw.js"), jsxRuntime = require("react/jsx-runtime"), react = require("motion/react"), React = require("react"), hooks_useTheme = require("../hooks/useTheme.js");
5
5
 
6
6
  require("../theme/colors.js"), require("../theme/type.js");
7
7
 
8
- var misc = require("./misc-BNlFh_4N.js");
8
+ var misc = require("./misc-B2oK3rIL.js");
9
9
 
10
- require("./broadcastChannel-B0l8OE4I.js"), require("./microphoneStore-Ch3VVm4T.js"),
11
- require("./volumeStore-CA9Pdx5e.js"), require("../hooks/useWindow.js");
10
+ require("./broadcastChannel-CRR59lw6.js"), require("./webRTCStore-XciamNCa.js"),
11
+ require("./microphoneStore-axA5TgKM.js"), require("./volumeStore-D64ziNWo.js"),
12
+ require("../hooks/useWindow.js");
12
13
 
13
- var ToastType, Icon = require("./Icon-CUbgmUeu.js"), ProgressIndicator = require("./ProgressIndicator-Bi1UfJIW.js"), css = {
14
+ var ToastType, Icon = require("./Icon-VcvTUkMA.js"), ProgressIndicator = require("./ProgressIndicator--Ph78ZSe.js"), css = {
14
15
  wrapper: "Toast-module_wrapper__1uj9O flexBox-module_rowBetween__5FEvi",
15
16
  close: "Toast-module_close__i10-s flexBox-module_row__z24tF",
16
17
  message: "Toast-module_message__3dP0P flexBox-module_rowStart__4tcxS",
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  "use strict";
3
3
 
4
- var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-BbgyyMjG.js"), Label = require("./Label-CDuN-9n3.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
4
+ var jsxRuntime = require("react/jsx-runtime"), React = require("react"), IconButton = require("./IconButton-Cz7iTVhO.js"), Label = require("./Label-E7350HYG.js"), css_toggleButton = "ToggleButton-module_toggleButton__H7KgI flexBox-module_rowStart__4tcxS";
5
5
 
6
6
  exports.ToggleButton = function(props) {
7
- const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", bgColor: bgColor = "var(--core-surface-secondary)", bgColorHover: bgColorHover = "var(--core-surface-secondary)", bgColorOn: bgColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
7
+ const {label: label, textSize: textSize, icon: icon, iconOn: iconOn, selected: selected = !1, iconColor: iconColor = "var(--core-text-primary)", iconColorOn: iconColorOn = "var(--core-surface-primary)", iconColorHover: iconColorHover = "var(--core-text-primary)", backgroundColor: backgroundColor = "var(--core-surface-secondary)", backgroundColorHover: backgroundColorHover = "var(--core-surface-secondary)", backgroundColorOn: backgroundColorOn = "var(--core-text-special)", iconSize: iconSize = 20, buttonSize: buttonSize = "m", tooltip: tooltip, gap: gap = 4, unselect: unselect = !0, fill: fill = !1, disabled: disabled = !1, border: border = !1, onChange: onChange, onSelect: onSelect, onToolTip: onToolTip, children: children, presetAnimations: presetAnimations, customAnimations: customAnimations} = props, handleClick = () => {
8
8
  if (!unselect && selected) return;
9
9
  const newState = !selected;
10
10
  null == onChange || onChange(newState), newState && (null == onSelect || onSelect());
@@ -20,9 +20,9 @@ exports.ToggleButton = function(props) {
20
20
  tooltip: tooltip,
21
21
  toggle: !selected,
22
22
  isToggled: selected,
23
- bgColorOn: bgColorOn,
24
- bgColorHover: bgColorHover,
25
- bgColor: bgColor,
23
+ backgroundColorOn: backgroundColorOn,
24
+ backgroundColorHover: backgroundColorHover,
25
+ backgroundColor: backgroundColor,
26
26
  iconColor: iconColor,
27
27
  iconColorOn: iconColorOn,
28
28
  iconColorHover: iconColorHover,