@100mslive/roomkit-react 0.4.3-alpha.4 → 0.4.3-alpha.6

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.
package/dist/index.cjs.js CHANGED
@@ -9,6 +9,9 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
9
  var __getProtoOf = Object.getPrototypeOf;
10
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
11
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __typeError = (msg) => {
13
+ throw TypeError(msg);
14
+ };
12
15
  var __pow = Math.pow;
13
16
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
14
17
  var __spreadValues = (a2, b2) => {
@@ -62,28 +65,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
62
65
  mod
63
66
  ));
64
67
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
65
- var __publicField = (obj, key, value) => {
66
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
67
- return value;
68
- };
69
- var __accessCheck = (obj, member, msg) => {
70
- if (!member.has(obj))
71
- throw TypeError("Cannot " + msg);
72
- };
73
- var __privateGet = (obj, member, getter) => {
74
- __accessCheck(obj, member, "read from private field");
75
- return getter ? getter.call(obj) : member.get(obj);
76
- };
77
- var __privateAdd = (obj, member, value) => {
78
- if (member.has(obj))
79
- throw TypeError("Cannot add the same private member more than once");
80
- member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
81
- };
82
- var __privateSet = (obj, member, value, setter) => {
83
- __accessCheck(obj, member, "write to private field");
84
- setter ? setter.call(obj, value) : member.set(obj, value);
85
- return value;
86
- };
68
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
69
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
70
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
71
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
72
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
87
73
  var __async = (__this, __arguments, generator) => {
88
74
  return new Promise((resolve, reject) => {
89
75
  var fulfilled = (value) => {
@@ -109,7 +95,7 @@ var __async = (__this, __arguments, generator) => {
109
95
  var define_process_env_default;
110
96
  var init_define_process_env = __esm({
111
97
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", 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", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.10", 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.1.3-alpha.4", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 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.11.3-alpha.4", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", 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.14.3-alpha.4", 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_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_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", 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-9.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", 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", SYSTEMD_EXEC_PID: "2094", ACTIONS_ORCHESTRATION_ID: "37ee0054-a13b-474f-89a4-14a2327b89f9.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", 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", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260302.42.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/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.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14783", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.4", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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.4.3-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.7/x64", GITHUB_RUN_ID: "22842826134", 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", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f4feef2572dd196edc136c16a0b0debbfb00f39a", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "9866343254171001367", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/ci/release-312f336e0", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLTMxMmYzMzZlMFwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NWUxMmUwMDktZGQwMS00Y2NjLTllODktNDUyMzAyNTAzZGI1IiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBT0V2USIsImV4cCI6MTc3MzA2MzM5NywiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzczMDQxMTk3LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiODg1M2Y0MDgtMTgwZS01ZWVmLTg2NGYtODY1YjFkZjFkYmQzIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzczMDQwODk3LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcInJhdml0ZWphODNcIixcImFjdG9yX2lkXCI6XCI2NzYzMjYxXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjY2MjUyMzgzMzk2XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiMTAwbXNsaXZlL3dlYi1zZGtzLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gueW1sQHJlZnMvaGVhZHMvY2kvcmVsZWFzZS0zMTJmMzM2ZTBcIixcImpvYl93b3JrZmxvd19zaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9jaS9yZWxlYXNlLTMxMmYzMzZlMFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjI4NDI4MjYxMzRcIixcInJ1bl9udW1iZXJcIjpcIjgwNlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2NpL3JlbGVhc2UtMzEyZjMzNmUwXCIsXCJ3b3JrZmxvd19zaGFcIjpcImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWFcIn0iLCJvaWRjX3N1YiI6InJlcG86MTAwbXNsaXZlL3dlYi1zZGtzOnJlZjpyZWZzL2hlYWRzL2NpL3JlbGVhc2UtMzEyZjMzNmUwIiwib3JjaF9pZCI6IjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOS5wdWJsaXNoX3BhY2thZ2VzLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwicGxhbl9pZCI6IjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOSIsInJlcG9zaXRvcnlfaWQiOiI0Mjk4MjY1MTUiLCJydW5faWQiOiIyMjg0MjgyNjEzNCIsInJ1bl9udW1iZXIiOiI4MDYiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTgzNDM2IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MzdlZTAwNTQtYTEzYi00NzRmLTg5YTQtMTRhMjMyN2I4OWY5Ojg4NTNmNDA4LTE4MGUtNWVlZi04NjRmLTg2NWIxZGYxZGJkMyBBY3Rpb25zLlJ1bm5lcjozN2VlMDA1NC1hMTNiLTQ3NGYtODlhNC0xNGEyMzI3Yjg5Zjk6ODg1M2Y0MDgtMTgwZS01ZWVmLTg2NGYtODY1YjFkZjFkYmQzIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjM3ZWUwMDU0LWExM2ItNDc0Zi04OWE0LTE0YTIzMjdiODlmOTo4ODUzZjQwOC0xODBlLTVlZWYtODY0Zi04NjViMWRmMWRiZDMgZ2VuZXJhdGVfaWRfdG9rZW46MzdlZTAwNTQtYTEzYi00NzRmLTg5YTQtMTRhMjMyN2I4OWY5Ojg4NTNmNDA4LTE4MGUtNWVlZi04NjRmLTg2NWIxZGYxZGJkMyBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImY0ZmVlZjI1NzJkZDE5NmVkYzEzNmMxNmEwYjBkZWJiZmIwMGYzOWEiLCJ0cnVzdF90aWVyIjoiMSJ9.PJdBOy9bBbVlQ49f-0HcaeiA_P2L9Sr3GYIuVS00KS-EJnod-bYy8pOuvPPnYsXrXCkD3JRApOaITc2-zNOi54LOhd11-K_Ae20AUQbZPRxZU2j4OMQ9cktEowYmPm1DimlZX4w2bldVi1KKubbtu6dg4pmQ_yqeYyoXP5ms5F1FYiUOOo58XGrAF7ytuKdvsJYI268Crbixqk-uQA-vY2PGbpVlLX11yEdfve6kCT6ZWnxt3xfG4FvuUQpOt0_jp2G3am6DCNevxOAfO9o0QPwSwKxPXgSS8VfB7O9hhaAKrDG9pwA0udkye_TZS3F_s8UmGRIpQIfQzT7zb23GRw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", 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--1773041271936-0.05515864543607396:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041271759-0.9933106795209797:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041254773-0.3464310301703477:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773041254617-0.36094829771459314:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/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/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_cdf62557-38f2-454a-bc9e-8560fcfc7d5e", INVOCATION_ID: "580d9f06aec84fe6821832733f6ea30a", 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_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "806", GITHUB_TRIGGERING_ACTOR: "raviteja83", 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: "^19.6.0", npm_config_legacy_peer_deps: "", 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 1000183436", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "ci/release-312f336e0", GITHUB_REPOSITORY: "100mslive/web-sdks", 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", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", 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_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.11.3-alpha.4", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", 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: "false", 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_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", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", GITHUB_SHA: "f4feef2572dd196edc136c16a0b0debbfb00f39a", 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_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/ci/release-312f336e0", GITHUB_ACTOR: "raviteja83", 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", NX_LOAD_DOT_ENV_FILES: "true", 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_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", 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_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/60//idtoken/37ee0054-a13b-474f-89a4-14a2327b89f9/8853f408-180e-5eef-864f-865b1df1dbd3?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", 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_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a1fcb24d-5dc0-4b39-98c4-c2a04cfd1181", npm_package_resolutions_sass: "^1.83.0" };
98
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_devDependencies_ts_node: "^10.9.2", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", DOTNET_NOLOGO: "1", npm_package_resolutions_tar: "^7.5.11", 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.1.3-alpha.6", USER: "runner", npm_package_resolutions__octokit_request: "^8.4.1", npm_package_devDependencies_jest: "^29.7.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v24.14.0 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.11.3-alpha.6", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_94618907-b03f-4429-9a70-1f3e398ed09f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.0/x64/bin/node", npm_package_resolutions_svgo: "^2.8.1", 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.14.3-alpha.6", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_resolutions_diff: "^4.0.4", 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_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.62.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", 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_resolutions__babel_runtime: "^7.26.10", npm_package_resolutions__tldraw_tldraw__radix_ui_react_dialog: "1.0.5", 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: "^4.6.3", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_resolutions__isaacs_brace_expansion: "^5.0.1", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "2100", ACTIONS_ORCHESTRATION_ID: "e8f8e213-00bb-4be6-858a-33e665b85a1c.publish_packages.__default", npm_package_resolutions_tmp: "^0.2.3", npm_package_scripts_postinstall: "husky install", 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.28.17", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", 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", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260309.50.1", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^29.7.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/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.2", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13952", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_lerna: "^9.0.7", npm_package_devDependencies__types_jest: "^29.5.14", npm_package_devDependencies__commitlint_config_conventional: "^19.8.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", 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.62.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "^0.4.3-alpha.6", npm_package_devDependencies__types_lodash_merge: "^4.6.6", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23131560642", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.5", 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", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_resolutions_qs: "^6.14.2", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "5213790827745635998", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/fix/dependabot-security-updates-v2", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo1ZTEyZTAwOS1kZDAxLTRjY2MtOWU4OS00NTIzMDI1MDNkYjUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFPRXZRIiwiZXhwIjoxNzczNjY2MTYyLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzM2NDM5NjIsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzM2NDM2NjIsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwicmF2aXRlamE4M1wiLFwiYWN0b3JfaWRcIjpcIjY3NjMyNjFcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjcxODU4NzczOTVcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCIxMDBtc2xpdmUvd2ViLXNka3MvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC55bWxAcmVmcy9oZWFkcy9maXgvZGVwZW5kYWJvdC1zZWN1cml0eS11cGRhdGVzLXYyXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MlwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxMzE1NjA2NDJcIixcInJ1bl9udW1iZXJcIjpcIjgwOVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU3YmQxM2Y4MDUzNTZhNTMyMjhlNDEzY2JiMzUwYzdlOTg3NWQwZDhcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL2ZpeC9kZXBlbmRhYm90LXNlY3VyaXR5LXVwZGF0ZXMtdjJcIixcIndvcmtmbG93X3NoYVwiOlwiNTdiZDEzZjgwNTM1NmE1MzIyOGU0MTNjYmIzNTBjN2U5ODc1ZDBkOFwifSIsIm9pZGNfc3ViIjoicmVwbzoxMDBtc2xpdmUvd2ViLXNka3M6cmVmOnJlZnMvaGVhZHMvZml4L2RlcGVuZGFib3Qtc2VjdXJpdHktdXBkYXRlcy12MiIsIm9yY2hfaWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMucHVibGlzaF9wYWNrYWdlcy5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBT0V2USIsInBsYW5faWQiOiJlOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWMiLCJyZXBvc2l0b3J5X2lkIjoiNDI5ODI2NTE1IiwicnVuX2lkIjoiMjMxMzE1NjA2NDIiLCJydW5fbnVtYmVyIjoiODA5IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDE5OTgwNiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5SdW5uZXI6ZThmOGUyMTMtMDBiYi00YmU2LTg1OGEtMzNlNjY1Yjg1YTFjOmJkMjg1ZWJmLTc5YTItNTRiNi05NzU2LWQ5MjE0OWRhYTRiNCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czplOGY4ZTIxMy0wMGJiLTRiZTYtODU4YS0zM2U2NjViODVhMWM6YmQyODVlYmYtNzlhMi01NGI2LTk3NTYtZDkyMTQ5ZGFhNGI0IGdlbmVyYXRlX2lkX3Rva2VuOmU4ZjhlMjEzLTAwYmItNGJlNi04NThhLTMzZTY2NWI4NWExYzpiZDI4NWViZi03OWEyLTU0YjYtOTc1Ni1kOTIxNDlkYWE0YjQgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1N2JkMTNmODA1MzU2YTUzMjI4ZTQxM2NiYjM1MGM3ZTk4NzVkMGQ4IiwidHJ1c3RfdGllciI6IjEifQ.L5N-OMdCYh7bv5tz1SHwARru9tFlo3yFBEIRgB0r4ksaT16mo-WiPf2ExVtBluBPJytEUOPgiJBT362QbaVjEyRNoG8AShMEfbUZneBcL3AP3jnmyWVkEijSZWAwBTqDdjRJkpiGCEqU6p34JEDeOFPEnbBB49ANdfADC8vIlvmXoYXJjVrGM3XJqjcAY2S8kh4GPjQRj8o1PjkobO1JqRY2YeIykxqPVDD8CJWdkV12PG1lVtF00Tq3-KAxo-eo466H_0K6w7nM-m0LHa4UUhC8QKrADKa59GjX78Gf_WkL_NbhW6bNypKyMmXotVDic-EH0NZLHUnctjfe-lPieA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_resolutions_on_headers: "^1.1.0", npm_package_resolutions_semver: "^7.5.2", 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--1773644045733-0.7862426815129081:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644045559-0.9882098262434613:/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/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028277-0.6494734591164135:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1773644028117-0.11927964986527528:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.0/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/24.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4d37e8d9-cb65-4fa7-9f53-548560dc832d", INVOCATION_ID: "c968d72e91b34ebcbd14bd060eb75121", 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_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "809", GITHUB_TRIGGERING_ACTOR: "raviteja83", 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: "^7.0.0", 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: "^19.8.0", npm_config_legacy_peer_deps: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_resolutions_flatted: "^3.4.0", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.57.1", 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 1000199806", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "fix/dependabot-security-updates-v2", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_braces: "^3.0.3", 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", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", 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_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^9.2.1", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "^0.11.3-alpha.6", npm_package_scripts_types: "tsc -w", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.4.3-alpha.6", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions__octokit_request_error: "^5.1.1", npm_package_resolutions_axios: "^1.13.5", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies_jest_environment_jsdom: "^29.7.0", NX_ISOLATE_PLUGINS: "false", 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: "false", 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_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", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_resolutions__babel_helpers: "^7.26.10", GITHUB_SHA: "57bd13f805356a53228e413cbb350c7e9875d0d8", 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_package_resolutions__adobe_css_tools: "^4.3.2", npm_package_resolutions_form_data: "^4.0.4", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", NX_TASK_TARGET_TARGET: "build", NX_FORKED_TASK_EXECUTOR: "true", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/fix/dependabot-security-updates-v2", GITHUB_ACTOR: "raviteja83", 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", NX_LOAD_DOT_ENV_FILES: "true", 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_94618907-b03f-4429-9a70-1f3e398ed09f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", 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_resolutions____vite_rollup: "^4.59.0", npm_package_scripts_ybys: "yarn && yarn build --no-private", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", 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", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/131//idtoken/e8f8e213-00bb-4be6-858a-33e665b85a1c/bd285ebf-79a2-54b6-9756-d92149daa4b4?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_nanoid: "^3.3.8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_ejs: "^3.1.10", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.5.8", npm_package_devDependencies_esbuild: "^0.25.0", npm_config_save_prefix: "^", npm_config_ignore_optional: "", NX_TUI: "false", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", 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", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", 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_knip: "^5.11.0", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_94618907-b03f-4429-9a70-1f3e398ed09f", npm_package_resolutions_sass: "^1.83.0" };
113
99
  }
114
100
  });
115
101
 
@@ -448,7 +434,7 @@ var require_lodash = __commonJS({
448
434
  var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
449
435
  var moduleExports = freeModule && freeModule.exports === freeExports;
450
436
  var freeProcess = moduleExports && freeGlobal.process;
451
- var nodeUtil = function() {
437
+ var nodeUtil = (function() {
452
438
  try {
453
439
  var types = freeModule && freeModule.require && freeModule.require("util").types;
454
440
  if (types) {
@@ -457,7 +443,7 @@ var require_lodash = __commonJS({
457
443
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
458
444
  } catch (e) {
459
445
  }
460
- }();
446
+ })();
461
447
  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
462
448
  function apply(func, thisArg, args) {
463
449
  switch (args.length) {
@@ -803,7 +789,7 @@ var require_lodash = __commonJS({
803
789
  function unicodeWords(string) {
804
790
  return string.match(reUnicodeWord) || [];
805
791
  }
806
- var runInContext = function runInContext2(context) {
792
+ var runInContext = (function runInContext2(context) {
807
793
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
808
794
  var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
809
795
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -811,10 +797,10 @@ var require_lodash = __commonJS({
811
797
  var funcToString = funcProto.toString;
812
798
  var hasOwnProperty = objectProto.hasOwnProperty;
813
799
  var idCounter = 0;
814
- var maskSrcKey = function() {
800
+ var maskSrcKey = (function() {
815
801
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
816
802
  return uid ? "Symbol(src)_1." + uid : "";
817
- }();
803
+ })();
818
804
  var nativeObjectToString = objectProto.toString;
819
805
  var objectCtorString = funcToString.call(Object2);
820
806
  var oldDash = root._;
@@ -822,14 +808,14 @@ var require_lodash = __commonJS({
822
808
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
823
809
  );
824
810
  var Buffer2 = moduleExports ? context.Buffer : undefined2, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : undefined2, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined2, symIterator = Symbol2 ? Symbol2.iterator : undefined2, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined2;
825
- var defineProperty = function() {
811
+ var defineProperty = (function() {
826
812
  try {
827
813
  var func = getNative(Object2, "defineProperty");
828
814
  func({}, "", {});
829
815
  return func;
830
816
  } catch (e) {
831
817
  }
832
- }();
818
+ })();
833
819
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
834
820
  var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : undefined2, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
835
821
  var DataView = getNative(context, "DataView"), Map2 = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap2 = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
@@ -848,7 +834,7 @@ var require_lodash = __commonJS({
848
834
  }
849
835
  return new LodashWrapper(value);
850
836
  }
851
- var baseCreate = function() {
837
+ var baseCreate = /* @__PURE__ */ (function() {
852
838
  function object() {
853
839
  }
854
840
  return function(proto) {
@@ -863,7 +849,7 @@ var require_lodash = __commonJS({
863
849
  object.prototype = undefined2;
864
850
  return result2;
865
851
  };
866
- }();
852
+ })();
867
853
  function baseLodash() {
868
854
  }
869
855
  function LodashWrapper(value, chainAll) {
@@ -4175,9 +4161,9 @@ var require_lodash = __commonJS({
4175
4161
  var gte = createRelationalOperation(function(value, other) {
4176
4162
  return value >= other;
4177
4163
  });
4178
- var isArguments = baseIsArguments(function() {
4164
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4179
4165
  return arguments;
4180
- }()) ? baseIsArguments : function(value) {
4166
+ })()) ? baseIsArguments : function(value) {
4181
4167
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4182
4168
  };
4183
4169
  var isArray2 = Array2.isArray;
@@ -5429,7 +5415,7 @@ var require_lodash = __commonJS({
5429
5415
  lodash.each = forEach;
5430
5416
  lodash.eachRight = forEachRight;
5431
5417
  lodash.first = head;
5432
- mixin(lodash, function() {
5418
+ mixin(lodash, (function() {
5433
5419
  var source = {};
5434
5420
  baseForOwn(lodash, function(func, methodName) {
5435
5421
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5437,7 +5423,7 @@ var require_lodash = __commonJS({
5437
5423
  }
5438
5424
  });
5439
5425
  return source;
5440
- }(), { "chain": false });
5426
+ })(), { "chain": false });
5441
5427
  lodash.VERSION = VERSION2;
5442
5428
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5443
5429
  lodash[methodName].placeholder = lodash;
@@ -5597,7 +5583,7 @@ var require_lodash = __commonJS({
5597
5583
  lodash.prototype[symIterator] = wrapperToIterator;
5598
5584
  }
5599
5585
  return lodash;
5600
- };
5586
+ });
5601
5587
  var _ = runInContext();
5602
5588
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5603
5589
  root._ = _;
@@ -5667,12 +5653,12 @@ var require_lodash2 = __commonJS({
5667
5653
  var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
5668
5654
  var moduleExports = freeModule && freeModule.exports === freeExports;
5669
5655
  var freeProcess = moduleExports && freeGlobal.process;
5670
- var nodeUtil = function() {
5656
+ var nodeUtil = (function() {
5671
5657
  try {
5672
5658
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5673
5659
  } catch (e) {
5674
5660
  }
5675
- }();
5661
+ })();
5676
5662
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5677
5663
  function arrayFilter(array, predicate) {
5678
5664
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5743,10 +5729,10 @@ var require_lodash2 = __commonJS({
5743
5729
  var coreJsData = root["__core-js_shared__"];
5744
5730
  var funcToString = funcProto.toString;
5745
5731
  var hasOwnProperty = objectProto.hasOwnProperty;
5746
- var maskSrcKey = function() {
5732
+ var maskSrcKey = (function() {
5747
5733
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5748
5734
  return uid ? "Symbol(src)_1." + uid : "";
5749
- }();
5735
+ })();
5750
5736
  var nativeObjectToString = objectProto.toString;
5751
5737
  var reIsNative = RegExp(
5752
5738
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6272,9 +6258,9 @@ var require_lodash2 = __commonJS({
6272
6258
  function eq(value, other) {
6273
6259
  return value === other || value !== value && other !== other;
6274
6260
  }
6275
- var isArguments = baseIsArguments(function() {
6261
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6276
6262
  return arguments;
6277
- }()) ? baseIsArguments : function(value) {
6263
+ })()) ? baseIsArguments : function(value) {
6278
6264
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6279
6265
  };
6280
6266
  var isArray2 = Array.isArray;
@@ -7630,126 +7616,12 @@ var require_lib = __commonJS({
7630
7616
  }
7631
7617
  });
7632
7618
 
7633
- // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
7634
- var require_react_is_production_min = __commonJS({
7635
- "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7636
- "use strict";
7637
- init_define_process_env();
7638
- var b2 = "function" === typeof Symbol && Symbol.for;
7639
- var c2 = b2 ? Symbol.for("react.element") : 60103;
7640
- var d = b2 ? Symbol.for("react.portal") : 60106;
7641
- var e = b2 ? Symbol.for("react.fragment") : 60107;
7642
- var f = b2 ? Symbol.for("react.strict_mode") : 60108;
7643
- var g = b2 ? Symbol.for("react.profiler") : 60114;
7644
- var h = b2 ? Symbol.for("react.provider") : 60109;
7645
- var k2 = b2 ? Symbol.for("react.context") : 60110;
7646
- var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
7647
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
7648
- var n = b2 ? Symbol.for("react.forward_ref") : 60112;
7649
- var p = b2 ? Symbol.for("react.suspense") : 60113;
7650
- var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
7651
- var r = b2 ? Symbol.for("react.memo") : 60115;
7652
- var t = b2 ? Symbol.for("react.lazy") : 60116;
7653
- var v = b2 ? Symbol.for("react.block") : 60121;
7654
- var w = b2 ? Symbol.for("react.fundamental") : 60117;
7655
- var x = b2 ? Symbol.for("react.responder") : 60118;
7656
- var y2 = b2 ? Symbol.for("react.scope") : 60119;
7657
- function z2(a2) {
7658
- if ("object" === typeof a2 && null !== a2) {
7659
- var u = a2.$$typeof;
7660
- switch (u) {
7661
- case c2:
7662
- switch (a2 = a2.type, a2) {
7663
- case l2:
7664
- case m2:
7665
- case e:
7666
- case g:
7667
- case f:
7668
- case p:
7669
- return a2;
7670
- default:
7671
- switch (a2 = a2 && a2.$$typeof, a2) {
7672
- case k2:
7673
- case n:
7674
- case t:
7675
- case r:
7676
- case h:
7677
- return a2;
7678
- default:
7679
- return u;
7680
- }
7681
- }
7682
- case d:
7683
- return u;
7684
- }
7685
- }
7686
- }
7687
- function A(a2) {
7688
- return z2(a2) === m2;
7689
- }
7690
- exports.AsyncMode = l2;
7691
- exports.ConcurrentMode = m2;
7692
- exports.ContextConsumer = k2;
7693
- exports.ContextProvider = h;
7694
- exports.Element = c2;
7695
- exports.ForwardRef = n;
7696
- exports.Fragment = e;
7697
- exports.Lazy = t;
7698
- exports.Memo = r;
7699
- exports.Portal = d;
7700
- exports.Profiler = g;
7701
- exports.StrictMode = f;
7702
- exports.Suspense = p;
7703
- exports.isAsyncMode = function(a2) {
7704
- return A(a2) || z2(a2) === l2;
7705
- };
7706
- exports.isConcurrentMode = A;
7707
- exports.isContextConsumer = function(a2) {
7708
- return z2(a2) === k2;
7709
- };
7710
- exports.isContextProvider = function(a2) {
7711
- return z2(a2) === h;
7712
- };
7713
- exports.isElement = function(a2) {
7714
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
7715
- };
7716
- exports.isForwardRef = function(a2) {
7717
- return z2(a2) === n;
7718
- };
7719
- exports.isFragment = function(a2) {
7720
- return z2(a2) === e;
7721
- };
7722
- exports.isLazy = function(a2) {
7723
- return z2(a2) === t;
7724
- };
7725
- exports.isMemo = function(a2) {
7726
- return z2(a2) === r;
7727
- };
7728
- exports.isPortal = function(a2) {
7729
- return z2(a2) === d;
7730
- };
7731
- exports.isProfiler = function(a2) {
7732
- return z2(a2) === g;
7733
- };
7734
- exports.isStrictMode = function(a2) {
7735
- return z2(a2) === f;
7736
- };
7737
- exports.isSuspense = function(a2) {
7738
- return z2(a2) === p;
7739
- };
7740
- exports.isValidElementType = function(a2) {
7741
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k2 || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
7742
- };
7743
- exports.typeOf = z2;
7744
- }
7745
- });
7746
-
7747
7619
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7748
7620
  var require_react_is_development = __commonJS({
7749
7621
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7750
7622
  "use strict";
7751
7623
  init_define_process_env();
7752
- if (define_process_env_default.NODE_ENV !== "production") {
7624
+ if (true) {
7753
7625
  (function() {
7754
7626
  "use strict";
7755
7627
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
@@ -7905,8 +7777,8 @@ var require_react_is = __commonJS({
7905
7777
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module2) {
7906
7778
  "use strict";
7907
7779
  init_define_process_env();
7908
- if (define_process_env_default.NODE_ENV === "production") {
7909
- module2.exports = require_react_is_production_min();
7780
+ if (false) {
7781
+ module2.exports = null;
7910
7782
  } else {
7911
7783
  module2.exports = require_react_is_development();
7912
7784
  }
@@ -8009,7 +7881,7 @@ var require_checkPropTypes = __commonJS({
8009
7881
  init_define_process_env();
8010
7882
  var printWarning = function() {
8011
7883
  };
8012
- if (define_process_env_default.NODE_ENV !== "production") {
7884
+ if (true) {
8013
7885
  ReactPropTypesSecret = require_ReactPropTypesSecret();
8014
7886
  loggedTypeFailures = {};
8015
7887
  has2 = require_has();
@@ -8028,7 +7900,7 @@ var require_checkPropTypes = __commonJS({
8028
7900
  var loggedTypeFailures;
8029
7901
  var has2;
8030
7902
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
8031
- if (define_process_env_default.NODE_ENV !== "production") {
7903
+ if (true) {
8032
7904
  for (var typeSpecName in typeSpecs) {
8033
7905
  if (has2(typeSpecs, typeSpecName)) {
8034
7906
  var error;
@@ -8061,7 +7933,7 @@ var require_checkPropTypes = __commonJS({
8061
7933
  }
8062
7934
  }
8063
7935
  checkPropTypes.resetWarningCache = function() {
8064
- if (define_process_env_default.NODE_ENV !== "production") {
7936
+ if (true) {
8065
7937
  loggedTypeFailures = {};
8066
7938
  }
8067
7939
  };
@@ -8081,7 +7953,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8081
7953
  var checkPropTypes = require_checkPropTypes();
8082
7954
  var printWarning = function() {
8083
7955
  };
8084
- if (define_process_env_default.NODE_ENV !== "production") {
7956
+ if (true) {
8085
7957
  printWarning = function(text) {
8086
7958
  var message = "Warning: " + text;
8087
7959
  if (typeof console !== "undefined") {
@@ -8141,7 +8013,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8141
8013
  }
8142
8014
  PropTypeError.prototype = Error.prototype;
8143
8015
  function createChainableTypeChecker(validate) {
8144
- if (define_process_env_default.NODE_ENV !== "production") {
8016
+ if (true) {
8145
8017
  var manualPropTypeCallCache = {};
8146
8018
  var manualPropTypeWarningCount = 0;
8147
8019
  }
@@ -8155,7 +8027,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8155
8027
  );
8156
8028
  err.name = "Invariant Violation";
8157
8029
  throw err;
8158
- } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8030
+ } else if (typeof console !== "undefined") {
8159
8031
  var cacheKey = componentName + ":" + propName;
8160
8032
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8161
8033
  manualPropTypeWarningCount < 3) {
@@ -8256,7 +8128,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8256
8128
  }
8257
8129
  function createEnumTypeChecker(expectedValues) {
8258
8130
  if (!Array.isArray(expectedValues)) {
8259
- if (define_process_env_default.NODE_ENV !== "production") {
8131
+ if (true) {
8260
8132
  if (arguments.length > 1) {
8261
8133
  printWarning(
8262
8134
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
@@ -8309,7 +8181,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8309
8181
  }
8310
8182
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8311
8183
  if (!Array.isArray(arrayOfTypeCheckers)) {
8312
- define_process_env_default.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8184
+ true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8313
8185
  return emptyFunctionThatReturnsNull;
8314
8186
  }
8315
8187
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8513,73 +8385,16 @@ var require_factoryWithTypeCheckers = __commonJS({
8513
8385
  }
8514
8386
  });
8515
8387
 
8516
- // ../../node_modules/prop-types/factoryWithThrowingShims.js
8517
- var require_factoryWithThrowingShims = __commonJS({
8518
- "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) {
8519
- "use strict";
8520
- init_define_process_env();
8521
- var ReactPropTypesSecret = require_ReactPropTypesSecret();
8522
- function emptyFunction() {
8523
- }
8524
- function emptyFunctionWithReset() {
8525
- }
8526
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
8527
- module2.exports = function() {
8528
- function shim(props, propName, componentName, location, propFullName, secret) {
8529
- if (secret === ReactPropTypesSecret) {
8530
- return;
8531
- }
8532
- var err = new Error(
8533
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
8534
- );
8535
- err.name = "Invariant Violation";
8536
- throw err;
8537
- }
8538
- ;
8539
- shim.isRequired = shim;
8540
- function getShim() {
8541
- return shim;
8542
- }
8543
- ;
8544
- var ReactPropTypes = {
8545
- array: shim,
8546
- bigint: shim,
8547
- bool: shim,
8548
- func: shim,
8549
- number: shim,
8550
- object: shim,
8551
- string: shim,
8552
- symbol: shim,
8553
- any: shim,
8554
- arrayOf: getShim,
8555
- element: shim,
8556
- elementType: shim,
8557
- instanceOf: getShim,
8558
- node: shim,
8559
- objectOf: getShim,
8560
- oneOf: getShim,
8561
- oneOfType: getShim,
8562
- shape: getShim,
8563
- exact: getShim,
8564
- checkPropTypes: emptyFunctionWithReset,
8565
- resetWarningCache: emptyFunction
8566
- };
8567
- ReactPropTypes.PropTypes = ReactPropTypes;
8568
- return ReactPropTypes;
8569
- };
8570
- }
8571
- });
8572
-
8573
8388
  // ../../node_modules/prop-types/index.js
8574
8389
  var require_prop_types = __commonJS({
8575
8390
  "../../node_modules/prop-types/index.js"(exports, module2) {
8576
8391
  init_define_process_env();
8577
- if (define_process_env_default.NODE_ENV !== "production") {
8392
+ if (true) {
8578
8393
  ReactIs = require_react_is();
8579
8394
  throwOnDirectAccess = true;
8580
8395
  module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8581
8396
  } else {
8582
- module2.exports = require_factoryWithThrowingShims()();
8397
+ module2.exports = null();
8583
8398
  }
8584
8399
  var ReactIs;
8585
8400
  var throwOnDirectAccess;
@@ -8587,8 +8402,8 @@ var require_prop_types = __commonJS({
8587
8402
  });
8588
8403
 
8589
8404
  // src/index.ts
8590
- var src_exports = {};
8591
- __export(src_exports, {
8405
+ var index_exports = {};
8406
+ __export(index_exports, {
8592
8407
  Accordion: () => Accordion,
8593
8408
  AudioLevel: () => AudioLevel,
8594
8409
  Avatar: () => Avatar,
@@ -8655,7 +8470,7 @@ __export(src_exports, {
8655
8470
  useBorderAudioLevel: () => useBorderAudioLevel,
8656
8471
  useTheme: () => useTheme
8657
8472
  });
8658
- module.exports = __toCommonJS(src_exports);
8473
+ module.exports = __toCommonJS(index_exports);
8659
8474
  init_define_process_env();
8660
8475
 
8661
8476
  // src/Button/index.tsx
@@ -10184,8 +9999,7 @@ var StyledDialog = (0, import_react16.styled)(import_react_dialog.Root, {});
10184
9999
  var DialogRoot = (props) => {
10185
10000
  (0, import_react15.useEffect)(() => {
10186
10001
  return () => {
10187
- if (document)
10188
- setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10002
+ if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10189
10003
  };
10190
10004
  }, []);
10191
10005
  return /* @__PURE__ */ import_react15.default.createElement(StyledDialog, __spreadValues({}, props));
@@ -12026,7 +11840,7 @@ var LayoutSettings = () => {
12026
11840
  const isLocalScreenShared = (0, import_react_sdk8.useHMSStore)(import_react_sdk8.selectIsLocalScreenShared);
12027
11841
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
12028
11842
  const toggleIsAudioOnly = (0, import_react30.useCallback)(
12029
- (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11843
+ (isAudioOnlyModeOn) => __async(null, null, function* () {
12030
11844
  if (isAudioOnlyModeOn) {
12031
11845
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
12032
11846
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -12138,7 +11952,7 @@ var defaultLayout = {
12138
11952
  };
12139
11953
 
12140
11954
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
12141
- var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11955
+ var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12142
11956
  const MAX_RETRIES = 4;
12143
11957
  let error = Error("something went wrong");
12144
11958
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -12171,7 +11985,7 @@ var useFetchRoomLayout = ({
12171
11985
  }
12172
11986
  }, []);
12173
11987
  (0, import_react31.useEffect)(() => {
12174
- (() => __async(void 0, null, function* () {
11988
+ (() => __async(null, null, function* () {
12175
11989
  var _a8, _b7;
12176
11990
  if (isFetchInProgress.current || !authToken) {
12177
11991
  return;
@@ -12268,8 +12082,7 @@ var formatTime = (timeInSeconds) => {
12268
12082
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12269
12083
  };
12270
12084
  var compareArrays = (a2, b2) => {
12271
- if (a2.length !== b2.length)
12272
- return false;
12085
+ if (a2.length !== b2.length) return false;
12273
12086
  else {
12274
12087
  for (var i = 0; i < a2.length; i++) {
12275
12088
  if (a2[i] !== b2[i]) {
@@ -14368,7 +14181,7 @@ var useNoiseCancellationWithPlugin = () => {
14368
14181
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14369
14182
  const isEnabledForRoom = (_a8 = (0, import_react_sdk16.useHMSStore)(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14370
14183
  const setNoiseCancellationWithPlugin = (0, import_react48.useCallback)(
14371
- (enabled) => __async(void 0, null, function* () {
14184
+ (enabled) => __async(null, null, function* () {
14372
14185
  if (!isEnabledForRoom || inProgress) {
14373
14186
  return;
14374
14187
  }
@@ -14410,7 +14223,7 @@ var NoiseCancellation = ({
14410
14223
  {
14411
14224
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14412
14225
  disabled: inProgress,
14413
- onClick: () => __async(void 0, null, function* () {
14226
+ onClick: () => __async(null, null, function* () {
14414
14227
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14415
14228
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14416
14229
  })
@@ -14423,7 +14236,7 @@ var NoiseCancellation = ({
14423
14236
  return /* @__PURE__ */ import_react48.default.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ import_react48.default.createElement(
14424
14237
  IconButton_default,
14425
14238
  {
14426
- onClick: () => __async(void 0, null, function* () {
14239
+ onClick: () => __async(null, null, function* () {
14427
14240
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14428
14241
  }),
14429
14242
  disabled: inProgress,
@@ -14444,7 +14257,7 @@ var NoiseCancellation = ({
14444
14257
  fontSize: "$xs",
14445
14258
  justifyContent: "space-between"
14446
14259
  },
14447
- onClick: (e) => __async(void 0, null, function* () {
14260
+ onClick: (e) => __async(null, null, function* () {
14448
14261
  e.preventDefault();
14449
14262
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14450
14263
  })
@@ -14457,7 +14270,7 @@ var NoiseCancellation = ({
14457
14270
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14458
14271
  disabled: inProgress,
14459
14272
  onClick: (e) => e.stopPropagation(),
14460
- onCheckedChange: (value) => __async(void 0, null, function* () {
14273
+ onCheckedChange: (value) => __async(null, null, function* () {
14461
14274
  yield setNoiseCancellationWithPlugin(value);
14462
14275
  })
14463
14276
  }
@@ -14471,7 +14284,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14471
14284
  {
14472
14285
  variant: "xs",
14473
14286
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14474
- onClick: () => __async(void 0, null, function* () {
14287
+ onClick: () => __async(null, null, function* () {
14475
14288
  var _a8;
14476
14289
  if (playing) {
14477
14290
  return;
@@ -14537,7 +14350,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14537
14350
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14538
14351
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14539
14352
  (0, import_react48.useEffect)(() => {
14540
- (() => __async(void 0, null, function* () {
14353
+ (() => __async(null, null, function* () {
14541
14354
  var _a8;
14542
14355
  const isEnabledForRoom = (_a8 = vanillaStore.getState(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14543
14356
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14614,7 +14427,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14614
14427
  ) : null, (localVideoTrack == null ? void 0 : localVideoTrack.facingMode) && roomState === import_react_sdk16.HMSRoomState.Preview && (isIOS || isAndroid) ? /* @__PURE__ */ import_react48.default.createElement(Tooltip, { title: "Switch Camera", key: "switchCamera" }, /* @__PURE__ */ import_react48.default.createElement(
14615
14428
  IconButton_default,
14616
14429
  {
14617
- onClick: () => __async(void 0, null, function* () {
14430
+ onClick: () => __async(null, null, function* () {
14618
14431
  try {
14619
14432
  yield actions.switchCamera();
14620
14433
  } catch (e) {
@@ -14767,7 +14580,7 @@ var useMobileHLSStream = () => {
14767
14580
  };
14768
14581
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14769
14582
  const handleKeyEvent = (0, import_react52.useCallback)(
14770
- (event) => __async(void 0, null, function* () {
14583
+ (event) => __async(null, null, function* () {
14771
14584
  switch (event.key) {
14772
14585
  case " ":
14773
14586
  if (isPaused) {
@@ -14799,7 +14612,7 @@ var useRecordingHandler = () => {
14799
14612
  }
14800
14613
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14801
14614
  const startRecording = (0, import_react52.useCallback)(
14802
- (resolution = null) => __async(void 0, null, function* () {
14615
+ (resolution = null) => __async(null, null, function* () {
14803
14616
  try {
14804
14617
  setRecordingState(true);
14805
14618
  setIsRecordingLoading(true);
@@ -14885,7 +14698,7 @@ var EmojiReaction = ({ showCard = false }) => {
14885
14698
  const { sendEvent } = (0, import_react_sdk19.useCustomEvent)({
14886
14699
  type: EMOJI_REACTION_TYPE
14887
14700
  });
14888
- const sendReaction = (emojiId) => __async(void 0, null, function* () {
14701
+ const sendReaction = (emojiId) => __async(null, null, function* () {
14889
14702
  var _a8;
14890
14703
  const data3 = {
14891
14704
  type: EMOJI_REACTION_TYPE,
@@ -14966,7 +14779,7 @@ var EndSessionContent = ({
14966
14779
  {
14967
14780
  variant: "danger",
14968
14781
  css: { w: "100%" },
14969
- onClick: () => __async(void 0, null, function* () {
14782
+ onClick: () => __async(null, null, function* () {
14970
14783
  yield leaveRoom({ endStream: true });
14971
14784
  setShowEndStreamAlert(false);
14972
14785
  }),
@@ -15053,7 +14866,7 @@ var LeaveSessionContent = ({
15053
14866
  {
15054
14867
  variant: "danger",
15055
14868
  css: { w: "100%" },
15056
- onClick: () => __async(void 0, null, function* () {
14869
+ onClick: () => __async(null, null, function* () {
15057
14870
  yield leaveRoom({ sendReason: true });
15058
14871
  }),
15059
14872
  id: "leaveRoom",
@@ -15124,7 +14937,7 @@ var DesktopLeaveRoom = ({
15124
14937
  bg: "",
15125
14938
  titleColor: "$on_surface_high",
15126
14939
  icon: /* @__PURE__ */ import_react57.default.createElement(import_react_icons18.ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15127
- onClick: () => __async(void 0, null, function* () {
14940
+ onClick: () => __async(null, null, function* () {
15128
14941
  return yield leaveRoom({ sendReason: true });
15129
14942
  }),
15130
14943
  css: { p: "$8 $4" }
@@ -15215,7 +15028,7 @@ var MwebLeaveRoom = ({
15215
15028
  bg: "$surface_default",
15216
15029
  titleColor: "$on_surface_high",
15217
15030
  icon: /* @__PURE__ */ import_react58.default.createElement(import_react_icons19.ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15218
- onClick: () => __async(void 0, null, function* () {
15031
+ onClick: () => __async(null, null, function* () {
15219
15032
  return yield leaveRoom({ sendReason: true });
15220
15033
  }),
15221
15034
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15281,7 +15094,7 @@ var LeaveRoom = ({
15281
15094
  const hmsActions = (0, import_react_sdk22.useHMSActions)();
15282
15095
  const isMobileHLSStream = useMobileHLSStream();
15283
15096
  const isLandscapeHLSStream = useLandscapeHLSStream();
15284
- const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15097
+ const stopStream = (stop_reason = "") => __async(null, null, function* () {
15285
15098
  try {
15286
15099
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15287
15100
  console.log("Stopping HLS stream");
@@ -15293,10 +15106,10 @@ var LeaveRoom = ({
15293
15106
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15294
15107
  }
15295
15108
  });
15296
- const endRoom = () => __async(void 0, null, function* () {
15109
+ const endRoom = () => __async(null, null, function* () {
15297
15110
  yield hmsActions.endRoom(false, "End Room");
15298
15111
  });
15299
- const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15112
+ const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15300
15113
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15301
15114
  yield stopStream(options.sendReason ? "last publisher left" : "");
15302
15115
  }
@@ -15522,7 +15335,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15522
15335
  const hmsActions = (0, import_react_sdk25.useHMSActions)();
15523
15336
  const blacklistedIDs = (0, import_react_sdk25.useHMSStore)((0, import_react_sdk25.selectSessionStore)(sessionStoreKey));
15524
15337
  const blacklistItem = (0, import_react63.useCallback)(
15525
- (blacklistID) => __async(void 0, null, function* () {
15338
+ (blacklistID) => __async(null, null, function* () {
15526
15339
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15527
15340
  }),
15528
15341
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15543,7 +15356,7 @@ var usePinnedMessages = () => {
15543
15356
  const hmsActions = (0, import_react_sdk26.useHMSActions)();
15544
15357
  const vanillaStore = (0, import_react_sdk26.useHMSVanillaStore)();
15545
15358
  const setPinnedMessages = (0, import_react64.useCallback)(
15546
- (message, pinnedBy) => __async(void 0, null, function* () {
15359
+ (message, pinnedBy) => __async(null, null, function* () {
15547
15360
  const peerName = vanillaStore.getState((0, import_react_sdk26.selectPeerNameByID)(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15548
15361
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15549
15362
  if (message && peerName) {
@@ -15559,7 +15372,7 @@ var usePinnedMessages = () => {
15559
15372
  [hmsActions, vanillaStore]
15560
15373
  );
15561
15374
  const removePinnedMessage = (0, import_react64.useCallback)(
15562
- (indexToRemove) => __async(void 0, null, function* () {
15375
+ (indexToRemove) => __async(null, null, function* () {
15563
15376
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15564
15377
  if (pinnedMessages[indexToRemove]) {
15565
15378
  yield hmsActions.sessionStore.set(
@@ -15571,7 +15384,7 @@ var usePinnedMessages = () => {
15571
15384
  [hmsActions, vanillaStore]
15572
15385
  );
15573
15386
  const unpinBlacklistedMessages = (0, import_react64.useCallback)(
15574
- (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15387
+ (blacklistedMessageIDSet) => __async(null, null, function* () {
15575
15388
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15576
15389
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15577
15390
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15669,7 +15482,7 @@ var ChatActions = ({
15669
15482
  hide: {
15670
15483
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15671
15484
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.EyeCloseIcon, { style: iconStyle }),
15672
- onClick: () => __async(void 0, null, function* () {
15485
+ onClick: () => __async(null, null, function* () {
15673
15486
  blacklistMessage(message.id);
15674
15487
  updatePinnedMessages(message.id);
15675
15488
  }),
@@ -15678,7 +15491,7 @@ var ChatActions = ({
15678
15491
  block: {
15679
15492
  text: "Block from chat",
15680
15493
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.CrossCircleIcon, { style: iconStyle }),
15681
- onClick: () => __async(void 0, null, function* () {
15494
+ onClick: () => __async(null, null, function* () {
15682
15495
  if (message.senderUserId) {
15683
15496
  blacklistPeer(message.senderUserId);
15684
15497
  }
@@ -15691,7 +15504,7 @@ var ChatActions = ({
15691
15504
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.PeopleRemoveIcon, { style: iconStyle }),
15692
15505
  color: "$alert_error_default",
15693
15506
  show: !!canRemoveOthers && !sentByLocalPeer,
15694
- onClick: () => __async(void 0, null, function* () {
15507
+ onClick: () => __async(null, null, function* () {
15695
15508
  if (!message.sender) {
15696
15509
  return;
15697
15510
  }
@@ -15802,8 +15615,7 @@ var EmptyChat = () => {
15802
15615
  const isMobileHLSStream = useMobileHLSStream();
15803
15616
  const isLandscapeStream = useLandscapeHLSStream();
15804
15617
  const streaming = isMobileHLSStream || isLandscapeStream;
15805
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
15806
- return /* @__PURE__ */ import_react66.default.createElement(import_react66.default.Fragment, null);
15618
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming) return /* @__PURE__ */ import_react66.default.createElement(import_react66.default.Fragment, null);
15807
15619
  return /* @__PURE__ */ import_react66.default.createElement(
15808
15620
  Flex,
15809
15621
  {
@@ -16290,8 +16102,7 @@ var PIPChat = () => {
16290
16102
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16291
16103
  const canSendChatMessages = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled) || !!((_d = (_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.roles_whitelist) == null ? void 0 : _d.length) || !!((_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.private_chat_enabled);
16292
16104
  const getChatStatus = (0, import_react69.useCallback)(() => {
16293
- if (isLocalPeerBlacklisted)
16294
- return "You've been blocked from sending messages";
16105
+ if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16295
16106
  if (!isChatEnabled)
16296
16107
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16297
16108
  return message_placeholder;
@@ -16607,7 +16418,7 @@ var RoleChangeContent = ({
16607
16418
  "data-testid": "change_button",
16608
16419
  variant: "primary",
16609
16420
  css: { width: "100%" },
16610
- onClick: () => __async(void 0, null, function* () {
16421
+ onClick: () => __async(null, null, function* () {
16611
16422
  if (selectedRole) {
16612
16423
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16613
16424
  onOpenChange(false);
@@ -16889,7 +16700,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16889
16700
  "data-testid": "stop_recording_confirm_mobile",
16890
16701
  variant: "danger",
16891
16702
  icon: true,
16892
- onClick: () => __async(void 0, null, function* () {
16703
+ onClick: () => __async(null, null, function* () {
16893
16704
  try {
16894
16705
  yield hmsActions.stopRTMPAndRecording();
16895
16706
  } catch (error) {
@@ -16921,7 +16732,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16921
16732
  css: { ml: "auto" },
16922
16733
  type: "submit",
16923
16734
  disabled: recordingStarted || isStreamingOn,
16924
- onClick: () => __async(void 0, null, function* () {
16735
+ onClick: () => __async(null, null, function* () {
16925
16736
  yield startRecording(resolution);
16926
16737
  onOpenChange(false);
16927
16738
  })
@@ -17191,7 +17002,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17191
17002
  const [roleDialog, setRoleDialog] = (0, import_react76.useState)(false);
17192
17003
  const [errorMessage, setErrorMessage] = (0, import_react76.useState)("");
17193
17004
  const [isSubmiting, setIsSubmiting] = (0, import_react76.useState)(false);
17194
- const changeBulkRole = (0, import_react76.useCallback)(() => __async(void 0, null, function* () {
17005
+ const changeBulkRole = (0, import_react76.useCallback)(() => __async(null, null, function* () {
17195
17006
  if (selectedBulkRole.length > 0 && selectedRole) {
17196
17007
  try {
17197
17008
  setIsSubmiting(true);
@@ -17362,7 +17173,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17362
17173
  variant: isTranscriptionEnabled ? "danger" : "primary",
17363
17174
  css: { width: "100%" },
17364
17175
  "data-testid": "popup_change_btn",
17365
- onClick: () => __async(void 0, null, function* () {
17176
+ onClick: () => __async(null, null, function* () {
17366
17177
  try {
17367
17178
  if (isTranscriptionEnabled) {
17368
17179
  yield actions.stopTranscription({
@@ -17435,7 +17246,7 @@ var import_react79 = require("react");
17435
17246
  var import_screenfull = __toESM(require("screenfull"));
17436
17247
  var useFullscreen = () => {
17437
17248
  const [isFullScreenEnabled, setIsFullScreenEnabled] = (0, import_react79.useState)(import_screenfull.default.isFullscreen);
17438
- const toggle = (0, import_react79.useCallback)(() => __async(void 0, null, function* () {
17249
+ const toggle = (0, import_react79.useCallback)(() => __async(null, null, function* () {
17439
17250
  if (!import_screenfull.default.isEnabled) {
17440
17251
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17441
17252
  return;
@@ -17547,7 +17358,7 @@ var MuteAllModal = ({
17547
17358
  const [trackType, setTrackType] = (0, import_react82.useState)();
17548
17359
  const [selectedRole, setRole] = (0, import_react82.useState)();
17549
17360
  const [selectedSource, setSource] = (0, import_react82.useState)();
17550
- const muteAll = (0, import_react82.useCallback)(() => __async(void 0, null, function* () {
17361
+ const muteAll = (0, import_react82.useCallback)(() => __async(null, null, function* () {
17551
17362
  yield hmsActions.setRemoteTracksEnabled({
17552
17363
  enabled,
17553
17364
  type: trackType,
@@ -17585,7 +17396,7 @@ var useMyMetadata = () => {
17585
17396
  const vanillaStore = (0, import_react_sdk38.useHMSVanillaStore)();
17586
17397
  const metaData = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17587
17398
  const isHandRaised = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectHasPeerHandRaised)(localPeerId));
17588
- const update = (updatedFields) => __async(void 0, null, function* () {
17399
+ const update = (updatedFields) => __async(null, null, function* () {
17589
17400
  try {
17590
17401
  const currentMetadata = vanillaStore.getState((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17591
17402
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17595,7 +17406,7 @@ var useMyMetadata = () => {
17595
17406
  }
17596
17407
  return false;
17597
17408
  });
17598
- const toggleHandRaise = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17409
+ const toggleHandRaise = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17599
17410
  if (isHandRaised) {
17600
17411
  yield hmsActions.lowerLocalPeerHand();
17601
17412
  yield update({ handRaisedAt: void 0 });
@@ -17604,7 +17415,7 @@ var useMyMetadata = () => {
17604
17415
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17605
17416
  }
17606
17417
  }), [isHandRaised]);
17607
- const toggleBRB = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17418
+ const toggleBRB = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17608
17419
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17609
17420
  yield update({ isBRBOn: newValue });
17610
17421
  if (newValue) {
@@ -17688,8 +17499,7 @@ var usePIPChat = () => {
17688
17499
  "click",
17689
17500
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17690
17501
  );
17691
- } else if (messageId)
17692
- observer.observe(message);
17502
+ } else if (messageId) observer.observe(message);
17693
17503
  });
17694
17504
  }
17695
17505
  });
@@ -17697,7 +17507,7 @@ var usePIPChat = () => {
17697
17507
  mutationObserver.observe(chatContainer, {
17698
17508
  childList: true
17699
17509
  });
17700
- const sendMessage = () => __async(void 0, null, function* () {
17510
+ const sendMessage = () => __async(null, null, function* () {
17701
17511
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17702
17512
  if (selection === "Everyone") {
17703
17513
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17715,8 +17525,7 @@ var usePIPChat = () => {
17715
17525
  }
17716
17526
  });
17717
17527
  const sendOnEnter = (e) => {
17718
- if (e.key === "Enter")
17719
- sendMessage();
17528
+ if (e.key === "Enter") sendMessage();
17720
17529
  };
17721
17530
  sendBtn.addEventListener("click", sendMessage);
17722
17531
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17828,7 +17637,7 @@ var DesktopOptions = ({
17828
17637
  PIPChatOption,
17829
17638
  {
17830
17639
  showPIPChat: showPipChatOption,
17831
- openChat: () => __async(void 0, null, function* () {
17640
+ openChat: () => __async(null, null, function* () {
17832
17641
  isChatOpen && toggleChat();
17833
17642
  yield requestPipWindow(350, 500);
17834
17643
  })
@@ -18083,8 +17892,7 @@ var enumerize = function(arr) {
18083
17892
  var has = function(str1, str2) {
18084
17893
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
18085
17894
  for (var i in str1) {
18086
- if (lowerize(str2) == lowerize(str1[i]))
18087
- return true;
17895
+ if (lowerize(str2) == lowerize(str1[i])) return true;
18088
17896
  }
18089
17897
  return false;
18090
17898
  }
@@ -18099,8 +17907,7 @@ var isString = function(val) {
18099
17907
  return typeof val === TYPEOF.STRING;
18100
17908
  };
18101
17909
  var itemListToArray = function(header) {
18102
- if (!header)
18103
- return void 0;
17910
+ if (!header) return void 0;
18104
17911
  var arr = [];
18105
17912
  var tokens = strip(/\\?\"/g, header).split(",");
18106
17913
  for (var i = 0; i < tokens.length; i++) {
@@ -18121,8 +17928,7 @@ var majorize = function(version) {
18121
17928
  };
18122
17929
  var setProps = function(arr) {
18123
17930
  for (var i in arr) {
18124
- if (!arr.hasOwnProperty(i))
18125
- continue;
17931
+ if (!arr.hasOwnProperty(i)) continue;
18126
17932
  var propName = arr[i];
18127
17933
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
18128
17934
  this[propName[0]] = propName[1];
@@ -18143,8 +17949,7 @@ var trim = function(str, len) {
18143
17949
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
18144
17950
  };
18145
17951
  var rgxMapper = function(ua2, arrays) {
18146
- if (!ua2 || !arrays)
18147
- return;
17952
+ if (!ua2 || !arrays) return;
18148
17953
  var i = 0, j, k2, p, q2, matches, match18;
18149
17954
  while (i < arrays.length && !matches) {
18150
17955
  var regex = arrays[i], props = arrays[i + 1];
@@ -19473,7 +19278,7 @@ var defaultRegexes = {
19473
19278
  [NAME, VERSION]
19474
19279
  ]
19475
19280
  };
19476
- var defaultProps = function() {
19281
+ var defaultProps = (function() {
19477
19282
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19478
19283
  setProps.call(props.init, [
19479
19284
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19499,7 +19304,7 @@ var defaultProps = function() {
19499
19304
  [OS, [NAME, VERSION]]
19500
19305
  ]);
19501
19306
  return props;
19502
- }();
19307
+ })();
19503
19308
  var createIData = function(item, itemType) {
19504
19309
  var init_props = defaultProps.init[itemType], is_ignoreProps = defaultProps.isIgnore[itemType] || 0, is_ignoreRgx = defaultProps.isIgnoreRgx[itemType] || 0, toString_props = defaultProps.toString[itemType] || 0;
19505
19310
  function IData() {
@@ -19525,8 +19330,7 @@ var createIData = function(item, itemType) {
19525
19330
  for (var i in this) {
19526
19331
  if (this.hasOwnProperty(i) && !has(is_ignoreProps, i) && lowerize(is_ignoreRgx ? strip(is_ignoreRgx, this[i]) : this[i]) == lowerize(is_ignoreRgx ? strip(is_ignoreRgx, strToCheck) : strToCheck)) {
19527
19332
  is2 = true;
19528
- if (strToCheck != TYPEOF.UNDEFINED)
19529
- break;
19333
+ if (strToCheck != TYPEOF.UNDEFINED) break;
19530
19334
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19531
19335
  is2 = !is2;
19532
19336
  break;
@@ -19582,15 +19386,13 @@ function UACHData(uach, isHttpUACH) {
19582
19386
  ]);
19583
19387
  } else {
19584
19388
  for (var prop in uach) {
19585
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19586
- this[prop] = uach[prop];
19389
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19587
19390
  }
19588
19391
  }
19589
19392
  }
19590
19393
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19591
19394
  this.get = function(prop) {
19592
- if (!prop)
19593
- return this.data;
19395
+ if (!prop) return this.data;
19594
19396
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19595
19397
  };
19596
19398
  this.set = function(prop, val) {
@@ -19677,8 +19479,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19677
19479
  case CPU:
19678
19480
  var archName = uaCH2[ARCHITECTURE];
19679
19481
  if (archName) {
19680
- if (archName && uaCH2[BITNESS] == "64")
19681
- archName += "64";
19482
+ if (archName && uaCH2[BITNESS] == "64") archName += "64";
19682
19483
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19683
19484
  }
19684
19485
  break;
@@ -19716,8 +19517,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19716
19517
  var osName = uaCH2[PLATFORM];
19717
19518
  if (osName) {
19718
19519
  var osVersion = uaCH2[PLATFORMVER];
19719
- if (osName == WINDOWS)
19720
- osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19520
+ if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19721
19521
  this.set(NAME, osName).set(VERSION, osVersion);
19722
19522
  }
19723
19523
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19809,8 +19609,7 @@ function UAParser(ua2, extensions, headers) {
19809
19609
  return userAgent;
19810
19610
  }],
19811
19611
  ["setUA", function(ua3) {
19812
- if (isString(ua3))
19813
- userAgent = trim(ua3, UA_MAX_LENGTH);
19612
+ if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19814
19613
  return this;
19815
19614
  }]
19816
19615
  ]).setUA(userAgent);
@@ -21941,21 +21740,15 @@ var ks = Object.prototype.hasOwnProperty;
21941
21740
  var Es = Object.prototype.propertyIsEnumerable;
21942
21741
  var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21943
21742
  var m = (a2, e) => {
21944
- for (var t in e || (e = {}))
21945
- ks.call(e, t) && ys(a2, t, e[t]);
21946
- if (di)
21947
- for (var t of di(e))
21948
- Es.call(e, t) && ys(a2, t, e[t]);
21743
+ for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21744
+ if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
21949
21745
  return a2;
21950
21746
  };
21951
21747
  var M = (a2, e) => Po(a2, bo(e));
21952
21748
  var Ar = (a2, e) => {
21953
21749
  var t = {};
21954
- for (var i in a2)
21955
- ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21956
- if (a2 != null && di)
21957
- for (var i of di(a2))
21958
- e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21750
+ for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21751
+ if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21959
21752
  return t;
21960
21753
  };
21961
21754
  var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
@@ -21976,7 +21769,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21976
21769
  n((t = t.apply(a2, e)).next());
21977
21770
  });
21978
21771
  var _r = Ro((gd, xo) => {
21979
- xo.exports = { version: "0.13.3-alpha.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21772
+ xo.exports = { version: "0.13.3-alpha.6", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^2.0.6", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.39", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21980
21773
  });
21981
21774
  var Rr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Rr || {});
21982
21775
  var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
@@ -21985,11 +21778,10 @@ var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PE
21985
21778
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
21986
21779
  function We(a2, e) {
21987
21780
  let t, i;
21988
- if (e)
21989
- for (let r of e.auxiliaryTracks) {
21990
- let s = a2[r];
21991
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21992
- }
21781
+ if (e) for (let r of e.auxiliaryTracks) {
21782
+ let s = a2[r];
21783
+ Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21784
+ }
21993
21785
  return { video: t, audio: i };
21994
21786
  }
21995
21787
  function vt(a2) {
@@ -22046,43 +21838,42 @@ var l = class {
22046
21838
  performance.clearMarks(), performance.clearMeasures();
22047
21839
  }
22048
21840
  static log(e, t, ...i) {
22049
- if (!(this.level.valueOf() > e.valueOf()))
22050
- switch (e) {
22051
- case 0: {
22052
- console.log(t, ...i);
22053
- break;
22054
- }
22055
- case 1: {
22056
- console.debug(t, ...i);
22057
- break;
22058
- }
22059
- case 2: {
22060
- console.info(t, ...i);
22061
- break;
22062
- }
22063
- case 3: {
22064
- console.warn(t, ...i);
22065
- break;
22066
- }
22067
- case 6: {
22068
- console.error(t, ...i);
22069
- break;
22070
- }
22071
- case 4: {
22072
- performance.mark(i[0]);
22073
- break;
22074
- }
22075
- case 5: {
22076
- let r = i[0];
22077
- try {
22078
- let s = performance.measure(r, r);
22079
- this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22080
- } catch (s) {
22081
- this.log(1, t, r, s);
22082
- }
22083
- break;
21841
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21842
+ case 0: {
21843
+ console.log(t, ...i);
21844
+ break;
21845
+ }
21846
+ case 1: {
21847
+ console.debug(t, ...i);
21848
+ break;
21849
+ }
21850
+ case 2: {
21851
+ console.info(t, ...i);
21852
+ break;
21853
+ }
21854
+ case 3: {
21855
+ console.warn(t, ...i);
21856
+ break;
21857
+ }
21858
+ case 6: {
21859
+ console.error(t, ...i);
21860
+ break;
21861
+ }
21862
+ case 4: {
21863
+ performance.mark(i[0]);
21864
+ break;
21865
+ }
21866
+ case 5: {
21867
+ let r = i[0];
21868
+ try {
21869
+ let s = performance.measure(r, r);
21870
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
21871
+ } catch (s) {
21872
+ this.log(1, t, r, s);
22084
21873
  }
21874
+ break;
22085
21875
  }
21876
+ }
22086
21877
  }
22087
21878
  };
22088
21879
  l.level = Lo ? 7 : 0;
@@ -22090,17 +21881,16 @@ var Cr = new UAParser();
22090
21881
  var Et = null;
22091
21882
  var Lr = null;
22092
21883
  var B = typeof window != "undefined";
22093
- if (B)
22094
- try {
22095
- let a2 = Cr.getResult(), e = a2.withClientHints();
22096
- e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22097
- Et = t;
22098
- }).catch(() => {
22099
- Et = a2;
22100
- })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22101
- } catch (a2) {
22102
- Et = Cr.getResult();
22103
- }
21884
+ if (B) try {
21885
+ let a2 = Cr.getResult(), e = a2.withClientHints();
21886
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
21887
+ Et = t;
21888
+ }).catch(() => {
21889
+ Et = a2;
21890
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
21891
+ } catch (a2) {
21892
+ Et = Cr.getResult();
21893
+ }
22104
21894
  var we = () => Et || Cr.getResult();
22105
21895
  var Se = { getBrowser: () => we().browser, getOS: () => we().os, getDevice: () => we().device, getCPU: () => we().cpu, getEngine: () => we().engine, getUA: () => we().ua, getResult: we, withClientHints: () => Lr || Promise.resolve(we()) };
22106
21896
  var Hs;
@@ -22309,8 +22099,7 @@ var wr = class {
22309
22099
  this.valuesMap.clear();
22310
22100
  }
22311
22101
  key(e) {
22312
- if (arguments.length === 0)
22313
- throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22102
+ if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22314
22103
  return Array.from(this.valuesMap.keys())[e];
22315
22104
  }
22316
22105
  get length() {
@@ -22360,11 +22149,10 @@ function $(a2) {
22360
22149
  }
22361
22150
  var qs = _r().version;
22362
22151
  function At(a2 = "prod", e) {
22363
- let t = "web", i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22364
- if ($e)
22365
- return js({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22152
+ let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22153
+ if ($e) return js({ os: "web_nodejs", os_version: process.version, sdk: "web", sdk_version: qs, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22366
22154
  let r = Se.getOS(), s = Se.getDevice(), o = Se.getBrowser(), n = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${o.name}_${o.version}`), p = u;
22367
- return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: t, sdk_version: qs, device_model: p, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22155
+ return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: n, os_version: d, sdk: "web", sdk_version: qs, device_model: p, env: i, domain: et, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
22368
22156
  }
22369
22157
  function Nr(a2) {
22370
22158
  return a2.replace(/ /g, "_");
@@ -22496,11 +22284,9 @@ var Or = class {
22496
22284
  }
22497
22285
  setDevices(e) {
22498
22286
  var r;
22499
- if (this.devices = e, !this.remember)
22500
- return;
22287
+ if (this.devices = e, !this.remember) return;
22501
22288
  let t = this.storage.get();
22502
- if (!t)
22503
- return;
22289
+ if (!t) return;
22504
22290
  let i = ["audioInput", "videoInput", "audioOutput"];
22505
22291
  for (let s of i) {
22506
22292
  let o = t[s];
@@ -22511,8 +22297,7 @@ var Or = class {
22511
22297
  this.remember = e;
22512
22298
  }
22513
22299
  updateSelection(e, { deviceId: t, groupId: i }) {
22514
- if (!this.devices || !this.remember)
22515
- return;
22300
+ if (!this.devices || !this.remember) return;
22516
22301
  let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22517
22302
  if (!r) {
22518
22303
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
@@ -22526,8 +22311,7 @@ var Or = class {
22526
22311
  t[e] && (delete t[e], this.storage.set(t));
22527
22312
  }
22528
22313
  getSelection() {
22529
- if (this.remember)
22530
- return this.storage.get();
22314
+ if (this.remember) return this.storage.get();
22531
22315
  }
22532
22316
  cleanup() {
22533
22317
  this.remember = false, this.devices = void 0;
@@ -22575,8 +22359,7 @@ var jr = class {
22575
22359
  };
22576
22360
  this.handleIntersection = (e) => {
22577
22361
  var t;
22578
- for (let i of e)
22579
- (t = this.listeners.get(i.target)) == null || t(i);
22362
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22580
22363
  };
22581
22364
  this.createObserver();
22582
22365
  }
@@ -22603,8 +22386,7 @@ var Qr = class {
22603
22386
  };
22604
22387
  this.handleResize = (e) => {
22605
22388
  var t;
22606
- for (let i of e)
22607
- (t = this.listeners.get(i.target)) == null || t(i);
22389
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22608
22390
  };
22609
22391
  this.createObserver();
22610
22392
  }
@@ -22657,8 +22439,7 @@ var zm = createSelector(Z, un, (a2, e) => {
22657
22439
  });
22658
22440
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22659
22441
  let i = t[0][1].peerID;
22660
- if (i in a2)
22661
- return a2[i];
22442
+ if (i in a2) return a2[i];
22662
22443
  }
22663
22444
  return null;
22664
22445
  });
@@ -22670,8 +22451,7 @@ var Sn = createSelector(Z, N, (a2, e) => {
22670
22451
  let t;
22671
22452
  for (let i in a2) {
22672
22453
  let r = a2[i], { video: s, audio: o } = We(e, r);
22673
- if (s)
22674
- return r;
22454
+ if (s) return r;
22675
22455
  o && !t && (t = r);
22676
22456
  }
22677
22457
  return t;
@@ -22680,8 +22460,7 @@ var Xm = createSelector(Sn, (a2) => !!a2);
22680
22460
  var Zm = createSelector(Z, N, (a2, e) => {
22681
22461
  for (let t in a2) {
22682
22462
  let i = a2[t], { audio: r, video: s } = We(e, i);
22683
- if (!s && r)
22684
- return i;
22463
+ if (!s && r) return i;
22685
22464
  }
22686
22465
  });
22687
22466
  var eS = createSelector(Z, N, (a2, e) => {
@@ -22695,15 +22474,13 @@ var eS = createSelector(Z, N, (a2, e) => {
22695
22474
  var tS = createSelector(Z, N, (a2, e) => {
22696
22475
  for (let t in e) {
22697
22476
  let i = e[t];
22698
- if (yt(i) && Mt(i) && i.peerId)
22699
- return a2[i.peerId];
22477
+ if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22700
22478
  }
22701
22479
  });
22702
22480
  var iS = createSelector(Z, N, (a2, e) => {
22703
22481
  for (let t in e) {
22704
22482
  let i = e[t];
22705
- if (pi(i) && i.peerId)
22706
- return a2[i.peerId];
22483
+ if (pi(i) && i.peerId) return a2[i.peerId];
22707
22484
  }
22708
22485
  });
22709
22486
  var rS = createSelector(hn, (a2) => a2.filter(Is));
@@ -22759,8 +22536,7 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22759
22536
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22760
22537
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22761
22538
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22762
- if (t.id)
22763
- return e[t.id];
22539
+ if (t.id) return e[t.id];
22764
22540
  });
22765
22541
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22766
22542
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22794,43 +22570,42 @@ var b = class {
22794
22570
  performance.clearMarks(), performance.clearMeasures();
22795
22571
  }
22796
22572
  static log(e, ...t) {
22797
- if (!(this.level.valueOf() > e.valueOf()))
22798
- switch (e) {
22799
- case 0: {
22800
- console.log(xt, ...t);
22801
- break;
22802
- }
22803
- case 1: {
22804
- console.debug(xt, ...t);
22805
- break;
22806
- }
22807
- case 2: {
22808
- console.info(xt, ...t);
22809
- break;
22810
- }
22811
- case 3: {
22812
- console.warn(xt, ...t);
22813
- break;
22814
- }
22815
- case 6: {
22816
- console.error(xt, ...t);
22817
- break;
22818
- }
22819
- case 4: {
22820
- performance.mark(t[1]);
22821
- break;
22822
- }
22823
- case 5: {
22824
- let i = t[0], r = t[1];
22825
- try {
22826
- let s = performance.measure(r, r);
22827
- this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22828
- } catch (s) {
22829
- this.log(1, i, r, s);
22830
- }
22831
- break;
22573
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22574
+ case 0: {
22575
+ console.log(xt, ...t);
22576
+ break;
22577
+ }
22578
+ case 1: {
22579
+ console.debug(xt, ...t);
22580
+ break;
22581
+ }
22582
+ case 2: {
22583
+ console.info(xt, ...t);
22584
+ break;
22585
+ }
22586
+ case 3: {
22587
+ console.warn(xt, ...t);
22588
+ break;
22589
+ }
22590
+ case 6: {
22591
+ console.error(xt, ...t);
22592
+ break;
22593
+ }
22594
+ case 4: {
22595
+ performance.mark(t[1]);
22596
+ break;
22597
+ }
22598
+ case 5: {
22599
+ let i = t[0], r = t[1];
22600
+ try {
22601
+ let s = performance.measure(r, r);
22602
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22603
+ } catch (s) {
22604
+ this.log(1, i, r, s);
22832
22605
  }
22606
+ break;
22833
22607
  }
22608
+ }
22834
22609
  }
22835
22610
  };
22836
22611
  b.level = 0;
@@ -22842,39 +22617,33 @@ var Mn = (a2, e) => e;
22842
22617
  var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22843
22618
  var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22844
22619
  var yn = createSelector([N, Ut], (a2, e) => {
22845
- if (!e)
22846
- return null;
22620
+ if (!e) return null;
22847
22621
  let t = a2[e];
22848
22622
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22849
22623
  });
22850
22624
  var kn = createSelector([N, Ut], (a2, e) => {
22851
- if (!e)
22852
- return null;
22625
+ if (!e) return null;
22853
22626
  let t = a2[e];
22854
22627
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22855
22628
  });
22856
22629
  var En = createSelector([N, Ut], (a2, e) => {
22857
- if (!e)
22858
- return null;
22630
+ if (!e) return null;
22859
22631
  let t = a2[e];
22860
22632
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22861
22633
  });
22862
22634
  var Pn = createSelector([N, Ut], (a2, e) => {
22863
- if (!e)
22864
- return null;
22635
+ if (!e) return null;
22865
22636
  let t = a2[e];
22866
22637
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22867
22638
  });
22868
22639
  var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22869
22640
  var re = H(ee);
22870
22641
  var OS2 = H(createSelector([is, vn], (a2, e) => {
22871
- if (a2)
22872
- return e ? a2[e] : a2;
22642
+ if (a2) return e ? a2[e] : a2;
22873
22643
  }));
22874
22644
  function xS(a2) {
22875
22645
  return (e) => {
22876
- if (e.sessionStore)
22877
- return a2 ? e.sessionStore[a2] : e.sessionStore;
22646
+ if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
22878
22647
  };
22879
22648
  }
22880
22649
  var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
@@ -22886,13 +22655,11 @@ var GS = H(En);
22886
22655
  var WS = H(Pn);
22887
22656
  var In = H((a2, e) => {
22888
22657
  let t = ee(a2, e);
22889
- if (t && t.videoTrack && t.videoTrack !== "")
22890
- return a2.tracks[t.videoTrack];
22658
+ if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
22891
22659
  });
22892
22660
  var An = H((a2, e) => {
22893
22661
  let t = ee(a2, e);
22894
- if (t && t.audioTrack && t.audioTrack !== "")
22895
- return a2.tracks[t.audioTrack];
22662
+ if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
22896
22663
  });
22897
22664
  var KS = H((a2, e) => {
22898
22665
  let t = ee(a2, e);
@@ -22906,8 +22673,7 @@ var Rn = (a2, e) => {
22906
22673
  };
22907
22674
  var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22908
22675
  var QS = H((a2, e) => {
22909
- if (e)
22910
- return a2.connectionQualities[e];
22676
+ if (e) return a2.connectionQualities[e];
22911
22677
  });
22912
22678
  var JS = H((a2, e) => {
22913
22679
  let t = ee(a2, e);
@@ -22948,8 +22714,7 @@ var tg = H((a2, e) => {
22948
22714
  return Xe(a2, t == null ? void 0 : t.videoTrack);
22949
22715
  });
22950
22716
  var ja = H((a2, e) => {
22951
- if (e && a2.tracks[e])
22952
- return a2.tracks[e].volume === 0;
22717
+ if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
22953
22718
  });
22954
22719
  var ig = H((a2, e) => {
22955
22720
  let t = ee(a2, e);
@@ -22988,18 +22753,16 @@ var og = H((a2, e) => {
22988
22753
  }
22989
22754
  });
22990
22755
  var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
22991
- if (t)
22992
- return a2.filter((i) => {
22993
- var r;
22994
- return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22995
- });
22756
+ if (t) return a2.filter((i) => {
22757
+ var r;
22758
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22759
+ });
22996
22760
  });
22997
22761
  var za = createSelector([Ot, Ga], (a2, e) => {
22998
- if (e)
22999
- return a2.filter((t) => {
23000
- var i, r;
23001
- return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
23002
- });
22762
+ if (e) return a2.filter((t) => {
22763
+ var i, r;
22764
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22765
+ });
23003
22766
  });
23004
22767
  var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
23005
22768
  var t;
@@ -23055,8 +22818,7 @@ var ps = class {
23055
22818
  this.removeFromStorage(e);
23056
22819
  return;
23057
22820
  }
23058
- if (r.status !== 200)
23059
- throw Error(r.statusText);
22821
+ if (r.status !== 200) throw Error(r.statusText);
23060
22822
  this.removeFromStorage(e);
23061
22823
  }).catch((r) => {
23062
22824
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -23078,10 +22840,8 @@ var ps = class {
23078
22840
  var He = new ps();
23079
22841
  var Qt = class {
23080
22842
  static handleError(e) {
23081
- if (e.status === 404)
23082
- throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
23083
- if (e.status >= 400)
23084
- throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
22843
+ if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22844
+ if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23085
22845
  }
23086
22846
  static sendFeedback(s) {
23087
22847
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
@@ -23244,8 +23004,7 @@ var RecordingStatus = () => {
23244
23004
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23245
23005
  (value) => !!value
23246
23006
  )) {
23247
- if (!(isMobile && isRecordingOn))
23248
- return null;
23007
+ if (!(isMobile && isRecordingOn)) return null;
23249
23008
  }
23250
23009
  return /* @__PURE__ */ import_react88.default.createElement(
23251
23010
  Tooltip,
@@ -23313,7 +23072,7 @@ var StartRecording2 = () => {
23313
23072
  variant: "danger",
23314
23073
  icon: true,
23315
23074
  css: { ml: "auto" },
23316
- onClick: () => __async(void 0, null, function* () {
23075
+ onClick: () => __async(null, null, function* () {
23317
23076
  try {
23318
23077
  yield hmsActions.stopRTMPAndRecording();
23319
23078
  } catch (error) {
@@ -23336,7 +23095,7 @@ var StartRecording2 = () => {
23336
23095
  variant: "standard",
23337
23096
  icon: true,
23338
23097
  disabled: recordingStarted || isStreamingOn,
23339
- onClick: () => __async(void 0, null, function* () {
23098
+ onClick: () => __async(null, null, function* () {
23340
23099
  yield startRecording();
23341
23100
  })
23342
23101
  },
@@ -23398,7 +23157,7 @@ var ChangeNameContent = ({
23398
23157
  return /* @__PURE__ */ import_react89.default.createElement(
23399
23158
  "form",
23400
23159
  {
23401
- onSubmit: (e) => __async(void 0, null, function* () {
23160
+ onSubmit: (e) => __async(null, null, function* () {
23402
23161
  e.preventDefault();
23403
23162
  yield changeName();
23404
23163
  })
@@ -23440,7 +23199,7 @@ var ChangeNameContent = ({
23440
23199
  autoComplete: "name",
23441
23200
  required: true,
23442
23201
  "data-testid": "change_name_field",
23443
- onKeyDown: (e) => __async(void 0, null, function* () {
23202
+ onKeyDown: (e) => __async(null, null, function* () {
23444
23203
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23445
23204
  e.preventDefault();
23446
23205
  if (isMobile) {
@@ -23500,7 +23259,7 @@ var ChangeNameModal = ({
23500
23259
  const localPeerName = (0, import_react_sdk42.useHMSStore)(import_react_sdk42.selectLocalPeerName);
23501
23260
  const [currentName, setCurrentName] = (0, import_react90.useState)(localPeerName);
23502
23261
  const isMobile = (0, import_react_use16.useMedia)(config.media.md);
23503
- const changeName = () => __async(void 0, null, function* () {
23262
+ const changeName = () => __async(null, null, function* () {
23504
23263
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23505
23264
  if (!name || name === localPeerName) {
23506
23265
  return;
@@ -23768,7 +23527,7 @@ var MwebOptions = ({
23768
23527
  ActionTile.Root,
23769
23528
  {
23770
23529
  disabled: isHLSRunning,
23771
- onClick: () => __async(void 0, null, function* () {
23530
+ onClick: () => __async(null, null, function* () {
23772
23531
  if (isRecordingLoading) {
23773
23532
  return;
23774
23533
  }
@@ -23828,7 +23587,7 @@ var MwebOptions = ({
23828
23587
  StopRecordingInSheet,
23829
23588
  {
23830
23589
  onClose: () => setShowRecordingOn(false),
23831
- onStopRecording: () => __async(void 0, null, function* () {
23590
+ onStopRecording: () => __async(null, null, function* () {
23832
23591
  try {
23833
23592
  yield hmsActions.stopRTMPAndRecording();
23834
23593
  setShowRecordingOn(false);
@@ -23870,7 +23629,7 @@ var RaiseHand = ({ css: css2 }) => {
23870
23629
  "data-testid": "hand_raise_btn",
23871
23630
  css: css2,
23872
23631
  active: !isHandRaised,
23873
- onClick: () => __async(void 0, null, function* () {
23632
+ onClick: () => __async(null, null, function* () {
23874
23633
  return yield toggleHandRaise();
23875
23634
  })
23876
23635
  },
@@ -24363,7 +24122,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24363
24122
  active: !isVideoScreenshare,
24364
24123
  css: css2,
24365
24124
  disabled: isAudioOnly,
24366
- onClick: () => __async(void 0, null, function* () {
24125
+ onClick: () => __async(null, null, function* () {
24367
24126
  yield toggleScreenShare();
24368
24127
  yield requestPermission();
24369
24128
  })
@@ -24584,7 +24343,7 @@ var RemoveParticipant = ({ peerId }) => {
24584
24343
  Dropdown.Item,
24585
24344
  {
24586
24345
  css: { color: "$alert_error_default", bg: "$surface_default" },
24587
- onClick: () => __async(void 0, null, function* () {
24346
+ onClick: () => __async(null, null, function* () {
24588
24347
  try {
24589
24348
  yield actions.removePeer(peerId, "");
24590
24349
  } catch (error) {
@@ -24680,7 +24439,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24680
24439
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24681
24440
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24682
24441
  });
24683
- const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24442
+ const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24684
24443
  try {
24685
24444
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24686
24445
  } catch (e) {
@@ -24700,9 +24459,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24700
24459
  }
24701
24460
  });
24702
24461
  };
24703
- const removePeersFromRoom = () => __async(void 0, null, function* () {
24462
+ const removePeersFromRoom = () => __async(null, null, function* () {
24704
24463
  try {
24705
- peerList.forEach((peer) => __async(void 0, null, function* () {
24464
+ peerList.forEach((peer) => __async(null, null, function* () {
24706
24465
  yield hmsActions.removePeer(peer.id, "");
24707
24466
  }));
24708
24467
  } catch (e) {
@@ -24762,7 +24521,7 @@ var useGroupOnStageActions = ({ peers }) => {
24762
24521
  () => true
24763
24522
  ).otherwise(() => false)
24764
24523
  );
24765
- const lowerAllHands = () => __async(void 0, null, function* () {
24524
+ const lowerAllHands = () => __async(null, null, function* () {
24766
24525
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24767
24526
  });
24768
24527
  const bringAllToStage = () => {
@@ -24951,10 +24710,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
24951
24710
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
24952
24711
  const prevRole = (_b7 = (0, import_react_sdk56.useHMSStore)((0, import_react_sdk56.selectPeerMetadata)(peerId))) == null ? void 0 : _b7.prevRole;
24953
24712
  const [open, setOpen] = (0, import_react110.useState)(false);
24954
- const lowerPeerHand = () => __async(void 0, null, function* () {
24713
+ const lowerPeerHand = () => __async(null, null, function* () {
24955
24714
  yield hmsActions.lowerRemotePeerHand(peerId);
24956
24715
  });
24957
- const handleStageAction = () => __async(void 0, null, function* () {
24716
+ const handleStageAction = () => __async(null, null, function* () {
24958
24717
  if (isInStage) {
24959
24718
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
24960
24719
  } else if (on_stage_role) {
@@ -25368,7 +25127,7 @@ var WhiteboardToggle = () => {
25368
25127
  /* @__PURE__ */ import_react113.default.createElement(
25369
25128
  IconButton_default,
25370
25129
  {
25371
- onClick: () => __async(void 0, null, function* () {
25130
+ onClick: () => __async(null, null, function* () {
25372
25131
  if (disabled || isLoading) {
25373
25132
  return;
25374
25133
  }
@@ -25465,7 +25224,7 @@ function HLSFailureModal() {
25465
25224
  const hmsActions = (0, import_react_sdk59.useHMSActions)();
25466
25225
  const { isRTMPRunning } = (0, import_react_sdk59.useRecordingStreaming)();
25467
25226
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25468
- const startHLS = (0, import_react115.useCallback)(() => __async(this, null, function* () {
25227
+ const startHLS = (0, import_react115.useCallback)(() => __async(null, null, function* () {
25469
25228
  try {
25470
25229
  if (isHLSStarted || isRTMPRunning) {
25471
25230
  return;
@@ -25608,8 +25367,7 @@ var statusMap = {
25608
25367
  stopped: "ENDED" /* ENDED */
25609
25368
  };
25610
25369
  var StatusIndicator = ({ status }) => {
25611
- if (!status)
25612
- return null;
25370
+ if (!status) return null;
25613
25371
  return /* @__PURE__ */ import_react117.default.createElement(Flex, { align: "center" }, /* @__PURE__ */ import_react117.default.createElement(
25614
25372
  Flex,
25615
25373
  {
@@ -25742,7 +25500,7 @@ var AddMenu = () => {
25742
25500
  variant: "primary",
25743
25501
  disabled: validateTitle,
25744
25502
  css: { mt: "$10" },
25745
- onClick: () => __async(void 0, null, function* () {
25503
+ onClick: () => __async(null, null, function* () {
25746
25504
  const id = Date.now().toString();
25747
25505
  yield actions.interactivityCenter.createPoll({
25748
25506
  id,
@@ -25773,7 +25531,7 @@ var PrevMenu = () => {
25773
25531
  );
25774
25532
  const permissions = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectPermissions);
25775
25533
  (0, import_react118.useEffect)(() => {
25776
- const updatePolls = () => __async(void 0, null, function* () {
25534
+ const updatePolls = () => __async(null, null, function* () {
25777
25535
  yield hmsActions.interactivityCenter.getPolls();
25778
25536
  });
25779
25537
  updatePolls();
@@ -26355,12 +26113,12 @@ function CreateQuestions() {
26355
26113
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: (0, import_uuid11.v4)() }]
26356
26114
  );
26357
26115
  const isValidPoll = (0, import_react128.useMemo)(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26358
- const launchPoll = () => __async(this, null, function* () {
26116
+ const launchPoll = () => __async(null, null, function* () {
26359
26117
  yield actions.interactivityCenter.startPoll(id);
26360
26118
  yield sendTimedMetadata(id);
26361
26119
  setPollView(POLL_VIEWS.VOTE);
26362
26120
  });
26363
- const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26121
+ const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26364
26122
  if (poll_id && isHLSRunning) {
26365
26123
  try {
26366
26124
  yield actions.sendHLSTimedMetadata([
@@ -26390,14 +26148,14 @@ function CreateQuestions() {
26390
26148
  question,
26391
26149
  index,
26392
26150
  length: questions.length,
26393
- onSave: (questionParams) => __async(this, null, function* () {
26151
+ onSave: (questionParams) => __async(null, null, function* () {
26394
26152
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26395
26153
  setQuestions(updatedQuestions);
26396
26154
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26397
26155
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26398
26156
  }),
26399
26157
  isQuiz,
26400
- removeQuestion: (questionID) => __async(this, null, function* () {
26158
+ removeQuestion: (questionID) => __async(null, null, function* () {
26401
26159
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26402
26160
  setQuestions(updatedQuestions);
26403
26161
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26426,7 +26184,7 @@ function CreateQuestions() {
26426
26184
  },
26427
26185
  /* @__PURE__ */ import_react128.default.createElement(import_react_icons59.AddCircleIcon, null),
26428
26186
  /* @__PURE__ */ import_react128.default.createElement(Text, { variant: "body1", css: { ml: "$md", c: "$inherit" } }, "Add another question")
26429
- ), /* @__PURE__ */ import_react128.default.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ import_react128.default.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(this, null, function* () {
26187
+ ), /* @__PURE__ */ import_react128.default.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ import_react128.default.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(null, null, function* () {
26430
26188
  return launchPoll();
26431
26189
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26432
26190
  }
@@ -26458,8 +26216,7 @@ var import_react_icons60 = require("@100mslive/react-icons");
26458
26216
  // src/Prebuilt/components/Polls/common/utils.ts
26459
26217
  init_define_process_env();
26460
26218
  var getFormattedTime = (milliseconds, precise = true) => {
26461
- if (!milliseconds)
26462
- return "-";
26219
+ if (!milliseconds) return "-";
26463
26220
  const totalSeconds = milliseconds / 1e3;
26464
26221
  const hours = Math.floor(totalSeconds / 3600);
26465
26222
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26547,7 +26304,7 @@ var useQuizSummary = (quizID) => {
26547
26304
  };
26548
26305
  const [calculations, setCalculations] = (0, import_react131.useState)({ maxPossibleScore: 0, totalResponses: 0 });
26549
26306
  (0, import_react131.useEffect)(() => {
26550
- const fetchLeaderboardData = () => __async(void 0, null, function* () {
26307
+ const fetchLeaderboardData = () => __async(null, null, function* () {
26551
26308
  var _a8;
26552
26309
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26553
26310
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26743,7 +26500,7 @@ var QuestionCard2 = ({
26743
26500
  return multipleOptionAnswer.size > 0;
26744
26501
  }
26745
26502
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26746
- const handleVote = (0, import_react134.useCallback)(() => __async(void 0, null, function* () {
26503
+ const handleVote = (0, import_react134.useCallback)(() => __async(null, null, function* () {
26747
26504
  if (!isValidVote) {
26748
26505
  return;
26749
26506
  }
@@ -26974,7 +26731,7 @@ var Voting = ({ id, toggleVoting }) => {
26974
26731
  setSavedResponses({});
26975
26732
  }, [id, setSavedResponses]);
26976
26733
  (0, import_react137.useEffect)(() => {
26977
- const getResponses = () => __async(void 0, null, function* () {
26734
+ const getResponses = () => __async(null, null, function* () {
26978
26735
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26979
26736
  yield actions.interactivityCenter.getPollResponses(poll, true);
26980
26737
  fetchedInitialResponses.current = true;
@@ -27629,7 +27386,7 @@ var ChatFooter = ({ onSend, children }) => {
27629
27386
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27630
27387
  }
27631
27388
  }, []);
27632
- const sendMessage = (0, import_react147.useCallback)(() => __async(void 0, null, function* () {
27389
+ const sendMessage = (0, import_react147.useCallback)(() => __async(null, null, function* () {
27633
27390
  var _a9;
27634
27391
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27635
27392
  if (!message || !message.trim().length) {
@@ -27736,7 +27493,7 @@ var ChatFooter = ({ onSend, children }) => {
27736
27493
  ref: inputRef,
27737
27494
  required: true,
27738
27495
  autoFocus: !(isMobile || isLandscapeHLSStream),
27739
- onKeyPress: (event) => __async(void 0, null, function* () {
27496
+ onKeyPress: (event) => __async(null, null, function* () {
27740
27497
  if (event.key === "Enter") {
27741
27498
  if (!event.shiftKey && !messageLengthExceeded) {
27742
27499
  event.preventDefault();
@@ -27807,7 +27564,7 @@ var ChatPaused = () => {
27807
27564
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = (0, import_react_sdk72.useHMSStore)((0, import_react_sdk72.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
27808
27565
  const localPeer = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectLocalPeer);
27809
27566
  const unPauseChat = (0, import_react149.useCallback)(
27810
- () => __async(void 0, null, function* () {
27567
+ () => __async(null, null, function* () {
27811
27568
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
27812
27569
  enabled: true,
27813
27570
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28623,7 +28380,7 @@ var SimulcastLayers = ({ trackId }) => {
28623
28380
  {
28624
28381
  className: dragClassName,
28625
28382
  key: layer.layer,
28626
- onClick: () => __async(void 0, null, function* () {
28383
+ onClick: () => __async(null, null, function* () {
28627
28384
  yield actions.setPreferredLayer(trackId, layer.layer);
28628
28385
  }),
28629
28386
  css: {
@@ -28775,7 +28532,7 @@ var TileMenuContent = ({
28775
28532
  StyledMenuTile.RemoveItem,
28776
28533
  {
28777
28534
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
28778
- onClick: () => __async(void 0, null, function* () {
28535
+ onClick: () => __async(null, null, function* () {
28779
28536
  try {
28780
28537
  yield actions.removePeer(peerID, "");
28781
28538
  } catch (error) {
@@ -29030,7 +28787,7 @@ var Root25 = ({
29030
28787
  "&:hover": { border: "4px solid $primary_dim" }
29031
28788
  }
29032
28789
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29033
- onClick: () => __async(void 0, null, function* () {
28790
+ onClick: () => __async(null, null, function* () {
29034
28791
  yield onClick == null ? void 0 : onClick();
29035
28792
  })
29036
28793
  },
@@ -29100,7 +28857,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29100
28857
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
29101
28858
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29102
28859
  (0, import_react163.useEffect)(() => {
29103
- const addHMSVBPlugin = () => __async(void 0, null, function* () {
28860
+ const addHMSVBPlugin = () => __async(null, null, function* () {
29104
28861
  setLoadingEffects(false);
29105
28862
  if (!role) {
29106
28863
  return;
@@ -29111,7 +28868,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29111
28868
  Math.floor(role.publishParams.video.frameRate / 2)
29112
28869
  );
29113
28870
  });
29114
- const initializeVirtualBackground = () => __async(void 0, null, function* () {
28871
+ const initializeVirtualBackground = () => __async(null, null, function* () {
29115
28872
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
29116
28873
  return;
29117
28874
  }
@@ -29131,7 +28888,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29131
28888
  } else {
29132
28889
  yield addHMSVBPlugin();
29133
28890
  }
29134
- const handleDefaultBackground = () => __async(void 0, null, function* () {
28891
+ const handleDefaultBackground = () => __async(null, null, function* () {
29135
28892
  switch (background) {
29136
28893
  case import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE:
29137
28894
  break;
@@ -29203,7 +28960,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29203
28960
  title: "No effect",
29204
28961
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.CrossCircleIcon, { style: iconDims }),
29205
28962
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE,
29206
- onClick: () => __async(void 0, null, function* () {
28963
+ onClick: () => __async(null, null, function* () {
29207
28964
  yield VBHandler.removeEffects();
29208
28965
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE);
29209
28966
  if (isMobile) {
@@ -29216,7 +28973,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29216
28973
  title: "Blur",
29217
28974
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.BlurPersonHighIcon, { style: iconDims }),
29218
28975
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR,
29219
- onClick: () => __async(void 0, null, function* () {
28976
+ onClick: () => __async(null, null, function* () {
29220
28977
  var _a9;
29221
28978
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
29222
28979
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR);
@@ -29232,7 +28989,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29232
28989
  {
29233
28990
  showTooltip: false,
29234
28991
  value: [blurAmount],
29235
- onValueChange: (e) => __async(void 0, null, function* () {
28992
+ onValueChange: (e) => __async(null, null, function* () {
29236
28993
  setBlurAmount(e[0]);
29237
28994
  yield VBHandler.setBlur(e[0]);
29238
28995
  }),
@@ -29248,7 +29005,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29248
29005
  options: mediaList.map((mediaURL) => ({
29249
29006
  mediaURL,
29250
29007
  value: mediaURL,
29251
- onClick: () => __async(void 0, null, function* () {
29008
+ onClick: () => __async(null, null, function* () {
29252
29009
  var _a9;
29253
29010
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29254
29011
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -29776,7 +29533,7 @@ var RoleChangeRequestModal = () => {
29776
29533
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29777
29534
  return;
29778
29535
  }
29779
- (() => __async(void 0, null, function* () {
29536
+ (() => __async(null, null, function* () {
29780
29537
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
29781
29538
  }))();
29782
29539
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -29813,7 +29570,7 @@ var RoleChangeRequestModal = () => {
29813
29570
  RequestPrompt,
29814
29571
  {
29815
29572
  title: "You're invited to join the stage",
29816
- onOpenChange: (value) => __async(void 0, null, function* () {
29573
+ onOpenChange: (value) => __async(null, null, function* () {
29817
29574
  var _a8;
29818
29575
  if (!value) {
29819
29576
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -29823,7 +29580,7 @@ var RoleChangeRequestModal = () => {
29823
29580
  }
29824
29581
  }),
29825
29582
  body,
29826
- onAction: () => __async(void 0, null, function* () {
29583
+ onAction: () => __async(null, null, function* () {
29827
29584
  yield hmsActions.acceptChangeRole(roleChangeRequest);
29828
29585
  yield updateMetaData({ prevRole: currentRole });
29829
29586
  yield hmsActions.lowerLocalPeerHand();
@@ -30628,7 +30385,7 @@ var ScreenshareDisplay = () => {
30628
30385
  {
30629
30386
  variant: "danger",
30630
30387
  css: { fontWeight: "$semiBold" },
30631
- onClick: () => __async(void 0, null, function* () {
30388
+ onClick: () => __async(null, null, function* () {
30632
30389
  yield hmsActions.setScreenShareEnabled(false);
30633
30390
  }),
30634
30391
  "data-testid": "stop_screen_share_btn"
@@ -31094,7 +30851,7 @@ var EmbedComponent = () => {
31094
30851
  const resetConfig = useResetEmbedConfig();
31095
30852
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk97.useEmbedShare)(resetConfig);
31096
30853
  (0, import_react188.useEffect)(() => {
31097
- (() => __async(void 0, null, function* () {
30854
+ (() => __async(null, null, function* () {
31098
30855
  if (embedConfig && !isEmbedShareInProgress) {
31099
30856
  try {
31100
30857
  yield startEmbedShare(embedConfig);
@@ -31352,7 +31109,7 @@ var PlayPauseButton = ({
31352
31109
  height = 20
31353
31110
  }) => {
31354
31111
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31355
- const onClick = (event) => __async(void 0, null, function* () {
31112
+ const onClick = (event) => __async(null, null, function* () {
31356
31113
  event == null ? void 0 : event.stopPropagation();
31357
31114
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31358
31115
  });
@@ -31794,7 +31551,7 @@ function HLSAutoplayBlockedPrompt({
31794
31551
  color: "#000",
31795
31552
  r: "$2"
31796
31553
  },
31797
- onClick: () => __async(this, null, function* () {
31554
+ onClick: () => __async(null, null, function* () {
31798
31555
  return yield unblockAutoPlay();
31799
31556
  })
31800
31557
  },
@@ -31817,7 +31574,7 @@ function HLSAutoplayBlockedPrompt({
31817
31574
  Dialog.Root,
31818
31575
  {
31819
31576
  open,
31820
- onOpenChange: (value) => __async(this, null, function* () {
31577
+ onOpenChange: (value) => __async(null, null, function* () {
31821
31578
  if (!value) {
31822
31579
  yield unblockAutoPlay();
31823
31580
  }
@@ -31827,7 +31584,7 @@ function HLSAutoplayBlockedPrompt({
31827
31584
  Button,
31828
31585
  {
31829
31586
  variant: "primary",
31830
- onClick: () => __async(this, null, function* () {
31587
+ onClick: () => __async(null, null, function* () {
31831
31588
  yield unblockAutoPlay();
31832
31589
  })
31833
31590
  },
@@ -32194,8 +31951,7 @@ var HLSView = () => {
32194
31951
  }
32195
31952
  }, [hlsUrl, streamEnded, lastHlsUrl]);
32196
31953
  (0, import_react203.useEffect)(() => {
32197
- if (!notification)
32198
- return;
31954
+ if (!notification) return;
32199
31955
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
32200
31956
  if (toastID) {
32201
31957
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32348,7 +32104,7 @@ var HLSView = () => {
32348
32104
  hlsPlayer == null ? void 0 : hlsPlayer.off(import_hls_player3.HMSHLSPlayerEvents.STATS, onHLSStats);
32349
32105
  };
32350
32106
  }, [enablHlsStats]);
32351
- const unblockAutoPlay = () => __async(void 0, null, function* () {
32107
+ const unblockAutoPlay = () => __async(null, null, function* () {
32352
32108
  try {
32353
32109
  yield hlsPlayer.play();
32354
32110
  setIsHlsAutoplayBlocked(false);
@@ -32428,9 +32184,9 @@ var HLSView = () => {
32428
32184
  },
32429
32185
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32430
32186
  );
32431
- const onClickHandler = (0, import_react203.useCallback)(() => __async(void 0, null, function* () {
32187
+ const onClickHandler = (0, import_react203.useCallback)(() => __async(null, null, function* () {
32432
32188
  var _a9;
32433
- (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk98.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
32189
+ (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk98.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(null, null, function* () {
32434
32190
  if (isPaused) {
32435
32191
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32436
32192
  } else {
@@ -32526,7 +32282,7 @@ var HLSView = () => {
32526
32282
  },
32527
32283
  outline: "none"
32528
32284
  },
32529
- onKeyDown: (event) => __async(void 0, null, function* () {
32285
+ onKeyDown: (event) => __async(null, null, function* () {
32530
32286
  var _a9;
32531
32287
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR) {
32532
32288
  yield keyHandler(event);
@@ -32671,7 +32427,7 @@ var HLSView = () => {
32671
32427
  IconButton,
32672
32428
  {
32673
32429
  css: { px: "$2" },
32674
- onClick: (e) => __async(void 0, null, function* () {
32430
+ onClick: (e) => __async(null, null, function* () {
32675
32431
  e.stopPropagation();
32676
32432
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
32677
32433
  setIsVideoLive(true);
@@ -32737,7 +32493,7 @@ var PDFView = () => {
32737
32493
  };
32738
32494
  }, []);
32739
32495
  (0, import_react204.useEffect)(() => {
32740
- (() => __async(void 0, null, function* () {
32496
+ (() => __async(null, null, function* () {
32741
32497
  try {
32742
32498
  if (!isPDFShareInProgress && pdfConfig) {
32743
32499
  yield startPDFShare(pdfConfig);
@@ -32892,8 +32648,7 @@ var Queue = class {
32892
32648
  return captionData;
32893
32649
  }
32894
32650
  peek() {
32895
- if (this.size() <= 0)
32896
- return void 0;
32651
+ if (this.size() <= 0) return void 0;
32897
32652
  const key = Object.keys(this.storage).shift() || "";
32898
32653
  return this.storage[key];
32899
32654
  }
@@ -32923,8 +32678,7 @@ var CaptionMaintainerQueue = class {
32923
32678
  var TranscriptView = ({ peer_id, data: data3 }) => {
32924
32679
  const peerName = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectPeerNameByID)(peer_id)) || "Participant";
32925
32680
  data3 = data3.trim();
32926
- if (!data3)
32927
- return null;
32681
+ if (!data3) return null;
32928
32682
  return /* @__PURE__ */ import_react205.default.createElement(
32929
32683
  Text,
32930
32684
  {
@@ -33196,7 +32950,7 @@ var CamaraFlipActions = () => {
33196
32950
  IconButton_default,
33197
32951
  {
33198
32952
  disabled: !isVideoOn,
33199
- onClick: () => __async(void 0, null, function* () {
32953
+ onClick: () => __async(null, null, function* () {
33200
32954
  try {
33201
32955
  yield actions.switchCamera();
33202
32956
  } catch (e) {
@@ -33240,7 +32994,7 @@ var AudioActions = () => {
33240
32994
  {
33241
32995
  audioDevices: availableAudioDevices,
33242
32996
  audioSelected: selectedAudio,
33243
- onChange: (deviceId) => __async(void 0, null, function* () {
32997
+ onChange: (deviceId) => __async(null, null, function* () {
33244
32998
  try {
33245
32999
  yield updateDevice({
33246
33000
  deviceId,
@@ -33257,7 +33011,7 @@ var AudioActions = () => {
33257
33011
  /* @__PURE__ */ import_react209.default.createElement(
33258
33012
  Box,
33259
33013
  {
33260
- onClick: () => __async(void 0, null, function* () {
33014
+ onClick: () => __async(null, null, function* () {
33261
33015
  yield hmsActions.refreshDevices();
33262
33016
  })
33263
33017
  },
@@ -33657,8 +33411,8 @@ var isEvenListenersAttached = false;
33657
33411
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
33658
33412
  var KeyboardInputManager = class {
33659
33413
  constructor(store, actions) {
33660
- __privateAdd(this, _actions, void 0);
33661
- __privateAdd(this, _store, void 0);
33414
+ __privateAdd(this, _actions);
33415
+ __privateAdd(this, _store);
33662
33416
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
33663
33417
  const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalAudioEnabled);
33664
33418
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -33821,7 +33575,7 @@ var FeedbackContent = ({
33821
33575
  }
33822
33576
  setSelectedReasons(newSelected);
33823
33577
  };
33824
- const submitFeedback = () => __async(void 0, null, function* () {
33578
+ const submitFeedback = () => __async(null, null, function* () {
33825
33579
  if (indexSelected < 0 || ratings.length <= indexSelected) {
33826
33580
  return;
33827
33581
  }
@@ -34350,7 +34104,7 @@ function AutoplayBlockedModal() {
34350
34104
  Dialog.Root,
34351
34105
  {
34352
34106
  open: !!error,
34353
- onOpenChange: (value) => __async(this, null, function* () {
34107
+ onOpenChange: (value) => __async(null, null, function* () {
34354
34108
  if (!value) {
34355
34109
  yield unblockAudio();
34356
34110
  }
@@ -34361,7 +34115,7 @@ function AutoplayBlockedModal() {
34361
34115
  Button,
34362
34116
  {
34363
34117
  variant: "primary",
34364
- onClick: () => __async(this, null, function* () {
34118
+ onClick: () => __async(null, null, function* () {
34365
34119
  yield unblockAudio();
34366
34120
  resetError();
34367
34121
  })
@@ -34481,8 +34235,7 @@ var ErrorNotifications = () => {
34481
34235
  const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.ERROR);
34482
34236
  const subscribedNotifications = useSubscribedNotifications() || {};
34483
34237
  (0, import_react226.useEffect)(() => {
34484
- if (!notification || !notification.data)
34485
- return;
34238
+ if (!notification || !notification.data) return;
34486
34239
  const { isTerminal, action, code, message, description } = notification.data;
34487
34240
  if (isTerminal && action !== "INIT") {
34488
34241
  if ([500, 6008].includes(code)) {
@@ -34509,8 +34262,7 @@ var ErrorNotifications = () => {
34509
34262
  if (action === "INIT") {
34510
34263
  return;
34511
34264
  }
34512
- if (!subscribedNotifications.ERROR)
34513
- return;
34265
+ if (!subscribedNotifications.ERROR) return;
34514
34266
  ToastManager.addToast({
34515
34267
  title: `Error: ${message} - ${description}`
34516
34268
  });
@@ -34553,7 +34305,7 @@ var HandRaiseAction = import_react227.default.forwardRef(({ id = "", isSingleHan
34553
34305
  off_stage_roles = [],
34554
34306
  skip_preview_for_role_change = false
34555
34307
  } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.conferencing) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements.on_stage_exp) || {};
34556
- const onClickHandler = (0, import_react227.useCallback)(() => __async(void 0, null, function* () {
34308
+ const onClickHandler = (0, import_react227.useCallback)(() => __async(null, null, function* () {
34557
34309
  if (isSingleHandRaise) {
34558
34310
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34559
34311
  if (skip_preview_for_role_change) {
@@ -35293,7 +35045,7 @@ var PIPProvider = ({ children }) => {
35293
35045
  }
35294
35046
  }, [pipWindow]);
35295
35047
  const requestPipWindow = (0, import_react241.useCallback)(
35296
- (width, height) => __async(void 0, null, function* () {
35048
+ (width, height) => __async(null, null, function* () {
35297
35049
  if (pipWindow != null) {
35298
35050
  return;
35299
35051
  }
@@ -35462,7 +35214,7 @@ function FlyingEmoji() {
35462
35214
  const isLargeRoom = (0, import_react_sdk131.useHMSStore)(import_react_sdk131.selectIsLargeRoom);
35463
35215
  const startingPoints = (0, import_react247.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
35464
35216
  const showFlyingEmoji = (0, import_react247.useCallback)(
35465
- (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35217
+ (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35466
35218
  if (!emojiId || !senderId || document.hidden) {
35467
35219
  return;
35468
35220
  }
@@ -35560,7 +35312,7 @@ var import_react248 = __toESM(require("react"));
35560
35312
  var import_react_sdk132 = require("@100mslive/react-sdk");
35561
35313
  function RemoteStopScreenshare() {
35562
35314
  const actions = (0, import_react_sdk132.useHMSActions)();
35563
- const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(this, null, function* () {
35315
+ const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(null, null, function* () {
35564
35316
  yield actions.setScreenShareEnabled(false);
35565
35317
  }), [actions]);
35566
35318
  (0, import_react_sdk132.useCustomEvent)({
@@ -35582,7 +35334,7 @@ var useAutoStartStreaming = () => {
35582
35334
  const isConnected = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectIsConnectedToRoom);
35583
35335
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk133.useRecordingStreaming)();
35584
35336
  const streamStartedRef = (0, import_react249.useRef)(false);
35585
- const startHLS = (0, import_react249.useCallback)(() => __async(void 0, null, function* () {
35337
+ const startHLS = (0, import_react249.useCallback)(() => __async(null, null, function* () {
35586
35338
  try {
35587
35339
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
35588
35340
  return;
@@ -35773,7 +35525,7 @@ var BackSwipe = () => {
35773
35525
  const isConnectedToRoom = (0, import_react_sdk134.useHMSStore)(import_react_sdk134.selectIsConnectedToRoom);
35774
35526
  const hmsActions = (0, import_react_sdk134.useHMSActions)();
35775
35527
  (0, import_react250.useEffect)(() => {
35776
- const onRouteLeave = () => __async(void 0, null, function* () {
35528
+ const onRouteLeave = () => __async(null, null, function* () {
35777
35529
  if (isConnectedToRoom) {
35778
35530
  yield hmsActions.leave();
35779
35531
  }
@@ -36484,7 +36236,7 @@ var VideoTest = () => {
36484
36236
  devices: videoInput || [],
36485
36237
  icon: /* @__PURE__ */ import_react257.default.createElement(import_react_icons115.VideoOnIcon, null),
36486
36238
  selection: sdkSelectedDevices.videoInputDeviceId,
36487
- onChange: (deviceId) => __async(void 0, null, function* () {
36239
+ onChange: (deviceId) => __async(null, null, function* () {
36488
36240
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36489
36241
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36490
36242
  })
@@ -36618,16 +36370,6 @@ lodash/lodash.js:
36618
36370
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
36619
36371
  *)
36620
36372
 
36621
- react-is/cjs/react-is.production.min.js:
36622
- (** @license React v16.13.1
36623
- * react-is.production.min.js
36624
- *
36625
- * Copyright (c) Facebook, Inc. and its affiliates.
36626
- *
36627
- * This source code is licensed under the MIT license found in the
36628
- * LICENSE file in the root directory of this source tree.
36629
- *)
36630
-
36631
36373
  react-is/cjs/react-is.development.js:
36632
36374
  (** @license React v16.13.1
36633
36375
  * react-is.development.js