fcr-ui-scene 3.8.1 → 3.8.2

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 (824) hide show
  1. package/lib/modules/dialog/dialogs/connection-gateway/tabs.d.ts +0 -1
  2. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +2 -13
  3. package/lib/modules/invite/index.d.ts +4 -1
  4. package/lib/modules/invite/index.js +5 -2
  5. package/lib/modules/invite/store.d.ts +4 -0
  6. package/lib/modules/invite/store.js +48 -9
  7. package/lib/modules/invite/view.d.ts +4 -1
  8. package/lib/modules/invite/view.js +25 -10
  9. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +0 -1
  10. package/lib/modules/pc-audio-connect/main-scene/index.js +2 -4
  11. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +0 -3
  12. package/lib/modules/pc-audio-connect/main-scene/store.js +7 -43
  13. package/lib/modules/widget/store.electron.js +1 -1
  14. package/lib/scenes/main-scene.js +3 -2
  15. package/lib-es/assets/mic-loading.gif +0 -0
  16. package/lib-es/base.js +335 -0
  17. package/lib-es/creator/index.js +543 -0
  18. package/lib-es/creator/provider-initializer.browser.js +322 -0
  19. package/lib-es/creator/provider-initializer.electron.js +359 -0
  20. package/lib-es/creator/type.js +1 -0
  21. package/lib-es/electron/app.js +247 -0
  22. package/lib-es/electron/asar-validation.js +106 -0
  23. package/lib-es/electron/bootstrap-dev.js +45 -0
  24. package/lib-es/electron/bootstrap-sdk.js +198 -0
  25. package/lib-es/electron/default-options.js +18 -0
  26. package/lib-es/electron/env.js +8 -0
  27. package/lib-es/electron/exit-codes.js +20 -0
  28. package/lib-es/electron/hang-detection/index.js +2 -0
  29. package/lib-es/electron/hang-detection/manager.js +225 -0
  30. package/lib-es/electron/hang-detection/types.js +1 -0
  31. package/lib-es/electron/index.js +2 -0
  32. package/lib-es/electron/injections.js +830 -0
  33. package/lib-es/electron/ipc/ipc.js +134 -0
  34. package/lib-es/electron/ipc/type.js +22 -0
  35. package/lib-es/electron/ipc-protocol.js +58 -0
  36. package/lib-es/electron/logger.js +57 -0
  37. package/lib-es/electron/main.js +116 -0
  38. package/lib-es/electron/plugins/devtool-shortcut.js +26 -0
  39. package/lib-es/electron/plugins/meeting-state.js +32 -0
  40. package/lib-es/electron/plugins/screenshot.js +46 -0
  41. package/lib-es/electron/preload.js +42 -0
  42. package/lib-es/electron/process-manager/constants.js +1 -0
  43. package/lib-es/electron/process-manager/event-manager.js +242 -0
  44. package/lib-es/electron/process-manager/index.js +842 -0
  45. package/lib-es/electron/process-manager/state-manager.js +354 -0
  46. package/lib-es/electron/process-manager/types.js +78 -0
  47. package/lib-es/electron/sdk-helper.js +305 -0
  48. package/lib-es/electron/struct.js +21 -0
  49. package/lib-es/electron/until.js +64 -0
  50. package/lib-es/electron/window-proxy/browser-window-proxy.js +720 -0
  51. package/lib-es/electron/window-proxy/main-process-handler.js +441 -0
  52. package/lib-es/electron/window.js +91 -0
  53. package/lib-es/fragments/annotation/index.js +130 -0
  54. package/lib-es/fragments/annotation/libs.js +86 -0
  55. package/lib-es/fragments/annotation/store.js +866 -0
  56. package/lib-es/fragments/annotation/style.css +9 -0
  57. package/lib-es/fragments/annotation/toolbar/components/color-tool/color-panel/index.js +40 -0
  58. package/lib-es/fragments/annotation/toolbar/components/color-tool/index.js +48 -0
  59. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/index.js +55 -0
  60. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  61. package/lib-es/fragments/annotation/toolbar/components/graphic-tool/index.js +62 -0
  62. package/lib-es/fragments/annotation/toolbar/components/item/item.js +106 -0
  63. package/lib-es/fragments/annotation/toolbar/components/item/style.css +45 -0
  64. package/lib-es/fragments/annotation/toolbar/components/panel/index.js +15 -0
  65. package/lib-es/fragments/annotation/toolbar/components/panel/style.css +24 -0
  66. package/lib-es/fragments/annotation/toolbar/components/pen-tool/index.js +54 -0
  67. package/lib-es/fragments/annotation/toolbar/components/pen-tool/pen-panel/index.js +28 -0
  68. package/lib-es/fragments/annotation/toolbar/components/tips/index.js +18 -0
  69. package/lib-es/fragments/annotation/toolbar/components/tips/style.css +19 -0
  70. package/lib-es/fragments/annotation/toolbar/store.js +292 -0
  71. package/lib-es/fragments/annotation/toolbar/style.css +55 -0
  72. package/lib-es/fragments/annotation/toolbar/view.js +140 -0
  73. package/lib-es/fragments/annotation/utils.js +20 -0
  74. package/lib-es/fragments/annotation/view.js +59 -0
  75. package/lib-es/fragments/base.js +40 -0
  76. package/lib-es/fragments/whiteboard/cursor.css +77 -0
  77. package/lib-es/fragments/whiteboard/index.js +80 -0
  78. package/lib-es/fragments/whiteboard/store.js +487 -0
  79. package/lib-es/fragments/whiteboard/style.css +4 -0
  80. package/lib-es/fragments/whiteboard/view.js +24 -0
  81. package/lib-es/global.css +62 -0
  82. package/lib-es/global.d.ts +27 -0
  83. package/lib-es/hooks/i18n.js +10 -0
  84. package/lib-es/index.js +38 -0
  85. package/lib-es/modules/action-bar/components/apps/index.js +43 -0
  86. package/lib-es/modules/action-bar/components/board/index.js +25 -0
  87. package/lib-es/modules/action-bar/components/breakout-room/index.js +23 -0
  88. package/lib-es/modules/action-bar/components/chat/index.css +88 -0
  89. package/lib-es/modules/action-bar/components/chat/index.js +126 -0
  90. package/lib-es/modules/action-bar/components/collapse/index.js +203 -0
  91. package/lib-es/modules/action-bar/components/confirm-leave-meeting/index.js +70 -0
  92. package/lib-es/modules/action-bar/components/interpreter/index.js +34 -0
  93. package/lib-es/modules/action-bar/components/item/index.js +158 -0
  94. package/lib-es/modules/action-bar/components/leave/index.js +118 -0
  95. package/lib-es/modules/action-bar/components/live-streaming/index.js +32 -0
  96. package/lib-es/modules/action-bar/components/more/index.css +114 -0
  97. package/lib-es/modules/action-bar/components/more/index.js +79 -0
  98. package/lib-es/modules/action-bar/components/more/poppover-content.js +410 -0
  99. package/lib-es/modules/action-bar/components/notification-bar/assets/dome.png +0 -0
  100. package/lib-es/modules/action-bar/components/notification-bar/assets/fcr_translateswitch.png +0 -0
  101. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -0
  102. package/lib-es/modules/action-bar/components/notification-bar/components/interpreter/index.js +93 -0
  103. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -0
  104. package/lib-es/modules/action-bar/components/notification-bar/components/virtual-image/index.js +25 -0
  105. package/lib-es/modules/action-bar/components/notification-bar/index.css +74 -0
  106. package/lib-es/modules/action-bar/components/notification-bar/index.js +96 -0
  107. package/lib-es/modules/action-bar/components/participants/index.css +21 -0
  108. package/lib-es/modules/action-bar/components/participants/index.js +52 -0
  109. package/lib-es/modules/action-bar/components/placement/index.js +10 -0
  110. package/lib-es/modules/action-bar/components/record/index.css +39 -0
  111. package/lib-es/modules/action-bar/components/record/index.js +89 -0
  112. package/lib-es/modules/action-bar/components/record/popover.js +50 -0
  113. package/lib-es/modules/action-bar/components/record/stop-record-dialog.js +41 -0
  114. package/lib-es/modules/action-bar/components/respond/index.js +25 -0
  115. package/lib-es/modules/action-bar/components/screen-share/index.browser.js +61 -0
  116. package/lib-es/modules/action-bar/components/screen-share/index.electron.js +78 -0
  117. package/lib-es/modules/action-bar/components/screen-share/index.js +4 -0
  118. package/lib-es/modules/action-bar/components/screen-share/submenu.js +219 -0
  119. package/lib-es/modules/action-bar/components/security/index.js +42 -0
  120. package/lib-es/modules/action-bar/components/settings/index.js +29 -0
  121. package/lib-es/modules/action-bar/components/smaller/index.js +45 -0
  122. package/lib-es/modules/action-bar/components/trigger-output-language/fcr_translateswitch.png +0 -0
  123. package/lib-es/modules/action-bar/components/trigger-output-language/index.css +86 -0
  124. package/lib-es/modules/action-bar/components/trigger-output-language/index.js +228 -0
  125. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -0
  126. package/lib-es/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.js +62 -0
  127. package/lib-es/modules/action-bar/components/trigger-subscribe-language/index.js +216 -0
  128. package/lib-es/modules/action-bar/constants.js +1 -0
  129. package/lib-es/modules/action-bar/enums.js +28 -0
  130. package/lib-es/modules/action-bar/index.css +358 -0
  131. package/lib-es/modules/action-bar/main-scene/index.js +123 -0
  132. package/lib-es/modules/action-bar/main-scene/store.base.js +1486 -0
  133. package/lib-es/modules/action-bar/main-scene/store.browser.js +105 -0
  134. package/lib-es/modules/action-bar/main-scene/store.electron.js +94 -0
  135. package/lib-es/modules/action-bar/main-scene/view.js +105 -0
  136. package/lib-es/modules/action-bar/type.js +6 -0
  137. package/lib-es/modules/action-bar/waiting-scene/index.js +94 -0
  138. package/lib-es/modules/action-bar/waiting-scene/store.base.js +88 -0
  139. package/lib-es/modules/action-bar/waiting-scene/store.browser.js +17 -0
  140. package/lib-es/modules/action-bar/waiting-scene/store.electron.js +37 -0
  141. package/lib-es/modules/action-bar/waiting-scene/view.js +116 -0
  142. package/lib-es/modules/audio-stream/index.js +393 -0
  143. package/lib-es/modules/caption/draggable-container/index.css +10 -0
  144. package/lib-es/modules/caption/draggable-container/index.js +159 -0
  145. package/lib-es/modules/caption/index.js +117 -0
  146. package/lib-es/modules/caption/store.js +352 -0
  147. package/lib-es/modules/caption/type.js +7 -0
  148. package/lib-es/modules/caption/view.css +158 -0
  149. package/lib-es/modules/caption/view.js +266 -0
  150. package/lib-es/modules/chat/chat-room-store.js +923 -0
  151. package/lib-es/modules/chat/components/chat-action/index.js +21 -0
  152. package/lib-es/modules/chat/components/chat-bar/index.css +89 -0
  153. package/lib-es/modules/chat/components/chat-bar/index.js +141 -0
  154. package/lib-es/modules/chat/components/chat-select/index.css +185 -0
  155. package/lib-es/modules/chat/components/chat-select/index.js +100 -0
  156. package/lib-es/modules/chat/components/chat-select/select-input/index.js +27 -0
  157. package/lib-es/modules/chat/components/chat-select/select-item/index.js +150 -0
  158. package/lib-es/modules/chat/components/chat-tabs/index.js +53 -0
  159. package/lib-es/modules/chat/components/message-list/chat-empty/index.js +18 -0
  160. package/lib-es/modules/chat/components/message-list/history-unread-message-button/index.js +48 -0
  161. package/lib-es/modules/chat/components/message-list/index.js +327 -0
  162. package/lib-es/modules/chat/components/message-list/message-item/index.js +343 -0
  163. package/lib-es/modules/chat/components/message-list/scroll-bottom-button/index.js +60 -0
  164. package/lib-es/modules/chat/index.css +124 -0
  165. package/lib-es/modules/chat/index.dev.js +71 -0
  166. package/lib-es/modules/chat/index.js +168 -0
  167. package/lib-es/modules/chat/mock.js +276 -0
  168. package/lib-es/modules/chat/store.js +359 -0
  169. package/lib-es/modules/chat/types.js +12 -0
  170. package/lib-es/modules/chat/util.js +63 -0
  171. package/lib-es/modules/chat/view.js +312 -0
  172. package/lib-es/modules/components/annotation-menu/index.js +104 -0
  173. package/lib-es/modules/components/apps/app-item/index.css +49 -0
  174. package/lib-es/modules/components/apps/app-item/index.js +130 -0
  175. package/lib-es/modules/components/apps/app-list.js +49 -0
  176. package/lib-es/modules/components/apps/index.css +9 -0
  177. package/lib-es/modules/components/apps/types.js +1 -0
  178. package/lib-es/modules/components/caption-menu/index.css +58 -0
  179. package/lib-es/modules/components/caption-menu/index.js +108 -0
  180. package/lib-es/modules/components/caption-menu/participants-privilege-control-options.js +65 -0
  181. package/lib-es/modules/components/caption-menu/steps/index.css +73 -0
  182. package/lib-es/modules/components/caption-menu/steps/index.js +49 -0
  183. package/lib-es/modules/components/caption-menu/translation-setting-options.js +180 -0
  184. package/lib-es/modules/components/control-bar/components/loading/index.css +76 -0
  185. package/lib-es/modules/components/control-bar/components/loading/index.js +56 -0
  186. package/lib-es/modules/components/control-bar/components/loading/loading.png +0 -0
  187. package/lib-es/modules/components/control-bar/components/progress/index.js +36 -0
  188. package/lib-es/modules/components/control-bar/components/progress/style.css +51 -0
  189. package/lib-es/modules/components/control-bar/components/switch-theme/index.css +101 -0
  190. package/lib-es/modules/components/control-bar/components/switch-theme/index.js +86 -0
  191. package/lib-es/modules/components/control-bar/components/switch-theme/item.js +46 -0
  192. package/lib-es/modules/components/control-bar/components/switch-theme/libs.js +24 -0
  193. package/lib-es/modules/components/control-bar/index.css +99 -0
  194. package/lib-es/modules/components/control-bar/index.js +357 -0
  195. package/lib-es/modules/components/device-control/components/audio-menu/index.js +167 -0
  196. package/lib-es/modules/components/device-control/components/carmera/index.js +108 -0
  197. package/lib-es/modules/components/device-control/components/microphone/index.js +182 -0
  198. package/lib-es/modules/components/device-control/components/none-menu/index.js +61 -0
  199. package/lib-es/modules/components/device-control/components/phone-menu/index.js +54 -0
  200. package/lib-es/modules/components/device-control/components/video-menu/index.js +105 -0
  201. package/lib-es/modules/components/device-control/hooks/index.js +34 -0
  202. package/lib-es/modules/components/device-control/index.css +177 -0
  203. package/lib-es/modules/components/device-control/index.js +14 -0
  204. package/lib-es/modules/components/device-control/main-scene/store.js +88 -0
  205. package/lib-es/modules/components/device-control/store.base.js +242 -0
  206. package/lib-es/modules/components/device-control/type.js +1 -0
  207. package/lib-es/modules/components/device-control/waiting-scene/store.js +84 -0
  208. package/lib-es/modules/components/leave-meeting/components/assign-host.js +101 -0
  209. package/lib-es/modules/components/leave-meeting/components/index.css +151 -0
  210. package/lib-es/modules/components/leave-meeting/index.js +148 -0
  211. package/lib-es/modules/components/leave-meeting/main-scene/store.js +107 -0
  212. package/lib-es/modules/components/leave-meeting/portal.js +22 -0
  213. package/lib-es/modules/components/leave-meeting/store.base.js +299 -0
  214. package/lib-es/modules/components/leave-meeting/style.css +9 -0
  215. package/lib-es/modules/components/leave-meeting/type.js +1 -0
  216. package/lib-es/modules/components/leave-meeting/waiting-scene/store.js +98 -0
  217. package/lib-es/modules/components/member-window/components/member-actions/components/audio-control.js +35 -0
  218. package/lib-es/modules/components/member-window/components/member-actions/components/icon-buttons/index.js +162 -0
  219. package/lib-es/modules/components/member-window/components/member-actions/components/icon-status.js +80 -0
  220. package/lib-es/modules/components/member-window/components/member-actions/components/layout/index.js +23 -0
  221. package/lib-es/modules/components/member-window/components/member-actions/components/more-actions.js +128 -0
  222. package/lib-es/modules/components/member-window/components/member-actions/components/share-status.js +34 -0
  223. package/lib-es/modules/components/member-window/components/member-actions/components/user-info.js +105 -0
  224. package/lib-es/modules/components/member-window/components/member-actions/components/user-tag.js +51 -0
  225. package/lib-es/modules/components/member-window/components/member-actions/index.js +98 -0
  226. package/lib-es/modules/components/member-window/components/member-actions/libs/index.js +14 -0
  227. package/lib-es/modules/components/member-window/components/member-actions/provider.js +70 -0
  228. package/lib-es/modules/components/member-window/components/member-actions/store.js +430 -0
  229. package/lib-es/modules/components/member-window/components/mic-volume.js +16 -0
  230. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +104 -0
  231. package/lib-es/modules/components/member-window/components/video-player/components/local-video-player.js +1 -0
  232. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +60 -0
  233. package/lib-es/modules/components/member-window/components/video-player/components/remote-video-player.js +1 -0
  234. package/lib-es/modules/components/member-window/components/video-player/components/zoomable-container.js +223 -0
  235. package/lib-es/modules/components/member-window/components/video-player/index.js +37 -0
  236. package/lib-es/modules/components/member-window/index.css +502 -0
  237. package/lib-es/modules/components/member-window/index.js +179 -0
  238. package/lib-es/modules/components/member-window/types.js +1 -0
  239. package/lib-es/modules/components/security-menu/index.css +42 -0
  240. package/lib-es/modules/components/security-menu/index.js +472 -0
  241. package/lib-es/modules/components/security-menu/store.js +388 -0
  242. package/lib-es/modules/components/security-menu/type.js +1 -0
  243. package/lib-es/modules/components/tab-frame/index.css +40 -0
  244. package/lib-es/modules/components/tab-frame/index.js +51 -0
  245. package/lib-es/modules/components/toolbar/components/capture-tool/index.js +58 -0
  246. package/lib-es/modules/components/toolbar/components/clean-tool/index.js +63 -0
  247. package/lib-es/modules/components/toolbar/components/color-tool/color-panel/index.js +70 -0
  248. package/lib-es/modules/components/toolbar/components/color-tool/index.js +58 -0
  249. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/index.js +57 -0
  250. package/lib-es/modules/components/toolbar/components/graphic-tool/graphic-panel/libs.js +57 -0
  251. package/lib-es/modules/components/toolbar/components/graphic-tool/index.js +72 -0
  252. package/lib-es/modules/components/toolbar/components/group-tool/index.js +35 -0
  253. package/lib-es/modules/components/toolbar/components/icons/fold-icon.js +33 -0
  254. package/lib-es/modules/components/toolbar/components/icons/move-icon.js +59 -0
  255. package/lib-es/modules/components/toolbar/components/item/index.js +157 -0
  256. package/lib-es/modules/components/toolbar/components/item/style.css +94 -0
  257. package/lib-es/modules/components/toolbar/components/multiple-color-tool/index.js +67 -0
  258. package/lib-es/modules/components/toolbar/components/panel/index.js +21 -0
  259. package/lib-es/modules/components/toolbar/components/panel/style.css +86 -0
  260. package/lib-es/modules/components/toolbar/components/pen-tool/index.js +54 -0
  261. package/lib-es/modules/components/toolbar/components/pen-tool/pen-panel/index.js +32 -0
  262. package/lib-es/modules/components/toolbar/components/save-draft/index.js +51 -0
  263. package/lib-es/modules/components/toolbar/components/vertical-frame/index.js +176 -0
  264. package/lib-es/modules/components/toolbar/hooks/use-resize-visible.js +64 -0
  265. package/lib-es/modules/components/toolbar/index.js +235 -0
  266. package/lib-es/modules/components/toolbar/style.css +85 -0
  267. package/lib-es/modules/components/toolbar/types.js +1 -0
  268. package/lib-es/modules/connection-gateway/components/computer/index.css +12 -0
  269. package/lib-es/modules/connection-gateway/components/computer/index.js +59 -0
  270. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
  271. package/lib-es/modules/connection-gateway/components/phone/components/callinfo/index.js +71 -0
  272. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
  273. package/lib-es/modules/connection-gateway/components/phone/components/calling/index.js +51 -0
  274. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
  275. package/lib-es/modules/connection-gateway/components/phone/components/remeber/index.js +17 -0
  276. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
  277. package/lib-es/modules/connection-gateway/components/phone/components/useing/index.js +29 -0
  278. package/lib-es/modules/connection-gateway/components/phone/index.css +49 -0
  279. package/lib-es/modules/connection-gateway/components/phone/index.js +177 -0
  280. package/lib-es/modules/connection-gateway/enums.js +5 -0
  281. package/lib-es/modules/connection-gateway/index.css +6 -0
  282. package/lib-es/modules/connection-gateway/index.js +60 -0
  283. package/lib-es/modules/connection-gateway/store.js +709 -0
  284. package/lib-es/modules/connection-gateway/types.js +1 -0
  285. package/lib-es/modules/connection-gateway/view.js +31 -0
  286. package/lib-es/modules/control-bar/components/apps-popover/index.js +34 -0
  287. package/lib-es/modules/control-bar/components/boundary-detector.js +49 -0
  288. package/lib-es/modules/control-bar/components/carmera/index.js +107 -0
  289. package/lib-es/modules/control-bar/components/cloud-recording-buttons.js +109 -0
  290. package/lib-es/modules/control-bar/components/meeting-details/index.css +133 -0
  291. package/lib-es/modules/control-bar/components/meeting-details/index.js +230 -0
  292. package/lib-es/modules/control-bar/components/microphone/index.js +185 -0
  293. package/lib-es/modules/control-bar/components/more-actions/index.css +103 -0
  294. package/lib-es/modules/control-bar/components/more-actions/index.js +158 -0
  295. package/lib-es/modules/control-bar/components/share-audio/index.css +90 -0
  296. package/lib-es/modules/control-bar/components/share-audio/index.js +142 -0
  297. package/lib-es/modules/control-bar/components/share-state-nav/index.css +79 -0
  298. package/lib-es/modules/control-bar/components/share-state-nav/index.js +122 -0
  299. package/lib-es/modules/control-bar/components/stop-live-streaming/index.js +29 -0
  300. package/lib-es/modules/control-bar/components/stop-live-streaming/stop-button.js +28 -0
  301. package/lib-es/modules/control-bar/components/transfer-position-icon/index.js +34 -0
  302. package/lib-es/modules/control-bar/context.js +5 -0
  303. package/lib-es/modules/control-bar/enums.js +27 -0
  304. package/lib-es/modules/control-bar/hooks.js +168 -0
  305. package/lib-es/modules/control-bar/index.css +340 -0
  306. package/lib-es/modules/control-bar/index.dev.js +37 -0
  307. package/lib-es/modules/control-bar/index.js +144 -0
  308. package/lib-es/modules/control-bar/store.js +781 -0
  309. package/lib-es/modules/control-bar/type.js +1 -0
  310. package/lib-es/modules/control-bar/view.js +663 -0
  311. package/lib-es/modules/device-pretest/assets/virtual-backdound-resources.js +14 -0
  312. package/lib-es/modules/device-pretest/audio-preview/microphone-detection.js +64 -0
  313. package/lib-es/modules/device-pretest/audio-preview/speaker-control.js +58 -0
  314. package/lib-es/modules/device-pretest/audio-preview/speaker-detection.js +63 -0
  315. package/lib-es/modules/device-pretest/index.css +123 -0
  316. package/lib-es/modules/device-pretest/index.js +234 -0
  317. package/lib-es/modules/device-pretest/settings/beauty.js +107 -0
  318. package/lib-es/modules/device-pretest/settings/camera-select.js +45 -0
  319. package/lib-es/modules/device-pretest/settings/video-effect.js +43 -0
  320. package/lib-es/modules/device-pretest/settings/video-settings-basic.js +137 -0
  321. package/lib-es/modules/device-pretest/settings/virtual-background-setting.js +94 -0
  322. package/lib-es/modules/device-pretest/store.js +437 -0
  323. package/lib-es/modules/dialog/components/confirm/index.css +24 -0
  324. package/lib-es/modules/dialog/components/confirm/index.js +154 -0
  325. package/lib-es/modules/dialog/components/dialog-container/component/body.js +103 -0
  326. package/lib-es/modules/dialog/components/dialog-container/index.css +112 -0
  327. package/lib-es/modules/dialog/components/dialog-container/index.js +135 -0
  328. package/lib-es/modules/dialog/components/host-area-container/index.js +146 -0
  329. package/lib-es/modules/dialog/components/normal-window/index.js +53 -0
  330. package/lib-es/modules/dialog/dialogs/annotation-tool/index.js +47 -0
  331. package/lib-es/modules/dialog/dialogs/caption/index.js +35 -0
  332. package/lib-es/modules/dialog/dialogs/chat/components/actions.js +36 -0
  333. package/lib-es/modules/dialog/dialogs/chat/index.js +74 -0
  334. package/lib-es/modules/dialog/dialogs/confirm/index.css +24 -0
  335. package/lib-es/modules/dialog/dialogs/confirm/index.js +51 -0
  336. package/lib-es/modules/dialog/dialogs/confirm-leave-meeting/index.js +38 -0
  337. package/lib-es/modules/dialog/dialogs/connection-gateway/index.js +40 -0
  338. package/lib-es/modules/dialog/dialogs/connection-gateway/tabs.js +40 -0
  339. package/lib-es/modules/dialog/dialogs/control-bar/index.js +29 -0
  340. package/lib-es/modules/dialog/dialogs/control-bar-leave-meeting/index.js +33 -0
  341. package/lib-es/modules/dialog/dialogs/device-setting/index.css +26 -0
  342. package/lib-es/modules/dialog/dialogs/device-setting/index.js +36 -0
  343. package/lib-es/modules/dialog/dialogs/end-meeting/index.js +48 -0
  344. package/lib-es/modules/dialog/dialogs/interpreter/index.css +30 -0
  345. package/lib-es/modules/dialog/dialogs/interpreter/index.js +38 -0
  346. package/lib-es/modules/dialog/dialogs/invite/index.js +51 -0
  347. package/lib-es/modules/dialog/dialogs/live-streaming/index.js +30 -0
  348. package/lib-es/modules/dialog/dialogs/mute-all/index.css +20 -0
  349. package/lib-es/modules/dialog/dialogs/mute-all/index.js +42 -0
  350. package/lib-es/modules/dialog/dialogs/participant/components/actions.js +23 -0
  351. package/lib-es/modules/dialog/dialogs/participant/components/title.js +9 -0
  352. package/lib-es/modules/dialog/dialogs/participant/index.js +52 -0
  353. package/lib-es/modules/dialog/dialogs/rename/index.js +43 -0
  354. package/lib-es/modules/dialog/dialogs/sample-dialog/index.js +48 -0
  355. package/lib-es/modules/dialog/dialogs/share-screen-selection/index.js +32 -0
  356. package/lib-es/modules/dialog/dialogs/sub-window/index.js +31 -0
  357. package/lib-es/modules/dialog/dialogs/subtitles-history/index.js +44 -0
  358. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg1.png +0 -0
  359. package/lib-es/modules/dialog/dialogs/system-preference/assets/bg2.png +0 -0
  360. package/lib-es/modules/dialog/dialogs/system-preference/assets/fcr_png_host.png +0 -0
  361. package/lib-es/modules/dialog/dialogs/system-preference/electron.js +31 -0
  362. package/lib-es/modules/dialog/dialogs/system-preference/index.css +52 -0
  363. package/lib-es/modules/dialog/dialogs/system-preference/index.js +130 -0
  364. package/lib-es/modules/dialog/dialogs/toast/index.js +28 -0
  365. package/lib-es/modules/dialog/dialogs/video-window/index.js +55 -0
  366. package/lib-es/modules/dialog/dialogs/whiteboard/index.js +60 -0
  367. package/lib-es/modules/dialog/dialogs/widget/index.js +40 -0
  368. package/lib-es/modules/dialog/hooks/use-web-drag.js +64 -0
  369. package/lib-es/modules/dialog/index.css +56 -0
  370. package/lib-es/modules/dialog/index.js +70 -0
  371. package/lib-es/modules/dialog/level-config.js +11 -0
  372. package/lib-es/modules/dialog/store.base.js +272 -0
  373. package/lib-es/modules/dialog/store.browser.js +135 -0
  374. package/lib-es/modules/dialog/store.electron.js +284 -0
  375. package/lib-es/modules/dialog/type.js +1 -0
  376. package/lib-es/modules/dialog/view.js +28 -0
  377. package/lib-es/modules/event-sound/enum.js +13 -0
  378. package/lib-es/modules/event-sound/index.js +49 -0
  379. package/lib-es/modules/event-sound/sound-effect-player.js +49 -0
  380. package/lib-es/modules/event-sound/store.js +275 -0
  381. package/lib-es/modules/event-sound/type.js +1 -0
  382. package/lib-es/modules/event-toast/index.css +25 -0
  383. package/lib-es/modules/event-toast/index.js +82 -0
  384. package/lib-es/modules/event-toast/store.base.js +193 -0
  385. package/lib-es/modules/event-toast/store.browser.js +23 -0
  386. package/lib-es/modules/event-toast/store.electron.js +138 -0
  387. package/lib-es/modules/event-toast/type.js +1 -0
  388. package/lib-es/modules/event-toast/view.js +37 -0
  389. package/lib-es/modules/interpreter/action/add-btn/index.css +4 -0
  390. package/lib-es/modules/interpreter/action/add-btn/index.js +35 -0
  391. package/lib-es/modules/interpreter/action/delete-btn/index.css +14 -0
  392. package/lib-es/modules/interpreter/action/delete-btn/index.js +31 -0
  393. package/lib-es/modules/interpreter/action/edit-btn/index.js +39 -0
  394. package/lib-es/modules/interpreter/action/switch-btn/index.css +3 -0
  395. package/lib-es/modules/interpreter/action/switch-btn/index.js +44 -0
  396. package/lib-es/modules/interpreter/dialog-content/index.css +33 -0
  397. package/lib-es/modules/interpreter/dialog-content/index.js +30 -0
  398. package/lib-es/modules/interpreter/footer/index.css +11 -0
  399. package/lib-es/modules/interpreter/footer/index.js +18 -0
  400. package/lib-es/modules/interpreter/index.css +4 -0
  401. package/lib-es/modules/interpreter/index.js +109 -0
  402. package/lib-es/modules/interpreter/interpreter-list/index.css +8 -0
  403. package/lib-es/modules/interpreter/interpreter-list/index.js +30 -0
  404. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -0
  405. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.js +173 -0
  406. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
  407. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
  408. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
  409. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
  410. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
  411. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
  412. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
  413. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
  414. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
  415. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
  416. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
  417. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
  418. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
  419. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
  420. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
  421. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
  422. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
  423. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +169 -0
  424. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -0
  425. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.js +120 -0
  426. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/option-Item.js +51 -0
  427. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -0
  428. package/lib-es/modules/interpreter/interpreter-list/interpreter-item/index.js +40 -0
  429. package/lib-es/modules/interpreter/loading-wrapper/index.css +53 -0
  430. package/lib-es/modules/interpreter/loading-wrapper/index.js +20 -0
  431. package/lib-es/modules/interpreter/store.js +614 -0
  432. package/lib-es/modules/interpreter/tooltip-wrapper/index.js +23 -0
  433. package/lib-es/modules/interpreter/type.js +5 -0
  434. package/lib-es/modules/interpreter/utils.js +54 -0
  435. package/lib-es/modules/interpreter/view.js +62 -0
  436. package/lib-es/modules/invite/components/error-tips.js +11 -0
  437. package/lib-es/modules/invite/components/pstn-invite.js +245 -0
  438. package/lib-es/modules/invite/components/voip-invite.css +26 -0
  439. package/lib-es/modules/invite/components/voip-invite.js +265 -0
  440. package/lib-es/modules/invite/enums.js +27 -0
  441. package/lib-es/modules/invite/index.css +331 -0
  442. package/lib-es/modules/invite/index.js +64 -0
  443. package/lib-es/modules/invite/store.js +578 -0
  444. package/lib-es/modules/invite/types.js +1 -0
  445. package/lib-es/modules/invite/view.js +46 -0
  446. package/lib-es/modules/layout/components/Aside.js +208 -0
  447. package/lib-es/modules/layout/components/Carousel.js +192 -0
  448. package/lib-es/modules/layout/components/CommonVideoRenderer.js +265 -0
  449. package/lib-es/modules/layout/components/Gallery.js +256 -0
  450. package/lib-es/modules/layout/components/index.css +653 -0
  451. package/lib-es/modules/layout/components/index.js +5 -0
  452. package/lib-es/modules/layout/components/utils.js +3 -0
  453. package/lib-es/modules/layout/components/who-is-speaking.js +49 -0
  454. package/lib-es/modules/layout/index.css +59 -0
  455. package/lib-es/modules/layout/index.dev.js +313 -0
  456. package/lib-es/modules/layout/index.js +74 -0
  457. package/lib-es/modules/layout/store.base.js +1468 -0
  458. package/lib-es/modules/layout/store.browser.js +49 -0
  459. package/lib-es/modules/layout/store.electron.js +175 -0
  460. package/lib-es/modules/layout/type.js +59 -0
  461. package/lib-es/modules/layout/view.js +149 -0
  462. package/lib-es/modules/live-streaming/index.css +0 -0
  463. package/lib-es/modules/live-streaming/index.dev.js +56 -0
  464. package/lib-es/modules/live-streaming/index.js +60 -0
  465. package/lib-es/modules/live-streaming/store.js +246 -0
  466. package/lib-es/modules/live-streaming/type.js +1 -0
  467. package/lib-es/modules/live-streaming/view.js +26 -0
  468. package/lib-es/modules/notification/index.css +77 -0
  469. package/lib-es/modules/notification/index.js +59 -0
  470. package/lib-es/modules/notification/interpreter-status/index.css +76 -0
  471. package/lib-es/modules/notification/interpreter-status/index.js +55 -0
  472. package/lib-es/modules/notification/store.js +122 -0
  473. package/lib-es/modules/notification/type.js +1 -0
  474. package/lib-es/modules/notification/view.js +127 -0
  475. package/lib-es/modules/offscreen-pulling/index.js +122 -0
  476. package/lib-es/modules/participant/components/can-moveable/index.js +59 -0
  477. package/lib-es/modules/participant/components/confirm-input/index.css +4 -0
  478. package/lib-es/modules/participant/components/confirm-input/index.js +112 -0
  479. package/lib-es/modules/participant/components/mute-all/index.js +67 -0
  480. package/lib-es/modules/participant/components/operate-waitingroom-member/index.js +40 -0
  481. package/lib-es/modules/participant/components/participants/components/footer/components/buttons.js +45 -0
  482. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -0
  483. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/index.js +156 -0
  484. package/lib-es/modules/participant/components/participants/components/footer/components/drop-menu/util.js +21 -0
  485. package/lib-es/modules/participant/components/participants/components/footer/index.js +42 -0
  486. package/lib-es/modules/participant/components/participants/components/merge/index.js +40 -0
  487. package/lib-es/modules/participant/components/participants/components/render-tab/index.js +42 -0
  488. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +40 -0
  489. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +21 -0
  490. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/components/user-avatar/index.js +32 -0
  491. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -0
  492. package/lib-es/modules/participant/components/participants/components/render-user/components/attendee/index.js +138 -0
  493. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/audio-button/index.js +25 -0
  494. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +70 -0
  495. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/components/move-to-mainroom-button/index.js +20 -0
  496. package/lib-es/modules/participant/components/participants/components/render-user/components/user-action/index.js +70 -0
  497. package/lib-es/modules/participant/components/participants/components/render-user/index.js +16 -0
  498. package/lib-es/modules/participant/components/participants/index.js +71 -0
  499. package/lib-es/modules/participant/index.css +102 -0
  500. package/lib-es/modules/participant/index.dev.js +87 -0
  501. package/lib-es/modules/participant/index.js +137 -0
  502. package/lib-es/modules/participant/member-list-data-source.js +297 -0
  503. package/lib-es/modules/participant/store.base.js +2354 -0
  504. package/lib-es/modules/participant/store.browser.js +117 -0
  505. package/lib-es/modules/participant/store.electron.js +124 -0
  506. package/lib-es/modules/participant/struct.js +55 -0
  507. package/lib-es/modules/participant/type.js +7 -0
  508. package/lib-es/modules/participant/view.js +18 -0
  509. package/lib-es/modules/pc-audio-connect/index.css +12 -0
  510. package/lib-es/modules/pc-audio-connect/main-scene/index.js +67 -0
  511. package/lib-es/modules/pc-audio-connect/main-scene/store.js +313 -0
  512. package/lib-es/modules/pc-audio-connect/types.js +1 -0
  513. package/lib-es/modules/pc-audio-connect/view.js +60 -0
  514. package/lib-es/modules/pc-audio-connect/waiting-scene/index.js +61 -0
  515. package/lib-es/modules/pc-audio-connect/waiting-scene/store.js +293 -0
  516. package/lib-es/modules/phone-audio-connect/components/callinfo/index.css +36 -0
  517. package/lib-es/modules/phone-audio-connect/components/callinfo/index.js +71 -0
  518. package/lib-es/modules/phone-audio-connect/components/calling/index.css +72 -0
  519. package/lib-es/modules/phone-audio-connect/components/calling/index.js +51 -0
  520. package/lib-es/modules/phone-audio-connect/components/remeber/index.css +10 -0
  521. package/lib-es/modules/phone-audio-connect/components/remeber/index.js +17 -0
  522. package/lib-es/modules/phone-audio-connect/components/useing/index.css +46 -0
  523. package/lib-es/modules/phone-audio-connect/components/useing/index.js +29 -0
  524. package/lib-es/modules/phone-audio-connect/enums.js +5 -0
  525. package/lib-es/modules/phone-audio-connect/index.css +56 -0
  526. package/lib-es/modules/phone-audio-connect/index.js +52 -0
  527. package/lib-es/modules/phone-audio-connect/store.js +317 -0
  528. package/lib-es/modules/phone-audio-connect/types.js +1 -0
  529. package/lib-es/modules/phone-audio-connect/view.js +177 -0
  530. package/lib-es/modules/secondary-window/index.js +147 -0
  531. package/lib-es/modules/secondary-window/store.js +502 -0
  532. package/lib-es/modules/secondary-window/type.js +28 -0
  533. package/lib-es/modules/secondary-window/view.js +281 -0
  534. package/lib-es/modules/setting/audio-settings/audio-settings.js +292 -0
  535. package/lib-es/modules/setting/audio-settings/index.css +195 -0
  536. package/lib-es/modules/setting/audio-whiteList/audio-device-adaptation.js +62 -0
  537. package/lib-es/modules/setting/audio-whiteList/audio-whiteList-manager.js +368 -0
  538. package/lib-es/modules/setting/caption_and_transcribing/index.css +88 -0
  539. package/lib-es/modules/setting/caption_and_transcribing/index.js +89 -0
  540. package/lib-es/modules/setting/general-settings/general-settings.js +148 -0
  541. package/lib-es/modules/setting/general-settings/index.css +41 -0
  542. package/lib-es/modules/setting/index.css +112 -0
  543. package/lib-es/modules/setting/index.dev.js +120 -0
  544. package/lib-es/modules/setting/index.js +145 -0
  545. package/lib-es/modules/setting/minutes-settings/index.css +65 -0
  546. package/lib-es/modules/setting/minutes-settings/minutes-settings.js +146 -0
  547. package/lib-es/modules/setting/state/index.css +207 -0
  548. package/lib-es/modules/setting/state/index.js +322 -0
  549. package/lib-es/modules/setting/storage-settings/index.css +91 -0
  550. package/lib-es/modules/setting/storage-settings/storage-settings.js +65 -0
  551. package/lib-es/modules/setting/store.base.js +1440 -0
  552. package/lib-es/modules/setting/store.browser.js +43 -0
  553. package/lib-es/modules/setting/store.electron.js +168 -0
  554. package/lib-es/modules/setting/translate-settings/index.css +47 -0
  555. package/lib-es/modules/setting/translate-settings/language-select.js +40 -0
  556. package/lib-es/modules/setting/translate-settings/translate-settings.js +131 -0
  557. package/lib-es/modules/setting/type.js +14 -0
  558. package/lib-es/modules/setting/video-settings/index.css +357 -0
  559. package/lib-es/modules/setting/video-settings/video-settings-basic.js +131 -0
  560. package/lib-es/modules/setting/video-settings/video-settings.js +167 -0
  561. package/lib-es/modules/setting/view.js +147 -0
  562. package/lib-es/modules/share-screen/components/control-bar/index.css +75 -0
  563. package/lib-es/modules/share-screen/components/control-bar/index.js +92 -0
  564. package/lib-es/modules/share-screen/components/control-bar/items/annotation-edit-btn/index.js +38 -0
  565. package/lib-es/modules/share-screen/components/control-bar/items/full-container-btn/index.js +25 -0
  566. package/lib-es/modules/share-screen/components/control-bar/items/original-size-btn/index.js +25 -0
  567. package/lib-es/modules/share-screen/components/control-bar/items/zoom-in-btn/index.js +25 -0
  568. package/lib-es/modules/share-screen/components/control-bar/items/zoom-out-btn/index.js +25 -0
  569. package/lib-es/modules/share-screen/components/selection/index.css +73 -0
  570. package/lib-es/modules/share-screen/components/selection/index.js +220 -0
  571. package/lib-es/modules/share-screen/components/share-scenario/index.js +40 -0
  572. package/lib-es/modules/share-screen/components/share-state-bar/index.css +76 -0
  573. package/lib-es/modules/share-screen/components/share-state-bar/index.js +90 -0
  574. package/lib-es/modules/share-screen/index.css +0 -0
  575. package/lib-es/modules/share-screen/index.dev.js +90 -0
  576. package/lib-es/modules/share-screen/index.js +99 -0
  577. package/lib-es/modules/share-screen/store.base.js +464 -0
  578. package/lib-es/modules/share-screen/store.browser.js +36 -0
  579. package/lib-es/modules/share-screen/store.electron.js +429 -0
  580. package/lib-es/modules/share-screen/type.js +8 -0
  581. package/lib-es/modules/share-screen/view.js +24 -0
  582. package/lib-es/modules/state-bar/assets/fcr_grid_big.svg +3 -0
  583. package/lib-es/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
  584. package/lib-es/modules/state-bar/assets/live-streaming.gif +0 -0
  585. package/lib-es/modules/state-bar/index.css +706 -0
  586. package/lib-es/modules/state-bar/index.dev.js +78 -0
  587. package/lib-es/modules/state-bar/index.js +41 -0
  588. package/lib-es/modules/state-bar/layout-config.js +168 -0
  589. package/lib-es/modules/state-bar/live-streaming-state.js +169 -0
  590. package/lib-es/modules/state-bar/main-scene/index.js +39 -0
  591. package/lib-es/modules/state-bar/main-scene/store.base.js +137 -0
  592. package/lib-es/modules/state-bar/main-scene/store.browser.js +80 -0
  593. package/lib-es/modules/state-bar/main-scene/store.electron.js +107 -0
  594. package/lib-es/modules/state-bar/meeting-detail.css +137 -0
  595. package/lib-es/modules/state-bar/meeting-details.js +219 -0
  596. package/lib-es/modules/state-bar/meeting-network-state.css +150 -0
  597. package/lib-es/modules/state-bar/meeting-network-state.js +107 -0
  598. package/lib-es/modules/state-bar/meeting-time.js +25 -0
  599. package/lib-es/modules/state-bar/network-quality.js +26 -0
  600. package/lib-es/modules/state-bar/recording.js +103 -0
  601. package/lib-es/modules/state-bar/store.base.electron.js +108 -0
  602. package/lib-es/modules/state-bar/store.base.js +616 -0
  603. package/lib-es/modules/state-bar/subtitles-history-state.js +101 -0
  604. package/lib-es/modules/state-bar/type.js +1 -0
  605. package/lib-es/modules/state-bar/view.js +241 -0
  606. package/lib-es/modules/state-bar/waiting-scene/index.js +39 -0
  607. package/lib-es/modules/state-bar/waiting-scene/store.base.js +48 -0
  608. package/lib-es/modules/state-bar/waiting-scene/store.browser.js +80 -0
  609. package/lib-es/modules/state-bar/waiting-scene/store.electron.js +99 -0
  610. package/lib-es/modules/subtitles-history/components/actions.js +29 -0
  611. package/lib-es/modules/subtitles-history/components/list-item.js +95 -0
  612. package/lib-es/modules/subtitles-history/components/list.js +175 -0
  613. package/lib-es/modules/subtitles-history/components/respond-dialog-content.js +36 -0
  614. package/lib-es/modules/subtitles-history/components/settings/index.css +5 -0
  615. package/lib-es/modules/subtitles-history/components/settings/index.js +46 -0
  616. package/lib-es/modules/subtitles-history/components/timer.js +36 -0
  617. package/lib-es/modules/subtitles-history/components/title.js +8 -0
  618. package/lib-es/modules/subtitles-history/empty.js +14 -0
  619. package/lib-es/modules/subtitles-history/index.css +129 -0
  620. package/lib-es/modules/subtitles-history/index.js +89 -0
  621. package/lib-es/modules/subtitles-history/store.base.js +790 -0
  622. package/lib-es/modules/subtitles-history/store.electron.js +148 -0
  623. package/lib-es/modules/subtitles-history/type.js +1 -0
  624. package/lib-es/modules/subtitles-history/view.js +96 -0
  625. package/lib-es/modules/video-window/components/deviceState/index.js +68 -0
  626. package/lib-es/modules/video-window/components/members/index.css +51 -0
  627. package/lib-es/modules/video-window/components/members/index.js +116 -0
  628. package/lib-es/modules/video-window/components/speaking/index.css +86 -0
  629. package/lib-es/modules/video-window/components/speaking/index.js +40 -0
  630. package/lib-es/modules/video-window/components/topControl/index.css +35 -0
  631. package/lib-es/modules/video-window/components/topControl/index.js +68 -0
  632. package/lib-es/modules/video-window/index.css +21 -0
  633. package/lib-es/modules/video-window/index.js +82 -0
  634. package/lib-es/modules/video-window/popover-watcher.js +69 -0
  635. package/lib-es/modules/video-window/store.js +512 -0
  636. package/lib-es/modules/video-window/type.js +19 -0
  637. package/lib-es/modules/video-window/view.js +107 -0
  638. package/lib-es/modules/waiting-room-layout/index.css +96 -0
  639. package/lib-es/modules/waiting-room-layout/index.js +67 -0
  640. package/lib-es/modules/waiting-room-layout/store.js +231 -0
  641. package/lib-es/modules/waiting-room-layout/view.js +87 -0
  642. package/lib-es/modules/whiteboard/components/control-bar/index.css +52 -0
  643. package/lib-es/modules/whiteboard/components/control-bar/index.js +151 -0
  644. package/lib-es/modules/whiteboard/components/control-bar/store.js +298 -0
  645. package/lib-es/modules/whiteboard/components/loading/index.css +76 -0
  646. package/lib-es/modules/whiteboard/components/loading/index.js +57 -0
  647. package/lib-es/modules/whiteboard/components/loading/loading.png +0 -0
  648. package/lib-es/modules/whiteboard/components/multi-window/index.css +63 -0
  649. package/lib-es/modules/whiteboard/components/multi-window/index.js +31 -0
  650. package/lib-es/modules/whiteboard/components/pagination/index.css +228 -0
  651. package/lib-es/modules/whiteboard/components/pagination/index.js +155 -0
  652. package/lib-es/modules/whiteboard/components/pagination/store.js +10 -0
  653. package/lib-es/modules/whiteboard/components/progress/index.js +36 -0
  654. package/lib-es/modules/whiteboard/components/progress/style.css +51 -0
  655. package/lib-es/modules/whiteboard/components/scene-pagination.js +23 -0
  656. package/lib-es/modules/whiteboard/components/switch-theme/index.css +99 -0
  657. package/lib-es/modules/whiteboard/components/switch-theme/index.js +89 -0
  658. package/lib-es/modules/whiteboard/components/switch-theme/item.js +46 -0
  659. package/lib-es/modules/whiteboard/components/switch-theme/libs.js +24 -0
  660. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +30 -0
  661. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +101 -0
  662. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +67 -0
  663. package/lib-es/modules/whiteboard/components/toolbar/components/color-picker/index.js +40 -0
  664. package/lib-es/modules/whiteboard/components/toolbar/components/eraser-picker.js +136 -0
  665. package/lib-es/modules/whiteboard/components/toolbar/components/expansion/index.js +85 -0
  666. package/lib-es/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +46 -0
  667. package/lib-es/modules/whiteboard/components/toolbar/components/history.js +70 -0
  668. package/lib-es/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +33 -0
  669. package/lib-es/modules/whiteboard/components/toolbar/components/icons/move-icon.js +59 -0
  670. package/lib-es/modules/whiteboard/components/toolbar/components/item/index.js +35 -0
  671. package/lib-es/modules/whiteboard/components/toolbar/components/move-handle.js +127 -0
  672. package/lib-es/modules/whiteboard/components/toolbar/components/pen-picker.js +147 -0
  673. package/lib-es/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +78 -0
  674. package/lib-es/modules/whiteboard/components/toolbar/components/shape-picker.js +202 -0
  675. package/lib-es/modules/whiteboard/components/toolbar/hooks/index.js +285 -0
  676. package/lib-es/modules/whiteboard/components/toolbar/index.js +72 -0
  677. package/lib-es/modules/whiteboard/components/toolbar/store.js +484 -0
  678. package/lib-es/modules/whiteboard/components/toolbar/style.css +591 -0
  679. package/lib-es/modules/whiteboard/context.js +28 -0
  680. package/lib-es/modules/whiteboard/index.js +67 -0
  681. package/lib-es/modules/whiteboard/libs/theme.js +24 -0
  682. package/lib-es/modules/whiteboard/store.browser.js +20 -0
  683. package/lib-es/modules/whiteboard/store.electron.js +163 -0
  684. package/lib-es/modules/whiteboard/store.js +457 -0
  685. package/lib-es/modules/whiteboard/style.css +140 -0
  686. package/lib-es/modules/whiteboard/type.js +52 -0
  687. package/lib-es/modules/whiteboard/utils.js +29 -0
  688. package/lib-es/modules/whiteboard/view.js +105 -0
  689. package/lib-es/modules/widget/index.css +9 -0
  690. package/lib-es/modules/widget/index.js +129 -0
  691. package/lib-es/modules/widget/store.base.js +35 -0
  692. package/lib-es/modules/widget/store.browser.js +74 -0
  693. package/lib-es/modules/widget/store.electron.js +127 -0
  694. package/lib-es/modules/widget/type.js +1 -0
  695. package/lib-es/modules/widget/view.js +49 -0
  696. package/lib-es/modules/widget/web-widget.js +263 -0
  697. package/lib-es/object-manager.js +194 -0
  698. package/lib-es/plugins/browser-runtime-plugin.js +0 -0
  699. package/lib-es/plugins/css-preset-plugin.js +18 -0
  700. package/lib-es/plugins/electron-rtc-plugin.js +3 -0
  701. package/lib-es/plugins/module-dev-plugin.js +162 -0
  702. package/lib-es/plugins/multi-lang-plugin.js +18 -0
  703. package/lib-es/plugins/rtm-plugin.js +3 -0
  704. package/lib-es/plugins/web-rtc-plugin.js +3 -0
  705. package/lib-es/providers/ability-provider.js +76 -0
  706. package/lib-es/providers/annotation/provider.js +61 -0
  707. package/lib-es/providers/annotation/type.js +1 -0
  708. package/lib-es/providers/app-list-provider.js +392 -0
  709. package/lib-es/providers/board-share/bar-control/base.js +318 -0
  710. package/lib-es/providers/board-share/bar-control/browser.js +34 -0
  711. package/lib-es/providers/board-share/bar-control/electron.js +211 -0
  712. package/lib-es/providers/board-share/provider.base.js +406 -0
  713. package/lib-es/providers/board-share/provider.browser.js +147 -0
  714. package/lib-es/providers/board-share/provider.electron.js +162 -0
  715. package/lib-es/providers/board-share/struct.js +16 -0
  716. package/lib-es/providers/board-share/type.js +1 -0
  717. package/lib-es/providers/chat-provider.js +166 -0
  718. package/lib-es/providers/device-privilege-provider.js +402 -0
  719. package/lib-es/providers/device-provider.js +2148 -0
  720. package/lib-es/providers/device-stream-provider.js +418 -0
  721. package/lib-es/providers/dialog/provider.base.js +282 -0
  722. package/lib-es/providers/dialog/provider.browser.js +160 -0
  723. package/lib-es/providers/dialog/provider.electron.js +273 -0
  724. package/lib-es/providers/dialog/type.js +8 -0
  725. package/lib-es/providers/event-provider.js +50 -0
  726. package/lib-es/providers/facility/provider.base.js +152 -0
  727. package/lib-es/providers/facility/provider.browser.js +67 -0
  728. package/lib-es/providers/facility/provider.electron.js +83 -0
  729. package/lib-es/providers/facility/struct.js +6 -0
  730. package/lib-es/providers/facility/type.js +1 -0
  731. package/lib-es/providers/interpreter-provider.js +955 -0
  732. package/lib-es/providers/local-storage-provider.js +37 -0
  733. package/lib-es/providers/message/provider.js +97 -0
  734. package/lib-es/providers/message/struct.js +5 -0
  735. package/lib-es/providers/message/type.js +1 -0
  736. package/lib-es/providers/monitor-provider.js +22 -0
  737. package/lib-es/providers/mouse-detect/provider.js +312 -0
  738. package/lib-es/providers/mouse-detect/struct.js +5 -0
  739. package/lib-es/providers/mouse-detect/type.js +1 -0
  740. package/lib-es/providers/multi-display-provider.js +603 -0
  741. package/lib-es/providers/phone-audio-provider.js +512 -0
  742. package/lib-es/providers/privilege-provider.js +1158 -0
  743. package/lib-es/providers/renderer-provider.js +310 -0
  744. package/lib-es/providers/room-provider/room-provider.js +730 -0
  745. package/lib-es/providers/room-provider/waiting-room-control-manager.js +224 -0
  746. package/lib-es/providers/screen-share/constant.js +1 -0
  747. package/lib-es/providers/screen-share/provider.base.js +511 -0
  748. package/lib-es/providers/screen-share/provider.browser.js +290 -0
  749. package/lib-es/providers/screen-share/provider.electron.js +486 -0
  750. package/lib-es/providers/screen-share/strategy/browser.js +306 -0
  751. package/lib-es/providers/screen-share/strategy/electron.js +364 -0
  752. package/lib-es/providers/screen-share/strategy/type.js +31 -0
  753. package/lib-es/providers/screen-share/stream-state-sync.js +312 -0
  754. package/lib-es/providers/screen-share/struct.js +60 -0
  755. package/lib-es/providers/screen-share/type.js +1 -0
  756. package/lib-es/providers/session-provider.js +42 -0
  757. package/lib-es/providers/setting-storage/provider.base.js +6 -0
  758. package/lib-es/providers/setting-storage/provider.browser.js +57 -0
  759. package/lib-es/providers/setting-storage/provider.electron.js +55 -0
  760. package/lib-es/providers/setting-storage/type.js +1 -0
  761. package/lib-es/providers/stt-provider/stt-provider.js +1000 -0
  762. package/lib-es/providers/stt-provider/type.js +14 -0
  763. package/lib-es/providers/widget-provider.js +236 -0
  764. package/lib-es/providers/window/main-window.js +259 -0
  765. package/lib-es/providers/window/provider.js +158 -0
  766. package/lib-es/providers/window/renderer-window.js +576 -0
  767. package/lib-es/providers/window/type.js +1 -0
  768. package/lib-es/runtime.js +1 -0
  769. package/lib-es/scenes/main-scene.js +696 -0
  770. package/lib-es/scenes/type.js +1 -0
  771. package/lib-es/scenes/waiting-scene.js +155 -0
  772. package/lib-es/schema.js +88 -0
  773. package/lib-es/shared-context/board-context.js +7 -0
  774. package/lib-es/shared-context/dialog-context.js +3 -0
  775. package/lib-es/shared-context/video-track-render-context.js +2 -0
  776. package/lib-es/shared-data/app-list-data.js +122 -0
  777. package/lib-es/shared-data/chat-data.js +135 -0
  778. package/lib-es/shared-data/config.js +38 -0
  779. package/lib-es/shared-data/confirm-data.js +195 -0
  780. package/lib-es/shared-data/device-privilege-data.js +18 -0
  781. package/lib-es/shared-data/interpreter.js +235 -0
  782. package/lib-es/shared-data/layout-data.js +211 -0
  783. package/lib-es/shared-data/meeting-time.js +409 -0
  784. package/lib-es/shared-data/member-data.js +482 -0
  785. package/lib-es/shared-data/pin-data.js +107 -0
  786. package/lib-es/shared-data/screen-share/index.js +188 -0
  787. package/lib-es/shared-data/screen-share/type.js +1 -0
  788. package/lib-es/shared-data/security-data.js +153 -0
  789. package/lib-es/shared-data/setting.js +244 -0
  790. package/lib-es/shared-data/speaker-spotlight.js +11 -0
  791. package/lib-es/shared-data/stt-setting.ts/constant.js +27 -0
  792. package/lib-es/shared-data/stt-setting.ts/index.js +195 -0
  793. package/lib-es/shared-data/stt-setting.ts/type.js +7 -0
  794. package/lib-es/shared-data/video-window.js +1248 -0
  795. package/lib-es/shared-data/waiting-room.js +216 -0
  796. package/lib-es/shared-data/widget-data.js +42 -0
  797. package/lib-es/translations/enUS.js +2075 -0
  798. package/lib-es/translations/zhCN.js +2073 -0
  799. package/lib-es/type.js +149 -0
  800. package/lib-es/ui-manager.js +213 -0
  801. package/lib-es/ui-scene-switch.js +572 -0
  802. package/lib-es/utilities/browser-api.js +74 -0
  803. package/lib-es/utilities/constant.js +190 -0
  804. package/lib-es/utilities/debug.js +33 -0
  805. package/lib-es/utilities/default-config.js +89 -0
  806. package/lib-es/utilities/dialog-utils.js +210 -0
  807. package/lib-es/utilities/focus-helper.js +26 -0
  808. package/lib-es/utilities/hooks.js +82 -0
  809. package/lib-es/utilities/i18n-common-data.js +7 -0
  810. package/lib-es/utilities/logger.js +48 -0
  811. package/lib-es/utilities/meeting-detail.js +74 -0
  812. package/lib-es/utilities/mute-action.js +41 -0
  813. package/lib-es/utilities/package-info.js +7 -0
  814. package/lib-es/utilities/parameters.js +47 -0
  815. package/lib-es/utilities/platform.js +7 -0
  816. package/lib-es/utilities/privilege.js +21 -0
  817. package/lib-es/utilities/regex.js +7 -0
  818. package/lib-es/utilities/renderer.js +430 -0
  819. package/lib-es/utilities/shared-storage.js +56 -0
  820. package/lib-es/utilities/tools.js +252 -0
  821. package/lib-es/utilities/ui-resources.js +84 -0
  822. package/lib-es/utilities/useNamespace.js +59 -0
  823. package/lib-es/utilities/validate-params.js +9 -0
  824. package/package.json +11 -9
@@ -0,0 +1,1468 @@
1
+ import "core-js/modules/es.symbol.js";
2
+ import "core-js/modules/es.symbol.description.js";
3
+ import "core-js/modules/es.symbol.to-primitive.js";
4
+ import "core-js/modules/es.error.cause.js";
5
+ import "core-js/modules/es.error.to-string.js";
6
+ import "core-js/modules/es.array.is-array.js";
7
+ import "core-js/modules/es.date.to-primitive.js";
8
+ import "core-js/modules/es.function.name.js";
9
+ import "core-js/modules/es.number.constructor.js";
10
+ import "core-js/modules/es.object.create.js";
11
+ import "core-js/modules/es.object.define-property.js";
12
+ import "core-js/modules/es.object.get-own-property-descriptor.js";
13
+ import "core-js/modules/esnext.function.metadata.js";
14
+ import "core-js/modules/esnext.symbol.metadata.js";
15
+ import _typeof from "@babel/runtime/helpers/typeof";
16
+ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
17
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
18
+ import _createClass from "@babel/runtime/helpers/createClass";
19
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
20
+ var _LayoutStoreBase;
21
+ var _initProto, _participantDecs, _init_participant, _chatDecs, _init_chat, _chatActionDecs, _init_chatAction, _stateBarDecs, _init_stateBar, _actionBarDecs, _init_actionBar, _layersDecs, _init_layers, _whiteboardDecs, _init_whiteboard, _annotationDecs, _init_annotation, _screenShareControlDecs, _init_screenShareControl, _subtitlesDecs, _init_subtitles, _subtitlesHistoryDecs, _init_subtitlesHistory, _subtitlesHistorySettingsDecs, _init_subtitlesHistorySettings, _init_collapsed, _init_aside, _init_barHovering, _init_barLocked, _init_barHidden, _init_asideWidth, _init_userVolumeMap, _init_chatRoomState, _init_whiteboardActive, _init_ownerUser, _addPinMessageDecs, _cancelPinMessageDecs, _setWhiteboardActiveDecs, _setAsideWidthDecs, _updateSlotsDecs, _toggleLayoutDecs, _toggleCollapsedDecs, _toggleAsideDecs, _asideWidthChangedDecs, _toggleLayoutBarLockDecs, _toggleLayoutBarHiddenDecs, _resetLockTimerDecs, _setHoveringHandlerDecs, _setHoveringLeaveHandlerDecs, _setScreenShareSpeakerViewSizeDecs, _handleLiveLayoutChangeDecs, _onUserInfoUpdatedDecs, _handleLayoutUpdatedDecs, _init__handleLayoutUpdated, _handleMainListLengthChangedDecs, _handleMainListChangedDecs, _setBarHoveringDecs, _handleConnectionUpdatedDecs, _findVideoWindowByUserIdDecs, _onRemoteUsersLeftDecs, _onAudioVolumeUpdatedDecs, _ref;
22
+ import "core-js/modules/es.array.every.js";
23
+ import "core-js/modules/es.array.filter.js";
24
+ import "core-js/modules/es.array.find.js";
25
+ import "core-js/modules/es.array.for-each.js";
26
+ import "core-js/modules/es.array.iterator.js";
27
+ import "core-js/modules/es.array.push.js";
28
+ import "core-js/modules/es.array.slice.js";
29
+ import "core-js/modules/es.array.some.js";
30
+ import "core-js/modules/es.function.bind.js";
31
+ import "core-js/modules/es.map.js";
32
+ import "core-js/modules/es.object.to-string.js";
33
+ import "core-js/modules/es.object.values.js";
34
+ import "core-js/modules/es.string.iterator.js";
35
+ import "core-js/modules/es.weak-map.js";
36
+ import "core-js/modules/esnext.iterator.constructor.js";
37
+ import "core-js/modules/esnext.iterator.every.js";
38
+ import "core-js/modules/esnext.iterator.filter.js";
39
+ import "core-js/modules/esnext.iterator.find.js";
40
+ import "core-js/modules/esnext.iterator.for-each.js";
41
+ import "core-js/modules/esnext.iterator.some.js";
42
+ import "core-js/modules/esnext.map.delete-all.js";
43
+ import "core-js/modules/esnext.map.emplace.js";
44
+ import "core-js/modules/esnext.map.every.js";
45
+ import "core-js/modules/esnext.map.filter.js";
46
+ import "core-js/modules/esnext.map.find.js";
47
+ import "core-js/modules/esnext.map.find-key.js";
48
+ import "core-js/modules/esnext.map.includes.js";
49
+ import "core-js/modules/esnext.map.key-of.js";
50
+ import "core-js/modules/esnext.map.map-keys.js";
51
+ import "core-js/modules/esnext.map.map-values.js";
52
+ import "core-js/modules/esnext.map.merge.js";
53
+ import "core-js/modules/esnext.map.reduce.js";
54
+ import "core-js/modules/esnext.map.some.js";
55
+ import "core-js/modules/esnext.map.update.js";
56
+ import "core-js/modules/esnext.weak-map.delete-all.js";
57
+ import "core-js/modules/esnext.weak-map.emplace.js";
58
+ import "core-js/modules/web.dom-collections.for-each.js";
59
+ import "core-js/modules/web.dom-collections.iterator.js";
60
+ import "core-js/modules/web.timers.js";
61
+ function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
62
+ function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
63
+ function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
64
+ function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
65
+ function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
66
+ function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
67
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
68
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
69
+ function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
70
+ function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
71
+ import { action, computed, observable, reaction, runInAction } from 'mobx';
72
+ import { FcrVideoSourceType } from 'fcr-core';
73
+ import { FcrUserRole, FcrLiveStreamingState, FcrLiveStreamingLayoutType } from 'fcr-core/lib/type';
74
+ import { bound, debounced } from 'agora-foundation/lib/decorator';
75
+ import { FcrUIVideoWindowLayoutType, FcrUIWindowType } from './type';
76
+ import { WhiteboardBaseEvents, WhiteboardControlbarEvents } from '../whiteboard/type';
77
+ import { transI18n } from 'agora-ui-foundation/lib/i18n';
78
+ import { FcrChatRoomConnectionState } from 'fcr-core/lib/room-control/chatroom-control/type';
79
+ import { ParticipantActionType } from 'agora-ui-foundation/lib/components/participants/attendee';
80
+ import { FcrLiveStreamingStateUpdatedReason, FcrRoomType } from 'fcr-core/lib/room-control/type';
81
+ import { createContext } from 'react';
82
+ import { computedFn } from 'mobx-utils';
83
+ import { FcrUIAction, FcrUIDialogKey } from '../../utilities/constant';
84
+ import { FcrUIRoomType } from '../../type';
85
+ import { MinAsideWidth } from './view';
86
+ import { createLogger } from '../../utilities/logger';
87
+ import { isElectron } from 'agora-foundation/lib/utilities/env';
88
+ import { FcrUIObjectKeys } from '../../object-manager';
89
+ import { FcrUIDisplayDistributionContentType } from '../secondary-window/type';
90
+ var _A = /*#__PURE__*/new WeakMap();
91
+ var _B = /*#__PURE__*/new WeakMap();
92
+ var _C = /*#__PURE__*/new WeakMap();
93
+ var _D = /*#__PURE__*/new WeakMap();
94
+ var _E = /*#__PURE__*/new WeakMap();
95
+ var _F = /*#__PURE__*/new WeakMap();
96
+ var _G = /*#__PURE__*/new WeakMap();
97
+ var _H = /*#__PURE__*/new WeakMap();
98
+ var _I = /*#__PURE__*/new WeakMap();
99
+ var _J = /*#__PURE__*/new WeakMap();
100
+ var _K = /*#__PURE__*/new WeakMap();
101
+ var _L = /*#__PURE__*/new WeakMap();
102
+ var _M = /*#__PURE__*/new WeakMap();
103
+ var _N = /*#__PURE__*/new WeakMap();
104
+ var _O = /*#__PURE__*/new WeakMap();
105
+ var _P = /*#__PURE__*/new WeakMap();
106
+ var _Q = /*#__PURE__*/new WeakMap();
107
+ var _R = /*#__PURE__*/new WeakMap();
108
+ var _S = /*#__PURE__*/new WeakMap();
109
+ var _T = /*#__PURE__*/new WeakMap();
110
+ var _U = /*#__PURE__*/new WeakMap();
111
+ var _V = /*#__PURE__*/new WeakMap();
112
+ _ref = (_participantDecs = [observable, observable.ref], _chatDecs = [observable, observable.ref], _chatActionDecs = [observable, observable.ref], _stateBarDecs = [observable, observable.ref], _actionBarDecs = [observable, observable.ref], _layersDecs = [observable, observable.ref], _whiteboardDecs = [observable, observable.ref], _annotationDecs = [observable, observable.ref], _screenShareControlDecs = [observable, observable.ref], _subtitlesDecs = [observable, observable.ref], _subtitlesHistoryDecs = [observable, observable.ref], _subtitlesHistorySettingsDecs = [observable, observable.ref], _addPinMessageDecs = [action, action.bound], _cancelPinMessageDecs = [action, action.bound], _setWhiteboardActiveDecs = [action, action.bound], _setAsideWidthDecs = [action, action.bound], _updateSlotsDecs = [action, action.bound], _toggleLayoutDecs = [action, action.bound], _toggleCollapsedDecs = [action, action.bound], _toggleAsideDecs = [action, action.bound], _asideWidthChangedDecs = [action, action.bound], _toggleLayoutBarLockDecs = [action, action.bound], _toggleLayoutBarHiddenDecs = [action, action.bound], _resetLockTimerDecs = [action, action.bound], _setHoveringHandlerDecs = [action, action.bound], _setHoveringLeaveHandlerDecs = [action, action.bound], _setScreenShareSpeakerViewSizeDecs = [debounced(400), bound], _handleLiveLayoutChangeDecs = [action, action.bound], _onUserInfoUpdatedDecs = [action, action.bound], _handleLayoutUpdatedDecs = [action, action.bound], _handleMainListLengthChangedDecs = [action, action.bound], _handleMainListChangedDecs = [action, action.bound], _setBarHoveringDecs = [action, action.bound], _handleConnectionUpdatedDecs = [action, action.bound], _findVideoWindowByUserIdDecs = [action, action.bound], _onRemoteUsersLeftDecs = [action, action.bound], _onAudioVolumeUpdatedDecs = [action, action.bound], "logger");
113
+ export var LayoutStoreBase = /*#__PURE__*/function () {
114
+ function LayoutStoreBase(_ref2) {
115
+ var _this = this;
116
+ var objectManager = _ref2.objectManager;
117
+ _classCallCheck(this, LayoutStoreBase);
118
+ _defineProperty(this, _ref, (_initProto(this), createLogger({
119
+ prefix: 'LayoutStore'
120
+ })));
121
+ _defineProperty(this, "_localView", null);
122
+ _defineProperty(this, "_disposers", []);
123
+ _defineProperty(this, "_barLockTimer", 0);
124
+ _defineProperty(this, "_liveStreamState", FcrLiveStreamingState.STOPPED);
125
+ _defineProperty(this, "_roomProviderObserver", {
126
+ onRoutingChanged: this._handleRoutingChanged
127
+ });
128
+ _defineProperty(this, "_roomObserver", {
129
+ onLiveStreamingStateUpdated: this._handleRoomProviderLiveStreamingStateUpdated
130
+ });
131
+ _defineProperty(this, "_streamObserverByVolumeIndicationUpdated", {
132
+ onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
133
+ });
134
+ // Slots
135
+ _classPrivateFieldInitSpec(this, _A, _init_participant(this, null));
136
+ _classPrivateFieldInitSpec(this, _B, _init_chat(this, null));
137
+ _classPrivateFieldInitSpec(this, _C, _init_chatAction(this, null));
138
+ _classPrivateFieldInitSpec(this, _D, _init_stateBar(this, null));
139
+ _classPrivateFieldInitSpec(this, _E, _init_actionBar(this, null));
140
+ _classPrivateFieldInitSpec(this, _F, _init_layers(this, null));
141
+ _classPrivateFieldInitSpec(this, _G, _init_whiteboard(this, null));
142
+ _classPrivateFieldInitSpec(this, _H, _init_annotation(this, null));
143
+ _classPrivateFieldInitSpec(this, _I, _init_screenShareControl(this, null));
144
+ _classPrivateFieldInitSpec(this, _J, _init_subtitles(this, null));
145
+ _classPrivateFieldInitSpec(this, _K, _init_subtitlesHistory(this, null));
146
+ _classPrivateFieldInitSpec(this, _L, _init_subtitlesHistorySettings(this, null));
147
+ // State
148
+ _classPrivateFieldInitSpec(this, _M, _init_collapsed(this, true));
149
+ _classPrivateFieldInitSpec(this, _N, _init_aside(this, false));
150
+ _classPrivateFieldInitSpec(this, _O, _init_barHovering(this, true));
151
+ _classPrivateFieldInitSpec(this, _P, _init_barLocked(this, true));
152
+ _classPrivateFieldInitSpec(this, _Q, _init_barHidden(this, false));
153
+ _classPrivateFieldInitSpec(this, _R, _init_asideWidth(this, MinAsideWidth));
154
+ _classPrivateFieldInitSpec(this, _S, _init_userVolumeMap(this, new Map()));
155
+ _classPrivateFieldInitSpec(this, _T, _init_chatRoomState(this, FcrChatRoomConnectionState.Disconnected));
156
+ _classPrivateFieldInitSpec(this, _U, _init_whiteboardActive(this, false));
157
+ _classPrivateFieldInitSpec(this, _V, _init_ownerUser(this, undefined));
158
+ _defineProperty(this, "getAllowedOperations", computedFn(function (targetRole, isSelf) {
159
+ return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
160
+ }));
161
+ _defineProperty(this, "_handleLayoutUpdated", _init__handleLayoutUpdated(this, function (layout) {
162
+ if (layout === FcrUIVideoWindowLayoutType.Speaker) {
163
+ _this._switchToSpeaker();
164
+ } else if (layout === FcrUIVideoWindowLayoutType.Gallery) {
165
+ _this._switchToGallery();
166
+ }
167
+ }));
168
+ _defineProperty(this, "_setSpotlightStream", function () {
169
+ var spotlightStream = _this._findSpotlightStream();
170
+ if (!spotlightStream.streamId || !spotlightStream.volume) return;
171
+ var streamId = spotlightStream.streamId;
172
+ _this._videoWindowDataSource.setSpeakerSpotlight(streamId);
173
+ });
174
+ // Get all required objects from objectManager
175
+ var roomProvider = objectManager.getObject(FcrUIObjectKeys.P_ROOM_PROVIDER);
176
+ this._dialogProvider = objectManager.getObject(FcrUIObjectKeys.P_DIALOG_PROVIDER);
177
+ this._messageProvider = objectManager.getObject(FcrUIObjectKeys.P_MESSAGE_PROVIDER);
178
+ this._roomControl = roomProvider.currentRoomControl;
179
+ this._userControl = this._roomControl.getUserControl();
180
+ this._streamControl = this._roomControl.getStreamControl();
181
+ this._chatRoomControl = this._roomControl.getChatRoomControl();
182
+ this._whiteBoardControl = this._roomControl.getSharingControl().getBoardControl();
183
+ this._sharedLayoutDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
184
+ this._eventProvider = objectManager.getObject(FcrUIObjectKeys.P_EVENT_PROVIDER);
185
+ this._deviceProvider = objectManager.getObject(FcrUIObjectKeys.P_DEVICE_PROVIDER);
186
+ this._privilegeProvider = objectManager.getObject(FcrUIObjectKeys.P_PRIVILEGE_PROVIDER);
187
+ this._sharedSettingDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
188
+ this._sharedInterpreterDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
189
+ this._chatProvider = objectManager.getObject(FcrUIObjectKeys.P_CHAT_PROVIDER);
190
+ this._videoWindowDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_VIDEO_WINDOW_DATA_SOURCE);
191
+ this._sharedMemberDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_MEMBER_DATA_SOURCE);
192
+ this._pinDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_PIN_DATA_SOURCE);
193
+ this._sharedScreenShareDataSource = objectManager.getObject(FcrUIObjectKeys.S_SHARED_SCREEN_SHARE_DATA_SOURCE);
194
+ this._roomProvider = objectManager.getObject(FcrUIObjectKeys.P_ROOM_PROVIDER);
195
+ this.chatRoomState = this._chatRoomControl.getConnectionState();
196
+ this._roomProvider.addObserver(this._roomProviderObserver);
197
+ }
198
+ return _createClass(LayoutStoreBase, [{
199
+ key: "participant",
200
+ get: function get() {
201
+ return _classPrivateFieldGet(_A, this);
202
+ },
203
+ set: function set(v) {
204
+ _classPrivateFieldSet(_A, this, v);
205
+ }
206
+ }, {
207
+ key: "chat",
208
+ get: function get() {
209
+ return _classPrivateFieldGet(_B, this);
210
+ },
211
+ set: function set(v) {
212
+ _classPrivateFieldSet(_B, this, v);
213
+ }
214
+ }, {
215
+ key: "chatAction",
216
+ get: function get() {
217
+ return _classPrivateFieldGet(_C, this);
218
+ },
219
+ set: function set(v) {
220
+ _classPrivateFieldSet(_C, this, v);
221
+ }
222
+ }, {
223
+ key: "stateBar",
224
+ get: function get() {
225
+ return _classPrivateFieldGet(_D, this);
226
+ },
227
+ set: function set(v) {
228
+ _classPrivateFieldSet(_D, this, v);
229
+ }
230
+ }, {
231
+ key: "actionBar",
232
+ get: function get() {
233
+ return _classPrivateFieldGet(_E, this);
234
+ },
235
+ set: function set(v) {
236
+ _classPrivateFieldSet(_E, this, v);
237
+ }
238
+ }, {
239
+ key: "layers",
240
+ get: function get() {
241
+ return _classPrivateFieldGet(_F, this);
242
+ },
243
+ set: function set(v) {
244
+ _classPrivateFieldSet(_F, this, v);
245
+ }
246
+ }, {
247
+ key: "whiteboard",
248
+ get: function get() {
249
+ return _classPrivateFieldGet(_G, this);
250
+ },
251
+ set: function set(v) {
252
+ _classPrivateFieldSet(_G, this, v);
253
+ }
254
+ }, {
255
+ key: "annotation",
256
+ get: function get() {
257
+ return _classPrivateFieldGet(_H, this);
258
+ },
259
+ set: function set(v) {
260
+ _classPrivateFieldSet(_H, this, v);
261
+ }
262
+ }, {
263
+ key: "screenShareControl",
264
+ get: function get() {
265
+ return _classPrivateFieldGet(_I, this);
266
+ },
267
+ set: function set(v) {
268
+ _classPrivateFieldSet(_I, this, v);
269
+ }
270
+ }, {
271
+ key: "subtitles",
272
+ get: function get() {
273
+ return _classPrivateFieldGet(_J, this);
274
+ },
275
+ set: function set(v) {
276
+ _classPrivateFieldSet(_J, this, v);
277
+ }
278
+ }, {
279
+ key: "subtitlesHistory",
280
+ get: function get() {
281
+ return _classPrivateFieldGet(_K, this);
282
+ },
283
+ set: function set(v) {
284
+ _classPrivateFieldSet(_K, this, v);
285
+ }
286
+ }, {
287
+ key: "subtitlesHistorySettings",
288
+ get: function get() {
289
+ return _classPrivateFieldGet(_L, this);
290
+ },
291
+ set: function set(v) {
292
+ _classPrivateFieldSet(_L, this, v);
293
+ }
294
+ }, {
295
+ key: "collapsed",
296
+ get: function get() {
297
+ return _classPrivateFieldGet(_M, this);
298
+ },
299
+ set: function set(v) {
300
+ _classPrivateFieldSet(_M, this, v);
301
+ }
302
+ }, {
303
+ key: "aside",
304
+ get: function get() {
305
+ return _classPrivateFieldGet(_N, this);
306
+ },
307
+ set: function set(v) {
308
+ _classPrivateFieldSet(_N, this, v);
309
+ }
310
+ }, {
311
+ key: "barHovering",
312
+ get: function get() {
313
+ return _classPrivateFieldGet(_O, this);
314
+ },
315
+ set: function set(v) {
316
+ _classPrivateFieldSet(_O, this, v);
317
+ }
318
+ }, {
319
+ key: "barLocked",
320
+ get: function get() {
321
+ return _classPrivateFieldGet(_P, this);
322
+ },
323
+ set: function set(v) {
324
+ _classPrivateFieldSet(_P, this, v);
325
+ }
326
+ }, {
327
+ key: "barHidden",
328
+ get: function get() {
329
+ return _classPrivateFieldGet(_Q, this);
330
+ },
331
+ set: function set(v) {
332
+ _classPrivateFieldSet(_Q, this, v);
333
+ }
334
+ }, {
335
+ key: "asideWidth",
336
+ get: function get() {
337
+ return _classPrivateFieldGet(_R, this);
338
+ },
339
+ set: function set(v) {
340
+ _classPrivateFieldSet(_R, this, v);
341
+ }
342
+ }, {
343
+ key: "userVolumeMap",
344
+ get: function get() {
345
+ return _classPrivateFieldGet(_S, this);
346
+ },
347
+ set: function set(v) {
348
+ _classPrivateFieldSet(_S, this, v);
349
+ }
350
+ }, {
351
+ key: "chatRoomState",
352
+ get: function get() {
353
+ return _classPrivateFieldGet(_T, this);
354
+ },
355
+ set: function set(v) {
356
+ _classPrivateFieldSet(_T, this, v);
357
+ }
358
+ }, {
359
+ key: "whiteboardActive",
360
+ get: function get() {
361
+ return _classPrivateFieldGet(_U, this);
362
+ },
363
+ set: function set(v) {
364
+ _classPrivateFieldSet(_U, this, v);
365
+ }
366
+ }, {
367
+ key: "ownerUser",
368
+ get: function get() {
369
+ return _classPrivateFieldGet(_V, this);
370
+ },
371
+ set: function set(v) {
372
+ _classPrivateFieldSet(_V, this, v);
373
+ }
374
+ }, {
375
+ key: "streamControl",
376
+ get: function get() {
377
+ return this._streamControl;
378
+ }
379
+ }, {
380
+ key: "localUserRole",
381
+ get: function get() {
382
+ return this._sharedMemberDataSource.localUserRole;
383
+ }
384
+ }, {
385
+ key: "localUser",
386
+ get: function get() {
387
+ return this._sharedMemberDataSource.localUser;
388
+ }
389
+ }, {
390
+ key: "shouldHideNonVideoParticipants",
391
+ get: function get() {
392
+ return this._sharedSettingDataSource.setting.shouldHideNonVideoParticipants || false;
393
+ }
394
+ }, {
395
+ key: "shouldHideMyVideo",
396
+ get: function get() {
397
+ return this._sharedSettingDataSource.setting.shouldHideMyVideo || false;
398
+ }
399
+ }, {
400
+ key: "enableSpotlight",
401
+ get: function get() {
402
+ return this._sharedSettingDataSource.setting.spotlightEnabled;
403
+ }
404
+ }, {
405
+ key: "isWaterMarkEnabled",
406
+ get: function get() {
407
+ return this._privilegeProvider.isWaterMarkEnabled();
408
+ }
409
+ }, {
410
+ key: "isMulti",
411
+ get: function get() {
412
+ return this._privilegeProvider.isMultiWaterMarkEnabled();
413
+ }
414
+ }, {
415
+ key: "layout",
416
+ get: function get() {
417
+ return this._videoWindowDataSource.layoutType;
418
+ }
419
+ }, {
420
+ key: "manualLayout",
421
+ get: function get() {
422
+ return this._videoWindowDataSource.manualLayout;
423
+ }
424
+ }, {
425
+ key: "scalcValue",
426
+ get: function get() {
427
+ return this._sharedScreenShareDataSource.screenShareScalcValue;
428
+ }
429
+ }, {
430
+ key: "annotationHasStart",
431
+ get: function get() {
432
+ // return this._sharedAnnotationDataSource.annotationHasStart;
433
+ return false;
434
+ }
435
+ }, {
436
+ key: "sourceList",
437
+ get: function get() {
438
+ var mainList = this._videoWindowDataSource.mainList;
439
+ if (this.isMultiDisplayActive) {
440
+ switch (this.secondaryWindowContentType) {
441
+ case FcrUIDisplayDistributionContentType.LOCAL_CAMERA:
442
+ if (mainList.length === 1) {
443
+ return mainList;
444
+ } else {
445
+ return mainList.filter(function (item) {
446
+ return !item.isMySelf;
447
+ });
448
+ }
449
+ case FcrUIDisplayDistributionContentType.SHARING_SCREEN:
450
+ case FcrUIDisplayDistributionContentType.SHARING_SCREEN_WITH_ANNOTATION:
451
+ return mainList.filter(function (item) {
452
+ return item.videoSourceType !== FcrVideoSourceType.SCREEN;
453
+ });
454
+ case FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD:
455
+ return mainList.filter(function (item) {
456
+ return item.type !== FcrUIWindowType.BOARD;
457
+ });
458
+ case FcrUIDisplayDistributionContentType.HIDDEN:
459
+ var sharingType = this.multiDisplaySharingType;
460
+
461
+ // 当自己进行屏幕共享时,会隐藏副窗口,主窗口中不需要显示屏幕共享流
462
+ if (sharingType === FcrUIDisplayDistributionContentType.SHARING_SCREEN || sharingType === FcrUIDisplayDistributionContentType.SHARING_SCREEN_WITH_ANNOTATION) {
463
+ return mainList.filter(function (item) {
464
+ return item.videoSourceType !== FcrVideoSourceType.SCREEN;
465
+ });
466
+ }
467
+ }
468
+ }
469
+ var isMyselfCurrentScreenSharing = this._videoWindowDataSource.mainList.some(function (i) {
470
+ return i.hasScreenSharing && i.isMySelf;
471
+ });
472
+ var isMyselfCurrentHasBoardSharing = this._videoWindowDataSource.mainList.some(function (i) {
473
+ return i.hasBoardSharing && i.isMySelf;
474
+ });
475
+ if (isMyselfCurrentScreenSharing && !isMyselfCurrentHasBoardSharing) {
476
+ return this._videoWindowDataSource.mainList.filter(function (i) {
477
+ return !(i.isMySelf && i.videoSourceType !== FcrVideoSourceType.SCREEN);
478
+ });
479
+ } else {
480
+ return this._videoWindowDataSource.mainList.filter(function (i) {
481
+ return !i.isMySelf || i.videoSourceType !== FcrVideoSourceType.SCREEN;
482
+ });
483
+ }
484
+ }
485
+ }, {
486
+ key: "layoutMainList",
487
+ get: function get() {
488
+ var _this2 = this;
489
+ var nonVideoStreamParticipantList = this.sourceList.filter(function (i) {
490
+ return _this2._isVideoParticipantVisible(i);
491
+ });
492
+ var list = this.shouldHideNonVideoParticipants ? nonVideoStreamParticipantList : this.sourceList;
493
+ var isOnlyOne = list.every(function (i) {
494
+ return i.isMySelf && i.type === FcrUIWindowType.VIDEO;
495
+ });
496
+ return list.filter(function (i) {
497
+ if (_this2.shouldHideMyVideo && !isOnlyOne && i.isMySelf && i.type === FcrUIWindowType.VIDEO) {
498
+ return false;
499
+ }
500
+ return true;
501
+ });
502
+ }
503
+ }, {
504
+ key: "mainList",
505
+ get: function get() {
506
+ return this.layoutMainList;
507
+ }
508
+ }, {
509
+ key: "mainListMapByAudioStreamId",
510
+ get: function get() {
511
+ var map = new Map();
512
+ this._videoWindowDataSource.mainList.forEach(function (item) {
513
+ if (item.audioStreamId) {
514
+ map.set(item.audioStreamId, item);
515
+ } else {
516
+ map.set(item.windowId, item);
517
+ }
518
+ });
519
+ return map;
520
+ }
521
+ }, {
522
+ key: "spotlightStreamId",
523
+ get: function get() {
524
+ return this._videoWindowDataSource.spotlightStreamId;
525
+ }
526
+ }, {
527
+ key: "foldList",
528
+ get: function get() {
529
+ return this._videoWindowDataSource.foldList;
530
+ }
531
+ }, {
532
+ key: "currentShareData",
533
+ get: function get() {
534
+ return this.mainList.find(function (item) {
535
+ return item.videoSourceType === FcrVideoSourceType.SCREEN || item.type === FcrUIWindowType.BOARD;
536
+ });
537
+ }
538
+ }, {
539
+ key: "galleryList",
540
+ get: function get() {
541
+ return this._videoWindowDataSource.layoutType === FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(0, 1) : this.mainList;
542
+ }
543
+ }, {
544
+ key: "isMainWindow",
545
+ get: function get() {
546
+ return this.galleryList.length === 1;
547
+ }
548
+ }, {
549
+ key: "isMainWindowInScreenSharing",
550
+ get: function get() {
551
+ return this.galleryList.length === 1 && this.galleryList[0].videoSourceType === FcrVideoSourceType.SCREEN;
552
+ }
553
+ }, {
554
+ key: "isCurrentUserInBoardSharing",
555
+ get: function get() {
556
+ return this.mainList.some(function (i) {
557
+ return i.hasBoardSharing;
558
+ });
559
+ }
560
+ }, {
561
+ key: "asideLayout",
562
+ get: function get() {
563
+ var _this$_sharedLayoutDa;
564
+ return (_this$_sharedLayoutDa = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa === void 0 ? void 0 : _this$_sharedLayoutDa.asideLayout;
565
+ }
566
+ }, {
567
+ key: "carouselList",
568
+ get: function get() {
569
+ return this._videoWindowDataSource.layoutType === FcrUIVideoWindowLayoutType.Speaker ? this.mainList.slice(1) : this.mainList;
570
+ }
571
+ }, {
572
+ key: "hasPinnedStream",
573
+ get: function get() {
574
+ return this.mainList.some(function (u) {
575
+ return u.isPin;
576
+ });
577
+ }
578
+ }, {
579
+ key: "isRobot",
580
+ get: function get() {
581
+ return this.localUserRole === FcrUserRole.ROBOT;
582
+ }
583
+ }, {
584
+ key: "findSpotlightUser",
585
+ get: function get() {
586
+ var _this3 = this;
587
+ return this.spotlightStreamId ? this.mainList.find(function (item) {
588
+ return item.videoStreamId === _this3.spotlightStreamId || item.audioStreamId === _this3.spotlightStreamId;
589
+ }) : null;
590
+ }
591
+ }, {
592
+ key: "isWhoISpeakingActive",
593
+ get: function get() {
594
+ var _this$findSpotlightUs;
595
+ var spotlightUserName = (_this$findSpotlightUs = this.findSpotlightUser) === null || _this$findSpotlightUs === void 0 ? void 0 : _this$findSpotlightUs.userName;
596
+ var isSpeakerLayout = this.layout === FcrUIVideoWindowLayoutType.Speaker;
597
+ var speakerWindowData = this.galleryList[0];
598
+ var isSpeakerIsSharing = (speakerWindowData === null || speakerWindowData === void 0 ? void 0 : speakerWindowData.videoSourceType) === FcrVideoSourceType.SCREEN || (speakerWindowData === null || speakerWindowData === void 0 ? void 0 : speakerWindowData.type) === FcrUIWindowType.BOARD;
599
+ var active = spotlightUserName && isSpeakerLayout && this.collapsed && !isSpeakerIsSharing;
600
+ return active;
601
+ }
602
+ }, {
603
+ key: "microphoneEnabled",
604
+ get: function get() {
605
+ return this._deviceProvider.microphoneEnabled;
606
+ }
607
+ }, {
608
+ key: "cameraEnabled",
609
+ get: function get() {
610
+ return this._deviceProvider.cameraEnabled;
611
+ }
612
+ }, {
613
+ key: "allowChat",
614
+ get: function get() {
615
+ return this._privilegeProvider.isChatAllowed();
616
+ }
617
+ }, {
618
+ key: "allowUnmuteSelfAudio",
619
+ get: function get() {
620
+ return this._privilegeProvider.isUnmuteSelfAudioAllowed();
621
+ }
622
+ }, {
623
+ key: "allowUnmuteSelfVideo",
624
+ get: function get() {
625
+ return this._privilegeProvider.isUnmuteSelfVideoAllowed();
626
+ }
627
+ }, {
628
+ key: "isHostOrCoHost",
629
+ get: function get() {
630
+ return this._sharedMemberDataSource.isLocalUserHost;
631
+ }
632
+ }, {
633
+ key: "galleryMaxSize",
634
+ get: function get() {
635
+ var _this$_sharedLayoutDa2;
636
+ return (_this$_sharedLayoutDa2 = this._sharedLayoutDataSource) === null || _this$_sharedLayoutDa2 === void 0 ? void 0 : _this$_sharedLayoutDa2.layoutSize;
637
+ }
638
+ }, {
639
+ key: "allowedAllChat",
640
+ get: function get() {
641
+ return this._privilegeProvider.isAllChatAllowed();
642
+ }
643
+ }, {
644
+ key: "allowedPublicChatAndDisallowedPrivateChat",
645
+ get: function get() {
646
+ return this._privilegeProvider.isPublicChatAllowedAndPrivateChatDisallowed();
647
+ }
648
+ }, {
649
+ key: "disallowedPublicChatAndDisallowedPrivateChatToParticipant",
650
+ get: function get() {
651
+ return this._privilegeProvider.isPublicChatAndPrivateChatToParticipantDisallowed();
652
+ }
653
+ }, {
654
+ key: "disallowedAllChat",
655
+ get: function get() {
656
+ return this._privilegeProvider.isAllChatDisallowed();
657
+ }
658
+ }, {
659
+ key: "privilegeOperator",
660
+ get: function get() {
661
+ return this._privilegeProvider.getPrivilegeOperator();
662
+ }
663
+ }, {
664
+ key: "localUserId",
665
+ get: function get() {
666
+ return this._sharedMemberDataSource.localUser.userId;
667
+ }
668
+ }, {
669
+ key: "interpreterUserList",
670
+ get: function get() {
671
+ return this._sharedInterpreterDataSource.interpreterUserList;
672
+ }
673
+ }, {
674
+ key: "isInterpreterEnabled",
675
+ get: function get() {
676
+ return this._sharedInterpreterDataSource.isInterpreterEnabled;
677
+ }
678
+ }, {
679
+ key: "participantCount",
680
+ get: function get() {
681
+ return this._sharedMemberDataSource.totalUserCount;
682
+ }
683
+ }, {
684
+ key: "asideContent",
685
+ get: function get() {
686
+ return this._sharedLayoutDataSource.asideLayout;
687
+ }
688
+ }, {
689
+ key: "participantsRenderAt",
690
+ get: function get() {
691
+ return this._sharedLayoutDataSource.participantsRenderAt;
692
+ }
693
+ }, {
694
+ key: "chatRenderAt",
695
+ get: function get() {
696
+ return this._sharedLayoutDataSource.chatRenderAt;
697
+ }
698
+ }, {
699
+ key: "subtitlesHistoryRenderAt",
700
+ get: function get() {
701
+ return this._sharedLayoutDataSource.subtitlesHistoryRenderAt;
702
+ }
703
+ }, {
704
+ key: "getWaterMarkContent",
705
+ value: function getWaterMarkContent() {
706
+ return this._privilegeProvider.getWaterMarkContent();
707
+ }
708
+ }, {
709
+ key: "hasMutePermission",
710
+ value: function hasMutePermission(targetRole) {
711
+ return this._privilegeProvider.hasMutePermission(targetRole);
712
+ }
713
+ }, {
714
+ key: "hasUnmutePermission",
715
+ value: function hasUnmutePermission(targetRole) {
716
+ return this._privilegeProvider.hasUnmutePermission(targetRole);
717
+ }
718
+ }, {
719
+ key: "hasRequestStartAudioPermission",
720
+ value: function hasRequestStartAudioPermission(targetRole) {
721
+ return this._privilegeProvider.hasRequestStartAudioPermission(targetRole);
722
+ }
723
+ }, {
724
+ key: "toggleMainStream",
725
+ value: function toggleMainStream(streamId) {
726
+ var success = this._videoWindowDataSource.toggleMainStream(streamId);
727
+ if (success) {
728
+ if (this.layout === FcrUIVideoWindowLayoutType.Gallery) {
729
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker, true);
730
+ }
731
+ }
732
+ }
733
+ }, {
734
+ key: "addPinMessage",
735
+ value: function addPinMessage(streamId) {
736
+ this._pinDataSource.addPin(streamId);
737
+ }
738
+ }, {
739
+ key: "cancelPinMessage",
740
+ value: function cancelPinMessage(streamId) {
741
+ this._pinDataSource.removePin(streamId);
742
+ }
743
+ }, {
744
+ key: "addPin",
745
+ value: function addPin(streamId) {
746
+ this.addPinMessage(streamId);
747
+ }
748
+ }, {
749
+ key: "removePin",
750
+ value: function removePin(streamId) {
751
+ this.cancelPinMessage(streamId);
752
+ }
753
+ }, {
754
+ key: "setVideoOrientation",
755
+ value: function setVideoOrientation() {
756
+ this._deviceProvider.setVideoOrientation();
757
+ }
758
+ }, {
759
+ key: "setAllowChat",
760
+ value: function setAllowChat(allowChat) {
761
+ this._privilegeProvider.setAllowChat(allowChat);
762
+ }
763
+ }, {
764
+ key: "handleSetPinState",
765
+ value: function handleSetPinState(userId) {
766
+ var _user = this.mainList.find(function (u) {
767
+ return u.userId === userId;
768
+ });
769
+ if (!_user) return;
770
+ var streamId = _user.videoStreamId || _user.audioStreamId || '';
771
+ if (!streamId) return;
772
+ if (_user.isPin) {
773
+ this.removePin(streamId);
774
+ } else {
775
+ this.addPin(streamId);
776
+ }
777
+ }
778
+ }, {
779
+ key: "setWhiteboardActive",
780
+ value: function setWhiteboardActive(active) {
781
+ this.whiteboardActive = active;
782
+ }
783
+ }, {
784
+ key: "setAsideWidth",
785
+ value: function setAsideWidth(val) {
786
+ this.asideWidthChanged(val);
787
+ !this.aside && this.toggleAside(true);
788
+ this.asideWidth = val;
789
+ }
790
+ /**
791
+ * Partially update slots, use `null` to delete the slot.
792
+ * `undefined` is ignored.
793
+ */
794
+ }, {
795
+ key: "updateSlots",
796
+ value: function updateSlots(slots) {
797
+ for (var key in slots) {
798
+ var slot = slots[key];
799
+ if (key in this && slot !== undefined) {
800
+ this[key] = slot;
801
+ }
802
+ }
803
+ }
804
+ }, {
805
+ key: "closeParticipantFromAside",
806
+ value: function closeParticipantFromAside() {
807
+ this._sharedLayoutDataSource.setAsideLayout({
808
+ participant: false
809
+ });
810
+ }
811
+ }, {
812
+ key: "moveParticipantFromAsideToDialog",
813
+ value: function moveParticipantFromAsideToDialog() {
814
+ this.closeParticipantFromAside();
815
+ this._sharedLayoutDataSource.setParticipantsRenderAt('dialog');
816
+ this._dialogProvider.openDialog(FcrUIDialogKey.PARTICIPANT);
817
+ }
818
+ }, {
819
+ key: "closeChatFromAside",
820
+ value: function closeChatFromAside() {
821
+ this._sharedLayoutDataSource.setAsideLayout({
822
+ chat: false
823
+ });
824
+ }
825
+ }, {
826
+ key: "closeAsideChat",
827
+ value: function closeAsideChat() {
828
+ this.closeChatFromAside();
829
+ this._eventProvider.notifyChatResetTarget();
830
+ }
831
+ }, {
832
+ key: "moveChatFromAsideToDialog",
833
+ value: function moveChatFromAsideToDialog() {
834
+ this.closeChatFromAside();
835
+ this._sharedLayoutDataSource.setChatRenderAt('dialog');
836
+ this._dialogProvider.openDialog(FcrUIDialogKey.CHAT);
837
+ this._sharedLayoutDataSource.setAsideLayout({
838
+ chat: true
839
+ });
840
+ }
841
+ }, {
842
+ key: "openPrivateChat",
843
+ value: function openPrivateChat(userId) {
844
+ var _this$_userControl;
845
+ if (!this._privilegeProvider.permitPrivateChat(userId)) {
846
+ return;
847
+ }
848
+ if (!this.asideContent.chat) {
849
+ this._sharedLayoutDataSource.setAsideLayout({
850
+ chat: true
851
+ });
852
+ }
853
+ var user = Object.values(this === null || this === void 0 || (_this$_userControl = this._userControl) === null || _this$_userControl === void 0 ? void 0 : _this$_userControl.getUsers()).find(function (u) {
854
+ return u.userId === userId;
855
+ });
856
+ user && this._chatProvider.setPrivateChatTargetUser(user, FcrUIRoomType.MAIN_ROOM);
857
+ }
858
+ }, {
859
+ key: "openRenameDialog",
860
+ value: function openRenameDialog(userId) {
861
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, {
862
+ action: ParticipantActionType.RENAME_IN_MEETING,
863
+ userId: userId
864
+ });
865
+ }
866
+ }, {
867
+ key: "closeSubtitlesHistoryFromAside",
868
+ value: function closeSubtitlesHistoryFromAside() {
869
+ this._sharedLayoutDataSource.setAsideLayout({
870
+ subtitlesHistory: false
871
+ });
872
+ }
873
+ }, {
874
+ key: "moveSubtitlesHistoryFromAsideToDialog",
875
+ value: function moveSubtitlesHistoryFromAsideToDialog() {
876
+ this._sharedLayoutDataSource.setSubtitlesHistoryRenderAt('dialog');
877
+ this._dialogProvider.openDialog(FcrUIDialogKey.SUBTITLES_HISTORY);
878
+ }
879
+ }, {
880
+ key: "toggleLayout",
881
+ value: function toggleLayout(layout, manual) {
882
+ this._videoWindowDataSource.setLayout(layout, manual);
883
+ }
884
+ }, {
885
+ key: "toggleCollapsed",
886
+ value: function toggleCollapsed() {
887
+ var collapsed = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.collapsed;
888
+ this.collapsed = collapsed;
889
+ this._eventProvider.sendEvent(FcrUIAction.CAROUSEL_COLLAPSED, collapsed);
890
+ }
891
+ }, {
892
+ key: "toggleAside",
893
+ value: function toggleAside() {
894
+ var open = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !this.aside;
895
+ this.aside = open;
896
+ }
897
+ }, {
898
+ key: "asideWidthChanged",
899
+ value: function asideWidthChanged(width) {
900
+ this._eventProvider.sendEvent(FcrUIAction.ASIDE_WIDTH_CHANGED, width);
901
+ }
902
+ }, {
903
+ key: "toggleLayoutBarLock",
904
+ value: function toggleLayoutBarLock(state) {
905
+ // this.barLocked = state;
906
+ }
907
+ }, {
908
+ key: "toggleLayoutBarHidden",
909
+ value: function toggleLayoutBarHidden() {
910
+ this.barHidden = !this.barHidden;
911
+ }
912
+ }, {
913
+ key: "resetLockTimer",
914
+ value: function resetLockTimer() {
915
+ if (!this._barLockTimer) return;
916
+ window.clearTimeout(this._barLockTimer);
917
+ this._barLockTimer = 0;
918
+ }
919
+ }, {
920
+ key: "setHoveringHandler",
921
+ value: function setHoveringHandler() {
922
+ var _this4 = this;
923
+ this._setBarHovering(true);
924
+ if (!this._barLockTimer && !this.barLocked) {
925
+ this._barLockTimer = window.setTimeout(function () {
926
+ _this4._setBarHovering(false);
927
+ _this4.resetLockTimer();
928
+ }, 3000);
929
+ }
930
+ }
931
+ }, {
932
+ key: "setHoveringLeaveHandler",
933
+ value: function setHoveringLeaveHandler() {
934
+ return !this.barLocked && this._setBarHovering(false);
935
+ }
936
+ }, {
937
+ key: "setScreenShareSpeakerViewSize",
938
+ value: function setScreenShareSpeakerViewSize(width, height) {
939
+ this._sharedScreenShareDataSource.setScreenShareSpeakerViewSize(width, height);
940
+ }
941
+ }, {
942
+ key: "handleLiveLayoutChange",
943
+ value: function handleLiveLayoutChange(modifiedUser) {
944
+ if (modifiedUser.userId === this.localUserId && modifiedUser.userRole === FcrUserRole.HOST) {
945
+ // 当本人变成主持人时
946
+ if (this._liveStreamState === FcrLiveStreamingState.STARTED) {
947
+ // 直播中,切换布局
948
+ this._roomControl.updateLiveStreamingLayout(this.layout === FcrUIVideoWindowLayoutType.Speaker ? FcrLiveStreamingLayoutType.SPEAKER : FcrLiveStreamingLayoutType.GALLERY);
949
+ }
950
+ }
951
+ }
952
+ }, {
953
+ key: "release",
954
+ value: function release() {
955
+ this._disposers.forEach(function (fn) {
956
+ return fn();
957
+ });
958
+ this._disposers = [];
959
+ this._roomProvider.currentRoomControl.removeObserver(this._roomObserver);
960
+ this._roomProvider.removeObserver(this._roomProviderObserver);
961
+ }
962
+ }, {
963
+ key: "onUserInfoUpdated",
964
+ value: function onUserInfoUpdated(roomId, event) {
965
+ this._videoWindowDataSource.update(event.modifiedUser);
966
+ this.handleLiveLayoutChange(event.modifiedUser);
967
+ }
968
+ }, {
969
+ key: "stopLocalPreview",
970
+ value: function stopLocalPreview(view) {
971
+ this._deviceProvider.stopPlayLocalVideo(view);
972
+ }
973
+ }, {
974
+ key: "startLocalPreview",
975
+ value: function startLocalPreview(div) {
976
+ if (div) {
977
+ this._deviceProvider.startPlayLocalVideo(div);
978
+ }
979
+ }
980
+ }, {
981
+ key: "setAllowChatWithPayload",
982
+ value: function setAllowChatWithPayload(type) {
983
+ switch (type) {
984
+ case 'public':
985
+ this._privilegeProvider.setAllowedPublicChatAndDisallowedPrivateChat();
986
+ break;
987
+ case 'private_to_manager':
988
+ this._privilegeProvider.setDisallowedPublicChatAndDisallowedPrivateChatToParticipant();
989
+ break;
990
+ }
991
+ }
992
+ }, {
993
+ key: "setScaleValue",
994
+ value: function setScaleValue(scale) {
995
+ this._sharedScreenShareDataSource.setScreenShareScalcValue(scale);
996
+ }
997
+ }, {
998
+ key: "muteAudio",
999
+ value: function muteAudio(mute, userId) {
1000
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, {
1001
+ action: mute ? ParticipantActionType.MUTE_AUDIO : ParticipantActionType.UNMUTE_AUDIO,
1002
+ userId: userId
1003
+ });
1004
+ }
1005
+ }, {
1006
+ key: "sendParticipantEvent",
1007
+ value: function sendParticipantEvent(payload) {
1008
+ this._eventProvider.sendEvent(FcrUIAction.PARTICIPANT_ACTION, payload);
1009
+ }
1010
+ }, {
1011
+ key: "onEvent",
1012
+ value: function onEvent(action, payload) {
1013
+ if (action === FcrUIAction.SET_USER_PIN_STATE) {
1014
+ var _ref3 = payload,
1015
+ userId = _ref3.userId;
1016
+ this.handleSetPinState(userId);
1017
+ }
1018
+ if (action === FcrUIAction.TOGGLE_LAYOUT_BAR_LOCK) {
1019
+ this.toggleLayoutBarLock(payload);
1020
+ }
1021
+ if (action === FcrUIAction.TOGGLE_LAYOUT_ACTIONBAR_HIDDEN) {
1022
+ this.toggleLayoutBarHidden();
1023
+ }
1024
+ if (action === FcrUIAction.WHITEBOARD_CHANGED) {
1025
+ var _ref4 = payload,
1026
+ changeAction = _ref4.action,
1027
+ isLoneyWindow = _ref4.payload;
1028
+ if (changeAction === WhiteboardControlbarEvents.LONEYWINDOW) {
1029
+ if (isLoneyWindow) {
1030
+ this._videoWindowDataSource.removeBoard();
1031
+ } else {
1032
+ var isActive = this._whiteBoardControl.getActivity();
1033
+ var ownerUserId = this._whiteBoardControl.getOwnerId();
1034
+ if (isActive) {
1035
+ var ownerUser = this._userControl.getUser(ownerUserId);
1036
+ this._videoWindowDataSource.addBoard(ownerUser, ownerUserId === this.localUserId, this._privilegeProvider.hasWriteBoardPermission());
1037
+ } else {
1038
+ this.logger.warn('LayoutStore onEvent, WhiteboardControlbarEvents.LONEYWINDOW isLoneyWindow false, boardActiveInfo isActive is false, ownerUserId is null');
1039
+ }
1040
+ }
1041
+ }
1042
+ if (changeAction === WhiteboardBaseEvents.SET_OWNER_USER_ID) {
1043
+ var _ref5 = payload,
1044
+ _ownerUserId = _ref5.payload;
1045
+ this.ownerUser = _ownerUserId ? this._userControl.getUser(_ownerUserId) : undefined;
1046
+ }
1047
+ }
1048
+ }
1049
+
1050
+ /**
1051
+ * Initialize the store, must be called in the sub class construction
1052
+ */
1053
+ }, {
1054
+ key: "_initialize",
1055
+ value: function _initialize() {
1056
+ this._addListeners();
1057
+ this._initStream();
1058
+ this._handleMainListChanged();
1059
+ this._handleMainListLengthChanged();
1060
+ this._handleLayoutUpdated(this._videoWindowDataSource.layoutType);
1061
+ this.setWhiteboardActive(this._whiteBoardControl.getActivity());
1062
+ }
1063
+ }, {
1064
+ key: "_addListeners",
1065
+ value: function _addListeners() {
1066
+ var _this5 = this;
1067
+ var roomObserver = {
1068
+ onLiveStreamingStateUpdated: this._handleLiveStreamingStateUpdated
1069
+ };
1070
+ var eventObserver = {
1071
+ onEvent: this.onEvent
1072
+ };
1073
+ var streamObserver = {
1074
+ onStreamsAdded: this._onStreamsAdded,
1075
+ onStreamsUpdated: this._onStreamsUpdated,
1076
+ onStreamsRemoved: this._onStreamsRemoved
1077
+ };
1078
+ var userObserver = {
1079
+ onUserInfoUpdated: this.onUserInfoUpdated,
1080
+ onRemoteUsersLeft: this._onRemoteUsersLeft
1081
+ };
1082
+ var videoWindowObserver = {
1083
+ onLayoutUpdated: this._handleLayoutUpdated,
1084
+ onMainListAdded: this._handleMainListChanged,
1085
+ onMainListUpdated: this._handleMainListChanged,
1086
+ onMainListRemoved: this._handleMainListChanged
1087
+ };
1088
+ var whiteboardObserver = {
1089
+ onActive: function onActive() {
1090
+ return _this5.setWhiteboardActive(true);
1091
+ },
1092
+ onInactive: function onInactive() {
1093
+ return _this5.setWhiteboardActive(false);
1094
+ }
1095
+ };
1096
+ var chatObserver = {
1097
+ onChatRoomConnectionStateUpdated: this._handleConnectionUpdated
1098
+ };
1099
+ this._roomControl.addObserver(roomObserver);
1100
+ this._eventProvider.addObserver(eventObserver);
1101
+ this._streamControl.addObserver(streamObserver);
1102
+ this._userControl.addObserver(userObserver);
1103
+ this._videoWindowDataSource.addObserver(videoWindowObserver);
1104
+ this._whiteBoardControl.addObserver(whiteboardObserver);
1105
+ this._chatProvider.addObserver(chatObserver);
1106
+ if (this.enableSpotlight) {
1107
+ this._streamControl.addObserver(this._streamObserverByVolumeIndicationUpdated);
1108
+ }
1109
+ this._disposers.push(function () {
1110
+ _this5._roomControl.removeObserver(roomObserver);
1111
+ _this5._eventProvider.removeObserver(eventObserver);
1112
+ _this5._streamControl.removeObserver(streamObserver);
1113
+ _this5._streamControl.removeObserver(_this5._streamObserverByVolumeIndicationUpdated);
1114
+ _this5._userControl.removeObserver(userObserver);
1115
+ _this5._videoWindowDataSource.removeObserver(videoWindowObserver);
1116
+ _this5._whiteBoardControl.removeObserver(whiteboardObserver);
1117
+ _this5._chatProvider.removeObserver(chatObserver);
1118
+ }, reaction(function () {
1119
+ return _this5.mainList.length;
1120
+ }, function (length) {
1121
+ if (length < 2) {
1122
+ if (_this5.layout === FcrUIVideoWindowLayoutType.Speaker) {
1123
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Gallery);
1124
+ }
1125
+ }
1126
+ _this5._handleMainListLengthChanged();
1127
+ }), reaction(function () {
1128
+ return _this5.whiteboardActive;
1129
+ }, function (isBoardActive) {
1130
+ if (isBoardActive) {
1131
+ var ownerUserId = _this5._whiteBoardControl.getOwnerId();
1132
+ var ownerUser = _this5._userControl.getUser(ownerUserId);
1133
+ _this5._videoWindowDataSource.addBoard(ownerUser, ownerUserId === _this5.localUserId);
1134
+ if (_this5.secondaryWindowContentType === FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD) {
1135
+ // 在副屏窗口模式显示白板时,不切换布局
1136
+ return;
1137
+ }
1138
+ if (_this5.layout === FcrUIVideoWindowLayoutType.Gallery) {
1139
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1140
+ }
1141
+ } else {
1142
+ _this5._videoWindowDataSource.removeBoard();
1143
+ if (_this5.secondaryWindowContentType === FcrUIDisplayDistributionContentType.SHARING_WHITEBOARD) {
1144
+ // 在副屏窗口模式显示白板时,不切换布局
1145
+ return;
1146
+ }
1147
+ if (_this5.manualLayout) {
1148
+ _this5.toggleLayout(_this5.manualLayout);
1149
+ } else {
1150
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Gallery);
1151
+ }
1152
+ }
1153
+ }), reaction(function () {
1154
+ return _this5._privilegeProvider.hasWriteBoardPermission();
1155
+ }, function (canEdit) {
1156
+ if (!_this5.mainList.some(function (u) {
1157
+ return u.type === FcrUIWindowType.BOARD;
1158
+ })) return;
1159
+ _this5._videoWindowDataSource.updateBoard(canEdit);
1160
+ }), reaction(function () {
1161
+ return _this5.asideContent;
1162
+ }, function (asideContent) {
1163
+ if (asideContent.participant || asideContent.chat || asideContent.subtitlesHistory) {
1164
+ _this5.toggleAside(true);
1165
+ }
1166
+ if (!asideContent.participant && !asideContent.chat && !asideContent.subtitlesHistory) {
1167
+ _this5.toggleAside(false);
1168
+ }
1169
+ }, {
1170
+ fireImmediately: true
1171
+ }), reaction(function () {
1172
+ return _this5.barLocked;
1173
+ }, function (barLocked) {
1174
+ if (_this5._barLockTimer && barLocked) {
1175
+ _this5.resetLockTimer();
1176
+ } else {
1177
+ _this5.setHoveringHandler();
1178
+ }
1179
+ }), reaction(function () {
1180
+ return _this5._deviceProvider.microphoneVolumeLevel;
1181
+ }, function (volume) {
1182
+ runInAction(function () {
1183
+ _this5.userVolumeMap.set('0', volume);
1184
+ });
1185
+ }), reaction(function () {
1186
+ return {
1187
+ enableSpotlight: _this5.enableSpotlight
1188
+ };
1189
+ }, function (_ref6) {
1190
+ var enableSpotlight = _ref6.enableSpotlight;
1191
+ _this5._videoWindowDataSource.setSpotlightEnabled(enableSpotlight);
1192
+ if (enableSpotlight) {
1193
+ _this5._streamControl.addObserver(_this5._streamObserverByVolumeIndicationUpdated);
1194
+ } else {
1195
+ _this5._streamControl.removeObserver(_this5._streamObserverByVolumeIndicationUpdated);
1196
+ }
1197
+ }),
1198
+ // 录制的特殊逻辑:
1199
+ // 因为录制机器人不发流,且当前切换布局的逻辑是有多个人的视频窗口才切换到 speaker layout
1200
+ // 所以当房间只有主持人的时候录制机器人的视角不会切换到 speaker layout,故加上以下逻辑
1201
+ reaction(function () {
1202
+ var _this5$currentShareDa;
1203
+ return (_this5$currentShareDa = _this5.currentShareData) === null || _this5$currentShareDa === void 0 ? void 0 : _this5$currentShareDa.hasScreenSharing;
1204
+ }, function (hasScreenSharing) {
1205
+ if (_this5.isRobot) {
1206
+ if (hasScreenSharing) {
1207
+ _this5.logger.info('set layout to speaker for robot');
1208
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1209
+ } else {
1210
+ _this5.logger.info('set layout to gallery for robot');
1211
+ _this5.toggleLayout(FcrUIVideoWindowLayoutType.Gallery);
1212
+ }
1213
+ }
1214
+ }, {
1215
+ fireImmediately: true
1216
+ }), reaction(function () {
1217
+ return _this5._videoWindowDataSource.mainList.filter(_this5._shouldUnpin.bind(_this5));
1218
+ }, function (list) {
1219
+ list.forEach(function (item) {
1220
+ if (_this5._videoWindowDataSource.shouldHideNonVideoParticipants) {
1221
+ _this5._pinDataSource.removePin(item.windowId, transI18n('fmt_internalsetting_other_hide_no_video_pin_cancelled'));
1222
+ }
1223
+ });
1224
+ }));
1225
+ }
1226
+ }, {
1227
+ key: "_hasVideoStreamUser",
1228
+ get: function get() {
1229
+ return this.sourceList.some(function (i) {
1230
+ return i.hasVideoStream;
1231
+ });
1232
+ }
1233
+ }, {
1234
+ key: "_shouldUnpin",
1235
+ value: function _shouldUnpin(item) {
1236
+ return !this._isVideoParticipantVisible(item) && item.isPin;
1237
+ }
1238
+ }, {
1239
+ key: "_isVideoParticipantVisible",
1240
+ value: function _isVideoParticipantVisible(item) {
1241
+ return item.isMySelf && !this._hasVideoStreamUser || item.hasVideoStream || item.videoSourceType === FcrVideoSourceType.SCREEN || item.type === FcrUIWindowType.BOARD;
1242
+ }
1243
+ }, {
1244
+ key: "_handleMainListLengthChanged",
1245
+ value: function _handleMainListLengthChanged() {
1246
+ this._eventProvider.sendEvent(FcrUIAction.MAIN_LIST_LENGTH_CHANGED, this.mainList.length);
1247
+ }
1248
+ }, {
1249
+ key: "_handleMainListChanged",
1250
+ value: function _handleMainListChanged() {
1251
+ this._eventProvider.sendEvent(FcrUIAction.MAIN_LIST_CHANGED, this.mainList);
1252
+ }
1253
+ }, {
1254
+ key: "_switchToSpeaker",
1255
+ value: function _switchToSpeaker() {
1256
+ this.collapsed = false;
1257
+ }
1258
+ }, {
1259
+ key: "_switchToGallery",
1260
+ value: function _switchToGallery() {
1261
+ this.collapsed = true;
1262
+ }
1263
+ }, {
1264
+ key: "_setBarHovering",
1265
+ value: function _setBarHovering(state) {
1266
+ this.barHovering = state;
1267
+ }
1268
+ }, {
1269
+ key: "_initStream",
1270
+ value: function _initStream() {
1271
+ var _this6 = this;
1272
+ var isSharingScreen = false;
1273
+ this._streamControl.getStreamList().forEach(function (stream) {
1274
+ if (stream.videoSourceType === FcrVideoSourceType.SCREEN) {
1275
+ isSharingScreen = true;
1276
+ }
1277
+ _this6._handleStreamAdded(stream);
1278
+ });
1279
+ if (isSharingScreen && this.layout === FcrUIVideoWindowLayoutType.Gallery) {
1280
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1281
+ }
1282
+ }
1283
+ }, {
1284
+ key: "_handleConnectionUpdated",
1285
+ value: function _handleConnectionUpdated(_, state) {
1286
+ this.logger.info('layout store handleConnectionUpdated', state);
1287
+ this.chatRoomState = state;
1288
+ }
1289
+ }, {
1290
+ key: "_findVideoWindowByUserId",
1291
+ value: function _findVideoWindowByUserId(userId) {
1292
+ return this.mainList.find(function (item) {
1293
+ return item.userId === userId;
1294
+ });
1295
+ }
1296
+ }, {
1297
+ key: "_onRemoteUsersLeft",
1298
+ value: function _onRemoteUsersLeft(roomId, events) {
1299
+ var _this7 = this;
1300
+ events.forEach(function (event) {
1301
+ var userInfo = event.userInfo;
1302
+ var videoWindowData = _this7._findVideoWindowByUserId(userInfo.userId);
1303
+ if (videoWindowData) {
1304
+ var stream = videoWindowData.getVideoStream();
1305
+ if (stream) {
1306
+ _this7._videoWindowDataSource["delete"](stream);
1307
+ }
1308
+ }
1309
+ });
1310
+ }
1311
+ }, {
1312
+ key: "_handleRoutingChanged",
1313
+ value: function _handleRoutingChanged(roomControl) {
1314
+ var _roomControl$getRoomI;
1315
+ var roomType = (_roomControl$getRoomI = roomControl.getRoomInfo()) === null || _roomControl$getRoomI === void 0 ? void 0 : _roomControl$getRoomI.roomType;
1316
+ if (roomType === FcrRoomType.Mainroom) {
1317
+ if (this._roomProvider.liveStreamingState === FcrLiveStreamingState.STARTED && this._videoWindowDataSource.mainList.length > 1) {
1318
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker, false);
1319
+ }
1320
+ this._roomProvider.currentRoomControl.addObserver(this._roomObserver);
1321
+ } else {
1322
+ this._roomProvider.currentRoomControl.removeObserver(this._roomObserver);
1323
+ }
1324
+ }
1325
+ }, {
1326
+ key: "_handleRoomProviderLiveStreamingStateUpdated",
1327
+ value: function _handleRoomProviderLiveStreamingStateUpdated(roomId, state) {
1328
+ if (this._roomProvider.currentRoomControl.getLiveStreamingState() === FcrLiveStreamingState.STARTED && this._videoWindowDataSource.mainList.length > 1) {
1329
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker, false);
1330
+ } else {
1331
+ this.toggleLayout(this.manualLayout || FcrUIVideoWindowLayoutType.Gallery, true);
1332
+ }
1333
+ }
1334
+ }, {
1335
+ key: "_handleLiveStreamingStateUpdated",
1336
+ value: function _handleLiveStreamingStateUpdated(_, state, url, reason) {
1337
+ this._liveStreamState = state;
1338
+ if (state === FcrLiveStreamingState.STOPPED && reason === FcrLiveStreamingStateUpdatedReason.HOSTCHANGED) {
1339
+ this._messageProvider.showToast({
1340
+ type: 'info',
1341
+ message: transI18n('fmt_broadcast_livestream_tips_hand_over_pc_to_mobile')
1342
+ });
1343
+ }
1344
+ }
1345
+ }, {
1346
+ key: "_handleStreamAdded",
1347
+ value: function _handleStreamAdded(modifiedStream) {
1348
+ this._videoWindowDataSource.add(modifiedStream, modifiedStream.owner.userId === this.localUserId);
1349
+ if (this._videoWindowDataSource.mainList.length > 1 && this._roomProvider.liveStreamingState === FcrLiveStreamingState.STARTED) {
1350
+ this._videoWindowDataSource.setLayout(FcrUIVideoWindowLayoutType.Speaker, false);
1351
+ return;
1352
+ }
1353
+ if (this.isMultiDisplayActive) {
1354
+ // 在开启多屏模式下,屏幕共享流添加时,保持布局不变
1355
+ return;
1356
+ }
1357
+ if (modifiedStream.videoSourceType === FcrVideoSourceType.SCREEN) {
1358
+ var isSharingScreenOwner = modifiedStream.owner.userId === this.localUserId;
1359
+ if (this.layout === FcrUIVideoWindowLayoutType.Gallery) {
1360
+ // 在非 Electron 环境或者 Electron 环境下非屏幕共享拥有者时,切换到 Speaker 布局
1361
+ var shouldToggleToSpeaker = !isElectron() || !isSharingScreenOwner;
1362
+ if (shouldToggleToSpeaker) {
1363
+ this.toggleLayout(FcrUIVideoWindowLayoutType.Speaker);
1364
+ }
1365
+ }
1366
+ }
1367
+ }
1368
+ }, {
1369
+ key: "_onStreamsAdded",
1370
+ value: function _onStreamsAdded(roomId, events) {
1371
+ var _this8 = this;
1372
+ events.forEach(function (_ref7) {
1373
+ var modifiedStream = _ref7.modifiedStream;
1374
+ _this8._handleStreamAdded(modifiedStream);
1375
+ });
1376
+ }
1377
+ }, {
1378
+ key: "_onStreamsUpdated",
1379
+ value: function _onStreamsUpdated(roomId, events) {
1380
+ var _this9 = this;
1381
+ events.forEach(function (_ref8) {
1382
+ var modifiedStream = _ref8.modifiedStream;
1383
+ _this9._videoWindowDataSource.update(modifiedStream);
1384
+ });
1385
+ }
1386
+ }, {
1387
+ key: "_onStreamsRemoved",
1388
+ value: function _onStreamsRemoved(roomId, events) {
1389
+ var _this0 = this;
1390
+ events.forEach(function (_ref9) {
1391
+ var modifiedStream = _ref9.modifiedStream;
1392
+ _this0._videoWindowDataSource["delete"](modifiedStream);
1393
+ });
1394
+ var hasScreenStream = events === null || events === void 0 ? void 0 : events.find(function (event) {
1395
+ var videoType = event.modifiedStream.videoSourceType;
1396
+ return videoType === FcrVideoSourceType.SCREEN;
1397
+ });
1398
+ if (this.isMultiDisplayActive) {
1399
+ // 在开启多屏模式下,屏幕共享流被移除时,保持布局不变
1400
+ return;
1401
+ }
1402
+ var isLiveStreaming = this._roomProvider.currentRoomControl.getLiveStreamingState() === FcrLiveStreamingState.STARTED;
1403
+ if (hasScreenStream && !isLiveStreaming) {
1404
+ if (this.manualLayout) {
1405
+ this._videoWindowDataSource.setLayout(this.manualLayout);
1406
+ } else {
1407
+ this._videoWindowDataSource.setLayout(FcrUIVideoWindowLayoutType.Gallery);
1408
+ }
1409
+ }
1410
+ }
1411
+ }, {
1412
+ key: "_onAudioVolumeUpdated",
1413
+ value: function _onAudioVolumeUpdated(roomId, streamId, volume) {
1414
+ this.userVolumeMap.set(streamId, Math.floor(volume / 255 * 100));
1415
+ this._setSpotlightStream();
1416
+ }
1417
+ }, {
1418
+ key: "_findSpotlightStream",
1419
+ value: function _findSpotlightStream() {
1420
+ var _this1 = this;
1421
+ //find the max volume stream
1422
+ var res = {
1423
+ streamId: '',
1424
+ volume: 0
1425
+ };
1426
+ this.userVolumeMap.forEach(function (volume, id) {
1427
+ var _this1$interpreterUse;
1428
+ var windowData = _this1.mainListMapByAudioStreamId.get(id);
1429
+ if (id !== '0' && !res.streamId && volume > 45 && windowData !== null && windowData !== void 0 && windowData.hasMicrophoneAudioStream && windowData.videoSourceType !== FcrVideoSourceType.SCREEN && !((_this1$interpreterUse = _this1.interpreterUserList) !== null && _this1$interpreterUse !== void 0 && _this1$interpreterUse.find(function (user) {
1430
+ return user.userId === windowData.userId;
1431
+ }))) {
1432
+ res = {
1433
+ streamId: windowData.windowId,
1434
+ volume: volume
1435
+ };
1436
+ }
1437
+ });
1438
+ return res;
1439
+ }
1440
+ }]);
1441
+ }();
1442
+ _LayoutStoreBase = LayoutStoreBase;
1443
+ var _applyDecs$e = _slicedToArray(_applyDecs(_LayoutStoreBase, [[_participantDecs, 17, "participant"], [_chatDecs, 17, "chat"], [_chatActionDecs, 17, "chatAction"], [_stateBarDecs, 17, "stateBar"], [_actionBarDecs, 17, "actionBar"], [_layersDecs, 17, "layers"], [_whiteboardDecs, 17, "whiteboard"], [_annotationDecs, 17, "annotation"], [_screenShareControlDecs, 17, "screenShareControl"], [_subtitlesDecs, 17, "subtitles"], [_subtitlesHistoryDecs, 17, "subtitlesHistory"], [_subtitlesHistorySettingsDecs, 17, "subtitlesHistorySettings"], [observable, 1, "collapsed"], [observable, 1, "aside"], [observable, 1, "barHovering"], [observable, 1, "barLocked"], [observable, 1, "barHidden"], [observable, 1, "asideWidth"], [observable, 1, "userVolumeMap"], [observable, 1, "chatRoomState"], [observable, 1, "whiteboardActive"], [observable, 1, "ownerUser"], [computed, 3, "isWaterMarkEnabled"], [computed, 3, "isMulti"], [computed, 3, "layout"], [computed, 3, "manualLayout"], [computed, 3, "scalcValue"], [computed, 3, "sourceList"], [computed, 3, "layoutMainList"], [computed, 3, "mainList"], [computed, 3, "mainListMapByAudioStreamId"], [computed, 3, "spotlightStreamId"], [computed, 3, "foldList"], [computed, 3, "galleryList"], [computed, 3, "isMainWindowInScreenSharing"], [computed, 3, "isCurrentUserInBoardSharing"], [computed, 3, "asideLayout"], [computed, 3, "carouselList"], [computed, 3, "hasPinnedStream"], [computed, 3, "isRobot"], [computed, 3, "findSpotlightUser"], [computed, 3, "isWhoISpeakingActive"], [computed, 3, "microphoneEnabled"], [computed, 3, "cameraEnabled"], [computed, 3, "galleryMaxSize"], [computed, 3, "asideContent"], [computed, 3, "participantsRenderAt"], [computed, 3, "chatRenderAt"], [computed, 3, "subtitlesHistoryRenderAt"], [bound, 2, "getWaterMarkContent"], [bound, 2, "hasMutePermission"], [bound, 2, "hasUnmutePermission"], [bound, 2, "hasRequestStartAudioPermission"], [bound, 2, "toggleMainStream"], [_addPinMessageDecs, 18, "addPinMessage"], [_cancelPinMessageDecs, 18, "cancelPinMessage"], [bound, 2, "addPin"], [bound, 2, "removePin"], [bound, 2, "setVideoOrientation"], [bound, 2, "setAllowChat"], [bound, 2, "handleSetPinState"], [_setWhiteboardActiveDecs, 18, "setWhiteboardActive"], [_setAsideWidthDecs, 18, "setAsideWidth"], [_updateSlotsDecs, 18, "updateSlots"], [bound, 2, "closeParticipantFromAside"], [bound, 2, "moveParticipantFromAsideToDialog"], [bound, 2, "closeChatFromAside"], [bound, 2, "closeAsideChat"], [bound, 2, "moveChatFromAsideToDialog"], [bound, 2, "openPrivateChat"], [bound, 2, "openRenameDialog"], [bound, 2, "closeSubtitlesHistoryFromAside"], [bound, 2, "moveSubtitlesHistoryFromAsideToDialog"], [_toggleLayoutDecs, 18, "toggleLayout"], [_toggleCollapsedDecs, 18, "toggleCollapsed"], [_toggleAsideDecs, 18, "toggleAside"], [_asideWidthChangedDecs, 18, "asideWidthChanged"], [_toggleLayoutBarLockDecs, 18, "toggleLayoutBarLock"], [_toggleLayoutBarHiddenDecs, 18, "toggleLayoutBarHidden"], [_resetLockTimerDecs, 18, "resetLockTimer"], [_setHoveringHandlerDecs, 18, "setHoveringHandler"], [_setHoveringLeaveHandlerDecs, 18, "setHoveringLeaveHandler"], [_setScreenShareSpeakerViewSizeDecs, 2, "setScreenShareSpeakerViewSize"], [_handleLiveLayoutChangeDecs, 18, "handleLiveLayoutChange"], [_onUserInfoUpdatedDecs, 18, "onUserInfoUpdated"], [bound, 2, "stopLocalPreview"], [bound, 2, "startLocalPreview"], [bound, 2, "setAllowChatWithPayload"], [bound, 2, "setScaleValue"], [bound, 2, "muteAudio"], [bound, 2, "sendParticipantEvent"], [bound, 2, "onEvent"], [bound, 2, "_addListeners"], [computed, 3, "_hasVideoStreamUser"], [_handleMainListLengthChangedDecs, 18, "_handleMainListLengthChanged"], [_handleMainListChangedDecs, 18, "_handleMainListChanged"], [action, 2, "_switchToSpeaker"], [action, 2, "_switchToGallery"], [_setBarHoveringDecs, 18, "_setBarHovering"], [_handleConnectionUpdatedDecs, 18, "_handleConnectionUpdated"], [_findVideoWindowByUserIdDecs, 18, "_findVideoWindowByUserId"], [_onRemoteUsersLeftDecs, 18, "_onRemoteUsersLeft"], [bound, 2, "_handleRoutingChanged"], [bound, 2, "_handleRoomProviderLiveStreamingStateUpdated"], [bound, 2, "_handleLiveStreamingStateUpdated"], [bound, 2, "_handleStreamAdded"], [bound, 2, "_onStreamsAdded"], [bound, 2, "_onStreamsUpdated"], [bound, 2, "_onStreamsRemoved"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_handleLayoutUpdatedDecs, 16, "_handleLayoutUpdated"]], []).e, 24);
1444
+ _init_participant = _applyDecs$e[0];
1445
+ _init_chat = _applyDecs$e[1];
1446
+ _init_chatAction = _applyDecs$e[2];
1447
+ _init_stateBar = _applyDecs$e[3];
1448
+ _init_actionBar = _applyDecs$e[4];
1449
+ _init_layers = _applyDecs$e[5];
1450
+ _init_whiteboard = _applyDecs$e[6];
1451
+ _init_annotation = _applyDecs$e[7];
1452
+ _init_screenShareControl = _applyDecs$e[8];
1453
+ _init_subtitles = _applyDecs$e[9];
1454
+ _init_subtitlesHistory = _applyDecs$e[10];
1455
+ _init_subtitlesHistorySettings = _applyDecs$e[11];
1456
+ _init_collapsed = _applyDecs$e[12];
1457
+ _init_aside = _applyDecs$e[13];
1458
+ _init_barHovering = _applyDecs$e[14];
1459
+ _init_barLocked = _applyDecs$e[15];
1460
+ _init_barHidden = _applyDecs$e[16];
1461
+ _init_asideWidth = _applyDecs$e[17];
1462
+ _init_userVolumeMap = _applyDecs$e[18];
1463
+ _init_chatRoomState = _applyDecs$e[19];
1464
+ _init_whiteboardActive = _applyDecs$e[20];
1465
+ _init_ownerUser = _applyDecs$e[21];
1466
+ _init__handleLayoutUpdated = _applyDecs$e[22];
1467
+ _initProto = _applyDecs$e[23];
1468
+ export var StoreContext = /*#__PURE__*/createContext(null);