@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.js CHANGED
@@ -8,6 +8,9 @@ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
8
  var __getProtoOf = Object.getPrototypeOf;
9
9
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
10
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
+ var __typeError = (msg) => {
12
+ throw TypeError(msg);
13
+ };
11
14
  var __pow = Math.pow;
12
15
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
16
  var __spreadValues = (a2, b2) => {
@@ -34,8 +37,8 @@ var __objRest = (source, exclude) => {
34
37
  }
35
38
  return target;
36
39
  };
37
- var __esm = (fn2, res) => function __init() {
38
- return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
40
+ var __esm = (fn, res) => function __init() {
41
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
39
42
  };
40
43
  var __commonJS = (cb, mod) => function __require() {
41
44
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -60,28 +63,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
60
63
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
61
64
  mod
62
65
  ));
63
- var __publicField = (obj, key, value) => {
64
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
65
- return value;
66
- };
67
- var __accessCheck = (obj, member, msg) => {
68
- if (!member.has(obj))
69
- throw TypeError("Cannot " + msg);
70
- };
71
- var __privateGet = (obj, member, getter) => {
72
- __accessCheck(obj, member, "read from private field");
73
- return getter ? getter.call(obj) : member.get(obj);
74
- };
75
- var __privateAdd = (obj, member, value) => {
76
- if (member.has(obj))
77
- throw TypeError("Cannot add the same private member more than once");
78
- member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
79
- };
80
- var __privateSet = (obj, member, value, setter) => {
81
- __accessCheck(obj, member, "write to private field");
82
- setter ? setter.call(obj, value) : member.set(obj, value);
83
- return value;
84
- };
66
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
67
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
68
+ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
69
+ 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);
70
+ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
85
71
  var __async = (__this, __arguments, generator) => {
86
72
  return new Promise((resolve, reject) => {
87
73
  var fulfilled = (value) => {
@@ -107,7 +93,7 @@ var __async = (__this, __arguments, generator) => {
107
93
  var define_process_env_default;
108
94
  var init_define_process_env = __esm({
109
95
  "<define:process.env>"() {
110
- 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" };
96
+ 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" };
111
97
  }
112
98
  });
113
99
 
@@ -117,9 +103,9 @@ var require_lodash = __commonJS({
117
103
  init_define_process_env();
118
104
  (function() {
119
105
  var undefined2;
120
- var VERSION2 = "4.17.23";
106
+ var VERSION2 = "4.18.1";
121
107
  var LARGE_ARRAY_SIZE = 200;
122
- 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`";
108
+ 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`";
123
109
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
124
110
  var MAX_MEMOIZE_SIZE = 500;
125
111
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -446,7 +432,7 @@ var require_lodash = __commonJS({
446
432
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
447
433
  var moduleExports = freeModule && freeModule.exports === freeExports;
448
434
  var freeProcess = moduleExports && freeGlobal.process;
449
- var nodeUtil = function() {
435
+ var nodeUtil = (function() {
450
436
  try {
451
437
  var types = freeModule && freeModule.require && freeModule.require("util").types;
452
438
  if (types) {
@@ -455,7 +441,7 @@ var require_lodash = __commonJS({
455
441
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
456
442
  } catch (e) {
457
443
  }
458
- }();
444
+ })();
459
445
  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;
460
446
  function apply(func, thisArg, args) {
461
447
  switch (args.length) {
@@ -801,7 +787,7 @@ var require_lodash = __commonJS({
801
787
  function unicodeWords(string) {
802
788
  return string.match(reUnicodeWord) || [];
803
789
  }
804
- var runInContext = function runInContext2(context) {
790
+ var runInContext = (function runInContext2(context) {
805
791
  context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
806
792
  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;
807
793
  var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
@@ -809,10 +795,10 @@ var require_lodash = __commonJS({
809
795
  var funcToString = funcProto.toString;
810
796
  var hasOwnProperty = objectProto.hasOwnProperty;
811
797
  var idCounter = 0;
812
- var maskSrcKey = function() {
798
+ var maskSrcKey = (function() {
813
799
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
814
800
  return uid ? "Symbol(src)_1." + uid : "";
815
- }();
801
+ })();
816
802
  var nativeObjectToString = objectProto.toString;
817
803
  var objectCtorString = funcToString.call(Object2);
818
804
  var oldDash = root._;
@@ -820,14 +806,14 @@ var require_lodash = __commonJS({
820
806
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
821
807
  );
822
808
  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;
823
- var defineProperty = function() {
809
+ var defineProperty = (function() {
824
810
  try {
825
811
  var func = getNative(Object2, "defineProperty");
826
812
  func({}, "", {});
827
813
  return func;
828
814
  } catch (e) {
829
815
  }
830
- }();
816
+ })();
831
817
  var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
832
818
  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;
833
819
  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");
@@ -846,7 +832,7 @@ var require_lodash = __commonJS({
846
832
  }
847
833
  return new LodashWrapper(value);
848
834
  }
849
- var baseCreate = function() {
835
+ var baseCreate = /* @__PURE__ */ (function() {
850
836
  function object() {
851
837
  }
852
838
  return function(proto) {
@@ -861,7 +847,7 @@ var require_lodash = __commonJS({
861
847
  object.prototype = undefined2;
862
848
  return result2;
863
849
  };
864
- }();
850
+ })();
865
851
  function baseLodash() {
866
852
  }
867
853
  function LodashWrapper(value, chainAll) {
@@ -2049,19 +2035,12 @@ var require_lodash = __commonJS({
2049
2035
  if (!length) {
2050
2036
  return true;
2051
2037
  }
2052
- var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
2053
2038
  while (++index < length) {
2054
- var key = path[index];
2055
- if (typeof key !== "string") {
2056
- continue;
2057
- }
2039
+ var key = toKey(path[index]);
2058
2040
  if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
2059
2041
  return false;
2060
2042
  }
2061
- if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
2062
- if (isRootPrimitive && index === 0) {
2063
- continue;
2064
- }
2043
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
2065
2044
  return false;
2066
2045
  }
2067
2046
  }
@@ -2306,8 +2285,8 @@ var require_lodash = __commonJS({
2306
2285
  function createBind(func, bitmask, thisArg) {
2307
2286
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2308
2287
  function wrapper() {
2309
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2310
- return fn2.apply(isBind ? thisArg : this, arguments);
2288
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2289
+ return fn.apply(isBind ? thisArg : this, arguments);
2311
2290
  }
2312
2291
  return wrapper;
2313
2292
  }
@@ -2373,8 +2352,8 @@ var require_lodash = __commonJS({
2373
2352
  arity - length
2374
2353
  );
2375
2354
  }
2376
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2377
- return apply(fn2, this, args);
2355
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2356
+ return apply(fn, this, args);
2378
2357
  }
2379
2358
  return wrapper;
2380
2359
  }
@@ -2462,7 +2441,7 @@ var require_lodash = __commonJS({
2462
2441
  arity - length
2463
2442
  );
2464
2443
  }
2465
- var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2444
+ var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2466
2445
  length = args.length;
2467
2446
  if (argPos) {
2468
2447
  args = reorder(args, argPos);
@@ -2473,9 +2452,9 @@ var require_lodash = __commonJS({
2473
2452
  args.length = ary2;
2474
2453
  }
2475
2454
  if (this && this !== root && this instanceof wrapper) {
2476
- fn2 = Ctor || createCtor(fn2);
2455
+ fn = Ctor || createCtor(fn);
2477
2456
  }
2478
- return fn2.apply(thisBinding, args);
2457
+ return fn.apply(thisBinding, args);
2479
2458
  }
2480
2459
  return wrapper;
2481
2460
  }
@@ -2532,14 +2511,14 @@ var require_lodash = __commonJS({
2532
2511
  function createPartial(func, bitmask, thisArg, partials) {
2533
2512
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2534
2513
  function wrapper() {
2535
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2514
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2536
2515
  while (++leftIndex < leftLength) {
2537
2516
  args[leftIndex] = partials[leftIndex];
2538
2517
  }
2539
2518
  while (argsLength--) {
2540
2519
  args[leftIndex++] = arguments[++argsIndex];
2541
2520
  }
2542
- return apply(fn2, isBind ? thisArg : this, args);
2521
+ return apply(fn, isBind ? thisArg : this, args);
2543
2522
  }
2544
2523
  return wrapper;
2545
2524
  }
@@ -2949,8 +2928,8 @@ var require_lodash = __commonJS({
2949
2928
  return { "start": start, "end": end };
2950
2929
  }
2951
2930
  function getWrapDetails(source) {
2952
- var match18 = source.match(reWrapDetails);
2953
- return match18 ? match18[1].split(reSplitDetails) : [];
2931
+ var match17 = source.match(reWrapDetails);
2932
+ return match17 ? match17[1].split(reSplitDetails) : [];
2954
2933
  }
2955
2934
  function hasPath(object, path, hasFunc) {
2956
2935
  path = castPath(path, object);
@@ -3218,8 +3197,8 @@ var require_lodash = __commonJS({
3218
3197
  if (string.charCodeAt(0) === 46) {
3219
3198
  result2.push("");
3220
3199
  }
3221
- string.replace(rePropName, function(match18, number, quote, subString) {
3222
- result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match18);
3200
+ string.replace(rePropName, function(match17, number, quote, subString) {
3201
+ result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match17);
3223
3202
  });
3224
3203
  return result2;
3225
3204
  });
@@ -3393,7 +3372,7 @@ var require_lodash = __commonJS({
3393
3372
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
3394
3373
  while (++index < length) {
3395
3374
  var pair = pairs[index];
3396
- result2[pair[0]] = pair[1];
3375
+ baseAssignValue(result2, pair[0], pair[1]);
3397
3376
  }
3398
3377
  return result2;
3399
3378
  }
@@ -4173,9 +4152,9 @@ var require_lodash = __commonJS({
4173
4152
  var gte = createRelationalOperation(function(value, other) {
4174
4153
  return value >= other;
4175
4154
  });
4176
- var isArguments = baseIsArguments(function() {
4155
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
4177
4156
  return arguments;
4178
- }()) ? baseIsArguments : function(value) {
4157
+ })()) ? baseIsArguments : function(value) {
4179
4158
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
4180
4159
  };
4181
4160
  var isArray2 = Array2.isArray;
@@ -4777,15 +4756,20 @@ var require_lodash = __commonJS({
4777
4756
  options = undefined2;
4778
4757
  }
4779
4758
  string = toString(string);
4780
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
4781
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4759
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
4760
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
4761
+ arrayEach(importsKeys, function(key) {
4762
+ if (reForbiddenIdentifierChars.test(key)) {
4763
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
4764
+ }
4765
+ });
4782
4766
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
4783
4767
  var reDelimiters = RegExp2(
4784
4768
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
4785
4769
  "g"
4786
4770
  );
4787
4771
  var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
4788
- string.replace(reDelimiters, function(match18, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4772
+ string.replace(reDelimiters, function(match17, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
4789
4773
  interpolateValue || (interpolateValue = esTemplateValue);
4790
4774
  source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
4791
4775
  if (escapeValue) {
@@ -4799,8 +4783,8 @@ var require_lodash = __commonJS({
4799
4783
  if (interpolateValue) {
4800
4784
  source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
4801
4785
  }
4802
- index = offset + match18.length;
4803
- return match18;
4786
+ index = offset + match17.length;
4787
+ return match17;
4804
4788
  });
4805
4789
  source += "';\n";
4806
4790
  var variable = hasOwnProperty.call(options, "variable") && options.variable;
@@ -4888,13 +4872,13 @@ var require_lodash = __commonJS({
4888
4872
  }
4889
4873
  if (isRegExp(separator)) {
4890
4874
  if (string.slice(end).search(separator)) {
4891
- var match18, substring = result2;
4875
+ var match17, substring = result2;
4892
4876
  if (!separator.global) {
4893
4877
  separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
4894
4878
  }
4895
4879
  separator.lastIndex = 0;
4896
- while (match18 = separator.exec(substring)) {
4897
- var newEnd = match18.index;
4880
+ while (match17 = separator.exec(substring)) {
4881
+ var newEnd = match17.index;
4898
4882
  }
4899
4883
  result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
4900
4884
  }
@@ -5427,7 +5411,7 @@ var require_lodash = __commonJS({
5427
5411
  lodash.each = forEach;
5428
5412
  lodash.eachRight = forEachRight;
5429
5413
  lodash.first = head;
5430
- mixin(lodash, function() {
5414
+ mixin(lodash, (function() {
5431
5415
  var source = {};
5432
5416
  baseForOwn(lodash, function(func, methodName) {
5433
5417
  if (!hasOwnProperty.call(lodash.prototype, methodName)) {
@@ -5435,7 +5419,7 @@ var require_lodash = __commonJS({
5435
5419
  }
5436
5420
  });
5437
5421
  return source;
5438
- }(), { "chain": false });
5422
+ })(), { "chain": false });
5439
5423
  lodash.VERSION = VERSION2;
5440
5424
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
5441
5425
  lodash[methodName].placeholder = lodash;
@@ -5595,7 +5579,7 @@ var require_lodash = __commonJS({
5595
5579
  lodash.prototype[symIterator] = wrapperToIterator;
5596
5580
  }
5597
5581
  return lodash;
5598
- };
5582
+ });
5599
5583
  var _ = runInContext();
5600
5584
  if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
5601
5585
  root._ = _;
@@ -5665,12 +5649,12 @@ var require_lodash2 = __commonJS({
5665
5649
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
5666
5650
  var moduleExports = freeModule && freeModule.exports === freeExports;
5667
5651
  var freeProcess = moduleExports && freeGlobal.process;
5668
- var nodeUtil = function() {
5652
+ var nodeUtil = (function() {
5669
5653
  try {
5670
5654
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
5671
5655
  } catch (e) {
5672
5656
  }
5673
- }();
5657
+ })();
5674
5658
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
5675
5659
  function arrayFilter(array, predicate) {
5676
5660
  var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
@@ -5741,10 +5725,10 @@ var require_lodash2 = __commonJS({
5741
5725
  var coreJsData = root["__core-js_shared__"];
5742
5726
  var funcToString = funcProto.toString;
5743
5727
  var hasOwnProperty = objectProto.hasOwnProperty;
5744
- var maskSrcKey = function() {
5728
+ var maskSrcKey = (function() {
5745
5729
  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
5746
5730
  return uid ? "Symbol(src)_1." + uid : "";
5747
- }();
5731
+ })();
5748
5732
  var nativeObjectToString = objectProto.toString;
5749
5733
  var reIsNative = RegExp(
5750
5734
  "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
@@ -6270,9 +6254,9 @@ var require_lodash2 = __commonJS({
6270
6254
  function eq(value, other) {
6271
6255
  return value === other || value !== value && other !== other;
6272
6256
  }
6273
- var isArguments = baseIsArguments(function() {
6257
+ var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
6274
6258
  return arguments;
6275
- }()) ? baseIsArguments : function(value) {
6259
+ })()) ? baseIsArguments : function(value) {
6276
6260
  return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
6277
6261
  };
6278
6262
  var isArray2 = Array.isArray;
@@ -7403,13 +7387,13 @@ var require_parser = __commonJS({
7403
7387
  var toIntIfInt = function(v) {
7404
7388
  return String(Number(v)) === v ? Number(v) : v;
7405
7389
  };
7406
- var attachProperties = function(match18, location, names, rawName) {
7390
+ var attachProperties = function(match17, location, names, rawName) {
7407
7391
  if (rawName && !names) {
7408
- location[rawName] = toIntIfInt(match18[1]);
7392
+ location[rawName] = toIntIfInt(match17[1]);
7409
7393
  } else {
7410
7394
  for (var i = 0; i < names.length; i += 1) {
7411
- if (match18[i + 1] != null) {
7412
- location[names[i]] = toIntIfInt(match18[i + 1]);
7395
+ if (match17[i + 1] != null) {
7396
+ location[names[i]] = toIntIfInt(match17[i + 1]);
7413
7397
  }
7414
7398
  }
7415
7399
  }
@@ -7628,147 +7612,33 @@ var require_lib = __commonJS({
7628
7612
  }
7629
7613
  });
7630
7614
 
7631
- // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js
7632
- var require_react_is_production_min = __commonJS({
7633
- "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js"(exports) {
7634
- "use strict";
7635
- init_define_process_env();
7636
- var b2 = "function" === typeof Symbol && Symbol.for;
7637
- var c2 = b2 ? Symbol.for("react.element") : 60103;
7638
- var d = b2 ? Symbol.for("react.portal") : 60106;
7639
- var e = b2 ? Symbol.for("react.fragment") : 60107;
7640
- var f = b2 ? Symbol.for("react.strict_mode") : 60108;
7641
- var g = b2 ? Symbol.for("react.profiler") : 60114;
7642
- var h = b2 ? Symbol.for("react.provider") : 60109;
7643
- var k2 = b2 ? Symbol.for("react.context") : 60110;
7644
- var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
7645
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
7646
- var n = b2 ? Symbol.for("react.forward_ref") : 60112;
7647
- var p = b2 ? Symbol.for("react.suspense") : 60113;
7648
- var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
7649
- var r = b2 ? Symbol.for("react.memo") : 60115;
7650
- var t = b2 ? Symbol.for("react.lazy") : 60116;
7651
- var v = b2 ? Symbol.for("react.block") : 60121;
7652
- var w = b2 ? Symbol.for("react.fundamental") : 60117;
7653
- var x = b2 ? Symbol.for("react.responder") : 60118;
7654
- var y2 = b2 ? Symbol.for("react.scope") : 60119;
7655
- function z2(a2) {
7656
- if ("object" === typeof a2 && null !== a2) {
7657
- var u = a2.$$typeof;
7658
- switch (u) {
7659
- case c2:
7660
- switch (a2 = a2.type, a2) {
7661
- case l2:
7662
- case m2:
7663
- case e:
7664
- case g:
7665
- case f:
7666
- case p:
7667
- return a2;
7668
- default:
7669
- switch (a2 = a2 && a2.$$typeof, a2) {
7670
- case k2:
7671
- case n:
7672
- case t:
7673
- case r:
7674
- case h:
7675
- return a2;
7676
- default:
7677
- return u;
7678
- }
7679
- }
7680
- case d:
7681
- return u;
7682
- }
7683
- }
7684
- }
7685
- function A(a2) {
7686
- return z2(a2) === m2;
7687
- }
7688
- exports.AsyncMode = l2;
7689
- exports.ConcurrentMode = m2;
7690
- exports.ContextConsumer = k2;
7691
- exports.ContextProvider = h;
7692
- exports.Element = c2;
7693
- exports.ForwardRef = n;
7694
- exports.Fragment = e;
7695
- exports.Lazy = t;
7696
- exports.Memo = r;
7697
- exports.Portal = d;
7698
- exports.Profiler = g;
7699
- exports.StrictMode = f;
7700
- exports.Suspense = p;
7701
- exports.isAsyncMode = function(a2) {
7702
- return A(a2) || z2(a2) === l2;
7703
- };
7704
- exports.isConcurrentMode = A;
7705
- exports.isContextConsumer = function(a2) {
7706
- return z2(a2) === k2;
7707
- };
7708
- exports.isContextProvider = function(a2) {
7709
- return z2(a2) === h;
7710
- };
7711
- exports.isElement = function(a2) {
7712
- return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
7713
- };
7714
- exports.isForwardRef = function(a2) {
7715
- return z2(a2) === n;
7716
- };
7717
- exports.isFragment = function(a2) {
7718
- return z2(a2) === e;
7719
- };
7720
- exports.isLazy = function(a2) {
7721
- return z2(a2) === t;
7722
- };
7723
- exports.isMemo = function(a2) {
7724
- return z2(a2) === r;
7725
- };
7726
- exports.isPortal = function(a2) {
7727
- return z2(a2) === d;
7728
- };
7729
- exports.isProfiler = function(a2) {
7730
- return z2(a2) === g;
7731
- };
7732
- exports.isStrictMode = function(a2) {
7733
- return z2(a2) === f;
7734
- };
7735
- exports.isSuspense = function(a2) {
7736
- return z2(a2) === p;
7737
- };
7738
- exports.isValidElementType = function(a2) {
7739
- 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);
7740
- };
7741
- exports.typeOf = z2;
7742
- }
7743
- });
7744
-
7745
7615
  // ../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js
7746
7616
  var require_react_is_development = __commonJS({
7747
7617
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js"(exports) {
7748
7618
  "use strict";
7749
7619
  init_define_process_env();
7750
- if (define_process_env_default.NODE_ENV !== "production") {
7620
+ if (true) {
7751
7621
  (function() {
7752
7622
  "use strict";
7753
7623
  var hasSymbol = typeof Symbol === "function" && Symbol.for;
7754
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for("react.element") : 60103;
7755
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for("react.portal") : 60106;
7756
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for("react.fragment") : 60107;
7757
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for("react.strict_mode") : 60108;
7758
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for("react.profiler") : 60114;
7759
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for("react.provider") : 60109;
7760
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for("react.context") : 60110;
7761
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for("react.async_mode") : 60111;
7762
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for("react.concurrent_mode") : 60111;
7763
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for("react.forward_ref") : 60112;
7764
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for("react.suspense") : 60113;
7765
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for("react.suspense_list") : 60120;
7766
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for("react.memo") : 60115;
7767
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for("react.lazy") : 60116;
7768
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for("react.block") : 60121;
7769
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
7770
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
7771
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
7624
+ var REACT_ELEMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.element") : 60103;
7625
+ var REACT_PORTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.portal") : 60106;
7626
+ var REACT_FRAGMENT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107;
7627
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108;
7628
+ var REACT_PROFILER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114;
7629
+ var REACT_PROVIDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.provider") : 60109;
7630
+ var REACT_CONTEXT_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.context") : 60110;
7631
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111;
7632
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111;
7633
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112;
7634
+ var REACT_SUSPENSE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113;
7635
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120;
7636
+ var REACT_MEMO_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.memo") : 60115;
7637
+ var REACT_LAZY_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116;
7638
+ var REACT_BLOCK_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.block") : 60121;
7639
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117;
7640
+ var REACT_RESPONDER_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.responder") : 60118;
7641
+ var REACT_SCOPE_TYPE = hasSymbol ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
7772
7642
  function isValidElementType(type) {
7773
7643
  return typeof type === "string" || typeof type === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
7774
7644
  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);
@@ -7903,8 +7773,8 @@ var require_react_is = __commonJS({
7903
7773
  "../../node_modules/prop-types/node_modules/react-is/index.js"(exports, module) {
7904
7774
  "use strict";
7905
7775
  init_define_process_env();
7906
- if (define_process_env_default.NODE_ENV === "production") {
7907
- module.exports = require_react_is_production_min();
7776
+ if (false) {
7777
+ module.exports = null;
7908
7778
  } else {
7909
7779
  module.exports = require_react_is_development();
7910
7780
  }
@@ -8007,7 +7877,7 @@ var require_checkPropTypes = __commonJS({
8007
7877
  init_define_process_env();
8008
7878
  var printWarning = function() {
8009
7879
  };
8010
- if (define_process_env_default.NODE_ENV !== "production") {
7880
+ if (true) {
8011
7881
  ReactPropTypesSecret = require_ReactPropTypesSecret();
8012
7882
  loggedTypeFailures = {};
8013
7883
  has2 = require_has();
@@ -8026,7 +7896,7 @@ var require_checkPropTypes = __commonJS({
8026
7896
  var loggedTypeFailures;
8027
7897
  var has2;
8028
7898
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
8029
- if (define_process_env_default.NODE_ENV !== "production") {
7899
+ if (true) {
8030
7900
  for (var typeSpecName in typeSpecs) {
8031
7901
  if (has2(typeSpecs, typeSpecName)) {
8032
7902
  var error;
@@ -8059,7 +7929,7 @@ var require_checkPropTypes = __commonJS({
8059
7929
  }
8060
7930
  }
8061
7931
  checkPropTypes.resetWarningCache = function() {
8062
- if (define_process_env_default.NODE_ENV !== "production") {
7932
+ if (true) {
8063
7933
  loggedTypeFailures = {};
8064
7934
  }
8065
7935
  };
@@ -8079,7 +7949,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8079
7949
  var checkPropTypes = require_checkPropTypes();
8080
7950
  var printWarning = function() {
8081
7951
  };
8082
- if (define_process_env_default.NODE_ENV !== "production") {
7952
+ if (true) {
8083
7953
  printWarning = function(text) {
8084
7954
  var message = "Warning: " + text;
8085
7955
  if (typeof console !== "undefined") {
@@ -8139,7 +8009,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8139
8009
  }
8140
8010
  PropTypeError.prototype = Error.prototype;
8141
8011
  function createChainableTypeChecker(validate) {
8142
- if (define_process_env_default.NODE_ENV !== "production") {
8012
+ if (true) {
8143
8013
  var manualPropTypeCallCache = {};
8144
8014
  var manualPropTypeWarningCount = 0;
8145
8015
  }
@@ -8153,7 +8023,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8153
8023
  );
8154
8024
  err.name = "Invariant Violation";
8155
8025
  throw err;
8156
- } else if (define_process_env_default.NODE_ENV !== "production" && typeof console !== "undefined") {
8026
+ } else if (typeof console !== "undefined") {
8157
8027
  var cacheKey = componentName + ":" + propName;
8158
8028
  if (!manualPropTypeCallCache[cacheKey] && // Avoid spamming the console because they are often not actionable except for lib authors
8159
8029
  manualPropTypeWarningCount < 3) {
@@ -8254,7 +8124,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8254
8124
  }
8255
8125
  function createEnumTypeChecker(expectedValues) {
8256
8126
  if (!Array.isArray(expectedValues)) {
8257
- if (define_process_env_default.NODE_ENV !== "production") {
8127
+ if (true) {
8258
8128
  if (arguments.length > 1) {
8259
8129
  printWarning(
8260
8130
  "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])."
@@ -8307,7 +8177,7 @@ var require_factoryWithTypeCheckers = __commonJS({
8307
8177
  }
8308
8178
  function createUnionTypeChecker(arrayOfTypeCheckers) {
8309
8179
  if (!Array.isArray(arrayOfTypeCheckers)) {
8310
- define_process_env_default.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8180
+ true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0;
8311
8181
  return emptyFunctionThatReturnsNull;
8312
8182
  }
8313
8183
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -8511,73 +8381,16 @@ var require_factoryWithTypeCheckers = __commonJS({
8511
8381
  }
8512
8382
  });
8513
8383
 
8514
- // ../../node_modules/prop-types/factoryWithThrowingShims.js
8515
- var require_factoryWithThrowingShims = __commonJS({
8516
- "../../node_modules/prop-types/factoryWithThrowingShims.js"(exports, module) {
8517
- "use strict";
8518
- init_define_process_env();
8519
- var ReactPropTypesSecret = require_ReactPropTypesSecret();
8520
- function emptyFunction() {
8521
- }
8522
- function emptyFunctionWithReset() {
8523
- }
8524
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
8525
- module.exports = function() {
8526
- function shim(props, propName, componentName, location, propFullName, secret) {
8527
- if (secret === ReactPropTypesSecret) {
8528
- return;
8529
- }
8530
- var err = new Error(
8531
- "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"
8532
- );
8533
- err.name = "Invariant Violation";
8534
- throw err;
8535
- }
8536
- ;
8537
- shim.isRequired = shim;
8538
- function getShim() {
8539
- return shim;
8540
- }
8541
- ;
8542
- var ReactPropTypes = {
8543
- array: shim,
8544
- bigint: shim,
8545
- bool: shim,
8546
- func: shim,
8547
- number: shim,
8548
- object: shim,
8549
- string: shim,
8550
- symbol: shim,
8551
- any: shim,
8552
- arrayOf: getShim,
8553
- element: shim,
8554
- elementType: shim,
8555
- instanceOf: getShim,
8556
- node: shim,
8557
- objectOf: getShim,
8558
- oneOf: getShim,
8559
- oneOfType: getShim,
8560
- shape: getShim,
8561
- exact: getShim,
8562
- checkPropTypes: emptyFunctionWithReset,
8563
- resetWarningCache: emptyFunction
8564
- };
8565
- ReactPropTypes.PropTypes = ReactPropTypes;
8566
- return ReactPropTypes;
8567
- };
8568
- }
8569
- });
8570
-
8571
8384
  // ../../node_modules/prop-types/index.js
8572
8385
  var require_prop_types = __commonJS({
8573
8386
  "../../node_modules/prop-types/index.js"(exports, module) {
8574
8387
  init_define_process_env();
8575
- if (define_process_env_default.NODE_ENV !== "production") {
8388
+ if (true) {
8576
8389
  ReactIs = require_react_is();
8577
8390
  throwOnDirectAccess = true;
8578
8391
  module.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
8579
8392
  } else {
8580
- module.exports = require_factoryWithThrowingShims()();
8393
+ module.exports = null();
8581
8394
  }
8582
8395
  var ReactIs;
8583
8396
  var throwOnDirectAccess;
@@ -10113,8 +9926,7 @@ var StyledDialog = styled2(Root6, {});
10113
9926
  var DialogRoot = (props) => {
10114
9927
  useEffect3(() => {
10115
9928
  return () => {
10116
- if (document)
10117
- setTimeout(() => document.body.style.pointerEvents = "auto", 0);
9929
+ if (document) setTimeout(() => document.body.style.pointerEvents = "auto", 0);
10118
9930
  };
10119
9931
  }, []);
10120
9932
  return /* @__PURE__ */ React11.createElement(StyledDialog, __spreadValues({}, props));
@@ -11702,8 +11514,8 @@ var Collapsible = {
11702
11514
 
11703
11515
  // src/Prebuilt/App.tsx
11704
11516
  init_define_process_env();
11705
- import React204, { useEffect as useEffect88, useRef as useRef36 } from "react";
11706
- import { match as match17 } from "ts-pattern";
11517
+ import React204, { useEffect as useEffect88, useRef as useRef37 } from "react";
11518
+ import { match as match16 } from "ts-pattern";
11707
11519
  import {
11708
11520
  HMSReactiveStore,
11709
11521
  HMSRoomProvider,
@@ -12003,7 +11815,7 @@ var LayoutSettings = () => {
12003
11815
  const isLocalScreenShared = useHMSStore3(selectIsLocalScreenShared);
12004
11816
  const [{ isAudioOnly, maxTileCount, mirrorLocalVideo }, setUISettings] = useSetUiSettings();
12005
11817
  const toggleIsAudioOnly = useCallback4(
12006
- (isAudioOnlyModeOn) => __async(void 0, null, function* () {
11818
+ (isAudioOnlyModeOn) => __async(null, null, function* () {
12007
11819
  if (isAudioOnlyModeOn) {
12008
11820
  isLocalVideoEnabled && (yield hmsActions.setLocalVideoEnabled(false));
12009
11821
  isLocalScreenShared && (yield hmsActions.setScreenShareEnabled(false));
@@ -12121,7 +11933,7 @@ var defaultLayout = {
12121
11933
  };
12122
11934
 
12123
11935
  // src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts
12124
- var fetchWithRetry = (..._0) => __async(void 0, [..._0], function* (url = "", options = {}) {
11936
+ var fetchWithRetry = (..._0) => __async(null, [..._0], function* (url = "", options = {}) {
12125
11937
  const MAX_RETRIES = 4;
12126
11938
  let error = Error("something went wrong");
12127
11939
  for (let i = 0; i < MAX_RETRIES; i++) {
@@ -12154,7 +11966,7 @@ var useFetchRoomLayout = ({
12154
11966
  }
12155
11967
  }, []);
12156
11968
  useEffect5(() => {
12157
- (() => __async(void 0, null, function* () {
11969
+ (() => __async(null, null, function* () {
12158
11970
  var _a8, _b7;
12159
11971
  if (isFetchInProgress.current || !authToken) {
12160
11972
  return;
@@ -12251,8 +12063,7 @@ var formatTime = (timeInSeconds) => {
12251
12063
  return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
12252
12064
  };
12253
12065
  var compareArrays = (a2, b2) => {
12254
- if (a2.length !== b2.length)
12255
- return false;
12066
+ if (a2.length !== b2.length) return false;
12256
12067
  else {
12257
12068
  for (var i = 0; i < a2.length; i++) {
12258
12069
  if (a2[i] !== b2[i]) {
@@ -14390,7 +14201,7 @@ var useNoiseCancellationWithPlugin = () => {
14390
14201
  const [, setNoiseCancellationEnabled] = useSetNoiseCancellation();
14391
14202
  const isEnabledForRoom = (_a8 = useHMSStore9(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14392
14203
  const setNoiseCancellationWithPlugin = useCallback9(
14393
- (enabled) => __async(void 0, null, function* () {
14204
+ (enabled) => __async(null, null, function* () {
14394
14205
  if (!isEnabledForRoom || inProgress) {
14395
14206
  return;
14396
14207
  }
@@ -14432,7 +14243,7 @@ var NoiseCancellation = ({
14432
14243
  {
14433
14244
  active: isNoiseCancellationEnabled && isKrispPluginAdded,
14434
14245
  disabled: inProgress,
14435
- onClick: () => __async(void 0, null, function* () {
14246
+ onClick: () => __async(null, null, function* () {
14436
14247
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14437
14248
  setOpenOptionsSheet == null ? void 0 : setOpenOptionsSheet(false);
14438
14249
  })
@@ -14445,7 +14256,7 @@ var NoiseCancellation = ({
14445
14256
  return /* @__PURE__ */ React34.createElement(Tooltip, { title: isNoiseCancellationEnabled ? "Noise Reduced" : "Reduce Noise" }, /* @__PURE__ */ React34.createElement(
14446
14257
  IconButton_default,
14447
14258
  {
14448
- onClick: () => __async(void 0, null, function* () {
14259
+ onClick: () => __async(null, null, function* () {
14449
14260
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14450
14261
  }),
14451
14262
  disabled: inProgress,
@@ -14466,7 +14277,7 @@ var NoiseCancellation = ({
14466
14277
  fontSize: "$xs",
14467
14278
  justifyContent: "space-between"
14468
14279
  },
14469
- onClick: (e) => __async(void 0, null, function* () {
14280
+ onClick: (e) => __async(null, null, function* () {
14470
14281
  e.preventDefault();
14471
14282
  yield setNoiseCancellationWithPlugin(!isNoiseCancellationEnabled);
14472
14283
  })
@@ -14479,7 +14290,7 @@ var NoiseCancellation = ({
14479
14290
  checked: isNoiseCancellationEnabled && isKrispPluginAdded,
14480
14291
  disabled: inProgress,
14481
14292
  onClick: (e) => e.stopPropagation(),
14482
- onCheckedChange: (value) => __async(void 0, null, function* () {
14293
+ onCheckedChange: (value) => __async(null, null, function* () {
14483
14294
  yield setNoiseCancellationWithPlugin(value);
14484
14295
  })
14485
14296
  }
@@ -14493,7 +14304,7 @@ var AudioOutputLabel = ({ deviceId }) => {
14493
14304
  {
14494
14305
  variant: "xs",
14495
14306
  css: { color: "$primary_bright", "&:hover": { cursor: "pointer" } },
14496
- onClick: () => __async(void 0, null, function* () {
14307
+ onClick: () => __async(null, null, function* () {
14497
14308
  var _a8;
14498
14309
  if (playing) {
14499
14310
  return;
@@ -14559,7 +14370,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14559
14370
  const { setNoiseCancellationWithPlugin, inProgress } = useNoiseCancellationWithPlugin();
14560
14371
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
14561
14372
  useEffect11(() => {
14562
- (() => __async(void 0, null, function* () {
14373
+ (() => __async(null, null, function* () {
14563
14374
  var _a8;
14564
14375
  const isEnabledForRoom = (_a8 = vanillaStore.getState(selectRoom)) == null ? void 0 : _a8.isNoiseCancellationEnabled;
14565
14376
  if (isEnabledForRoom && isNoiseCancellationEnabled && !isKrispPluginAdded && !inProgress && (localPeer == null ? void 0 : localPeer.audioTrack)) {
@@ -14636,7 +14447,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
14636
14447
  ) : null, (localVideoTrack == null ? void 0 : localVideoTrack.facingMode) && roomState === HMSRoomState3.Preview && (isIOS || isAndroid) ? /* @__PURE__ */ React34.createElement(Tooltip, { title: "Switch Camera", key: "switchCamera" }, /* @__PURE__ */ React34.createElement(
14637
14448
  IconButton_default,
14638
14449
  {
14639
- onClick: () => __async(void 0, null, function* () {
14450
+ onClick: () => __async(null, null, function* () {
14640
14451
  try {
14641
14452
  yield actions.switchCamera();
14642
14453
  } catch (e) {
@@ -14811,7 +14622,7 @@ var useMobileHLSStream = () => {
14811
14622
  };
14812
14623
  var useKeyboardHandler = (isPaused, hlsPlayer2) => {
14813
14624
  const handleKeyEvent = useCallback10(
14814
- (event) => __async(void 0, null, function* () {
14625
+ (event) => __async(null, null, function* () {
14815
14626
  switch (event.key) {
14816
14627
  case " ":
14817
14628
  if (isPaused) {
@@ -14843,7 +14654,7 @@ var useRecordingHandler = () => {
14843
14654
  }
14844
14655
  }, [recordingStarted, recordingState.browser.error, setRecordingState]);
14845
14656
  const startRecording = useCallback10(
14846
- (resolution = null) => __async(void 0, null, function* () {
14657
+ (resolution = null) => __async(null, null, function* () {
14847
14658
  try {
14848
14659
  setRecordingState(true);
14849
14660
  setIsRecordingLoading(true);
@@ -14929,7 +14740,7 @@ var EmojiReaction = ({ showCard = false }) => {
14929
14740
  const { sendEvent } = useCustomEvent({
14930
14741
  type: EMOJI_REACTION_TYPE
14931
14742
  });
14932
- const sendReaction = (emojiId) => __async(void 0, null, function* () {
14743
+ const sendReaction = (emojiId) => __async(null, null, function* () {
14933
14744
  var _a8;
14934
14745
  const data3 = {
14935
14746
  type: EMOJI_REACTION_TYPE,
@@ -15018,7 +14829,7 @@ var EndSessionContent = ({
15018
14829
  {
15019
14830
  variant: "danger",
15020
14831
  css: { w: "100%" },
15021
- onClick: () => __async(void 0, null, function* () {
14832
+ onClick: () => __async(null, null, function* () {
15022
14833
  yield leaveRoom({ endStream: true });
15023
14834
  setShowEndStreamAlert(false);
15024
14835
  }),
@@ -15105,7 +14916,7 @@ var LeaveSessionContent = ({
15105
14916
  {
15106
14917
  variant: "danger",
15107
14918
  css: { w: "100%" },
15108
- onClick: () => __async(void 0, null, function* () {
14919
+ onClick: () => __async(null, null, function* () {
15109
14920
  yield leaveRoom({ sendReason: true });
15110
14921
  }),
15111
14922
  id: "leaveRoom",
@@ -15176,7 +14987,7 @@ var DesktopLeaveRoom = ({
15176
14987
  bg: "",
15177
14988
  titleColor: "$on_surface_high",
15178
14989
  icon: /* @__PURE__ */ React41.createElement(ExitIcon, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15179
- onClick: () => __async(void 0, null, function* () {
14990
+ onClick: () => __async(null, null, function* () {
15180
14991
  return yield leaveRoom({ sendReason: true });
15181
14992
  }),
15182
14993
  css: { p: "$8 $4" }
@@ -15267,7 +15078,7 @@ var MwebLeaveRoom = ({
15267
15078
  bg: "$surface_default",
15268
15079
  titleColor: "$on_surface_high",
15269
15080
  icon: /* @__PURE__ */ React42.createElement(ExitIcon2, { height: 24, width: 24, style: { transform: "rotate(180deg)" } }),
15270
- onClick: () => __async(void 0, null, function* () {
15081
+ onClick: () => __async(null, null, function* () {
15271
15082
  return yield leaveRoom({ sendReason: true });
15272
15083
  }),
15273
15084
  css: { pt: 0, mt: "$10", color: "$on_surface_low", "&:hover": { color: "$on_surface_high" } }
@@ -15333,7 +15144,7 @@ var LeaveRoom = ({
15333
15144
  const hmsActions = useHMSActions9();
15334
15145
  const isMobileHLSStream = useMobileHLSStream();
15335
15146
  const isLandscapeHLSStream = useLandscapeHLSStream();
15336
- const stopStream = (stop_reason = "") => __async(void 0, null, function* () {
15147
+ const stopStream = (stop_reason = "") => __async(null, null, function* () {
15337
15148
  try {
15338
15149
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
15339
15150
  console.log("Stopping HLS stream");
@@ -15345,10 +15156,10 @@ var LeaveRoom = ({
15345
15156
  ToastManager.addToast({ title: "Error in stopping the stream", type: "error" });
15346
15157
  }
15347
15158
  });
15348
- const endRoom = () => __async(void 0, null, function* () {
15159
+ const endRoom = () => __async(null, null, function* () {
15349
15160
  yield hmsActions.endRoom(false, "End Room");
15350
15161
  });
15351
- const leaveRoom = (..._0) => __async(void 0, [..._0], function* (options = { endStream: false, sendReason: false }) {
15162
+ const leaveRoom = (..._0) => __async(null, [..._0], function* (options = { endStream: false, sendReason: false }) {
15352
15163
  if (options.endStream || hlsState.running && peersWithStreamingRights.length === 1) {
15353
15164
  yield stopStream(options.sendReason ? "last publisher left" : "");
15354
15165
  }
@@ -15618,7 +15429,7 @@ var useChatBlacklist = (sessionStoreKey) => {
15618
15429
  const hmsActions = useHMSActions11();
15619
15430
  const blacklistedIDs = useHMSStore16(selectSessionStore2(sessionStoreKey));
15620
15431
  const blacklistItem = useCallback12(
15621
- (blacklistID) => __async(void 0, null, function* () {
15432
+ (blacklistID) => __async(null, null, function* () {
15622
15433
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
15623
15434
  }),
15624
15435
  [hmsActions, sessionStoreKey, blacklistedIDs]
@@ -15644,7 +15455,7 @@ var usePinnedMessages = () => {
15644
15455
  const hmsActions = useHMSActions12();
15645
15456
  const vanillaStore = useHMSVanillaStore7();
15646
15457
  const setPinnedMessages = useCallback13(
15647
- (message, pinnedBy) => __async(void 0, null, function* () {
15458
+ (message, pinnedBy) => __async(null, null, function* () {
15648
15459
  const peerName = vanillaStore.getState(selectPeerNameByID(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
15649
15460
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
15650
15461
  if (message && peerName) {
@@ -15660,7 +15471,7 @@ var usePinnedMessages = () => {
15660
15471
  [hmsActions, vanillaStore]
15661
15472
  );
15662
15473
  const removePinnedMessage = useCallback13(
15663
- (indexToRemove) => __async(void 0, null, function* () {
15474
+ (indexToRemove) => __async(null, null, function* () {
15664
15475
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15665
15476
  if (pinnedMessages[indexToRemove]) {
15666
15477
  yield hmsActions.sessionStore.set(
@@ -15672,7 +15483,7 @@ var usePinnedMessages = () => {
15672
15483
  [hmsActions, vanillaStore]
15673
15484
  );
15674
15485
  const unpinBlacklistedMessages = useCallback13(
15675
- (blacklistedMessageIDSet) => __async(void 0, null, function* () {
15486
+ (blacklistedMessageIDSet) => __async(null, null, function* () {
15676
15487
  const pinnedMessages = vanillaStore.getState(selectSessionStore3("pinnedMessages" /* PINNED_MESSAGES */)) || [];
15677
15488
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
15678
15489
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
@@ -15770,7 +15581,7 @@ var ChatActions = ({
15770
15581
  hide: {
15771
15582
  text: message.recipientPeer ? "Hide for both" : "Hide for everyone",
15772
15583
  icon: /* @__PURE__ */ React47.createElement(EyeCloseIcon2, { style: iconStyle }),
15773
- onClick: () => __async(void 0, null, function* () {
15584
+ onClick: () => __async(null, null, function* () {
15774
15585
  blacklistMessage(message.id);
15775
15586
  updatePinnedMessages(message.id);
15776
15587
  }),
@@ -15779,7 +15590,7 @@ var ChatActions = ({
15779
15590
  block: {
15780
15591
  text: "Block from chat",
15781
15592
  icon: /* @__PURE__ */ React47.createElement(CrossCircleIcon, { style: iconStyle }),
15782
- onClick: () => __async(void 0, null, function* () {
15593
+ onClick: () => __async(null, null, function* () {
15783
15594
  if (message.senderUserId) {
15784
15595
  blacklistPeer(message.senderUserId);
15785
15596
  }
@@ -15792,7 +15603,7 @@ var ChatActions = ({
15792
15603
  icon: /* @__PURE__ */ React47.createElement(PeopleRemoveIcon2, { style: iconStyle }),
15793
15604
  color: "$alert_error_default",
15794
15605
  show: !!canRemoveOthers && !sentByLocalPeer,
15795
- onClick: () => __async(void 0, null, function* () {
15606
+ onClick: () => __async(null, null, function* () {
15796
15607
  if (!message.sender) {
15797
15608
  return;
15798
15609
  }
@@ -15903,8 +15714,7 @@ var EmptyChat = () => {
15903
15714
  const isMobileHLSStream = useMobileHLSStream();
15904
15715
  const isLandscapeStream = useLandscapeHLSStream();
15905
15716
  const streaming = isMobileHLSStream || isLandscapeStream;
15906
- if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming)
15907
- return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15717
+ if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay) && !streaming) return /* @__PURE__ */ React48.createElement(React48.Fragment, null);
15908
15718
  return /* @__PURE__ */ React48.createElement(
15909
15719
  Flex,
15910
15720
  {
@@ -15936,13 +15746,13 @@ var usePinnedBy = (messageId) => {
15936
15746
  const pinnedMessages = useHMSStore18(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
15937
15747
  const [pinnedBy, setPinnedBy] = useState17("");
15938
15748
  useEffect15(() => {
15939
- let match18 = "";
15749
+ let match17 = "";
15940
15750
  pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
15941
15751
  if (pinnedMessage.id === messageId) {
15942
- match18 = pinnedMessage.pinnedBy;
15752
+ match17 = pinnedMessage.pinnedBy;
15943
15753
  }
15944
15754
  });
15945
- setPinnedBy(match18);
15755
+ setPinnedBy(match17);
15946
15756
  }, [messageId, pinnedMessages]);
15947
15757
  return pinnedBy;
15948
15758
  };
@@ -16391,8 +16201,7 @@ var PIPChat = () => {
16391
16201
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
16392
16202
  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);
16393
16203
  const getChatStatus = useCallback16(() => {
16394
- if (isLocalPeerBlacklisted)
16395
- return "You've been blocked from sending messages";
16204
+ if (isLocalPeerBlacklisted) return "You've been blocked from sending messages";
16396
16205
  if (!isChatEnabled)
16397
16206
  return `Chat has been paused by ${chatStateUpdatedBy.peerId === localPeerID ? "you" : chatStateUpdatedBy == null ? void 0 : chatStateUpdatedBy.userName}`;
16398
16207
  return message_placeholder;
@@ -16708,7 +16517,7 @@ var RoleChangeContent = ({
16708
16517
  "data-testid": "change_button",
16709
16518
  variant: "primary",
16710
16519
  css: { width: "100%" },
16711
- onClick: () => __async(void 0, null, function* () {
16520
+ onClick: () => __async(null, null, function* () {
16712
16521
  if (selectedRole) {
16713
16522
  yield hmsActions.changeRoleOfPeer(peer.id, selectedRole, true);
16714
16523
  onOpenChange(false);
@@ -16990,7 +16799,7 @@ var StartRecording = ({ open, onOpenChange }) => {
16990
16799
  "data-testid": "stop_recording_confirm_mobile",
16991
16800
  variant: "danger",
16992
16801
  icon: true,
16993
- onClick: () => __async(void 0, null, function* () {
16802
+ onClick: () => __async(null, null, function* () {
16994
16803
  try {
16995
16804
  yield hmsActions.stopRTMPAndRecording();
16996
16805
  } catch (error) {
@@ -17022,7 +16831,7 @@ var StartRecording = ({ open, onOpenChange }) => {
17022
16831
  css: { ml: "auto" },
17023
16832
  type: "submit",
17024
16833
  disabled: recordingStarted || isStreamingOn,
17025
- onClick: () => __async(void 0, null, function* () {
16834
+ onClick: () => __async(null, null, function* () {
17026
16835
  yield startRecording(resolution);
17027
16836
  onOpenChange(false);
17028
16837
  })
@@ -17300,7 +17109,7 @@ var BulkRoleChangeModal = ({ onOpenChange }) => {
17300
17109
  const [roleDialog, setRoleDialog] = useState24(false);
17301
17110
  const [errorMessage, setErrorMessage] = useState24("");
17302
17111
  const [isSubmiting, setIsSubmiting] = useState24(false);
17303
- const changeBulkRole = useCallback18(() => __async(void 0, null, function* () {
17112
+ const changeBulkRole = useCallback18(() => __async(null, null, function* () {
17304
17113
  if (selectedBulkRole.length > 0 && selectedRole) {
17305
17114
  try {
17306
17115
  setIsSubmiting(true);
@@ -17471,7 +17280,7 @@ var CaptionContent = ({ isMobile, onExit }) => {
17471
17280
  variant: isTranscriptionEnabled ? "danger" : "primary",
17472
17281
  css: { width: "100%" },
17473
17282
  "data-testid": "popup_change_btn",
17474
- onClick: () => __async(void 0, null, function* () {
17283
+ onClick: () => __async(null, null, function* () {
17475
17284
  try {
17476
17285
  if (isTranscriptionEnabled) {
17477
17286
  yield actions.stopTranscription({
@@ -17544,7 +17353,7 @@ import { useCallback as useCallback19, useEffect as useEffect19, useState as use
17544
17353
  import screenfull from "screenfull";
17545
17354
  var useFullscreen = () => {
17546
17355
  const [isFullScreenEnabled, setIsFullScreenEnabled] = useState25(screenfull.isFullscreen);
17547
- const toggle = useCallback19(() => __async(void 0, null, function* () {
17356
+ const toggle = useCallback19(() => __async(null, null, function* () {
17548
17357
  if (!screenfull.isEnabled) {
17549
17358
  ToastManager.addToast({ title: "Fullscreen feature not supported" });
17550
17359
  return;
@@ -17660,7 +17469,7 @@ var MuteAllModal = ({
17660
17469
  const [trackType, setTrackType] = useState26();
17661
17470
  const [selectedRole, setRole] = useState26();
17662
17471
  const [selectedSource, setSource] = useState26();
17663
- const muteAll = useCallback20(() => __async(void 0, null, function* () {
17472
+ const muteAll = useCallback20(() => __async(null, null, function* () {
17664
17473
  yield hmsActions.setRemoteTracksEnabled({
17665
17474
  enabled,
17666
17475
  type: trackType,
@@ -17705,7 +17514,7 @@ var useMyMetadata = () => {
17705
17514
  const vanillaStore = useHMSVanillaStore9();
17706
17515
  const metaData = useHMSStore27(selectPeerMetadata2(localPeerId));
17707
17516
  const isHandRaised = useHMSStore27(selectHasPeerHandRaised(localPeerId));
17708
- const update = (updatedFields) => __async(void 0, null, function* () {
17517
+ const update = (updatedFields) => __async(null, null, function* () {
17709
17518
  try {
17710
17519
  const currentMetadata = vanillaStore.getState(selectPeerMetadata2(localPeerId));
17711
17520
  yield hmsActions.changeMetadata(Object.assign(currentMetadata, updatedFields));
@@ -17715,7 +17524,7 @@ var useMyMetadata = () => {
17715
17524
  }
17716
17525
  return false;
17717
17526
  });
17718
- const toggleHandRaise = useCallback21(() => __async(void 0, null, function* () {
17527
+ const toggleHandRaise = useCallback21(() => __async(null, null, function* () {
17719
17528
  if (isHandRaised) {
17720
17529
  yield hmsActions.lowerLocalPeerHand();
17721
17530
  yield update({ handRaisedAt: void 0 });
@@ -17724,7 +17533,7 @@ var useMyMetadata = () => {
17724
17533
  yield update({ isBRBOn: false, handRaisedAt: Date.now() });
17725
17534
  }
17726
17535
  }), [isHandRaised]);
17727
- const toggleBRB = useCallback21(() => __async(void 0, null, function* () {
17536
+ const toggleBRB = useCallback21(() => __async(null, null, function* () {
17728
17537
  const newValue = !(metaData == null ? void 0 : metaData.isBRBOn);
17729
17538
  yield update({ isBRBOn: newValue });
17730
17539
  if (newValue) {
@@ -17808,8 +17617,7 @@ var usePIPChat = () => {
17808
17617
  "click",
17809
17618
  () => setTimeout(() => marker == null ? void 0 : marker.scrollIntoView({ block: "end", behavior: "smooth" }), 0)
17810
17619
  );
17811
- } else if (messageId)
17812
- observer.observe(message);
17620
+ } else if (messageId) observer.observe(message);
17813
17621
  });
17814
17622
  }
17815
17623
  });
@@ -17817,7 +17625,7 @@ var usePIPChat = () => {
17817
17625
  mutationObserver.observe(chatContainer, {
17818
17626
  childList: true
17819
17627
  });
17820
- const sendMessage = () => __async(void 0, null, function* () {
17628
+ const sendMessage = () => __async(null, null, function* () {
17821
17629
  const selection = (selector == null ? void 0 : selector.value) || "Everyone";
17822
17630
  if (selection === "Everyone") {
17823
17631
  yield hmsActions.sendBroadcastMessage(pipChatInput.value.trim());
@@ -17835,8 +17643,7 @@ var usePIPChat = () => {
17835
17643
  }
17836
17644
  });
17837
17645
  const sendOnEnter = (e) => {
17838
- if (e.key === "Enter")
17839
- sendMessage();
17646
+ if (e.key === "Enter") sendMessage();
17840
17647
  };
17841
17648
  sendBtn.addEventListener("click", sendMessage);
17842
17649
  pipChatInput.addEventListener("keypress", sendOnEnter);
@@ -17948,7 +17755,7 @@ var DesktopOptions = ({
17948
17755
  PIPChatOption,
17949
17756
  {
17950
17757
  showPIPChat: showPipChatOption,
17951
- openChat: () => __async(void 0, null, function* () {
17758
+ openChat: () => __async(null, null, function* () {
17952
17759
  isChatOpen && toggleChat();
17953
17760
  yield requestPipWindow(350, 500);
17954
17761
  })
@@ -18230,8 +18037,7 @@ var enumerize = function(arr) {
18230
18037
  var has = function(str1, str2) {
18231
18038
  if (typeof str1 === TYPEOF.OBJECT && str1.length > 0) {
18232
18039
  for (var i in str1) {
18233
- if (lowerize(str2) == lowerize(str1[i]))
18234
- return true;
18040
+ if (lowerize(str2) == lowerize(str1[i])) return true;
18235
18041
  }
18236
18042
  return false;
18237
18043
  }
@@ -18246,8 +18052,7 @@ var isString = function(val) {
18246
18052
  return typeof val === TYPEOF.STRING;
18247
18053
  };
18248
18054
  var itemListToArray = function(header) {
18249
- if (!header)
18250
- return void 0;
18055
+ if (!header) return void 0;
18251
18056
  var arr = [];
18252
18057
  var tokens = strip(/\\?\"/g, header).split(",");
18253
18058
  for (var i = 0; i < tokens.length; i++) {
@@ -18268,8 +18073,7 @@ var majorize = function(version) {
18268
18073
  };
18269
18074
  var setProps = function(arr) {
18270
18075
  for (var i in arr) {
18271
- if (!arr.hasOwnProperty(i))
18272
- continue;
18076
+ if (!arr.hasOwnProperty(i)) continue;
18273
18077
  var propName = arr[i];
18274
18078
  if (typeof propName == TYPEOF.OBJECT && propName.length == 2) {
18275
18079
  this[propName[0]] = propName[1];
@@ -18290,9 +18094,8 @@ var trim = function(str, len) {
18290
18094
  return typeof len === TYPEOF.UNDEFINED ? str : str.substring(0, len);
18291
18095
  };
18292
18096
  var rgxMapper = function(ua2, arrays) {
18293
- if (!ua2 || !arrays)
18294
- return;
18295
- var i = 0, j, k2, p, q2, matches, match18;
18097
+ if (!ua2 || !arrays) return;
18098
+ var i = 0, j, k2, p, q2, matches, match17;
18296
18099
  while (i < arrays.length && !matches) {
18297
18100
  var regex = arrays[i], props = arrays[i + 1];
18298
18101
  j = k2 = 0;
@@ -18303,34 +18106,34 @@ var rgxMapper = function(ua2, arrays) {
18303
18106
  matches = regex[j++].exec(ua2);
18304
18107
  if (!!matches) {
18305
18108
  for (p = 0; p < props.length; p++) {
18306
- match18 = matches[++k2];
18109
+ match17 = matches[++k2];
18307
18110
  q2 = props[p];
18308
18111
  if (typeof q2 === TYPEOF.OBJECT && q2.length > 0) {
18309
18112
  if (q2.length === 2) {
18310
18113
  if (typeof q2[1] == TYPEOF.FUNCTION) {
18311
- this[q2[0]] = q2[1].call(this, match18);
18114
+ this[q2[0]] = q2[1].call(this, match17);
18312
18115
  } else {
18313
18116
  this[q2[0]] = q2[1];
18314
18117
  }
18315
18118
  } else if (q2.length >= 3) {
18316
18119
  if (typeof q2[1] === TYPEOF.FUNCTION && !(q2[1].exec && q2[1].test)) {
18317
18120
  if (q2.length > 3) {
18318
- this[q2[0]] = match18 ? q2[1].apply(this, q2.slice(2)) : void 0;
18121
+ this[q2[0]] = match17 ? q2[1].apply(this, q2.slice(2)) : void 0;
18319
18122
  } else {
18320
- this[q2[0]] = match18 ? q2[1].call(this, match18, q2[2]) : void 0;
18123
+ this[q2[0]] = match17 ? q2[1].call(this, match17, q2[2]) : void 0;
18321
18124
  }
18322
18125
  } else {
18323
18126
  if (q2.length == 3) {
18324
- this[q2[0]] = match18 ? match18.replace(q2[1], q2[2]) : void 0;
18127
+ this[q2[0]] = match17 ? match17.replace(q2[1], q2[2]) : void 0;
18325
18128
  } else if (q2.length == 4) {
18326
- this[q2[0]] = match18 ? q2[3].call(this, match18.replace(q2[1], q2[2])) : void 0;
18129
+ this[q2[0]] = match17 ? q2[3].call(this, match17.replace(q2[1], q2[2])) : void 0;
18327
18130
  } else if (q2.length > 4) {
18328
- this[q2[0]] = match18 ? q2[3].apply(this, [match18.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
18131
+ this[q2[0]] = match17 ? q2[3].apply(this, [match17.replace(q2[1], q2[2])].concat(q2.slice(4))) : void 0;
18329
18132
  }
18330
18133
  }
18331
18134
  }
18332
18135
  } else {
18333
- this[q2] = match18 ? match18 : void 0;
18136
+ this[q2] = match17 ? match17 : void 0;
18334
18137
  }
18335
18138
  }
18336
18139
  }
@@ -19620,7 +19423,7 @@ var defaultRegexes = {
19620
19423
  [NAME, VERSION]
19621
19424
  ]
19622
19425
  };
19623
- var defaultProps = function() {
19426
+ var defaultProps = (function() {
19624
19427
  var props = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
19625
19428
  setProps.call(props.init, [
19626
19429
  [BROWSER, [NAME, VERSION, MAJOR, TYPE]],
@@ -19646,7 +19449,7 @@ var defaultProps = function() {
19646
19449
  [OS, [NAME, VERSION]]
19647
19450
  ]);
19648
19451
  return props;
19649
- }();
19452
+ })();
19650
19453
  var createIData = function(item, itemType) {
19651
19454
  var init_props = defaultProps.init[itemType], is_ignoreProps = defaultProps.isIgnore[itemType] || 0, is_ignoreRgx = defaultProps.isIgnoreRgx[itemType] || 0, toString_props = defaultProps.toString[itemType] || 0;
19652
19455
  function IData() {
@@ -19672,8 +19475,7 @@ var createIData = function(item, itemType) {
19672
19475
  for (var i in this) {
19673
19476
  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)) {
19674
19477
  is2 = true;
19675
- if (strToCheck != TYPEOF.UNDEFINED)
19676
- break;
19478
+ if (strToCheck != TYPEOF.UNDEFINED) break;
19677
19479
  } else if (strToCheck == TYPEOF.UNDEFINED && is2) {
19678
19480
  is2 = !is2;
19679
19481
  break;
@@ -19729,15 +19531,13 @@ function UACHData(uach, isHttpUACH) {
19729
19531
  ]);
19730
19532
  } else {
19731
19533
  for (var prop in uach) {
19732
- if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED)
19733
- this[prop] = uach[prop];
19534
+ if (this.hasOwnProperty(prop) && typeof uach[prop] !== TYPEOF.UNDEFINED) this[prop] = uach[prop];
19734
19535
  }
19735
19536
  }
19736
19537
  }
19737
19538
  function UAItem(itemType, ua2, rgxMap, uaCH) {
19738
19539
  this.get = function(prop) {
19739
- if (!prop)
19740
- return this.data;
19540
+ if (!prop) return this.data;
19741
19541
  return this.data.hasOwnProperty(prop) ? this.data[prop] : void 0;
19742
19542
  };
19743
19543
  this.set = function(prop, val) {
@@ -19824,8 +19624,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19824
19624
  case CPU:
19825
19625
  var archName = uaCH2[ARCHITECTURE];
19826
19626
  if (archName) {
19827
- if (archName && uaCH2[BITNESS] == "64")
19828
- archName += "64";
19627
+ if (archName && uaCH2[BITNESS] == "64") archName += "64";
19829
19628
  rgxMapper.call(this.data, archName + ";", rgxMap2);
19830
19629
  }
19831
19630
  break;
@@ -19863,8 +19662,7 @@ function UAItem(itemType, ua2, rgxMap, uaCH) {
19863
19662
  var osName = uaCH2[PLATFORM];
19864
19663
  if (osName) {
19865
19664
  var osVersion = uaCH2[PLATFORMVER];
19866
- if (osName == WINDOWS)
19867
- osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19665
+ if (osName == WINDOWS) osVersion = parseInt(majorize(osVersion), 10) >= 13 ? "11" : "10";
19868
19666
  this.set(NAME, osName).set(VERSION, osVersion);
19869
19667
  }
19870
19668
  if (this.get(NAME) == WINDOWS && uaCH2[MODEL] == "Xbox") {
@@ -19956,8 +19754,7 @@ function UAParser(ua2, extensions, headers) {
19956
19754
  return userAgent;
19957
19755
  }],
19958
19756
  ["setUA", function(ua3) {
19959
- if (isString(ua3))
19960
- userAgent = trim(ua3, UA_MAX_LENGTH);
19757
+ if (isString(ua3)) userAgent = trim(ua3, UA_MAX_LENGTH);
19961
19758
  return this;
19962
19759
  }]
19963
19760
  ]).setUA(userAgent);
@@ -19971,9 +19768,9 @@ UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);
19971
19768
 
19972
19769
  // ../hms-video-store/dist/index.js
19973
19770
  var import_lodash3 = __toESM(require_lodash2());
19974
- import { v4 as Uo } from "uuid";
19975
- import { v4 as Oo } from "uuid";
19976
- import { v4 as Wo } from "uuid";
19771
+ import { v4 as Un } from "uuid";
19772
+ import { v4 as On } from "uuid";
19773
+ import { v4 as Wn } from "uuid";
19977
19774
 
19978
19775
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
19979
19776
  init_define_process_env();
@@ -19986,8 +19783,8 @@ init_define_process_env();
19986
19783
  var logDisabled_ = true;
19987
19784
  var deprecationWarnings_ = true;
19988
19785
  function extractVersion(uastring, expr, pos) {
19989
- const match18 = uastring.match(expr);
19990
- return match18 && match18.length >= pos && parseInt(match18[pos], 10);
19786
+ const match17 = uastring.match(expr);
19787
+ return match17 && match17.length >= pos && parseInt(match17[pos], 10);
19991
19788
  }
19992
19789
  function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
19993
19790
  if (!window2.RTCPeerConnection) {
@@ -20289,7 +20086,7 @@ function shimGetUserMedia(window2, browserDetails) {
20289
20086
  if (matches) {
20290
20087
  return navigator2.mediaDevices.enumerateDevices().then((devices) => {
20291
20088
  devices = devices.filter((d) => d.kind === "videoinput");
20292
- let dev = devices.find((d) => matches.some((match18) => d.label.toLowerCase().includes(match18)));
20089
+ let dev = devices.find((d) => matches.some((match17) => d.label.toLowerCase().includes(match17)));
20293
20090
  if (!dev && devices.length && matches.includes("back")) {
20294
20091
  dev = devices[devices.length - 1];
20295
20092
  }
@@ -21716,11 +21513,11 @@ function shimMaxMessageSize(window2, browserDetails) {
21716
21513
  });
21717
21514
  };
21718
21515
  const getRemoteFirefoxVersion = function(description) {
21719
- const match18 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21720
- if (match18 === null || match18.length < 2) {
21516
+ const match17 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
21517
+ if (match17 === null || match17.length < 2) {
21721
21518
  return -1;
21722
21519
  }
21723
- const version = parseInt(match18[1], 10);
21520
+ const version = parseInt(match17[1], 10);
21724
21521
  return version !== version ? -1 : version;
21725
21522
  };
21726
21523
  const getCanSendMaxMessageSize = function(remoteIsFirefox) {
@@ -21745,12 +21542,12 @@ function shimMaxMessageSize(window2, browserDetails) {
21745
21542
  if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
21746
21543
  maxMessageSize = 65535;
21747
21544
  }
21748
- const match18 = import_sdp.default.matchPrefix(
21545
+ const match17 = import_sdp.default.matchPrefix(
21749
21546
  description.sdp,
21750
21547
  "a=max-message-size:"
21751
21548
  );
21752
- if (match18.length > 0) {
21753
- maxMessageSize = parseInt(match18[0].substring(19), 10);
21549
+ if (match17.length > 0) {
21550
+ maxMessageSize = parseInt(match17[0].substring(19), 10);
21754
21551
  } else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
21755
21552
  maxMessageSize = 2147483637;
21756
21553
  }
@@ -22070,73 +21867,66 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
22070
21867
 
22071
21868
  // ../hms-video-store/dist/index.js
22072
21869
  var import_lodash4 = __toESM(require_lodash2());
22073
- import { v4 as Qo } from "uuid";
22074
- import { v4 as cn } from "uuid";
22075
- import { EventEmitter2 as dn } from "eventemitter2";
22076
- var ti = __toESM(require_lib());
22077
- import { EventEmitter2 as On } from "eventemitter2";
22078
- import { v4 as Fn } from "uuid";
22079
- import { EventEmitter2 as Gn } from "eventemitter2";
22080
- import $n from "eventemitter2";
22081
- import { v4 as Kn } from "uuid";
22082
21870
  import { v4 as Qn } from "uuid";
22083
- var Eo = Object.defineProperty;
22084
- var Po = Object.defineProperties;
22085
- var bo = Object.getOwnPropertyDescriptors;
21871
+ import { v4 as oo } from "uuid";
21872
+ import { EventEmitter2 as co } from "eventemitter2";
21873
+ var ti = __toESM(require_lib());
21874
+ import { EventEmitter2 as Oo } from "eventemitter2";
21875
+ import { v4 as Fo } from "uuid";
21876
+ import { EventEmitter2 as Go } from "eventemitter2";
21877
+ import $o from "eventemitter2";
21878
+ import { v4 as Ko } from "uuid";
21879
+ import { v4 as Qo } from "uuid";
21880
+ var En = Object.defineProperty;
21881
+ var Pn = Object.defineProperties;
21882
+ var bn = Object.getOwnPropertyDescriptors;
22086
21883
  var di = Object.getOwnPropertySymbols;
22087
21884
  var ks = Object.prototype.hasOwnProperty;
22088
21885
  var Es = Object.prototype.propertyIsEnumerable;
22089
- var ys = (a2, e, t) => e in a2 ? Eo(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21886
+ var ys = (a2, e, t) => e in a2 ? En(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
22090
21887
  var m = (a2, e) => {
22091
- for (var t in e || (e = {}))
22092
- ks.call(e, t) && ys(a2, t, e[t]);
22093
- if (di)
22094
- for (var t of di(e))
22095
- Es.call(e, t) && ys(a2, t, e[t]);
21888
+ for (var t in e || (e = {})) ks.call(e, t) && ys(a2, t, e[t]);
21889
+ if (di) for (var t of di(e)) Es.call(e, t) && ys(a2, t, e[t]);
22096
21890
  return a2;
22097
21891
  };
22098
- var M = (a2, e) => Po(a2, bo(e));
21892
+ var M = (a2, e) => Pn(a2, bn(e));
22099
21893
  var Ar = (a2, e) => {
22100
21894
  var t = {};
22101
- for (var i in a2)
22102
- ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
22103
- if (a2 != null && di)
22104
- for (var i of di(a2))
22105
- e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
21895
+ for (var i in a2) ks.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21896
+ if (a2 != null && di) for (var i of di(a2)) e.indexOf(i) < 0 && Es.call(a2, i) && (t[i] = a2[i]);
22106
21897
  return t;
22107
21898
  };
22108
- var Ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21899
+ var Rn = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
22109
21900
  var c = (a2, e, t) => new Promise((i, r) => {
22110
21901
  var s = (d) => {
22111
21902
  try {
22112
- n(t.next(d));
21903
+ o(t.next(d));
22113
21904
  } catch (u) {
22114
21905
  r(u);
22115
21906
  }
22116
- }, o = (d) => {
21907
+ }, n = (d) => {
22117
21908
  try {
22118
- n(t.throw(d));
21909
+ o(t.throw(d));
22119
21910
  } catch (u) {
22120
21911
  r(u);
22121
21912
  }
22122
- }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
22123
- n((t = t.apply(a2, e)).next());
21913
+ }, o = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, n);
21914
+ o((t = t.apply(a2, e)).next());
22124
21915
  });
22125
- var _r = Ro((gd, xo) => {
22126
- 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"] };
21916
+ var _r = Rn((gd, xn) => {
21917
+ 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"] };
22127
21918
  });
22128
- 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 || {});
22129
- var Ho = ((e) => (e.CHAT = "chat", e))(Ho || {});
21919
+ 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 || {});
21920
+ var Hn = ((e) => (e.CHAT = "chat", e))(Hn || {});
22130
21921
  var Ps = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Ps || {});
22131
21922
  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 || {});
22132
21923
  var bs = ((t) => (t.audio = "audio", t.video = "video", t))(bs || {});
22133
21924
  function We(a2, e) {
22134
21925
  let t, i;
22135
- if (e)
22136
- for (let r of e.auxiliaryTracks) {
22137
- let s = a2[r];
22138
- Co(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
22139
- }
21926
+ if (e) for (let r of e.auxiliaryTracks) {
21927
+ let s = a2[r];
21928
+ Cn(s) && (i = vt(s) ? s : i, t = Mt(s) ? s : t);
21929
+ }
22140
21930
  return { video: t, audio: i };
22141
21931
  }
22142
21932
  function vt(a2) {
@@ -22145,7 +21935,7 @@ function vt(a2) {
22145
21935
  function Mt(a2) {
22146
21936
  return a2 && a2.type === "video";
22147
21937
  }
22148
- function Co(a2) {
21938
+ function Cn(a2) {
22149
21939
  return a2 && a2.source === "screen";
22150
21940
  }
22151
21941
  function pi(a2) {
@@ -22166,7 +21956,7 @@ function kt(a2) {
22166
21956
  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 };
22167
21957
  }
22168
21958
  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 || {});
22169
- var Lo = typeof window != "undefined" && typeof window.expect != "undefined";
21959
+ var Ln = typeof window != "undefined" && typeof window.expect != "undefined";
22170
21960
  var l = class {
22171
21961
  static v(e, ...t) {
22172
21962
  this.log(0, e, ...t);
@@ -22193,67 +21983,65 @@ var l = class {
22193
21983
  performance.clearMarks(), performance.clearMeasures();
22194
21984
  }
22195
21985
  static log(e, t, ...i) {
22196
- if (!(this.level.valueOf() > e.valueOf()))
22197
- switch (e) {
22198
- case 0: {
22199
- console.log(t, ...i);
22200
- break;
22201
- }
22202
- case 1: {
22203
- console.debug(t, ...i);
22204
- break;
22205
- }
22206
- case 2: {
22207
- console.info(t, ...i);
22208
- break;
22209
- }
22210
- case 3: {
22211
- console.warn(t, ...i);
22212
- break;
22213
- }
22214
- case 6: {
22215
- console.error(t, ...i);
22216
- break;
22217
- }
22218
- case 4: {
22219
- performance.mark(i[0]);
22220
- break;
22221
- }
22222
- case 5: {
22223
- let r = i[0];
22224
- try {
22225
- let s = performance.measure(r, r);
22226
- this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22227
- } catch (s) {
22228
- this.log(1, t, r, s);
22229
- }
22230
- break;
21986
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
21987
+ case 0: {
21988
+ console.log(t, ...i);
21989
+ break;
21990
+ }
21991
+ case 1: {
21992
+ console.debug(t, ...i);
21993
+ break;
21994
+ }
21995
+ case 2: {
21996
+ console.info(t, ...i);
21997
+ break;
21998
+ }
21999
+ case 3: {
22000
+ console.warn(t, ...i);
22001
+ break;
22002
+ }
22003
+ case 6: {
22004
+ console.error(t, ...i);
22005
+ break;
22006
+ }
22007
+ case 4: {
22008
+ performance.mark(i[0]);
22009
+ break;
22010
+ }
22011
+ case 5: {
22012
+ let r = i[0];
22013
+ try {
22014
+ let s = performance.measure(r, r);
22015
+ this.log(1, t, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22016
+ } catch (s) {
22017
+ this.log(1, t, r, s);
22231
22018
  }
22019
+ break;
22232
22020
  }
22021
+ }
22233
22022
  }
22234
22023
  };
22235
- l.level = Lo ? 7 : 0;
22024
+ l.level = Ln ? 7 : 0;
22236
22025
  var Cr = new UAParser();
22237
22026
  var Et = null;
22238
22027
  var Lr = null;
22239
22028
  var B = typeof window != "undefined";
22240
- if (B)
22241
- try {
22242
- let a2 = Cr.getResult(), e = a2.withClientHints();
22243
- e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22244
- Et = t;
22245
- }).catch(() => {
22246
- Et = a2;
22247
- })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22248
- } catch (a2) {
22249
- Et = Cr.getResult();
22250
- }
22029
+ if (B) try {
22030
+ let a2 = Cr.getResult(), e = a2.withClientHints();
22031
+ e && typeof e.then == "function" ? (Lr = e, Lr.then((t) => {
22032
+ Et = t;
22033
+ }).catch(() => {
22034
+ Et = a2;
22035
+ })) : (l.d("UAParser", "Client Hints not supported, using standard UA parsing"), Et = e);
22036
+ } catch (a2) {
22037
+ Et = Cr.getResult();
22038
+ }
22251
22039
  var we = () => Et || Cr.getResult();
22252
22040
  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()) };
22253
22041
  var Hs;
22254
22042
  var $e = typeof window == "undefined" && !((Hs = Se.getBrowser().name) != null && Hs.toLowerCase().includes("electron"));
22255
- var wo = () => !$e;
22256
- var Bc = wo();
22043
+ var wn = () => !$e;
22044
+ var Bc = wn();
22257
22045
  var Cs;
22258
22046
  var Ls;
22259
22047
  var Us = (Ls = (Cs = Se.getBrowser()) == null ? void 0 : Cs.name) == null ? void 0 : Ls.toLowerCase().includes("safari");
@@ -22264,23 +22052,23 @@ var _s;
22264
22052
  var Ns;
22265
22053
  var Vs = ((Ns = (_s = Se.getEngine()) == null ? void 0 : _s.name) == null ? void 0 : Ns.toLowerCase()) === "blink";
22266
22054
  var Fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Fs || {});
22267
- function _o() {
22055
+ function _n() {
22268
22056
  if (B && window) {
22269
22057
  let a2 = window.location.hostname;
22270
22058
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
22271
22059
  }
22272
22060
  return "CUSTOM";
22273
22061
  }
22274
- var et = _o();
22062
+ var et = _n();
22275
22063
  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 } };
22276
22064
  var E = class a extends Error {
22277
- constructor(t, i, r, s, o, n = false) {
22065
+ constructor(t, i, r, s, n, o = false) {
22278
22066
  super(s);
22279
22067
  this.code = t;
22280
22068
  this.name = i;
22281
22069
  this.message = s;
22282
- this.description = o;
22283
- this.isTerminal = n;
22070
+ this.description = n;
22071
+ this.isTerminal = o;
22284
22072
  Object.setPrototypeOf(this, a.prototype), this.action = r.toString();
22285
22073
  }
22286
22074
  toAnalyticsProperties() {
@@ -22303,13 +22091,13 @@ var E = class a extends Error {
22303
22091
  }
22304
22092
  };
22305
22093
  var q = class extends E {
22306
- constructor(t, i, r, s, o, n) {
22307
- super(t, i, r, s, o, false);
22094
+ constructor(t, i, r, s, n, o) {
22095
+ super(t, i, r, s, n, false);
22308
22096
  this.code = t;
22309
22097
  this.name = i;
22310
22098
  this.message = s;
22311
- this.description = o;
22312
- this.trackType = n;
22099
+ this.description = n;
22100
+ this.trackType = o;
22313
22101
  }
22314
22102
  toAnalyticsProperties() {
22315
22103
  return M(m({}, super.toAnalyticsProperties()), { track_type: this.trackType });
@@ -22329,7 +22117,7 @@ var q = class extends E {
22329
22117
  }
22330
22118
  };
22331
22119
  var Gs = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Gs || {});
22332
- var No = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
22120
+ var Nn = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
22333
22121
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22334
22122
  return new E(k.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
22335
22123
  }, WebSocketConnectionLost(a2, e = "") {
@@ -22391,7 +22179,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
22391
22179
  }, StatsFailed(a2, e = "") {
22392
22180
  return new E(k.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
22393
22181
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
22394
- return new E(a2, "ServerErrors", e, t, t, No.includes(e));
22182
+ return new E(a2, "ServerErrors", e, t, t, Nn.includes(e));
22395
22183
  }, AlreadyJoined(a2, e = "") {
22396
22184
  return new E(k.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
22397
22185
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -22456,8 +22244,7 @@ var wr = class {
22456
22244
  this.valuesMap.clear();
22457
22245
  }
22458
22246
  key(e) {
22459
- if (arguments.length === 0)
22460
- throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22247
+ if (arguments.length === 0) throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");
22461
22248
  return Array.from(this.valuesMap.keys())[e];
22462
22249
  }
22463
22250
  get length() {
@@ -22500,18 +22287,17 @@ var ve = class {
22500
22287
  };
22501
22288
  var hi = () => {
22502
22289
  let a2, e = new ve("hms-analytics-deviceId"), t = e.get();
22503
- return t ? a2 = t : (a2 = Oo(), e.set(a2)), a2;
22290
+ return t ? a2 = t : (a2 = On(), e.set(a2)), a2;
22504
22291
  };
22505
22292
  function $(a2) {
22506
22293
  return a2 != null;
22507
22294
  }
22508
22295
  var qs = _r().version;
22509
22296
  function At(a2 = "prod", e) {
22510
- let t = "web", i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22511
- if ($e)
22512
- 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 });
22513
- 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;
22514
- 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 });
22297
+ let i = et !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
22298
+ 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 });
22299
+ 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;
22300
+ 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 });
22515
22301
  }
22516
22302
  function Nr(a2) {
22517
22303
  return a2.replace(/ /g, "_");
@@ -22520,7 +22306,7 @@ var js = (a2, e = ",") => Object.keys(a2).filter((t) => $(a2[t])).map((t) => `${
22520
22306
  var C = class {
22521
22307
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
22522
22308
  this.metadata = { peer: {}, userAgent: At() };
22523
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Uo(), this.device_id = hi();
22309
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Un(), this.device_id = hi();
22524
22310
  }
22525
22311
  toSignalParams() {
22526
22312
  return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: et }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -22528,8 +22314,8 @@ var C = class {
22528
22314
  };
22529
22315
  var y = class {
22530
22316
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
22531
- 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);
22532
- return new C({ name: o, level: n, properties: d });
22317
+ 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);
22318
+ return new C({ name: n, level: o, properties: d });
22533
22319
  }
22534
22320
  static disconnect(e, t) {
22535
22321
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
@@ -22537,17 +22323,17 @@ var y = class {
22537
22323
  }
22538
22324
  static preview(i) {
22539
22325
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22540
- let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
22541
- return new C({ name: s, level: o, properties: n });
22326
+ let s = this.eventNameFor("preview", e === void 0), n = e ? 2 : 1, o = this.getPropertiesWithError(t, e);
22327
+ return new C({ name: s, level: n, properties: o });
22542
22328
  }
22543
22329
  static join(i) {
22544
22330
  var r = i, { error: e } = r, t = Ar(r, ["error"]);
22545
- 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);
22546
- return new C({ name: s, level: o, properties: n });
22331
+ 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);
22332
+ return new C({ name: s, level: n, properties: o });
22547
22333
  }
22548
22334
  static publish({ devices: e, settings: t, error: i }) {
22549
- 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);
22550
- return new C({ name: r, level: s, properties: o });
22335
+ 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);
22336
+ return new C({ name: r, level: s, properties: n });
22551
22337
  }
22552
22338
  static hlsPlayerError(e) {
22553
22339
  return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
@@ -22572,8 +22358,8 @@ var y = class {
22572
22358
  return new C({ name: "permissionChanged", level: 1, properties: { message: `Perrmission for ${e} changed to ${t}` } });
22573
22359
  }
22574
22360
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
22575
- 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);
22576
- return new C({ name: o, level: n, properties: d });
22361
+ 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);
22362
+ return new C({ name: n, level: o, properties: d });
22577
22363
  }
22578
22364
  static performance(e) {
22579
22365
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
@@ -22590,8 +22376,8 @@ var y = class {
22590
22376
  static degradationStats(e, t) {
22591
22377
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
22592
22378
  if (!t && e.degradedAt instanceof Date) {
22593
- let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
22594
- s = M(m({}, s), { duration: n, restoredAt: o });
22379
+ let n = /* @__PURE__ */ new Date(), o = n.valueOf() - e.degradedAt.valueOf();
22380
+ s = M(m({}, s), { duration: o, restoredAt: n });
22595
22381
  }
22596
22382
  return new C({ name: i, level: r, properties: s });
22597
22383
  }
@@ -22643,24 +22429,21 @@ var Or = class {
22643
22429
  }
22644
22430
  setDevices(e) {
22645
22431
  var r;
22646
- if (this.devices = e, !this.remember)
22647
- return;
22432
+ if (this.devices = e, !this.remember) return;
22648
22433
  let t = this.storage.get();
22649
- if (!t)
22650
- return;
22434
+ if (!t) return;
22651
22435
  let i = ["audioInput", "videoInput", "audioOutput"];
22652
22436
  for (let s of i) {
22653
- let o = t[s];
22654
- 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)));
22437
+ let n = t[s];
22438
+ 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)));
22655
22439
  }
22656
22440
  }
22657
22441
  rememberDevices(e) {
22658
22442
  this.remember = e;
22659
22443
  }
22660
22444
  updateSelection(e, { deviceId: t, groupId: i }) {
22661
- if (!this.devices || !this.remember)
22662
- return;
22663
- let r = this.devices[e].find((o) => this.isSame({ deviceId: t, groupId: i }, o));
22445
+ if (!this.devices || !this.remember) return;
22446
+ let r = this.devices[e].find((n) => this.isSame({ deviceId: t, groupId: i }, n));
22664
22447
  if (!r) {
22665
22448
  l.w(this.TAG, `Could not find device with deviceId: ${t}, groupId: ${i}`);
22666
22449
  return;
@@ -22673,8 +22456,7 @@ var Or = class {
22673
22456
  t[e] && (delete t[e], this.storage.set(t));
22674
22457
  }
22675
22458
  getSelection() {
22676
- if (this.remember)
22677
- return this.storage.get();
22459
+ if (this.remember) return this.storage.get();
22678
22460
  }
22679
22461
  cleanup() {
22680
22462
  this.remember = false, this.devices = void 0;
@@ -22687,7 +22469,7 @@ var te = new Or();
22687
22469
  var xr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(xr || {});
22688
22470
  var Ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ur || {});
22689
22471
  var Br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Br || {});
22690
- 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 || {});
22472
+ 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 || {});
22691
22473
  var zs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(zs || {});
22692
22474
  var Ys = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ys || {});
22693
22475
  var Xs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Xs || {});
@@ -22722,8 +22504,7 @@ var jr = class {
22722
22504
  };
22723
22505
  this.handleIntersection = (e) => {
22724
22506
  var t;
22725
- for (let i of e)
22726
- (t = this.listeners.get(i.target)) == null || t(i);
22507
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22727
22508
  };
22728
22509
  this.createObserver();
22729
22510
  }
@@ -22732,7 +22513,7 @@ var jr = class {
22732
22513
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
22733
22514
  }
22734
22515
  };
22735
- var oa = new jr();
22516
+ var na = new jr();
22736
22517
  var Qr = class {
22737
22518
  constructor() {
22738
22519
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -22750,8 +22531,7 @@ var Qr = class {
22750
22531
  };
22751
22532
  this.handleResize = (e) => {
22752
22533
  var t;
22753
- for (let i of e)
22754
- (t = this.listeners.get(i.target)) == null || t(i);
22534
+ for (let i of e) (t = this.listeners.get(i.target)) == null || t(i);
22755
22535
  };
22756
22536
  this.createObserver();
22757
22537
  }
@@ -22760,7 +22540,7 @@ var Qr = class {
22760
22540
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
22761
22541
  }
22762
22542
  };
22763
- var na = new Qr();
22543
+ var oa = new Qr();
22764
22544
  var Jr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Jr || {});
22765
22545
  var zr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(zr || {});
22766
22546
  var la = "https://event.100ms.live/v2/client/report";
@@ -22768,92 +22548,87 @@ var ua = "https://event-nonprod.100ms.live/v2/client/report";
22768
22548
  var Dt = Math.pow(2, 31) - 1;
22769
22549
  var ct = class {
22770
22550
  };
22771
- ct.makePeerId = () => cn();
22772
- var G = (a2) => a2.room;
22773
- var ln = (a2) => a2.errors;
22774
- var Gm = createSelector(ln, (a2) => a2.length === 0 ? null : a2.at(-1));
22775
- var Wm = createSelector(G, (a2) => a2.id);
22551
+ ct.makePeerId = () => oo();
22552
+ var F = (a2) => a2.room;
22553
+ var lo = (a2) => a2.errors;
22554
+ var Gm = createSelector(lo, (a2) => a2.length === 0 ? null : a2.at(-1));
22555
+ var Wm = createSelector(F, (a2) => a2.id);
22776
22556
  var Z = (a2) => a2.peers;
22777
22557
  var Ci = (a2) => a2.messages.byID;
22778
22558
  var Pa = (a2) => a2.messages.allIDs;
22779
22559
  var N = (a2) => a2.tracks;
22780
22560
  var is = (a2) => a2.appData;
22781
- var un = (a2) => a2.speakers;
22782
- var Fe = createSelector([G], (a2) => a2 && a2.isConnected);
22783
- 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));
22784
- var pn = (a2) => a2.hideLocalPeer;
22785
- 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]));
22786
- var hn = createSelector(N, (a2) => Object.values(a2));
22787
- var ne = createSelector(G, Z, (a2, e) => e[a2.localPeer]);
22788
- var Ae = createSelector(G, (a2) => a2.localPeer);
22789
- var jm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.name);
22790
- var Qm = createSelector(ne, (a2) => a2 == null ? void 0 : a2.roleName);
22791
- var me = createSelector(ne, (a2) => a2 == null ? void 0 : a2.audioTrack);
22792
- var ie = createSelector(ne, (a2) => a2 == null ? void 0 : a2.videoTrack);
22793
- var mn = createSelector(ne, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22794
- var Ia = createSelector([me, ie, mn], (a2, e, t) => {
22561
+ var uo = (a2) => a2.speakers;
22562
+ var Fe = createSelector([F], (a2) => a2 && a2.isConnected);
22563
+ 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));
22564
+ var po = (a2) => a2.hideLocalPeer;
22565
+ 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]));
22566
+ var ho = createSelector(N, (a2) => Object.values(a2));
22567
+ var oe = createSelector(F, Z, (a2, e) => e[a2.localPeer]);
22568
+ var Ae = createSelector(F, (a2) => a2.localPeer);
22569
+ var jm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.name);
22570
+ var Qm = createSelector(oe, (a2) => a2 == null ? void 0 : a2.roleName);
22571
+ var me = createSelector(oe, (a2) => a2 == null ? void 0 : a2.audioTrack);
22572
+ var ie = createSelector(oe, (a2) => a2 == null ? void 0 : a2.videoTrack);
22573
+ var mo = createSelector(oe, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22574
+ var Ia = createSelector([me, ie, mo], (a2, e, t) => {
22795
22575
  let i = t ? [...t] : [];
22796
22576
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22797
22577
  });
22798
22578
  var Jm = createSelector(Ee, (a2) => a2.filter((e) => !e.isLocal));
22799
- var zm = createSelector(Z, un, (a2, e) => {
22579
+ var zm = createSelector(Z, uo, (a2, e) => {
22800
22580
  let t = Object.entries(e).sort((i, r) => {
22801
- var n, d;
22802
- let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
22581
+ var o, d;
22582
+ let s = ((o = i[1]) == null ? void 0 : o.audioLevel) || 0;
22803
22583
  return (((d = r[1]) == null ? void 0 : d.audioLevel) || 0) > s ? 1 : -1;
22804
22584
  });
22805
22585
  if (t.length > 0 && t[0][1].audioLevel && t[0][1].audioLevel > 0) {
22806
22586
  let i = t[0][1].peerID;
22807
- if (i in a2)
22808
- return a2[i];
22587
+ if (i in a2) return a2[i];
22809
22588
  }
22810
22589
  return null;
22811
22590
  });
22812
- var ss = createSelector(ne, N, (a2, e) => {
22591
+ var ss = createSelector(oe, N, (a2, e) => {
22813
22592
  let { video: t, audio: i } = We(e, a2);
22814
22593
  return !!(t || i);
22815
22594
  });
22816
- var Sn = createSelector(Z, N, (a2, e) => {
22595
+ var So = createSelector(Z, N, (a2, e) => {
22817
22596
  let t;
22818
22597
  for (let i in a2) {
22819
- let r = a2[i], { video: s, audio: o } = We(e, r);
22820
- if (s)
22821
- return r;
22822
- o && !t && (t = r);
22598
+ let r = a2[i], { video: s, audio: n } = We(e, r);
22599
+ if (s) return r;
22600
+ n && !t && (t = r);
22823
22601
  }
22824
22602
  return t;
22825
22603
  });
22826
- var Xm = createSelector(Sn, (a2) => !!a2);
22604
+ var Xm = createSelector(So, (a2) => !!a2);
22827
22605
  var Zm = createSelector(Z, N, (a2, e) => {
22828
22606
  for (let t in a2) {
22829
22607
  let i = a2[t], { audio: r, video: s } = We(e, i);
22830
- if (!s && r)
22831
- return i;
22608
+ if (!s && r) return i;
22832
22609
  }
22833
22610
  });
22834
22611
  var eS = createSelector(Z, N, (a2, e) => {
22835
22612
  let t = [], i = [];
22836
22613
  for (let r in a2) {
22837
- let s = a2[r], { video: o, audio: n } = We(e, s);
22838
- o ? t.push(s) : n && i.push(s);
22614
+ let s = a2[r], { video: n, audio: o } = We(e, s);
22615
+ n ? t.push(s) : o && i.push(s);
22839
22616
  }
22840
22617
  return t.concat(i);
22841
22618
  });
22842
22619
  var tS = createSelector(Z, N, (a2, e) => {
22843
22620
  for (let t in e) {
22844
22621
  let i = e[t];
22845
- if (yt(i) && Mt(i) && i.peerId)
22846
- return a2[i.peerId];
22622
+ if (yt(i) && Mt(i) && i.peerId) return a2[i.peerId];
22847
22623
  }
22848
22624
  });
22849
22625
  var iS = createSelector(Z, N, (a2, e) => {
22850
22626
  for (let t in e) {
22851
22627
  let i = e[t];
22852
- if (pi(i) && i.peerId)
22853
- return a2[i.peerId];
22628
+ if (pi(i) && i.peerId) return a2[i.peerId];
22854
22629
  }
22855
22630
  });
22856
- var rS = createSelector(hn, (a2) => a2.filter(Is));
22631
+ var rS = createSelector(ho, (a2) => a2.filter(Is));
22857
22632
  var sS = createSelector(Pa, (a2) => a2.length);
22858
22633
  var aS = createSelector(Ci, (a2) => Object.values(a2).filter((e) => !e.read).length);
22859
22634
  var Ot = createSelector(Pa, Ci, (a2, e) => {
@@ -22862,42 +22637,49 @@ var Ot = createSelector(Pa, Ci, (a2, e) => {
22862
22637
  t.push(e[i]);
22863
22638
  }), t;
22864
22639
  });
22865
- var gn = createSelector(Ot, (a2) => a2.filter((e) => {
22640
+ var go = createSelector(Ot, (a2) => a2.filter((e) => {
22866
22641
  var t;
22867
22642
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22868
22643
  }));
22869
- var oS = createSelector(gn, (a2) => a2.filter((e) => !e.read).length);
22870
- var ce = createSelector([G], (a2) => a2 && a2.roomState);
22644
+ var nS = createSelector(go, (a2) => a2.filter((e) => !e.read).length);
22645
+ var ce = createSelector([F], (a2) => a2 && a2.roomState);
22871
22646
  var Ra = createSelector(ce, (a2) => a2 === "Preview");
22872
- var nS = createSelector(G, (a2) => a2.roomState !== "Disconnected");
22873
- var cS = createSelector(G, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22647
+ var oS = createSelector(F, (a2) => a2.roomState !== "Disconnected");
22648
+ var cS = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22874
22649
  var Pe = (a2) => a2.roles;
22875
22650
  var dS = createSelector([Pe], (a2) => Object.keys(a2));
22876
- var lt = createSelector([ne, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22877
- var Tn = (a2) => {
22651
+ var lt = createSelector([oe, Pe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22652
+ var To = (a2) => {
22878
22653
  var e;
22879
22654
  return (e = a2.preview) == null ? void 0 : e.asRole;
22880
22655
  };
22881
- var Ha = createSelector([Tn, Pe], (a2, e) => a2 ? e[a2] : null);
22656
+ var Ha = createSelector([To, Pe], (a2, e) => a2 ? e[a2] : null);
22882
22657
  var lS = createSelector([lt], (a2) => {
22883
22658
  var e;
22884
22659
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22885
22660
  });
22886
22661
  var Ca = createSelector(lt, (a2) => a2 == null ? void 0 : a2.permissions);
22887
- var uS = createSelector(G, (a2) => a2.recording);
22888
- var pS = createSelector(G, (a2) => a2.rtmp);
22889
- var hS = createSelector(G, (a2) => a2.hls);
22890
- var mS = createSelector(G, (a2) => a2.transcriptions);
22891
- var SS = createSelector(G, (a2) => a2.sessionId);
22892
- var gS = createSelector(G, (a2) => a2.startedAt);
22893
- var TS = createSelector(G, (a2) => !!a2.isLargeRoom);
22894
- var fS = createSelector(G, (a2) => !!a2.isEffectsEnabled);
22895
- var vS = createSelector(G, (a2) => !!a2.isVBEnabled);
22896
- var MS = createSelector(G, (a2) => a2.effectsKey);
22662
+ var uS = createSelector(F, (a2) => a2.recording);
22663
+ var pS = createSelector(F, (a2) => a2.rtmp);
22664
+ var hS = createSelector(F, (a2) => a2.hls);
22665
+ var mS = createSelector(F, (a2) => a2.transcriptions);
22666
+ var SS = createSelector(F, (a2) => {
22667
+ var i, r;
22668
+ let e = (i = a2.transcriptions) == null ? void 0 : i.find((s) => s.mode === "caption");
22669
+ if (e != null && e.translation) return { available: true, enabled: e.translation.enabled, roleLanguages: e.translation.roleLanguages };
22670
+ let t = (r = a2.translationConfig) == null ? void 0 : r.caption;
22671
+ return t ? { available: true, enabled: false, roleLanguages: t.roleLanguages } : { available: false, enabled: false, roleLanguages: void 0 };
22672
+ });
22673
+ var gS = createSelector(F, (a2) => a2.sessionId);
22674
+ var TS = createSelector(F, (a2) => a2.startedAt);
22675
+ var fS = createSelector(F, (a2) => !!a2.isLargeRoom);
22676
+ var vS = createSelector(F, (a2) => !!a2.isEffectsEnabled);
22677
+ var MS = createSelector(F, (a2) => !!a2.isVBEnabled);
22678
+ var yS = createSelector(F, (a2) => a2.effectsKey);
22897
22679
  var La = (a2) => a2.polls;
22898
- var PS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22899
- var fn = (a2) => a2.whiteboards;
22900
- var bS = createSelector(fn, (a2) => Object.values(a2)[0]);
22680
+ var bS = createSelector(Ee, (a2) => a2.filter((e) => e.isHandRaised));
22681
+ var fo = (a2) => a2.whiteboards;
22682
+ var IS = createSelector(fo, (a2) => Object.values(a2)[0]);
22901
22683
  var wa = (a2 = "audio") => (e) => e.playlist[a2].list;
22902
22684
  var as = (a2 = "audio") => (e) => e.playlist[a2].selection;
22903
22685
  var _a7 = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -22906,8 +22688,7 @@ var Oa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22906
22688
  var xa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22907
22689
  var Ua = (a2 = "audio") => createSelector(wa(a2), (e) => Object.values(e));
22908
22690
  var Ba = (a2 = "audio") => createSelector(wa(a2), as(a2), (e, t) => {
22909
- if (t.id)
22910
- return e[t.id];
22691
+ if (t.id) return e[t.id];
22911
22692
  });
22912
22693
  var Va = { selection: as("audio"), progress: _a7("audio"), currentTime: Na("audio"), playbackRate: Oa("audio"), volume: xa("audio"), list: Ua("audio"), selectedItem: Ba("audio") };
22913
22694
  var Fa = { selection: as("video"), progress: _a7("video"), currentTime: Na("video"), playbackRate: Oa("video"), volume: xa("video"), list: Ua("video"), selectedItem: Ba("video") };
@@ -22941,143 +22722,133 @@ var b = class {
22941
22722
  performance.clearMarks(), performance.clearMeasures();
22942
22723
  }
22943
22724
  static log(e, ...t) {
22944
- if (!(this.level.valueOf() > e.valueOf()))
22945
- switch (e) {
22946
- case 0: {
22947
- console.log(xt, ...t);
22948
- break;
22949
- }
22950
- case 1: {
22951
- console.debug(xt, ...t);
22952
- break;
22953
- }
22954
- case 2: {
22955
- console.info(xt, ...t);
22956
- break;
22957
- }
22958
- case 3: {
22959
- console.warn(xt, ...t);
22960
- break;
22961
- }
22962
- case 6: {
22963
- console.error(xt, ...t);
22964
- break;
22965
- }
22966
- case 4: {
22967
- performance.mark(t[1]);
22968
- break;
22969
- }
22970
- case 5: {
22971
- let i = t[0], r = t[1];
22972
- try {
22973
- let s = performance.measure(r, r);
22974
- this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22975
- } catch (s) {
22976
- this.log(1, i, r, s);
22977
- }
22978
- break;
22725
+ if (!(this.level.valueOf() > e.valueOf())) switch (e) {
22726
+ case 0: {
22727
+ console.log(xt, ...t);
22728
+ break;
22729
+ }
22730
+ case 1: {
22731
+ console.debug(xt, ...t);
22732
+ break;
22733
+ }
22734
+ case 2: {
22735
+ console.info(xt, ...t);
22736
+ break;
22737
+ }
22738
+ case 3: {
22739
+ console.warn(xt, ...t);
22740
+ break;
22741
+ }
22742
+ case 6: {
22743
+ console.error(xt, ...t);
22744
+ break;
22745
+ }
22746
+ case 4: {
22747
+ performance.mark(t[1]);
22748
+ break;
22749
+ }
22750
+ case 5: {
22751
+ let i = t[0], r = t[1];
22752
+ try {
22753
+ let s = performance.measure(r, r);
22754
+ this.log(1, i, r, s == null ? void 0 : s.duration), performance.clearMarks(r), performance.clearMeasures(r);
22755
+ } catch (s) {
22756
+ this.log(1, i, r, s);
22979
22757
  }
22758
+ break;
22980
22759
  }
22760
+ }
22981
22761
  }
22982
22762
  };
22983
22763
  b.level = 0;
22984
- var os = (a2, e) => e;
22764
+ var ns = (a2, e) => e;
22985
22765
  var Ut = (a2, e) => e;
22986
22766
  var Ga = (a2, e) => e;
22987
- var vn = (a2, e) => e;
22988
- var Mn = (a2, e) => e;
22989
- var ee = createSelector([Z, os], (a2, e) => e ? a2[e] : null);
22990
- var ns = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22991
- var yn = createSelector([N, Ut], (a2, e) => {
22992
- if (!e)
22993
- return null;
22767
+ var vo = (a2, e) => e;
22768
+ var Mo = (a2, e) => e;
22769
+ var ee = createSelector([Z, ns], (a2, e) => e ? a2[e] : null);
22770
+ var os = createSelector([N, Ut], (a2, e) => e ? a2[e] : null);
22771
+ var yo = createSelector([N, Ut], (a2, e) => {
22772
+ if (!e) return null;
22994
22773
  let t = a2[e];
22995
22774
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22996
22775
  });
22997
- var kn = createSelector([N, Ut], (a2, e) => {
22998
- if (!e)
22999
- return null;
22776
+ var ko = createSelector([N, Ut], (a2, e) => {
22777
+ if (!e) return null;
23000
22778
  let t = a2[e];
23001
22779
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
23002
22780
  });
23003
- var En = createSelector([N, Ut], (a2, e) => {
23004
- if (!e)
23005
- return null;
22781
+ var Eo = createSelector([N, Ut], (a2, e) => {
22782
+ if (!e) return null;
23006
22783
  let t = a2[e];
23007
22784
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
23008
22785
  });
23009
- var Pn = createSelector([N, Ut], (a2, e) => {
23010
- if (!e)
23011
- return null;
22786
+ var Po = createSelector([N, Ut], (a2, e) => {
22787
+ if (!e) return null;
23012
22788
  let t = a2[e];
23013
22789
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
23014
22790
  });
23015
- var bn = createSelector([La, Mn], (a2, e) => e ? a2[e] : null);
22791
+ var bo = createSelector([La, Mo], (a2, e) => e ? a2[e] : null);
23016
22792
  var re = H(ee);
23017
- var OS2 = H(createSelector([is, vn], (a2, e) => {
23018
- if (a2)
23019
- return e ? a2[e] : a2;
22793
+ var xS = H(createSelector([is, vo], (a2, e) => {
22794
+ if (a2) return e ? a2[e] : a2;
23020
22795
  }));
23021
- function xS(a2) {
22796
+ function US(a2) {
23022
22797
  return (e) => {
23023
- if (e.sessionStore)
23024
- return a2 ? e.sessionStore[a2] : e.sessionStore;
22798
+ if (e.sessionStore) return a2 ? e.sessionStore[a2] : e.sessionStore;
23025
22799
  };
23026
22800
  }
23027
- var BS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
23028
- var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
23029
- var Li = H(ns);
23030
- var Wa = H(yn);
23031
- var FS = H(kn);
23032
- var GS = H(En);
23033
- var WS = H(Pn);
23034
- var In = H((a2, e) => {
22801
+ var VS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.name));
22802
+ var FS = H(createSelector(ee, (a2) => a2 == null ? void 0 : a2.type));
22803
+ var Li = H(os);
22804
+ var Wa = H(yo);
22805
+ var GS = H(ko);
22806
+ var WS = H(Eo);
22807
+ var $S = H(Po);
22808
+ var Io = H((a2, e) => {
23035
22809
  let t = ee(a2, e);
23036
- if (t && t.videoTrack && t.videoTrack !== "")
23037
- return a2.tracks[t.videoTrack];
22810
+ if (t && t.videoTrack && t.videoTrack !== "") return a2.tracks[t.videoTrack];
23038
22811
  });
23039
- var An = H((a2, e) => {
22812
+ var Ao = H((a2, e) => {
23040
22813
  let t = ee(a2, e);
23041
- if (t && t.audioTrack && t.audioTrack !== "")
23042
- return a2.tracks[t.audioTrack];
22814
+ if (t && t.audioTrack && t.audioTrack !== "") return a2.tracks[t.audioTrack];
23043
22815
  });
23044
- var KS = H((a2, e) => {
22816
+ var qS = H((a2, e) => {
23045
22817
  let t = ee(a2, e);
23046
22818
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
23047
22819
  });
23048
22820
  var $a = (a2, e) => e ? a2.speakers[e] : null;
23049
- var qS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
23050
- var Rn = (a2, e) => {
23051
- let t = An(e)(a2);
22821
+ var jS = H(createSelector($a, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22822
+ var Ro = (a2, e) => {
22823
+ let t = Ao(e)(a2);
23052
22824
  return $a(a2, t == null ? void 0 : t.id);
23053
22825
  };
23054
- var jS = H(createSelector(Rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
23055
- var QS = H((a2, e) => {
23056
- if (e)
23057
- return a2.connectionQualities[e];
23058
- });
22826
+ var QS = H(createSelector(Ro, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
23059
22827
  var JS = H((a2, e) => {
22828
+ if (e) return a2.connectionQualities[e];
22829
+ });
22830
+ var zS = H((a2, e) => {
23060
22831
  let t = ee(a2, e);
23061
22832
  if (t) {
23062
22833
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => vt(a2.tracks[r]));
23063
22834
  return i ? a2.tracks[i] : void 0;
23064
22835
  }
23065
22836
  });
23066
- var zS = H(createSelector(N, ee, (a2, e) => {
22837
+ var YS = H(createSelector(N, ee, (a2, e) => {
23067
22838
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
23068
22839
  let r = a2[i];
23069
22840
  return yt(r) && Mt(r);
23070
22841
  });
23071
22842
  return t ? a2[t] : void 0;
23072
22843
  }));
23073
- var YS = H(createSelector(N, ee, (a2, e) => {
22844
+ var XS = H(createSelector(N, ee, (a2, e) => {
23074
22845
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
23075
22846
  let r = a2[i];
23076
22847
  return yt(r) && vt(r);
23077
22848
  });
23078
22849
  return t ? a2[t] : void 0;
23079
22850
  }));
23080
- var XS = H(createSelector(N, ee, (a2, e) => {
22851
+ var ZS = H(createSelector(N, ee, (a2, e) => {
23081
22852
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
23082
22853
  let r = a2[i];
23083
22854
  return pi(r) && vt(r);
@@ -23086,28 +22857,27 @@ var XS = H(createSelector(N, ee, (a2, e) => {
23086
22857
  }));
23087
22858
  var Ka = H(createSelector(N, ee, (a2, e) => We(a2, e)));
23088
22859
  var qa = (a2) => createSelector(Ka(a2), (e) => e.audio);
23089
- var eg = H((a2, e) => {
22860
+ var tg = H((a2, e) => {
23090
22861
  let t = ee(a2, e);
23091
22862
  return Xe(a2, t == null ? void 0 : t.audioTrack);
23092
22863
  });
23093
- var tg = H((a2, e) => {
22864
+ var ig = H((a2, e) => {
23094
22865
  let t = ee(a2, e);
23095
22866
  return Xe(a2, t == null ? void 0 : t.videoTrack);
23096
22867
  });
23097
22868
  var ja = H((a2, e) => {
23098
- if (e && a2.tracks[e])
23099
- return a2.tracks[e].volume === 0;
22869
+ if (e && a2.tracks[e]) return a2.tracks[e].volume === 0;
23100
22870
  });
23101
- var ig = H((a2, e) => {
22871
+ var rg = H((a2, e) => {
23102
22872
  let t = ee(a2, e);
23103
22873
  return ja(t == null ? void 0 : t.audioTrack)(a2);
23104
22874
  });
23105
- var rg = H((a2, e) => {
22875
+ var sg = H((a2, e) => {
23106
22876
  let t = qa(e)(a2);
23107
22877
  return ja(t == null ? void 0 : t.id)(a2);
23108
22878
  });
23109
22879
  var Qa = H((a2, e) => {
23110
- let t = ns(a2, e);
22880
+ let t = os(a2, e);
23111
22881
  if (t) {
23112
22882
  if (t.type !== "audio") {
23113
22883
  b.w("Please pass audio track here");
@@ -23116,16 +22886,16 @@ var Qa = H((a2, e) => {
23116
22886
  return t.volume;
23117
22887
  }
23118
22888
  });
23119
- var sg = H((a2, e) => {
22889
+ var ag = H((a2, e) => {
23120
22890
  let t = ee(a2, e);
23121
22891
  return Qa(t == null ? void 0 : t.audioTrack)(a2);
23122
22892
  });
23123
- var ag = H((a2, e) => {
22893
+ var ng = H((a2, e) => {
23124
22894
  let t = qa(e)(a2);
23125
22895
  return Qa(t == null ? void 0 : t.id)(a2);
23126
22896
  });
23127
22897
  var og = H((a2, e) => {
23128
- let t = ns(a2, e);
22898
+ let t = os(a2, e);
23129
22899
  if (t) {
23130
22900
  if (t.type !== "video") {
23131
22901
  b.w("Please pass video track here");
@@ -23134,49 +22904,47 @@ var og = H((a2, e) => {
23134
22904
  return t.layer;
23135
22905
  }
23136
22906
  });
23137
- var Ja = createSelector([Ot, Ae, os], (a2, e, t) => {
23138
- if (t)
23139
- return a2.filter((i) => {
23140
- var r;
23141
- return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
23142
- });
22907
+ var Ja = createSelector([Ot, Ae, ns], (a2, e, t) => {
22908
+ if (t) return a2.filter((i) => {
22909
+ var r;
22910
+ return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22911
+ });
23143
22912
  });
23144
22913
  var za = createSelector([Ot, Ga], (a2, e) => {
23145
- if (e)
23146
- return a2.filter((t) => {
23147
- var i, r;
23148
- return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
23149
- });
22914
+ if (e) return a2.filter((t) => {
22915
+ var i, r;
22916
+ return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22917
+ });
23150
22918
  });
23151
- var Hn = createSelector(Ot, (a2) => a2.filter((e) => {
22919
+ var Ho = createSelector(Ot, (a2) => a2.filter((e) => {
23152
22920
  var t;
23153
22921
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
23154
22922
  }));
23155
- var Cn = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
23156
- var Ln = createSelector([Ja, os], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
23157
- var ng = createSelector(Hn, (a2) => a2.filter((e) => !e.read).length);
23158
- var cg = H(Ja);
23159
- var dg = H(za);
23160
- var lg = H(Cn);
23161
- var ug = H(Ln);
23162
- var Ya = H(bn);
23163
- var Eg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
22923
+ var Co = createSelector([za, Ga], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22924
+ var Lo = createSelector([Ja, ns], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22925
+ var cg = createSelector(Ho, (a2) => a2.filter((e) => !e.read).length);
22926
+ var dg = H(Ja);
22927
+ var lg = H(za);
22928
+ var ug = H(Co);
22929
+ var pg = H(Lo);
22930
+ var Ya = H(bo);
22931
+ var Pg = createSelector([Z, N], (a2, e) => Object.values(a2).map((i) => {
23164
22932
  var r;
23165
22933
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
23166
22934
  }));
23167
- var Dn = (a2) => a2.roleChangeRequests[0] || null;
23168
- 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);
23169
- var bg2 = createSelector([lt], (a2) => kt(a2));
23170
- var Ig = createSelector([Ha], (a2) => kt(a2));
23171
- var _n = createSelector([ie, N], (a2, e) => {
22935
+ var Do = (a2) => a2.roleChangeRequests[0] || null;
22936
+ 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);
22937
+ var Ig = createSelector([lt], (a2) => kt(a2));
22938
+ var Ag = createSelector([Ha], (a2) => kt(a2));
22939
+ var _o = createSelector([ie, N], (a2, e) => {
23172
22940
  let t = null;
23173
22941
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
23174
22942
  });
23175
- var Nn = createSelector([me, N], (a2, e) => {
22943
+ var No = createSelector([me, N], (a2, e) => {
23176
22944
  let t = null;
23177
22945
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
23178
22946
  });
23179
- 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 || {});
22947
+ 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 || {});
23180
22948
  var ps = class {
23181
22949
  constructor() {
23182
22950
  this.TAG = "[HTTPAnalyticsTransport]";
@@ -23202,8 +22970,7 @@ var ps = class {
23202
22970
  this.removeFromStorage(e);
23203
22971
  return;
23204
22972
  }
23205
- if (r.status !== 200)
23206
- throw Error(r.statusText);
22973
+ if (r.status !== 200) throw Error(r.statusText);
23207
22974
  this.removeFromStorage(e);
23208
22975
  }).catch((r) => {
23209
22976
  l.v(this.TAG, "Failed to send event", r, e), this.addEventToStorage(e);
@@ -23225,17 +22992,15 @@ var ps = class {
23225
22992
  var He = new ps();
23226
22993
  var Qt = class {
23227
22994
  static handleError(e) {
23228
- if (e.status === 404)
23229
- throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
23230
- if (e.status >= 400)
23231
- throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
22995
+ if (e.status === 404) throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
22996
+ if (e.status >= 400) throw S.APIErrors.ServerErrors(e.status, "FEEDBACK", e == null ? void 0 : e.statusText);
23232
22997
  }
23233
22998
  static sendFeedback(s) {
23234
22999
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
23235
23000
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
23236
- let o = new URL("v2/client/feedback", t), n = M(m({}, i), { payload: r });
23001
+ let n = new URL("v2/client/feedback", t), o = M(m({}, i), { payload: r });
23237
23002
  try {
23238
- let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
23003
+ let d = yield fetch(n, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(o), method: "POST" });
23239
23004
  try {
23240
23005
  this.handleError(d);
23241
23006
  return;
@@ -23252,17 +23017,17 @@ var Qt = class {
23252
23017
  Qt.TAG = "[FeedbackService]";
23253
23018
  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 || {});
23254
23019
  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 || {});
23255
- 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 || {});
23020
+ 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 || {});
23256
23021
  var St = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(St || {});
23257
23022
  var ac = (a2) => a2.localPeer.id;
23258
- var oc = (a2) => a2.localPeer.audioTrack;
23259
- var nc = (a2) => a2.localPeer.videoTrack;
23023
+ var nc = (a2) => a2.localPeer.audioTrack;
23024
+ var oc = (a2) => a2.localPeer.videoTrack;
23260
23025
  var cc = (a2, e) => e;
23261
- var yo = (a2, e) => e;
23026
+ var yn = (a2, e) => e;
23262
23027
  var dc = (a2) => a2.remoteTrackStats;
23263
- var ko = (a2) => a2.peerStats;
23028
+ var kn = (a2) => a2.peerStats;
23264
23029
  var Ts = (a2) => a2.localTrackStats;
23265
- var Le = createSelector([ko, ac], (a2, e) => a2[e]);
23030
+ var Le = createSelector([kn, ac], (a2, e) => a2[e]);
23266
23031
  var lc = createSelector(Le, (a2) => {
23267
23032
  var e;
23268
23033
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
@@ -23295,17 +23060,17 @@ var Tc = createSelector(Le, (a2) => {
23295
23060
  var e;
23296
23061
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
23297
23062
  });
23298
- var fc = createSelector([ko, cc], (a2, e) => e ? a2[e] : void 0);
23299
- var vc = createSelector([dc, yo], (a2, e) => e ? a2[e] : void 0);
23300
- var fs = createSelector([Ts, yo], (a2, e) => e ? a2[e] : void 0);
23063
+ var fc = createSelector([kn, cc], (a2, e) => e ? a2[e] : void 0);
23064
+ var vc = createSelector([dc, yn], (a2, e) => e ? a2[e] : void 0);
23065
+ var fs = createSelector([Ts, yn], (a2, e) => e ? a2[e] : void 0);
23301
23066
  var Mc = H(fc);
23302
23067
  var yc = H(vc);
23303
- var kc = createSelector([Ts, oc], (a2, e) => {
23068
+ var kc = createSelector([Ts, nc], (a2, e) => {
23304
23069
  var t;
23305
23070
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23306
23071
  });
23307
23072
  var Ec = H(createSelector(fs, (a2) => a2 == null ? void 0 : a2[0]));
23308
- var Pc = createSelector([Ts, nc], (a2, e) => {
23073
+ var Pc = createSelector([Ts, oc], (a2, e) => {
23309
23074
  var t;
23310
23075
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
23311
23076
  });
@@ -23401,8 +23166,7 @@ var RecordingStatus = () => {
23401
23166
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
23402
23167
  (value) => !!value
23403
23168
  )) {
23404
- if (!(isMobile && isRecordingOn))
23405
- return null;
23169
+ if (!(isMobile && isRecordingOn)) return null;
23406
23170
  }
23407
23171
  return /* @__PURE__ */ React64.createElement(
23408
23172
  Tooltip,
@@ -23470,7 +23234,7 @@ var StartRecording2 = () => {
23470
23234
  variant: "danger",
23471
23235
  icon: true,
23472
23236
  css: { ml: "auto" },
23473
- onClick: () => __async(void 0, null, function* () {
23237
+ onClick: () => __async(null, null, function* () {
23474
23238
  try {
23475
23239
  yield hmsActions.stopRTMPAndRecording();
23476
23240
  } catch (error) {
@@ -23493,7 +23257,7 @@ var StartRecording2 = () => {
23493
23257
  variant: "standard",
23494
23258
  icon: true,
23495
23259
  disabled: recordingStarted || isStreamingOn,
23496
- onClick: () => __async(void 0, null, function* () {
23260
+ onClick: () => __async(null, null, function* () {
23497
23261
  yield startRecording();
23498
23262
  })
23499
23263
  },
@@ -23555,7 +23319,7 @@ var ChangeNameContent = ({
23555
23319
  return /* @__PURE__ */ React65.createElement(
23556
23320
  "form",
23557
23321
  {
23558
- onSubmit: (e) => __async(void 0, null, function* () {
23322
+ onSubmit: (e) => __async(null, null, function* () {
23559
23323
  e.preventDefault();
23560
23324
  yield changeName();
23561
23325
  })
@@ -23597,7 +23361,7 @@ var ChangeNameContent = ({
23597
23361
  autoComplete: "name",
23598
23362
  required: true,
23599
23363
  "data-testid": "change_name_field",
23600
- onKeyDown: (e) => __async(void 0, null, function* () {
23364
+ onKeyDown: (e) => __async(null, null, function* () {
23601
23365
  if (e.key === "Enter" && currentName && currentName.trim().length > 0 && currentName !== localPeerName) {
23602
23366
  e.preventDefault();
23603
23367
  if (isMobile) {
@@ -23657,7 +23421,7 @@ var ChangeNameModal = ({
23657
23421
  const localPeerName = useHMSStore30(selectLocalPeerName3);
23658
23422
  const [currentName, setCurrentName] = useState29(localPeerName);
23659
23423
  const isMobile = useMedia12(config.media.md);
23660
- const changeName = () => __async(void 0, null, function* () {
23424
+ const changeName = () => __async(null, null, function* () {
23661
23425
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
23662
23426
  if (!name || name === localPeerName) {
23663
23427
  return;
@@ -23925,7 +23689,7 @@ var MwebOptions = ({
23925
23689
  ActionTile.Root,
23926
23690
  {
23927
23691
  disabled: isHLSRunning,
23928
- onClick: () => __async(void 0, null, function* () {
23692
+ onClick: () => __async(null, null, function* () {
23929
23693
  if (isRecordingLoading) {
23930
23694
  return;
23931
23695
  }
@@ -23985,7 +23749,7 @@ var MwebOptions = ({
23985
23749
  StopRecordingInSheet,
23986
23750
  {
23987
23751
  onClose: () => setShowRecordingOn(false),
23988
- onStopRecording: () => __async(void 0, null, function* () {
23752
+ onStopRecording: () => __async(null, null, function* () {
23989
23753
  try {
23990
23754
  yield hmsActions.stopRTMPAndRecording();
23991
23755
  setShowRecordingOn(false);
@@ -24027,7 +23791,7 @@ var RaiseHand = ({ css: css2 }) => {
24027
23791
  "data-testid": "hand_raise_btn",
24028
23792
  css: css2,
24029
23793
  active: !isHandRaised,
24030
- onClick: () => __async(void 0, null, function* () {
23794
+ onClick: () => __async(null, null, function* () {
24031
23795
  return yield toggleHandRaise();
24032
23796
  })
24033
23797
  },
@@ -24520,7 +24284,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
24520
24284
  active: !isVideoScreenshare,
24521
24285
  css: css2,
24522
24286
  disabled: isAudioOnly,
24523
- onClick: () => __async(void 0, null, function* () {
24287
+ onClick: () => __async(null, null, function* () {
24524
24288
  yield toggleScreenShare();
24525
24289
  yield requestPermission();
24526
24290
  })
@@ -24771,7 +24535,7 @@ var RemoveParticipant = ({ peerId }) => {
24771
24535
  Dropdown.Item,
24772
24536
  {
24773
24537
  css: { color: "$alert_error_default", bg: "$surface_default" },
24774
- onClick: () => __async(void 0, null, function* () {
24538
+ onClick: () => __async(null, null, function* () {
24775
24539
  try {
24776
24540
  yield actions.removePeer(peerId, "");
24777
24541
  } catch (error) {
@@ -24881,7 +24645,7 @@ var RoleOptions = ({ roleName, peerList }) => {
24881
24645
  isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
24882
24646
  isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
24883
24647
  });
24884
- const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
24648
+ const setTrackEnabled = (type, enabled = false) => __async(null, null, function* () {
24885
24649
  try {
24886
24650
  yield hmsActions.setRemoteTracksEnabled({ roles: [roleName], source: "regular", type, enabled });
24887
24651
  } catch (e) {
@@ -24901,9 +24665,9 @@ var RoleOptions = ({ roleName, peerList }) => {
24901
24665
  }
24902
24666
  });
24903
24667
  };
24904
- const removePeersFromRoom = () => __async(void 0, null, function* () {
24668
+ const removePeersFromRoom = () => __async(null, null, function* () {
24905
24669
  try {
24906
- peerList.forEach((peer) => __async(void 0, null, function* () {
24670
+ peerList.forEach((peer) => __async(null, null, function* () {
24907
24671
  yield hmsActions.removePeer(peer.id, "");
24908
24672
  }));
24909
24673
  } catch (e) {
@@ -24963,7 +24727,7 @@ var useGroupOnStageActions = ({ peers }) => {
24963
24727
  () => true
24964
24728
  ).otherwise(() => false)
24965
24729
  );
24966
- const lowerAllHands = () => __async(void 0, null, function* () {
24730
+ const lowerAllHands = () => __async(null, null, function* () {
24967
24731
  return Promise.all(peers.map((peer) => hmsActions.lowerRemotePeerHand(peer.id)));
24968
24732
  });
24969
24733
  const bringAllToStage = () => {
@@ -25152,10 +24916,10 @@ var usePeerOnStageActions = ({ peerId, role }) => {
25152
24916
  const shouldShowStageRoleChange = canChangeRole && (isInStage && remove_from_stage_label || (off_stage_roles == null ? void 0 : off_stage_roles.includes(role)) && bring_to_stage_label);
25153
24917
  const prevRole = (_b7 = useHMSStore43(selectPeerMetadata3(peerId))) == null ? void 0 : _b7.prevRole;
25154
24918
  const [open, setOpen] = useState35(false);
25155
- const lowerPeerHand = () => __async(void 0, null, function* () {
24919
+ const lowerPeerHand = () => __async(null, null, function* () {
25156
24920
  yield hmsActions.lowerRemotePeerHand(peerId);
25157
24921
  });
25158
- const handleStageAction = () => __async(void 0, null, function* () {
24922
+ const handleStageAction = () => __async(null, null, function* () {
25159
24923
  if (isInStage) {
25160
24924
  prevRole && hmsActions.changeRoleOfPeer(peerId, prevRole, true);
25161
24925
  } else if (on_stage_role) {
@@ -25569,7 +25333,7 @@ var WhiteboardToggle = () => {
25569
25333
  /* @__PURE__ */ React85.createElement(
25570
25334
  IconButton_default,
25571
25335
  {
25572
- onClick: () => __async(void 0, null, function* () {
25336
+ onClick: () => __async(null, null, function* () {
25573
25337
  if (disabled || isLoading) {
25574
25338
  return;
25575
25339
  }
@@ -25666,7 +25430,7 @@ function HLSFailureModal() {
25666
25430
  const hmsActions = useHMSActions33();
25667
25431
  const { isRTMPRunning } = useRecordingStreaming8();
25668
25432
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
25669
- const startHLS = useCallback25(() => __async(this, null, function* () {
25433
+ const startHLS = useCallback25(() => __async(null, null, function* () {
25670
25434
  try {
25671
25435
  if (isHLSStarted || isRTMPRunning) {
25672
25436
  return;
@@ -25837,8 +25601,7 @@ var statusMap = {
25837
25601
  stopped: "ENDED" /* ENDED */
25838
25602
  };
25839
25603
  var StatusIndicator = ({ status }) => {
25840
- if (!status)
25841
- return null;
25604
+ if (!status) return null;
25842
25605
  return /* @__PURE__ */ React89.createElement(Flex, { align: "center" }, /* @__PURE__ */ React89.createElement(
25843
25606
  Flex,
25844
25607
  {
@@ -25971,7 +25734,7 @@ var AddMenu = () => {
25971
25734
  variant: "primary",
25972
25735
  disabled: validateTitle,
25973
25736
  css: { mt: "$10" },
25974
- onClick: () => __async(void 0, null, function* () {
25737
+ onClick: () => __async(null, null, function* () {
25975
25738
  const id = Date.now().toString();
25976
25739
  yield actions.interactivityCenter.createPoll({
25977
25740
  id,
@@ -26002,7 +25765,7 @@ var PrevMenu = () => {
26002
25765
  );
26003
25766
  const permissions = useHMSStore48(selectPermissions16);
26004
25767
  useEffect29(() => {
26005
- const updatePolls = () => __async(void 0, null, function* () {
25768
+ const updatePolls = () => __async(null, null, function* () {
26006
25769
  yield hmsActions.interactivityCenter.getPolls();
26007
25770
  });
26008
25771
  updatePolls();
@@ -26584,12 +26347,12 @@ function CreateQuestions() {
26584
26347
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: uuid2() }]
26585
26348
  );
26586
26349
  const isValidPoll = useMemo11(() => questions.length > 0 && questions.every(isValidQuestion), [questions]);
26587
- const launchPoll = () => __async(this, null, function* () {
26350
+ const launchPoll = () => __async(null, null, function* () {
26588
26351
  yield actions.interactivityCenter.startPoll(id);
26589
26352
  yield sendTimedMetadata(id);
26590
26353
  setPollView(POLL_VIEWS.VOTE);
26591
26354
  });
26592
- const sendTimedMetadata = (poll_id) => __async(this, null, function* () {
26355
+ const sendTimedMetadata = (poll_id) => __async(null, null, function* () {
26593
26356
  if (poll_id && isHLSRunning) {
26594
26357
  try {
26595
26358
  yield actions.sendHLSTimedMetadata([
@@ -26619,14 +26382,14 @@ function CreateQuestions() {
26619
26382
  question,
26620
26383
  index,
26621
26384
  length: questions.length,
26622
- onSave: (questionParams) => __async(this, null, function* () {
26385
+ onSave: (questionParams) => __async(null, null, function* () {
26623
26386
  const updatedQuestions = [...questions.slice(0, index), questionParams, ...questions.slice(index + 1)];
26624
26387
  setQuestions(updatedQuestions);
26625
26388
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
26626
26389
  yield actions.interactivityCenter.addQuestionsToPoll(id, validQuestions);
26627
26390
  }),
26628
26391
  isQuiz,
26629
- removeQuestion: (questionID) => __async(this, null, function* () {
26392
+ removeQuestion: (questionID) => __async(null, null, function* () {
26630
26393
  const updatedQuestions = questions.filter((questionFromSet) => questionID !== (questionFromSet == null ? void 0 : questionFromSet.draftID));
26631
26394
  setQuestions(updatedQuestions);
26632
26395
  const validQuestions = updatedQuestions.filter((question2) => isValidQuestion(question2));
@@ -26655,7 +26418,7 @@ function CreateQuestions() {
26655
26418
  },
26656
26419
  /* @__PURE__ */ React100.createElement(AddCircleIcon2, null),
26657
26420
  /* @__PURE__ */ React100.createElement(Text, { variant: "body1", css: { ml: "$md", c: "$inherit" } }, "Add another question")
26658
- ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(this, null, function* () {
26421
+ ), /* @__PURE__ */ React100.createElement(Flex, { css: { w: "100%" }, justify: "end" }, /* @__PURE__ */ React100.createElement(Button, { disabled: !isValidPoll, onClick: () => __async(null, null, function* () {
26659
26422
  return launchPoll();
26660
26423
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
26661
26424
  }
@@ -26687,8 +26450,7 @@ import { CheckCircleIcon as CheckCircleIcon4, ClockIcon, TrophyFilledIcon } from
26687
26450
  // src/Prebuilt/components/Polls/common/utils.ts
26688
26451
  init_define_process_env();
26689
26452
  var getFormattedTime = (milliseconds, precise = true) => {
26690
- if (!milliseconds)
26691
- return "-";
26453
+ if (!milliseconds) return "-";
26692
26454
  const totalSeconds = milliseconds / 1e3;
26693
26455
  const hours = Math.floor(totalSeconds / 3600);
26694
26456
  const minutes = Math.floor(totalSeconds % 3600 / 60);
@@ -26780,7 +26542,7 @@ var useQuizSummary = (quizID) => {
26780
26542
  };
26781
26543
  const [calculations, setCalculations] = useState42({ maxPossibleScore: 0, totalResponses: 0 });
26782
26544
  useEffect30(() => {
26783
- const fetchLeaderboardData = () => __async(void 0, null, function* () {
26545
+ const fetchLeaderboardData = () => __async(null, null, function* () {
26784
26546
  var _a8;
26785
26547
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
26786
26548
  const leaderboardData = yield hmsActions.interactivityCenter.fetchLeaderboard(quiz.id, 0, 200);
@@ -26990,7 +26752,7 @@ var QuestionCard2 = ({
26990
26752
  return multipleOptionAnswer.size > 0;
26991
26753
  }
26992
26754
  }, [singleOptionAnswer, multipleOptionAnswer, type]);
26993
- const handleVote = useCallback27(() => __async(void 0, null, function* () {
26755
+ const handleVote = useCallback27(() => __async(null, null, function* () {
26994
26756
  if (!isValidVote) {
26995
26757
  return;
26996
26758
  }
@@ -27221,7 +26983,7 @@ var Voting = ({ id, toggleVoting }) => {
27221
26983
  setSavedResponses({});
27222
26984
  }, [id, setSavedResponses]);
27223
26985
  useEffect33(() => {
27224
- const getResponses = () => __async(void 0, null, function* () {
26986
+ const getResponses = () => __async(null, null, function* () {
27225
26987
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
27226
26988
  yield actions.interactivityCenter.getPollResponses(poll, true);
27227
26989
  fetchedInitialResponses.current = true;
@@ -27883,7 +27645,7 @@ var ChatFooter = ({ onSend, children }) => {
27883
27645
  inputRef.current.style.height = `${Math.max(32, Math.min(inputRef.current.scrollHeight, 24 * 4))}px`;
27884
27646
  }
27885
27647
  }, []);
27886
- const sendMessage = useCallback29(() => __async(void 0, null, function* () {
27648
+ const sendMessage = useCallback29(() => __async(null, null, function* () {
27887
27649
  var _a9;
27888
27650
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
27889
27651
  if (!message || !message.trim().length) {
@@ -27990,7 +27752,7 @@ var ChatFooter = ({ onSend, children }) => {
27990
27752
  ref: inputRef,
27991
27753
  required: true,
27992
27754
  autoFocus: !(isMobile || isLandscapeHLSStream),
27993
- onKeyPress: (event) => __async(void 0, null, function* () {
27755
+ onKeyPress: (event) => __async(null, null, function* () {
27994
27756
  if (event.key === "Enter") {
27995
27757
  if (!event.shiftKey && !messageLengthExceeded) {
27996
27758
  event.preventDefault();
@@ -28061,7 +27823,7 @@ var ChatPaused = () => {
28061
27823
  const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = useHMSStore59(selectSessionStore7("chatState" /* CHAT_STATE */)) || {};
28062
27824
  const localPeer = useHMSStore59(selectLocalPeer6);
28063
27825
  const unPauseChat = useCallback30(
28064
- () => __async(void 0, null, function* () {
27826
+ () => __async(null, null, function* () {
28065
27827
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
28066
27828
  enabled: true,
28067
27829
  updatedBy: { userName: localPeer == null ? void 0 : localPeer.name, userId: localPeer == null ? void 0 : localPeer.customerUserId, peerId: localPeer == null ? void 0 : localPeer.id },
@@ -28286,7 +28048,7 @@ var Chat = () => {
28286
28048
  const listRef = useRef26(null);
28287
28049
  const hmsActions = useHMSActions42();
28288
28050
  const vanillaStore = useHMSVanillaStore11();
28289
- const { enabled: isChatEnabled = true } = useHMSStore61(xS("chatState" /* CHAT_STATE */)) || {};
28051
+ const { enabled: isChatEnabled = true } = useHMSStore61(US("chatState" /* CHAT_STATE */)) || {};
28290
28052
  const isMobile = useMedia20(config.media.md);
28291
28053
  const isMobileHLSStream = useMobileHLSStream();
28292
28054
  const isLandscapeStream = useLandscapeHLSStream();
@@ -28923,7 +28685,7 @@ var SimulcastLayers = ({ trackId }) => {
28923
28685
  {
28924
28686
  className: dragClassName,
28925
28687
  key: layer.layer,
28926
- onClick: () => __async(void 0, null, function* () {
28688
+ onClick: () => __async(null, null, function* () {
28927
28689
  yield actions.setPreferredLayer(trackId, layer.layer);
28928
28690
  }),
28929
28691
  css: {
@@ -29075,7 +28837,7 @@ var TileMenuContent = ({
29075
28837
  StyledMenuTile.RemoveItem,
29076
28838
  {
29077
28839
  css: __spreadProps(__spreadValues({}, spacingCSS), { borderTop: "none" }),
29078
- onClick: () => __async(void 0, null, function* () {
28840
+ onClick: () => __async(null, null, function* () {
29079
28841
  try {
29080
28842
  yield actions.removePeer(peerID, "");
29081
28843
  } catch (error) {
@@ -29340,7 +29102,7 @@ var Root25 = ({
29340
29102
  "&:hover": { border: "4px solid $primary_dim" }
29341
29103
  }
29342
29104
  }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29343
- onClick: () => __async(void 0, null, function* () {
29105
+ onClick: () => __async(null, null, function* () {
29344
29106
  yield onClick == null ? void 0 : onClick();
29345
29107
  })
29346
29108
  },
@@ -29398,19 +29160,19 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29398
29160
  const roomState = useHMSStore69(selectRoomState6);
29399
29161
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
29400
29162
  const isEffectsSupported = VBHandler.isEffectsSupported();
29401
- const isEffectsEnabled = useHMSStore69(fS);
29402
- const effectsKey = useHMSStore69(MS);
29163
+ const isEffectsEnabled = useHMSStore69(vS);
29164
+ const effectsKey = useHMSStore69(yS);
29403
29165
  const isMobile = useMedia24(config.media.md);
29404
29166
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
29405
29167
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
29406
- const background = useHMSStore69(OS2(APP_DATA.background));
29168
+ const background = useHMSStore69(xS(APP_DATA.background));
29407
29169
  const mediaList = backgroundMedia.map((media) => media.url || "");
29408
29170
  const pluginLoadingRef = useRef27(false);
29409
29171
  const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
29410
29172
  const inPreview = roomState === HMSRoomState6.Preview;
29411
29173
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29412
29174
  useEffect41(() => {
29413
- const addHMSVBPlugin = () => __async(void 0, null, function* () {
29175
+ const addHMSVBPlugin = () => __async(null, null, function* () {
29414
29176
  setLoadingEffects(false);
29415
29177
  if (!role) {
29416
29178
  return;
@@ -29421,7 +29183,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29421
29183
  Math.floor(role.publishParams.video.frameRate / 2)
29422
29184
  );
29423
29185
  });
29424
- const initializeVirtualBackground = () => __async(void 0, null, function* () {
29186
+ const initializeVirtualBackground = () => __async(null, null, function* () {
29425
29187
  if (!(track == null ? void 0 : track.id) || pluginLoadingRef.current || isPluginAdded) {
29426
29188
  return;
29427
29189
  }
@@ -29441,7 +29203,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29441
29203
  } else {
29442
29204
  yield addHMSVBPlugin();
29443
29205
  }
29444
- const handleDefaultBackground = () => __async(void 0, null, function* () {
29206
+ const handleDefaultBackground = () => __async(null, null, function* () {
29445
29207
  switch (background) {
29446
29208
  case HMSVirtualBackgroundTypes5.NONE:
29447
29209
  break;
@@ -29513,7 +29275,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29513
29275
  title: "No effect",
29514
29276
  icon: /* @__PURE__ */ React131.createElement(CrossCircleIcon3, { style: iconDims }),
29515
29277
  value: HMSVirtualBackgroundTypes5.NONE,
29516
- onClick: () => __async(void 0, null, function* () {
29278
+ onClick: () => __async(null, null, function* () {
29517
29279
  yield VBHandler.removeEffects();
29518
29280
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.NONE);
29519
29281
  if (isMobile) {
@@ -29526,7 +29288,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29526
29288
  title: "Blur",
29527
29289
  icon: /* @__PURE__ */ React131.createElement(BlurPersonHighIcon, { style: iconDims }),
29528
29290
  value: HMSVirtualBackgroundTypes5.BLUR,
29529
- onClick: () => __async(void 0, null, function* () {
29291
+ onClick: () => __async(null, null, function* () {
29530
29292
  var _a9;
29531
29293
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBlur(blurAmount);
29532
29294
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes5.BLUR);
@@ -29542,7 +29304,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29542
29304
  {
29543
29305
  showTooltip: false,
29544
29306
  value: [blurAmount],
29545
- onValueChange: (e) => __async(void 0, null, function* () {
29307
+ onValueChange: (e) => __async(null, null, function* () {
29546
29308
  setBlurAmount(e[0]);
29547
29309
  yield VBHandler.setBlur(e[0]);
29548
29310
  }),
@@ -29558,7 +29320,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
29558
29320
  options: mediaList.map((mediaURL) => ({
29559
29321
  mediaURL,
29560
29322
  value: mediaURL,
29561
- onClick: () => __async(void 0, null, function* () {
29323
+ onClick: () => __async(null, null, function* () {
29562
29324
  var _a9;
29563
29325
  yield (_a9 = VBHandler) == null ? void 0 : _a9.setBackground(mediaURL);
29564
29326
  hmsActions.setAppData(APP_DATA.background, mediaURL);
@@ -30086,7 +29848,7 @@ var RoleChangeRequestModal = () => {
30086
29848
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
30087
29849
  return;
30088
29850
  }
30089
- (() => __async(void 0, null, function* () {
29851
+ (() => __async(null, null, function* () {
30090
29852
  yield hmsActions.preview({ asRole: roleChangeRequest.role.name });
30091
29853
  }))();
30092
29854
  }, [hmsActions, roleChangeRequest, currentRole, updateMetaData]);
@@ -30123,7 +29885,7 @@ var RoleChangeRequestModal = () => {
30123
29885
  RequestPrompt,
30124
29886
  {
30125
29887
  title: "You're invited to join the stage",
30126
- onOpenChange: (value) => __async(void 0, null, function* () {
29888
+ onOpenChange: (value) => __async(null, null, function* () {
30127
29889
  var _a8;
30128
29890
  if (!value) {
30129
29891
  hmsActions.rejectChangeRole(roleChangeRequest);
@@ -30133,7 +29895,7 @@ var RoleChangeRequestModal = () => {
30133
29895
  }
30134
29896
  }),
30135
29897
  body,
30136
- onAction: () => __async(void 0, null, function* () {
29898
+ onAction: () => __async(null, null, function* () {
30137
29899
  yield hmsActions.acceptChangeRole(roleChangeRequest);
30138
29900
  yield updateMetaData({ prevRole: currentRole });
30139
29901
  yield hmsActions.lowerLocalPeerHand();
@@ -30968,7 +30730,7 @@ var ScreenshareDisplay = () => {
30968
30730
  {
30969
30731
  variant: "danger",
30970
30732
  css: { fontWeight: "$semiBold" },
30971
- onClick: () => __async(void 0, null, function* () {
30733
+ onClick: () => __async(null, null, function* () {
30972
30734
  yield hmsActions.setScreenShareEnabled(false);
30973
30735
  }),
30974
30736
  "data-testid": "stop_screen_share_btn"
@@ -31434,7 +31196,7 @@ var EmbedComponent = () => {
31434
31196
  const resetConfig = useResetEmbedConfig();
31435
31197
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
31436
31198
  useEffect54(() => {
31437
- (() => __async(void 0, null, function* () {
31199
+ (() => __async(null, null, function* () {
31438
31200
  if (embedConfig && !isEmbedShareInProgress) {
31439
31201
  try {
31440
31202
  yield startEmbedShare(embedConfig);
@@ -31703,7 +31465,7 @@ var PlayPauseButton = ({
31703
31465
  height = 20
31704
31466
  }) => {
31705
31467
  const { hlsPlayer: hlsPlayer2 } = useHMSPlayerContext();
31706
- const onClick = (event) => __async(void 0, null, function* () {
31468
+ const onClick = (event) => __async(null, null, function* () {
31707
31469
  event == null ? void 0 : event.stopPropagation();
31708
31470
  isPaused ? yield hlsPlayer2 == null ? void 0 : hlsPlayer2.play() : hlsPlayer2 == null ? void 0 : hlsPlayer2.pause();
31709
31471
  });
@@ -32145,7 +31907,7 @@ function HLSAutoplayBlockedPrompt({
32145
31907
  color: "#000",
32146
31908
  r: "$2"
32147
31909
  },
32148
- onClick: () => __async(this, null, function* () {
31910
+ onClick: () => __async(null, null, function* () {
32149
31911
  return yield unblockAutoPlay();
32150
31912
  })
32151
31913
  },
@@ -32168,7 +31930,7 @@ function HLSAutoplayBlockedPrompt({
32168
31930
  Dialog.Root,
32169
31931
  {
32170
31932
  open,
32171
- onOpenChange: (value) => __async(this, null, function* () {
31933
+ onOpenChange: (value) => __async(null, null, function* () {
32172
31934
  if (!value) {
32173
31935
  yield unblockAutoPlay();
32174
31936
  }
@@ -32178,7 +31940,7 @@ function HLSAutoplayBlockedPrompt({
32178
31940
  Button,
32179
31941
  {
32180
31942
  variant: "primary",
32181
- onClick: () => __async(this, null, function* () {
31943
+ onClick: () => __async(null, null, function* () {
32182
31944
  yield unblockAutoPlay();
32183
31945
  })
32184
31946
  },
@@ -32545,8 +32307,7 @@ var HLSView = () => {
32545
32307
  }
32546
32308
  }, [hlsUrl, streamEnded, lastHlsUrl]);
32547
32309
  useEffect58(() => {
32548
- if (!notification)
32549
- return;
32310
+ if (!notification) return;
32550
32311
  const toastID = toastMap == null ? void 0 : toastMap[notification.data.id];
32551
32312
  if (toastID) {
32552
32313
  ToastManager.removeToast(toastMap[notification.data.id]);
@@ -32699,7 +32460,7 @@ var HLSView = () => {
32699
32460
  hlsPlayer == null ? void 0 : hlsPlayer.off(HMSHLSPlayerEvents2.STATS, onHLSStats);
32700
32461
  };
32701
32462
  }, [enablHlsStats]);
32702
- const unblockAutoPlay = () => __async(void 0, null, function* () {
32463
+ const unblockAutoPlay = () => __async(null, null, function* () {
32703
32464
  try {
32704
32465
  yield hlsPlayer.play();
32705
32466
  setIsHlsAutoplayBlocked(false);
@@ -32779,9 +32540,9 @@ var HLSView = () => {
32779
32540
  },
32780
32541
  [hlsState == null ? void 0 : hlsState.variants, hoverControlsVisible, isLandscape, isMobile, onSeekTo]
32781
32542
  );
32782
- const onClickHandler = useCallback37(() => __async(void 0, null, function* () {
32543
+ const onClickHandler = useCallback37(() => __async(null, null, function* () {
32783
32544
  var _a9;
32784
- match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
32545
+ match13({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(null, null, function* () {
32785
32546
  if (isPaused) {
32786
32547
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
32787
32548
  } else {
@@ -32877,7 +32638,7 @@ var HLSView = () => {
32877
32638
  },
32878
32639
  outline: "none"
32879
32640
  },
32880
- onKeyDown: (event) => __async(void 0, null, function* () {
32641
+ onKeyDown: (event) => __async(null, null, function* () {
32881
32642
  var _a9;
32882
32643
  if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === HLSPlaylistType.DVR) {
32883
32644
  yield keyHandler(event);
@@ -33022,7 +32783,7 @@ var HLSView = () => {
33022
32783
  IconButton,
33023
32784
  {
33024
32785
  css: { px: "$2" },
33025
- onClick: (e) => __async(void 0, null, function* () {
32786
+ onClick: (e) => __async(null, null, function* () {
33026
32787
  e.stopPropagation();
33027
32788
  yield hlsPlayer == null ? void 0 : hlsPlayer.seekToLivePosition();
33028
32789
  setIsVideoLive(true);
@@ -33088,7 +32849,7 @@ var PDFView = () => {
33088
32849
  };
33089
32850
  }, []);
33090
32851
  useEffect59(() => {
33091
- (() => __async(void 0, null, function* () {
32852
+ (() => __async(null, null, function* () {
33092
32853
  try {
33093
32854
  if (!isPDFShareInProgress && pdfConfig) {
33094
32855
  yield startPDFShare(pdfConfig);
@@ -33248,8 +33009,7 @@ var Queue = class {
33248
33009
  return captionData;
33249
33010
  }
33250
33011
  peek() {
33251
- if (this.size() <= 0)
33252
- return void 0;
33012
+ if (this.size() <= 0) return void 0;
33253
33013
  const key = Object.keys(this.storage).shift() || "";
33254
33014
  return this.storage[key];
33255
33015
  }
@@ -33279,8 +33039,7 @@ var CaptionMaintainerQueue = class {
33279
33039
  var TranscriptView = ({ peer_id, data: data3 }) => {
33280
33040
  const peerName = useHMSStore82(selectPeerNameByID7(peer_id)) || "Participant";
33281
33041
  data3 = data3.trim();
33282
- if (!data3)
33283
- return null;
33042
+ if (!data3) return null;
33284
33043
  return /* @__PURE__ */ React171.createElement(
33285
33044
  Text,
33286
33045
  {
@@ -33570,7 +33329,7 @@ var CamaraFlipActions = () => {
33570
33329
  IconButton_default,
33571
33330
  {
33572
33331
  disabled: !isVideoOn,
33573
- onClick: () => __async(void 0, null, function* () {
33332
+ onClick: () => __async(null, null, function* () {
33574
33333
  try {
33575
33334
  yield actions.switchCamera();
33576
33335
  } catch (e) {
@@ -33614,7 +33373,7 @@ var AudioActions = () => {
33614
33373
  {
33615
33374
  audioDevices: availableAudioDevices,
33616
33375
  audioSelected: selectedAudio,
33617
- onChange: (deviceId) => __async(void 0, null, function* () {
33376
+ onChange: (deviceId) => __async(null, null, function* () {
33618
33377
  try {
33619
33378
  yield updateDevice({
33620
33379
  deviceId,
@@ -33631,7 +33390,7 @@ var AudioActions = () => {
33631
33390
  /* @__PURE__ */ React174.createElement(
33632
33391
  Box,
33633
33392
  {
33634
- onClick: () => __async(void 0, null, function* () {
33393
+ onClick: () => __async(null, null, function* () {
33635
33394
  yield hmsActions.refreshDevices();
33636
33395
  })
33637
33396
  },
@@ -34037,8 +33796,8 @@ var isEvenListenersAttached = false;
34037
33796
  var _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind;
34038
33797
  var KeyboardInputManager = class {
34039
33798
  constructor(store, actions) {
34040
- __privateAdd(this, _actions, void 0);
34041
- __privateAdd(this, _store, void 0);
33799
+ __privateAdd(this, _actions);
33800
+ __privateAdd(this, _store);
34042
33801
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
34043
33802
  const enabled = __privateGet(this, _store).getState(selectIsLocalAudioEnabled2);
34044
33803
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
@@ -34201,7 +33960,7 @@ var FeedbackContent = ({
34201
33960
  }
34202
33961
  setSelectedReasons(newSelected);
34203
33962
  };
34204
- const submitFeedback = () => __async(void 0, null, function* () {
33963
+ const submitFeedback = () => __async(null, null, function* () {
34205
33964
  if (indexSelected < 0 || ratings.length <= indexSelected) {
34206
33965
  return;
34207
33966
  }
@@ -34730,7 +34489,7 @@ function AutoplayBlockedModal() {
34730
34489
  Dialog.Root,
34731
34490
  {
34732
34491
  open: !!error,
34733
- onOpenChange: (value) => __async(this, null, function* () {
34492
+ onOpenChange: (value) => __async(null, null, function* () {
34734
34493
  if (!value) {
34735
34494
  yield unblockAudio();
34736
34495
  }
@@ -34741,7 +34500,7 @@ function AutoplayBlockedModal() {
34741
34500
  Button,
34742
34501
  {
34743
34502
  variant: "primary",
34744
- onClick: () => __async(this, null, function* () {
34503
+ onClick: () => __async(null, null, function* () {
34745
34504
  yield unblockAudio();
34746
34505
  resetError();
34747
34506
  })
@@ -34865,8 +34624,7 @@ var ErrorNotifications = () => {
34865
34624
  const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
34866
34625
  const subscribedNotifications = useSubscribedNotifications() || {};
34867
34626
  useEffect72(() => {
34868
- if (!notification || !notification.data)
34869
- return;
34627
+ if (!notification || !notification.data) return;
34870
34628
  const { isTerminal, action, code, message, description } = notification.data;
34871
34629
  if (isTerminal && action !== "INIT") {
34872
34630
  if ([500, 6008].includes(code)) {
@@ -34893,8 +34651,7 @@ var ErrorNotifications = () => {
34893
34651
  if (action === "INIT") {
34894
34652
  return;
34895
34653
  }
34896
- if (!subscribedNotifications.ERROR)
34897
- return;
34654
+ if (!subscribedNotifications.ERROR) return;
34898
34655
  ToastManager.addToast({
34899
34656
  title: `Error: ${message} - ${description}`
34900
34657
  });
@@ -34956,7 +34713,7 @@ var HandRaiseAction = React188.forwardRef(({ id = "", isSingleHandRaise = true }
34956
34713
  off_stage_roles = [],
34957
34714
  skip_preview_for_role_change = false
34958
34715
  } = ((_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) || {};
34959
- const onClickHandler = useCallback38(() => __async(void 0, null, function* () {
34716
+ const onClickHandler = useCallback38(() => __async(null, null, function* () {
34960
34717
  if (isSingleHandRaise) {
34961
34718
  hmsActions.changeRoleOfPeer(id, on_stage_role, skip_preview_for_role_change);
34962
34719
  if (skip_preview_for_role_change) {
@@ -35640,45 +35397,57 @@ var TrackUnmuteModal = () => {
35640
35397
 
35641
35398
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
35642
35399
  init_define_process_env();
35643
- import React194, { useEffect as useEffect84 } from "react";
35644
- import { match as match16 } from "ts-pattern";
35400
+ import React194, { useEffect as useEffect84, useRef as useRef35 } from "react";
35645
35401
  import { HMSNotificationTypes as HMSNotificationTypes16, HMSTranscriptionState, useHMSNotifications as useHMSNotifications17 } from "@100mslive/react-sdk";
35646
- import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon4, OpenCaptionIcon as OpenCaptionIcon5 } from "@100mslive/react-icons";
35402
+ import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon4, GlobeIcon, OpenCaptionIcon as OpenCaptionIcon5 } from "@100mslive/react-icons";
35647
35403
  var TranscriptionNotifications = () => {
35648
35404
  const notification = useHMSNotifications17(HMSNotificationTypes16.TRANSCRIPTION_STATE_UPDATED);
35649
35405
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
35406
+ const prevState = useRef35(void 0);
35407
+ const prevTranslationEnabled = useRef35(void 0);
35650
35408
  useEffect84(() => {
35651
35409
  if (!(notification == null ? void 0 : notification.data)) {
35652
35410
  return;
35653
35411
  }
35654
- console.debug(`[${notification.type}]`, notification);
35655
35412
  const transcriptionStates = notification.data;
35656
- if (transcriptionStates.length > 0) {
35657
- let id = "";
35658
- match16({ state: transcriptionStates[0].state, error: transcriptionStates[0].error }).when(
35659
- ({ error }) => !!error,
35660
- () => {
35661
- id = ToastManager.replaceToast(toastId, {
35662
- title: `Failed to enable Closed Caption`,
35663
- variant: "error",
35664
- icon: /* @__PURE__ */ React194.createElement(AlertTriangleIcon8, { style: { marginRight: "0.5rem" } })
35665
- });
35666
- }
35667
- ).with({ state: HMSTranscriptionState.STARTED }, () => {
35668
- id = ToastManager.replaceToast(toastId, {
35669
- title: `Closed Captioning enabled for everyone`,
35670
- variant: "standard",
35671
- duration: 2e3,
35672
- icon: /* @__PURE__ */ React194.createElement(ClosedCaptionIcon4, { style: { marginRight: "0.5rem" } })
35673
- });
35674
- }).with({ state: HMSTranscriptionState.STOPPED }, () => {
35675
- id = ToastManager.replaceToast(toastId, {
35676
- title: `Closed Captioning disabled for everyone`,
35677
- variant: "standard",
35678
- duration: 2e3,
35679
- icon: /* @__PURE__ */ React194.createElement(OpenCaptionIcon5, { style: { marginRight: "0.5rem" } })
35680
- });
35681
- }).otherwise(() => null);
35413
+ if (transcriptionStates.length === 0) {
35414
+ return;
35415
+ }
35416
+ const { state, error, translation } = transcriptionStates[0];
35417
+ const stateChanged = prevState.current !== state;
35418
+ const translationChanged = prevTranslationEnabled.current !== !!(translation == null ? void 0 : translation.enabled);
35419
+ prevState.current = state;
35420
+ prevTranslationEnabled.current = !!(translation == null ? void 0 : translation.enabled);
35421
+ let id = "";
35422
+ if (error) {
35423
+ id = ToastManager.replaceToast(toastId, {
35424
+ title: `Failed to enable Closed Caption`,
35425
+ variant: "error",
35426
+ icon: /* @__PURE__ */ React194.createElement(AlertTriangleIcon8, { style: { marginRight: "0.5rem" } })
35427
+ });
35428
+ } else if (stateChanged && state === HMSTranscriptionState.STARTED) {
35429
+ id = ToastManager.replaceToast(toastId, {
35430
+ title: (translation == null ? void 0 : translation.enabled) ? `Closed Captioning enabled with Translation` : `Closed Captioning enabled for everyone`,
35431
+ variant: "standard",
35432
+ duration: 2e3,
35433
+ icon: (translation == null ? void 0 : translation.enabled) ? /* @__PURE__ */ React194.createElement(GlobeIcon, { style: { marginRight: "0.5rem" } }) : /* @__PURE__ */ React194.createElement(ClosedCaptionIcon4, { style: { marginRight: "0.5rem" } })
35434
+ });
35435
+ } else if (stateChanged && state === HMSTranscriptionState.STOPPED) {
35436
+ id = ToastManager.replaceToast(toastId, {
35437
+ title: `Closed Captioning disabled for everyone`,
35438
+ variant: "standard",
35439
+ duration: 2e3,
35440
+ icon: /* @__PURE__ */ React194.createElement(OpenCaptionIcon5, { style: { marginRight: "0.5rem" } })
35441
+ });
35442
+ } else if (!stateChanged && translationChanged) {
35443
+ id = ToastManager.replaceToast(toastId, {
35444
+ title: (translation == null ? void 0 : translation.enabled) ? `Translation enabled for everyone` : `Translation disabled for everyone`,
35445
+ variant: "standard",
35446
+ duration: 2e3,
35447
+ icon: /* @__PURE__ */ React194.createElement(GlobeIcon, { style: { marginRight: "0.5rem" } })
35448
+ });
35449
+ }
35450
+ if (id) {
35682
35451
  setToastId(id);
35683
35452
  }
35684
35453
  }, [notification, setToastId]);
@@ -35715,7 +35484,7 @@ var PIPProvider = ({ children }) => {
35715
35484
  }
35716
35485
  }, [pipWindow]);
35717
35486
  const requestPipWindow = useCallback40(
35718
- (width, height) => __async(void 0, null, function* () {
35487
+ (width, height) => __async(null, null, function* () {
35719
35488
  if (pipWindow != null) {
35720
35489
  return;
35721
35490
  }
@@ -35892,7 +35661,7 @@ function FlyingEmoji() {
35892
35661
  const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
35893
35662
  const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
35894
35663
  const showFlyingEmoji = useCallback41(
35895
- (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
35664
+ (_0) => __async(null, [_0], function* ({ emojiId, senderId }) {
35896
35665
  if (!emojiId || !senderId || document.hidden) {
35897
35666
  return;
35898
35667
  }
@@ -35990,7 +35759,7 @@ import React203, { useCallback as useCallback42 } from "react";
35990
35759
  import { useCustomEvent as useCustomEvent6, useHMSActions as useHMSActions58 } from "@100mslive/react-sdk";
35991
35760
  function RemoteStopScreenshare() {
35992
35761
  const actions = useHMSActions58();
35993
- const onRemoteStopScreenshare = useCallback42(() => __async(this, null, function* () {
35762
+ const onRemoteStopScreenshare = useCallback42(() => __async(null, null, function* () {
35994
35763
  yield actions.setScreenShareEnabled(false);
35995
35764
  }), [actions]);
35996
35765
  useCustomEvent6({
@@ -36002,7 +35771,7 @@ function RemoteStopScreenshare() {
36002
35771
 
36003
35772
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
36004
35773
  init_define_process_env();
36005
- import { useCallback as useCallback43, useEffect as useEffect87, useRef as useRef35 } from "react";
35774
+ import { useCallback as useCallback43, useEffect as useEffect87, useRef as useRef36 } from "react";
36006
35775
  import {
36007
35776
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
36008
35777
  selectPermissions as selectPermissions20,
@@ -36017,8 +35786,8 @@ var useAutoStartStreaming = () => {
36017
35786
  const hmsActions = useHMSActions59();
36018
35787
  const isConnected = useHMSStore98(selectIsConnectedToRoom12);
36019
35788
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
36020
- const streamStartedRef = useRef35(false);
36021
- const startHLS = useCallback43(() => __async(void 0, null, function* () {
35789
+ const streamStartedRef = useRef36(false);
35790
+ const startHLS = useCallback43(() => __async(null, null, function* () {
36022
35791
  try {
36023
35792
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
36024
35793
  return;
@@ -36070,7 +35839,7 @@ var HMSPrebuilt = React204.forwardRef(
36070
35839
  onJoin
36071
35840
  }, ref) => {
36072
35841
  var _a8, _b7, _c, _d;
36073
- const reactiveStore = useRef36();
35842
+ const reactiveStore = useRef37();
36074
35843
  const [hydrated, setHydrated] = React204.useState(false);
36075
35844
  useEffect88(() => {
36076
35845
  setHydrated(true);
@@ -36203,13 +35972,13 @@ var AppStates = ({ activeState }) => {
36203
35972
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
36204
35973
  const { isLeaveScreenEnabled } = useRoomLayoutLeaveScreen();
36205
35974
  useAutoStartStreaming();
36206
- return match17({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React204.createElement(ConferenceScreen, null));
35975
+ return match16({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React204.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React204.createElement(ConferenceScreen, null));
36207
35976
  };
36208
35977
  var BackSwipe = () => {
36209
35978
  const isConnectedToRoom = useHMSStore99(selectIsConnectedToRoom13);
36210
35979
  const hmsActions = useHMSActions60();
36211
35980
  useEffect88(() => {
36212
- const onRouteLeave = () => __async(void 0, null, function* () {
35981
+ const onRouteLeave = () => __async(null, null, function* () {
36213
35982
  if (isConnectedToRoom) {
36214
35983
  yield hmsActions.leave();
36215
35984
  }
@@ -36259,13 +36028,13 @@ init_define_process_env();
36259
36028
 
36260
36029
  // src/Diagnostics/Diagnostics.tsx
36261
36030
  init_define_process_env();
36262
- import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState91 } from "react";
36031
+ import React212, { useCallback as useCallback45, useRef as useRef39, useState as useState91 } from "react";
36263
36032
  import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions62 } from "@100mslive/react-sdk";
36264
36033
  import {
36265
36034
  CheckCircleIcon as CheckCircleIcon7,
36266
36035
  ConnectivityIcon as ConnectivityIcon2,
36267
36036
  CrossCircleIcon as CrossCircleIcon5,
36268
- GlobeIcon,
36037
+ GlobeIcon as GlobeIcon2,
36269
36038
  MicOnIcon as MicOnIcon8,
36270
36039
  VideoOnIcon as VideoOnIcon6
36271
36040
  } from "@100mslive/react-icons";
@@ -36365,11 +36134,11 @@ var TestFooter = ({
36365
36134
  // src/Diagnostics/DeviceSelector.jsx
36366
36135
  init_define_process_env();
36367
36136
  var import_prop_types = __toESM(require_prop_types());
36368
- import React207, { useRef as useRef37, useState as useState86 } from "react";
36137
+ import React207, { useRef as useRef38, useState as useState86 } from "react";
36369
36138
  var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
36370
36139
  var _a8, _b7;
36371
36140
  const [open, setOpen] = useState86(false);
36372
- const ref = useRef37(null);
36141
+ const ref = useRef38(null);
36373
36142
  return /* @__PURE__ */ React207.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React207.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React207.createElement(
36374
36143
  Flex,
36375
36144
  {
@@ -36939,7 +36708,7 @@ var VideoTest = () => {
36939
36708
  devices: videoInput || [],
36940
36709
  icon: /* @__PURE__ */ React211.createElement(VideoOnIcon5, null),
36941
36710
  selection: sdkSelectedDevices.videoInputDeviceId,
36942
- onChange: (deviceId) => __async(void 0, null, function* () {
36711
+ onChange: (deviceId) => __async(null, null, function* () {
36943
36712
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.stopCameraCheck();
36944
36713
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck(deviceId);
36945
36714
  })
@@ -36951,7 +36720,7 @@ var VideoTest = () => {
36951
36720
  var DiagnosticsStepIcon = {
36952
36721
  [1 /* VIDEO */]: /* @__PURE__ */ React212.createElement(VideoOnIcon6, { width: "2rem", height: "2rem" }),
36953
36722
  [2 /* AUDIO */]: /* @__PURE__ */ React212.createElement(MicOnIcon8, { width: "2rem", height: "2rem" }),
36954
- [0 /* BROWSER */]: /* @__PURE__ */ React212.createElement(GlobeIcon, { width: "2rem", height: "2rem" }),
36723
+ [0 /* BROWSER */]: /* @__PURE__ */ React212.createElement(GlobeIcon2, { width: "2rem", height: "2rem" }),
36955
36724
  [3 /* CONNECTIVITY */]: /* @__PURE__ */ React212.createElement(ConnectivityIcon2, { width: "2rem", height: "2rem" })
36956
36725
  };
36957
36726
  var Container5 = ({ children }) => /* @__PURE__ */ React212.createElement(
@@ -37040,7 +36809,7 @@ var DiagnosticsProvider = () => {
37040
36809
  const actions = useHMSActions62();
37041
36810
  const [activeStep, setActiveStep] = useState91(0);
37042
36811
  const [steps, setSteps] = useState91(initialSteps);
37043
- const diagnosticsRef = useRef38(actions.initDiagnostics());
36812
+ const diagnosticsRef = useRef39(actions.initDiagnostics());
37044
36813
  const updateStep = useCallback45((step, value) => {
37045
36814
  setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
37046
36815
  }, []);
@@ -37140,16 +36909,6 @@ lodash/lodash.js:
37140
36909
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
37141
36910
  *)
37142
36911
 
37143
- react-is/cjs/react-is.production.min.js:
37144
- (** @license React v16.13.1
37145
- * react-is.production.min.js
37146
- *
37147
- * Copyright (c) Facebook, Inc. and its affiliates.
37148
- *
37149
- * This source code is licensed under the MIT license found in the
37150
- * LICENSE file in the root directory of this source tree.
37151
- *)
37152
-
37153
36912
  react-is/cjs/react-is.development.js:
37154
36913
  (** @license React v16.13.1
37155
36914
  * react-is.development.js