@100mslive/roomkit-react 0.3.22-alpha.0 → 0.3.22-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. package/dist/Accordion/Accordion.d.ts +134 -322
  2. package/dist/Accordion/index.d.ts +134 -322
  3. package/dist/Avatar/Avatar.d.ts +47 -141
  4. package/dist/Button/Button.d.ts +47 -141
  5. package/dist/Checkbox/Checkbox.d.ts +134 -322
  6. package/dist/Collapsible/Collapsible.d.ts +201 -483
  7. package/dist/ConferenceScreen-5G5WGPIO.css +2780 -0
  8. package/dist/{HLSView-JYFTZVCM.css.map → ConferenceScreen-5G5WGPIO.css.map} +1 -1
  9. package/dist/ConferenceScreen-KS5URW6Z.js +1778 -0
  10. package/dist/ConferenceScreen-KS5URW6Z.js.map +7 -0
  11. package/dist/Divider/Divider.d.ts +134 -322
  12. package/dist/Dropdown/Dropdown.d.ts +804 -1932
  13. package/dist/EmbedView-BCRQ3GHV.js +17 -0
  14. package/dist/EmbedView-BCRQ3GHV.js.map +7 -0
  15. package/dist/EmbedView-Y24VRONT.css +2780 -0
  16. package/dist/EmbedView-Y24VRONT.css.map +7 -0
  17. package/dist/EmojiReaction-NA5F5DWN.js +11 -0
  18. package/dist/EmojiReaction-NA5F5DWN.js.map +7 -0
  19. package/dist/Fieldset/Fieldset.d.ts +47 -141
  20. package/dist/Footer/Footer.d.ts +536 -1288
  21. package/dist/{HLSView-JYFTZVCM.css → HLSView-DC43TOIW.css} +3 -3
  22. package/dist/HLSView-DC43TOIW.css.map +7 -0
  23. package/dist/{HLSView-EPPGI6XI.js → HLSView-XRGOWFRB.js} +38 -24
  24. package/dist/HLSView-XRGOWFRB.js.map +7 -0
  25. package/dist/IconButton/IconButton.d.ts +47 -141
  26. package/dist/Input/Input.d.ts +362 -926
  27. package/dist/Label/Label.d.ts +47 -141
  28. package/dist/Layout/Box.d.ts +47 -141
  29. package/dist/Layout/Flex.d.ts +47 -141
  30. package/dist/LeaveScreen-3OZN3MU3.css +2780 -0
  31. package/dist/LeaveScreen-3OZN3MU3.css.map +7 -0
  32. package/dist/LeaveScreen-PC4KB6OG.js +556 -0
  33. package/dist/LeaveScreen-PC4KB6OG.js.map +7 -0
  34. package/dist/Link/Link.d.ts +47 -141
  35. package/dist/Modal/Dialog.d.ts +329 -987
  36. package/dist/Modal/DialogContent.d.ts +469 -1127
  37. package/dist/MoreSettings-KTRYHDB2.css +2780 -0
  38. package/dist/MoreSettings-KTRYHDB2.css.map +7 -0
  39. package/dist/MoreSettings-XLNYT7PW.js +16 -0
  40. package/dist/MoreSettings-XLNYT7PW.js.map +7 -0
  41. package/dist/PDFView-LJ7I3K3H.js +84 -0
  42. package/dist/PDFView-LJ7I3K3H.js.map +7 -0
  43. package/dist/PDFView-RJK44WVO.css +2780 -0
  44. package/dist/PDFView-RJK44WVO.css.map +7 -0
  45. package/dist/Pagination/StyledPagination.d.ts +268 -644
  46. package/dist/Polls-AULCHMLW.js +1584 -0
  47. package/dist/Polls-AULCHMLW.js.map +7 -0
  48. package/dist/Polls-K4GO5ZOC.css +2780 -0
  49. package/dist/Polls-K4GO5ZOC.css.map +7 -0
  50. package/dist/Popover/index.d.ts +201 -483
  51. package/dist/Prebuilt/IconButton.d.ts +134 -322
  52. package/dist/Prebuilt/components/Chat/ChatBody.d.ts +134 -322
  53. package/dist/Prebuilt/components/Leave/LeaveAtoms.d.ts +335 -805
  54. package/dist/Prebuilt/components/Notifications/DeviceChangeNotifications.d.ts +1 -0
  55. package/dist/Prebuilt/components/Notifications/DeviceInUseError.d.ts +2 -0
  56. package/dist/Prebuilt/components/Notifications/ErrorNotifications.d.ts +1 -0
  57. package/dist/Prebuilt/components/Notifications/MessageNotifications.d.ts +1 -0
  58. package/dist/Prebuilt/components/Notifications/PollNotificationModal.d.ts +1 -0
  59. package/dist/Prebuilt/components/Settings/common.d.ts +134 -322
  60. package/dist/Progress/index.d.ts +134 -322
  61. package/dist/RadioGroup/RadioGroup.d.ts +201 -483
  62. package/dist/RaiseHand-E4OVMBW6.js +10 -0
  63. package/dist/RaiseHand-E4OVMBW6.js.map +7 -0
  64. package/dist/ReactSelect/ReactSelect.d.ts +670 -1610
  65. package/dist/RoleProminence-LHUXHLVI.css +2780 -0
  66. package/dist/RoleProminence-LHUXHLVI.css.map +7 -0
  67. package/dist/RoleProminence-RWJP2Z36.js +116 -0
  68. package/dist/RoleProminence-RWJP2Z36.js.map +7 -0
  69. package/dist/RoomDetailsPane-6BM2FPWW.css +2780 -0
  70. package/dist/RoomDetailsPane-6BM2FPWW.css.map +7 -0
  71. package/dist/RoomDetailsPane-7OP2CNJW.js +53 -0
  72. package/dist/RoomDetailsPane-7OP2CNJW.js.map +7 -0
  73. package/dist/ScreenshareLayout-RHTD2PQT.css +2780 -0
  74. package/dist/ScreenshareLayout-RHTD2PQT.css.map +7 -0
  75. package/dist/ScreenshareLayout-TM7DLYLH.js +358 -0
  76. package/dist/ScreenshareLayout-TM7DLYLH.js.map +7 -0
  77. package/dist/Select/Select.d.ts +201 -483
  78. package/dist/Sheet/Sheet.d.ts +329 -987
  79. package/dist/SidePaneTabs-T7BKZ2AT.js +1354 -0
  80. package/dist/SidePaneTabs-T7BKZ2AT.js.map +7 -0
  81. package/dist/SidePaneTabs-TBUPHNAU.css +2780 -0
  82. package/dist/SidePaneTabs-TBUPHNAU.css.map +7 -0
  83. package/dist/Slider/Slider.d.ts +47 -141
  84. package/dist/Stats/StyledStats.d.ts +402 -966
  85. package/dist/Switch/Switch.d.ts +47 -141
  86. package/dist/Tabs/Tabs.d.ts +268 -644
  87. package/dist/Text/Text.d.ts +47 -141
  88. package/dist/TextArea/TextArea.d.ts +47 -141
  89. package/dist/Theme/base.config.d.ts +26 -78
  90. package/dist/Theme/stitches.config.d.ts +1046 -1493
  91. package/dist/TileMenu/StyledMenuTile.d.ts +469 -1127
  92. package/dist/Toast/Toast.d.ts +382 -946
  93. package/dist/VBPicker-M5VYFEUB.css +2780 -0
  94. package/dist/VBPicker-M5VYFEUB.css.map +7 -0
  95. package/dist/VBPicker-TQLIL3NC.js +322 -0
  96. package/dist/VBPicker-TQLIL3NC.js.map +7 -0
  97. package/dist/Video/Video.d.ts +47 -141
  98. package/dist/VideoList/StyledVideoList.d.ts +201 -483
  99. package/dist/VideoTile/StyledVideoTile.d.ts +670 -1610
  100. package/dist/WaitingView-TLJ52XYA.js +10 -0
  101. package/dist/WaitingView-TLJ52XYA.js.map +7 -0
  102. package/dist/WhiteboardLayout-PZZTM2FW.css +2780 -0
  103. package/dist/WhiteboardLayout-PZZTM2FW.css.map +7 -0
  104. package/dist/WhiteboardLayout-YYZ5UVGG.js +96 -0
  105. package/dist/WhiteboardLayout-YYZ5UVGG.js.map +7 -0
  106. package/dist/android-perm-1.png +0 -0
  107. package/dist/audio-level.png +0 -0
  108. package/dist/chunk-42XPBCZO.js +487 -0
  109. package/dist/chunk-42XPBCZO.js.map +7 -0
  110. package/dist/chunk-4BQ3AMVG.js +16802 -0
  111. package/dist/chunk-4BQ3AMVG.js.map +7 -0
  112. package/dist/chunk-4L5OKEIV.js +90 -0
  113. package/dist/chunk-4L5OKEIV.js.map +7 -0
  114. package/dist/chunk-6BX3VCVC.js +6337 -0
  115. package/dist/chunk-6BX3VCVC.js.map +7 -0
  116. package/dist/chunk-A3COGXMF.js +114 -0
  117. package/dist/chunk-A3COGXMF.js.map +7 -0
  118. package/dist/chunk-B3HHL3ND.js +178 -0
  119. package/dist/chunk-B3HHL3ND.js.map +7 -0
  120. package/dist/chunk-B5NLX6N6.js +41 -0
  121. package/dist/chunk-B5NLX6N6.js.map +7 -0
  122. package/dist/chunk-BXBPZGSP.js +161 -0
  123. package/dist/chunk-BXBPZGSP.js.map +7 -0
  124. package/dist/chunk-DVVFWHQG.js +136 -0
  125. package/dist/chunk-DVVFWHQG.js.map +7 -0
  126. package/dist/chunk-GV2DTYSU.js +262 -0
  127. package/dist/chunk-GV2DTYSU.js.map +7 -0
  128. package/dist/chunk-KF2YEUWU.js +254 -0
  129. package/dist/chunk-KF2YEUWU.js.map +7 -0
  130. package/dist/chunk-KQXTIHI6.js +59 -0
  131. package/dist/chunk-KQXTIHI6.js.map +7 -0
  132. package/dist/chunk-MR3HE7HV.js +830 -0
  133. package/dist/chunk-MR3HE7HV.js.map +7 -0
  134. package/dist/chunk-OQBTPJPO.js +71 -0
  135. package/dist/chunk-OQBTPJPO.js.map +7 -0
  136. package/dist/chunk-P7OOTR7P.js +2595 -0
  137. package/dist/chunk-P7OOTR7P.js.map +7 -0
  138. package/dist/chunk-THDU2DKP.js +30 -0
  139. package/dist/chunk-THDU2DKP.js.map +7 -0
  140. package/dist/chunk-U4QYH2BP.js +98 -0
  141. package/dist/chunk-U4QYH2BP.js.map +7 -0
  142. package/dist/chunk-USEEH3QW.js +418 -0
  143. package/dist/chunk-USEEH3QW.js.map +7 -0
  144. package/dist/chunk-UZW3C3ML.js +171 -0
  145. package/dist/chunk-UZW3C3ML.js.map +7 -0
  146. package/dist/chunk-YDIB6WKJ.js +576 -0
  147. package/dist/chunk-YDIB6WKJ.js.map +7 -0
  148. package/dist/chunk-ZFTULCCP.js +62 -0
  149. package/dist/chunk-ZFTULCCP.js.map +7 -0
  150. package/dist/empty-chat.svg +12 -0
  151. package/dist/index.cjs.css +2 -2
  152. package/dist/index.cjs.css.map +1 -1
  153. package/dist/index.cjs.js +22737 -22481
  154. package/dist/index.cjs.js.map +4 -4
  155. package/dist/index.css +2 -2
  156. package/dist/index.css.map +1 -1
  157. package/dist/index.js +25 -15
  158. package/dist/ios-perm-0.png +0 -0
  159. package/dist/meta.cjs.json +5680 -5307
  160. package/dist/meta.esbuild.json +8824 -5953
  161. package/dist/pdf-share.png +0 -0
  162. package/dist/screen-share.png +0 -0
  163. package/dist/transaction_error.svg +12 -0
  164. package/package.json +8 -8
  165. package/src/Avatar/Avatar.tsx +1 -1
  166. package/src/Popover/Popover.stories.tsx +1 -1
  167. package/src/Prebuilt/App.tsx +6 -2
  168. package/src/Prebuilt/components/Chat/Chat.tsx +12 -8
  169. package/src/Prebuilt/components/Chat/ChatFooter.tsx +1 -1
  170. package/src/Prebuilt/components/Header/common.jsx +6 -5
  171. package/src/Prebuilt/components/Notifications/DeviceChangeNotifications.tsx +18 -0
  172. package/src/Prebuilt/components/Notifications/DeviceInUseError.tsx +79 -0
  173. package/src/Prebuilt/components/Notifications/ErrorNotifications.tsx +56 -0
  174. package/src/Prebuilt/components/Notifications/MessageNotifications.tsx +24 -0
  175. package/src/Prebuilt/components/Notifications/Notifications.tsx +13 -159
  176. package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +23 -2
  177. package/src/Prebuilt/components/Notifications/PollNotificationModal.tsx +71 -0
  178. package/src/Prebuilt/components/Notifications/ReconnectNotifications.tsx +1 -5
  179. package/src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx +7 -5
  180. package/src/Prebuilt/components/Notifications/TrackNotifications.tsx +23 -1
  181. package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +13 -5
  182. package/src/Prebuilt/components/StatsForNerds.jsx +32 -3
  183. package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +43 -31
  184. package/src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx +2 -2
  185. package/src/Prebuilt/components/VirtualBackground/VBOption.tsx +3 -1
  186. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +6 -0
  187. package/src/Prebuilt/layouts/HLSView.jsx +1 -0
  188. package/src/Prebuilt/layouts/PDFView.jsx +1 -0
  189. package/src/Prebuilt/layouts/SidePane.tsx +12 -6
  190. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +35 -34
  191. package/dist/HLSView-EPPGI6XI.js.map +0 -7
  192. package/dist/chunk-ZAX5VT7V.js +0 -34686
  193. package/dist/chunk-ZAX5VT7V.js.map +0 -7
@@ -0,0 +1,576 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __pow = Math.pow;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __esm = (fn, res) => function __init() {
38
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
39
+ };
40
+ var __commonJS = (cb, mod) => function __require() {
41
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
42
+ };
43
+ var __export = (target, all) => {
44
+ for (var name in all)
45
+ __defProp(target, name, { get: all[name], enumerable: true });
46
+ };
47
+ var __copyProps = (to, from, except, desc) => {
48
+ if (from && typeof from === "object" || typeof from === "function") {
49
+ for (let key of __getOwnPropNames(from))
50
+ if (!__hasOwnProp.call(to, key) && key !== except)
51
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
52
+ }
53
+ return to;
54
+ };
55
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
56
+ // If the importer is in node compatibility mode or this is not an ESM
57
+ // file that has been converted to a CommonJS file using a Babel-
58
+ // compatible transform (i.e. "__esModule" has not been set), then set
59
+ // "default" to the CommonJS "module.exports" for node compatibility.
60
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
61
+ mod
62
+ ));
63
+ var __publicField = (obj, key, value) => {
64
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
65
+ return value;
66
+ };
67
+ var __accessCheck = (obj, member, msg) => {
68
+ if (!member.has(obj))
69
+ throw TypeError("Cannot " + msg);
70
+ };
71
+ var __privateGet = (obj, member, getter) => {
72
+ __accessCheck(obj, member, "read from private field");
73
+ return getter ? getter.call(obj) : member.get(obj);
74
+ };
75
+ var __privateAdd = (obj, member, value) => {
76
+ if (member.has(obj))
77
+ throw TypeError("Cannot add the same private member more than once");
78
+ member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
79
+ };
80
+ var __privateSet = (obj, member, value, setter) => {
81
+ __accessCheck(obj, member, "write to private field");
82
+ setter ? setter.call(obj, value) : member.set(obj, value);
83
+ return value;
84
+ };
85
+ var __async = (__this, __arguments, generator) => {
86
+ return new Promise((resolve, reject) => {
87
+ var fulfilled = (value) => {
88
+ try {
89
+ step(generator.next(value));
90
+ } catch (e) {
91
+ reject(e);
92
+ }
93
+ };
94
+ var rejected = (value) => {
95
+ try {
96
+ step(generator.throw(value));
97
+ } catch (e) {
98
+ reject(e);
99
+ }
100
+ };
101
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
102
+ step((generator = generator.apply(__this, __arguments)).next());
103
+ });
104
+ };
105
+
106
+ // <define:process.env>
107
+ var define_process_env_default;
108
+ var init_define_process_env = __esm({
109
+ "<define:process.env>"() {
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_78eab8a7-a42f-471a-b075-db7f8f237ccc", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.12-alpha.2", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.22-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_78eab8a7-a42f-471a-b075-db7f8f237ccc", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.22-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "609", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240922.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:3969", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.22-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11239264875", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "28706e825031dc6855e60a883b0fd981ef382297", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "d285aee9725214487b90c6a3882b1a9af5e17aaa792c52597d9b6dd76f6a8c38", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1728403336695-0.9477258684163941:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1728403336492-0.20187062565222935:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1728403309385-0.981062030065118:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1728403309202-0.018646701761882323:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8fc77394-041d-4766-9a20-7d931f9492da", INVOCATION_ID: "43372902f8f94296a8010dbbca60565d", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "681", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 270", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.22-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.22-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "28706e825031dc6855e60a883b0fd981ef382297", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_78eab8a7-a42f-471a-b075-db7f8f237ccc", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_78eab8a7-a42f-471a-b075-db7f8f237ccc", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_78eab8a7-a42f-471a-b075-db7f8f237ccc" };
111
+ }
112
+ });
113
+
114
+ // src/Prebuilt/common/constants.ts
115
+ init_define_process_env();
116
+ import { parsedUserAgent } from "@100mslive/react-sdk";
117
+ var QUERY_PARAM_PREVIEW_AS_ROLE = "preview_as_role";
118
+ var UI_MODE_GRID = "grid";
119
+ var MAX_TOASTS = 5;
120
+ var RTMP_RECORD_RESOLUTION_MIN = 480;
121
+ var RTMP_RECORD_RESOLUTION_MAX = 1280;
122
+ var RTMP_RECORD_DEFAULT_RESOLUTION = {
123
+ width: 1280,
124
+ height: 720
125
+ };
126
+ var EMOJI_REACTION_TYPE = "EMOJI_REACTION";
127
+ var CHAT_SELECTOR = {
128
+ PEER: "peer",
129
+ ROLE: "role",
130
+ EVERYONE: "Everyone"
131
+ };
132
+ var APP_DATA = {
133
+ uiSettings: "uiSettings",
134
+ chatOpen: "chatOpen",
135
+ chatSelector: "chatSelector",
136
+ chatDraft: "chatDraft",
137
+ appConfig: "appConfig",
138
+ sidePane: "sidePane",
139
+ hlsStats: "hlsStats",
140
+ subscribedNotifications: "subscribedNotifications",
141
+ logo: "logo",
142
+ hlsStarted: "hlsStarted",
143
+ rtmpStarted: "rtmpStarted",
144
+ recordingStarted: "recordingStarted",
145
+ embedConfig: "embedConfig",
146
+ pinnedTrackId: "pinnedTrackId",
147
+ dropdownList: "dropdownList",
148
+ authToken: "authToken",
149
+ pdfConfig: "pdfConfig",
150
+ minimiseInset: "minimiseInset",
151
+ activeScreensharePeerId: "activeScreensharePeerId",
152
+ disableNotifications: "disableNotifications",
153
+ pollState: "pollState",
154
+ background: "background",
155
+ sheet: "sheet",
156
+ caption: "caption",
157
+ loadingEffects: "loadingEffects",
158
+ noiseCancellation: "noiseCancellation"
159
+ };
160
+ var UI_SETTINGS = {
161
+ isAudioOnly: "isAudioOnly",
162
+ maxTileCount: "maxTileCount",
163
+ uiViewMode: "uiViewMode",
164
+ layoutMode: "layoutMode",
165
+ showStatsOnTiles: "showStatsOnTiles",
166
+ enableAmbientMusic: "enableAmbientMusic",
167
+ mirrorLocalVideo: "mirrorLocalVideo"
168
+ };
169
+ var SIDE_PANE_OPTIONS = {
170
+ PARTICIPANTS: "Participants",
171
+ CHAT: "Chat",
172
+ STREAMING: "STREAMING",
173
+ POLLS: "POLLS",
174
+ VB: "VB",
175
+ ROOM_DETAILS: "ROOM_DETAILS"
176
+ };
177
+ var SHEET_OPTIONS = {
178
+ ROOM_DETAILS: "ROOM_DETAILS"
179
+ };
180
+ var POLL_STATE = {
181
+ pollInView: "pollInView",
182
+ view: "view"
183
+ };
184
+ var POLL_VIEWS = {
185
+ CREATE_POLL_QUIZ: "CREATE_POLL_QUIZ",
186
+ CREATE_QUESTIONS: "CREATE_QUESTIONS",
187
+ VOTE: "VOTE",
188
+ RESULTS: "RESULTS"
189
+ };
190
+ var CAPTION_TOAST = {
191
+ captionToast: "captionToast"
192
+ };
193
+ var SUBSCRIBED_NOTIFICATIONS = {
194
+ PEER_JOINED: "PEER_JOINED",
195
+ PEER_LEFT: "PEER_LEFT",
196
+ METADATA_UPDATED: "METADATA_UPDATED",
197
+ NEW_MESSAGE: "NEW_MESSAGE",
198
+ ERROR: "ERROR"
199
+ };
200
+ var REMOTE_STOP_SCREENSHARE_TYPE = "REMOTE_STOP_SCREENSHARE";
201
+ var _a, _b;
202
+ var isChrome = ((_b = (_a = parsedUserAgent.getBrowser()) == null ? void 0 : _a.name) == null ? void 0 : _b.toLowerCase()) === "chrome";
203
+ var _a2, _b2;
204
+ var isFirefox = ((_b2 = (_a2 = parsedUserAgent.getBrowser()) == null ? void 0 : _a2.name) == null ? void 0 : _b2.toLowerCase()) === "firefox";
205
+ var _a3, _b3;
206
+ var isSafari = ((_b3 = (_a3 = parsedUserAgent.getBrowser()) == null ? void 0 : _a3.name) == null ? void 0 : _b3.toLowerCase()) === "safari";
207
+ var _a4, _b4;
208
+ var isIOS = ((_b4 = (_a4 = parsedUserAgent.getOS()) == null ? void 0 : _a4.name) == null ? void 0 : _b4.toLowerCase()) === "ios";
209
+ var _a5, _b5;
210
+ var isMacOS = ((_b5 = (_a5 = parsedUserAgent.getOS()) == null ? void 0 : _a5.name) == null ? void 0 : _b5.toLowerCase()) === "mac os";
211
+ var _a6, _b6;
212
+ var isAndroid = ((_b6 = (_a6 = parsedUserAgent.getOS()) == null ? void 0 : _a6.name) == null ? void 0 : _b6.toLowerCase()) === "android";
213
+ var isIPadOS = false;
214
+ var QUESTION_TYPE_TITLE = /* @__PURE__ */ ((QUESTION_TYPE_TITLE2) => {
215
+ QUESTION_TYPE_TITLE2["single-choice"] = "Single Choice";
216
+ QUESTION_TYPE_TITLE2["multiple-choice"] = "Multiple Choice";
217
+ return QUESTION_TYPE_TITLE2;
218
+ })(QUESTION_TYPE_TITLE || {});
219
+ var ROLE_CHANGE_DECLINED = "role_change_declined";
220
+ var DEFAULT_PORTAL_CONTAINER = ".prebuilt-container";
221
+ var TEST_AUDIO_URL = "https://100ms.live/test-audio.wav";
222
+
223
+ // src/Theme/stitches.config.ts
224
+ init_define_process_env();
225
+ import { createStitches } from "@stitches/react";
226
+ import merge from "lodash.merge";
227
+
228
+ // src/Theme/base.config.ts
229
+ init_define_process_env();
230
+ import { defaultThemeMap as defaultStitchesThemeMap } from "@stitches/react";
231
+ var baseConfig = {
232
+ theme: {
233
+ colors: {
234
+ primary_default: "#2572ED",
235
+ primary_bright: "#538DFF",
236
+ primary_dim: "#002D6D",
237
+ primary_disabled: "#004299",
238
+ on_primary_high: "rgba(245, 249, 255, 0.95)",
239
+ on_primary_medium: "rgba(224, 236, 255, 0.8)",
240
+ on_primary_low: "rgba(194, 208, 229, 0.5)",
241
+ secondary_default: "#444954",
242
+ secondary_bright: "#70778B",
243
+ secondary_dim: "#293042",
244
+ secondary_disabled: "#404759",
245
+ on_secondary_high: "#FFFFFF",
246
+ on_secondary_medium: "#D3D9F0",
247
+ on_secondary_low: "#A4ABC0",
248
+ background_default: "#0B0E15",
249
+ background_dim: "#000000",
250
+ surface_default: "#191B23",
251
+ surface_bright: "#272A31",
252
+ surface_brighter: "#2E3038",
253
+ surface_dim: "#11131A",
254
+ on_surface_high: "#EFF0FA",
255
+ on_surface_medium: "#C5C6D0",
256
+ on_surface_low: "#8F9099",
257
+ border_default: "#1D1F27",
258
+ border_bright: "#272A31",
259
+ alert_success: "#36B37E",
260
+ alert_warning: "#FFAB00",
261
+ alert_error_default: "#C74E5B",
262
+ alert_error_bright: "#FFB2B6",
263
+ alert_error_brighter: "#FFEDEC",
264
+ alert_error_dim: "#270005"
265
+ },
266
+ shadows: {
267
+ sm: "0 0 4px 0 #0000004D",
268
+ md: "0 0 8px 0 #0000004D"
269
+ },
270
+ fonts: {
271
+ sans: "Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif"
272
+ },
273
+ fontSizes: {
274
+ h1: "6rem",
275
+ h2: "3.75rem",
276
+ h3: "3rem",
277
+ h4: "2.125rem",
278
+ h5: "1.5rem",
279
+ h6: "1.25rem",
280
+ tiny: "0.625rem",
281
+ xs: "0.75rem",
282
+ sm: "0.875rem",
283
+ md: "1rem",
284
+ lg: "1.125rem"
285
+ },
286
+ fontWeights: {
287
+ semiBold: 600,
288
+ medium: 500,
289
+ regular: 400
290
+ },
291
+ lineHeights: {
292
+ h1: "5.75rem",
293
+ h2: "3.5rem",
294
+ h3: "3.25rem",
295
+ h4: "2.5rem",
296
+ h5: "2rem",
297
+ h6: "1.5rem",
298
+ tiny: "1rem",
299
+ xs: "1rem",
300
+ sm: "1.25rem",
301
+ md: "1.5rem"
302
+ },
303
+ radii: {
304
+ "0": "0.25rem",
305
+ "1": "0.5rem",
306
+ "2": "0.75rem",
307
+ "3": "1rem",
308
+ "4": "1.5rem",
309
+ round: "100rem"
310
+ },
311
+ space: {
312
+ 0: "0rem",
313
+ xs: "0.5rem",
314
+ sm: "0.75rem",
315
+ md: "1rem",
316
+ lg: "1.25rem",
317
+ xl: "2.25rem",
318
+ px: "1px",
319
+ 1: "0.125rem",
320
+ 2: "0.25rem",
321
+ 3: "0.375rem",
322
+ 4: "0.5rem",
323
+ 5: "0.625rem",
324
+ 6: "0.75rem",
325
+ 7: "0.875rem",
326
+ 8: "1rem",
327
+ 9: "1.25rem",
328
+ 10: "1.5rem",
329
+ 11: "1.75rem",
330
+ 12: "2rem",
331
+ 13: "2.25rem",
332
+ 14: "2.5rem",
333
+ 15: "2.75rem",
334
+ 16: "3rem",
335
+ 17: "3.5rem",
336
+ 18: "4rem",
337
+ 19: "4.25rem",
338
+ 20: "5rem",
339
+ 24: "6rem",
340
+ 28: "7rem",
341
+ 32: "8rem",
342
+ 36: "9rem",
343
+ 40: "10rem",
344
+ 44: "11rem",
345
+ 48: "12rem",
346
+ 52: "13rem",
347
+ 56: "14rem",
348
+ 60: "15rem",
349
+ 64: "16rem",
350
+ 72: "18rem",
351
+ 80: "20rem",
352
+ 96: "24rem",
353
+ 100: "25rem"
354
+ },
355
+ borderWidths: {
356
+ light: "1px",
357
+ normal: "2px",
358
+ bold: "3px",
359
+ extrabold: "4px",
360
+ black: "5px"
361
+ }
362
+ }
363
+ };
364
+ var defaultUtils = {
365
+ bg: (value) => ({
366
+ backgroundColor: value
367
+ }),
368
+ c: (value) => ({
369
+ color: value
370
+ }),
371
+ r: (value) => ({
372
+ borderRadius: value
373
+ }),
374
+ fs: (value) => ({
375
+ fontSize: value
376
+ }),
377
+ size: (value) => ({
378
+ height: value,
379
+ width: value
380
+ }),
381
+ w: (value) => ({
382
+ width: value
383
+ }),
384
+ h: (value) => ({
385
+ height: value
386
+ }),
387
+ p: (value) => ({
388
+ padding: value
389
+ }),
390
+ pt: (value) => ({
391
+ paddingTop: value
392
+ }),
393
+ pr: (value) => ({
394
+ paddingRight: value
395
+ }),
396
+ pb: (value) => ({
397
+ paddingBottom: value
398
+ }),
399
+ pl: (value) => ({
400
+ paddingLeft: value
401
+ }),
402
+ px: (value) => ({
403
+ paddingLeft: value,
404
+ paddingRight: value
405
+ }),
406
+ py: (value) => ({
407
+ paddingTop: value,
408
+ paddingBottom: value
409
+ }),
410
+ m: (value) => ({
411
+ margin: value
412
+ }),
413
+ mt: (value) => ({
414
+ marginTop: value
415
+ }),
416
+ mr: (value) => ({
417
+ marginRight: value
418
+ }),
419
+ mb: (value) => ({
420
+ marginBottom: value
421
+ }),
422
+ ml: (value) => ({
423
+ marginLeft: value
424
+ }),
425
+ mx: (value) => ({
426
+ marginLeft: value,
427
+ marginRight: value
428
+ }),
429
+ my: (value) => ({
430
+ marginTop: value,
431
+ marginBottom: value
432
+ })
433
+ };
434
+ var defaultMedia = {
435
+ allowMotion: "(prefers-reduced-motion: no-preference)",
436
+ sm: "(max-width: 640px)",
437
+ md: "(max-width: 768px)",
438
+ lg: "(max-width: 1024px)",
439
+ xl: "(max-width: 1280px)",
440
+ "2xl": "(max-width: 1536px)",
441
+ ls: "(max-width: 1024px) and (orientation: landscape)"
442
+ };
443
+ var defaultThemeMap = __spreadProps(__spreadValues({}, defaultStitchesThemeMap), {
444
+ width: "space",
445
+ height: "space",
446
+ minWidth: "space",
447
+ maxWidth: "space",
448
+ minHeight: "space",
449
+ maxHeight: "space",
450
+ flexBasis: "space",
451
+ gridTemplateColumns: "space",
452
+ gridTemplateRows: "space",
453
+ blockSize: "space",
454
+ minBlockSize: "space",
455
+ maxBlockSize: "space",
456
+ inlineSize: "space",
457
+ minInlineSize: "space",
458
+ maxInlineSize: "space"
459
+ });
460
+
461
+ // src/Theme/stitches.config.ts
462
+ var HmsStitches = createStitches({
463
+ prefix: "hms-ui",
464
+ theme: __spreadProps(__spreadValues({}, baseConfig.theme), {
465
+ colors: __spreadValues({}, baseConfig.theme.colors)
466
+ }),
467
+ media: defaultMedia,
468
+ utils: defaultUtils,
469
+ themeMap: defaultThemeMap
470
+ });
471
+ var {
472
+ theme,
473
+ createTheme: createThemeBase,
474
+ styled,
475
+ globalCss,
476
+ keyframes,
477
+ css,
478
+ getCssText,
479
+ config
480
+ } = HmsStitches;
481
+ var globalStyles = globalCss({
482
+ [`${DEFAULT_PORTAL_CONTAINER} *`]: {
483
+ fontFamily: "$sans",
484
+ boxSizing: "border-box"
485
+ },
486
+ "::-webkit-scrollbar-track": {
487
+ WebkitBoxShadow: "inset 0 0 6px rgba(0, 0, 0, 0.3)",
488
+ boxShadow: "inset 0 0 6px rgba(0, 0, 0, 0.3)",
489
+ backgroundColor: "transparent"
490
+ },
491
+ "::-webkit-scrollbar": {
492
+ width: "6px",
493
+ height: "6px",
494
+ backgroundColor: "transparent"
495
+ },
496
+ "::-webkit-scrollbar-thumb": {
497
+ backgroundColor: "#657080",
498
+ borderRadius: "5px"
499
+ },
500
+ /**
501
+ * needed for safari. Safari
502
+ * adds background color on its own
503
+ * on hls-viewer on fullscreen
504
+ */
505
+ "#hls-viewer-dark:fullscreen": {
506
+ backgroundColor: "black !important"
507
+ },
508
+ "#hls-viewer-light:fullscreen": {
509
+ backgroundColor: "white !important"
510
+ }
511
+ });
512
+ var createTheme = ({
513
+ themeType,
514
+ theme: theme2,
515
+ className
516
+ }) => {
517
+ if (!themeType) {
518
+ throw new Error("Theme type is required");
519
+ }
520
+ const mergedTheme = merge(baseConfig.theme, theme2 || {});
521
+ return createThemeBase(className || `${themeType}-theme`, mergedTheme);
522
+ };
523
+
524
+ export {
525
+ __pow,
526
+ __spreadValues,
527
+ __spreadProps,
528
+ __objRest,
529
+ __commonJS,
530
+ __export,
531
+ __toESM,
532
+ __publicField,
533
+ __privateGet,
534
+ __privateAdd,
535
+ __privateSet,
536
+ __async,
537
+ init_define_process_env,
538
+ define_process_env_default,
539
+ QUERY_PARAM_PREVIEW_AS_ROLE,
540
+ UI_MODE_GRID,
541
+ MAX_TOASTS,
542
+ RTMP_RECORD_RESOLUTION_MIN,
543
+ RTMP_RECORD_RESOLUTION_MAX,
544
+ RTMP_RECORD_DEFAULT_RESOLUTION,
545
+ EMOJI_REACTION_TYPE,
546
+ CHAT_SELECTOR,
547
+ APP_DATA,
548
+ UI_SETTINGS,
549
+ SIDE_PANE_OPTIONS,
550
+ SHEET_OPTIONS,
551
+ POLL_STATE,
552
+ POLL_VIEWS,
553
+ CAPTION_TOAST,
554
+ SUBSCRIBED_NOTIFICATIONS,
555
+ REMOTE_STOP_SCREENSHARE_TYPE,
556
+ isSafari,
557
+ isIOS,
558
+ isMacOS,
559
+ isAndroid,
560
+ isIPadOS,
561
+ QUESTION_TYPE_TITLE,
562
+ ROLE_CHANGE_DECLINED,
563
+ DEFAULT_PORTAL_CONTAINER,
564
+ TEST_AUDIO_URL,
565
+ theme,
566
+ createThemeBase,
567
+ styled,
568
+ globalCss,
569
+ keyframes,
570
+ css,
571
+ getCssText,
572
+ config,
573
+ globalStyles,
574
+ createTheme
575
+ };
576
+ //# sourceMappingURL=chunk-YDIB6WKJ.js.map