@100mslive/roomkit-react 0.3.24-alpha.0 → 0.3.24-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. package/dist/index.cjs.css +2 -2
  2. package/dist/index.cjs.css.map +1 -1
  3. package/dist/index.cjs.js +34103 -37488
  4. package/dist/index.cjs.js.map +4 -4
  5. package/dist/index.css +2 -2
  6. package/dist/index.css.map +1 -1
  7. package/dist/index.js +36383 -73
  8. package/dist/index.js.map +4 -4
  9. package/dist/meta.cjs.json +5567 -5616
  10. package/dist/meta.esbuild.json +6030 -8742
  11. package/package.json +7 -7
  12. package/src/Prebuilt/App.tsx +2 -6
  13. package/src/Prebuilt/components/Chat/Chat.tsx +8 -12
  14. package/src/Prebuilt/components/Footer/WhiteboardToggle.tsx +11 -4
  15. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +3 -3
  16. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +3 -0
  17. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +3 -2
  18. package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +30 -43
  19. package/src/Prebuilt/layouts/HLSView.jsx +2 -3
  20. package/src/Prebuilt/layouts/SidePane.tsx +6 -12
  21. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +64 -69
  22. package/dist/ConferenceScreen-CLPW3BGP.css +0 -2780
  23. package/dist/ConferenceScreen-CLPW3BGP.css.map +0 -7
  24. package/dist/ConferenceScreen-M6RBPTAJ.js +0 -1774
  25. package/dist/ConferenceScreen-M6RBPTAJ.js.map +0 -7
  26. package/dist/EmbedView-DDSO7ZCV.js +0 -17
  27. package/dist/EmbedView-DDSO7ZCV.js.map +0 -7
  28. package/dist/EmbedView-HGIUZHKA.css +0 -2780
  29. package/dist/EmbedView-HGIUZHKA.css.map +0 -7
  30. package/dist/EmojiReaction-23JDKJD4.js +0 -11
  31. package/dist/EmojiReaction-23JDKJD4.js.map +0 -7
  32. package/dist/HLSView-OW77EAAO.css +0 -2780
  33. package/dist/HLSView-OW77EAAO.css.map +0 -7
  34. package/dist/HLSView-Q6GEB3UM.js +0 -1666
  35. package/dist/HLSView-Q6GEB3UM.js.map +0 -7
  36. package/dist/LeaveScreen-BYTE73MT.js +0 -556
  37. package/dist/LeaveScreen-BYTE73MT.js.map +0 -7
  38. package/dist/LeaveScreen-P7AATEIF.css +0 -2780
  39. package/dist/LeaveScreen-P7AATEIF.css.map +0 -7
  40. package/dist/MoreSettings-LV5X2U6K.css +0 -2780
  41. package/dist/MoreSettings-LV5X2U6K.css.map +0 -7
  42. package/dist/MoreSettings-WSHMMNOC.js +0 -16
  43. package/dist/MoreSettings-WSHMMNOC.js.map +0 -7
  44. package/dist/PDFView-RIPRIIH6.css +0 -2780
  45. package/dist/PDFView-RIPRIIH6.css.map +0 -7
  46. package/dist/PDFView-ZFSG2ESE.js +0 -84
  47. package/dist/PDFView-ZFSG2ESE.js.map +0 -7
  48. package/dist/Polls-QWW5LTTB.js +0 -1584
  49. package/dist/Polls-QWW5LTTB.js.map +0 -7
  50. package/dist/Polls-ULYGUPPF.css +0 -2780
  51. package/dist/Polls-ULYGUPPF.css.map +0 -7
  52. package/dist/RaiseHand-K7NFLH7H.js +0 -10
  53. package/dist/RaiseHand-K7NFLH7H.js.map +0 -7
  54. package/dist/RoleProminence-235AFT7F.js +0 -116
  55. package/dist/RoleProminence-235AFT7F.js.map +0 -7
  56. package/dist/RoleProminence-6XN3POS5.css +0 -2780
  57. package/dist/RoleProminence-6XN3POS5.css.map +0 -7
  58. package/dist/RoomDetailsPane-O5TFMTPI.css +0 -2780
  59. package/dist/RoomDetailsPane-O5TFMTPI.css.map +0 -7
  60. package/dist/RoomDetailsPane-RF3D3TDR.js +0 -53
  61. package/dist/RoomDetailsPane-RF3D3TDR.js.map +0 -7
  62. package/dist/ScreenshareLayout-KNEB3AJJ.css +0 -2780
  63. package/dist/ScreenshareLayout-KNEB3AJJ.css.map +0 -7
  64. package/dist/ScreenshareLayout-PSQMS3NC.js +0 -358
  65. package/dist/ScreenshareLayout-PSQMS3NC.js.map +0 -7
  66. package/dist/SidePaneTabs-I6DECE5R.css +0 -2780
  67. package/dist/SidePaneTabs-I6DECE5R.css.map +0 -7
  68. package/dist/SidePaneTabs-NXHBI2JB.js +0 -1354
  69. package/dist/SidePaneTabs-NXHBI2JB.js.map +0 -7
  70. package/dist/VBPicker-2CQ3IIO7.js +0 -322
  71. package/dist/VBPicker-2CQ3IIO7.js.map +0 -7
  72. package/dist/VBPicker-DCNYGO23.css +0 -2780
  73. package/dist/VBPicker-DCNYGO23.css.map +0 -7
  74. package/dist/WaitingView-NZIUOXBI.js +0 -10
  75. package/dist/WaitingView-NZIUOXBI.js.map +0 -7
  76. package/dist/WhiteboardLayout-4YLFM3EY.js +0 -96
  77. package/dist/WhiteboardLayout-4YLFM3EY.js.map +0 -7
  78. package/dist/WhiteboardLayout-JUOBDFKY.css +0 -2780
  79. package/dist/WhiteboardLayout-JUOBDFKY.css.map +0 -7
  80. package/dist/chunk-3C7IESSI.js +0 -254
  81. package/dist/chunk-3C7IESSI.js.map +0 -7
  82. package/dist/chunk-7FD3VT6Q.js +0 -114
  83. package/dist/chunk-7FD3VT6Q.js.map +0 -7
  84. package/dist/chunk-AHI4HCY3.js +0 -62
  85. package/dist/chunk-AHI4HCY3.js.map +0 -7
  86. package/dist/chunk-BGSYLCVD.js +0 -6337
  87. package/dist/chunk-BGSYLCVD.js.map +0 -7
  88. package/dist/chunk-DANANDDE.js +0 -418
  89. package/dist/chunk-DANANDDE.js.map +0 -7
  90. package/dist/chunk-ETRNLEWQ.js +0 -2658
  91. package/dist/chunk-ETRNLEWQ.js.map +0 -7
  92. package/dist/chunk-EWPHJFZJ.js +0 -487
  93. package/dist/chunk-EWPHJFZJ.js.map +0 -7
  94. package/dist/chunk-F63YJBI4.js +0 -98
  95. package/dist/chunk-F63YJBI4.js.map +0 -7
  96. package/dist/chunk-GLAJUP3O.js +0 -576
  97. package/dist/chunk-GLAJUP3O.js.map +0 -7
  98. package/dist/chunk-GOXRTCTY.js +0 -90
  99. package/dist/chunk-GOXRTCTY.js.map +0 -7
  100. package/dist/chunk-HMCBZI3A.js +0 -59
  101. package/dist/chunk-HMCBZI3A.js.map +0 -7
  102. package/dist/chunk-HVYTC3PX.js +0 -171
  103. package/dist/chunk-HVYTC3PX.js.map +0 -7
  104. package/dist/chunk-LJVP6AWF.js +0 -262
  105. package/dist/chunk-LJVP6AWF.js.map +0 -7
  106. package/dist/chunk-LXJGCRKM.js +0 -30
  107. package/dist/chunk-LXJGCRKM.js.map +0 -7
  108. package/dist/chunk-MG3UGW66.js +0 -16800
  109. package/dist/chunk-MG3UGW66.js.map +0 -7
  110. package/dist/chunk-MUKUP7JU.js +0 -161
  111. package/dist/chunk-MUKUP7JU.js.map +0 -7
  112. package/dist/chunk-OV6MVDCL.js +0 -41
  113. package/dist/chunk-OV6MVDCL.js.map +0 -7
  114. package/dist/chunk-P6NV2XO4.js +0 -178
  115. package/dist/chunk-P6NV2XO4.js.map +0 -7
  116. package/dist/chunk-REL3HBSD.js +0 -71
  117. package/dist/chunk-REL3HBSD.js.map +0 -7
  118. package/dist/chunk-U4SQBXPZ.js +0 -830
  119. package/dist/chunk-U4SQBXPZ.js.map +0 -7
  120. package/dist/chunk-YEL5ZTFU.js +0 -136
  121. package/dist/chunk-YEL5ZTFU.js.map +0 -7
@@ -1,576 +0,0 @@
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_37445c38-dcd9-4fd1-85bd-049cdcb0a7b4", 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.14-alpha.0", 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.24-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_37445c38-dcd9-4fd1-85bd-049cdcb0a7b4", 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.24-alpha.0", 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.2", 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: "602", 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: "20241006.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.8/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:19115", 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.24-alpha.0", 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: "11381273958", 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: "8d5f8d40926c57adca1b1c3652674b67175acd4c", 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: "5f3b2f5516ab174276d2c9f6b08a2b2d2c22ab6b7802149e2b08cc19d2b7f3dd", 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--1729154016939-0.563861465643644:/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--1729154016737-0.9751751917034064:/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--1729153990285-0.04681214474947226:/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--1729153990099-0.5593284828994189:/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_0697e9e1-d6bc-4158-8c35-4bcf28cd94bb", INVOCATION_ID: "edc63624adcf49d5930034914d9fe04d", 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: "688", 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 100", 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.24-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24-alpha.0", 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: "8d5f8d40926c57adca1b1c3652674b67175acd4c", 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_37445c38-dcd9-4fd1-85bd-049cdcb0a7b4", 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_37445c38-dcd9-4fd1-85bd-049cdcb0a7b4", 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_37445c38-dcd9-4fd1-85bd-049cdcb0a7b4" };
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-GLAJUP3O.js.map