@100mslive/roomkit-react 0.4.3-alpha.8 → 0.4.3

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) => {
@@ -35,8 +38,8 @@ var __objRest = (source, exclude) => {
35
38
  }
36
39
  return target;
37
40
  };
38
- var __esm = (fn2, res) => function __init() {
39
- return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
41
+ var __esm = (fn, res) => function __init() {
42
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
40
43
  };
41
44
  var __commonJS = (cb, mod) => function __require() {
42
45
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -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_53457e80-8123-47f3-ab64-40fdf0645f20", 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.8", 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.8", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_53457e80-8123-47f3-ab64-40fdf0645f20", 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.8", 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: "2114", ACTIONS_ORCHESTRATION_ID: "a099d84b-d2fe-4ba2-9f7a-2001e1e19289.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:17431", 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.8", 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: "23150955629", 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: "ce778f84bd26fe6c451dbdde03ecffc1f3c83998", 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: "10540959078210112657", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/remove-mute-unmute-handling", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmdcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjVlMTJlMDA5LWRkMDEtNGNjYy05ZTg5LTQ1MjMwMjUwM2RiNSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJleHAiOjE3NzM2OTYyODUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3MzY3NDA4NSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjA2NmEwMTg3LTllMWMtNTcxMS04YmRiLTdiMzQwN2I2NmY1YSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3MzY3Mzc4NSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJyYXZpdGVqYTgzXCIsXCJhY3Rvcl9pZFwiOlwiNjc2MzI2MVwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI2NzI1MjM2NTA2OVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiY2U3NzhmODRiZDI2ZmU2YzQ1MWRiZGRlMDNlY2ZmYzFmM2M4Mzk5OFwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrc1wiLFwicmVwb3NpdG9yeV9pZFwiOlwiNDI5ODI2NTE1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCIxMDBtc2xpdmVcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjczODgzMTMxXCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInB1YmxpY1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjMxNTA5NTU2MjlcIixcInJ1bl9udW1iZXJcIjpcIjgxMVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImNlNzc4Zjg0YmQyNmZlNmM0NTFkYmRkZTAzZWNmZmMxZjNjODM5OThcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIFBhY2thZ2VzXCIsXCJ3b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL3JlbW92ZS1tdXRlLXVubXV0ZS1oYW5kbGluZ1wiLFwid29ya2Zsb3dfc2hhXCI6XCJjZTc3OGY4NGJkMjZmZTZjNDUxZGJkZGUwM2VjZmZjMWYzYzgzOTk4XCJ9Iiwib2lkY19zdWIiOiJyZXBvOjEwMG1zbGl2ZS93ZWItc2RrczpyZWY6cmVmcy9oZWFkcy9yZW1vdmUtbXV0ZS11bm11dGUtaGFuZGxpbmciLCJvcmNoX2lkIjoiYTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5LnB1Ymxpc2hfcGFja2FnZXMuX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJwbGFuX2lkIjoiYTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5IiwicmVwb3NpdG9yeV9pZCI6IjQyOTgyNjUxNSIsInJ1bl9pZCI6IjIzMTUwOTU1NjI5IiwicnVuX251bWJlciI6IjgxMSIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyMDEyMzMiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czphMDk5ZDg0Yi1kMmZlLTRiYTItOWY3YS0yMDAxZTFlMTkyODk6MDY2YTAxODctOWUxYy01NzExLThiZGItN2IzNDA3YjY2ZjVhIEFjdGlvbnMuUnVubmVyOmEwOTlkODRiLWQyZmUtNGJhMi05ZjdhLTIwMDFlMWUxOTI4OTowNjZhMDE4Ny05ZTFjLTU3MTEtOGJkYi03YjM0MDdiNjZmNWEgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6YTA5OWQ4NGItZDJmZS00YmEyLTlmN2EtMjAwMWUxZTE5Mjg5OjA2NmEwMTg3LTllMWMtNTcxMS04YmRiLTdiMzQwN2I2NmY1YSBnZW5lcmF0ZV9pZF90b2tlbjphMDk5ZDg0Yi1kMmZlLTRiYTItOWY3YS0yMDAxZTFlMTkyODk6MDY2YTAxODctOWUxYy01NzExLThiZGItN2IzNDA3YjY2ZjVhIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiY2U3NzhmODRiZDI2ZmU2YzQ1MWRiZGRlMDNlY2ZmYzFmM2M4Mzk5OCIsInRydXN0X3RpZXIiOiIxIn0.RfTsImbf58SQnvpGioa-pAsU8QdKJBnx5SGmwxTtEhzhTAgAB5Qswnguod3UNR0yWi-ucrG_-py4mF7BaqrXqD5x4xWMk5hIZRzE3XGUncVPMdJPc3pr05ReUnso-ggVlkju9Td6CseummgzxlOytTraiBufPFtBH77n37_OniXN5icz-dgc6k6df714CVuMUFdMTWZocYQZNHDNdEoDMNXhv-yd_bxUl_CmcUX3oUSeW__wlBVoVnxdm_pCjoMhi6AKf1VI2Rb2T8A7iLiXFgCSb8cHthOqatFbyEmAx8qwNy8bheH0cYogScFx9-VQfiKFHR8V6_xMKvRFRDP57g", 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--1773674145253-0.575579497685045:/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--1773674145080-0.09153734588405449:/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--1773674128224-0.4870841616975634:/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--1773674128066-0.6807874381693707:/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_6d63ba47-2a45-4b96-8f3b-4d7911d85401", INVOCATION_ID: "64d642c8d01e4a78acb84dfe004216bf", 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: "811", 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 1000201233", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "remove-mute-unmute-handling", 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.8", 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.8", 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: "ce778f84bd26fe6c451dbdde03ecffc1f3c83998", 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/remove-mute-unmute-handling", 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_53457e80-8123-47f3-ab64-40fdf0645f20", 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/106//idtoken/a099d84b-d2fe-4ba2-9f7a-2001e1e19289/066a0187-9e1c-5711-8bdb-7b3407b66f5a?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_53457e80-8123-47f3-ab64-40fdf0645f20", 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_53457e80-8123-47f3-ab64-40fdf0645f20", npm_package_resolutions_sass: "^1.83.0" };
98
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", 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.13", 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", USER: "runner", npm_package_resolutions_picomatch: "^2.3.2", 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.1 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_resolutions____babel_plugin_istanbul_test_exclude_minimatch: "^3.1.4", 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", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.14.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.14.3", 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__babel_runtime: "^7.29.2", 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_resolutions_____nx_devkit_minimatch: "^9.0.7", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-9.4.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_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: "2115", ACTIONS_ORCHESTRATION_ID: "9bf78a2b-ab58-44e2-b7c8-0ce4758ae0eb.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_resolutions____typedoc_minimatch: "^9.0.7", 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: "20260406.80.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.3", 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:11838", 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: "^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", 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: "24469012851", npm_package_workspaces_0: "packages/*", npm_package_resolutions_cross_spawn: "^7.0.6", 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: "c0f4a6914d590b6b97135191e08498bad314ff2b", 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: "2015343816306599853", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjVlMTJlMDA5LWRkMDEtNGNjYy05ZTg5LTQ1MjMwMjUwM2RiNSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJleHAiOjE3NzYyOTY4MzMsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjI3NDYzMywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImRhMjUxMGNkLTYzYmEtNWYzZS04ZmI3LTU2YjcwMWY5ZjdhOCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjI3NDMzMywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJyYXZpdGVqYTgzXCIsXCJhY3Rvcl9pZFwiOlwiNjc2MzI2MVwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MTUwMzkwNjYxM1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcIjEwMG1zbGl2ZS93ZWItc2Rrcy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLnltbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImMwZjRhNjkxNGQ1OTBiNmI5NzEzNTE5MWUwODQ5OGJhZDMxNGZmMmJcIixcInJlZlwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJ0cnVlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCIxMDBtc2xpdmUvd2ViLXNka3NcIixcInJlcG9zaXRvcnlfaWRcIjpcIjQyOTgyNjUxNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiMTAwbXNsaXZlXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI3Mzg4MzEzMVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwdWJsaWNcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI0NDY5MDEyODUxXCIsXCJydW5fbnVtYmVyXCI6XCI4MjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJjMGY0YTY5MTRkNTkwYjZiOTcxMzUxOTFlMDg0OThiYWQzMTRmZjJiXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBQYWNrYWdlc1wiLFwid29ya2Zsb3dfcmVmXCI6XCIxMDBtc2xpdmUvd2ViLXNka3MvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImMwZjRhNjkxNGQ1OTBiNmI5NzEzNTE5MWUwODQ5OGJhZDMxNGZmMmJcIn0iLCJvaWRjX3N1YiI6InJlcG86MTAwbXNsaXZlL3dlYi1zZGtzOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiOWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViLnB1Ymxpc2hfcGFja2FnZXMuX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQU9FdlEiLCJwbGFuX2lkIjoiOWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViIiwicmVwb3NpdG9yeV9pZCI6IjQyOTgyNjUxNSIsInJ1bl9pZCI6IjI0NDY5MDEyODUxIiwicnVuX251bWJlciI6IjgyNiIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAyNzAwOTkiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo5YmY3OGEyYi1hYjU4LTQ0ZTItYjdjOC0wY2U0NzU4YWUwZWI6ZGEyNTEwY2QtNjNiYS01ZjNlLThmYjctNTZiNzAxZjlmN2E4IEFjdGlvbnMuUnVubmVyOjliZjc4YTJiLWFiNTgtNDRlMi1iN2M4LTBjZTQ3NThhZTBlYjpkYTI1MTBjZC02M2JhLTVmM2UtOGZiNy01NmI3MDFmOWY3YTggQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6OWJmNzhhMmItYWI1OC00NGUyLWI3YzgtMGNlNDc1OGFlMGViOmRhMjUxMGNkLTYzYmEtNWYzZS04ZmI3LTU2YjcwMWY5ZjdhOCBnZW5lcmF0ZV9pZF90b2tlbjo5YmY3OGEyYi1hYjU4LTQ0ZTItYjdjOC0wY2U0NzU4YWUwZWI6ZGEyNTEwY2QtNjNiYS01ZjNlLThmYjctNTZiNzAxZjlmN2E4IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiYzBmNGE2OTE0ZDU5MGI2Yjk3MTM1MTkxZTA4NDk4YmFkMzE0ZmYyYiIsInRydXN0X3RpZXIiOiIxIn0.B0AyitpG3NDopShxQFj86fcW-V4AfH1p9fPkpwQcGrrX_PdPtEC-xT6ZrudYZdmH1KtatfsiofMYAbrFAMXQh5zJQxiBa657U9tkZou6hNUpx28eiudMOKdh-NlGfsxG5kXh9BCEJzZikyJCBAxU0ZTotonmD-jntk1w4tV6aXlA-4wAV1CaPFdXNO-QheTS3rXiSXxGJo069n-DVNyQaaphywlKB2RBswEod6k3gcJns-qO9lLCr4fZaP19M0PiKUaVGOREB_WRJgnDLOtW5d6wiOGpXFKO6AczsgbYYcLHX21AxZo8t5AZtxxRMBA_yqhVZWI0XCQzDE-9t9BK5g", 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--1776274694440-0.6163197370155823:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274694265-0.7486801238756506:/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.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274675268-0.6357453747209215:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1776274675111-0.16020789730269913:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/24.14.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/24.14.1/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.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_64cb9f22-ca3c-4a64-b768-937c27698e2f", INVOCATION_ID: "3910bf7aef134167b7d937c42c7b64bf", 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: "826", 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_resolutions____glob_minimatch: "^3.1.4", npm_package_resolutions_flatted: "^3.4.2", 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 1000270099", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", 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____eslint_minimatch: "^3.1.4", 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", 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", 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.15.0", 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: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_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____nx_minimatch: "^9.0.7", npm_package_resolutions__babel_helpers: "^7.29.2", GITHUB_SHA: "c0f4a6914d590b6b97135191e08498bad314ff2b", 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____tinyglobby_picomatch: "^4.0.4", npm_package_resolutions__adobe_css_tools: "^4.4.4", 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/main", 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_package_resolutions_yaml: "^2.8.3", 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_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", 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__tootallnate_once: "^3.0.1", 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-3-azure-eastus.actions.githubusercontent.com/186//idtoken/9bf78a2b-ab58-44e2-b7c8-0ce4758ae0eb/da2510cd-63ba-5f3e-8fb7-56b701f9f7a8?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", npm_package_resolutions_micromatch: "^4.0.8", npm_package_resolutions_js_yaml: "^4.1.1", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.27.4", 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_resolutions_lodash: "^4.18.1", 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", 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_3ce7a55c-9a45-4e23-a8bd-77dba3ebaf09", npm_package_resolutions_sass: "^1.83.0" };
113
99
  }
114
100
  });
115
101
 
@@ -119,9 +105,9 @@ var require_lodash = __commonJS({
119
105
  init_define_process_env();
120
106
  (function() {
121
107
  var undefined2;
122
- var VERSION2 = "4.17.23";
108
+ var VERSION2 = "4.18.1";
123
109
  var LARGE_ARRAY_SIZE = 200;
124
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
110
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
125
111
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
126
112
  var MAX_MEMOIZE_SIZE = 500;
127
113
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -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) {
@@ -2051,19 +2037,12 @@ var require_lodash = __commonJS({
2051
2037
  if (!length) {
2052
2038
  return true;
2053
2039
  }
2054
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
2055
2040
  while (++index < length) {
2056
- var key = path[index];
2057
- if (typeof key !== "string") {
2058
- continue;
2059
- }
2041
+ var key = toKey(path[index]);
2060
2042
  if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
2061
2043
  return false;
2062
2044
  }
2063
- if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
2064
- if (isRootPrimitive && index === 0) {
2065
- continue;
2066
- }
2045
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
2067
2046
  return false;
2068
2047
  }
2069
2048
  }
@@ -2308,8 +2287,8 @@ var require_lodash = __commonJS({
2308
2287
  function createBind(func, bitmask, thisArg) {
2309
2288
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2310
2289
  function wrapper() {
2311
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2312
- return fn2.apply(isBind ? thisArg : this, arguments);
2290
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2291
+ return fn.apply(isBind ? thisArg : this, arguments);
2313
2292
  }
2314
2293
  return wrapper;
2315
2294
  }
@@ -2375,8 +2354,8 @@ var require_lodash = __commonJS({
2375
2354
  arity - length
2376
2355
  );
2377
2356
  }
2378
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2379
- return apply(fn2, this, args);
2357
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2358
+ return apply(fn, this, args);
2380
2359
  }
2381
2360
  return wrapper;
2382
2361
  }
@@ -2464,7 +2443,7 @@ var require_lodash = __commonJS({
2464
2443
  arity - length
2465
2444
  );
2466
2445
  }
2467
- var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2446
+ var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2468
2447
  length = args.length;
2469
2448
  if (argPos) {
2470
2449
  args = reorder(args, argPos);
@@ -2475,9 +2454,9 @@ var require_lodash = __commonJS({
2475
2454
  args.length = ary2;
2476
2455
  }
2477
2456
  if (this && this !== root && this instanceof wrapper) {
2478
- fn2 = Ctor || createCtor(fn2);
2457
+ fn = Ctor || createCtor(fn);
2479
2458
  }
2480
- return fn2.apply(thisBinding, args);
2459
+ return fn.apply(thisBinding, args);
2481
2460
  }
2482
2461
  return wrapper;
2483
2462
  }
@@ -2534,14 +2513,14 @@ var require_lodash = __commonJS({
2534
2513
  function createPartial(func, bitmask, thisArg, partials) {
2535
2514
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2536
2515
  function wrapper() {
2537
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2516
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2538
2517
  while (++leftIndex < leftLength) {
2539
2518
  args[leftIndex] = partials[leftIndex];
2540
2519
  }
2541
2520
  while (argsLength--) {
2542
2521
  args[leftIndex++] = arguments[++argsIndex];
2543
2522
  }
2544
- return apply(fn2, isBind ? thisArg : this, args);
2523
+ return apply(fn, isBind ? thisArg : this, args);
2545
2524
  }
2546
2525
  return wrapper;
2547
2526
  }
@@ -2951,8 +2930,8 @@ var require_lodash = __commonJS({
2951
2930
  return { "start": start, "end": end };
2952
2931
  }
2953
2932
  function getWrapDetails(source) {
2954
- var match18 = source.match(reWrapDetails);
2955
- return match18 ? match18[1].split(reSplitDetails) : [];
2933
+ var match17 = source.match(reWrapDetails);
2934
+ return match17 ? match17[1].split(reSplitDetails) : [];
2956
2935
  }
2957
2936
  function hasPath(object, path, hasFunc) {
2958
2937
  path = castPath(path, object);
@@ -3220,8 +3199,8 @@ var require_lodash = __commonJS({
3220
3199
  if (string.charCodeAt(0) === 46) {
3221
3200
  result2.push("");
3222
3201
  }
3223
- string.replace(rePropName, function(match18, number, quote, subString) {
3224
- result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match18);
3202
+ string.replace(rePropName, function(match17, number, quote, subString) {
3203
+ result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match17);
3225
3204
  });
3226
3205
  return result2;
3227
3206
  });
@@ -3395,7 +3374,7 @@ var require_lodash = __commonJS({
3395
3374
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
3396
3375
  while (++index < length) {
3397
3376
  var pair = pairs[index];
3398
- result2[pair[0]] = pair[1];
3377
+ baseAssignValue(result2, pair[0], pair[1]);
3399
3378
  }
3400
3379
  return result2;
3401
3380
  }
@@ -4175,9 +4154,9 @@ var require_lodash = __commonJS({
4175
4154
  var gte = createRelationalOperation(function(value, other) {
4176
4155
  return value >= other;
4177
4156
  });
4178
- var isArguments = baseIsArguments(function() {
4157
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4179
4158
  return arguments;
4180
- }()) ? baseIsArguments : function(value) {
4159
+ })()) ? baseIsArguments : function(value) {
4181
4160
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4182
4161
  };
4183
4162
  var isArray2 = Array2.isArray;
@@ -4779,15 +4758,20 @@ var require_lodash = __commonJS({
4779
4758
  options = undefined2;
4780
4759
  }
4781
4760
  string = toString(string);
4782
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
4783
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4761
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
4762
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4763
+ arrayEach(importsKeys, function(key) {
4764
+ if (reForbiddenIdentifierChars.test(key)) {
4765
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4766
+ }
4767
+ });
4784
4768
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
4785
4769
  var reDelimiters = RegExp2(
4786
4770
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
4787
4771
  "g"
4788
4772
  );
4789
4773
  var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
4790
- string.replace(reDelimiters, function(match18, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4774
+ string.replace(reDelimiters, function(match17, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4791
4775
  interpolateValue || (interpolateValue = esTemplateValue);
4792
4776
  source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
4793
4777
  if (escapeValue) {
@@ -4801,8 +4785,8 @@ var require_lodash = __commonJS({
4801
4785
  if (interpolateValue) {
4802
4786
  source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
4803
4787
  }
4804
- index = offset + match18.length;
4805
- return match18;
4788
+ index = offset + match17.length;
4789
+ return match17;
4806
4790
  });
4807
4791
  source += "';\n";
4808
4792
  var variable = hasOwnProperty.call(options, "variable") && options.variable;
@@ -4890,13 +4874,13 @@ var require_lodash = __commonJS({
4890
4874
  }
4891
4875
  if (isRegExp(separator)) {
4892
4876
  if (string.slice(end).search(separator)) {
4893
- var match18, substring = result2;
4877
+ var match17, substring = result2;
4894
4878
  if (!separator.global) {
4895
4879
  separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
4896
4880
  }
4897
4881
  separator.lastIndex = 0;
4898
- while (match18 = separator.exec(substring)) {
4899
- var newEnd = match18.index;
4882
+ while (match17 = separator.exec(substring)) {
4883
+ var newEnd = match17.index;
4900
4884
  }
4901
4885
  result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
4902
4886
  }
@@ -5429,7 +5413,7 @@ var require_lodash = __commonJS({
5429
5413
  lodash.each = forEach;
5430
5414
  lodash.eachRight = forEachRight;
5431
5415
  lodash.first = head;
5432
- mixin(lodash, function() {
5416
+ mixin(lodash, (function() {
5433
5417
  var source = {};
5434
5418
  baseForOwn(lodash, function(func, methodName) {
5435
5419
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5437,7 +5421,7 @@ var require_lodash = __commonJS({
5437
5421
  }
5438
5422
  });
5439
5423
  return source;
5440
- }(), { "chain": false });
5424
+ })(), { "chain": false });
5441
5425
  lodash.VERSION = VERSION2;
5442
5426
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5443
5427
  lodash[methodName].placeholder = lodash;
@@ -5597,7 +5581,7 @@ var require_lodash = __commonJS({
5597
5581
  lodash.prototype[symIterator] = wrapperToIterator;
5598
5582
  }
5599
5583
  return lodash;
5600
- };
5584
+ });
5601
5585
  var _ = runInContext();
5602
5586
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5603
5587
  root._ = _;
@@ -5667,12 +5651,12 @@ var require_lodash2 = __commonJS({
5667
5651
  var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
5668
5652
  var moduleExports = freeModule && freeModule.exports === freeExports;
5669
5653
  var freeProcess = moduleExports && freeGlobal.process;
5670
- var nodeUtil = function() {
5654
+ var nodeUtil = (function() {
5671
5655
  try {
5672
5656
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5673
5657
  } catch (e) {
5674
5658
  }
5675
- }();
5659
+ })();
5676
5660
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5677
5661
  function arrayFilter(array, predicate) {
5678
5662
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5743,10 +5727,10 @@ var require_lodash2 = __commonJS({
5743
5727
  var coreJsData = root["__core-js_shared__"];
5744
5728
  var funcToString = funcProto.toString;
5745
5729
  var hasOwnProperty = objectProto.hasOwnProperty;
5746
- var maskSrcKey = function() {
5730
+ var maskSrcKey = (function() {
5747
5731
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5748
5732
  return uid ? "Symbol(src)_1." + uid : "";
5749
- }();
5733
+ })();
5750
5734
  var nativeObjectToString = objectProto.toString;
5751
5735
  var reIsNative = RegExp(
5752
5736
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6272,9 +6256,9 @@ var require_lodash2 = __commonJS({
6272
6256
  function eq(value, other) {
6273
6257
  return value === other || value !== value && other !== other;
6274
6258
  }
6275
- var isArguments = baseIsArguments(function() {
6259
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6276
6260
  return arguments;
6277
- }()) ? baseIsArguments : function(value) {
6261
+ })()) ? baseIsArguments : function(value) {
6278
6262
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6279
6263
  };
6280
6264
  var isArray2 = Array.isArray;
@@ -7405,13 +7389,13 @@ var require_parser = __commonJS({
7405
7389
  var toIntIfInt = function(v) {
7406
7390
  return String(Number(v)) === v ? Number(v) : v;
7407
7391
  };
7408
- var attachProperties = function(match18, location, names, rawName) {
7392
+ var attachProperties = function(match17, location, names, rawName) {
7409
7393
  if (rawName && !names) {
7410
- location[rawName] = toIntIfInt(match18[1]);
7394
+ location[rawName] = toIntIfInt(match17[1]);
7411
7395
  } else {
7412
7396
  for (var i = 0; i < names.length; i += 1) {
7413
- if (match18[i + 1] != null) {
7414
- location[names[i]] = toIntIfInt(match18[i + 1]);
7397
+ if (match17[i + 1] != null) {
7398
+ location[names[i]] = toIntIfInt(match17[i + 1]);
7415
7399
  }
7416
7400
  }
7417
7401
  }
@@ -7630,147 +7614,33 @@ var require_lib = __commonJS({
7630
7614
  }
7631
7615
  });
7632
7616
 
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
7617
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7748
7618
  var require_react_is_development = __commonJS({
7749
7619
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7750
7620
  "use strict";
7751
7621
  init_define_process_env();
7752
- if (define_process_env_default.NODE_ENV !== "production") {
7622
+ if (true) {
7753
7623
  (function() {
7754
7624
  "use strict";
7755
7625
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
7756
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
7757
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
7758
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
7759
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
7760
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
7761
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
7762
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
7763
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
7764
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
7765
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
7766
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
7767
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
7768
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
7769
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
7770
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
7771
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
7772
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
7773
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
7626
+ var REACT_ELEMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.element") : 60103;
7627
+ var REACT_PORTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.portal") : 60106;
7628
+ var REACT_FRAGMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107;
7629
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108;
7630
+ var REACT_PROFILER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114;
7631
+ var REACT_PROVIDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.provider") : 60109;
7632
+ var REACT_CONTEXT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.context") : 60110;
7633
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111;
7634
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111;
7635
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112;
7636
+ var REACT_SUSPENSE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113;
7637
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120;
7638
+ var REACT_MEMO_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.memo") : 60115;
7639
+ var REACT_LAZY_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116;
7640
+ var REACT_BLOCK_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.block") : 60121;
7641
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117;
7642
+ var REACT_RESPONDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.responder") : 60118;
7643
+ var REACT_SCOPE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
7774
7644
  function isValidElementType(type) {
7775
7645
  return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
7776
7646
  type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === "object" && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
@@ -7905,8 +7775,8 @@ var require_react_is = __commonJS({
7905
7775
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module2) {
7906
7776
  "use strict";
7907
7777
  init_define_process_env();
7908
- if (define_process_env_default.NODE_ENV === "production") {
7909
- module2.exports = require_react_is_production_min();
7778
+ if (false) {
7779
+ module2.exports = null;
7910
7780
  } else {
7911
7781
  module2.exports = require_react_is_development();
7912
7782
  }
@@ -8009,7 +7879,7 @@ var require_checkPropTypes = __commonJS({
8009
7879
  init_define_process_env();
8010
7880
  var printWarning = function() {
8011
7881
  };
8012
- if (define_process_env_default.NODE_ENV !== "production") {
7882
+ if (true) {
8013
7883
  ReactPropTypesSecret = require_ReactPropTypesSecret();
8014
7884
  loggedTypeFailures = {};
8015
7885
  has2 = require_has();
@@ -8028,7 +7898,7 @@ var require_checkPropTypes = __commonJS({
8028
7898
  var loggedTypeFailures;
8029
7899
  var has2;
8030
7900
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
8031
- if (define_process_env_default.NODE_ENV !== "production") {
7901
+ if (true) {
8032
7902
  for (var typeSpecName in typeSpecs) {
8033
7903
  if (has2(typeSpecs, typeSpecName)) {
8034
7904
  var error;
@@ -8061,7 +7931,7 @@ var require_checkPropTypes = __commonJS({
8061
7931
  }
8062
7932
  }
8063
7933
  checkPropTypes.resetWarningCache = function() {
8064
- if (define_process_env_default.NODE_ENV !== "production") {
7934
+ if (true) {
8065
7935
  loggedTypeFailures = {};
8066
7936
  }
8067
7937
  };
@@ -8081,7 +7951,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8081
7951
  var checkPropTypes = require_checkPropTypes();
8082
7952
  var printWarning = function() {
8083
7953
  };
8084
- if (define_process_env_default.NODE_ENV !== "production") {
7954
+ if (true) {
8085
7955
  printWarning = function(text) {
8086
7956
  var message = "Warning: " + text;
8087
7957
  if (typeof console !== "undefined") {
@@ -8141,7 +8011,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8141
8011
  }
8142
8012
  PropTypeError.prototype = Error.prototype;
8143
8013
  function createChainableTypeChecker(validate) {
8144
- if (define_process_env_default.NODE_ENV !== "production") {
8014
+ if (true) {
8145
8015
  var manualPropTypeCallCache = {};
8146
8016
  var manualPropTypeWarningCount = 0;
8147
8017
  }
@@ -8155,7 +8025,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8155
8025
  );
8156
8026
  err.name = "Invariant Violation";
8157
8027
  throw err;
8158
- } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8028
+ } else if (typeof console !== "undefined") {
8159
8029
  var cacheKey = componentName + ":" + propName;
8160
8030
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8161
8031
  manualPropTypeWarningCount < 3) {
@@ -8256,7 +8126,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8256
8126
  }
8257
8127
  function createEnumTypeChecker(expectedValues) {
8258
8128
  if (!Array.isArray(expectedValues)) {
8259
- if (define_process_env_default.NODE_ENV !== "production") {
8129
+ if (true) {
8260
8130
  if (arguments.length > 1) {
8261
8131
  printWarning(
8262
8132
  "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 +8179,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8309
8179
  }
8310
8180
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8311
8181
  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;
8182
+ true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8313
8183
  return emptyFunctionThatReturnsNull;
8314
8184
  }
8315
8185
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8513,73 +8383,16 @@ var require_factoryWithTypeCheckers = __commonJS({
8513
8383
  }
8514
8384
  });
8515
8385
 
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
8386
  // ../../node_modules/prop-types/index.js
8574
8387
  var require_prop_types = __commonJS({
8575
8388
  "../../node_modules/prop-types/index.js"(exports, module2) {
8576
8389
  init_define_process_env();
8577
- if (define_process_env_default.NODE_ENV !== "production") {
8390
+ if (true) {
8578
8391
  ReactIs = require_react_is();
8579
8392
  throwOnDirectAccess = true;
8580
8393
  module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8581
8394
  } else {
8582
- module2.exports = require_factoryWithThrowingShims()();
8395
+ module2.exports = null();
8583
8396
  }
8584
8397
  var ReactIs;
8585
8398
  var throwOnDirectAccess;
@@ -8587,8 +8400,8 @@ var require_prop_types = __commonJS({
8587
8400
  });
8588
8401
 
8589
8402
  // src/index.ts
8590
- var src_exports = {};
8591
- __export(src_exports, {
8403
+ var index_exports = {};
8404
+ __export(index_exports, {
8592
8405
  Accordion: () => Accordion,
8593
8406
  AudioLevel: () => AudioLevel,
8594
8407
  Avatar: () => Avatar,
@@ -8655,7 +8468,7 @@ __export(src_exports, {
8655
8468
  useBorderAudioLevel: () => useBorderAudioLevel,
8656
8469
  useTheme: () => useTheme
8657
8470
  });
8658
- module.exports = __toCommonJS(src_exports);
8471
+ module.exports = __toCommonJS(index_exports);
8659
8472
  init_define_process_env();
8660
8473
 
8661
8474
  // src/Button/index.tsx
@@ -10184,8 +9997,7 @@ var StyledDialog = (0, import_react16.styled)(import_react_dialog.Root, {});
10184
9997
  var DialogRoot = (props) => {
10185
9998
  (0, import_react15.useEffect)(() => {
10186
9999
  return () => {
10187
- if (document)
10188
- setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10000
+ if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10189
10001
  };
10190
10002
  }, []);
10191
10003
  return /* @__PURE__ */ import_react15.default.createElement(StyledDialog, __spreadValues({}, props));
@@ -11754,7 +11566,7 @@ var Collapsible = {
11754
11566
  // src/Prebuilt/App.tsx
11755
11567
  init_define_process_env();
11756
11568
  var import_react250 = __toESM(require("react"));
11757
- var import_ts_pattern17 = require("ts-pattern");
11569
+ var import_ts_pattern16 = require("ts-pattern");
11758
11570
  var import_react_sdk134 = require("@100mslive/react-sdk");
11759
11571
 
11760
11572
  // src/Prebuilt/components/AppData/AppData.tsx
@@ -12026,7 +11838,7 @@ var LayoutSettings = () => {
12026
11838
  const isLocalScreenShared = (0, import_react_sdk8.useHMSStore)(import_react_sdk8.selectIsLocalScreenShared);
12027
11839
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
12028
11840
  const toggleIsAudioOnly = (0, import_react30.useCallback)(
12029
- (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11841
+ (isAudioOnlyModeOn) => __async(null, null, function* () {
12030
11842
  if (isAudioOnlyModeOn) {
12031
11843
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
12032
11844
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -12138,7 +11950,7 @@ var defaultLayout = {
12138
11950
  };
12139
11951
 
12140
11952
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
12141
- var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11953
+ var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12142
11954
  const MAX_RETRIES = 4;
12143
11955
  let error = Error("something went wrong");
12144
11956
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -12171,7 +11983,7 @@ var useFetchRoomLayout = ({
12171
11983
  }
12172
11984
  }, []);
12173
11985
  (0, import_react31.useEffect)(() => {
12174
- (() => __async(void 0, null, function* () {
11986
+ (() => __async(null, null, function* () {
12175
11987
  var _a8, _b7;
12176
11988
  if (isFetchInProgress.current || !authToken) {
12177
11989
  return;
@@ -12268,8 +12080,7 @@ var formatTime = (timeInSeconds) => {
12268
12080
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12269
12081
  };
12270
12082
  var compareArrays = (a2, b2) => {
12271
- if (a2.length !== b2.length)
12272
- return false;
12083
+ if (a2.length !== b2.length) return false;
12273
12084
  else {
12274
12085
  for (var i = 0; i < a2.length; i++) {
12275
12086
  if (a2[i] !== b2[i]) {
@@ -14368,7 +14179,7 @@ var useNoiseCancellationWithPlugin = () => {
14368
14179
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14369
14180
  const isEnabledForRoom = (_a8 = (0, import_react_sdk16.useHMSStore)(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14370
14181
  const setNoiseCancellationWithPlugin = (0, import_react48.useCallback)(
14371
- (enabled) => __async(void 0, null, function* () {
14182
+ (enabled) => __async(null, null, function* () {
14372
14183
  if (!isEnabledForRoom || inProgress) {
14373
14184
  return;
14374
14185
  }
@@ -14410,7 +14221,7 @@ var NoiseCancellation = ({
14410
14221
  {
14411
14222
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14412
14223
  disabled: inProgress,
14413
- onClick: () => __async(void 0, null, function* () {
14224
+ onClick: () => __async(null, null, function* () {
14414
14225
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14415
14226
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14416
14227
  })
@@ -14423,7 +14234,7 @@ var NoiseCancellation = ({
14423
14234
  return /* @__PURE__ */ import_react48.default.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ import_react48.default.createElement(
14424
14235
  IconButton_default,
14425
14236
  {
14426
- onClick: () => __async(void 0, null, function* () {
14237
+ onClick: () => __async(null, null, function* () {
14427
14238
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14428
14239
  }),
14429
14240
  disabled: inProgress,
@@ -14444,7 +14255,7 @@ var NoiseCancellation = ({
14444
14255
  fontSize: "$xs",
14445
14256
  justifyContent: "space-between"
14446
14257
  },
14447
- onClick: (e) => __async(void 0, null, function* () {
14258
+ onClick: (e) => __async(null, null, function* () {
14448
14259
  e.preventDefault();
14449
14260
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14450
14261
  })
@@ -14457,7 +14268,7 @@ var NoiseCancellation = ({
14457
14268
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14458
14269
  disabled: inProgress,
14459
14270
  onClick: (e) => e.stopPropagation(),
14460
- onCheckedChange: (value) => __async(void 0, null, function* () {
14271
+ onCheckedChange: (value) => __async(null, null, function* () {
14461
14272
  yield setNoiseCancellationWithPlugin(value);
14462
14273
  })
14463
14274
  }
@@ -14471,7 +14282,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14471
14282
  {
14472
14283
  variant: "xs",
14473
14284
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14474
- onClick: () => __async(void 0, null, function* () {
14285
+ onClick: () => __async(null, null, function* () {
14475
14286
  var _a8;
14476
14287
  if (playing) {
14477
14288
  return;
@@ -14537,7 +14348,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14537
14348
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14538
14349
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14539
14350
  (0, import_react48.useEffect)(() => {
14540
- (() => __async(void 0, null, function* () {
14351
+ (() => __async(null, null, function* () {
14541
14352
  var _a8;
14542
14353
  const isEnabledForRoom = (_a8 = vanillaStore.getState(import_react_sdk16.selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14543
14354
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14614,7 +14425,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14614
14425
  ) : 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
14426
  IconButton_default,
14616
14427
  {
14617
- onClick: () => __async(void 0, null, function* () {
14428
+ onClick: () => __async(null, null, function* () {
14618
14429
  try {
14619
14430
  yield actions.switchCamera();
14620
14431
  } catch (e) {
@@ -14767,7 +14578,7 @@ var useMobileHLSStream = () => {
14767
14578
  };
14768
14579
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14769
14580
  const handleKeyEvent = (0, import_react52.useCallback)(
14770
- (event) => __async(void 0, null, function* () {
14581
+ (event) => __async(null, null, function* () {
14771
14582
  switch (event.key) {
14772
14583
  case " ":
14773
14584
  if (isPaused) {
@@ -14799,7 +14610,7 @@ var useRecordingHandler = () => {
14799
14610
  }
14800
14611
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14801
14612
  const startRecording = (0, import_react52.useCallback)(
14802
- (resolution = null) => __async(void 0, null, function* () {
14613
+ (resolution = null) => __async(null, null, function* () {
14803
14614
  try {
14804
14615
  setRecordingState(true);
14805
14616
  setIsRecordingLoading(true);
@@ -14885,7 +14696,7 @@ var EmojiReaction = ({ showCard = false }) => {
14885
14696
  const { sendEvent } = (0, import_react_sdk19.useCustomEvent)({
14886
14697
  type: EMOJI_REACTION_TYPE
14887
14698
  });
14888
- const sendReaction = (emojiId) => __async(void 0, null, function* () {
14699
+ const sendReaction = (emojiId) => __async(null, null, function* () {
14889
14700
  var _a8;
14890
14701
  const data3 = {
14891
14702
  type: EMOJI_REACTION_TYPE,
@@ -14966,7 +14777,7 @@ var EndSessionContent = ({
14966
14777
  {
14967
14778
  variant: "danger",
14968
14779
  css: { w: "100%" },
14969
- onClick: () => __async(void 0, null, function* () {
14780
+ onClick: () => __async(null, null, function* () {
14970
14781
  yield leaveRoom({ endStream: true });
14971
14782
  setShowEndStreamAlert(false);
14972
14783
  }),
@@ -15053,7 +14864,7 @@ var LeaveSessionContent = ({
15053
14864
  {
15054
14865
  variant: "danger",
15055
14866
  css: { w: "100%" },
15056
- onClick: () => __async(void 0, null, function* () {
14867
+ onClick: () => __async(null, null, function* () {
15057
14868
  yield leaveRoom({ sendReason: true });
15058
14869
  }),
15059
14870
  id: "leaveRoom",
@@ -15124,7 +14935,7 @@ var DesktopLeaveRoom = ({
15124
14935
  bg: "",
15125
14936
  titleColor: "$on_surface_high",
15126
14937
  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* () {
14938
+ onClick: () => __async(null, null, function* () {
15128
14939
  return yield leaveRoom({ sendReason: true });
15129
14940
  }),
15130
14941
  css: { p: "$8 $4" }
@@ -15215,7 +15026,7 @@ var MwebLeaveRoom = ({
15215
15026
  bg: "$surface_default",
15216
15027
  titleColor: "$on_surface_high",
15217
15028
  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* () {
15029
+ onClick: () => __async(null, null, function* () {
15219
15030
  return yield leaveRoom({ sendReason: true });
15220
15031
  }),
15221
15032
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15281,7 +15092,7 @@ var LeaveRoom = ({
15281
15092
  const hmsActions = (0, import_react_sdk22.useHMSActions)();
15282
15093
  const isMobileHLSStream = useMobileHLSStream();
15283
15094
  const isLandscapeHLSStream = useLandscapeHLSStream();
15284
- const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15095
+ const stopStream = (stop_reason = "") => __async(null, null, function* () {
15285
15096
  try {
15286
15097
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15287
15098
  console.log("Stopping HLS stream");
@@ -15293,10 +15104,10 @@ var LeaveRoom = ({
15293
15104
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15294
15105
  }
15295
15106
  });
15296
- const endRoom = () => __async(void 0, null, function* () {
15107
+ const endRoom = () => __async(null, null, function* () {
15297
15108
  yield hmsActions.endRoom(false, "End Room");
15298
15109
  });
15299
- const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15110
+ const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15300
15111
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15301
15112
  yield stopStream(options.sendReason ? "last publisher left" : "");
15302
15113
  }
@@ -15522,7 +15333,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15522
15333
  const hmsActions = (0, import_react_sdk25.useHMSActions)();
15523
15334
  const blacklistedIDs = (0, import_react_sdk25.useHMSStore)((0, import_react_sdk25.selectSessionStore)(sessionStoreKey));
15524
15335
  const blacklistItem = (0, import_react63.useCallback)(
15525
- (blacklistID) => __async(void 0, null, function* () {
15336
+ (blacklistID) => __async(null, null, function* () {
15526
15337
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15527
15338
  }),
15528
15339
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15543,7 +15354,7 @@ var usePinnedMessages = () => {
15543
15354
  const hmsActions = (0, import_react_sdk26.useHMSActions)();
15544
15355
  const vanillaStore = (0, import_react_sdk26.useHMSVanillaStore)();
15545
15356
  const setPinnedMessages = (0, import_react64.useCallback)(
15546
- (message, pinnedBy) => __async(void 0, null, function* () {
15357
+ (message, pinnedBy) => __async(null, null, function* () {
15547
15358
  const peerName = vanillaStore.getState((0, import_react_sdk26.selectPeerNameByID)(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15548
15359
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15549
15360
  if (message && peerName) {
@@ -15559,7 +15370,7 @@ var usePinnedMessages = () => {
15559
15370
  [hmsActions, vanillaStore]
15560
15371
  );
15561
15372
  const removePinnedMessage = (0, import_react64.useCallback)(
15562
- (indexToRemove) => __async(void 0, null, function* () {
15373
+ (indexToRemove) => __async(null, null, function* () {
15563
15374
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15564
15375
  if (pinnedMessages[indexToRemove]) {
15565
15376
  yield hmsActions.sessionStore.set(
@@ -15571,7 +15382,7 @@ var usePinnedMessages = () => {
15571
15382
  [hmsActions, vanillaStore]
15572
15383
  );
15573
15384
  const unpinBlacklistedMessages = (0, import_react64.useCallback)(
15574
- (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15385
+ (blacklistedMessageIDSet) => __async(null, null, function* () {
15575
15386
  const pinnedMessages = vanillaStore.getState((0, import_react_sdk26.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15576
15387
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15577
15388
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15669,7 +15480,7 @@ var ChatActions = ({
15669
15480
  hide: {
15670
15481
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15671
15482
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.EyeCloseIcon, { style: iconStyle }),
15672
- onClick: () => __async(void 0, null, function* () {
15483
+ onClick: () => __async(null, null, function* () {
15673
15484
  blacklistMessage(message.id);
15674
15485
  updatePinnedMessages(message.id);
15675
15486
  }),
@@ -15678,7 +15489,7 @@ var ChatActions = ({
15678
15489
  block: {
15679
15490
  text: "Block from chat",
15680
15491
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.CrossCircleIcon, { style: iconStyle }),
15681
- onClick: () => __async(void 0, null, function* () {
15492
+ onClick: () => __async(null, null, function* () {
15682
15493
  if (message.senderUserId) {
15683
15494
  blacklistPeer(message.senderUserId);
15684
15495
  }
@@ -15691,7 +15502,7 @@ var ChatActions = ({
15691
15502
  icon: /* @__PURE__ */ import_react65.default.createElement(import_react_icons21.PeopleRemoveIcon, { style: iconStyle }),
15692
15503
  color: "$alert_error_default",
15693
15504
  show: !!canRemoveOthers && !sentByLocalPeer,
15694
- onClick: () => __async(void 0, null, function* () {
15505
+ onClick: () => __async(null, null, function* () {
15695
15506
  if (!message.sender) {
15696
15507
  return;
15697
15508
  }
@@ -15802,8 +15613,7 @@ var EmptyChat = () => {
15802
15613
  const isMobileHLSStream = useMobileHLSStream();
15803
15614
  const isLandscapeStream = useLandscapeHLSStream();
15804
15615
  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);
15616
+ 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
15617
  return /* @__PURE__ */ import_react66.default.createElement(
15808
15618
  Flex,
15809
15619
  {
@@ -15835,13 +15645,13 @@ var usePinnedBy = (messageId) => {
15835
15645
  const pinnedMessages = (0, import_react_sdk28.useHMSStore)((0, import_react_sdk28.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
15836
15646
  const [pinnedBy, setPinnedBy] = (0, import_react67.useState)("");
15837
15647
  (0, import_react67.useEffect)(() => {
15838
- let match18 = "";
15648
+ let match17 = "";
15839
15649
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
15840
15650
  if (pinnedMessage.id === messageId) {
15841
- match18 = pinnedMessage.pinnedBy;
15651
+ match17 = pinnedMessage.pinnedBy;
15842
15652
  }
15843
15653
  });
15844
- setPinnedBy(match18);
15654
+ setPinnedBy(match17);
15845
15655
  }, [messageId, pinnedMessages]);
15846
15656
  return pinnedBy;
15847
15657
  };
@@ -16290,8 +16100,7 @@ var PIPChat = () => {
16290
16100
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16291
16101
  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
16102
  const getChatStatus = (0, import_react69.useCallback)(() => {
16293
- if (isLocalPeerBlacklisted)
16294
- return "You've been blocked from sending messages";
16103
+ if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16295
16104
  if (!isChatEnabled)
16296
16105
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16297
16106
  return message_placeholder;
@@ -16607,7 +16416,7 @@ var RoleChangeContent = ({
16607
16416
  "data-testid": "change_button",
16608
16417
  variant: "primary",
16609
16418
  css: { width: "100%" },
16610
- onClick: () => __async(void 0, null, function* () {
16419
+ onClick: () => __async(null, null, function* () {
16611
16420
  if (selectedRole) {
16612
16421
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16613
16422
  onOpenChange(false);
@@ -16889,7 +16698,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16889
16698
  "data-testid": "stop_recording_confirm_mobile",
16890
16699
  variant: "danger",
16891
16700
  icon: true,
16892
- onClick: () => __async(void 0, null, function* () {
16701
+ onClick: () => __async(null, null, function* () {
16893
16702
  try {
16894
16703
  yield hmsActions.stopRTMPAndRecording();
16895
16704
  } catch (error) {
@@ -16921,7 +16730,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16921
16730
  css: { ml: "auto" },
16922
16731
  type: "submit",
16923
16732
  disabled: recordingStarted || isStreamingOn,
16924
- onClick: () => __async(void 0, null, function* () {
16733
+ onClick: () => __async(null, null, function* () {
16925
16734
  yield startRecording(resolution);
16926
16735
  onOpenChange(false);
16927
16736
  })
@@ -17191,7 +17000,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17191
17000
  const [roleDialog, setRoleDialog] = (0, import_react76.useState)(false);
17192
17001
  const [errorMessage, setErrorMessage] = (0, import_react76.useState)("");
17193
17002
  const [isSubmiting, setIsSubmiting] = (0, import_react76.useState)(false);
17194
- const changeBulkRole = (0, import_react76.useCallback)(() => __async(void 0, null, function* () {
17003
+ const changeBulkRole = (0, import_react76.useCallback)(() => __async(null, null, function* () {
17195
17004
  if (selectedBulkRole.length > 0 && selectedRole) {
17196
17005
  try {
17197
17006
  setIsSubmiting(true);
@@ -17362,7 +17171,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17362
17171
  variant: isTranscriptionEnabled ? "danger" : "primary",
17363
17172
  css: { width: "100%" },
17364
17173
  "data-testid": "popup_change_btn",
17365
- onClick: () => __async(void 0, null, function* () {
17174
+ onClick: () => __async(null, null, function* () {
17366
17175
  try {
17367
17176
  if (isTranscriptionEnabled) {
17368
17177
  yield actions.stopTranscription({
@@ -17435,7 +17244,7 @@ var import_react79 = require("react");
17435
17244
  var import_screenfull = __toESM(require("screenfull"));
17436
17245
  var useFullscreen = () => {
17437
17246
  const [isFullScreenEnabled, setIsFullScreenEnabled] = (0, import_react79.useState)(import_screenfull.default.isFullscreen);
17438
- const toggle = (0, import_react79.useCallback)(() => __async(void 0, null, function* () {
17247
+ const toggle = (0, import_react79.useCallback)(() => __async(null, null, function* () {
17439
17248
  if (!import_screenfull.default.isEnabled) {
17440
17249
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17441
17250
  return;
@@ -17547,7 +17356,7 @@ var MuteAllModal = ({
17547
17356
  const [trackType, setTrackType] = (0, import_react82.useState)();
17548
17357
  const [selectedRole, setRole] = (0, import_react82.useState)();
17549
17358
  const [selectedSource, setSource] = (0, import_react82.useState)();
17550
- const muteAll = (0, import_react82.useCallback)(() => __async(void 0, null, function* () {
17359
+ const muteAll = (0, import_react82.useCallback)(() => __async(null, null, function* () {
17551
17360
  yield hmsActions.setRemoteTracksEnabled({
17552
17361
  enabled,
17553
17362
  type: trackType,
@@ -17585,7 +17394,7 @@ var useMyMetadata = () => {
17585
17394
  const vanillaStore = (0, import_react_sdk38.useHMSVanillaStore)();
17586
17395
  const metaData = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17587
17396
  const isHandRaised = (0, import_react_sdk38.useHMSStore)((0, import_react_sdk38.selectHasPeerHandRaised)(localPeerId));
17588
- const update = (updatedFields) => __async(void 0, null, function* () {
17397
+ const update = (updatedFields) => __async(null, null, function* () {
17589
17398
  try {
17590
17399
  const currentMetadata = vanillaStore.getState((0, import_react_sdk38.selectPeerMetadata)(localPeerId));
17591
17400
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17595,7 +17404,7 @@ var useMyMetadata = () => {
17595
17404
  }
17596
17405
  return false;
17597
17406
  });
17598
- const toggleHandRaise = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17407
+ const toggleHandRaise = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17599
17408
  if (isHandRaised) {
17600
17409
  yield hmsActions.lowerLocalPeerHand();
17601
17410
  yield update({ handRaisedAt: void 0 });
@@ -17604,7 +17413,7 @@ var useMyMetadata = () => {
17604
17413
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17605
17414
  }
17606
17415
  }), [isHandRaised]);
17607
- const toggleBRB = (0, import_react83.useCallback)(() => __async(void 0, null, function* () {
17416
+ const toggleBRB = (0, import_react83.useCallback)(() => __async(null, null, function* () {
17608
17417
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17609
17418
  yield update({ isBRBOn: newValue });
17610
17419
  if (newValue) {
@@ -17688,8 +17497,7 @@ var usePIPChat = () => {
17688
17497
  "click",
17689
17498
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17690
17499
  );
17691
- } else if (messageId)
17692
- observer.observe(message);
17500
+ } else if (messageId) observer.observe(message);
17693
17501
  });
17694
17502
  }
17695
17503
  });
@@ -17697,7 +17505,7 @@ var usePIPChat = () => {
17697
17505
  mutationObserver.observe(chatContainer, {
17698
17506
  childList: true
17699
17507
  });
17700
- const sendMessage = () => __async(void 0, null, function* () {
17508
+ const sendMessage = () => __async(null, null, function* () {
17701
17509
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17702
17510
  if (selection === "Everyone") {
17703
17511
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17715,8 +17523,7 @@ var usePIPChat = () => {
17715
17523
  }
17716
17524
  });
17717
17525
  const sendOnEnter = (e) => {
17718
- if (e.key === "Enter")
17719
- sendMessage();
17526
+ if (e.key === "Enter") sendMessage();
17720
17527
  };
17721
17528
  sendBtn.addEventListener("click", sendMessage);
17722
17529
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17828,7 +17635,7 @@ var DesktopOptions = ({
17828
17635
  PIPChatOption,
17829
17636
  {
17830
17637
  showPIPChat: showPipChatOption,
17831
- openChat: () => __async(void 0, null, function* () {
17638
+ openChat: () => __async(null, null, function* () {
17832
17639
  isChatOpen && toggleChat();
17833
17640
  yield requestPipWindow(350, 500);
17834
17641
  })
@@ -18083,8 +17890,7 @@ var enumerize = function(arr) {
18083
17890
  var has = function(str1, str2) {
18084
17891
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
18085
17892
  for (var i in str1) {
18086
- if (lowerize(str2) == lowerize(str1[i]))
18087
- return true;
17893
+ if (lowerize(str2) == lowerize(str1[i])) return true;
18088
17894
  }
18089
17895
  return false;
18090
17896
  }
@@ -18099,8 +17905,7 @@ var isString = function(val) {
18099
17905
  return typeof val === TYPEOF.STRING;
18100
17906
  };
18101
17907
  var itemListToArray = function(header) {
18102
- if (!header)
18103
- return void 0;
17908
+ if (!header) return void 0;
18104
17909
  var arr = [];
18105
17910
  var tokens = strip(/\\?\"/g, header).split(",");
18106
17911
  for (var i = 0; i < tokens.length; i++) {
@@ -18121,8 +17926,7 @@ var majorize = function(version) {
18121
17926
  };
18122
17927
  var setProps = function(arr) {
18123
17928
  for (var i in arr) {
18124
- if (!arr.hasOwnProperty(i))
18125
- continue;
17929
+ if (!arr.hasOwnProperty(i)) continue;
18126
17930
  var propName = arr[i];
18127
17931
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
18128
17932
  this[propName[0]] = propName[1];
@@ -18143,9 +17947,8 @@ var trim = function(str, len) {
18143
17947
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
18144
17948
  };
18145
17949
  var rgxMapper = function(ua2, arrays) {
18146
- if (!ua2 || !arrays)
18147
- return;
18148
- var i = 0, j, k2, p, q2, matches, match18;
17950
+ if (!ua2 || !arrays) return;
17951
+ var i = 0, j, k2, p, q2, matches, match17;
18149
17952
  while (i < arrays.length && !matches) {
18150
17953
  var regex = arrays[i], props = arrays[i + 1];
18151
17954
  j = k2 = 0;
@@ -18156,34 +17959,34 @@ var rgxMapper = function(ua2, arrays) {
18156
17959
  matches = regex[j++].exec(ua2);
18157
17960
  if (!!matches) {
18158
17961
  for (p = 0; p < props.length; p++) {
18159
- match18 = matches[++k2];
17962
+ match17 = matches[++k2];
18160
17963
  q2 = props[p];
18161
17964
  if (typeof q2 === TYPEOF.OBJECT && q2.length > 0) {
18162
17965
  if (q2.length === 2) {
18163
17966
  if (typeof q2[1] == TYPEOF.FUNCTION) {
18164
- this[q2[0]] = q2[1].call(this, match18);
17967
+ this[q2[0]] = q2[1].call(this, match17);
18165
17968
  } else {
18166
17969
  this[q2[0]] = q2[1];
18167
17970
  }
18168
17971
  } else if (q2.length >= 3) {
18169
17972
  if (typeof q2[1] === TYPEOF.FUNCTION && !(q2[1].exec && q2[1].test)) {
18170
17973
  if (q2.length > 3) {
18171
- this[q2[0]] = match18 ? q2[1].apply(this, q2.slice(2)) : void 0;
17974
+ this[q2[0]] = match17 ? q2[1].apply(this, q2.slice(2)) : void 0;
18172
17975
  } else {
18173
- this[q2[0]] = match18 ? q2[1].call(this, match18, q2[2]) : void 0;
17976
+ this[q2[0]] = match17 ? q2[1].call(this, match17, q2[2]) : void 0;
18174
17977
  }
18175
17978
  } else {
18176
17979
  if (q2.length == 3) {
18177
- this[q2[0]] = match18 ? match18.replace(q2[1], q2[2]) : void 0;
17980
+ this[q2[0]] = match17 ? match17.replace(q2[1], q2[2]) : void 0;
18178
17981
  } else if (q2.length == 4) {
18179
- this[q2[0]] = match18 ? q2[3].call(this, match18.replace(q2[1], q2[2])) : void 0;
17982
+ this[q2[0]] = match17 ? q2[3].call(this, match17.replace(q2[1], q2[2])) : void 0;
18180
17983
  } else if (q2.length > 4) {
18181
- this[q2[0]] = match18 ? q2[3].apply(this, [match18.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
17984
+ this[q2[0]] = match17 ? q2[3].apply(this, [match17.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
18182
17985
  }
18183
17986
  }
18184
17987
  }
18185
17988
  } else {
18186
- this[q2] = match18 ? match18 : void 0;
17989
+ this[q2] = match17 ? match17 : void 0;
18187
17990
  }
18188
17991
  }
18189
17992
  }
@@ -19473,7 +19276,7 @@ var defaultRegexes = {
19473
19276
  [NAME, VERSION]
19474
19277
  ]
19475
19278
  };
19476
- var defaultProps = function() {
19279
+ var defaultProps = (function() {
19477
19280
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19478
19281
  setProps.call(props.init, [
19479
19282
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19499,7 +19302,7 @@ var defaultProps = function() {
19499
19302
  [OS, [NAME, VERSION]]
19500
19303
  ]);
19501
19304
  return props;
19502
- }();
19305
+ })();
19503
19306
  var createIData = function(item, itemType) {
19504
19307
  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
19308
  function IData() {
@@ -19525,8 +19328,7 @@ var createIData = function(item, itemType) {
19525
19328
  for (var i in this) {
19526
19329
  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
19330
  is2 = true;
19528
- if (strToCheck != TYPEOF.UNDEFINED)
19529
- break;
19331
+ if (strToCheck != TYPEOF.UNDEFINED) break;
19530
19332
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19531
19333
  is2 = !is2;
19532
19334
  break;
@@ -19582,15 +19384,13 @@ function UACHData(uach, isHttpUACH) {
19582
19384
  ]);
19583
19385
  } else {
19584
19386
  for (var prop in uach) {
19585
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19586
- this[prop] = uach[prop];
19387
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19587
19388
  }
19588
19389
  }
19589
19390
  }
19590
19391
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19591
19392
  this.get = function(prop) {
19592
- if (!prop)
19593
- return this.data;
19393
+ if (!prop) return this.data;
19594
19394
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19595
19395
  };
19596
19396
  this.set = function(prop, val) {
@@ -19677,8 +19477,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19677
19477
  case CPU:
19678
19478
  var archName = uaCH2[ARCHITECTURE];
19679
19479
  if (archName) {
19680
- if (archName && uaCH2[BITNESS] == "64")
19681
- archName += "64";
19480
+ if (archName && uaCH2[BITNESS] == "64") archName += "64";
19682
19481
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19683
19482
  }
19684
19483
  break;
@@ -19716,8 +19515,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19716
19515
  var osName = uaCH2[PLATFORM];
19717
19516
  if (osName) {
19718
19517
  var osVersion = uaCH2[PLATFORMVER];
19719
- if (osName == WINDOWS)
19720
- osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19518
+ if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19721
19519
  this.set(NAME, osName).set(VERSION, osVersion);
19722
19520
  }
19723
19521
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19809,8 +19607,7 @@ function UAParser(ua2, extensions, headers) {
19809
19607
  return userAgent;
19810
19608
  }],
19811
19609
  ["setUA", function(ua3) {
19812
- if (isString(ua3))
19813
- userAgent = trim(ua3, UA_MAX_LENGTH);
19610
+ if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19814
19611
  return this;
19815
19612
  }]
19816
19613
  ]).setUA(userAgent);
@@ -19839,8 +19636,8 @@ init_define_process_env();
19839
19636
  var logDisabled_ = true;
19840
19637
  var deprecationWarnings_ = true;
19841
19638
  function extractVersion(uastring, expr, pos) {
19842
- const match18 = uastring.match(expr);
19843
- return match18 && match18.length >= pos && parseInt(match18[pos], 10);
19639
+ const match17 = uastring.match(expr);
19640
+ return match17 && match17.length >= pos && parseInt(match17[pos], 10);
19844
19641
  }
19845
19642
  function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
19846
19643
  if (!window2.RTCPeerConnection) {
@@ -20142,7 +19939,7 @@ function shimGetUserMedia(window2, browserDetails) {
20142
19939
  if (matches) {
20143
19940
  return navigator2.mediaDevices.enumerateDevices().then((devices) => {
20144
19941
  devices = devices.filter((d) => d.kind === "videoinput");
20145
- let dev = devices.find((d) => matches.some((match18) => d.label.toLowerCase().includes(match18)));
19942
+ let dev = devices.find((d) => matches.some((match17) => d.label.toLowerCase().includes(match17)));
20146
19943
  if (!dev && devices.length && matches.includes("back")) {
20147
19944
  dev = devices[devices.length - 1];
20148
19945
  }
@@ -21569,11 +21366,11 @@ function shimMaxMessageSize(window2, browserDetails) {
21569
21366
  });
21570
21367
  };
21571
21368
  const getRemoteFirefoxVersion = function(description) {
21572
- const match18 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21573
- if (match18 === null || match18.length < 2) {
21369
+ const match17 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21370
+ if (match17 === null || match17.length < 2) {
21574
21371
  return -1;
21575
21372
  }
21576
- const version = parseInt(match18[1], 10);
21373
+ const version = parseInt(match17[1], 10);
21577
21374
  return version !== version ? -1 : version;
21578
21375
  };
21579
21376
  const getCanSendMaxMessageSize = function(remoteIsFirefox) {
@@ -21598,12 +21395,12 @@ function shimMaxMessageSize(window2, browserDetails) {
21598
21395
  if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
21599
21396
  maxMessageSize = 65535;
21600
21397
  }
21601
- const match18 = import_sdp.default.matchPrefix(
21398
+ const match17 = import_sdp.default.matchPrefix(
21602
21399
  description.sdp,
21603
21400
  "a=max-message-size:"
21604
21401
  );
21605
- if (match18.length > 0) {
21606
- maxMessageSize = parseInt(match18[0].substring(19), 10);
21402
+ if (match17.length > 0) {
21403
+ maxMessageSize = parseInt(match17[0].substring(19), 10);
21607
21404
  } else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
21608
21405
  maxMessageSize = 2147483637;
21609
21406
  }
@@ -21933,63 +21730,56 @@ var ti = __toESM(require_lib());
21933
21730
  var import_eventemitter24 = __toESM(require("eventemitter2"));
21934
21731
  var import_uuid9 = require("uuid");
21935
21732
  var import_uuid10 = require("uuid");
21936
- var Eo = Object.defineProperty;
21937
- var Po = Object.defineProperties;
21938
- var bo = Object.getOwnPropertyDescriptors;
21733
+ var En = Object.defineProperty;
21734
+ var Pn = Object.defineProperties;
21735
+ var bn = Object.getOwnPropertyDescriptors;
21939
21736
  var di = Object.getOwnPropertySymbols;
21940
21737
  var ks = Object.prototype.hasOwnProperty;
21941
21738
  var Es = Object.prototype.propertyIsEnumerable;
21942
- var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21739
+ var ys = (a2, e, t) => e in a2 ? En(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21943
21740
  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]);
21741
+ for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21742
+ if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
21949
21743
  return a2;
21950
21744
  };
21951
- var M = (a2, e) => Po(a2, bo(e));
21745
+ var M = (a2, e) => Pn(a2, bn(e));
21952
21746
  var Ar = (a2, e) => {
21953
21747
  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]);
21748
+ for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21749
+ if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21959
21750
  return t;
21960
21751
  };
21961
- var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21752
+ var Rn = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21962
21753
  var c = (a2, e, t) => new Promise((i, r) => {
21963
21754
  var s = (d) => {
21964
21755
  try {
21965
- n(t.next(d));
21756
+ o(t.next(d));
21966
21757
  } catch (u) {
21967
21758
  r(u);
21968
21759
  }
21969
- }, o = (d) => {
21760
+ }, n = (d) => {
21970
21761
  try {
21971
- n(t.throw(d));
21762
+ o(t.throw(d));
21972
21763
  } catch (u) {
21973
21764
  r(u);
21974
21765
  }
21975
- }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21976
- n((t = t.apply(a2, e)).next());
21766
+ }, o = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, n);
21767
+ o((t = t.apply(a2, e)).next());
21977
21768
  });
21978
- var _r = Ro((gd, xo) => {
21979
- xo.exports = { version: "0.13.3-alpha.8", 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"] };
21769
+ var _r = Rn((gd, xn) => {
21770
+ xn.exports = { version: "0.13.3", 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
21771
  });
21981
- 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
- var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
21772
+ var Rr = ((o) => (o.Disconnected = "Disconnected", o.Preview = "Preview", o.Connecting = "Connecting", o.Connected = "Connected", o.Reconnecting = "Reconnecting", o.Disconnecting = "Disconnecting", o.Failed = "Failed", o))(Rr || {});
21773
+ var Hn = ((e) => (e.CHAT = "chat", e))(Hn || {});
21983
21774
  var Ps = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Ps || {});
21984
21775
  var Hr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Hr || {});
21985
21776
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
21986
21777
  function We(a2, e) {
21987
21778
  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
- }
21779
+ if (e) for (let r of e.auxiliaryTracks) {
21780
+ let s = a2[r];
21781
+ Cn(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21782
+ }
21993
21783
  return { video: t, audio: i };
21994
21784
  }
21995
21785
  function vt(a2) {
@@ -21998,7 +21788,7 @@ function vt(a2) {
21998
21788
  function Mt(a2) {
21999
21789
  return a2 && a2.type === "video";
22000
21790
  }
22001
- function Co(a2) {
21791
+ function Cn(a2) {
22002
21792
  return a2 && a2.source === "screen";
22003
21793
  }
22004
21794
  function pi(a2) {
@@ -22019,7 +21809,7 @@ function kt(a2) {
22019
21809
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
22020
21810
  }
22021
21811
  var Rs = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(Rs || {});
22022
- var Lo = typeof window != "undefined" && typeof window.expect != "undefined";
21812
+ var Ln = typeof window != "undefined" && typeof window.expect != "undefined";
22023
21813
  var l = class {
22024
21814
  static v(e, ...t) {
22025
21815
  this.log(0, e, ...t);
@@ -22046,67 +21836,65 @@ var l = class {
22046
21836
  performance.clearMarks(), performance.clearMeasures();
22047
21837
  }
22048
21838
  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;
21839
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21840
+ case 0: {
21841
+ console.log(t, ...i);
21842
+ break;
21843
+ }
21844
+ case 1: {
21845
+ console.debug(t, ...i);
21846
+ break;
21847
+ }
21848
+ case 2: {
21849
+ console.info(t, ...i);
21850
+ break;
21851
+ }
21852
+ case 3: {
21853
+ console.warn(t, ...i);
21854
+ break;
21855
+ }
21856
+ case 6: {
21857
+ console.error(t, ...i);
21858
+ break;
21859
+ }
21860
+ case 4: {
21861
+ performance.mark(i[0]);
21862
+ break;
21863
+ }
21864
+ case 5: {
21865
+ let r = i[0];
21866
+ try {
21867
+ let s = performance.measure(r, r);
21868
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
21869
+ } catch (s) {
21870
+ this.log(1, t, r, s);
22084
21871
  }
21872
+ break;
22085
21873
  }
21874
+ }
22086
21875
  }
22087
21876
  };
22088
- l.level = Lo ? 7 : 0;
21877
+ l.level = Ln ? 7 : 0;
22089
21878
  var Cr = new UAParser();
22090
21879
  var Et = null;
22091
21880
  var Lr = null;
22092
21881
  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
- }
21882
+ if (B) try {
21883
+ let a2 = Cr.getResult(), e = a2.withClientHints();
21884
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
21885
+ Et = t;
21886
+ }).catch(() => {
21887
+ Et = a2;
21888
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
21889
+ } catch (a2) {
21890
+ Et = Cr.getResult();
21891
+ }
22104
21892
  var we = () => Et || Cr.getResult();
22105
21893
  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
21894
  var Hs;
22107
21895
  var $e = typeof window == "undefined" && !((Hs = Se.getBrowser().name) != null && Hs.toLowerCase().includes("electron"));
22108
- var wo = () => !$e;
22109
- var Bc = wo();
21896
+ var wn = () => !$e;
21897
+ var Bc = wn();
22110
21898
  var Cs;
22111
21899
  var Ls;
22112
21900
  var Us = (Ls = (Cs = Se.getBrowser()) == null ? void 0 : Cs.name) == null ? void 0 : Ls.toLowerCase().includes("safari");
@@ -22117,23 +21905,23 @@ var _s;
22117
21905
  var Ns;
22118
21906
  var Vs = ((Ns = (_s = Se.getEngine()) == null ? void 0 : _s.name) == null ? void 0 : Ns.toLowerCase()) === "blink";
22119
21907
  var Fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Fs || {});
22120
- function _o() {
21908
+ function _n() {
22121
21909
  if (B && window) {
22122
21910
  let a2 = window.location.hostname;
22123
21911
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
22124
21912
  }
22125
21913
  return "CUSTOM";
22126
21914
  }
22127
- var et = _o();
21915
+ var et = _n();
22128
21916
  var k = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014, NO_DATA: 3015 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
22129
21917
  var E = class a extends Error {
22130
- constructor(t, i, r, s, o, n = false) {
21918
+ constructor(t, i, r, s, n, o = false) {
22131
21919
  super(s);
22132
21920
  this.code = t;
22133
21921
  this.name = i;
22134
21922
  this.message = s;
22135
- this.description = o;
22136
- this.isTerminal = n;
21923
+ this.description = n;
21924
+ this.isTerminal = o;
22137
21925
  Object.setPrototypeOf(this, a.prototype), this.action = r.toString();
22138
21926
  }
22139
21927
  toAnalyticsProperties() {
@@ -22156,13 +21944,13 @@ var E = class a extends Error {
22156
21944
  }
22157
21945
  };
22158
21946
  var q = class extends E {
22159
- constructor(t, i, r, s, o, n) {
22160
- super(t, i, r, s, o, false);
21947
+ constructor(t, i, r, s, n, o) {
21948
+ super(t, i, r, s, n, false);
22161
21949
  this.code = t;
22162
21950
  this.name = i;
22163
21951
  this.message = s;
22164
- this.description = o;
22165
- this.trackType = n;
21952
+ this.description = n;
21953
+ this.trackType = o;
22166
21954
  }
22167
21955
  toAnalyticsProperties() {
22168
21956
  return M(m({}, super.toAnalyticsProperties()), { track_type: this.trackType });
@@ -22182,7 +21970,7 @@ var q = class extends E {
22182
21970
  }
22183
21971
  };
22184
21972
  var Gs = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Gs || {});
22185
- var No = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21973
+ var Nn = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
22186
21974
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22187
21975
  return new E(k.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
22188
21976
  }, WebSocketConnectionLost(a2, e = "") {
@@ -22244,7 +22032,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22244
22032
  }, StatsFailed(a2, e = "") {
22245
22033
  return new E(k.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
22246
22034
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
22247
- return new E(a2, "ServerErrors", e, t, t, No.includes(e));
22035
+ return new E(a2, "ServerErrors", e, t, t, Nn.includes(e));
22248
22036
  }, AlreadyJoined(a2, e = "") {
22249
22037
  return new E(k.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
22250
22038
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -22309,8 +22097,7 @@ var wr = class {
22309
22097
  this.valuesMap.clear();
22310
22098
  }
22311
22099
  key(e) {
22312
- if (arguments.length === 0)
22313
- throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22100
+ if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22314
22101
  return Array.from(this.valuesMap.keys())[e];
22315
22102
  }
22316
22103
  get length() {
@@ -22360,11 +22147,10 @@ function $(a2) {
22360
22147
  }
22361
22148
  var qs = _r().version;
22362
22149
  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 });
22366
- 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 });
22150
+ let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22151
+ 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 });
22152
+ let r = Se.getOS(), s = Se.getDevice(), n = Se.getBrowser(), o = Nr(`web_${r.name}`), d = r.version || "", u = Nr(`${n.name}_${n.version}`), p = u;
22153
+ return s.type && (p = `${Nr(`${s.vendor}_${s.type}`)}/${u}`), js({ os: o, 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
22154
  }
22369
22155
  function Nr(a2) {
22370
22156
  return a2.replace(/ /g, "_");
@@ -22381,8 +22167,8 @@ var C = class {
22381
22167
  };
22382
22168
  var y = class {
22383
22169
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
22384
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
22385
- return new C({ name: o, level: n, properties: d });
22170
+ let n = this.eventNameFor("connect", e === void 0), o = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
22171
+ return new C({ name: n, level: o, properties: d });
22386
22172
  }
22387
22173
  static disconnect(e, t) {
22388
22174
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
@@ -22390,17 +22176,17 @@ var y = class {
22390
22176
  }
22391
22177
  static preview(i) {
22392
22178
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22393
- let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
22394
- return new C({ name: s, level: o, properties: n });
22179
+ let s = this.eventNameFor("preview", e === void 0), n = e ? 2 : 1, o = this.getPropertiesWithError(t, e);
22180
+ return new C({ name: s, level: n, properties: o });
22395
22181
  }
22396
22182
  static join(i) {
22397
22183
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22398
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
22399
- return new C({ name: s, level: o, properties: n });
22184
+ let s = this.eventNameFor("join", e === void 0), n = e ? 2 : 1, o = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
22185
+ return new C({ name: s, level: n, properties: o });
22400
22186
  }
22401
22187
  static publish({ devices: e, settings: t, error: i }) {
22402
- let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
22403
- return new C({ name: r, level: s, properties: o });
22188
+ let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, n = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
22189
+ return new C({ name: r, level: s, properties: n });
22404
22190
  }
22405
22191
  static hlsPlayerError(e) {
22406
22192
  return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
@@ -22425,8 +22211,8 @@ var y = class {
22425
22211
  return new C({ name: "permissionChanged", level: 1, properties: { message: `Perrmission for ${e} changed to ${t}` } });
22426
22212
  }
22427
22213
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
22428
- let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
22429
- return new C({ name: o, level: n, properties: d });
22214
+ let n = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), o = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
22215
+ return new C({ name: n, level: o, properties: d });
22430
22216
  }
22431
22217
  static performance(e) {
22432
22218
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
@@ -22443,8 +22229,8 @@ var y = class {
22443
22229
  static degradationStats(e, t) {
22444
22230
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
22445
22231
  if (!t && e.degradedAt instanceof Date) {
22446
- let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
22447
- s = M(m({}, s), { duration: n, restoredAt: o });
22232
+ let n = /* @__PURE__ */ new Date(), o = n.valueOf() - e.degradedAt.valueOf();
22233
+ s = M(m({}, s), { duration: o, restoredAt: n });
22448
22234
  }
22449
22235
  return new C({ name: i, level: r, properties: s });
22450
22236
  }
@@ -22496,24 +22282,21 @@ var Or = class {
22496
22282
  }
22497
22283
  setDevices(e) {
22498
22284
  var r;
22499
- if (this.devices = e, !this.remember)
22500
- return;
22285
+ if (this.devices = e, !this.remember) return;
22501
22286
  let t = this.storage.get();
22502
- if (!t)
22503
- return;
22287
+ if (!t) return;
22504
22288
  let i = ["audioInput", "videoInput", "audioOutput"];
22505
22289
  for (let s of i) {
22506
- let o = t[s];
22507
- o && ((r = e[s]) != null && r.some((d) => this.isSame(o, d)) || (l.w(this.TAG, `Removing ${s} device from storage as it's no longer available: ${o.deviceId}`), this.removeSelection(s)));
22290
+ let n = t[s];
22291
+ n && ((r = e[s]) != null && r.some((d) => this.isSame(n, d)) || (l.w(this.TAG, `Removing ${s} device from storage as it's no longer available: ${n.deviceId}`), this.removeSelection(s)));
22508
22292
  }
22509
22293
  }
22510
22294
  rememberDevices(e) {
22511
22295
  this.remember = e;
22512
22296
  }
22513
22297
  updateSelection(e, { deviceId: t, groupId: i }) {
22514
- if (!this.devices || !this.remember)
22515
- return;
22516
- let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22298
+ if (!this.devices || !this.remember) return;
22299
+ let r = this.devices[e].find((n) => this.isSame({ deviceId: t, groupId: i }, n));
22517
22300
  if (!r) {
22518
22301
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
22519
22302
  return;
@@ -22526,8 +22309,7 @@ var Or = class {
22526
22309
  t[e] && (delete t[e], this.storage.set(t));
22527
22310
  }
22528
22311
  getSelection() {
22529
- if (this.remember)
22530
- return this.storage.get();
22312
+ if (this.remember) return this.storage.get();
22531
22313
  }
22532
22314
  cleanup() {
22533
22315
  this.remember = false, this.devices = void 0;
@@ -22540,7 +22322,7 @@ var te = new Or();
22540
22322
  var xr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(xr || {});
22541
22323
  var Ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ur || {});
22542
22324
  var Br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Br || {});
22543
- var Js = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Js || {});
22325
+ var Js = ((o) => (o.NONE = "none", o.INITIALISED = "initialised", o.STARTED = "started", o.PAUSED = "paused", o.RESUMED = "resumed", o.STOPPED = "stopped", o.FAILED = "failed", o))(Js || {});
22544
22326
  var zs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(zs || {});
22545
22327
  var Ys = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ys || {});
22546
22328
  var Xs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Xs || {});
@@ -22575,8 +22357,7 @@ var jr = class {
22575
22357
  };
22576
22358
  this.handleIntersection = (e) => {
22577
22359
  var t;
22578
- for (let i of e)
22579
- (t = this.listeners.get(i.target)) == null || t(i);
22360
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22580
22361
  };
22581
22362
  this.createObserver();
22582
22363
  }
@@ -22585,7 +22366,7 @@ var jr = class {
22585
22366
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
22586
22367
  }
22587
22368
  };
22588
- var oa = new jr();
22369
+ var na = new jr();
22589
22370
  var Qr = class {
22590
22371
  constructor() {
22591
22372
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -22603,8 +22384,7 @@ var Qr = class {
22603
22384
  };
22604
22385
  this.handleResize = (e) => {
22605
22386
  var t;
22606
- for (let i of e)
22607
- (t = this.listeners.get(i.target)) == null || t(i);
22387
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22608
22388
  };
22609
22389
  this.createObserver();
22610
22390
  }
@@ -22613,7 +22393,7 @@ var Qr = class {
22613
22393
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
22614
22394
  }
22615
22395
  };
22616
- var na = new Qr();
22396
+ var oa = new Qr();
22617
22397
  var Jr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Jr || {});
22618
22398
  var zr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(zr || {});
22619
22399
  var la = "https://event.100ms.live/v2/client/report";
@@ -22622,91 +22402,86 @@ var Dt = Math.pow(2, 31) - 1;
22622
22402
  var ct = class {
22623
22403
  };
22624
22404
  ct.makePeerId = () => (0, import_uuid7.v4)();
22625
- var G = (a2) => a2.room;
22626
- var ln = (a2) => a2.errors;
22627
- var Gm = createSelector(ln, (a2) => a2.length === 0 ? null : a2.at(-1));
22628
- var Wm = createSelector(G, (a2) => a2.id);
22405
+ var F = (a2) => a2.room;
22406
+ var lo = (a2) => a2.errors;
22407
+ var Gm = createSelector(lo, (a2) => a2.length === 0 ? null : a2.at(-1));
22408
+ var Wm = createSelector(F, (a2) => a2.id);
22629
22409
  var Z = (a2) => a2.peers;
22630
22410
  var Ci = (a2) => a2.messages.byID;
22631
22411
  var Pa = (a2) => a2.messages.allIDs;
22632
22412
  var N = (a2) => a2.tracks;
22633
22413
  var is = (a2) => a2.appData;
22634
- var un = (a2) => a2.speakers;
22635
- var Fe = createSelector([G], (a2) => a2 && a2.isConnected);
22636
- var qm = createSelector([Fe, G], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
22637
- var pn = (a2) => a2.hideLocalPeer;
22638
- var Ee = createSelector([G, Z, pn], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22639
- var hn = createSelector(N, (a2) => Object.values(a2));
22640
- var ne = createSelector(G, Z, (a2, e) => e[a2.localPeer]);
22641
- var Ae = createSelector(G, (a2) => a2.localPeer);
22642
- var jm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.name);
22643
- var Qm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.roleName);
22644
- var me = createSelector(ne, (a2) => a2 == null ? void 0 : a2.audioTrack);
22645
- var ie = createSelector(ne, (a2) => a2 == null ? void 0 : a2.videoTrack);
22646
- var mn = createSelector(ne, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22647
- var Ia = createSelector([me, ie, mn], (a2, e, t) => {
22414
+ var uo = (a2) => a2.speakers;
22415
+ var Fe = createSelector([F], (a2) => a2 && a2.isConnected);
22416
+ var qm = createSelector([Fe, F], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
22417
+ var po = (a2) => a2.hideLocalPeer;
22418
+ var Ee = createSelector([F, Z, po], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22419
+ var ho = createSelector(N, (a2) => Object.values(a2));
22420
+ var oe = createSelector(F, Z, (a2, e) => e[a2.localPeer]);
22421
+ var Ae = createSelector(F, (a2) => a2.localPeer);
22422
+ var jm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.name);
22423
+ var Qm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.roleName);
22424
+ var me = createSelector(oe, (a2) => a2 == null ? void 0 : a2.audioTrack);
22425
+ var ie = createSelector(oe, (a2) => a2 == null ? void 0 : a2.videoTrack);
22426
+ var mo = createSelector(oe, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22427
+ var Ia = createSelector([me, ie, mo], (a2, e, t) => {
22648
22428
  let i = t ? [...t] : [];
22649
22429
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22650
22430
  });
22651
22431
  var Jm = createSelector(Ee, (a2) => a2.filter((e) => !e.isLocal));
22652
- var zm = createSelector(Z, un, (a2, e) => {
22432
+ var zm = createSelector(Z, uo, (a2, e) => {
22653
22433
  let t = Object.entries(e).sort((i, r) => {
22654
- var n, d;
22655
- let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
22434
+ var o, d;
22435
+ let s = ((o = i[1]) == null ? void 0 : o.audioLevel) || 0;
22656
22436
  return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
22657
22437
  });
22658
22438
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22659
22439
  let i = t[0][1].peerID;
22660
- if (i in a2)
22661
- return a2[i];
22440
+ if (i in a2) return a2[i];
22662
22441
  }
22663
22442
  return null;
22664
22443
  });
22665
- var ss = createSelector(ne, N, (a2, e) => {
22444
+ var ss = createSelector(oe, N, (a2, e) => {
22666
22445
  let { video: t, audio: i } = We(e, a2);
22667
22446
  return !!(t || i);
22668
22447
  });
22669
- var Sn = createSelector(Z, N, (a2, e) => {
22448
+ var So = createSelector(Z, N, (a2, e) => {
22670
22449
  let t;
22671
22450
  for (let i in a2) {
22672
- let r = a2[i], { video: s, audio: o } = We(e, r);
22673
- if (s)
22674
- return r;
22675
- o && !t && (t = r);
22451
+ let r = a2[i], { video: s, audio: n } = We(e, r);
22452
+ if (s) return r;
22453
+ n && !t && (t = r);
22676
22454
  }
22677
22455
  return t;
22678
22456
  });
22679
- var Xm = createSelector(Sn, (a2) => !!a2);
22457
+ var Xm = createSelector(So, (a2) => !!a2);
22680
22458
  var Zm = createSelector(Z, N, (a2, e) => {
22681
22459
  for (let t in a2) {
22682
22460
  let i = a2[t], { audio: r, video: s } = We(e, i);
22683
- if (!s && r)
22684
- return i;
22461
+ if (!s && r) return i;
22685
22462
  }
22686
22463
  });
22687
22464
  var eS = createSelector(Z, N, (a2, e) => {
22688
22465
  let t = [], i = [];
22689
22466
  for (let r in a2) {
22690
- let s = a2[r], { video: o, audio: n } = We(e, s);
22691
- o ? t.push(s) : n && i.push(s);
22467
+ let s = a2[r], { video: n, audio: o } = We(e, s);
22468
+ n ? t.push(s) : o && i.push(s);
22692
22469
  }
22693
22470
  return t.concat(i);
22694
22471
  });
22695
22472
  var tS = createSelector(Z, N, (a2, e) => {
22696
22473
  for (let t in e) {
22697
22474
  let i = e[t];
22698
- if (yt(i) && Mt(i) && i.peerId)
22699
- return a2[i.peerId];
22475
+ if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22700
22476
  }
22701
22477
  });
22702
22478
  var iS = createSelector(Z, N, (a2, e) => {
22703
22479
  for (let t in e) {
22704
22480
  let i = e[t];
22705
- if (pi(i) && i.peerId)
22706
- return a2[i.peerId];
22481
+ if (pi(i) && i.peerId) return a2[i.peerId];
22707
22482
  }
22708
22483
  });
22709
- var rS = createSelector(hn, (a2) => a2.filter(Is));
22484
+ var rS = createSelector(ho, (a2) => a2.filter(Is));
22710
22485
  var sS = createSelector(Pa, (a2) => a2.length);
22711
22486
  var aS = createSelector(Ci, (a2) => Object.values(a2).filter((e) => !e.read).length);
22712
22487
  var Ot = createSelector(Pa, Ci, (a2, e) => {
@@ -22715,42 +22490,49 @@ var Ot = createSelector(Pa, Ci, (a2, e) => {
22715
22490
  t.push(e[i]);
22716
22491
  }), t;
22717
22492
  });
22718
- var gn = createSelector(Ot, (a2) => a2.filter((e) => {
22493
+ var go = createSelector(Ot, (a2) => a2.filter((e) => {
22719
22494
  var t;
22720
22495
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22721
22496
  }));
22722
- var oS = createSelector(gn, (a2) => a2.filter((e) => !e.read).length);
22723
- var ce = createSelector([G], (a2) => a2 && a2.roomState);
22497
+ var nS = createSelector(go, (a2) => a2.filter((e) => !e.read).length);
22498
+ var ce = createSelector([F], (a2) => a2 && a2.roomState);
22724
22499
  var Ra = createSelector(ce, (a2) => a2 === "Preview");
22725
- var nS = createSelector(G, (a2) => a2.roomState !== "Disconnected");
22726
- var cS = createSelector(G, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22500
+ var oS = createSelector(F, (a2) => a2.roomState !== "Disconnected");
22501
+ var cS = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22727
22502
  var Pe = (a2) => a2.roles;
22728
22503
  var dS = createSelector([Pe], (a2) => Object.keys(a2));
22729
- var lt = createSelector([ne, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22730
- var Tn = (a2) => {
22504
+ var lt = createSelector([oe, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22505
+ var To = (a2) => {
22731
22506
  var e;
22732
22507
  return (e = a2.preview) == null ? void 0 : e.asRole;
22733
22508
  };
22734
- var Ha = createSelector([Tn, Pe], (a2, e) => a2 ? e[a2] : null);
22509
+ var Ha = createSelector([To, Pe], (a2, e) => a2 ? e[a2] : null);
22735
22510
  var lS = createSelector([lt], (a2) => {
22736
22511
  var e;
22737
22512
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22738
22513
  });
22739
22514
  var Ca = createSelector(lt, (a2) => a2 == null ? void 0 : a2.permissions);
22740
- var uS = createSelector(G, (a2) => a2.recording);
22741
- var pS = createSelector(G, (a2) => a2.rtmp);
22742
- var hS = createSelector(G, (a2) => a2.hls);
22743
- var mS = createSelector(G, (a2) => a2.transcriptions);
22744
- var SS = createSelector(G, (a2) => a2.sessionId);
22745
- var gS = createSelector(G, (a2) => a2.startedAt);
22746
- var TS = createSelector(G, (a2) => !!a2.isLargeRoom);
22747
- var fS = createSelector(G, (a2) => !!a2.isEffectsEnabled);
22748
- var vS = createSelector(G, (a2) => !!a2.isVBEnabled);
22749
- var MS = createSelector(G, (a2) => a2.effectsKey);
22515
+ var uS = createSelector(F, (a2) => a2.recording);
22516
+ var pS = createSelector(F, (a2) => a2.rtmp);
22517
+ var hS = createSelector(F, (a2) => a2.hls);
22518
+ var mS = createSelector(F, (a2) => a2.transcriptions);
22519
+ var SS = createSelector(F, (a2) => {
22520
+ var i, r;
22521
+ let e = (i = a2.transcriptions) == null ? void 0 : i.find((s) => s.mode === "caption");
22522
+ if (e != null && e.translation) return { available: true, enabled: e.translation.enabled, roleLanguages: e.translation.roleLanguages };
22523
+ let t = (r = a2.translationConfig) == null ? void 0 : r.caption;
22524
+ return t ? { available: true, enabled: false, roleLanguages: t.roleLanguages } : { available: false, enabled: false, roleLanguages: void 0 };
22525
+ });
22526
+ var gS = createSelector(F, (a2) => a2.sessionId);
22527
+ var TS = createSelector(F, (a2) => a2.startedAt);
22528
+ var fS = createSelector(F, (a2) => !!a2.isLargeRoom);
22529
+ var vS = createSelector(F, (a2) => !!a2.isEffectsEnabled);
22530
+ var MS = createSelector(F, (a2) => !!a2.isVBEnabled);
22531
+ var yS = createSelector(F, (a2) => a2.effectsKey);
22750
22532
  var La = (a2) => a2.polls;
22751
- var PS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22752
- var fn = (a2) => a2.whiteboards;
22753
- var bS = createSelector(fn, (a2) => Object.values(a2)[0]);
22533
+ var bS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22534
+ var fo = (a2) => a2.whiteboards;
22535
+ var IS = createSelector(fo, (a2) => Object.values(a2)[0]);
22754
22536
  var wa = (a2 = "audio") => (e) => e.playlist[a2].list;
22755
22537
  var as = (a2 = "audio") => (e) => e.playlist[a2].selection;
22756
22538
  var _a7 = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -22759,8 +22541,7 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22759
22541
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22760
22542
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22761
22543
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22762
- if (t.id)
22763
- return e[t.id];
22544
+ if (t.id) return e[t.id];
22764
22545
  });
22765
22546
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22766
22547
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22794,143 +22575,133 @@ var b = class {
22794
22575
  performance.clearMarks(), performance.clearMeasures();
22795
22576
  }
22796
22577
  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;
22578
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22579
+ case 0: {
22580
+ console.log(xt, ...t);
22581
+ break;
22582
+ }
22583
+ case 1: {
22584
+ console.debug(xt, ...t);
22585
+ break;
22586
+ }
22587
+ case 2: {
22588
+ console.info(xt, ...t);
22589
+ break;
22590
+ }
22591
+ case 3: {
22592
+ console.warn(xt, ...t);
22593
+ break;
22594
+ }
22595
+ case 6: {
22596
+ console.error(xt, ...t);
22597
+ break;
22598
+ }
22599
+ case 4: {
22600
+ performance.mark(t[1]);
22601
+ break;
22602
+ }
22603
+ case 5: {
22604
+ let i = t[0], r = t[1];
22605
+ try {
22606
+ let s = performance.measure(r, r);
22607
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22608
+ } catch (s) {
22609
+ this.log(1, i, r, s);
22832
22610
  }
22611
+ break;
22833
22612
  }
22613
+ }
22834
22614
  }
22835
22615
  };
22836
22616
  b.level = 0;
22837
- var os = (a2, e) => e;
22617
+ var ns = (a2, e) => e;
22838
22618
  var Ut = (a2, e) => e;
22839
22619
  var Ga = (a2, e) => e;
22840
- var vn = (a2, e) => e;
22841
- var Mn = (a2, e) => e;
22842
- var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22843
- var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22844
- var yn = createSelector([N, Ut], (a2, e) => {
22845
- if (!e)
22846
- return null;
22620
+ var vo = (a2, e) => e;
22621
+ var Mo = (a2, e) => e;
22622
+ var ee = createSelector([Z, ns], (a2, e) => e ? a2[e] : null);
22623
+ var os = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22624
+ var yo = createSelector([N, Ut], (a2, e) => {
22625
+ if (!e) return null;
22847
22626
  let t = a2[e];
22848
22627
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22849
22628
  });
22850
- var kn = createSelector([N, Ut], (a2, e) => {
22851
- if (!e)
22852
- return null;
22629
+ var ko = createSelector([N, Ut], (a2, e) => {
22630
+ if (!e) return null;
22853
22631
  let t = a2[e];
22854
22632
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22855
22633
  });
22856
- var En = createSelector([N, Ut], (a2, e) => {
22857
- if (!e)
22858
- return null;
22634
+ var Eo = createSelector([N, Ut], (a2, e) => {
22635
+ if (!e) return null;
22859
22636
  let t = a2[e];
22860
22637
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22861
22638
  });
22862
- var Pn = createSelector([N, Ut], (a2, e) => {
22863
- if (!e)
22864
- return null;
22639
+ var Po = createSelector([N, Ut], (a2, e) => {
22640
+ if (!e) return null;
22865
22641
  let t = a2[e];
22866
22642
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22867
22643
  });
22868
- var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22644
+ var bo = createSelector([La, Mo], (a2, e) => e ? a2[e] : null);
22869
22645
  var re = H(ee);
22870
- var OS2 = H(createSelector([is, vn], (a2, e) => {
22871
- if (a2)
22872
- return e ? a2[e] : a2;
22646
+ var xS = H(createSelector([is, vo], (a2, e) => {
22647
+ if (a2) return e ? a2[e] : a2;
22873
22648
  }));
22874
- function xS(a2) {
22649
+ function US(a2) {
22875
22650
  return (e) => {
22876
- if (e.sessionStore)
22877
- return a2 ? e.sessionStore[a2] : e.sessionStore;
22651
+ if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
22878
22652
  };
22879
22653
  }
22880
- var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
22881
- var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
22882
- var Li = H(ns);
22883
- var Wa = H(yn);
22884
- var FS = H(kn);
22885
- var GS = H(En);
22886
- var WS = H(Pn);
22887
- var In = H((a2, e) => {
22654
+ var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
22655
+ var FS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
22656
+ var Li = H(os);
22657
+ var Wa = H(yo);
22658
+ var GS = H(ko);
22659
+ var WS = H(Eo);
22660
+ var $S = H(Po);
22661
+ var Io = H((a2, e) => {
22888
22662
  let t = ee(a2, e);
22889
- if (t && t.videoTrack && t.videoTrack !== "")
22890
- return a2.tracks[t.videoTrack];
22663
+ if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
22891
22664
  });
22892
- var An = H((a2, e) => {
22665
+ var Ao = H((a2, e) => {
22893
22666
  let t = ee(a2, e);
22894
- if (t && t.audioTrack && t.audioTrack !== "")
22895
- return a2.tracks[t.audioTrack];
22667
+ if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
22896
22668
  });
22897
- var KS = H((a2, e) => {
22669
+ var qS = H((a2, e) => {
22898
22670
  let t = ee(a2, e);
22899
22671
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22900
22672
  });
22901
22673
  var $a = (a2, e) => e ? a2.speakers[e] : null;
22902
- var qS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22903
- var Rn = (a2, e) => {
22904
- let t = An(e)(a2);
22674
+ var jS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22675
+ var Ro = (a2, e) => {
22676
+ let t = Ao(e)(a2);
22905
22677
  return $a(a2, t == null ? void 0 : t.id);
22906
22678
  };
22907
- var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22908
- var QS = H((a2, e) => {
22909
- if (e)
22910
- return a2.connectionQualities[e];
22911
- });
22679
+ var QS = H(createSelector(Ro, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22912
22680
  var JS = H((a2, e) => {
22681
+ if (e) return a2.connectionQualities[e];
22682
+ });
22683
+ var zS = H((a2, e) => {
22913
22684
  let t = ee(a2, e);
22914
22685
  if (t) {
22915
22686
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => vt(a2.tracks[r]));
22916
22687
  return i ? a2.tracks[i] : void 0;
22917
22688
  }
22918
22689
  });
22919
- var zS = H(createSelector(N, ee, (a2, e) => {
22690
+ var YS = H(createSelector(N, ee, (a2, e) => {
22920
22691
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22921
22692
  let r = a2[i];
22922
22693
  return yt(r) && Mt(r);
22923
22694
  });
22924
22695
  return t ? a2[t] : void 0;
22925
22696
  }));
22926
- var YS = H(createSelector(N, ee, (a2, e) => {
22697
+ var XS = H(createSelector(N, ee, (a2, e) => {
22927
22698
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22928
22699
  let r = a2[i];
22929
22700
  return yt(r) && vt(r);
22930
22701
  });
22931
22702
  return t ? a2[t] : void 0;
22932
22703
  }));
22933
- var XS = H(createSelector(N, ee, (a2, e) => {
22704
+ var ZS = H(createSelector(N, ee, (a2, e) => {
22934
22705
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22935
22706
  let r = a2[i];
22936
22707
  return pi(r) && vt(r);
@@ -22939,28 +22710,27 @@ var XS = H(createSelector(N, ee, (a2, e) => {
22939
22710
  }));
22940
22711
  var Ka = H(createSelector(N, ee, (a2, e) => We(a2, e)));
22941
22712
  var qa = (a2) => createSelector(Ka(a2), (e) => e.audio);
22942
- var eg = H((a2, e) => {
22713
+ var tg = H((a2, e) => {
22943
22714
  let t = ee(a2, e);
22944
22715
  return Xe(a2, t == null ? void 0 : t.audioTrack);
22945
22716
  });
22946
- var tg = H((a2, e) => {
22717
+ var ig = H((a2, e) => {
22947
22718
  let t = ee(a2, e);
22948
22719
  return Xe(a2, t == null ? void 0 : t.videoTrack);
22949
22720
  });
22950
22721
  var ja = H((a2, e) => {
22951
- if (e && a2.tracks[e])
22952
- return a2.tracks[e].volume === 0;
22722
+ if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
22953
22723
  });
22954
- var ig = H((a2, e) => {
22724
+ var rg = H((a2, e) => {
22955
22725
  let t = ee(a2, e);
22956
22726
  return ja(t == null ? void 0 : t.audioTrack)(a2);
22957
22727
  });
22958
- var rg = H((a2, e) => {
22728
+ var sg = H((a2, e) => {
22959
22729
  let t = qa(e)(a2);
22960
22730
  return ja(t == null ? void 0 : t.id)(a2);
22961
22731
  });
22962
22732
  var Qa = H((a2, e) => {
22963
- let t = ns(a2, e);
22733
+ let t = os(a2, e);
22964
22734
  if (t) {
22965
22735
  if (t.type !== "audio") {
22966
22736
  b.w("Please pass audio track here");
@@ -22969,16 +22739,16 @@ var Qa = H((a2, e) => {
22969
22739
  return t.volume;
22970
22740
  }
22971
22741
  });
22972
- var sg = H((a2, e) => {
22742
+ var ag = H((a2, e) => {
22973
22743
  let t = ee(a2, e);
22974
22744
  return Qa(t == null ? void 0 : t.audioTrack)(a2);
22975
22745
  });
22976
- var ag = H((a2, e) => {
22746
+ var ng = H((a2, e) => {
22977
22747
  let t = qa(e)(a2);
22978
22748
  return Qa(t == null ? void 0 : t.id)(a2);
22979
22749
  });
22980
22750
  var og = H((a2, e) => {
22981
- let t = ns(a2, e);
22751
+ let t = os(a2, e);
22982
22752
  if (t) {
22983
22753
  if (t.type !== "video") {
22984
22754
  b.w("Please pass video track here");
@@ -22987,49 +22757,47 @@ var og = H((a2, e) => {
22987
22757
  return t.layer;
22988
22758
  }
22989
22759
  });
22990
- 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
- });
22760
+ var Ja = createSelector([Ot, Ae, ns], (a2, e, t) => {
22761
+ if (t) return a2.filter((i) => {
22762
+ var r;
22763
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22764
+ });
22996
22765
  });
22997
22766
  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
- });
22767
+ if (e) return a2.filter((t) => {
22768
+ var i, r;
22769
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22770
+ });
23003
22771
  });
23004
- var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
22772
+ var Ho = createSelector(Ot, (a2) => a2.filter((e) => {
23005
22773
  var t;
23006
22774
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
23007
22775
  }));
23008
- var Cn = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
23009
- var Ln = createSelector([Ja, os], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
23010
- var ng = createSelector(Hn, (a2) => a2.filter((e) => !e.read).length);
23011
- var cg = H(Ja);
23012
- var dg = H(za);
23013
- var lg = H(Cn);
23014
- var ug = H(Ln);
23015
- var Ya = H(bn);
23016
- var Eg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
22776
+ var Co = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22777
+ var Lo = createSelector([Ja, ns], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22778
+ var cg = createSelector(Ho, (a2) => a2.filter((e) => !e.read).length);
22779
+ var dg = H(Ja);
22780
+ var lg = H(za);
22781
+ var ug = H(Co);
22782
+ var pg = H(Lo);
22783
+ var Ya = H(bo);
22784
+ var Pg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
23017
22785
  var r;
23018
22786
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
23019
22787
  }));
23020
- var Dn = (a2) => a2.roleChangeRequests[0] || null;
23021
- var Pg = createSelector([Dn, Z, Pe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
23022
- var bg2 = createSelector([lt], (a2) => kt(a2));
23023
- var Ig = createSelector([Ha], (a2) => kt(a2));
23024
- var _n = createSelector([ie, N], (a2, e) => {
22788
+ var Do = (a2) => a2.roleChangeRequests[0] || null;
22789
+ var bg2 = createSelector([Do, Z, Pe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22790
+ var Ig = createSelector([lt], (a2) => kt(a2));
22791
+ var Ag = createSelector([Ha], (a2) => kt(a2));
22792
+ var _o = createSelector([ie, N], (a2, e) => {
23025
22793
  let t = null;
23026
22794
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
23027
22795
  });
23028
- var Nn = createSelector([me, N], (a2, e) => {
22796
+ var No = createSelector([me, N], (a2, e) => {
23029
22797
  let t = null;
23030
22798
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
23031
22799
  });
23032
- var Un = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(Un || {});
22800
+ var Uo = ((o) => (o[o.STARTING = 0] = "STARTING", o[o.INIT_FETCHED = 1] = "INIT_FETCHED", o[o.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", o[o.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", o[o.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", o[o.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", o[o.COMPLETED = 6] = "COMPLETED", o))(Uo || {});
23033
22801
  var ps = class {
23034
22802
  constructor() {
23035
22803
  this.TAG = "[HTTPAnalyticsTransport]";
@@ -23055,8 +22823,7 @@ var ps = class {
23055
22823
  this.removeFromStorage(e);
23056
22824
  return;
23057
22825
  }
23058
- if (r.status !== 200)
23059
- throw Error(r.statusText);
22826
+ if (r.status !== 200) throw Error(r.statusText);
23060
22827
  this.removeFromStorage(e);
23061
22828
  }).catch((r) => {
23062
22829
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -23078,17 +22845,15 @@ var ps = class {
23078
22845
  var He = new ps();
23079
22846
  var Qt = class {
23080
22847
  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);
22848
+ if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22849
+ if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23085
22850
  }
23086
22851
  static sendFeedback(s) {
23087
22852
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
23088
22853
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
23089
- let o = new URL("v2/client/feedback", t), n = M(m({}, i), { payload: r });
22854
+ let n = new URL("v2/client/feedback", t), o = M(m({}, i), { payload: r });
23090
22855
  try {
23091
- let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22856
+ let d = yield fetch(n, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(o), method: "POST" });
23092
22857
  try {
23093
22858
  this.handleError(d);
23094
22859
  return;
@@ -23105,17 +22870,17 @@ var Qt = class {
23105
22870
  Qt.TAG = "[FeedbackService]";
23106
22871
  var hs = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(hs || {});
23107
22872
  var z = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(z || {});
23108
- var mr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(mr || {});
22873
+ var mr = ((o) => (o.Disconnected = "Disconnected", o.Connecting = "Connecting", o.Joined = "Joined", o.Preview = "Preview", o.Failed = "Failed", o.Reconnecting = "Reconnecting", o.Leaving = "Leaving", o))(mr || {});
23109
22874
  var St = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(St || {});
23110
22875
  var ac = (a2) => a2.localPeer.id;
23111
- var oc = (a2) => a2.localPeer.audioTrack;
23112
- var nc = (a2) => a2.localPeer.videoTrack;
22876
+ var nc = (a2) => a2.localPeer.audioTrack;
22877
+ var oc = (a2) => a2.localPeer.videoTrack;
23113
22878
  var cc = (a2, e) => e;
23114
- var yo = (a2, e) => e;
22879
+ var yn = (a2, e) => e;
23115
22880
  var dc = (a2) => a2.remoteTrackStats;
23116
- var ko = (a2) => a2.peerStats;
22881
+ var kn = (a2) => a2.peerStats;
23117
22882
  var Ts = (a2) => a2.localTrackStats;
23118
- var Le = createSelector([ko, ac], (a2, e) => a2[e]);
22883
+ var Le = createSelector([kn, ac], (a2, e) => a2[e]);
23119
22884
  var lc = createSelector(Le, (a2) => {
23120
22885
  var e;
23121
22886
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
@@ -23148,17 +22913,17 @@ var Tc = createSelector(Le, (a2) => {
23148
22913
  var e;
23149
22914
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
23150
22915
  });
23151
- var fc = createSelector([ko, cc], (a2, e) => e ? a2[e] : void 0);
23152
- var vc = createSelector([dc, yo], (a2, e) => e ? a2[e] : void 0);
23153
- var fs = createSelector([Ts, yo], (a2, e) => e ? a2[e] : void 0);
22916
+ var fc = createSelector([kn, cc], (a2, e) => e ? a2[e] : void 0);
22917
+ var vc = createSelector([dc, yn], (a2, e) => e ? a2[e] : void 0);
22918
+ var fs = createSelector([Ts, yn], (a2, e) => e ? a2[e] : void 0);
23154
22919
  var Mc = H(fc);
23155
22920
  var yc = H(vc);
23156
- var kc = createSelector([Ts, oc], (a2, e) => {
22921
+ var kc = createSelector([Ts, nc], (a2, e) => {
23157
22922
  var t;
23158
22923
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23159
22924
  });
23160
22925
  var Ec = H(createSelector(fs, (a2) => a2 == null ? void 0 : a2[0]));
23161
- var Pc = createSelector([Ts, nc], (a2, e) => {
22926
+ var Pc = createSelector([Ts, oc], (a2, e) => {
23162
22927
  var t;
23163
22928
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23164
22929
  });
@@ -23244,8 +23009,7 @@ var RecordingStatus = () => {
23244
23009
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23245
23010
  (value) => !!value
23246
23011
  )) {
23247
- if (!(isMobile && isRecordingOn))
23248
- return null;
23012
+ if (!(isMobile && isRecordingOn)) return null;
23249
23013
  }
23250
23014
  return /* @__PURE__ */ import_react88.default.createElement(
23251
23015
  Tooltip,
@@ -23313,7 +23077,7 @@ var StartRecording2 = () => {
23313
23077
  variant: "danger",
23314
23078
  icon: true,
23315
23079
  css: { ml: "auto" },
23316
- onClick: () => __async(void 0, null, function* () {
23080
+ onClick: () => __async(null, null, function* () {
23317
23081
  try {
23318
23082
  yield hmsActions.stopRTMPAndRecording();
23319
23083
  } catch (error) {
@@ -23336,7 +23100,7 @@ var StartRecording2 = () => {
23336
23100
  variant: "standard",
23337
23101
  icon: true,
23338
23102
  disabled: recordingStarted || isStreamingOn,
23339
- onClick: () => __async(void 0, null, function* () {
23103
+ onClick: () => __async(null, null, function* () {
23340
23104
  yield startRecording();
23341
23105
  })
23342
23106
  },
@@ -23398,7 +23162,7 @@ var ChangeNameContent = ({
23398
23162
  return /* @__PURE__ */ import_react89.default.createElement(
23399
23163
  "form",
23400
23164
  {
23401
- onSubmit: (e) => __async(void 0, null, function* () {
23165
+ onSubmit: (e) => __async(null, null, function* () {
23402
23166
  e.preventDefault();
23403
23167
  yield changeName();
23404
23168
  })
@@ -23440,7 +23204,7 @@ var ChangeNameContent = ({
23440
23204
  autoComplete: "name",
23441
23205
  required: true,
23442
23206
  "data-testid": "change_name_field",
23443
- onKeyDown: (e) => __async(void 0, null, function* () {
23207
+ onKeyDown: (e) => __async(null, null, function* () {
23444
23208
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23445
23209
  e.preventDefault();
23446
23210
  if (isMobile) {
@@ -23500,7 +23264,7 @@ var ChangeNameModal = ({
23500
23264
  const localPeerName = (0, import_react_sdk42.useHMSStore)(import_react_sdk42.selectLocalPeerName);
23501
23265
  const [currentName, setCurrentName] = (0, import_react90.useState)(localPeerName);
23502
23266
  const isMobile = (0, import_react_use16.useMedia)(config.media.md);
23503
- const changeName = () => __async(void 0, null, function* () {
23267
+ const changeName = () => __async(null, null, function* () {
23504
23268
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23505
23269
  if (!name || name === localPeerName) {
23506
23270
  return;
@@ -23768,7 +23532,7 @@ var MwebOptions = ({
23768
23532
  ActionTile.Root,
23769
23533
  {
23770
23534
  disabled: isHLSRunning,
23771
- onClick: () => __async(void 0, null, function* () {
23535
+ onClick: () => __async(null, null, function* () {
23772
23536
  if (isRecordingLoading) {
23773
23537
  return;
23774
23538
  }
@@ -23828,7 +23592,7 @@ var MwebOptions = ({
23828
23592
  StopRecordingInSheet,
23829
23593
  {
23830
23594
  onClose: () => setShowRecordingOn(false),
23831
- onStopRecording: () => __async(void 0, null, function* () {
23595
+ onStopRecording: () => __async(null, null, function* () {
23832
23596
  try {
23833
23597
  yield hmsActions.stopRTMPAndRecording();
23834
23598
  setShowRecordingOn(false);
@@ -23870,7 +23634,7 @@ var RaiseHand = ({ css: css2 }) => {
23870
23634
  "data-testid": "hand_raise_btn",
23871
23635
  css: css2,
23872
23636
  active: !isHandRaised,
23873
- onClick: () => __async(void 0, null, function* () {
23637
+ onClick: () => __async(null, null, function* () {
23874
23638
  return yield toggleHandRaise();
23875
23639
  })
23876
23640
  },
@@ -24363,7 +24127,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24363
24127
  active: !isVideoScreenshare,
24364
24128
  css: css2,
24365
24129
  disabled: isAudioOnly,
24366
- onClick: () => __async(void 0, null, function* () {
24130
+ onClick: () => __async(null, null, function* () {
24367
24131
  yield toggleScreenShare();
24368
24132
  yield requestPermission();
24369
24133
  })
@@ -24584,7 +24348,7 @@ var RemoveParticipant = ({ peerId }) => {
24584
24348
  Dropdown.Item,
24585
24349
  {
24586
24350
  css: { color: "$alert_error_default", bg: "$surface_default" },
24587
- onClick: () => __async(void 0, null, function* () {
24351
+ onClick: () => __async(null, null, function* () {
24588
24352
  try {
24589
24353
  yield actions.removePeer(peerId, "");
24590
24354
  } catch (error) {
@@ -24680,7 +24444,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24680
24444
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24681
24445
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24682
24446
  });
24683
- const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24447
+ const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24684
24448
  try {
24685
24449
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24686
24450
  } catch (e) {
@@ -24700,9 +24464,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24700
24464
  }
24701
24465
  });
24702
24466
  };
24703
- const removePeersFromRoom = () => __async(void 0, null, function* () {
24467
+ const removePeersFromRoom = () => __async(null, null, function* () {
24704
24468
  try {
24705
- peerList.forEach((peer) => __async(void 0, null, function* () {
24469
+ peerList.forEach((peer) => __async(null, null, function* () {
24706
24470
  yield hmsActions.removePeer(peer.id, "");
24707
24471
  }));
24708
24472
  } catch (e) {
@@ -24762,7 +24526,7 @@ var useGroupOnStageActions = ({ peers }) => {
24762
24526
  () => true
24763
24527
  ).otherwise(() => false)
24764
24528
  );
24765
- const lowerAllHands = () => __async(void 0, null, function* () {
24529
+ const lowerAllHands = () => __async(null, null, function* () {
24766
24530
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24767
24531
  });
24768
24532
  const bringAllToStage = () => {
@@ -24951,10 +24715,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
24951
24715
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
24952
24716
  const prevRole = (_b7 = (0, import_react_sdk56.useHMSStore)((0, import_react_sdk56.selectPeerMetadata)(peerId))) == null ? void 0 : _b7.prevRole;
24953
24717
  const [open, setOpen] = (0, import_react110.useState)(false);
24954
- const lowerPeerHand = () => __async(void 0, null, function* () {
24718
+ const lowerPeerHand = () => __async(null, null, function* () {
24955
24719
  yield hmsActions.lowerRemotePeerHand(peerId);
24956
24720
  });
24957
- const handleStageAction = () => __async(void 0, null, function* () {
24721
+ const handleStageAction = () => __async(null, null, function* () {
24958
24722
  if (isInStage) {
24959
24723
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
24960
24724
  } else if (on_stage_role) {
@@ -25368,7 +25132,7 @@ var WhiteboardToggle = () => {
25368
25132
  /* @__PURE__ */ import_react113.default.createElement(
25369
25133
  IconButton_default,
25370
25134
  {
25371
- onClick: () => __async(void 0, null, function* () {
25135
+ onClick: () => __async(null, null, function* () {
25372
25136
  if (disabled || isLoading) {
25373
25137
  return;
25374
25138
  }
@@ -25465,7 +25229,7 @@ function HLSFailureModal() {
25465
25229
  const hmsActions = (0, import_react_sdk59.useHMSActions)();
25466
25230
  const { isRTMPRunning } = (0, import_react_sdk59.useRecordingStreaming)();
25467
25231
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25468
- const startHLS = (0, import_react115.useCallback)(() => __async(this, null, function* () {
25232
+ const startHLS = (0, import_react115.useCallback)(() => __async(null, null, function* () {
25469
25233
  try {
25470
25234
  if (isHLSStarted || isRTMPRunning) {
25471
25235
  return;
@@ -25608,8 +25372,7 @@ var statusMap = {
25608
25372
  stopped: "ENDED" /* ENDED */
25609
25373
  };
25610
25374
  var StatusIndicator = ({ status }) => {
25611
- if (!status)
25612
- return null;
25375
+ if (!status) return null;
25613
25376
  return /* @__PURE__ */ import_react117.default.createElement(Flex, { align: "center" }, /* @__PURE__ */ import_react117.default.createElement(
25614
25377
  Flex,
25615
25378
  {
@@ -25742,7 +25505,7 @@ var AddMenu = () => {
25742
25505
  variant: "primary",
25743
25506
  disabled: validateTitle,
25744
25507
  css: { mt: "$10" },
25745
- onClick: () => __async(void 0, null, function* () {
25508
+ onClick: () => __async(null, null, function* () {
25746
25509
  const id = Date.now().toString();
25747
25510
  yield actions.interactivityCenter.createPoll({
25748
25511
  id,
@@ -25773,7 +25536,7 @@ var PrevMenu = () => {
25773
25536
  );
25774
25537
  const permissions = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectPermissions);
25775
25538
  (0, import_react118.useEffect)(() => {
25776
- const updatePolls = () => __async(void 0, null, function* () {
25539
+ const updatePolls = () => __async(null, null, function* () {
25777
25540
  yield hmsActions.interactivityCenter.getPolls();
25778
25541
  });
25779
25542
  updatePolls();
@@ -26355,12 +26118,12 @@ function CreateQuestions() {
26355
26118
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: (0, import_uuid11.v4)() }]
26356
26119
  );
26357
26120
  const isValidPoll = (0, import_react128.useMemo)(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26358
- const launchPoll = () => __async(this, null, function* () {
26121
+ const launchPoll = () => __async(null, null, function* () {
26359
26122
  yield actions.interactivityCenter.startPoll(id);
26360
26123
  yield sendTimedMetadata(id);
26361
26124
  setPollView(POLL_VIEWS.VOTE);
26362
26125
  });
26363
- const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26126
+ const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26364
26127
  if (poll_id && isHLSRunning) {
26365
26128
  try {
26366
26129
  yield actions.sendHLSTimedMetadata([
@@ -26390,14 +26153,14 @@ function CreateQuestions() {
26390
26153
  question,
26391
26154
  index,
26392
26155
  length: questions.length,
26393
- onSave: (questionParams) => __async(this, null, function* () {
26156
+ onSave: (questionParams) => __async(null, null, function* () {
26394
26157
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26395
26158
  setQuestions(updatedQuestions);
26396
26159
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26397
26160
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26398
26161
  }),
26399
26162
  isQuiz,
26400
- removeQuestion: (questionID) => __async(this, null, function* () {
26163
+ removeQuestion: (questionID) => __async(null, null, function* () {
26401
26164
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26402
26165
  setQuestions(updatedQuestions);
26403
26166
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26426,7 +26189,7 @@ function CreateQuestions() {
26426
26189
  },
26427
26190
  /* @__PURE__ */ import_react128.default.createElement(import_react_icons59.AddCircleIcon, null),
26428
26191
  /* @__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* () {
26192
+ ), /* @__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
26193
  return launchPoll();
26431
26194
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26432
26195
  }
@@ -26458,8 +26221,7 @@ var import_react_icons60 = require("@100mslive/react-icons");
26458
26221
  // src/Prebuilt/components/Polls/common/utils.ts
26459
26222
  init_define_process_env();
26460
26223
  var getFormattedTime = (milliseconds, precise = true) => {
26461
- if (!milliseconds)
26462
- return "-";
26224
+ if (!milliseconds) return "-";
26463
26225
  const totalSeconds = milliseconds / 1e3;
26464
26226
  const hours = Math.floor(totalSeconds / 3600);
26465
26227
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26547,7 +26309,7 @@ var useQuizSummary = (quizID) => {
26547
26309
  };
26548
26310
  const [calculations, setCalculations] = (0, import_react131.useState)({ maxPossibleScore: 0, totalResponses: 0 });
26549
26311
  (0, import_react131.useEffect)(() => {
26550
- const fetchLeaderboardData = () => __async(void 0, null, function* () {
26312
+ const fetchLeaderboardData = () => __async(null, null, function* () {
26551
26313
  var _a8;
26552
26314
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26553
26315
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26743,7 +26505,7 @@ var QuestionCard2 = ({
26743
26505
  return multipleOptionAnswer.size > 0;
26744
26506
  }
26745
26507
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26746
- const handleVote = (0, import_react134.useCallback)(() => __async(void 0, null, function* () {
26508
+ const handleVote = (0, import_react134.useCallback)(() => __async(null, null, function* () {
26747
26509
  if (!isValidVote) {
26748
26510
  return;
26749
26511
  }
@@ -26974,7 +26736,7 @@ var Voting = ({ id, toggleVoting }) => {
26974
26736
  setSavedResponses({});
26975
26737
  }, [id, setSavedResponses]);
26976
26738
  (0, import_react137.useEffect)(() => {
26977
- const getResponses = () => __async(void 0, null, function* () {
26739
+ const getResponses = () => __async(null, null, function* () {
26978
26740
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26979
26741
  yield actions.interactivityCenter.getPollResponses(poll, true);
26980
26742
  fetchedInitialResponses.current = true;
@@ -27629,7 +27391,7 @@ var ChatFooter = ({ onSend, children }) => {
27629
27391
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27630
27392
  }
27631
27393
  }, []);
27632
- const sendMessage = (0, import_react147.useCallback)(() => __async(void 0, null, function* () {
27394
+ const sendMessage = (0, import_react147.useCallback)(() => __async(null, null, function* () {
27633
27395
  var _a9;
27634
27396
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27635
27397
  if (!message || !message.trim().length) {
@@ -27736,7 +27498,7 @@ var ChatFooter = ({ onSend, children }) => {
27736
27498
  ref: inputRef,
27737
27499
  required: true,
27738
27500
  autoFocus: !(isMobile || isLandscapeHLSStream),
27739
- onKeyPress: (event) => __async(void 0, null, function* () {
27501
+ onKeyPress: (event) => __async(null, null, function* () {
27740
27502
  if (event.key === "Enter") {
27741
27503
  if (!event.shiftKey && !messageLengthExceeded) {
27742
27504
  event.preventDefault();
@@ -27807,7 +27569,7 @@ var ChatPaused = () => {
27807
27569
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = (0, import_react_sdk72.useHMSStore)((0, import_react_sdk72.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
27808
27570
  const localPeer = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectLocalPeer);
27809
27571
  const unPauseChat = (0, import_react149.useCallback)(
27810
- () => __async(void 0, null, function* () {
27572
+ () => __async(null, null, function* () {
27811
27573
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
27812
27574
  enabled: true,
27813
27575
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28032,7 +27794,7 @@ var Chat = () => {
28032
27794
  const listRef = (0, import_react153.useRef)(null);
28033
27795
  const hmsActions = (0, import_react_sdk74.useHMSActions)();
28034
27796
  const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
28035
- const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(xS("chatState" /* CHAT_STATE */)) || {};
27797
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(US("chatState" /* CHAT_STATE */)) || {};
28036
27798
  const isMobile = (0, import_react_use26.useMedia)(config.media.md);
28037
27799
  const isMobileHLSStream = useMobileHLSStream();
28038
27800
  const isLandscapeStream = useLandscapeHLSStream();
@@ -28623,7 +28385,7 @@ var SimulcastLayers = ({ trackId }) => {
28623
28385
  {
28624
28386
  className: dragClassName,
28625
28387
  key: layer.layer,
28626
- onClick: () => __async(void 0, null, function* () {
28388
+ onClick: () => __async(null, null, function* () {
28627
28389
  yield actions.setPreferredLayer(trackId, layer.layer);
28628
28390
  }),
28629
28391
  css: {
@@ -28775,7 +28537,7 @@ var TileMenuContent = ({
28775
28537
  StyledMenuTile.RemoveItem,
28776
28538
  {
28777
28539
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
28778
- onClick: () => __async(void 0, null, function* () {
28540
+ onClick: () => __async(null, null, function* () {
28779
28541
  try {
28780
28542
  yield actions.removePeer(peerID, "");
28781
28543
  } catch (error) {
@@ -29030,7 +28792,7 @@ var Root25 = ({
29030
28792
  "&:hover": { border: "4px solid $primary_dim" }
29031
28793
  }
29032
28794
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29033
- onClick: () => __async(void 0, null, function* () {
28795
+ onClick: () => __async(null, null, function* () {
29034
28796
  yield onClick == null ? void 0 : onClick();
29035
28797
  })
29036
28798
  },
@@ -29088,19 +28850,19 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29088
28850
  const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
29089
28851
  const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
29090
28852
  const isEffectsSupported = VBHandler.isEffectsSupported();
29091
- const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(fS);
29092
- const effectsKey = (0, import_react_sdk82.useHMSStore)(MS);
28853
+ const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(vS);
28854
+ const effectsKey = (0, import_react_sdk82.useHMSStore)(yS);
29093
28855
  const isMobile = (0, import_react_use32.useMedia)(config.media.md);
29094
28856
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
29095
28857
  const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
29096
- const background = (0, import_react_sdk82.useHMSStore)(OS2(APP_DATA.background));
28858
+ const background = (0, import_react_sdk82.useHMSStore)(xS(APP_DATA.background));
29097
28859
  const mediaList = backgroundMedia.map((media) => media.url || "");
29098
28860
  const pluginLoadingRef = (0, import_react163.useRef)(false);
29099
28861
  const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
29100
28862
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
29101
28863
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29102
28864
  (0, import_react163.useEffect)(() => {
29103
- const addHMSVBPlugin = () => __async(void 0, null, function* () {
28865
+ const addHMSVBPlugin = () => __async(null, null, function* () {
29104
28866
  setLoadingEffects(false);
29105
28867
  if (!role) {
29106
28868
  return;
@@ -29111,7 +28873,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29111
28873
  Math.floor(role.publishParams.video.frameRate / 2)
29112
28874
  );
29113
28875
  });
29114
- const initializeVirtualBackground = () => __async(void 0, null, function* () {
28876
+ const initializeVirtualBackground = () => __async(null, null, function* () {
29115
28877
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
29116
28878
  return;
29117
28879
  }
@@ -29131,7 +28893,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29131
28893
  } else {
29132
28894
  yield addHMSVBPlugin();
29133
28895
  }
29134
- const handleDefaultBackground = () => __async(void 0, null, function* () {
28896
+ const handleDefaultBackground = () => __async(null, null, function* () {
29135
28897
  switch (background) {
29136
28898
  case import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE:
29137
28899
  break;
@@ -29203,7 +28965,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29203
28965
  title: "No effect",
29204
28966
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.CrossCircleIcon, { style: iconDims }),
29205
28967
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE,
29206
- onClick: () => __async(void 0, null, function* () {
28968
+ onClick: () => __async(null, null, function* () {
29207
28969
  yield VBHandler.removeEffects();
29208
28970
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.NONE);
29209
28971
  if (isMobile) {
@@ -29216,7 +28978,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29216
28978
  title: "Blur",
29217
28979
  icon: /* @__PURE__ */ import_react163.default.createElement(import_react_icons79.BlurPersonHighIcon, { style: iconDims }),
29218
28980
  value: import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR,
29219
- onClick: () => __async(void 0, null, function* () {
28981
+ onClick: () => __async(null, null, function* () {
29220
28982
  var _a9;
29221
28983
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
29222
28984
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR);
@@ -29232,7 +28994,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29232
28994
  {
29233
28995
  showTooltip: false,
29234
28996
  value: [blurAmount],
29235
- onValueChange: (e) => __async(void 0, null, function* () {
28997
+ onValueChange: (e) => __async(null, null, function* () {
29236
28998
  setBlurAmount(e[0]);
29237
28999
  yield VBHandler.setBlur(e[0]);
29238
29000
  }),
@@ -29248,7 +29010,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29248
29010
  options: mediaList.map((mediaURL) => ({
29249
29011
  mediaURL,
29250
29012
  value: mediaURL,
29251
- onClick: () => __async(void 0, null, function* () {
29013
+ onClick: () => __async(null, null, function* () {
29252
29014
  var _a9;
29253
29015
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29254
29016
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -29776,7 +29538,7 @@ var RoleChangeRequestModal = () => {
29776
29538
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29777
29539
  return;
29778
29540
  }
29779
- (() => __async(void 0, null, function* () {
29541
+ (() => __async(null, null, function* () {
29780
29542
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
29781
29543
  }))();
29782
29544
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -29813,7 +29575,7 @@ var RoleChangeRequestModal = () => {
29813
29575
  RequestPrompt,
29814
29576
  {
29815
29577
  title: "You're invited to join the stage",
29816
- onOpenChange: (value) => __async(void 0, null, function* () {
29578
+ onOpenChange: (value) => __async(null, null, function* () {
29817
29579
  var _a8;
29818
29580
  if (!value) {
29819
29581
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -29823,7 +29585,7 @@ var RoleChangeRequestModal = () => {
29823
29585
  }
29824
29586
  }),
29825
29587
  body,
29826
- onAction: () => __async(void 0, null, function* () {
29588
+ onAction: () => __async(null, null, function* () {
29827
29589
  yield hmsActions.acceptChangeRole(roleChangeRequest);
29828
29590
  yield updateMetaData({ prevRole: currentRole });
29829
29591
  yield hmsActions.lowerLocalPeerHand();
@@ -30628,7 +30390,7 @@ var ScreenshareDisplay = () => {
30628
30390
  {
30629
30391
  variant: "danger",
30630
30392
  css: { fontWeight: "$semiBold" },
30631
- onClick: () => __async(void 0, null, function* () {
30393
+ onClick: () => __async(null, null, function* () {
30632
30394
  yield hmsActions.setScreenShareEnabled(false);
30633
30395
  }),
30634
30396
  "data-testid": "stop_screen_share_btn"
@@ -31094,7 +30856,7 @@ var EmbedComponent = () => {
31094
30856
  const resetConfig = useResetEmbedConfig();
31095
30857
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk97.useEmbedShare)(resetConfig);
31096
30858
  (0, import_react188.useEffect)(() => {
31097
- (() => __async(void 0, null, function* () {
30859
+ (() => __async(null, null, function* () {
31098
30860
  if (embedConfig && !isEmbedShareInProgress) {
31099
30861
  try {
31100
30862
  yield startEmbedShare(embedConfig);
@@ -31352,7 +31114,7 @@ var PlayPauseButton = ({
31352
31114
  height = 20
31353
31115
  }) => {
31354
31116
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31355
- const onClick = (event) => __async(void 0, null, function* () {
31117
+ const onClick = (event) => __async(null, null, function* () {
31356
31118
  event == null ? void 0 : event.stopPropagation();
31357
31119
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31358
31120
  });
@@ -31794,7 +31556,7 @@ function HLSAutoplayBlockedPrompt({
31794
31556
  color: "#000",
31795
31557
  r: "$2"
31796
31558
  },
31797
- onClick: () => __async(this, null, function* () {
31559
+ onClick: () => __async(null, null, function* () {
31798
31560
  return yield unblockAutoPlay();
31799
31561
  })
31800
31562
  },
@@ -31817,7 +31579,7 @@ function HLSAutoplayBlockedPrompt({
31817
31579
  Dialog.Root,
31818
31580
  {
31819
31581
  open,
31820
- onOpenChange: (value) => __async(this, null, function* () {
31582
+ onOpenChange: (value) => __async(null, null, function* () {
31821
31583
  if (!value) {
31822
31584
  yield unblockAutoPlay();
31823
31585
  }
@@ -31827,7 +31589,7 @@ function HLSAutoplayBlockedPrompt({
31827
31589
  Button,
31828
31590
  {
31829
31591
  variant: "primary",
31830
- onClick: () => __async(this, null, function* () {
31592
+ onClick: () => __async(null, null, function* () {
31831
31593
  yield unblockAutoPlay();
31832
31594
  })
31833
31595
  },
@@ -32194,8 +31956,7 @@ var HLSView = () => {
32194
31956
  }
32195
31957
  }, [hlsUrl, streamEnded, lastHlsUrl]);
32196
31958
  (0, import_react203.useEffect)(() => {
32197
- if (!notification)
32198
- return;
31959
+ if (!notification) return;
32199
31960
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
32200
31961
  if (toastID) {
32201
31962
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32348,7 +32109,7 @@ var HLSView = () => {
32348
32109
  hlsPlayer == null ? void 0 : hlsPlayer.off(import_hls_player3.HMSHLSPlayerEvents.STATS, onHLSStats);
32349
32110
  };
32350
32111
  }, [enablHlsStats]);
32351
- const unblockAutoPlay = () => __async(void 0, null, function* () {
32112
+ const unblockAutoPlay = () => __async(null, null, function* () {
32352
32113
  try {
32353
32114
  yield hlsPlayer.play();
32354
32115
  setIsHlsAutoplayBlocked(false);
@@ -32428,9 +32189,9 @@ var HLSView = () => {
32428
32189
  },
32429
32190
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32430
32191
  );
32431
- const onClickHandler = (0, import_react203.useCallback)(() => __async(void 0, null, function* () {
32192
+ const onClickHandler = (0, import_react203.useCallback)(() => __async(null, null, function* () {
32432
32193
  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* () {
32194
+ (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
32195
  if (isPaused) {
32435
32196
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32436
32197
  } else {
@@ -32526,7 +32287,7 @@ var HLSView = () => {
32526
32287
  },
32527
32288
  outline: "none"
32528
32289
  },
32529
- onKeyDown: (event) => __async(void 0, null, function* () {
32290
+ onKeyDown: (event) => __async(null, null, function* () {
32530
32291
  var _a9;
32531
32292
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR) {
32532
32293
  yield keyHandler(event);
@@ -32671,7 +32432,7 @@ var HLSView = () => {
32671
32432
  IconButton,
32672
32433
  {
32673
32434
  css: { px: "$2" },
32674
- onClick: (e) => __async(void 0, null, function* () {
32435
+ onClick: (e) => __async(null, null, function* () {
32675
32436
  e.stopPropagation();
32676
32437
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
32677
32438
  setIsVideoLive(true);
@@ -32737,7 +32498,7 @@ var PDFView = () => {
32737
32498
  };
32738
32499
  }, []);
32739
32500
  (0, import_react204.useEffect)(() => {
32740
- (() => __async(void 0, null, function* () {
32501
+ (() => __async(null, null, function* () {
32741
32502
  try {
32742
32503
  if (!isPDFShareInProgress && pdfConfig) {
32743
32504
  yield startPDFShare(pdfConfig);
@@ -32892,8 +32653,7 @@ var Queue = class {
32892
32653
  return captionData;
32893
32654
  }
32894
32655
  peek() {
32895
- if (this.size() <= 0)
32896
- return void 0;
32656
+ if (this.size() <= 0) return void 0;
32897
32657
  const key = Object.keys(this.storage).shift() || "";
32898
32658
  return this.storage[key];
32899
32659
  }
@@ -32923,8 +32683,7 @@ var CaptionMaintainerQueue = class {
32923
32683
  var TranscriptView = ({ peer_id, data: data3 }) => {
32924
32684
  const peerName = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectPeerNameByID)(peer_id)) || "Participant";
32925
32685
  data3 = data3.trim();
32926
- if (!data3)
32927
- return null;
32686
+ if (!data3) return null;
32928
32687
  return /* @__PURE__ */ import_react205.default.createElement(
32929
32688
  Text,
32930
32689
  {
@@ -33196,7 +32955,7 @@ var CamaraFlipActions = () => {
33196
32955
  IconButton_default,
33197
32956
  {
33198
32957
  disabled: !isVideoOn,
33199
- onClick: () => __async(void 0, null, function* () {
32958
+ onClick: () => __async(null, null, function* () {
33200
32959
  try {
33201
32960
  yield actions.switchCamera();
33202
32961
  } catch (e) {
@@ -33240,7 +32999,7 @@ var AudioActions = () => {
33240
32999
  {
33241
33000
  audioDevices: availableAudioDevices,
33242
33001
  audioSelected: selectedAudio,
33243
- onChange: (deviceId) => __async(void 0, null, function* () {
33002
+ onChange: (deviceId) => __async(null, null, function* () {
33244
33003
  try {
33245
33004
  yield updateDevice({
33246
33005
  deviceId,
@@ -33257,7 +33016,7 @@ var AudioActions = () => {
33257
33016
  /* @__PURE__ */ import_react209.default.createElement(
33258
33017
  Box,
33259
33018
  {
33260
- onClick: () => __async(void 0, null, function* () {
33019
+ onClick: () => __async(null, null, function* () {
33261
33020
  yield hmsActions.refreshDevices();
33262
33021
  })
33263
33022
  },
@@ -33657,8 +33416,8 @@ var isEvenListenersAttached = false;
33657
33416
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
33658
33417
  var KeyboardInputManager = class {
33659
33418
  constructor(store, actions) {
33660
- __privateAdd(this, _actions, void 0);
33661
- __privateAdd(this, _store, void 0);
33419
+ __privateAdd(this, _actions);
33420
+ __privateAdd(this, _store);
33662
33421
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
33663
33422
  const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalAudioEnabled);
33664
33423
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -33821,7 +33580,7 @@ var FeedbackContent = ({
33821
33580
  }
33822
33581
  setSelectedReasons(newSelected);
33823
33582
  };
33824
- const submitFeedback = () => __async(void 0, null, function* () {
33583
+ const submitFeedback = () => __async(null, null, function* () {
33825
33584
  if (indexSelected < 0 || ratings.length <= indexSelected) {
33826
33585
  return;
33827
33586
  }
@@ -34350,7 +34109,7 @@ function AutoplayBlockedModal() {
34350
34109
  Dialog.Root,
34351
34110
  {
34352
34111
  open: !!error,
34353
- onOpenChange: (value) => __async(this, null, function* () {
34112
+ onOpenChange: (value) => __async(null, null, function* () {
34354
34113
  if (!value) {
34355
34114
  yield unblockAudio();
34356
34115
  }
@@ -34361,7 +34120,7 @@ function AutoplayBlockedModal() {
34361
34120
  Button,
34362
34121
  {
34363
34122
  variant: "primary",
34364
- onClick: () => __async(this, null, function* () {
34123
+ onClick: () => __async(null, null, function* () {
34365
34124
  yield unblockAudio();
34366
34125
  resetError();
34367
34126
  })
@@ -34481,8 +34240,7 @@ var ErrorNotifications = () => {
34481
34240
  const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.ERROR);
34482
34241
  const subscribedNotifications = useSubscribedNotifications() || {};
34483
34242
  (0, import_react226.useEffect)(() => {
34484
- if (!notification || !notification.data)
34485
- return;
34243
+ if (!notification || !notification.data) return;
34486
34244
  const { isTerminal, action, code, message, description } = notification.data;
34487
34245
  if (isTerminal && action !== "INIT") {
34488
34246
  if ([500, 6008].includes(code)) {
@@ -34509,8 +34267,7 @@ var ErrorNotifications = () => {
34509
34267
  if (action === "INIT") {
34510
34268
  return;
34511
34269
  }
34512
- if (!subscribedNotifications.ERROR)
34513
- return;
34270
+ if (!subscribedNotifications.ERROR) return;
34514
34271
  ToastManager.addToast({
34515
34272
  title: `Error: ${message} - ${description}`
34516
34273
  });
@@ -34553,7 +34310,7 @@ var HandRaiseAction = import_react227.default.forwardRef(({ id = "", isSingleHan
34553
34310
  off_stage_roles = [],
34554
34311
  skip_preview_for_role_change = false
34555
34312
  } = ((_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* () {
34313
+ const onClickHandler = (0, import_react227.useCallback)(() => __async(null, null, function* () {
34557
34314
  if (isSingleHandRaise) {
34558
34315
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34559
34316
  if (skip_preview_for_role_change) {
@@ -35219,44 +34976,56 @@ var TrackUnmuteModal = () => {
35219
34976
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
35220
34977
  init_define_process_env();
35221
34978
  var import_react239 = __toESM(require("react"));
35222
- var import_ts_pattern16 = require("ts-pattern");
35223
34979
  var import_react_sdk127 = require("@100mslive/react-sdk");
35224
34980
  var import_react_icons111 = require("@100mslive/react-icons");
35225
34981
  var TranscriptionNotifications = () => {
35226
34982
  const notification = (0, import_react_sdk127.useHMSNotifications)(import_react_sdk127.HMSNotificationTypes.TRANSCRIPTION_STATE_UPDATED);
35227
34983
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
34984
+ const prevState = (0, import_react239.useRef)(void 0);
34985
+ const prevTranslationEnabled = (0, import_react239.useRef)(void 0);
35228
34986
  (0, import_react239.useEffect)(() => {
35229
34987
  if (!(notification == null ? void 0 : notification.data)) {
35230
34988
  return;
35231
34989
  }
35232
- console.debug(`[${notification.type}]`, notification);
35233
34990
  const transcriptionStates = notification.data;
35234
- if (transcriptionStates.length > 0) {
35235
- let id = "";
35236
- (0, import_ts_pattern16.match)({ state: transcriptionStates[0].state, error: transcriptionStates[0].error }).when(
35237
- ({ error }) => !!error,
35238
- () => {
35239
- id = ToastManager.replaceToast(toastId, {
35240
- title: `Failed to enable Closed Caption`,
35241
- variant: "error",
35242
- icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
35243
- });
35244
- }
35245
- ).with({ state: import_react_sdk127.HMSTranscriptionState.STARTED }, () => {
35246
- id = ToastManager.replaceToast(toastId, {
35247
- title: `Closed Captioning enabled for everyone`,
35248
- variant: "standard",
35249
- duration: 2e3,
35250
- icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
35251
- });
35252
- }).with({ state: import_react_sdk127.HMSTranscriptionState.STOPPED }, () => {
35253
- id = ToastManager.replaceToast(toastId, {
35254
- title: `Closed Captioning disabled for everyone`,
35255
- variant: "standard",
35256
- duration: 2e3,
35257
- icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.OpenCaptionIcon, { style: { marginRight: "0.5rem" } })
35258
- });
35259
- }).otherwise(() => null);
34991
+ if (transcriptionStates.length === 0) {
34992
+ return;
34993
+ }
34994
+ const { state, error, translation } = transcriptionStates[0];
34995
+ const stateChanged = prevState.current !== state;
34996
+ const translationChanged = prevTranslationEnabled.current !== !!(translation == null ? void 0 : translation.enabled);
34997
+ prevState.current = state;
34998
+ prevTranslationEnabled.current = !!(translation == null ? void 0 : translation.enabled);
34999
+ let id = "";
35000
+ if (error) {
35001
+ id = ToastManager.replaceToast(toastId, {
35002
+ title: `Failed to enable Closed Caption`,
35003
+ variant: "error",
35004
+ icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
35005
+ });
35006
+ } else if (stateChanged && state === import_react_sdk127.HMSTranscriptionState.STARTED) {
35007
+ id = ToastManager.replaceToast(toastId, {
35008
+ title: (translation == null ? void 0 : translation.enabled) ? `Closed Captioning enabled with Translation` : `Closed Captioning enabled for everyone`,
35009
+ variant: "standard",
35010
+ duration: 2e3,
35011
+ icon: (translation == null ? void 0 : translation.enabled) ? /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.GlobeIcon, { style: { marginRight: "0.5rem" } }) : /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
35012
+ });
35013
+ } else if (stateChanged && state === import_react_sdk127.HMSTranscriptionState.STOPPED) {
35014
+ id = ToastManager.replaceToast(toastId, {
35015
+ title: `Closed Captioning disabled for everyone`,
35016
+ variant: "standard",
35017
+ duration: 2e3,
35018
+ icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.OpenCaptionIcon, { style: { marginRight: "0.5rem" } })
35019
+ });
35020
+ } else if (!stateChanged && translationChanged) {
35021
+ id = ToastManager.replaceToast(toastId, {
35022
+ title: (translation == null ? void 0 : translation.enabled) ? `Translation enabled for everyone` : `Translation disabled for everyone`,
35023
+ variant: "standard",
35024
+ duration: 2e3,
35025
+ icon: /* @__PURE__ */ import_react239.default.createElement(import_react_icons111.GlobeIcon, { style: { marginRight: "0.5rem" } })
35026
+ });
35027
+ }
35028
+ if (id) {
35260
35029
  setToastId(id);
35261
35030
  }
35262
35031
  }, [notification, setToastId]);
@@ -35293,7 +35062,7 @@ var PIPProvider = ({ children }) => {
35293
35062
  }
35294
35063
  }, [pipWindow]);
35295
35064
  const requestPipWindow = (0, import_react241.useCallback)(
35296
- (width, height) => __async(void 0, null, function* () {
35065
+ (width, height) => __async(null, null, function* () {
35297
35066
  if (pipWindow != null) {
35298
35067
  return;
35299
35068
  }
@@ -35462,7 +35231,7 @@ function FlyingEmoji() {
35462
35231
  const isLargeRoom = (0, import_react_sdk131.useHMSStore)(import_react_sdk131.selectIsLargeRoom);
35463
35232
  const startingPoints = (0, import_react247.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
35464
35233
  const showFlyingEmoji = (0, import_react247.useCallback)(
35465
- (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35234
+ (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35466
35235
  if (!emojiId || !senderId || document.hidden) {
35467
35236
  return;
35468
35237
  }
@@ -35560,7 +35329,7 @@ var import_react248 = __toESM(require("react"));
35560
35329
  var import_react_sdk132 = require("@100mslive/react-sdk");
35561
35330
  function RemoteStopScreenshare() {
35562
35331
  const actions = (0, import_react_sdk132.useHMSActions)();
35563
- const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(this, null, function* () {
35332
+ const onRemoteStopScreenshare = (0, import_react248.useCallback)(() => __async(null, null, function* () {
35564
35333
  yield actions.setScreenShareEnabled(false);
35565
35334
  }), [actions]);
35566
35335
  (0, import_react_sdk132.useCustomEvent)({
@@ -35582,7 +35351,7 @@ var useAutoStartStreaming = () => {
35582
35351
  const isConnected = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectIsConnectedToRoom);
35583
35352
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk133.useRecordingStreaming)();
35584
35353
  const streamStartedRef = (0, import_react249.useRef)(false);
35585
- const startHLS = (0, import_react249.useCallback)(() => __async(void 0, null, function* () {
35354
+ const startHLS = (0, import_react249.useCallback)(() => __async(null, null, function* () {
35586
35355
  try {
35587
35356
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
35588
35357
  return;
@@ -35767,13 +35536,13 @@ var AppStates = ({ activeState }) => {
35767
35536
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
35768
35537
  const { isLeaveScreenEnabled } = useRoomLayoutLeaveScreen();
35769
35538
  useAutoStartStreaming();
35770
- return (0, import_ts_pattern17.match)({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ import_react250.default.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ import_react250.default.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ import_react250.default.createElement(ConferenceScreen, null));
35539
+ return (0, import_ts_pattern16.match)({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ import_react250.default.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ import_react250.default.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ import_react250.default.createElement(ConferenceScreen, null));
35771
35540
  };
35772
35541
  var BackSwipe = () => {
35773
35542
  const isConnectedToRoom = (0, import_react_sdk134.useHMSStore)(import_react_sdk134.selectIsConnectedToRoom);
35774
35543
  const hmsActions = (0, import_react_sdk134.useHMSActions)();
35775
35544
  (0, import_react250.useEffect)(() => {
35776
- const onRouteLeave = () => __async(void 0, null, function* () {
35545
+ const onRouteLeave = () => __async(null, null, function* () {
35777
35546
  if (isConnectedToRoom) {
35778
35547
  yield hmsActions.leave();
35779
35548
  }
@@ -36484,7 +36253,7 @@ var VideoTest = () => {
36484
36253
  devices: videoInput || [],
36485
36254
  icon: /* @__PURE__ */ import_react257.default.createElement(import_react_icons115.VideoOnIcon, null),
36486
36255
  selection: sdkSelectedDevices.videoInputDeviceId,
36487
- onChange: (deviceId) => __async(void 0, null, function* () {
36256
+ onChange: (deviceId) => __async(null, null, function* () {
36488
36257
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36489
36258
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36490
36259
  })
@@ -36618,16 +36387,6 @@ lodash/lodash.js:
36618
36387
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
36619
36388
  *)
36620
36389
 
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
36390
  react-is/cjs/react-is.development.js:
36632
36391
  (** @license React v16.13.1
36633
36392
  * react-is.development.js