@100mslive/roomkit-react 0.3.20-alpha.3 → 0.3.20

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.
Files changed (39) hide show
  1. package/dist/{HLSView-YFTHW2VY.js → HLSView-6QAHWMQF.js} +47 -63
  2. package/dist/HLSView-6QAHWMQF.js.map +7 -0
  3. package/dist/{HLSView-KKVZM355.css → HLSView-E242LM6X.css} +3 -3
  4. package/dist/{HLSView-KKVZM355.css.map → HLSView-E242LM6X.css.map} +1 -1
  5. package/dist/Prebuilt/AppContext.d.ts +1 -1
  6. package/dist/Prebuilt/components/AuthToken.d.ts +1 -1
  7. package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +0 -1
  8. package/dist/{chunk-Y3UYAB6J.js → chunk-ACEDLM3B.js} +532 -561
  9. package/dist/chunk-ACEDLM3B.js.map +7 -0
  10. package/dist/index.cjs.css +2 -2
  11. package/dist/index.cjs.css.map +1 -1
  12. package/dist/index.cjs.js +573 -619
  13. package/dist/index.cjs.js.map +4 -4
  14. package/dist/index.css +2 -2
  15. package/dist/index.css.map +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/meta.cjs.json +66 -86
  18. package/dist/meta.esbuild.json +78 -98
  19. package/package.json +7 -7
  20. package/src/Prebuilt/App.tsx +5 -5
  21. package/src/Prebuilt/AppContext.tsx +1 -1
  22. package/src/Prebuilt/components/AuthToken.tsx +1 -1
  23. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +4 -24
  24. package/src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx +3 -13
  25. package/src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx +1 -1
  26. package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +1 -1
  27. package/src/Prebuilt/components/ScreenshareTile.tsx +2 -2
  28. package/src/Prebuilt/components/Settings/SettingsModal.jsx +2 -1
  29. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +6 -7
  30. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +3 -3
  31. package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +2 -4
  32. package/src/Prebuilt/components/VideoTile.tsx +2 -2
  33. package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +1 -13
  34. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +2 -3
  35. package/src/Prebuilt/components/{peerTileUtils.tsx → peerTileUtils.jsx} +6 -21
  36. package/src/Prebuilt/layouts/HLSView.jsx +5 -2
  37. package/dist/HLSView-YFTHW2VY.js.map +0 -7
  38. package/dist/Prebuilt/components/peerTileUtils.d.ts +0 -7
  39. package/dist/chunk-Y3UYAB6J.js.map +0 -7
@@ -44,13 +44,13 @@ var __export = (target, all) => {
44
44
  for (var name in all)
45
45
  __defProp(target, name, { get: all[name], enumerable: true });
46
46
  };
47
- var __copyProps = (to, from, except, desc) => {
47
+ var __copyProps = (to2, from, except, desc) => {
48
48
  if (from && typeof from === "object" || typeof from === "function") {
49
49
  for (let key of __getOwnPropNames(from))
50
- if (!__hasOwnProp.call(to, key) && key !== except)
51
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
50
+ if (!__hasOwnProp.call(to2, key) && key !== except)
51
+ __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
52
52
  }
53
- return to;
53
+ return to2;
54
54
  };
55
55
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
56
56
  // If the importer is in node compatibility mode or this is not an ESM
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e0bdbab7-b112-42b5-98c4-6b7daa069b10", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e0bdbab7-b112-42b5-98c4-6b7daa069b10", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.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_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18990", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10916945557", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "9fab33a4baf3b773cc76975b6479e7ba586b4e20690fc892078f51876bb2b8d8", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1726641890325-0.27237376005150304:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641890123-0.4112577750257449:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641864483-0.6107801977411564:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641864302-0.6057361361633993:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8754bda5-14c7-4824-a02e-12e1ca0902dc", INVOCATION_ID: "ba1abf96d96d49439c675220f67e7172", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "672", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 40", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.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_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e0bdbab7-b112-42b5-98c4-6b7daa069b10", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e0bdbab7-b112-42b5-98c4-6b7daa069b10", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e0bdbab7-b112-42b5-98c4-6b7daa069b10" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ec11c631-e485-4f51-9c26-bb717e858271", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ec11c631-e485-4f51-9c26-bb717e858271", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "608", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18964", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10924413428", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "da50781c2357d6201da1c94dcfef574a0081e2dc", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "6a550264188b60ad5b210e7360722db39c68e566f3b4a82fd42d283442fee345", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1726670303235-0.6943569884753475:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726670303041-0.9452376450439679:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726670277486-0.9961146939722547:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726670277275-0.7350963641480994:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_935d062f-73ee-4fb4-a130-ccb29bb267a6", INVOCATION_ID: "f6689711720b4bc8a234afc9b66d7530", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "674", 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: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 361", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "da50781c2357d6201da1c94dcfef574a0081e2dc", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/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_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ec11c631-e485-4f51-9c26-bb717e858271", JAVA_HOME: "/usr/lib/jvm/temurin-11-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_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ec11c631-e485-4f51-9c26-bb717e858271", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ec11c631-e485-4f51-9c26-bb717e858271" };
111
111
  }
112
112
  });
113
113
 
@@ -8873,10 +8873,10 @@ var require_react_is_production_min = __commonJS({
8873
8873
  var e = b2 ? Symbol.for("react.fragment") : 60107;
8874
8874
  var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
8875
8875
  var g = b2 ? Symbol.for("react.profiler") : 60114;
8876
- var h = b2 ? Symbol.for("react.provider") : 60109;
8876
+ var h2 = b2 ? Symbol.for("react.provider") : 60109;
8877
8877
  var k = b2 ? Symbol.for("react.context") : 60110;
8878
8878
  var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
8879
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8879
+ var m = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8880
8880
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
8881
8881
  var p = b2 ? Symbol.for("react.suspense") : 60113;
8882
8882
  var q = b2 ? Symbol.for("react.suspense_list") : 60120;
@@ -8886,14 +8886,14 @@ var require_react_is_production_min = __commonJS({
8886
8886
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
8887
8887
  var x = b2 ? Symbol.for("react.responder") : 60118;
8888
8888
  var y2 = b2 ? Symbol.for("react.scope") : 60119;
8889
- function z(a2) {
8889
+ function z2(a2) {
8890
8890
  if ("object" === typeof a2 && null !== a2) {
8891
8891
  var u = a2.$$typeof;
8892
8892
  switch (u) {
8893
8893
  case c2:
8894
8894
  switch (a2 = a2.type, a2) {
8895
8895
  case l2:
8896
- case m2:
8896
+ case m:
8897
8897
  case e:
8898
8898
  case g:
8899
8899
  case f2:
@@ -8905,7 +8905,7 @@ var require_react_is_production_min = __commonJS({
8905
8905
  case n:
8906
8906
  case t:
8907
8907
  case r:
8908
- case h:
8908
+ case h2:
8909
8909
  return a2;
8910
8910
  default:
8911
8911
  return u;
@@ -8917,12 +8917,12 @@ var require_react_is_production_min = __commonJS({
8917
8917
  }
8918
8918
  }
8919
8919
  function A(a2) {
8920
- return z(a2) === m2;
8920
+ return z2(a2) === m;
8921
8921
  }
8922
8922
  exports.AsyncMode = l2;
8923
- exports.ConcurrentMode = m2;
8923
+ exports.ConcurrentMode = m;
8924
8924
  exports.ContextConsumer = k;
8925
- exports.ContextProvider = h;
8925
+ exports.ContextProvider = h2;
8926
8926
  exports.Element = c2;
8927
8927
  exports.ForwardRef = n;
8928
8928
  exports.Fragment = e;
@@ -8933,46 +8933,46 @@ var require_react_is_production_min = __commonJS({
8933
8933
  exports.StrictMode = f2;
8934
8934
  exports.Suspense = p;
8935
8935
  exports.isAsyncMode = function(a2) {
8936
- return A(a2) || z(a2) === l2;
8936
+ return A(a2) || z2(a2) === l2;
8937
8937
  };
8938
8938
  exports.isConcurrentMode = A;
8939
8939
  exports.isContextConsumer = function(a2) {
8940
- return z(a2) === k;
8940
+ return z2(a2) === k;
8941
8941
  };
8942
8942
  exports.isContextProvider = function(a2) {
8943
- return z(a2) === h;
8943
+ return z2(a2) === h2;
8944
8944
  };
8945
8945
  exports.isElement = function(a2) {
8946
8946
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
8947
8947
  };
8948
8948
  exports.isForwardRef = function(a2) {
8949
- return z(a2) === n;
8949
+ return z2(a2) === n;
8950
8950
  };
8951
8951
  exports.isFragment = function(a2) {
8952
- return z(a2) === e;
8952
+ return z2(a2) === e;
8953
8953
  };
8954
8954
  exports.isLazy = function(a2) {
8955
- return z(a2) === t;
8955
+ return z2(a2) === t;
8956
8956
  };
8957
8957
  exports.isMemo = function(a2) {
8958
- return z(a2) === r;
8958
+ return z2(a2) === r;
8959
8959
  };
8960
8960
  exports.isPortal = function(a2) {
8961
- return z(a2) === d;
8961
+ return z2(a2) === d;
8962
8962
  };
8963
8963
  exports.isProfiler = function(a2) {
8964
- return z(a2) === g;
8964
+ return z2(a2) === g;
8965
8965
  };
8966
8966
  exports.isStrictMode = function(a2) {
8967
- return z(a2) === f2;
8967
+ return z2(a2) === f2;
8968
8968
  };
8969
8969
  exports.isSuspense = function(a2) {
8970
- return z(a2) === p;
8970
+ return z2(a2) === p;
8971
8971
  };
8972
8972
  exports.isValidElementType = function(a2) {
8973
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
8973
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
8974
8974
  };
8975
- exports.typeOf = z;
8975
+ exports.typeOf = z2;
8976
8976
  }
8977
8977
  });
8978
8978
 
@@ -9193,25 +9193,25 @@ var require_object_assign = __commonJS({
9193
9193
  }
9194
9194
  module.exports = shouldUseNative() ? Object.assign : function(target, source) {
9195
9195
  var from;
9196
- var to = toObject(target);
9196
+ var to2 = toObject(target);
9197
9197
  var symbols;
9198
9198
  for (var s = 1; s < arguments.length; s++) {
9199
9199
  from = Object(arguments[s]);
9200
9200
  for (var key in from) {
9201
9201
  if (hasOwnProperty.call(from, key)) {
9202
- to[key] = from[key];
9202
+ to2[key] = from[key];
9203
9203
  }
9204
9204
  }
9205
9205
  if (getOwnPropertySymbols) {
9206
9206
  symbols = getOwnPropertySymbols(from);
9207
9207
  for (var i = 0; i < symbols.length; i++) {
9208
9208
  if (propIsEnumerable.call(from, symbols[i])) {
9209
- to[symbols[i]] = from[symbols[i]];
9209
+ to2[symbols[i]] = from[symbols[i]];
9210
9210
  }
9211
9211
  }
9212
9212
  }
9213
9213
  }
9214
- return to;
9214
+ return to2;
9215
9215
  };
9216
9216
  }
9217
9217
  });
@@ -9359,7 +9359,7 @@ var require_factoryWithTypeCheckers = __commonJS({
9359
9359
  shape: createShapeTypeChecker,
9360
9360
  exact: createStrictShapeTypeChecker
9361
9361
  };
9362
- function is2(x, y2) {
9362
+ function is(x, y2) {
9363
9363
  if (x === y2) {
9364
9364
  return x !== 0 || 1 / x === 1 / y2;
9365
9365
  } else {
@@ -9502,7 +9502,7 @@ var require_factoryWithTypeCheckers = __commonJS({
9502
9502
  function validate(props, propName, componentName, location, propFullName) {
9503
9503
  var propValue = props[propName];
9504
9504
  for (var i = 0; i < expectedValues.length; i++) {
9505
- if (is2(propValue, expectedValues[i])) {
9505
+ if (is(propValue, expectedValues[i])) {
9506
9506
  return null;
9507
9507
  }
9508
9508
  }
@@ -12010,8 +12010,8 @@ function useBorderAudioLevel(audioTrackId) {
12010
12010
  });
12011
12011
  return ref;
12012
12012
  }
12013
- var sigmoid = (z) => {
12014
- return 1 / (1 + Math.exp(-z));
12013
+ var sigmoid = (z2) => {
12014
+ return 1 / (1 + Math.exp(-z2));
12015
12015
  };
12016
12016
 
12017
12017
  // src/AudioLevel/AudioLevel.tsx
@@ -12920,14 +12920,14 @@ var Collapsible = {
12920
12920
 
12921
12921
  // src/Prebuilt/App.tsx
12922
12922
  init_define_process_env();
12923
- import React186, { useEffect as useEffect80, useRef as useRef35 } from "react";
12923
+ import React186, { useEffect as useEffect79, useRef as useRef34 } from "react";
12924
12924
  import { match as match16 } from "ts-pattern";
12925
12925
  import {
12926
12926
  HMSReactiveStore,
12927
12927
  HMSRoomProvider,
12928
12928
  selectIsConnectedToRoom as selectIsConnectedToRoom13,
12929
12929
  useHMSActions as useHMSActions59,
12930
- useHMSStore as useHMSStore97
12930
+ useHMSStore as useHMSStore96
12931
12931
  } from "@100mslive/react-sdk";
12932
12932
 
12933
12933
  // src/Prebuilt/components/AppData/AppData.tsx
@@ -13983,15 +13983,6 @@ var VBPlugin = class {
13983
13983
  this.effectsPlugin = void 0;
13984
13984
  this.hmsPlugin = void 0;
13985
13985
  };
13986
- this.isBlurSupported = () => {
13987
- if ((isSafari || isIOS) && this.hmsPlugin) {
13988
- return false;
13989
- }
13990
- if (this.effectsPlugin) {
13991
- return true;
13992
- }
13993
- return false;
13994
- };
13995
13986
  this.isEffectsSupported = () => {
13996
13987
  var _a7, _b7;
13997
13988
  if (!isSafari) {
@@ -14645,7 +14636,7 @@ var AuthToken_default = AuthToken;
14645
14636
 
14646
14637
  // src/Prebuilt/components/ConferenceScreen.tsx
14647
14638
  init_define_process_env();
14648
- import React161, { useEffect as useEffect61, useRef as useRef32, useState as useState68 } from "react";
14639
+ import React161, { useEffect as useEffect60, useRef as useRef31, useState as useState68 } from "react";
14649
14640
  import { v4 as uuid3 } from "uuid";
14650
14641
  import {
14651
14642
  HMSRoomState as HMSRoomState8,
@@ -14654,12 +14645,12 @@ import {
14654
14645
  selectRoomState as selectRoomState8,
14655
14646
  useAwayNotifications as useAwayNotifications3,
14656
14647
  useHMSActions as useHMSActions50,
14657
- useHMSStore as useHMSStore87
14648
+ useHMSStore as useHMSStore86
14658
14649
  } from "@100mslive/react-sdk";
14659
14650
 
14660
14651
  // src/Prebuilt/components/Footer/Footer.tsx
14661
14652
  init_define_process_env();
14662
- import React86, { useEffect as useEffect29 } from "react";
14653
+ import React86, { useEffect as useEffect28 } from "react";
14663
14654
  import { useMedia as useMedia15 } from "react-use";
14664
14655
  import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
14665
14656
 
@@ -15445,6 +15436,7 @@ var MobileSettingModal = ({
15445
15436
  {
15446
15437
  direction: "column",
15447
15438
  css: {
15439
+ px: "$8",
15448
15440
  pb: "$8",
15449
15441
  overflowY: "auto"
15450
15442
  }
@@ -15462,7 +15454,7 @@ var MobileSettingModal = ({
15462
15454
  css: {
15463
15455
  all: "unset",
15464
15456
  fontFamily: "$sans",
15465
- p: "$10 $8",
15457
+ py: "$10",
15466
15458
  display: "flex",
15467
15459
  alignItems: "center",
15468
15460
  fontSize: "$sm",
@@ -19156,7 +19148,7 @@ var DesktopOptions = ({
19156
19148
 
19157
19149
  // src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx
19158
19150
  init_define_process_env();
19159
- import React67, { useRef as useRef19, useState as useState31 } from "react";
19151
+ import React67, { useRef as useRef18, useState as useState31 } from "react";
19160
19152
  import { useClickAway } from "react-use";
19161
19153
  import { match as match6 } from "ts-pattern";
19162
19154
  import {
@@ -19277,8 +19269,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
19277
19269
  // ../hms-video-store/dist/index.js
19278
19270
  var import_ua_parser_js = __toESM(require_ua_parser());
19279
19271
  var import_lodash3 = __toESM(require_lodash2());
19280
- import { v4 as mo } from "uuid";
19281
- import { v4 as po } from "uuid";
19272
+ import { v4 as So } from "uuid";
19273
+ import { v4 as ho } from "uuid";
19282
19274
 
19283
19275
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
19284
19276
  init_define_process_env();
@@ -21375,43 +21367,43 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21375
21367
 
21376
21368
  // ../hms-video-store/dist/index.js
21377
21369
  var import_lodash4 = __toESM(require_lodash2());
21378
- import { v4 as Po } from "uuid";
21379
- import { v4 as Ro } from "uuid";
21380
- import { v4 as wo } from "uuid";
21381
- import { EventEmitter2 as Do } from "eventemitter2";
21370
+ import { v4 as bo } from "uuid";
21371
+ import { v4 as Ho } from "uuid";
21372
+ import { v4 as Do } from "uuid";
21373
+ import { EventEmitter2 as _o } from "eventemitter2";
21382
21374
  var jt = __toESM(require_lib());
21383
- import { EventEmitter2 as nn } from "eventemitter2";
21384
- import { v4 as pn } from "uuid";
21385
- import { EventEmitter2 as hn } from "eventemitter2";
21375
+ import { EventEmitter2 as cn } from "eventemitter2";
21376
+ import { v4 as hn } from "uuid";
21377
+ import { EventEmitter2 as mn } from "eventemitter2";
21386
21378
  import Sn from "eventemitter2";
21387
21379
  import { v4 as gn } from "uuid";
21388
21380
  import { v4 as vn } from "uuid";
21389
- var Xa = Object.defineProperty;
21390
- var Za = Object.defineProperties;
21391
- var eo = Object.getOwnPropertyDescriptors;
21381
+ var Za = Object.defineProperty;
21382
+ var eo = Object.defineProperties;
21383
+ var to = Object.getOwnPropertyDescriptors;
21392
21384
  var ti = Object.getOwnPropertySymbols;
21393
- var os = Object.prototype.hasOwnProperty;
21394
- var ns = Object.prototype.propertyIsEnumerable;
21395
- var as = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21396
- var m = (a2, e) => {
21385
+ var ns = Object.prototype.hasOwnProperty;
21386
+ var cs = Object.prototype.propertyIsEnumerable;
21387
+ var os = (a2, e, t) => e in a2 ? Za(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21388
+ var h = (a2, e) => {
21397
21389
  for (var t in e || (e = {}))
21398
- os.call(e, t) && as(a2, t, e[t]);
21390
+ ns.call(e, t) && os(a2, t, e[t]);
21399
21391
  if (ti)
21400
21392
  for (var t of ti(e))
21401
- ns.call(e, t) && as(a2, t, e[t]);
21393
+ cs.call(e, t) && os(a2, t, e[t]);
21402
21394
  return a2;
21403
21395
  };
21404
- var y = (a2, e) => Za(a2, eo(e));
21396
+ var M = (a2, e) => eo(a2, to(e));
21405
21397
  var gr = (a2, e) => {
21406
21398
  var t = {};
21407
21399
  for (var i in a2)
21408
- os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21400
+ ns.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21409
21401
  if (a2 != null && ti)
21410
21402
  for (var i of ti(a2))
21411
- e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
21403
+ e.indexOf(i) < 0 && cs.call(a2, i) && (t[i] = a2[i]);
21412
21404
  return t;
21413
21405
  };
21414
- var ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21406
+ var so = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21415
21407
  var c = (a2, e, t) => new Promise((i, r) => {
21416
21408
  var s = (d) => {
21417
21409
  try {
@@ -21428,20 +21420,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
21428
21420
  }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21429
21421
  n((t = t.apply(a2, e)).next());
21430
21422
  });
21431
- var yr = ro((_c, ho) => {
21432
- ho.exports = { version: "0.12.20-alpha.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", "src"], 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": "^1.0.1", 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.36", "@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"] };
21423
+ var yr = so((_c, mo) => {
21424
+ mo.exports = { version: "0.12.20", 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", "src"], 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": "^1.0.1", 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.36", "@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"] };
21433
21425
  });
21434
21426
  var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21435
- var so = ((e) => (e.CHAT = "chat", e))(so || {});
21436
- var cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
21427
+ var ao = ((e) => (e.CHAT = "chat", e))(ao || {});
21428
+ var ds = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ds || {});
21437
21429
  var fr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(fr || {});
21438
- var ds = ((t) => (t.audio = "audio", t.video = "video", t))(ds || {});
21430
+ var ls = ((t) => (t.audio = "audio", t.video = "video", t))(ls || {});
21439
21431
  function Ue(a2, e) {
21440
21432
  let t, i;
21441
21433
  if (e)
21442
21434
  for (let r of e.auxiliaryTracks) {
21443
21435
  let s = a2[r];
21444
- ao(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
21436
+ oo(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
21445
21437
  }
21446
21438
  return { video: t, audio: i };
21447
21439
  }
@@ -21451,7 +21443,7 @@ function pt(a2) {
21451
21443
  function ht(a2) {
21452
21444
  return a2 && a2.type === "video";
21453
21445
  }
21454
- function ao(a2) {
21446
+ function oo(a2) {
21455
21447
  return a2 && a2.source === "screen";
21456
21448
  }
21457
21449
  function si(a2) {
@@ -21460,7 +21452,7 @@ function si(a2) {
21460
21452
  function mt(a2) {
21461
21453
  return a2 && a2.source === "videoplaylist";
21462
21454
  }
21463
- function ls(a2) {
21455
+ function us(a2) {
21464
21456
  return a2 ? !!(a2 != null && a2.degraded) : false;
21465
21457
  }
21466
21458
  function je(a2, e) {
@@ -21471,8 +21463,8 @@ function St(a2) {
21471
21463
  let e = false, t = false, i = false;
21472
21464
  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 };
21473
21465
  }
21474
- var ps = ((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))(ps || {});
21475
- var oo = typeof window != "undefined" && typeof window.expect != "undefined";
21466
+ var hs = ((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))(hs || {});
21467
+ var no = typeof window != "undefined" && typeof window.expect != "undefined";
21476
21468
  var l = class {
21477
21469
  static v(e, ...t) {
21478
21470
  this.log(0, e, ...t);
@@ -21538,28 +21530,28 @@ var l = class {
21538
21530
  }
21539
21531
  }
21540
21532
  };
21541
- l.level = oo ? 7 : 0;
21533
+ l.level = no ? 7 : 0;
21542
21534
  var he = new import_ua_parser_js.UAParser();
21543
21535
  var B = typeof window != "undefined";
21544
- var hs;
21545
- var Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
21546
- var co = () => !Be;
21547
- var cc = co();
21548
21536
  var ms;
21537
+ var Be = typeof window == "undefined" && !((ms = he.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
21538
+ var lo = () => !Be;
21539
+ var cc = lo();
21549
21540
  var Ss;
21550
- var Ms = (Ss = (ms = he.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase().includes("safari");
21551
21541
  var gs;
21542
+ var ys = (gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase().includes("safari");
21552
21543
  var Ts;
21553
- var ys = ((Ts = (gs = he.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
21554
- var ks = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ks || {});
21555
- function lo() {
21544
+ var fs;
21545
+ var ks = ((fs = (Ts = he.getBrowser()) == null ? void 0 : Ts.name) == null ? void 0 : fs.toLowerCase()) === "firefox";
21546
+ var Es = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Es || {});
21547
+ function uo() {
21556
21548
  if (B && window) {
21557
21549
  let a2 = window.location.hostname;
21558
21550
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21559
21551
  }
21560
21552
  return "CUSTOM";
21561
21553
  }
21562
- var Qe = lo();
21554
+ var Qe = uo();
21563
21555
  var P4 = { 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 }, 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 } };
21564
21556
  var f = class a extends Error {
21565
21557
  constructor(t, i, r, s, o, n = false) {
@@ -21590,7 +21582,7 @@ var f = class a extends Error {
21590
21582
  }`;
21591
21583
  }
21592
21584
  };
21593
- var uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21585
+ var po = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21594
21586
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21595
21587
  return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21596
21588
  }, WebSocketConnectionLost(a2, e = "") {
@@ -21650,7 +21642,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21650
21642
  }, StatsFailed(a2, e = "") {
21651
21643
  return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21652
21644
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21653
- return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
21645
+ return new f(a2, "ServerErrors", e, t, t, po.includes(e));
21654
21646
  }, AlreadyJoined(a2, e = "") {
21655
21647
  return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21656
21648
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -21723,7 +21715,7 @@ var Mr = class {
21723
21715
  return this.valuesMap.size;
21724
21716
  }
21725
21717
  };
21726
- var Es = () => {
21718
+ var Ps = () => {
21727
21719
  try {
21728
21720
  B && !localStorage && (window.localStorage = new Mr());
21729
21721
  } catch (a2) {
@@ -21737,7 +21729,7 @@ var me = class {
21737
21729
  }
21738
21730
  getStorage() {
21739
21731
  try {
21740
- return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
21732
+ return B && !this.storage && (Ps(), this.storage = window.localStorage), this.storage;
21741
21733
  } catch (e) {
21742
21734
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21743
21735
  }
@@ -21759,132 +21751,132 @@ var me = class {
21759
21751
  };
21760
21752
  var ai = () => {
21761
21753
  let a2, e = new me("hms-analytics-deviceId"), t = e.get();
21762
- return t ? a2 = t : (a2 = po(), e.set(a2)), a2;
21754
+ return t ? a2 = t : (a2 = ho(), e.set(a2)), a2;
21763
21755
  };
21764
21756
  function ce(a2) {
21765
21757
  return a2 != null;
21766
21758
  }
21767
- var Is = yr().version;
21759
+ var As = yr().version;
21768
21760
  function vt(a2 = "prod", e) {
21769
21761
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21770
21762
  if (Be)
21771
- return As({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21763
+ return Rs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: As, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21772
21764
  let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr(`web_${r.name}`), d = r.version || "", u = kr(`${o.name}_${o.version}`), p = u;
21773
- return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), As({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, 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 });
21765
+ return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), Rs({ os: n, os_version: d, sdk: t, sdk_version: As, device_model: p, env: i, domain: Qe, 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 });
21774
21766
  }
21775
21767
  function kr(a2) {
21776
21768
  return a2.replace(/ /g, "_");
21777
21769
  }
21778
- var As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21779
- var C = class {
21770
+ var Rs = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21771
+ var H = class {
21780
21772
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21781
21773
  this.metadata = { peer: {}, userAgent: vt() };
21782
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = mo(), this.device_id = ai();
21774
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = So(), this.device_id = ai();
21783
21775
  }
21784
21776
  toSignalParams() {
21785
- return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21777
+ return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21786
21778
  }
21787
21779
  };
21788
- var E = class {
21780
+ var y = class {
21789
21781
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21790
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(y(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);
21791
- return new C({ name: o, level: n, properties: d });
21782
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(h({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21783
+ return new H({ name: o, level: n, properties: d });
21792
21784
  }
21793
21785
  static disconnect(e, t) {
21794
21786
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
21795
- return new C({ name: i, level: r, properties: s });
21787
+ return new H({ name: i, level: r, properties: s });
21796
21788
  }
21797
21789
  static preview(i) {
21798
21790
  var r = i, { error: e } = r, t = gr(r, ["error"]);
21799
21791
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21800
- return new C({ name: s, level: o, properties: n });
21792
+ return new H({ name: s, level: o, properties: n });
21801
21793
  }
21802
21794
  static join(i) {
21803
21795
  var r = i, { error: e } = r, t = gr(r, ["error"]);
21804
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21805
- return new C({ name: s, level: o, properties: n });
21796
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
21797
+ return new H({ name: s, level: o, properties: n });
21806
21798
  }
21807
21799
  static publish({ devices: e, settings: t, error: i }) {
21808
21800
  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);
21809
- return new C({ name: r, level: s, properties: o });
21801
+ return new H({ name: r, level: s, properties: o });
21810
21802
  }
21811
21803
  static hlsPlayerError(e) {
21812
- return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
21804
+ return new H({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
21813
21805
  }
21814
21806
  static subscribeFail(e) {
21815
21807
  let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
21816
- return new C({ name: t, level: i, properties: r });
21808
+ return new H({ name: t, level: i, properties: r });
21817
21809
  }
21818
21810
  static leave() {
21819
- return new C({ name: "leave", level: 1 });
21811
+ return new H({ name: "leave", level: 1 });
21820
21812
  }
21821
21813
  static autoplayError() {
21822
- return new C({ name: "autoplayError", level: 2 });
21814
+ return new H({ name: "autoplayError", level: 2 });
21823
21815
  }
21824
21816
  static audioPlaybackError(e) {
21825
- return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21817
+ return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21826
21818
  }
21827
21819
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
21828
21820
  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);
21829
- return new C({ name: o, level: n, properties: d });
21821
+ return new H({ name: o, level: n, properties: d });
21830
21822
  }
21831
21823
  static performance(e) {
21832
21824
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
21833
- return new C({ name: t, level: i, properties: r });
21825
+ return new H({ name: t, level: i, properties: r });
21834
21826
  }
21835
21827
  static rtcStats(e) {
21836
21828
  let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
21837
- return new C({ name: t, level: i, properties: r });
21829
+ return new H({ name: t, level: i, properties: r });
21838
21830
  }
21839
21831
  static rtcStatsFailed(e) {
21840
21832
  let t = "rtc.stats.failed", i = 2;
21841
- return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
21833
+ return new H({ name: t, level: i, properties: this.getErrorProperties(e) });
21842
21834
  }
21843
21835
  static degradationStats(e, t) {
21844
21836
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
21845
21837
  if (!t && e.degradedAt instanceof Date) {
21846
21838
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
21847
- s = y(m({}, s), { duration: n, restoredAt: o });
21839
+ s = M(h({}, s), { duration: n, restoredAt: o });
21848
21840
  }
21849
- return new C({ name: i, level: r, properties: s });
21841
+ return new H({ name: i, level: r, properties: s });
21850
21842
  }
21851
21843
  static audioDetectionFail(e, t) {
21852
21844
  let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
21853
- return new C({ name: s, level: r, properties: i });
21845
+ return new H({ name: s, level: r, properties: i });
21854
21846
  }
21855
21847
  static previewNetworkQuality(e) {
21856
- return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
21848
+ return new H({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
21857
21849
  }
21858
21850
  static publishStats(e) {
21859
- return new C({ name: "publisher.stats", level: 1, properties: e });
21851
+ return new H({ name: "publisher.stats", level: 1, properties: e });
21860
21852
  }
21861
21853
  static subscribeStats(e) {
21862
- return new C({ name: "subscriber.stats", level: 1, properties: e });
21854
+ return new H({ name: "subscriber.stats", level: 1, properties: e });
21863
21855
  }
21864
21856
  static getKrispUsage(e) {
21865
- return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
21857
+ return new H({ name: "krisp.usage", level: 1, properties: { duration: e } });
21866
21858
  }
21867
21859
  static krispStart() {
21868
- return new C({ name: "krisp.start", level: 1 });
21860
+ return new H({ name: "krisp.start", level: 1 });
21869
21861
  }
21870
21862
  static krispStop() {
21871
- return new C({ name: "krisp.stop", level: 1 });
21863
+ return new H({ name: "krisp.stop", level: 1 });
21872
21864
  }
21873
21865
  static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
21874
- return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
21866
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
21875
21867
  }
21876
21868
  static eventNameFor(e, t) {
21877
21869
  return `${e}.${t ? "success" : "failed"}`;
21878
21870
  }
21879
21871
  static getPropertiesWithError(e, t) {
21880
21872
  let i = this.getErrorProperties(t);
21881
- return e = m(m({}, i), e), e;
21873
+ return e = h(h({}, i), e), e;
21882
21874
  }
21883
21875
  static getErrorProperties(e) {
21884
21876
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21885
21877
  }
21886
21878
  };
21887
- E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
21879
+ y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21888
21880
  var Er = class {
21889
21881
  constructor() {
21890
21882
  this.storage = new me("hms-device-selection");
@@ -21919,7 +21911,7 @@ var Er = class {
21919
21911
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21920
21912
  }
21921
21913
  };
21922
- var Y = new Er();
21914
+ var z = new Er();
21923
21915
  var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21924
21916
  var br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
21925
21917
  function ci(a2, e = 300) {
@@ -21933,13 +21925,13 @@ function ci(a2, e = 300) {
21933
21925
  };
21934
21926
  }
21935
21927
  var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
21936
- var Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
21937
- var ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
21938
- var Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
21939
- var _s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(_s || {});
21940
- var Ns = ((e) => (e.CAPTION = "caption", e))(Ns || {});
21928
+ var ws = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(ws || {});
21929
+ var Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
21930
+ var _s = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(_s || {});
21931
+ var Ns = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Ns || {});
21932
+ var Os = ((e) => (e.CAPTION = "caption", e))(Os || {});
21941
21933
  var Hr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Hr || {});
21942
- var Os = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Os || {});
21934
+ var xs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(xs || {});
21943
21935
  var Cr = class {
21944
21936
  constructor() {
21945
21937
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -21967,7 +21959,7 @@ var Cr = class {
21967
21959
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21968
21960
  }
21969
21961
  };
21970
- var Vs = new Cr();
21962
+ var Fs = new Cr();
21971
21963
  var Lr = class {
21972
21964
  constructor() {
21973
21965
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -21995,43 +21987,43 @@ var Lr = class {
21995
21987
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
21996
21988
  }
21997
21989
  };
21998
- var Fs = new Lr();
21990
+ var Gs = new Lr();
21999
21991
  var wr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(wr || {});
22000
21992
  var Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
22001
- var $s = "https://event.100ms.live/v2/client/report";
22002
- var Ks = "https://event-nonprod.100ms.live/v2/client/report";
21993
+ var Ks = "https://event.100ms.live/v2/client/report";
21994
+ var qs = "https://event-nonprod.100ms.live/v2/client/report";
22003
21995
  var Pt = Math.pow(2, 31) - 1;
22004
21996
  var rt = class {
22005
21997
  };
22006
- rt.makePeerId = () => wo();
21998
+ rt.makePeerId = () => Do();
22007
21999
  var V = (a2) => a2.room;
22008
- var _o = (a2) => a2.errors;
22009
- var Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
22000
+ var No = (a2) => a2.errors;
22001
+ var Zh = createSelector(No, (a2) => a2.length === 0 ? null : a2.at(-1));
22010
22002
  var em = createSelector(V, (a2) => a2.id);
22011
22003
  var j = (a2) => a2.peers;
22012
22004
  var Mi = (a2) => a2.messages.byID;
22013
- var ea = (a2) => a2.messages.allIDs;
22005
+ var ta = (a2) => a2.messages.allIDs;
22014
22006
  var O = (a2) => a2.tracks;
22015
22007
  var Gr = (a2) => a2.appData;
22016
- var No = (a2) => a2.speakers;
22008
+ var Oo = (a2) => a2.speakers;
22017
22009
  var Oe = createSelector([V], (a2) => a2 && a2.isConnected);
22018
22010
  var rm = createSelector([Oe, V], (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));
22019
- var Oo = (a2) => a2.hideLocalPeer;
22020
- var fe = createSelector([V, j, Oo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22021
- var xo = createSelector(O, (a2) => Object.values(a2));
22011
+ var xo = (a2) => a2.hideLocalPeer;
22012
+ var fe = createSelector([V, j, xo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22013
+ var Uo = createSelector(O, (a2) => Object.values(a2));
22022
22014
  var ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
22023
22015
  var Ee = createSelector(V, (a2) => a2.localPeer);
22024
22016
  var sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22025
22017
  var am = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22026
22018
  var ne = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
22027
- var X = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22028
- var Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22029
- var ia = createSelector([ne, X, Uo], (a2, e, t) => {
22019
+ var Y = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22020
+ var Bo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22021
+ var ra = createSelector([ne, Y, Bo], (a2, e, t) => {
22030
22022
  let i = t ? [...t] : [];
22031
22023
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22032
22024
  });
22033
22025
  var om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
22034
- var nm = createSelector(j, No, (a2, e) => {
22026
+ var nm = createSelector(j, Oo, (a2, e) => {
22035
22027
  let t = Object.entries(e).sort((i, r) => {
22036
22028
  var n, d;
22037
22029
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -22048,7 +22040,7 @@ var $r = createSelector(ie, O, (a2, e) => {
22048
22040
  let { video: t, audio: i } = Ue(e, a2);
22049
22041
  return !!(t || i);
22050
22042
  });
22051
- var Bo = createSelector(j, O, (a2, e) => {
22043
+ var Vo = createSelector(j, O, (a2, e) => {
22052
22044
  let t;
22053
22045
  for (let i in a2) {
22054
22046
  let r = a2[i], { video: s, audio: o } = Ue(e, r);
@@ -22058,7 +22050,7 @@ var Bo = createSelector(j, O, (a2, e) => {
22058
22050
  }
22059
22051
  return t;
22060
22052
  });
22061
- var dm = createSelector(Bo, (a2) => !!a2);
22053
+ var dm = createSelector(Vo, (a2) => !!a2);
22062
22054
  var lm = createSelector(j, O, (a2, e) => {
22063
22055
  for (let t in a2) {
22064
22056
  let i = a2[t], { audio: r, video: s } = Ue(e, i);
@@ -22088,37 +22080,37 @@ var hm = createSelector(j, O, (a2, e) => {
22088
22080
  return a2[i.peerId];
22089
22081
  }
22090
22082
  });
22091
- var mm = createSelector(xo, (a2) => a2.filter(ls));
22092
- var Sm = createSelector(ea, (a2) => a2.length);
22083
+ var mm = createSelector(Uo, (a2) => a2.filter(us));
22084
+ var Sm = createSelector(ta, (a2) => a2.length);
22093
22085
  var gm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22094
- var Rt = createSelector(ea, Mi, (a2, e) => {
22086
+ var Rt = createSelector(ta, Mi, (a2, e) => {
22095
22087
  let t = [];
22096
22088
  return a2.forEach((i) => {
22097
22089
  t.push(e[i]);
22098
22090
  }), t;
22099
22091
  });
22100
- var Vo = createSelector(Rt, (a2) => a2.filter((e) => {
22092
+ var Fo = createSelector(Rt, (a2) => a2.filter((e) => {
22101
22093
  var t;
22102
22094
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22103
22095
  }));
22104
- var Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
22096
+ var Tm = createSelector(Fo, (a2) => a2.filter((e) => !e.read).length);
22105
22097
  var re = createSelector([V], (a2) => a2 && a2.roomState);
22106
- var sa = createSelector(re, (a2) => a2 === "Preview");
22098
+ var aa = createSelector(re, (a2) => a2 === "Preview");
22107
22099
  var fm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22108
22100
  var vm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22109
22101
  var ve = (a2) => a2.roles;
22110
22102
  var Mm = createSelector([ve], (a2) => Object.keys(a2));
22111
22103
  var at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22112
- var Fo = (a2) => {
22104
+ var Go = (a2) => {
22113
22105
  var e;
22114
22106
  return (e = a2.preview) == null ? void 0 : e.asRole;
22115
22107
  };
22116
- var aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
22108
+ var oa = createSelector([Go, ve], (a2, e) => a2 ? e[a2] : null);
22117
22109
  var ym = createSelector([at], (a2) => {
22118
22110
  var e;
22119
22111
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22120
22112
  });
22121
- var oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22113
+ var na = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22122
22114
  var km = createSelector(V, (a2) => a2.recording);
22123
22115
  var Em = createSelector(V, (a2) => a2.rtmp);
22124
22116
  var Pm = createSelector(V, (a2) => a2.hls);
@@ -22129,23 +22121,23 @@ var Rm = createSelector(V, (a2) => !!a2.isLargeRoom);
22129
22121
  var Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22130
22122
  var Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
22131
22123
  var Lm = createSelector(V, (a2) => a2.effectsKey);
22132
- var na = (a2) => a2.polls;
22124
+ var ca = (a2) => a2.polls;
22133
22125
  var Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
22134
- var Go = (a2) => a2.whiteboards;
22135
- var Om = createSelector(Go, (a2) => Object.values(a2)[0]);
22136
- var da = (a2 = "audio") => (e) => e.playlist[a2].list;
22126
+ var Wo = (a2) => a2.whiteboards;
22127
+ var Om = createSelector(Wo, (a2) => Object.values(a2)[0]);
22128
+ var la = (a2 = "audio") => (e) => e.playlist[a2].list;
22137
22129
  var Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22138
- var la = (a2 = "audio") => (e) => e.playlist[a2].progress;
22139
- var ua = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22140
- var pa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22141
- var ha = (a2 = "audio") => (e) => e.playlist[a2].volume;
22142
- var ma = (a2 = "audio") => createSelector(da(a2), (e) => Object.values(e));
22143
- var Sa = (a2 = "audio") => createSelector(da(a2), Kr(a2), (e, t) => {
22130
+ var ua = (a2 = "audio") => (e) => e.playlist[a2].progress;
22131
+ var pa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22132
+ var ha = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22133
+ var ma = (a2 = "audio") => (e) => e.playlist[a2].volume;
22134
+ var Sa = (a2 = "audio") => createSelector(la(a2), (e) => Object.values(e));
22135
+ var ga = (a2 = "audio") => createSelector(la(a2), Kr(a2), (e, t) => {
22144
22136
  if (t.id)
22145
22137
  return e[t.id];
22146
22138
  });
22147
- var ga = { selection: Kr("audio"), progress: la("audio"), currentTime: ua("audio"), playbackRate: pa("audio"), volume: ha("audio"), list: ma("audio"), selectedItem: Sa("audio") };
22148
- var Ta = { selection: Kr("video"), progress: la("video"), currentTime: ua("video"), playbackRate: pa("video"), volume: ha("video"), list: ma("video"), selectedItem: Sa("video") };
22139
+ var Ta = { selection: Kr("audio"), progress: ua("audio"), currentTime: pa("audio"), playbackRate: ha("audio"), volume: ma("audio"), list: Sa("audio"), selectedItem: ga("audio") };
22140
+ var fa = { selection: Kr("video"), progress: ua("video"), currentTime: pa("video"), playbackRate: ha("video"), volume: ma("video"), list: Sa("video"), selectedItem: ga("video") };
22149
22141
  function R(a2) {
22150
22142
  return (e) => (t) => a2(t, e);
22151
22143
  }
@@ -22218,38 +22210,38 @@ var b = class {
22218
22210
  b.level = 0;
22219
22211
  var qr = (a2, e) => e;
22220
22212
  var Ct = (a2, e) => e;
22221
- var fa = (a2, e) => e;
22222
- var Wo = (a2, e) => e;
22213
+ var va = (a2, e) => e;
22223
22214
  var $o = (a2, e) => e;
22215
+ var Ko = (a2, e) => e;
22224
22216
  var J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
22225
22217
  var jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
22226
- var Ko = createSelector([O, Ct], (a2, e) => {
22218
+ var qo = createSelector([O, Ct], (a2, e) => {
22227
22219
  if (!e)
22228
22220
  return null;
22229
22221
  let t = a2[e];
22230
22222
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22231
22223
  });
22232
- var qo = createSelector([O, Ct], (a2, e) => {
22224
+ var jo = createSelector([O, Ct], (a2, e) => {
22233
22225
  if (!e)
22234
22226
  return null;
22235
22227
  let t = a2[e];
22236
22228
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22237
22229
  });
22238
- var jo = createSelector([O, Ct], (a2, e) => {
22230
+ var Jo = createSelector([O, Ct], (a2, e) => {
22239
22231
  if (!e)
22240
22232
  return null;
22241
22233
  let t = a2[e];
22242
22234
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22243
22235
  });
22244
- var Jo = createSelector([O, Ct], (a2, e) => {
22236
+ var Qo = createSelector([O, Ct], (a2, e) => {
22245
22237
  if (!e)
22246
22238
  return null;
22247
22239
  let t = a2[e];
22248
22240
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22249
22241
  });
22250
- var Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
22251
- var Z = R(J);
22252
- var jm = R(createSelector([Gr, Wo], (a2, e) => {
22242
+ var zo = createSelector([ca, Ko], (a2, e) => e ? a2[e] : null);
22243
+ var X = R(J);
22244
+ var jm = R(createSelector([Gr, $o], (a2, e) => {
22253
22245
  if (a2)
22254
22246
  return e ? a2[e] : a2;
22255
22247
  }));
@@ -22262,16 +22254,16 @@ function Jm(a2) {
22262
22254
  var zm = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
22263
22255
  var Ym = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.type));
22264
22256
  var yi = R(jr);
22265
- var va = R(Ko);
22266
- var Xm = R(qo);
22267
- var Zm = R(jo);
22268
- var eS = R(Jo);
22269
- var zo = R((a2, e) => {
22257
+ var Ma = R(qo);
22258
+ var Xm = R(jo);
22259
+ var Zm = R(Jo);
22260
+ var eS = R(Qo);
22261
+ var Yo = R((a2, e) => {
22270
22262
  let t = J(a2, e);
22271
22263
  if (t && t.videoTrack && t.videoTrack !== "")
22272
22264
  return a2.tracks[t.videoTrack];
22273
22265
  });
22274
- var Yo = R((a2, e) => {
22266
+ var Xo = R((a2, e) => {
22275
22267
  let t = J(a2, e);
22276
22268
  if (t && t.audioTrack && t.audioTrack !== "")
22277
22269
  return a2.tracks[t.audioTrack];
@@ -22280,13 +22272,13 @@ var iS = R((a2, e) => {
22280
22272
  let t = J(a2, e);
22281
22273
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22282
22274
  });
22283
- var Ma = (a2, e) => e ? a2.speakers[e] : null;
22284
- var rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22285
- var Xo = (a2, e) => {
22286
- let t = Yo(e)(a2);
22287
- return Ma(a2, t == null ? void 0 : t.id);
22275
+ var ya = (a2, e) => e ? a2.speakers[e] : null;
22276
+ var rS = R(createSelector(ya, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22277
+ var Zo = (a2, e) => {
22278
+ let t = Xo(e)(a2);
22279
+ return ya(a2, t == null ? void 0 : t.id);
22288
22280
  };
22289
- var sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22281
+ var sS = R(createSelector(Zo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22290
22282
  var aS = R((a2, e) => {
22291
22283
  if (e)
22292
22284
  return a2.connectionQualities[e];
@@ -22319,8 +22311,8 @@ var dS = R(createSelector(O, J, (a2, e) => {
22319
22311
  });
22320
22312
  return t ? a2[t] : void 0;
22321
22313
  }));
22322
- var ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
22323
- var ka = (a2) => createSelector(ya(a2), (e) => e.audio);
22314
+ var ka = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
22315
+ var Ea = (a2) => createSelector(ka(a2), (e) => e.audio);
22324
22316
  var uS = R((a2, e) => {
22325
22317
  let t = J(a2, e);
22326
22318
  return je(a2, t == null ? void 0 : t.audioTrack);
@@ -22329,19 +22321,19 @@ var pS = R((a2, e) => {
22329
22321
  let t = J(a2, e);
22330
22322
  return je(a2, t == null ? void 0 : t.videoTrack);
22331
22323
  });
22332
- var Ea = R((a2, e) => {
22324
+ var Pa = R((a2, e) => {
22333
22325
  if (e && a2.tracks[e])
22334
22326
  return a2.tracks[e].volume === 0;
22335
22327
  });
22336
22328
  var hS = R((a2, e) => {
22337
22329
  let t = J(a2, e);
22338
- return Ea(t == null ? void 0 : t.audioTrack)(a2);
22330
+ return Pa(t == null ? void 0 : t.audioTrack)(a2);
22339
22331
  });
22340
22332
  var mS = R((a2, e) => {
22341
- let t = ka(e)(a2);
22342
- return Ea(t == null ? void 0 : t.id)(a2);
22333
+ let t = Ea(e)(a2);
22334
+ return Pa(t == null ? void 0 : t.id)(a2);
22343
22335
  });
22344
- var Pa = R((a2, e) => {
22336
+ var ba = R((a2, e) => {
22345
22337
  let t = jr(a2, e);
22346
22338
  if (t) {
22347
22339
  if (t.type !== "audio") {
@@ -22353,11 +22345,11 @@ var Pa = R((a2, e) => {
22353
22345
  });
22354
22346
  var SS = R((a2, e) => {
22355
22347
  let t = J(a2, e);
22356
- return Pa(t == null ? void 0 : t.audioTrack)(a2);
22348
+ return ba(t == null ? void 0 : t.audioTrack)(a2);
22357
22349
  });
22358
22350
  var gS = R((a2, e) => {
22359
- let t = ka(e)(a2);
22360
- return Pa(t == null ? void 0 : t.id)(a2);
22351
+ let t = Ea(e)(a2);
22352
+ return ba(t == null ? void 0 : t.id)(a2);
22361
22353
  });
22362
22354
  var TS = R((a2, e) => {
22363
22355
  let t = jr(a2, e);
@@ -22369,49 +22361,49 @@ var TS = R((a2, e) => {
22369
22361
  return t.layer;
22370
22362
  }
22371
22363
  });
22372
- var ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
22364
+ var Ia = createSelector([Rt, Ee, qr], (a2, e, t) => {
22373
22365
  if (t)
22374
22366
  return a2.filter((i) => {
22375
22367
  var r;
22376
22368
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22377
22369
  });
22378
22370
  });
22379
- var Ia = createSelector([Rt, fa], (a2, e) => {
22371
+ var Aa = createSelector([Rt, va], (a2, e) => {
22380
22372
  if (e)
22381
22373
  return a2.filter((t) => {
22382
22374
  var i, r;
22383
22375
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22384
22376
  });
22385
22377
  });
22386
- var Zo = createSelector(Rt, (a2) => a2.filter((e) => {
22378
+ var en = createSelector(Rt, (a2) => a2.filter((e) => {
22387
22379
  var t;
22388
22380
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22389
22381
  }));
22390
- var en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22391
- var tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22392
- var fS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
22393
- var vS = R(ba);
22394
- var MS = R(Ia);
22395
- var yS = R(en);
22396
- var kS = R(tn);
22397
- var Aa = R(Qo);
22382
+ var tn = createSelector([Aa, va], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22383
+ var rn = createSelector([Ia, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22384
+ var fS = createSelector(en, (a2) => a2.filter((e) => !e.read).length);
22385
+ var vS = R(Ia);
22386
+ var MS = R(Aa);
22387
+ var yS = R(tn);
22388
+ var kS = R(rn);
22389
+ var Ra = R(zo);
22398
22390
  var _S = createSelector([j, O], (a2, e) => Object.values(a2).map((i) => {
22399
22391
  var r;
22400
22392
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22401
22393
  }));
22402
- var rn = (a2) => a2.roleChangeRequests[0] || null;
22403
- var NS = createSelector([rn, j, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22394
+ var sn = (a2) => a2.roleChangeRequests[0] || null;
22395
+ var NS = createSelector([sn, j, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22404
22396
  var OS = createSelector([at], (a2) => St(a2));
22405
- var xS = createSelector([aa], (a2) => St(a2));
22406
- var an = createSelector([X, O], (a2, e) => {
22397
+ var xS = createSelector([oa], (a2) => St(a2));
22398
+ var on = createSelector([Y, O], (a2, e) => {
22407
22399
  let t = null;
22408
22400
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22409
22401
  });
22410
- var on = createSelector([ne, O], (a2, e) => {
22402
+ var nn = createSelector([ne, O], (a2, e) => {
22411
22403
  let t = null;
22412
22404
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22413
22405
  });
22414
- var dn = ((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))(dn || {});
22406
+ var ln = ((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))(ln || {});
22415
22407
  var Xr = class {
22416
22408
  constructor() {
22417
22409
  this.TAG = "[HTTPAnalyticsTransport]";
@@ -22431,7 +22423,7 @@ var Xr = class {
22431
22423
  this.addEventToStorage(e);
22432
22424
  return;
22433
22425
  }
22434
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? $s : Ks;
22426
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Ks : qs;
22435
22427
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22436
22428
  if (r.status === 401) {
22437
22429
  this.removeFromStorage(e);
@@ -22468,7 +22460,7 @@ var Vt = class {
22468
22460
  static sendFeedback(s) {
22469
22461
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22470
22462
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22471
- let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
22463
+ let o = new URL("v2/client/feedback", t), n = M(h({}, i), { payload: r });
22472
22464
  try {
22473
22465
  let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22474
22466
  try {
@@ -22492,11 +22484,11 @@ var Hn = (a2) => a2.localPeer.id;
22492
22484
  var Cn = (a2) => a2.localPeer.audioTrack;
22493
22485
  var Ln = (a2) => a2.localPeer.videoTrack;
22494
22486
  var wn = (a2, e) => e;
22495
- var za = (a2, e) => e;
22487
+ var Ya = (a2, e) => e;
22496
22488
  var Dn = (a2) => a2.remoteTrackStats;
22497
- var Ya = (a2) => a2.peerStats;
22498
- var is = (a2) => a2.localTrackStats;
22499
- var Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
22489
+ var Xa = (a2) => a2.peerStats;
22490
+ var rs = (a2) => a2.localTrackStats;
22491
+ var Ae = createSelector([Xa, Hn], (a2, e) => a2[e]);
22500
22492
  var _n = createSelector(Ae, (a2) => {
22501
22493
  var e;
22502
22494
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
@@ -22529,21 +22521,21 @@ var Fn = createSelector(Ae, (a2) => {
22529
22521
  var e;
22530
22522
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22531
22523
  });
22532
- var Gn = createSelector([Ya, wn], (a2, e) => e ? a2[e] : void 0);
22533
- var Wn = createSelector([Dn, za], (a2, e) => e ? a2[e] : void 0);
22534
- var rs = createSelector([is, za], (a2, e) => e ? a2[e] : void 0);
22524
+ var Gn = createSelector([Xa, wn], (a2, e) => e ? a2[e] : void 0);
22525
+ var Wn = createSelector([Dn, Ya], (a2, e) => e ? a2[e] : void 0);
22526
+ var ss = createSelector([rs, Ya], (a2, e) => e ? a2[e] : void 0);
22535
22527
  var $n = R(Gn);
22536
22528
  var Kn = R(Wn);
22537
- var qn = createSelector([is, Cn], (a2, e) => {
22529
+ var qn = createSelector([rs, Cn], (a2, e) => {
22538
22530
  var t;
22539
22531
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22540
22532
  });
22541
- var jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22542
- var Jn = createSelector([is, Ln], (a2, e) => {
22533
+ var jn = R(createSelector(ss, (a2) => a2 == null ? void 0 : a2[0]));
22534
+ var Jn = createSelector([rs, Ln], (a2, e) => {
22543
22535
  var t;
22544
22536
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22545
22537
  });
22546
- var Qn = R(createSelector(rs, (a2) => a2));
22538
+ var Qn = R(createSelector(ss, (a2) => a2));
22547
22539
 
22548
22540
  // src/Prebuilt/components/Header/StreamActions.tsx
22549
22541
  import {
@@ -22662,7 +22654,7 @@ var RecordingStatus = () => {
22662
22654
  };
22663
22655
  var RecordingPauseStatus = () => {
22664
22656
  const recording = useHMSStore29(selectRecordingState2);
22665
- if (recording.hls && recording.hls.state === Ls.PAUSED) {
22657
+ if (recording.hls && recording.hls.state === ws.PAUSED) {
22666
22658
  return /* @__PURE__ */ React64.createElement(
22667
22659
  Tooltip,
22668
22660
  {
@@ -22766,7 +22758,7 @@ import { selectLocalPeerName as selectLocalPeerName3, useHMSActions as useHMSAct
22766
22758
 
22767
22759
  // src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx
22768
22760
  init_define_process_env();
22769
- import React65, { useEffect as useEffect23, useRef as useRef18 } from "react";
22761
+ import React65 from "react";
22770
22762
  import { ChevronLeftIcon as ChevronLeftIcon2, CrossIcon as CrossIcon12 } from "@100mslive/react-icons";
22771
22763
  var ChangeNameContent = ({
22772
22764
  changeName,
@@ -22777,15 +22769,6 @@ var ChangeNameContent = ({
22777
22769
  onExit,
22778
22770
  onBackClick
22779
22771
  }) => {
22780
- const inputRef = useRef18(null);
22781
- useEffect23(() => {
22782
- if (isMobile) {
22783
- setTimeout(() => {
22784
- var _a7;
22785
- (_a7 = inputRef.current) == null ? void 0 : _a7.focus();
22786
- }, 200);
22787
- }
22788
- }, [isMobile]);
22789
22772
  return /* @__PURE__ */ React65.createElement(
22790
22773
  "form",
22791
22774
  {
@@ -22821,10 +22804,9 @@ var ChangeNameContent = ({
22821
22804
  /* @__PURE__ */ React65.createElement(Flex, { justify: "center", align: "center", css: { my: "$8", w: "100%", "@md": { px: "$8" } } }, /* @__PURE__ */ React65.createElement(
22822
22805
  Input,
22823
22806
  {
22824
- ref: inputRef,
22825
22807
  css: { width: "100%", bg: "$surface_default" },
22826
22808
  value: currentName,
22827
- type: "text",
22809
+ type: isMobile ? "search" : "text",
22828
22810
  onChange: (e) => {
22829
22811
  setCurrentName(e.target.value);
22830
22812
  },
@@ -22921,7 +22903,7 @@ var ChangeNameModal = ({
22921
22903
  }
22922
22904
  };
22923
22905
  if (isMobile) {
22924
- return /* @__PURE__ */ React66.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" }, onOpenAutoFocus: (e) => e.preventDefault() }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props))));
22906
+ return /* @__PURE__ */ React66.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" } }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props))));
22925
22907
  }
22926
22908
  return /* @__PURE__ */ React66.createElement(Dialog.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Dialog.Portal, null, /* @__PURE__ */ React66.createElement(Dialog.Overlay, null), /* @__PURE__ */ React66.createElement(Dialog.Content, { css: { bg: "$surface_dim", width: "min(400px,80%)", p: "$10" } }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props)))));
22927
22909
  };
@@ -22948,13 +22930,13 @@ var useSheetToggle = (sheetType) => {
22948
22930
 
22949
22931
  // src/Prebuilt/components/hooks/useUnreadPollQuizPresent.tsx
22950
22932
  init_define_process_env();
22951
- import { useEffect as useEffect24, useState as useState30 } from "react";
22933
+ import { useEffect as useEffect23, useState as useState30 } from "react";
22952
22934
  import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore32 } from "@100mslive/react-sdk";
22953
22935
  var useUnreadPollQuizPresent = () => {
22954
22936
  const localPeerID = useHMSStore32(Ee);
22955
22937
  const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
22956
22938
  const [unreadPollQuiz, setUnreadPollQuiz] = useState30(false);
22957
- useEffect24(() => {
22939
+ useEffect23(() => {
22958
22940
  if (!notification) {
22959
22941
  return;
22960
22942
  }
@@ -22993,7 +22975,7 @@ var MwebOptions = ({
22993
22975
  const { showPolls } = useShowPolls();
22994
22976
  const togglePollView = usePollViewToggle();
22995
22977
  const peerCount = useHMSStore33(selectPeerCount3);
22996
- const emojiCardRef = useRef19(null);
22978
+ const emojiCardRef = useRef18(null);
22997
22979
  const { isBRBOn, toggleBRB, isHandRaised, toggleHandRaise } = useMyMetadata();
22998
22980
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
22999
22981
  const { title, description } = useRoomLayoutHeader();
@@ -23757,7 +23739,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
23757
23739
 
23758
23740
  // src/Prebuilt/components/VirtualBackground/VBToggle.tsx
23759
23741
  init_define_process_env();
23760
- import React77, { useEffect as useEffect25 } from "react";
23742
+ import React77, { useEffect as useEffect24 } from "react";
23761
23743
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes2 } from "@100mslive/hms-virtual-background/hmsvbplugin";
23762
23744
  import {
23763
23745
  selectAppData as selectAppData5,
@@ -23778,7 +23760,7 @@ var VBToggle = () => {
23778
23760
  const loadingEffects = useHMSStore35(selectAppData5(APP_DATA.loadingEffects));
23779
23761
  const hmsActions = useHMSActions28();
23780
23762
  const { toggleVideo } = useAVToggle3();
23781
- useEffect25(() => {
23763
+ useEffect24(() => {
23782
23764
  var _a7;
23783
23765
  if (!toggleVideo) {
23784
23766
  (_a7 = VBHandler) == null ? void 0 : _a7.reset();
@@ -24013,7 +23995,7 @@ var RemoveParticipant = ({ peerId }) => {
24013
23995
 
24014
23996
  // src/Prebuilt/components/Footer/RoleAccordion.tsx
24015
23997
  init_define_process_env();
24016
- import React82, { useEffect as useEffect26 } from "react";
23998
+ import React82, { useEffect as useEffect25 } from "react";
24017
23999
  import { useMeasure } from "react-use";
24018
24000
  import { FixedSizeList } from "react-window";
24019
24001
  import { selectIsLargeRoom, useHMSStore as useHMSStore41, usePaginatedParticipants } from "@100mslive/react-sdk";
@@ -24257,7 +24239,7 @@ var RoleAccordion = ({
24257
24239
  const { bringAllToStage, bring_to_stage_label, canBringToStage, lowerAllHands } = useGroupOnStageActions({
24258
24240
  peers: peersInAccordion
24259
24241
  });
24260
- useEffect26(() => {
24242
+ useEffect25(() => {
24261
24243
  if (!isOffStageRole || !isLargeRoom) {
24262
24244
  return;
24263
24245
  }
@@ -24345,13 +24327,13 @@ var RoleAccordion = ({
24345
24327
 
24346
24328
  // src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx
24347
24329
  init_define_process_env();
24348
- import { useEffect as useEffect27 } from "react";
24330
+ import { useEffect as useEffect26 } from "react";
24349
24331
  import { selectAppData as selectAppData6, useHMSStore as useHMSStore42 } from "@100mslive/react-sdk";
24350
24332
  var useSidepaneResetOnLayoutUpdate = (layoutKey, sidepaneOption) => {
24351
24333
  const { elements } = useRoomLayoutConferencingScreen();
24352
24334
  const sidepane = useHMSStore42(selectAppData6(APP_DATA.sidePane));
24353
24335
  const resetSidePane = useSidepaneReset();
24354
- useEffect27(() => {
24336
+ useEffect26(() => {
24355
24337
  if (sidepane === sidepaneOption && !(elements == null ? void 0 : elements[layoutKey])) {
24356
24338
  resetSidePane();
24357
24339
  }
@@ -24748,13 +24730,13 @@ var ParticipantSearch = ({
24748
24730
 
24749
24731
  // src/Prebuilt/components/Footer/PollsToggle.tsx
24750
24732
  init_define_process_env();
24751
- import React84, { useEffect as useEffect28 } from "react";
24733
+ import React84, { useEffect as useEffect27 } from "react";
24752
24734
  import { QuizActiveIcon as QuizActiveIcon2, QuizIcon as QuizIcon2 } from "@100mslive/react-icons";
24753
24735
  var PollsToggle = () => {
24754
24736
  const isPollsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.POLLS);
24755
24737
  const togglePollView = usePollViewToggle();
24756
24738
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
24757
- useEffect28(() => {
24739
+ useEffect27(() => {
24758
24740
  if (unreadPollQuiz && isPollsOpen) {
24759
24741
  setUnreadPollQuiz(false);
24760
24742
  }
@@ -24825,7 +24807,7 @@ var Footer2 = ({
24825
24807
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
24826
24808
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
24827
24809
  const { showPolls } = useShowPolls();
24828
- useEffect29(() => {
24810
+ useEffect28(() => {
24829
24811
  if (!isChatOpen && openByDefault) {
24830
24812
  toggleChat();
24831
24813
  }
@@ -24925,7 +24907,7 @@ function HLSFailureModal() {
24925
24907
 
24926
24908
  // src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx
24927
24909
  init_define_process_env();
24928
- import React138, { useEffect as useEffect45 } from "react";
24910
+ import React138, { useEffect as useEffect44 } from "react";
24929
24911
  import {
24930
24912
  selectIsInPreview,
24931
24913
  selectLocalPeerName as selectLocalPeerName4,
@@ -24938,7 +24920,7 @@ import {
24938
24920
 
24939
24921
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
24940
24922
  init_define_process_env();
24941
- import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect44, useMemo as useMemo15, useState as useState57 } from "react";
24923
+ import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect43, useMemo as useMemo15, useState as useState57 } from "react";
24942
24924
  import { useMeasure as useMeasure4, useMedia as useMedia27 } from "react-use";
24943
24925
  import {
24944
24926
  HMSRoomState as HMSRoomState6,
@@ -24959,7 +24941,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
24959
24941
 
24960
24942
  // src/Prebuilt/layouts/SidePane.tsx
24961
24943
  init_define_process_env();
24962
- import React132, { useEffect as useEffect43 } from "react";
24944
+ import React132, { useEffect as useEffect42 } from "react";
24963
24945
  import { useMedia as useMedia25 } from "react-use";
24964
24946
  import { match as match12 } from "ts-pattern";
24965
24947
  import { selectAppData as selectAppData8, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore70 } from "@100mslive/react-sdk";
@@ -24970,7 +24952,7 @@ import React109 from "react";
24970
24952
 
24971
24953
  // src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx
24972
24954
  init_define_process_env();
24973
- import React90, { useEffect as useEffect30, useMemo as useMemo9, useRef as useRef20, useState as useState38 } from "react";
24955
+ import React90, { useEffect as useEffect29, useMemo as useMemo9, useRef as useRef19, useState as useState38 } from "react";
24974
24956
  import {
24975
24957
  selectLocalPeerRoleName as selectLocalPeerRoleName2,
24976
24958
  selectPermissions as selectPermissions16,
@@ -25132,8 +25114,8 @@ var AddMenu = () => {
25132
25114
  const [titleError, setTitleError] = useState38("");
25133
25115
  const { setPollState } = usePollViewState();
25134
25116
  const [interactionType, setInteractionType] = useState38("Poll" /* POLL */);
25135
- const inputRef = useRef20(null);
25136
- useEffect30(() => {
25117
+ const inputRef = useRef19(null);
25118
+ useEffect29(() => {
25137
25119
  if (inputRef.current) {
25138
25120
  inputRef.current.focus();
25139
25121
  }
@@ -25220,7 +25202,7 @@ var PrevMenu = () => {
25220
25202
  [polls]
25221
25203
  );
25222
25204
  const permissions = useHMSStore48(selectPermissions16);
25223
- useEffect30(() => {
25205
+ useEffect29(() => {
25224
25206
  const updatePolls = () => __async(void 0, null, function* () {
25225
25207
  yield hmsActions.interactivityCenter.getPolls();
25226
25208
  });
@@ -25262,7 +25244,7 @@ import { AddCircleIcon as AddCircleIcon2 } from "@100mslive/react-icons";
25262
25244
 
25263
25245
  // src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx
25264
25246
  init_define_process_env();
25265
- import React98, { useCallback as useCallback26, useRef as useRef21, useState as useState39 } from "react";
25247
+ import React98, { useCallback as useCallback26, useRef as useRef20, useState as useState39 } from "react";
25266
25248
  import { AddCircleIcon, TrashIcon as TrashIcon3 } from "@100mslive/react-icons";
25267
25249
 
25268
25250
  // src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx
@@ -25556,7 +25538,7 @@ var QuestionForm = ({
25556
25538
  isQuiz
25557
25539
  }) => {
25558
25540
  var _a7;
25559
- const ref = useRef21(null);
25541
+ const ref = useRef20(null);
25560
25542
  const selectionBg = useDropdownSelection();
25561
25543
  const [openDelete, setOpenDelete] = useState39(false);
25562
25544
  const [open, setOpen] = useState39(false);
@@ -25980,7 +25962,7 @@ var StatisticBox = ({ title, value = 0 }) => {
25980
25962
 
25981
25963
  // src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx
25982
25964
  init_define_process_env();
25983
- import { useEffect as useEffect31, useState as useState41 } from "react";
25965
+ import { useEffect as useEffect30, useState as useState41 } from "react";
25984
25966
  import {
25985
25967
  selectPollByID as selectPollByID2,
25986
25968
  useHMSActions as useHMSActions36,
@@ -25998,7 +25980,7 @@ var useQuizSummary = (quizID) => {
25998
25980
  correctUsers: 0
25999
25981
  };
26000
25982
  const [calculations, setCalculations] = useState41({ maxPossibleScore: 0, totalResponses: 0 });
26001
- useEffect31(() => {
25983
+ useEffect30(() => {
26002
25984
  const fetchLeaderboardData = () => __async(void 0, null, function* () {
26003
25985
  var _a7;
26004
25986
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
@@ -26138,7 +26120,7 @@ var LeaderboardSummary = ({ pollID }) => {
26138
26120
 
26139
26121
  // src/Prebuilt/components/Polls/Voting/Voting.tsx
26140
26122
  init_define_process_env();
26141
- import React108, { useEffect as useEffect34, useRef as useRef23, useState as useState45 } from "react";
26123
+ import React108, { useEffect as useEffect33, useRef as useRef22, useState as useState45 } from "react";
26142
26124
  import {
26143
26125
  selectLocalPeer as selectLocalPeer4,
26144
26126
  selectPeerNameByID as selectPeerNameByID4,
@@ -26155,7 +26137,7 @@ import React106 from "react";
26155
26137
 
26156
26138
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
26157
26139
  init_define_process_env();
26158
- import React105, { useCallback as useCallback27, useEffect as useEffect32, useMemo as useMemo12, useRef as useRef22, useState as useState43 } from "react";
26140
+ import React105, { useCallback as useCallback27, useEffect as useEffect31, useMemo as useMemo12, useRef as useRef21, useState as useState43 } from "react";
26159
26141
  import { match as match9 } from "ts-pattern";
26160
26142
  import { selectLocalPeer as selectLocalPeer3, selectLocalPeerRoleName as selectLocalPeerRoleName3, useHMSActions as useHMSActions37, useHMSStore as useHMSStore53 } from "@100mslive/react-sdk";
26161
26143
  import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon4, CrossCircleIcon as CrossCircleIcon2 } from "@100mslive/react-icons";
@@ -26181,14 +26163,14 @@ var QuestionCard2 = ({
26181
26163
  const localPeerRoleName = useHMSStore53(selectLocalPeerRoleName3);
26182
26164
  const roleCanViewResponse = !rolesThatCanViewResponses || rolesThatCanViewResponses.length === 0 || rolesThatCanViewResponses.includes(localPeerRoleName || "");
26183
26165
  const [localPeerChoice, setLocalPeerChoice] = useState43(localPeerResponse);
26184
- useEffect32(() => {
26166
+ useEffect31(() => {
26185
26167
  setLocalPeerChoice(localPeerResponse);
26186
26168
  }, [localPeerResponse]);
26187
26169
  const showVoteCount = roleCanViewResponse && (localPeerChoice || isLocalPeerCreator && pollState === "stopped") && !isQuiz;
26188
26170
  const isLive = pollState === "started";
26189
26171
  const pollEnded = pollState === "stopped";
26190
26172
  const canRespond = isLive && !localPeerChoice;
26191
- const startTime = useRef22(Date.now());
26173
+ const startTime = useRef21(Date.now());
26192
26174
  const isCorrectAnswer = checkCorrectAnswer(answer, localPeerChoice, type);
26193
26175
  const [singleOptionAnswer, setSingleOptionAnswer] = useState43();
26194
26176
  const [multipleOptionAnswer, setMultipleOptionAnswer] = useState43(/* @__PURE__ */ new Set());
@@ -26363,7 +26345,7 @@ var StandardView = ({
26363
26345
 
26364
26346
  // src/Prebuilt/components/Polls/Voting/TimedVoting.tsx
26365
26347
  init_define_process_env();
26366
- import React107, { useEffect as useEffect33, useState as useState44 } from "react";
26348
+ import React107, { useEffect as useEffect32, useState as useState44 } from "react";
26367
26349
  var TimedView = ({
26368
26350
  poll,
26369
26351
  localPeerResponses,
@@ -26373,7 +26355,7 @@ var TimedView = ({
26373
26355
  const [currentIndex, setCurrentIndex] = useState44(getIndexToShow(localPeerResponses));
26374
26356
  const activeQuestion = (_a7 = poll.questions) == null ? void 0 : _a7.find((question) => question.index === currentIndex);
26375
26357
  const attemptedAll = (((_b7 = poll.questions) == null ? void 0 : _b7.length) || 0) < currentIndex;
26376
- useEffect33(() => {
26358
+ useEffect32(() => {
26377
26359
  setCurrentIndex(getIndexToShow(localPeerResponses));
26378
26360
  }, [localPeerResponses]);
26379
26361
  if (!activeQuestion && !attemptedAll || !((_c = poll.questions) == null ? void 0 : _c.length)) {
@@ -26413,16 +26395,16 @@ var Voting = ({ id, toggleVoting }) => {
26413
26395
  const canEndActivity = !!(permissions == null ? void 0 : permissions.pollWrite);
26414
26396
  const { setPollView } = usePollViewState();
26415
26397
  const showSingleView = (poll == null ? void 0 : poll.type) === "quiz" && poll.state === "started";
26416
- const fetchedInitialResponses = useRef23(false);
26398
+ const fetchedInitialResponses = useRef22(false);
26417
26399
  const [savedResponses, setSavedResponses] = useState45({});
26418
26400
  const localPeer = useHMSStore54(selectLocalPeer4);
26419
26401
  const localPeerId = localPeer == null ? void 0 : localPeer.id;
26420
26402
  const customerUserId = localPeer == null ? void 0 : localPeer.customerUserId;
26421
- useEffect34(() => {
26403
+ useEffect33(() => {
26422
26404
  fetchedInitialResponses.current = false;
26423
26405
  setSavedResponses({});
26424
26406
  }, [id, setSavedResponses]);
26425
- useEffect34(() => {
26407
+ useEffect33(() => {
26426
26408
  const getResponses = () => __async(void 0, null, function* () {
26427
26409
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26428
26410
  yield actions.interactivityCenter.getPollResponses(poll, true);
@@ -26431,7 +26413,7 @@ var Voting = ({ id, toggleVoting }) => {
26431
26413
  });
26432
26414
  getResponses();
26433
26415
  }, [poll, actions.interactivityCenter]);
26434
- useEffect34(() => {
26416
+ useEffect33(() => {
26435
26417
  if (poll == null ? void 0 : poll.questions) {
26436
26418
  const localPeerResponses = getPeerResponses(poll.questions, localPeerId, customerUserId);
26437
26419
  localPeerResponses == null ? void 0 : localPeerResponses.forEach((response) => {
@@ -26529,7 +26511,7 @@ import { CrossIcon as CrossIcon20 } from "@100mslive/react-icons";
26529
26511
 
26530
26512
  // src/Prebuilt/components/Header/HeaderComponents.jsx
26531
26513
  init_define_process_env();
26532
- import React110, { useEffect as useEffect35, useState as useState46 } from "react";
26514
+ import React110, { useEffect as useEffect34, useState as useState46 } from "react";
26533
26515
  import { selectDominantSpeaker, useHMSStore as useHMSStore55 } from "@100mslive/react-sdk";
26534
26516
  import { VolumeOneIcon } from "@100mslive/react-icons";
26535
26517
  var SpeakerTag = () => {
@@ -26558,7 +26540,7 @@ var Logo = () => {
26558
26540
  const roomLayout = useRoomLayout();
26559
26541
  const logo = (_a7 = roomLayout == null ? void 0 : roomLayout.logo) == null ? void 0 : _a7.url;
26560
26542
  const [hideImage, setHideImage] = useState46(false);
26561
- useEffect35(() => {
26543
+ useEffect34(() => {
26562
26544
  if (hideImage) {
26563
26545
  setHideImage(false);
26564
26546
  }
@@ -26582,10 +26564,10 @@ import React112 from "react";
26582
26564
 
26583
26565
  // src/Prebuilt/components/RoomDetails/Duration.tsx
26584
26566
  init_define_process_env();
26585
- import React111, { useEffect as useEffect36, useState as useState47 } from "react";
26567
+ import React111, { useEffect as useEffect35, useState as useState47 } from "react";
26586
26568
  var Duration = ({ timestamp }) => {
26587
26569
  const [elapsedTime, setElapsedTime] = useState47(getFormattedTime(Date.now() - timestamp.getTime(), false));
26588
- useEffect36(() => {
26570
+ useEffect35(() => {
26589
26571
  const timerAdded = setInterval(() => {
26590
26572
  setElapsedTime(getFormattedTime(Date.now() - timestamp.getTime(), false));
26591
26573
  }, 1e3);
@@ -26627,7 +26609,7 @@ var ShowRoomDetailHeader = () => {
26627
26609
 
26628
26610
  // src/Prebuilt/components/SidePaneTabs.tsx
26629
26611
  init_define_process_env();
26630
- import React124, { useEffect as useEffect41, useState as useState53 } from "react";
26612
+ import React124, { useEffect as useEffect40, useState as useState53 } from "react";
26631
26613
  import { useMedia as useMedia21 } from "react-use";
26632
26614
  import { match as match11 } from "ts-pattern";
26633
26615
  import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore64 } from "@100mslive/react-sdk";
@@ -26635,7 +26617,7 @@ import { CrossIcon as CrossIcon23 } from "@100mslive/react-icons";
26635
26617
 
26636
26618
  // src/Prebuilt/components/Chat/Chat.tsx
26637
26619
  init_define_process_env();
26638
- import React121, { useCallback as useCallback31, useRef as useRef26 } from "react";
26620
+ import React121, { useCallback as useCallback31, useRef as useRef25 } from "react";
26639
26621
  import { useMedia as useMedia20 } from "react-use";
26640
26622
  import { match as match10 } from "ts-pattern";
26641
26623
  import { selectHMSMessagesCount, useHMSActions as useHMSActions42, useHMSStore as useHMSStore61, useHMSVanillaStore as useHMSVanillaStore11 } from "@100mslive/react-sdk";
@@ -26643,7 +26625,7 @@ import { ChevronDownIcon as ChevronDownIcon7 } from "@100mslive/react-icons";
26643
26625
 
26644
26626
  // src/Prebuilt/components/Chat/ChatFooter.tsx
26645
26627
  init_define_process_env();
26646
- import React116, { useCallback as useCallback29, useEffect as useEffect38, useRef as useRef25, useState as useState50 } from "react";
26628
+ import React116, { useCallback as useCallback29, useEffect as useEffect37, useRef as useRef24, useState as useState50 } from "react";
26647
26629
  import { useMedia as useMedia18 } from "react-use";
26648
26630
  import data2 from "@emoji-mart/data";
26649
26631
  import Picker from "@emoji-mart/react";
@@ -26966,10 +26948,10 @@ var useChatDraftMessage = () => {
26966
26948
 
26967
26949
  // src/Prebuilt/components/Chat/useEmojiPickerStyles.js
26968
26950
  init_define_process_env();
26969
- import { useEffect as useEffect37, useRef as useRef24 } from "react";
26951
+ import { useEffect as useEffect36, useRef as useRef23 } from "react";
26970
26952
  var useEmojiPickerStyles = (showing) => {
26971
- const ref = useRef24(null);
26972
- useEffect37(() => {
26953
+ const ref = useRef23(null);
26954
+ useEffect36(() => {
26973
26955
  if (showing) {
26974
26956
  setTimeout(() => {
26975
26957
  var _a7, _b7;
@@ -27045,7 +27027,7 @@ function EmojiPicker({ onSelect }) {
27045
27027
  var ChatFooter = ({ onSend, children }) => {
27046
27028
  var _a7, _b7, _c, _d, _e;
27047
27029
  const hmsActions = useHMSActions40();
27048
- const inputRef = useRef25(null);
27030
+ const inputRef = useRef24(null);
27049
27031
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
27050
27032
  const isMobile = useMedia18(config.media.md);
27051
27033
  const { elements, screenType } = useRoomLayoutConferencingScreen();
@@ -27061,7 +27043,7 @@ var ChatFooter = ({ onSend, children }) => {
27061
27043
  const isMwebHLSStream = useMobileHLSStream();
27062
27044
  const [messageLengthExceeded, setMessageLengthExceeded] = useState50(false);
27063
27045
  const isLandscapeHLSStream = useLandscapeHLSStream();
27064
- useEffect38(() => {
27046
+ useEffect37(() => {
27065
27047
  var _a8, _b8;
27066
27048
  if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
27067
27049
  setRoleSelector(defaultSelection);
@@ -27110,7 +27092,7 @@ var ChatFooter = ({ onSend, children }) => {
27110
27092
  });
27111
27093
  }
27112
27094
  }), [selectedRole, selectedPeer, hmsActions, onSend]);
27113
- useEffect38(() => {
27095
+ useEffect37(() => {
27114
27096
  const messageElement = inputRef.current;
27115
27097
  if (messageElement) {
27116
27098
  messageElement.value = draftMessage;
@@ -27118,7 +27100,7 @@ var ChatFooter = ({ onSend, children }) => {
27118
27100
  setMessageLengthExceeded(draftMessage.length > CHAT_MESSAGE_LIMIT);
27119
27101
  }
27120
27102
  }, [draftMessage]);
27121
- useEffect38(() => {
27103
+ useEffect37(() => {
27122
27104
  const messageElement = inputRef.current;
27123
27105
  return () => {
27124
27106
  setDraftMessage((messageElement == null ? void 0 : messageElement.value) || "");
@@ -27308,7 +27290,7 @@ var ChatBlocked = () => {
27308
27290
 
27309
27291
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
27310
27292
  init_define_process_env();
27311
- import React120, { useEffect as useEffect39, useState as useState51 } from "react";
27293
+ import React120, { useEffect as useEffect38, useState as useState51 } from "react";
27312
27294
  import { useSwipeable } from "react-swipeable";
27313
27295
  import { useMedia as useMedia19 } from "react-use";
27314
27296
  import { selectSessionStore as selectSessionStore8, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
@@ -27391,7 +27373,7 @@ var PinnedMessage = () => {
27391
27373
  onSwipedUp: () => showNextPinnedMessage(),
27392
27374
  onSwipedDown: () => showPreviousPinnedMessage()
27393
27375
  });
27394
- useEffect39(() => {
27376
+ useEffect38(() => {
27395
27377
  const count = (pinnedMessages == null ? void 0 : pinnedMessages.length) || 1;
27396
27378
  if (pinnedMessageIndex >= count) {
27397
27379
  setPinnedMessageIndex(count - 1);
@@ -27484,7 +27466,7 @@ var PinnedMessage = () => {
27484
27466
  var Chat = () => {
27485
27467
  var _a7, _b7;
27486
27468
  const { elements, screenType } = useRoomLayoutConferencingScreen();
27487
- const listRef = useRef26(null);
27469
+ const listRef = useRef25(null);
27488
27470
  const hmsActions = useHMSActions42();
27489
27471
  const vanillaStore = useHMSVanillaStore11();
27490
27472
  const { enabled: isChatEnabled = true } = useHMSStore61(Jm("chatState" /* CHAT_STATE */)) || {};
@@ -27623,7 +27605,7 @@ var NewMessageIndicator = ({
27623
27605
 
27624
27606
  // src/Prebuilt/components/Footer/PaginatedParticipants.tsx
27625
27607
  init_define_process_env();
27626
- import React122, { useEffect as useEffect40, useState as useState52 } from "react";
27608
+ import React122, { useEffect as useEffect39, useState as useState52 } from "react";
27627
27609
  import { useInView } from "react-intersection-observer";
27628
27610
  import { useMeasure as useMeasure2 } from "react-use";
27629
27611
  import { VariableSizeList as VariableSizeList2 } from "react-window";
@@ -27636,7 +27618,7 @@ var LoadMoreParticipants = ({
27636
27618
  }) => {
27637
27619
  const { ref, inView } = useInView();
27638
27620
  const [inProgress, setInProgress] = useState52(false);
27639
- useEffect40(() => {
27621
+ useEffect39(() => {
27640
27622
  if (hasNext && inView && !inProgress) {
27641
27623
  setInProgress(true);
27642
27624
  loadMore().catch(console.error).finally(() => setInProgress(false));
@@ -27675,7 +27657,7 @@ var PaginatedParticipants = ({ roleName, onBack }) => {
27675
27657
  const [ref, { width }] = useMeasure2();
27676
27658
  const height = ROW_HEIGHT * (filteredPeers.length + 1);
27677
27659
  const resetSidePane = useSidepaneReset();
27678
- useEffect40(() => {
27660
+ useEffect39(() => {
27679
27661
  loadPeers();
27680
27662
  }, []);
27681
27663
  return /* @__PURE__ */ React122.createElement(Flex, { ref, direction: "column", css: { size: "100%", gap: "$4" } }, /* @__PURE__ */ React122.createElement(Flex, { align: "center" }, /* @__PURE__ */ React122.createElement(Flex, { align: "center", css: { flex: "1 1 0", cursor: "pointer" }, onClick: onBack }, /* @__PURE__ */ React122.createElement(ChevronLeftIcon6, null), /* @__PURE__ */ React122.createElement(Text, { variant: "lg", css: { flex: "1 1 0" } }, "Participants")), /* @__PURE__ */ React122.createElement(
@@ -27792,7 +27774,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27792
27774
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
27793
27775
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
27794
27776
  const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
27795
- useEffect41(() => {
27777
+ useEffect40(() => {
27796
27778
  match11({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
27797
27779
  setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
27798
27780
  }).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
@@ -27801,7 +27783,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27801
27783
  resetSidePane();
27802
27784
  });
27803
27785
  }, [showChat, activeTab, showParticipants, resetSidePane]);
27804
- useEffect41(() => {
27786
+ useEffect40(() => {
27805
27787
  setActiveTab(active);
27806
27788
  }, [active]);
27807
27789
  if (activeRole) {
@@ -27981,38 +27963,6 @@ import {
27981
27963
  } from "@100mslive/react-sdk";
27982
27964
  import { CrossIcon as CrossIcon24, VerticalMenuIcon as VerticalMenuIcon8 } from "@100mslive/react-icons";
27983
27965
 
27984
- // src/Prebuilt/components/peerTileUtils.tsx
27985
- init_define_process_env();
27986
- var PEER_NAME_PLACEHOLDER = "peerName";
27987
- var labelMap = /* @__PURE__ */ new Map([
27988
- [[true, "screen"].toString(), "Your Screen"],
27989
- [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
27990
- [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
27991
- [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
27992
- [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
27993
- [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
27994
- ]);
27995
- var getVideoTileLabel = ({
27996
- peerName,
27997
- isLocal,
27998
- videoTrack,
27999
- audioTrack
28000
- }) => {
28001
- const isPeerPresent = peerName !== void 0;
28002
- if (!isPeerPresent || !videoTrack) {
28003
- const label2 = labelMap.get([isLocal, void 0].toString());
28004
- return isPeerPresent && label2 ? label2.replace(PEER_NAME_PLACEHOLDER, peerName) : "";
28005
- }
28006
- const isLocallyMuted = (audioTrack == null ? void 0 : audioTrack.volume) === 0;
28007
- let label = labelMap.get([isLocal, videoTrack.source].toString());
28008
- if (label) {
28009
- label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
28010
- } else {
28011
- label = `${peerName} ${videoTrack.source}`;
28012
- }
28013
- return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
28014
- };
28015
-
28016
27966
  // src/Prebuilt/components/TileMenu/TileMenuContent.tsx
28017
27967
  init_define_process_env();
28018
27968
  import React126, { Fragment as Fragment11 } from "react";
@@ -28251,7 +28201,7 @@ var TileMenuContent = ({
28251
28201
  },
28252
28202
  isAudioEnabled ? /* @__PURE__ */ React126.createElement(MicOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React126.createElement(MicOffIcon5, { height: 20, width: 20 }),
28253
28203
  /* @__PURE__ */ React126.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
28254
- ) : null, !isScreenshare && canChangeRole && roles.length > 1 ? /* @__PURE__ */ React126.createElement(
28204
+ ) : null, canChangeRole && roles.length > 1 ? /* @__PURE__ */ React126.createElement(
28255
28205
  StyledMenuTile.ItemButton,
28256
28206
  {
28257
28207
  className: dragClassName,
@@ -28264,7 +28214,7 @@ var TileMenuContent = ({
28264
28214
  },
28265
28215
  /* @__PURE__ */ React126.createElement(PersonSettingsIcon2, { height: 20, width: 20 }),
28266
28216
  /* @__PURE__ */ React126.createElement("span", null, "Switch Role")
28267
- ) : null, !isIOS && audioTrackID ? /* @__PURE__ */ React126.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React126.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React126.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React126.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React126.createElement(
28217
+ ) : null, audioTrackID ? /* @__PURE__ */ React126.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React126.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React126.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React126.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React126.createElement(
28268
28218
  Slider,
28269
28219
  {
28270
28220
  css: { my: "0.5rem" },
@@ -28321,7 +28271,6 @@ var TileMenu = ({
28321
28271
  const isPrimaryVideoTrack = ((_a7 = useHMSStore67(selectVideoTrackByPeerID2(peerID))) == null ? void 0 : _a7.id) === videoTrackID;
28322
28272
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
28323
28273
  const track = useHMSStore67(selectTrackByID3(videoTrackID));
28324
- const audioTrack = useHMSStore67(selectTrackByID3(audioTrackID));
28325
28274
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
28326
28275
  const isMobile = useMedia23(config.media.md);
28327
28276
  const peer = useHMSStore67(selectPeerByID2(peerID));
@@ -28329,7 +28278,7 @@ var TileMenu = ({
28329
28278
  const [showRoleChangeModal, setShowRoleChangeModal] = useState54(false);
28330
28279
  useDropdownList({ open, name: "TileMenu" });
28331
28280
  const dragClassName = getDragClassName();
28332
- if (!peer || !(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
28281
+ if (!(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
28333
28282
  return null;
28334
28283
  }
28335
28284
  const openNameChangeModal = () => setShowNameChangeModal(true);
@@ -28340,6 +28289,7 @@ var TileMenu = ({
28340
28289
  audioTrackID,
28341
28290
  videoTrackID,
28342
28291
  peerID,
28292
+ isPrimaryVideoTrack,
28343
28293
  showSpotlight,
28344
28294
  showPinAction,
28345
28295
  canMinimise,
@@ -28369,12 +28319,38 @@ var TileMenu = ({
28369
28319
  borderBottom: "1px solid $border_default"
28370
28320
  }
28371
28321
  },
28372
- /* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, getVideoTileLabel({ peerName: peer == null ? void 0 : peer.name, isLocal, audioTrack, videoTrack: track })), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ React127.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
28322
+ /* @__PURE__ */ React127.createElement(Box, null, /* @__PURE__ */ React127.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, peer == null ? void 0 : peer.name, isLocal ? ` (You)` : null), (peer == null ? void 0 : peer.roleName) ? /* @__PURE__ */ React127.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
28373
28323
  /* @__PURE__ */ React127.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ React127.createElement(CrossIcon24, null))
28374
28324
  ), /* @__PURE__ */ React127.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ React127.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ React127.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ React127.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }), showRoleChangeModal && /* @__PURE__ */ React127.createElement(RoleChangeModal, { peerId: peerID, onOpenChange: setShowRoleChangeModal }));
28375
28325
  };
28376
28326
  var TileMenu_default = TileMenu;
28377
28327
 
28328
+ // src/Prebuilt/components/peerTileUtils.jsx
28329
+ init_define_process_env();
28330
+ var PEER_NAME_PLACEHOLDER = "peerName";
28331
+ var labelMap = /* @__PURE__ */ new Map([
28332
+ [[true, "screen"].toString(), "Your Screen"],
28333
+ [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28334
+ [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
28335
+ [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
28336
+ [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28337
+ [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
28338
+ ]);
28339
+ var getVideoTileLabel = ({ peerName, isLocal, track }) => {
28340
+ const isPeerPresent = peerName !== void 0;
28341
+ if (!isPeerPresent || !track) {
28342
+ return isPeerPresent ? labelMap.get([isLocal, void 0].toString()).replace(PEER_NAME_PLACEHOLDER, peerName) : "";
28343
+ }
28344
+ const isLocallyMuted = track.volume === 0;
28345
+ let label = labelMap.get([isLocal, track.source].toString());
28346
+ if (label) {
28347
+ label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
28348
+ } else {
28349
+ label = `${peerName} ${track.source}`;
28350
+ }
28351
+ return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
28352
+ };
28353
+
28378
28354
  // src/Prebuilt/components/VideoTile.tsx
28379
28355
  var PeerMetadata = ({ peerId, size }) => {
28380
28356
  const metaData = useHMSStore68(selectPeerMetadata4(peerId));
@@ -28419,9 +28395,8 @@ var Tile = ({
28419
28395
  });
28420
28396
  const label = getVideoTileLabel({
28421
28397
  peerName,
28422
- isLocal,
28423
- videoTrack: track,
28424
- audioTrack
28398
+ track,
28399
+ isLocal
28425
28400
  });
28426
28401
  const onHoverHandler = useCallback32((event) => {
28427
28402
  setIsMouseHovered(event.type === "mouseenter");
@@ -28495,7 +28470,7 @@ var VideoTile_default = VideoTile;
28495
28470
 
28496
28471
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28497
28472
  init_define_process_env();
28498
- import React131, { useEffect as useEffect42, useRef as useRef27, useState as useState56 } from "react";
28473
+ import React131, { useEffect as useEffect41, useRef as useRef26, useState as useState56 } from "react";
28499
28474
  import { useMedia as useMedia24 } from "react-use";
28500
28475
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes4 } from "@100mslive/hms-virtual-background/hmsvbplugin";
28501
28476
  import {
@@ -28584,7 +28559,7 @@ var VBCollection = ({
28584
28559
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28585
28560
  var iconDims = { height: "40px", width: "40px" };
28586
28561
  var VBPicker = ({ backgroundMedia = [] }) => {
28587
- var _a7, _b7;
28562
+ var _a7;
28588
28563
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
28589
28564
  const hmsActions = useHMSActions45();
28590
28565
  const localPeer = useHMSStore69(selectLocalPeer8);
@@ -28604,11 +28579,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28604
28579
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28605
28580
  const background = useHMSStore69(jm(APP_DATA.background));
28606
28581
  const mediaList = backgroundMedia.map((media) => media.url || "");
28607
- const pluginLoadingRef = useRef27(false);
28608
- const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
28582
+ const pluginLoadingRef = useRef26(false);
28609
28583
  const inPreview = roomState === HMSRoomState5.Preview;
28610
28584
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28611
- useEffect42(() => {
28585
+ useEffect41(() => {
28612
28586
  const addHMSVBPlugin = () => __async(void 0, null, function* () {
28613
28587
  setLoadingEffects(false);
28614
28588
  if (!role) {
@@ -28670,7 +28644,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28670
28644
  blurAmount,
28671
28645
  setLoadingEffects
28672
28646
  ]);
28673
- useEffect42(() => {
28647
+ useEffect41(() => {
28674
28648
  if (!isVideoOn) {
28675
28649
  toggleVB();
28676
28650
  }
@@ -28727,13 +28701,13 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28727
28701
  yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
28728
28702
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes4.BLUR);
28729
28703
  }),
28730
- supported: isBlurSupported
28704
+ supported: isEffectsSupported && isEffectsEnabled
28731
28705
  }
28732
28706
  ],
28733
28707
  activeBackground: background
28734
28708
  }
28735
28709
  ),
28736
- /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isBlurSupported ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28710
+ /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isEffectsEnabled && effectsKey ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28737
28711
  Slider,
28738
28712
  {
28739
28713
  showTooltip: false,
@@ -28909,7 +28883,7 @@ var SidePane = ({
28909
28883
  return null;
28910
28884
  });
28911
28885
  const resetSidePane = useSidepaneReset();
28912
- useEffect43(() => {
28886
+ useEffect42(() => {
28913
28887
  return () => {
28914
28888
  resetSidePane();
28915
28889
  };
@@ -29123,7 +29097,7 @@ var PreviewJoin = ({
29123
29097
  const { elements = {} } = useRoomLayoutPreviewScreen();
29124
29098
  const { preview_header: previewHeader = {}, virtual_background } = elements || {};
29125
29099
  const aspectRatio = useLocalTileAspectRatio();
29126
- useEffect44(() => {
29100
+ useEffect43(() => {
29127
29101
  if (authToken) {
29128
29102
  if (skipPreview) {
29129
29103
  savePreferenceAndJoin();
@@ -29132,7 +29106,7 @@ var PreviewJoin = ({
29132
29106
  }
29133
29107
  }
29134
29108
  }, [authToken, skipPreview]);
29135
- useEffect44(() => {
29109
+ useEffect43(() => {
29136
29110
  if (initialName) {
29137
29111
  setName(initialName);
29138
29112
  }
@@ -29275,7 +29249,7 @@ var RoleChangeRequestModal = () => {
29275
29249
  const { sendEvent } = useCustomEvent3({ type: ROLE_CHANGE_DECLINED });
29276
29250
  const { elements = {} } = useRoomLayoutPreviewScreen();
29277
29251
  const { virtual_background } = elements || {};
29278
- useEffect45(() => {
29252
+ useEffect44(() => {
29279
29253
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29280
29254
  return;
29281
29255
  }
@@ -29339,7 +29313,7 @@ var RoleChangeRequestModal = () => {
29339
29313
 
29340
29314
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
29341
29315
  init_define_process_env();
29342
- import React157, { Suspense, useEffect as useEffect59, useState as useState67 } from "react";
29316
+ import React157, { Suspense, useEffect as useEffect58, useState as useState67 } from "react";
29343
29317
  import { useMedia as useMedia38 } from "react-use";
29344
29318
  import { match as match13 } from "ts-pattern";
29345
29319
  import {
@@ -29347,28 +29321,27 @@ import {
29347
29321
  selectIsLocalScreenShared as selectIsLocalScreenShared2,
29348
29322
  selectLocalPeerRoleName as selectLocalPeerRoleName6,
29349
29323
  useHMSActions as useHMSActions48,
29350
- useHMSStore as useHMSStore84
29324
+ useHMSStore as useHMSStore83
29351
29325
  } from "@100mslive/react-sdk";
29352
29326
  import { PeopleAddIcon as PeopleAddIcon3, ShareScreenIcon as ShareScreenIcon5 } from "@100mslive/react-icons";
29353
29327
 
29354
29328
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
29355
29329
  init_define_process_env();
29356
- import React153, { useEffect as useEffect54, useMemo as useMemo20, useState as useState65 } from "react";
29330
+ import React153, { useEffect as useEffect53, useMemo as useMemo20, useState as useState65 } from "react";
29357
29331
  import {
29358
29332
  selectLocalPeerID as selectLocalPeerID13,
29359
29333
  selectLocalPeerRoleName as selectLocalPeerRoleName5,
29360
29334
  selectPeers as selectPeers3,
29361
29335
  selectPeerScreenSharing as selectPeerScreenSharing2,
29362
29336
  selectWhiteboard as selectWhiteboard2,
29363
- useHMSStore as useHMSStore80,
29337
+ useHMSStore as useHMSStore79,
29364
29338
  useHMSVanillaStore as useHMSVanillaStore13
29365
29339
  } from "@100mslive/react-sdk";
29366
29340
 
29367
29341
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
29368
29342
  init_define_process_env();
29369
- import React144, { useEffect as useEffect49, useState as useState59 } from "react";
29343
+ import React144, { useEffect as useEffect48, useState as useState59 } from "react";
29370
29344
  import { useMedia as useMedia31 } from "react-use";
29371
- import { selectPeerCount as selectPeerCount6, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
29372
29345
  import { PeopleAddIcon as PeopleAddIcon2 } from "@100mslive/react-icons";
29373
29346
 
29374
29347
  // src/Prebuilt/layouts/WaitingView.tsx
@@ -29429,7 +29402,7 @@ var WaitingView = React139.memo(
29429
29402
 
29430
29403
  // src/Prebuilt/components/InsetTile.tsx
29431
29404
  init_define_process_env();
29432
- import React141, { useEffect as useEffect46, useRef as useRef28 } from "react";
29405
+ import React141, { useEffect as useEffect45, useRef as useRef27 } from "react";
29433
29406
  import Draggable from "react-draggable";
29434
29407
  import { useMedia as useMedia29 } from "react-use";
29435
29408
  import {
@@ -29493,8 +29466,8 @@ var InsetTile = ({ peerId }) => {
29493
29466
  width = 240;
29494
29467
  height = width / aspectRatio;
29495
29468
  }
29496
- const nodeRef = useRef28(null);
29497
- useEffect46(() => {
29469
+ const nodeRef = useRef27(null);
29470
+ useEffect45(() => {
29498
29471
  const node = nodeRef.current;
29499
29472
  if (!node || !window.ResizeObserver) {
29500
29473
  return;
@@ -29554,7 +29527,7 @@ var InsetTile = ({ peerId }) => {
29554
29527
 
29555
29528
  // src/Prebuilt/components/Pagination.tsx
29556
29529
  init_define_process_env();
29557
- import React142, { useEffect as useEffect47 } from "react";
29530
+ import React142, { useEffect as useEffect46 } from "react";
29558
29531
  import { ChevronLeftIcon as ChevronLeftIcon7, ChevronRightIcon as ChevronRightIcon4 } from "@100mslive/react-icons";
29559
29532
  var Pagination = ({
29560
29533
  page,
@@ -29571,7 +29544,7 @@ var Pagination = ({
29571
29544
  e.stopPropagation();
29572
29545
  onPageChange(Math.max(page - 1, 0));
29573
29546
  };
29574
- useEffect47(() => {
29547
+ useEffect46(() => {
29575
29548
  if (page >= numPages) {
29576
29549
  onPageChange(Math.max(0, numPages - 1));
29577
29550
  }
@@ -29635,7 +29608,7 @@ var Grid = React143.forwardRef(
29635
29608
 
29636
29609
  // src/Prebuilt/components/hooks/useTileLayout.tsx
29637
29610
  init_define_process_env();
29638
- import { useEffect as useEffect48, useMemo as useMemo16, useState as useState58 } from "react";
29611
+ import { useEffect as useEffect47, useMemo as useMemo16, useState as useState58 } from "react";
29639
29612
  import { useMeasure as useMeasure5, useMedia as useMedia30 } from "react-use";
29640
29613
  import {
29641
29614
  getPeersWithTiles,
@@ -29674,7 +29647,7 @@ var useTileLayout = ({
29674
29647
  const [ref, { width, height }] = useMeasure5();
29675
29648
  const isMobile = useMedia30(config.media.lg);
29676
29649
  const [pagesWithTiles, setPagesWithTiles] = useState58([]);
29677
- useEffect48(() => {
29650
+ useEffect47(() => {
29678
29651
  if (width === 0 || height === 0) {
29679
29652
  return;
29680
29653
  }
@@ -29707,10 +29680,10 @@ var useTileLayout = ({
29707
29680
  tileHeight = maxRowHeight;
29708
29681
  } else {
29709
29682
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
29710
- for (const h of calcHeights) {
29711
- if (h < maxRowHeight) {
29712
- if (tileHeight < h) {
29713
- tileHeight = h;
29683
+ for (const h2 of calcHeights) {
29684
+ if (h2 < maxRowHeight) {
29685
+ if (tileHeight < h2) {
29686
+ tileHeight = h2;
29714
29687
  }
29715
29688
  }
29716
29689
  }
@@ -29744,7 +29717,6 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29744
29717
  const isMobile = useMedia31(config.media.md);
29745
29718
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
29746
29719
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
29747
- const peerCount = useHMSStore74(selectPeerCount6);
29748
29720
  const pageList = usePagesWithTiles({
29749
29721
  peers,
29750
29722
  maxTileCount
@@ -29756,7 +29728,7 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29756
29728
  });
29757
29729
  const [page, setPage] = useState59(0);
29758
29730
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29759
- useEffect49(() => {
29731
+ useEffect48(() => {
29760
29732
  if (pageSize > 0) {
29761
29733
  onPageSize == null ? void 0 : onPageSize(pageSize);
29762
29734
  }
@@ -29774,8 +29746,8 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29774
29746
  ), pageList.length === 0 ? /* @__PURE__ */ React144.createElement(
29775
29747
  WaitingView,
29776
29748
  {
29777
- title: peerCount <= 1 ? "You're the only one here" : "Glad to have you here",
29778
- subtitle: peerCount <= 1 ? "Sit back and relax till others join" : "",
29749
+ title: "You're the first to join",
29750
+ subtitle: "Sit back and relax till others join",
29779
29751
  icon: /* @__PURE__ */ React144.createElement(PeopleAddIcon2, { width: "56px", height: "56px", style: { color: "white" } })
29780
29752
  }
29781
29753
  ) : null, isInsetEnabled && /* @__PURE__ */ React144.createElement(InsetTile, null));
@@ -29783,15 +29755,15 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29783
29755
 
29784
29756
  // src/Prebuilt/components/VideoLayouts/RoleProminence.tsx
29785
29757
  init_define_process_env();
29786
- import React147, { useEffect as useEffect51, useState as useState61 } from "react";
29758
+ import React147, { useEffect as useEffect50, useState as useState61 } from "react";
29787
29759
  import { useMedia as useMedia33 } from "react-use";
29788
- import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore76 } from "@100mslive/react-sdk";
29760
+ import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
29789
29761
 
29790
29762
  // src/Prebuilt/components/SecondaryTiles.tsx
29791
29763
  init_define_process_env();
29792
- import React146, { useEffect as useEffect50, useRef as useRef29, useState as useState60 } from "react";
29764
+ import React146, { useEffect as useEffect49, useRef as useRef28, useState as useState60 } from "react";
29793
29765
  import { useMedia as useMedia32 } from "react-use";
29794
- import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
29766
+ import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
29795
29767
 
29796
29768
  // src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
29797
29769
  init_define_process_env();
@@ -29878,11 +29850,11 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
29878
29850
  const isMobile = useMedia32(config.media.md);
29879
29851
  const maxTileCount = isMobile ? 2 : 4;
29880
29852
  const [page, setPage] = useState60(0);
29881
- const pinnedTrackId = useHMSStore75(selectAppData10(APP_DATA.pinnedTrackId));
29882
- const spotlightPeerId = useHMSStore75(selectSessionStore12("spotlight" /* SPOTLIGHT */));
29883
- const activeScreensharePeerId = useHMSStore75(selectAppData10(APP_DATA.activeScreensharePeerId));
29884
- const pinnedPeer = (_a7 = useHMSStore75(selectTrackByID4(pinnedTrackId))) == null ? void 0 : _a7.peerId;
29885
- const pageChangedAfterPinning = useRef29(false);
29853
+ const pinnedTrackId = useHMSStore74(selectAppData10(APP_DATA.pinnedTrackId));
29854
+ const spotlightPeerId = useHMSStore74(selectSessionStore12("spotlight" /* SPOTLIGHT */));
29855
+ const activeScreensharePeerId = useHMSStore74(selectAppData10(APP_DATA.activeScreensharePeerId));
29856
+ const pinnedPeer = (_a7 = useHMSStore74(selectTrackByID4(pinnedTrackId))) == null ? void 0 : _a7.peerId;
29857
+ const pageChangedAfterPinning = useRef28(false);
29886
29858
  const pagesWithTiles = usePagesWithTiles({
29887
29859
  peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
29888
29860
  if (activeScreensharePeerId === p1.id) {
@@ -29903,18 +29875,18 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
29903
29875
  maxTileCount
29904
29876
  });
29905
29877
  const pageSize = ((_b7 = pagesWithTiles[0]) == null ? void 0 : _b7.length) || 0;
29906
- useEffect50(() => {
29878
+ useEffect49(() => {
29907
29879
  var _a8;
29908
29880
  if (peers.length > 0 && !((_a8 = pagesWithTiles[page]) == null ? void 0 : _a8.length)) {
29909
29881
  setPage(Math.max(0, page - 1));
29910
29882
  }
29911
29883
  }, [peers, page, pagesWithTiles]);
29912
- useEffect50(() => {
29884
+ useEffect49(() => {
29913
29885
  if (pageSize > 0) {
29914
29886
  onPageSize == null ? void 0 : onPageSize(pageSize);
29915
29887
  }
29916
29888
  }, [pageSize, onPageSize]);
29917
- useEffect50(() => {
29889
+ useEffect49(() => {
29918
29890
  if ((pinnedPeer || spotlightPeerId) && page !== 0 && !pageChangedAfterPinning.current) {
29919
29891
  setPage(0);
29920
29892
  pageChangedAfterPinning.current = true;
@@ -29981,7 +29953,7 @@ function RoleProminence({
29981
29953
  }) {
29982
29954
  var _a7;
29983
29955
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
29984
- const localPeer = useHMSStore76(selectLocalPeer11);
29956
+ const localPeer = useHMSStore75(selectLocalPeer11);
29985
29957
  const isMobile = useMedia33(config.media.md);
29986
29958
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
29987
29959
  maxTileCount = isMobile ? 4 : maxTileCount;
@@ -29995,7 +29967,7 @@ function RoleProminence({
29995
29967
  });
29996
29968
  const [page, setPage] = useState61(0);
29997
29969
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29998
- useEffect51(() => {
29970
+ useEffect50(() => {
29999
29971
  if (pageSize > 0) {
30000
29972
  onPageSize == null ? void 0 : onPageSize(pageSize);
30001
29973
  }
@@ -30015,13 +29987,13 @@ function RoleProminence({
30015
29987
 
30016
29988
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
30017
29989
  init_define_process_env();
30018
- import React151, { useEffect as useEffect52, useMemo as useMemo18, useState as useState64 } from "react";
29990
+ import React151, { useEffect as useEffect51, useMemo as useMemo18, useState as useState64 } from "react";
30019
29991
  import { useMedia as useMedia35 } from "react-use";
30020
- import { selectPeersScreenSharing, useHMSStore as useHMSStore78 } from "@100mslive/react-sdk";
29992
+ import { selectPeersScreenSharing, useHMSStore as useHMSStore77 } from "@100mslive/react-sdk";
30021
29993
 
30022
29994
  // src/Prebuilt/components/ScreenshareTile.tsx
30023
29995
  init_define_process_env();
30024
- import React150, { useRef as useRef30, useState as useState63 } from "react";
29996
+ import React150, { useRef as useRef29, useState as useState63 } from "react";
30025
29997
  import { useFullscreen as useFullscreen2, useMedia as useMedia34 } from "react-use";
30026
29998
  import screenfull2 from "screenfull";
30027
29999
  import {
@@ -30029,7 +30001,7 @@ import {
30029
30001
  selectPeerByID as selectPeerByID4,
30030
30002
  selectScreenShareAudioByPeerID,
30031
30003
  selectScreenShareByPeerID as selectScreenShareByPeerID2,
30032
- useHMSStore as useHMSStore77
30004
+ useHMSStore as useHMSStore76
30033
30005
  } from "@100mslive/react-sdk";
30034
30006
  import { ExpandIcon as ExpandIcon3, ShrinkIcon as ShrinkIcon2 } from "@100mslive/react-icons";
30035
30007
 
@@ -30184,21 +30156,21 @@ var labelStyles = {
30184
30156
  flexShrink: 0
30185
30157
  };
30186
30158
  var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
30187
- const isLocal = useHMSStore77(selectLocalPeerID12) === peerId;
30188
- const track = useHMSStore77(selectScreenShareByPeerID2(peerId));
30159
+ const isLocal = useHMSStore76(selectLocalPeerID12) === peerId;
30160
+ const track = useHMSStore76(selectScreenShareByPeerID2(peerId));
30189
30161
  const { theme: theme2 } = useTheme();
30190
- const peer = useHMSStore77(selectPeerByID4(peerId));
30162
+ const peer = useHMSStore76(selectPeerByID4(peerId));
30191
30163
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
30192
30164
  const [isMouseHovered, setIsMouseHovered] = useState63(false);
30193
30165
  const isMobile = useMedia34(config.media.md);
30194
30166
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
30195
- const fullscreenRef = useRef30(null);
30167
+ const fullscreenRef = useRef29(null);
30196
30168
  const [fullscreen, setFullscreen] = useState63(false);
30197
30169
  const isFullscreen = useFullscreen2(fullscreenRef, fullscreen, {
30198
30170
  onClose: () => setFullscreen(false)
30199
30171
  });
30200
30172
  const isFullScreenSupported = screenfull2.isEnabled;
30201
- const audioTrack = useHMSStore77(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
30173
+ const audioTrack = useHMSStore76(selectScreenShareAudioByPeerID(peer == null ? void 0 : peer.id));
30202
30174
  if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
30203
30175
  return /* @__PURE__ */ React150.createElement(ScreenshareDisplay, null);
30204
30176
  }
@@ -30208,8 +30180,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
30208
30180
  const label = getVideoTileLabel({
30209
30181
  peerName: peer == null ? void 0 : peer.name,
30210
30182
  isLocal: false,
30211
- videoTrack: track,
30212
- audioTrack
30183
+ track
30213
30184
  });
30214
30185
  return /* @__PURE__ */ React150.createElement(
30215
30186
  StyledVideoTile.Root,
@@ -30278,7 +30249,7 @@ var ScreenshareTile_default = ScreenshareTile;
30278
30249
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
30279
30250
  var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30280
30251
  var _a7;
30281
- const peersSharing = useHMSStore78(selectPeersScreenSharing);
30252
+ const peersSharing = useHMSStore77(selectPeersScreenSharing);
30282
30253
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30283
30254
  const [page, setPage] = useState64(0);
30284
30255
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
@@ -30294,7 +30265,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30294
30265
  }
30295
30266
  return peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id));
30296
30267
  }, [activeSharePeer, peers, isMobile, layoutMode]);
30297
- useEffect52(() => {
30268
+ useEffect51(() => {
30298
30269
  if (isMobile) {
30299
30270
  setLayoutMode(LayoutMode.GALLERY);
30300
30271
  return;
@@ -30307,7 +30278,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30307
30278
  setLayoutMode(LayoutMode.GALLERY);
30308
30279
  };
30309
30280
  }, [isMobile]);
30310
- useEffect52(() => {
30281
+ useEffect51(() => {
30311
30282
  setActiveScreenSharePeer(activeSharePeer == null ? void 0 : activeSharePeer.id);
30312
30283
  return () => {
30313
30284
  setActiveScreenSharePeer("");
@@ -30327,10 +30298,10 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30327
30298
 
30328
30299
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
30329
30300
  init_define_process_env();
30330
- import React152, { useEffect as useEffect53, useMemo as useMemo19 } from "react";
30301
+ import React152, { useEffect as useEffect52, useMemo as useMemo19 } from "react";
30331
30302
  import { useMedia as useMedia36 } from "react-use";
30332
30303
  import { Whiteboard } from "@100mslive/hms-whiteboard";
30333
- import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore79, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
30304
+ import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
30334
30305
  var WhiteboardEmbed = () => {
30335
30306
  const isMobile = useMedia36(config.media.md);
30336
30307
  const { token, endpoint, zoomToContent } = useWhiteboard2(isMobile);
@@ -30354,8 +30325,8 @@ var WhiteboardEmbed = () => {
30354
30325
  );
30355
30326
  };
30356
30327
  var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30357
- const whiteboard = useHMSStore79(selectWhiteboard);
30358
- const whiteboardOwner = useHMSStore79(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
30328
+ const whiteboard = useHMSStore78(selectWhiteboard);
30329
+ const whiteboardOwner = useHMSStore78(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
30359
30330
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
30360
30331
  const isMobile = useMedia36(config.media.md);
30361
30332
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
@@ -30368,7 +30339,7 @@ var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30368
30339
  }
30369
30340
  return peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id));
30370
30341
  }, [whiteboardOwner, peers, isMobile, layoutMode]);
30371
- useEffect53(() => {
30342
+ useEffect52(() => {
30372
30343
  if (isMobile) {
30373
30344
  setLayoutMode(LayoutMode.GALLERY);
30374
30345
  return;
@@ -30500,12 +30471,12 @@ var GridLayout = ({
30500
30471
  edge_to_edge = false,
30501
30472
  hide_metadata_on_tile = false
30502
30473
  }) => {
30503
- const peerSharing = useHMSStore80(selectPeerScreenSharing2);
30504
- const whiteboard = useHMSStore80(selectWhiteboard2);
30474
+ const peerSharing = useHMSStore79(selectPeerScreenSharing2);
30475
+ const whiteboard = useHMSStore79(selectWhiteboard2);
30505
30476
  const pinnedTrack = usePinnedTrack();
30506
- const peers = useHMSStore80(selectPeers3);
30507
- const localPeerRole = useHMSStore80(selectLocalPeerRoleName5);
30508
- const localPeerID = useHMSStore80(selectLocalPeerID13);
30477
+ const peers = useHMSStore79(selectPeers3);
30478
+ const localPeerRole = useHMSStore79(selectLocalPeerRoleName5);
30479
+ const localPeerID = useHMSStore79(selectLocalPeerID13);
30509
30480
  const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30510
30481
  const isRoleProminence = prominentRoles.length && peers.some(
30511
30482
  (peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
@@ -30546,7 +30517,7 @@ var GridLayout = ({
30546
30517
  hideMetadataOnTile: hide_metadata_on_tile,
30547
30518
  objectFit: video_object_fit
30548
30519
  };
30549
- useEffect54(() => {
30520
+ useEffect53(() => {
30550
30521
  if (mainPage !== 0) {
30551
30522
  return;
30552
30523
  }
@@ -30603,20 +30574,20 @@ var GridLayout = ({
30603
30574
 
30604
30575
  // src/Prebuilt/layouts/EmbedView.jsx
30605
30576
  init_define_process_env();
30606
- import React154, { useEffect as useEffect55, useMemo as useMemo21 } from "react";
30607
- import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
30577
+ import React154, { useEffect as useEffect54, useMemo as useMemo21 } from "react";
30578
+ import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore80 } from "@100mslive/react-sdk";
30608
30579
  var EmbedView = () => {
30609
30580
  return /* @__PURE__ */ React154.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React154.createElement(EmbedComponent, null));
30610
30581
  };
30611
30582
  var EmbedScreenShareView = ({ children }) => {
30612
- const peers = useHMSStore81(selectPeers4);
30613
- const peerPresenting = useHMSStore81(selectPeerScreenSharing3);
30583
+ const peers = useHMSStore80(selectPeers4);
30584
+ const peerPresenting = useHMSStore80(selectPeerScreenSharing3);
30614
30585
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30615
30586
  const smallTilePeers = useMemo21(() => {
30616
30587
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
30617
30588
  return smallTilePeers2;
30618
30589
  }, [peers, peerPresenting]);
30619
- useEffect55(() => {
30590
+ useEffect54(() => {
30620
30591
  setActiveScreenSharePeer(peerPresenting == null ? void 0 : peerPresenting.id);
30621
30592
  return () => {
30622
30593
  setActiveScreenSharePeer("");
@@ -30625,10 +30596,10 @@ var EmbedScreenShareView = ({ children }) => {
30625
30596
  return /* @__PURE__ */ React154.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React154.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React154.createElement(SecondaryTiles, { peers: smallTilePeers }));
30626
30597
  };
30627
30598
  var EmbedComponent = () => {
30628
- const embedConfig = useHMSStore81(selectAppData11(APP_DATA.embedConfig));
30599
+ const embedConfig = useHMSStore80(selectAppData11(APP_DATA.embedConfig));
30629
30600
  const resetConfig = useResetEmbedConfig();
30630
30601
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
30631
- useEffect55(() => {
30602
+ useEffect54(() => {
30632
30603
  (() => __async(void 0, null, function* () {
30633
30604
  if (embedConfig && !isEmbedShareInProgress) {
30634
30605
  try {
@@ -30676,18 +30647,18 @@ var EmbedComponent = () => {
30676
30647
 
30677
30648
  // src/Prebuilt/layouts/PDFView.jsx
30678
30649
  init_define_process_env();
30679
- import React155, { useEffect as useEffect56 } from "react";
30650
+ import React155, { useEffect as useEffect55 } from "react";
30680
30651
  import { usePDFShare } from "@100mslive/react-sdk";
30681
30652
  var PDFView = () => {
30682
30653
  const pdfConfig = usePDFConfig();
30683
30654
  const resetConfig = useResetPDFConfig();
30684
30655
  const { iframeRef, startPDFShare, isPDFShareInProgress } = usePDFShare(resetConfig);
30685
- useEffect56(() => {
30656
+ useEffect55(() => {
30686
30657
  return () => {
30687
30658
  resetConfig();
30688
30659
  };
30689
30660
  }, []);
30690
- useEffect56(() => {
30661
+ useEffect55(() => {
30691
30662
  (() => __async(void 0, null, function* () {
30692
30663
  try {
30693
30664
  if (!isPDFShareInProgress && pdfConfig) {
@@ -30735,13 +30706,13 @@ var PDFView = () => {
30735
30706
 
30736
30707
  // src/Prebuilt/plugins/CaptionsViewer.tsx
30737
30708
  init_define_process_env();
30738
- import React156, { useEffect as useEffect57, useRef as useRef31, useState as useState66 } from "react";
30709
+ import React156, { useEffect as useEffect56, useRef as useRef30, useState as useState66 } from "react";
30739
30710
  import Draggable2 from "react-draggable";
30740
30711
  import { useMedia as useMedia37 } from "react-use";
30741
30712
  import {
30742
30713
  selectIsTranscriptionEnabled as selectIsTranscriptionEnabled5,
30743
30714
  selectPeerNameByID as selectPeerNameByID6,
30744
- useHMSStore as useHMSStore82,
30715
+ useHMSStore as useHMSStore81,
30745
30716
  useTranscript
30746
30717
  } from "@100mslive/react-sdk";
30747
30718
  var SimpleQueue = class {
@@ -30877,7 +30848,7 @@ var CaptionMaintainerQueue = class {
30877
30848
  }
30878
30849
  };
30879
30850
  var TranscriptView = ({ peer_id, data: data3 }) => {
30880
- const peerName = useHMSStore82(selectPeerNameByID6(peer_id)) || "Participant";
30851
+ const peerName = useHMSStore81(selectPeerNameByID6(peer_id)) || "Participant";
30881
30852
  data3 = data3.trim();
30882
30853
  if (!data3)
30883
30854
  return null;
@@ -30905,9 +30876,9 @@ var CaptionsViewer = ({
30905
30876
  const [captionQueue] = useState66(new CaptionMaintainerQueue());
30906
30877
  const [currentData, setCurrentData] = useState66([]);
30907
30878
  const isCaptionEnabled = useIsCaptionEnabled();
30908
- const isTranscriptionEnabled = useHMSStore82(selectIsTranscriptionEnabled5);
30909
- const nodeRef = useRef31(null);
30910
- useEffect57(() => {
30879
+ const isTranscriptionEnabled = useHMSStore81(selectIsTranscriptionEnabled5);
30880
+ const nodeRef = useRef30(null);
30881
+ useEffect56(() => {
30911
30882
  const timeInterval = setInterval(() => {
30912
30883
  var _a8;
30913
30884
  if (!captionQueue) {
@@ -30974,12 +30945,12 @@ var CaptionsViewer = ({
30974
30945
 
30975
30946
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
30976
30947
  init_define_process_env();
30977
- import { useEffect as useEffect58 } from "react";
30978
- import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore83, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
30948
+ import { useEffect as useEffect57 } from "react";
30949
+ import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore82, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
30979
30950
  var useCloseScreenshareWhiteboard = () => {
30980
- const peerSharing = useHMSStore83(selectPeerScreenSharing4);
30951
+ const peerSharing = useHMSStore82(selectPeerScreenSharing4);
30981
30952
  const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
30982
- useEffect58(() => {
30953
+ useEffect57(() => {
30983
30954
  if (isWhiteboardOwner && peerSharing) {
30984
30955
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
30985
30956
  }
@@ -30987,16 +30958,16 @@ var useCloseScreenshareWhiteboard = () => {
30987
30958
  };
30988
30959
 
30989
30960
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30990
- var HLSView = React157.lazy(() => import("./HLSView-YFTHW2VY.js"));
30961
+ var HLSView = React157.lazy(() => import("./HLSView-6QAHWMQF.js"));
30991
30962
  var VideoStreamingSection = ({
30992
30963
  screenType,
30993
30964
  elements,
30994
30965
  hideControls = false
30995
30966
  }) => {
30996
30967
  var _a7;
30997
- const localPeerRoleName = useHMSStore84(selectLocalPeerRoleName6);
30998
- const isConnected = useHMSStore84(selectIsConnectedToRoom9);
30999
- const isSharingScreen = useHMSStore84(selectIsLocalScreenShared2);
30968
+ const localPeerRoleName = useHMSStore83(selectLocalPeerRoleName6);
30969
+ const isConnected = useHMSStore83(selectIsConnectedToRoom9);
30970
+ const isSharingScreen = useHMSStore83(selectIsLocalScreenShared2);
31000
30971
  const hmsActions = useHMSActions48();
31001
30972
  const urlToIframe = useUrlToEmbed();
31002
30973
  const pdfAnnotatorActive = usePDFConfig();
@@ -31006,7 +30977,7 @@ var VideoStreamingSection = ({
31006
30977
  const [captionPosition, setCaptionPosition] = useState67({ x: isMobile ? 0 : -200, y: 0 });
31007
30978
  useCloseScreenshareWhiteboard();
31008
30979
  const { isNotAllowedToPublish, isScreenOnlyPublishParams, hasSubscribedRolePublishing } = useWaitingRoomInfo();
31009
- useEffect59(() => {
30980
+ useEffect58(() => {
31010
30981
  if (!isConnected) {
31011
30982
  return;
31012
30983
  }
@@ -31106,7 +31077,7 @@ init_define_process_env();
31106
31077
  init_define_process_env();
31107
31078
  import React160 from "react";
31108
31079
  import { useMedia as useMedia40 } from "react-use";
31109
- import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as useHMSStore86 } from "@100mslive/react-sdk";
31080
+ import { HMSRoomState as HMSRoomState7, selectRoomState as selectRoomState7, useHMSStore as useHMSStore85 } from "@100mslive/react-sdk";
31110
31081
 
31111
31082
  // src/Prebuilt/components/Header/RoomDetailsHeader.tsx
31112
31083
  init_define_process_env();
@@ -31142,7 +31113,7 @@ import {
31142
31113
  selectVideoTrackByID as selectVideoTrackByID7,
31143
31114
  useDevices as useDevices3,
31144
31115
  useHMSActions as useHMSActions49,
31145
- useHMSStore as useHMSStore85
31116
+ useHMSStore as useHMSStore84
31146
31117
  } from "@100mslive/react-sdk";
31147
31118
  import {
31148
31119
  BluetoothIcon,
@@ -31157,9 +31128,9 @@ var CamaraFlipActions = () => {
31157
31128
  const actions = useHMSActions49();
31158
31129
  const { allDevices } = useDevices3();
31159
31130
  const { videoInput } = allDevices;
31160
- const isVideoOn = useHMSStore85(selectIsLocalVideoEnabled8);
31161
- const videoTrackId = useHMSStore85(selectLocalVideoTrackID3);
31162
- const localVideoTrack = useHMSStore85(selectVideoTrackByID7(videoTrackId));
31131
+ const isVideoOn = useHMSStore84(selectIsLocalVideoEnabled8);
31132
+ const videoTrackId = useHMSStore84(selectLocalVideoTrackID3);
31133
+ const localVideoTrack = useHMSStore84(selectVideoTrackByID7(videoTrackId));
31163
31134
  if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
31164
31135
  return null;
31165
31136
  }
@@ -31297,7 +31268,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React159.createElement(Re
31297
31268
 
31298
31269
  // src/Prebuilt/components/Header/Header.tsx
31299
31270
  var Header2 = () => {
31300
- const roomState = useHMSStore86(selectRoomState7);
31271
+ const roomState = useHMSStore85(selectRoomState7);
31301
31272
  const isMobile = useMedia40(config.media.md);
31302
31273
  if (roomState !== HMSRoomState7.Connected) {
31303
31274
  return /* @__PURE__ */ React160.createElement(React160.Fragment, null);
@@ -31319,12 +31290,12 @@ var Header2 = () => {
31319
31290
 
31320
31291
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
31321
31292
  init_define_process_env();
31322
- import { useEffect as useEffect60 } from "react";
31293
+ import { useEffect as useEffect59 } from "react";
31323
31294
  import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore14 } from "@100mslive/react-sdk";
31324
31295
  var PreviousRoleInMetadata = () => {
31325
31296
  const vanillaStore = useHMSVanillaStore14();
31326
31297
  const { updateMetaData } = useMyMetadata();
31327
- useEffect60(() => {
31298
+ useEffect59(() => {
31328
31299
  let previousRole = vanillaStore.getState(selectLocalPeerRoleName7);
31329
31300
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
31330
31301
  if (previousRole !== currentRole && currentRole) {
@@ -31343,20 +31314,20 @@ var ConferenceScreen = () => {
31343
31314
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
31344
31315
  const screenProps = useRoomLayoutConferencingScreen();
31345
31316
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
31346
- const roomState = useHMSStore87(selectRoomState8);
31347
- const isConnectedToRoom = useHMSStore87(selectIsConnectedToRoom10);
31317
+ const roomState = useHMSStore86(selectRoomState8);
31318
+ const isConnectedToRoom = useHMSStore86(selectIsConnectedToRoom10);
31348
31319
  const hmsActions = useHMSActions50();
31349
31320
  const [hideControls, setHideControls] = useState68(false);
31350
- const dropdownList = useHMSStore87(selectAppData12(APP_DATA.dropdownList));
31321
+ const dropdownList = useHMSStore86(selectAppData12(APP_DATA.dropdownList));
31351
31322
  const authTokenInAppData = useAuthToken();
31352
- const headerRef = useRef32(null);
31353
- const footerRef = useRef32(null);
31323
+ const headerRef = useRef31(null);
31324
+ const footerRef = useRef31(null);
31354
31325
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
31355
- const dropdownListRef = useRef32();
31326
+ const dropdownListRef = useRef31();
31356
31327
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
31357
31328
  const { requestPermission } = useAwayNotifications3();
31358
31329
  const showChat = !!((_a7 = screenProps.elements) == null ? void 0 : _a7.chat);
31359
- const autoRoomJoined = useRef32(isPreviewScreenEnabled);
31330
+ const autoRoomJoined = useRef31(isPreviewScreenEnabled);
31360
31331
  const isMobileHLSStream = useMobileHLSStream();
31361
31332
  const isLandscapeHLSStream = useLandscapeHLSStream();
31362
31333
  const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
@@ -31366,7 +31337,7 @@ var ConferenceScreen = () => {
31366
31337
  setHideControls((value) => !value);
31367
31338
  }
31368
31339
  };
31369
- useEffect61(() => {
31340
+ useEffect60(() => {
31370
31341
  let timeout;
31371
31342
  dropdownListRef.current = dropdownList || [];
31372
31343
  if (dropdownListRef.current && dropdownListRef.current.length === 0) {
@@ -31381,7 +31352,7 @@ var ConferenceScreen = () => {
31381
31352
  clearTimeout(timeout);
31382
31353
  };
31383
31354
  }, [dropdownList, hideControls, isMobileDevice]);
31384
- useEffect61(() => {
31355
+ useEffect60(() => {
31385
31356
  if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== HMSRoomState8.Connecting && !autoRoomJoined.current) {
31386
31357
  hmsActions.join({
31387
31358
  userName: userName || uuid3(),
@@ -31405,7 +31376,7 @@ var ConferenceScreen = () => {
31405
31376
  userName,
31406
31377
  requestPermission
31407
31378
  ]);
31408
- useEffect61(() => {
31379
+ useEffect60(() => {
31409
31380
  onJoinFunc == null ? void 0 : onJoinFunc();
31410
31381
  return () => {
31411
31382
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
@@ -31586,12 +31557,12 @@ var ErrorBoundary = class extends Component {
31586
31557
 
31587
31558
  // src/Prebuilt/components/init/Init.jsx
31588
31559
  init_define_process_env();
31589
- import React163, { useEffect as useEffect63 } from "react";
31560
+ import React163, { useEffect as useEffect62 } from "react";
31590
31561
 
31591
31562
  // src/Prebuilt/services/FeatureFlags.jsx
31592
31563
  init_define_process_env();
31593
- import { useEffect as useEffect62 } from "react";
31594
- import { selectRoomID, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
31564
+ import { useEffect as useEffect61 } from "react";
31565
+ import { selectRoomID, useHMSStore as useHMSStore87 } from "@100mslive/react-sdk";
31595
31566
  var FeatureFlags = class {
31596
31567
  static init(roomId) {
31597
31568
  if (!window.HMS) {
@@ -31616,8 +31587,8 @@ __publicField(FeatureFlags, "enableTranscription", define_process_env_default.RE
31616
31587
  __publicField(FeatureFlags, "enableStatsForNerds", define_process_env_default.REACT_APP_ENABLE_STATS_FOR_NERDS === "true");
31617
31588
  __publicField(FeatureFlags, "enableWhiteboard", define_process_env_default.REACT_APP_ENABLE_WHITEBOARD && define_process_env_default.REACT_APP_PUSHER_APP_KEY && define_process_env_default.REACT_APP_PUSHER_AUTHENDPOINT);
31618
31589
  function FeatureFlagsInit() {
31619
- const roomId = useHMSStore88(selectRoomID);
31620
- useEffect62(() => {
31590
+ const roomId = useHMSStore87(selectRoomID);
31591
+ useEffect61(() => {
31621
31592
  if (roomId) {
31622
31593
  FeatureFlags.init(roomId);
31623
31594
  }
@@ -31628,10 +31599,10 @@ function FeatureFlagsInit() {
31628
31599
  // src/Prebuilt/components/init/Init.jsx
31629
31600
  var Init = () => {
31630
31601
  const { toggleTheme } = useTheme();
31631
- useEffect63(() => {
31602
+ useEffect62(() => {
31632
31603
  window.toggleUiTheme = toggleTheme;
31633
31604
  }, [toggleTheme]);
31634
- useEffect63(() => {
31605
+ useEffect62(() => {
31635
31606
  function resetHeight() {
31636
31607
  var _a7;
31637
31608
  document.body.style.height = `${((_a7 = window.visualViewport) == null ? void 0 : _a7.height) || window.innerHeight}px`;
@@ -31647,7 +31618,7 @@ var Init = () => {
31647
31618
 
31648
31619
  // src/Prebuilt/components/Input/KeyboardInputManager.js
31649
31620
  init_define_process_env();
31650
- import { useEffect as useEffect64 } from "react";
31621
+ import { useEffect as useEffect63 } from "react";
31651
31622
  import {
31652
31623
  selectAppData as selectAppData13,
31653
31624
  selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
@@ -31742,7 +31713,7 @@ _unbind = new WeakMap();
31742
31713
  var KeyboardHandler = () => {
31743
31714
  const store = useHMSVanillaStore15();
31744
31715
  const actions = useHMSActions51();
31745
- useEffect64(() => {
31716
+ useEffect63(() => {
31746
31717
  const keyboardManager = new KeyboardInputManager(store, actions);
31747
31718
  keyboardManager.bindAllShortcuts();
31748
31719
  return keyboardManager.unbindAllShortcuts;
@@ -32267,7 +32238,7 @@ var LeaveScreen = () => {
32267
32238
 
32268
32239
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
32269
32240
  init_define_process_env();
32270
- import React168, { useEffect as useEffect65, useState as useState71 } from "react";
32241
+ import React168, { useEffect as useEffect64, useState as useState71 } from "react";
32271
32242
  import { useMedia as useMedia44 } from "react-use";
32272
32243
  import { match as match14, P as P6 } from "ts-pattern";
32273
32244
  import { RefreshIcon } from "@100mslive/react-icons";
@@ -32275,7 +32246,7 @@ var MwebLandscapePrompt = () => {
32275
32246
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState71(false);
32276
32247
  const isLandscape = useMedia44(config.media.ls);
32277
32248
  const isLandscapeHLSStream = useLandscapeHLSStream();
32278
- useEffect65(() => {
32249
+ useEffect64(() => {
32279
32250
  var _a7;
32280
32251
  if (!isMobileUserAgent) {
32281
32252
  setShowMwebLandscapePrompt(false);
@@ -32320,7 +32291,7 @@ init_define_process_env();
32320
32291
 
32321
32292
  // src/Prebuilt/components/Notifications/Notifications.tsx
32322
32293
  init_define_process_env();
32323
- import React177, { useCallback as useCallback36, useEffect as useEffect76 } from "react";
32294
+ import React177, { useCallback as useCallback36, useEffect as useEffect75 } from "react";
32324
32295
  import {
32325
32296
  HMSNotificationTypes as HMSNotificationTypes11,
32326
32297
  HMSRoomState as HMSRoomState10,
@@ -32331,7 +32302,7 @@ import {
32331
32302
  useAwayNotifications as useAwayNotifications5,
32332
32303
  useCustomEvent as useCustomEvent4,
32333
32304
  useHMSNotifications as useHMSNotifications11,
32334
- useHMSStore as useHMSStore92,
32305
+ useHMSStore as useHMSStore91,
32335
32306
  useHMSVanillaStore as useHMSVanillaStore17
32336
32307
  } from "@100mslive/react-sdk";
32337
32308
  import { GroupIcon as GroupIcon2 } from "@100mslive/react-icons";
@@ -32369,15 +32340,15 @@ function AutoplayBlockedModal() {
32369
32340
 
32370
32341
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
32371
32342
  init_define_process_env();
32372
- import React170, { useEffect as useEffect66 } from "react";
32343
+ import React170, { useEffect as useEffect65 } from "react";
32373
32344
  import { v4 as uuid4 } from "uuid";
32374
- import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
32345
+ import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
32375
32346
  import { ChatIcon as ChatIcon2, ChatUnreadIcon } from "@100mslive/react-icons";
32376
32347
  var NOTIFICATION_TIME_DIFFERENCE = 5e3;
32377
32348
  var ChatNotifications = () => {
32378
- const chatState = useHMSStore89(selectSessionStore13("chatState" /* CHAT_STATE */));
32379
- const localPeerId = useHMSStore89(selectLocalPeerID14);
32380
- useEffect66(() => {
32349
+ const chatState = useHMSStore88(selectSessionStore13("chatState" /* CHAT_STATE */));
32350
+ const localPeerId = useHMSStore88(selectLocalPeerID14);
32351
+ useEffect65(() => {
32381
32352
  var _a7, _b7;
32382
32353
  if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
32383
32354
  return;
@@ -32398,7 +32369,7 @@ var ChatNotifications = () => {
32398
32369
 
32399
32370
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
32400
32371
  init_define_process_env();
32401
- import { useEffect as useEffect67 } from "react";
32372
+ import { useEffect as useEffect66 } from "react";
32402
32373
  import { useDebounce as useDebounce2 } from "react-use";
32403
32374
  import {
32404
32375
  HMSNotificationTypes as HMSNotificationTypes2,
@@ -32410,7 +32381,7 @@ import {
32410
32381
  selectRoomState as selectRoomState9,
32411
32382
  useAwayNotifications as useAwayNotifications4,
32412
32383
  useHMSNotifications as useHMSNotifications2,
32413
- useHMSStore as useHMSStore91,
32384
+ useHMSStore as useHMSStore90,
32414
32385
  useHMSVanillaStore as useHMSVanillaStore16
32415
32386
  } from "@100mslive/react-sdk";
32416
32387
 
@@ -32420,7 +32391,7 @@ init_define_process_env();
32420
32391
  // src/Prebuilt/components/Toast/ToastConfig.jsx
32421
32392
  init_define_process_env();
32422
32393
  import React171, { useCallback as useCallback35 } from "react";
32423
- import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as useHMSStore90 } from "@100mslive/react-sdk";
32394
+ import { selectPeerByID as selectPeerByID5, useHMSActions as useHMSActions53, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
32424
32395
  import {
32425
32396
  ChatUnreadIcon as ChatUnreadIcon2,
32426
32397
  ConnectivityIcon,
@@ -32442,7 +32413,7 @@ var HandRaiseAction = React171.forwardRef(({ id = "", isSingleHandRaise = true }
32442
32413
  const hmsActions = useHMSActions53();
32443
32414
  const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
32444
32415
  const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
32445
- const peer = useHMSStore90(selectPeerByID5(id));
32416
+ const peer = useHMSStore89(selectPeerByID5(id));
32446
32417
  const layout = useRoomLayout();
32447
32418
  const {
32448
32419
  bring_to_stage_label,
@@ -32651,14 +32622,14 @@ ToastManager.addListener(ToastBatcher.syncUItoast.bind(ToastBatcher));
32651
32622
  var HandRaisedNotifications = () => {
32652
32623
  var _a7, _b7;
32653
32624
  const notification = useHMSNotifications2(HMSNotificationTypes2.HAND_RAISE_CHANGED);
32654
- const roomState = useHMSStore91(selectRoomState9);
32625
+ const roomState = useHMSStore90(selectRoomState9);
32655
32626
  const vanillaStore = useHMSVanillaStore16();
32656
32627
  const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
32657
32628
  const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
32658
- const amIScreenSharing = useHMSStore91(selectIsLocalScreenShared3);
32629
+ const amIScreenSharing = useHMSStore90(selectIsLocalScreenShared3);
32659
32630
  const { showNotification } = useAwayNotifications4();
32660
32631
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
32661
- useEffect67(() => {
32632
+ useEffect66(() => {
32662
32633
  var _a8;
32663
32634
  if (!(notification == null ? void 0 : notification.data)) {
32664
32635
  return;
@@ -32698,13 +32669,13 @@ var HandRaisedNotifications = () => {
32698
32669
 
32699
32670
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
32700
32671
  init_define_process_env();
32701
- import React172, { useEffect as useEffect68, useState as useState72 } from "react";
32672
+ import React172, { useEffect as useEffect67, useState as useState72 } from "react";
32702
32673
  import { HMSNotificationTypes as HMSNotificationTypes3, useHMSNotifications as useHMSNotifications3 } from "@100mslive/react-sdk";
32703
32674
  var InitErrorModal = () => {
32704
32675
  const notification = useHMSNotifications3(HMSNotificationTypes3.ERROR);
32705
32676
  const [showModal, setShowModal] = useState72(false);
32706
32677
  const [info, setInfo] = useState72({ title: "Init Error", description: "" });
32707
- useEffect68(() => {
32678
+ useEffect67(() => {
32708
32679
  const data3 = notification == null ? void 0 : notification.data;
32709
32680
  if (!data3 || data3.action !== "INIT") {
32710
32681
  return;
@@ -32729,7 +32700,7 @@ var InitErrorModal = () => {
32729
32700
 
32730
32701
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
32731
32702
  init_define_process_env();
32732
- import { useEffect as useEffect69 } from "react";
32703
+ import { useEffect as useEffect68 } from "react";
32733
32704
  import { HMSNotificationTypes as HMSNotificationTypes4, useHMSNotifications as useHMSNotifications4 } from "@100mslive/react-sdk";
32734
32705
  var notificationTypes = [HMSNotificationTypes4.PEER_JOINED, HMSNotificationTypes4.PEER_LEFT];
32735
32706
  var PeerNotifications = () => {
@@ -32737,7 +32708,7 @@ var PeerNotifications = () => {
32737
32708
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
32738
32709
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
32739
32710
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
32740
- useEffect69(() => {
32711
+ useEffect68(() => {
32741
32712
  if (!(notification == null ? void 0 : notification.data)) {
32742
32713
  return;
32743
32714
  }
@@ -32766,7 +32737,7 @@ var PeerNotifications = () => {
32766
32737
 
32767
32738
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
32768
32739
  init_define_process_env();
32769
- import React173, { useEffect as useEffect70, useState as useState73 } from "react";
32740
+ import React173, { useEffect as useEffect69, useState as useState73 } from "react";
32770
32741
  import { useMedia as useMedia45 } from "react-use";
32771
32742
  import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
32772
32743
 
@@ -32785,7 +32756,7 @@ var PermissionErrorModal = ({ error }) => {
32785
32756
  const [deviceType, setDeviceType] = useState73("");
32786
32757
  const [isSystemError, setIsSystemError] = useState73(false);
32787
32758
  const isMobile = useMedia45(config.media.md);
32788
- useEffect70(() => {
32759
+ useEffect69(() => {
32789
32760
  if (!error || (error == null ? void 0 : error.code) !== 3001 && (error == null ? void 0 : error.code) !== 3011 || (error == null ? void 0 : error.code) === 3001 && (error == null ? void 0 : error.message.includes("screen"))) {
32790
32761
  return;
32791
32762
  }
@@ -32841,7 +32812,7 @@ var PermissionErrorModal = ({ error }) => {
32841
32812
 
32842
32813
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
32843
32814
  init_define_process_env();
32844
- import { useEffect as useEffect71, useRef as useRef33 } from "react";
32815
+ import { useEffect as useEffect70, useRef as useRef32 } from "react";
32845
32816
  import { HMSNotificationTypes as HMSNotificationTypes6, useHMSNotifications as useHMSNotifications6 } from "@100mslive/react-sdk";
32846
32817
  var notificationTypes2 = [
32847
32818
  HMSNotificationTypes6.RECONNECTED,
@@ -32851,8 +32822,8 @@ var notificationTypes2 = [
32851
32822
  var notificationId = null;
32852
32823
  var ReconnectNotifications = () => {
32853
32824
  const notification = useHMSNotifications6(notificationTypes2);
32854
- const prevErrorCode = useRef33(0);
32855
- useEffect71(() => {
32825
+ const prevErrorCode = useRef32(0);
32826
+ useEffect70(() => {
32856
32827
  var _a7, _b7;
32857
32828
  if (!notification) {
32858
32829
  return;
@@ -32875,7 +32846,7 @@ var ReconnectNotifications = () => {
32875
32846
 
32876
32847
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
32877
32848
  init_define_process_env();
32878
- import React174, { useEffect as useEffect72, useState as useState74 } from "react";
32849
+ import React174, { useEffect as useEffect71, useState as useState74 } from "react";
32879
32850
  import {
32880
32851
  HMSNotificationTypes as HMSNotificationTypes7,
32881
32852
  useHMSActions as useHMSActions54,
@@ -32890,7 +32861,7 @@ var TrackBulkUnmuteModal = () => {
32890
32861
  HMSNotificationTypes7.ROOM_ENDED,
32891
32862
  HMSNotificationTypes7.REMOVED_FROM_ROOM
32892
32863
  ]);
32893
- useEffect72(() => {
32864
+ useEffect71(() => {
32894
32865
  switch (notification == null ? void 0 : notification.type) {
32895
32866
  case HMSNotificationTypes7.REMOVED_FROM_ROOM:
32896
32867
  case HMSNotificationTypes7.ROOM_ENDED:
@@ -32929,7 +32900,7 @@ var TrackBulkUnmuteModal = () => {
32929
32900
 
32930
32901
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
32931
32902
  init_define_process_env();
32932
- import { useEffect as useEffect73 } from "react";
32903
+ import { useEffect as useEffect72 } from "react";
32933
32904
  import { HMSNotificationTypes as HMSNotificationTypes8, useHMSNotifications as useHMSNotifications8 } from "@100mslive/react-sdk";
32934
32905
  var notificationTypes3 = [
32935
32906
  HMSNotificationTypes8.TRACK_ADDED,
@@ -32939,7 +32910,7 @@ var notificationTypes3 = [
32939
32910
  ];
32940
32911
  var TrackNotifications = () => {
32941
32912
  const notification = useHMSNotifications8(notificationTypes3);
32942
- useEffect73(() => {
32913
+ useEffect72(() => {
32943
32914
  if (notification) {
32944
32915
  console.debug(`[${notification.type}]`, notification);
32945
32916
  }
@@ -32949,7 +32920,7 @@ var TrackNotifications = () => {
32949
32920
 
32950
32921
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
32951
32922
  init_define_process_env();
32952
- import React175, { useEffect as useEffect74, useState as useState75 } from "react";
32923
+ import React175, { useEffect as useEffect73, useState as useState75 } from "react";
32953
32924
  import {
32954
32925
  HMSNotificationTypes as HMSNotificationTypes9,
32955
32926
  useHMSActions as useHMSActions55,
@@ -32964,7 +32935,7 @@ var TrackUnmuteModal = () => {
32964
32935
  HMSNotificationTypes9.REMOVED_FROM_ROOM
32965
32936
  ]);
32966
32937
  const [muteNotification, setMuteNotification] = useState75(null);
32967
- useEffect74(() => {
32938
+ useEffect73(() => {
32968
32939
  switch (notification == null ? void 0 : notification.type) {
32969
32940
  case HMSNotificationTypes9.REMOVED_FROM_ROOM:
32970
32941
  case HMSNotificationTypes9.ROOM_ENDED:
@@ -32988,7 +32959,7 @@ var TrackUnmuteModal = () => {
32988
32959
  {
32989
32960
  title: `Unmute your ${track.type}?`,
32990
32961
  onOpenChange: (value) => !value && setMuteNotification(null),
32991
- body: `${peer == null ? void 0 : peer.name} is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
32962
+ body: `${peer == null ? void 0 : peer.name}is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
32992
32963
  onAction: () => {
32993
32964
  hmsActions.setEnabledTrack(track.id, enabled);
32994
32965
  setMuteNotification(null);
@@ -33000,14 +32971,14 @@ var TrackUnmuteModal = () => {
33000
32971
 
33001
32972
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
33002
32973
  init_define_process_env();
33003
- import React176, { useEffect as useEffect75 } from "react";
32974
+ import React176, { useEffect as useEffect74 } from "react";
33004
32975
  import { match as match15 } from "ts-pattern";
33005
32976
  import { HMSNotificationTypes as HMSNotificationTypes10, HMSTranscriptionState, useHMSNotifications as useHMSNotifications10 } from "@100mslive/react-sdk";
33006
32977
  import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon3, OpenCaptionIcon as OpenCaptionIcon4 } from "@100mslive/react-icons";
33007
32978
  var TranscriptionNotifications = () => {
33008
32979
  const notification = useHMSNotifications10(HMSNotificationTypes10.TRANSCRIPTION_STATE_UPDATED);
33009
32980
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
33010
- useEffect75(() => {
32981
+ useEffect74(() => {
33011
32982
  if (!(notification == null ? void 0 : notification.data)) {
33012
32983
  return;
33013
32984
  }
@@ -33049,17 +33020,17 @@ var TranscriptionNotifications = () => {
33049
33020
  var pollToastKey = {};
33050
33021
  function Notifications() {
33051
33022
  var _a7, _b7;
33052
- const localPeerID = useHMSStore92(selectLocalPeerID15);
33023
+ const localPeerID = useHMSStore91(selectLocalPeerID15);
33053
33024
  const notification = useHMSNotifications11();
33054
33025
  const subscribedNotifications = useSubscribedNotifications() || {};
33055
- const roomState = useHMSStore92(selectRoomState10);
33026
+ const roomState = useHMSStore91(selectRoomState10);
33056
33027
  const updateRoomLayoutForRole = useUpdateRoomLayout();
33057
33028
  const isNotificationDisabled = useIsNotificationDisabled();
33058
33029
  const screenProps = useRoomLayoutConferencingScreen();
33059
33030
  const vanillaStore = useHMSVanillaStore17();
33060
33031
  const togglePollView = usePollViewToggle();
33061
33032
  const { showNotification } = useAwayNotifications5();
33062
- const amIScreenSharing = useHMSStore92(selectIsLocalScreenShared4);
33033
+ const amIScreenSharing = useHMSStore91(selectIsLocalScreenShared4);
33063
33034
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
33064
33035
  const { pipWindow } = usePIPWindow();
33065
33036
  const handleRoleChangeDenied = useCallback36((request) => {
@@ -33069,7 +33040,7 @@ function Notifications() {
33069
33040
  });
33070
33041
  }, []);
33071
33042
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33072
- useEffect76(() => {
33043
+ useEffect75(() => {
33073
33044
  var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
33074
33045
  if (!notification || isNotificationDisabled) {
33075
33046
  return;
@@ -33255,8 +33226,8 @@ var PreviewScreen = () => {
33255
33226
 
33256
33227
  // src/Prebuilt/components/Toast/ToastContainer.jsx
33257
33228
  init_define_process_env();
33258
- import React181, { useEffect as useEffect77, useState as useState77 } from "react";
33259
- import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore93 } from "@100mslive/react-sdk";
33229
+ import React181, { useEffect as useEffect76, useState as useState77 } from "react";
33230
+ import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
33260
33231
 
33261
33232
  // src/Prebuilt/components/Toast/Toast.jsx
33262
33233
  init_define_process_env();
@@ -33279,9 +33250,9 @@ var Toast2 = (_a7) => {
33279
33250
 
33280
33251
  // src/Prebuilt/components/Toast/ToastContainer.jsx
33281
33252
  var ToastContainer = () => {
33282
- const isConnected = useHMSStore93(selectIsConnectedToRoom11);
33253
+ const isConnected = useHMSStore92(selectIsConnectedToRoom11);
33283
33254
  const [toasts, setToast] = useState77([]);
33284
- useEffect77(() => {
33255
+ useEffect76(() => {
33285
33256
  ToastManager.addListener(setToast);
33286
33257
  return () => {
33287
33258
  ToastManager.removeListener(setToast);
@@ -33302,7 +33273,7 @@ var ToastContainer = () => {
33302
33273
  // src/Prebuilt/layouts/Sheet.tsx
33303
33274
  init_define_process_env();
33304
33275
  import React183 from "react";
33305
- import { selectAppData as selectAppData14, useHMSStore as useHMSStore94 } from "@100mslive/react-sdk";
33276
+ import { selectAppData as selectAppData14, useHMSStore as useHMSStore93 } from "@100mslive/react-sdk";
33306
33277
 
33307
33278
  // src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
33308
33279
  init_define_process_env();
@@ -33326,7 +33297,7 @@ var RoomDetailsSheet = () => {
33326
33297
 
33327
33298
  // src/Prebuilt/layouts/Sheet.tsx
33328
33299
  var Sheet2 = () => {
33329
- const sheet = useHMSStore94(selectAppData14(APP_DATA.sheet));
33300
+ const sheet = useHMSStore93(selectAppData14(APP_DATA.sheet));
33330
33301
  let ViewComponent;
33331
33302
  if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
33332
33303
  ViewComponent = /* @__PURE__ */ React183.createElement(RoomDetailsSheet, null);
@@ -33336,7 +33307,7 @@ var Sheet2 = () => {
33336
33307
 
33337
33308
  // src/Prebuilt/plugins/FlyingEmoji.jsx
33338
33309
  init_define_process_env();
33339
- import React184, { useCallback as useCallback38, useEffect as useEffect78, useMemo as useMemo23, useState as useState78 } from "react";
33310
+ import React184, { useCallback as useCallback38, useEffect as useEffect77, useMemo as useMemo23, useState as useState78 } from "react";
33340
33311
  import { useMedia as useMedia46 } from "react-use";
33341
33312
  import {
33342
33313
  selectIsLargeRoom as selectIsLargeRoom4,
@@ -33344,7 +33315,7 @@ import {
33344
33315
  selectPeerNameByID as selectPeerNameByID8,
33345
33316
  useCustomEvent as useCustomEvent5,
33346
33317
  useHMSActions as useHMSActions56,
33347
- useHMSStore as useHMSStore95,
33318
+ useHMSStore as useHMSStore94,
33348
33319
  useHMSVanillaStore as useHMSVanillaStore18
33349
33320
  } from "@100mslive/react-sdk";
33350
33321
  var emojiCount = 1;
@@ -33371,12 +33342,12 @@ var getStartingPoints = (isMobile) => {
33371
33342
  return arr;
33372
33343
  };
33373
33344
  function FlyingEmoji() {
33374
- const localPeerId = useHMSStore95(selectLocalPeerID16);
33345
+ const localPeerId = useHMSStore94(selectLocalPeerID16);
33375
33346
  const vanillaStore = useHMSVanillaStore18();
33376
33347
  const hmsActions = useHMSActions56();
33377
33348
  const [emojis, setEmojis] = useState78([]);
33378
33349
  const isMobile = useMedia46(config.media.md);
33379
- const isLargeRoom = useHMSStore95(selectIsLargeRoom4);
33350
+ const isLargeRoom = useHMSStore94(selectIsLargeRoom4);
33380
33351
  const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
33381
33352
  const showFlyingEmoji = useCallback38(
33382
33353
  (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
@@ -33410,7 +33381,7 @@ function FlyingEmoji() {
33410
33381
  type: EMOJI_REACTION_TYPE,
33411
33382
  onEvent: showFlyingEmoji
33412
33383
  });
33413
- useEffect78(() => {
33384
+ useEffect77(() => {
33414
33385
  window.showFlyingEmoji = showFlyingEmoji;
33415
33386
  }, [showFlyingEmoji]);
33416
33387
  return /* @__PURE__ */ React184.createElement(
@@ -33489,22 +33460,22 @@ function RemoteStopScreenshare() {
33489
33460
 
33490
33461
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
33491
33462
  init_define_process_env();
33492
- import { useCallback as useCallback40, useEffect as useEffect79, useRef as useRef34 } from "react";
33463
+ import { useCallback as useCallback40, useEffect as useEffect78, useRef as useRef33 } from "react";
33493
33464
  import {
33494
33465
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
33495
33466
  selectPermissions as selectPermissions20,
33496
33467
  useHMSActions as useHMSActions58,
33497
- useHMSStore as useHMSStore96,
33468
+ useHMSStore as useHMSStore95,
33498
33469
  useRecordingStreaming as useRecordingStreaming12
33499
33470
  } from "@100mslive/react-sdk";
33500
33471
  var useAutoStartStreaming = () => {
33501
33472
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
33502
- const permissions = useHMSStore96(selectPermissions20);
33473
+ const permissions = useHMSStore95(selectPermissions20);
33503
33474
  const showStreamingUI = useShowStreamingUI();
33504
33475
  const hmsActions = useHMSActions58();
33505
- const isConnected = useHMSStore96(selectIsConnectedToRoom12);
33476
+ const isConnected = useHMSStore95(selectIsConnectedToRoom12);
33506
33477
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
33507
- const streamStartedRef = useRef34(false);
33478
+ const streamStartedRef = useRef33(false);
33508
33479
  const startHLS = useCallback40(() => __async(void 0, null, function* () {
33509
33480
  try {
33510
33481
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
@@ -33528,12 +33499,12 @@ var useAutoStartStreaming = () => {
33528
33499
  isHLSRecordingOn,
33529
33500
  isBrowserRecordingOn
33530
33501
  ]);
33531
- useEffect79(() => {
33502
+ useEffect78(() => {
33532
33503
  if (!isHLSStarted && !isHLSRunning) {
33533
33504
  streamStartedRef.current = false;
33534
33505
  }
33535
33506
  }, [isHLSStarted, isHLSRunning]);
33536
- useEffect79(() => {
33507
+ useEffect78(() => {
33537
33508
  if (!isConnected || streamStartedRef.current || !(permissions == null ? void 0 : permissions.hlsStreaming)) {
33538
33509
  return;
33539
33510
  }
@@ -33557,9 +33528,9 @@ var HMSPrebuilt = React186.forwardRef(
33557
33528
  onJoin
33558
33529
  }, ref) => {
33559
33530
  var _a7, _b7, _c, _d;
33560
- const reactiveStore = useRef35();
33531
+ const reactiveStore = useRef34();
33561
33532
  const [hydrated, setHydrated] = React186.useState(false);
33562
- useEffect80(() => {
33533
+ useEffect79(() => {
33563
33534
  setHydrated(true);
33564
33535
  const hms = new HMSReactiveStore();
33565
33536
  const hmsStore = hms.getStore();
@@ -33574,13 +33545,13 @@ var HMSPrebuilt = React186.forwardRef(
33574
33545
  hmsNotifications
33575
33546
  };
33576
33547
  }, []);
33577
- useEffect80(() => {
33548
+ useEffect79(() => {
33578
33549
  if (!ref || !reactiveStore.current) {
33579
33550
  return;
33580
33551
  }
33581
33552
  ref.current = __spreadValues({}, reactiveStore.current);
33582
33553
  }, [ref]);
33583
- useEffect80(() => {
33554
+ useEffect79(() => {
33584
33555
  return () => {
33585
33556
  var _a8;
33586
33557
  VBHandler.reset();
@@ -33588,10 +33559,10 @@ var HMSPrebuilt = React186.forwardRef(
33588
33559
  };
33589
33560
  }, []);
33590
33561
  const endpointsObj = endpoints;
33591
- const tokenByRoomCodeEndpoint = endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode;
33592
- const initEndpoint = endpointsObj == null ? void 0 : endpointsObj.init;
33593
- const eventEndpoint = endpointsObj == null ? void 0 : endpointsObj.event;
33594
- const roomLayoutEndpoint = endpointsObj == null ? void 0 : endpointsObj.roomLayout;
33562
+ const tokenByRoomCodeEndpoint = (endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode) || "";
33563
+ const initEndpoint = (endpointsObj == null ? void 0 : endpointsObj.init) || "";
33564
+ const eventEndpoint = (endpointsObj == null ? void 0 : endpointsObj.event) || "";
33565
+ const roomLayoutEndpoint = (endpointsObj == null ? void 0 : endpointsObj.roomLayout) || "";
33595
33566
  const overrideLayout = {
33596
33567
  logo,
33597
33568
  themes,
@@ -33694,9 +33665,9 @@ var AppStates = ({ activeState }) => {
33694
33665
  return match16({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ React186.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ React186.createElement(ConferenceScreen, null));
33695
33666
  };
33696
33667
  var BackSwipe = () => {
33697
- const isConnectedToRoom = useHMSStore97(selectIsConnectedToRoom13);
33668
+ const isConnectedToRoom = useHMSStore96(selectIsConnectedToRoom13);
33698
33669
  const hmsActions = useHMSActions59();
33699
- useEffect80(() => {
33670
+ useEffect79(() => {
33700
33671
  const onRouteLeave = () => __async(void 0, null, function* () {
33701
33672
  if (isConnectedToRoom) {
33702
33673
  yield hmsActions.leave();
@@ -33747,7 +33718,7 @@ init_define_process_env();
33747
33718
 
33748
33719
  // src/Diagnostics/Diagnostics.tsx
33749
33720
  init_define_process_env();
33750
- import React194, { useCallback as useCallback42, useRef as useRef37, useState as useState84 } from "react";
33721
+ import React194, { useCallback as useCallback42, useRef as useRef36, useState as useState84 } from "react";
33751
33722
  import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions61 } from "@100mslive/react-sdk";
33752
33723
  import {
33753
33724
  CheckCircleIcon as CheckCircleIcon7,
@@ -33760,14 +33731,14 @@ import {
33760
33731
 
33761
33732
  // src/Diagnostics/AudioTest.tsx
33762
33733
  init_define_process_env();
33763
- import React190, { useCallback as useCallback41, useEffect as useEffect81, useState as useState80 } from "react";
33734
+ import React190, { useCallback as useCallback41, useEffect as useEffect80, useState as useState80 } from "react";
33764
33735
  import {
33765
33736
  selectDevices,
33766
33737
  selectLocalAudioTrackID as selectLocalAudioTrackID2,
33767
33738
  selectLocalMediaSettings,
33768
33739
  selectTrackAudioByID as selectTrackAudioByID2,
33769
33740
  useHMSActions as useHMSActions60,
33770
- useHMSStore as useHMSStore98
33741
+ useHMSStore as useHMSStore97
33771
33742
  } from "@100mslive/react-sdk";
33772
33743
  import { MicOnIcon as MicOnIcon7, SpeakerIcon as SpeakerIcon5, StopIcon as StopIcon3 } from "@100mslive/react-icons";
33773
33744
 
@@ -33853,11 +33824,11 @@ var TestFooter = ({
33853
33824
  // src/Diagnostics/DeviceSelector.jsx
33854
33825
  init_define_process_env();
33855
33826
  var import_prop_types = __toESM(require_prop_types());
33856
- import React189, { useRef as useRef36, useState as useState79 } from "react";
33827
+ import React189, { useRef as useRef35, useState as useState79 } from "react";
33857
33828
  var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
33858
33829
  var _a7, _b7;
33859
33830
  const [open, setOpen] = useState79(false);
33860
- const ref = useRef36(null);
33831
+ const ref = useRef35(null);
33861
33832
  return /* @__PURE__ */ React189.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React189.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React189.createElement(
33862
33833
  Flex,
33863
33834
  {
@@ -33922,12 +33893,12 @@ var SelectContainer = ({ children }) => /* @__PURE__ */ React190.createElement(B
33922
33893
  var MicTest = ({ setError }) => {
33923
33894
  var _a7, _b7;
33924
33895
  const { hmsDiagnostics } = useDiagnostics();
33925
- const devices = useHMSStore98(selectDevices);
33896
+ const devices = useHMSStore97(selectDevices);
33926
33897
  const [isRecording, setIsRecording] = useState80(false);
33927
33898
  const [selectedMic, setSelectedMic] = useState80(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
33928
- const trackID = useHMSStore98(selectLocalAudioTrackID2);
33929
- const audioLevel = useHMSStore98(selectTrackAudioByID2(trackID));
33930
- const { audioOutputDeviceId } = useHMSStore98(selectLocalMediaSettings);
33899
+ const trackID = useHMSStore97(selectLocalAudioTrackID2);
33900
+ const audioLevel = useHMSStore97(selectTrackAudioByID2(trackID));
33901
+ const { audioOutputDeviceId } = useHMSStore97(selectLocalMediaSettings);
33931
33902
  const { playing, setPlaying, audioRef } = useAudioOutputTest({
33932
33903
  deviceId: audioOutputDeviceId || ((_b7 = devices.audioOutput[0]) == null ? void 0 : _b7.deviceId)
33933
33904
  });
@@ -34003,8 +33974,8 @@ var MicTest = ({ setError }) => {
34003
33974
  var SpeakerTest = () => {
34004
33975
  var _a7;
34005
33976
  const actions = useHMSActions60();
34006
- const devices = useHMSStore98(selectDevices);
34007
- const { audioOutputDeviceId } = useHMSStore98(selectLocalMediaSettings);
33977
+ const devices = useHMSStore97(selectDevices);
33978
+ const { audioOutputDeviceId } = useHMSStore97(selectLocalMediaSettings);
34008
33979
  if (devices.audioOutput.length === 0) {
34009
33980
  return /* @__PURE__ */ React190.createElement(React190.Fragment, null);
34010
33981
  }
@@ -34031,7 +34002,7 @@ var AudioTest = () => {
34031
34002
  },
34032
34003
  [updateStep, setErrorAlone]
34033
34004
  );
34034
- useEffect81(() => {
34005
+ useEffect80(() => {
34035
34006
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.requestPermission({ audio: true }).catch((error2) => setError(error2));
34036
34007
  }, [hmsDiagnostics, setError]);
34037
34008
  return /* @__PURE__ */ React190.createElement(React190.Fragment, null, /* @__PURE__ */ React190.createElement(TestContainer, null, /* @__PURE__ */ React190.createElement(Text, { variant: "body2", css: { c: "$on_primary_medium" } }, "Record a 10 second audio clip and play it back to check that your microphone and speaker are working. If they aren't, make sure your volume is turned up, try a different speaker or microphone, or check your bluetooth settings."), /* @__PURE__ */ React190.createElement(
@@ -34053,7 +34024,7 @@ var AudioTest = () => {
34053
34024
 
34054
34025
  // src/Diagnostics/BrowserTest.tsx
34055
34026
  init_define_process_env();
34056
- import React191, { useEffect as useEffect82, useState as useState81 } from "react";
34027
+ import React191, { useEffect as useEffect81, useState as useState81 } from "react";
34057
34028
  import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
34058
34029
  var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
34059
34030
  var operatingSystemIconInfo = {
@@ -34140,7 +34111,7 @@ var BrowserTest = () => {
34140
34111
  var _a7, _b7, _c, _d;
34141
34112
  const { hmsDiagnostics, updateStep } = useDiagnostics();
34142
34113
  const [error, setError] = useState81();
34143
- useEffect82(() => {
34114
+ useEffect81(() => {
34144
34115
  try {
34145
34116
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
34146
34117
  } catch (err) {
@@ -34389,22 +34360,22 @@ var downloadJson = (obj, fileName) => {
34389
34360
 
34390
34361
  // src/Diagnostics/VideoTest.tsx
34391
34362
  init_define_process_env();
34392
- import React193, { useEffect as useEffect83, useState as useState83 } from "react";
34363
+ import React193, { useEffect as useEffect82, useState as useState83 } from "react";
34393
34364
  import {
34394
34365
  selectDevices as selectDevices2,
34395
34366
  selectLocalMediaSettings as selectLocalMediaSettings2,
34396
34367
  selectLocalVideoTrackID as selectLocalVideoTrackID4,
34397
- useHMSStore as useHMSStore99
34368
+ useHMSStore as useHMSStore98
34398
34369
  } from "@100mslive/react-sdk";
34399
34370
  import { VideoOnIcon as VideoOnIcon5 } from "@100mslive/react-icons";
34400
34371
  var VideoTest = () => {
34401
34372
  const { hmsDiagnostics, updateStep } = useDiagnostics();
34402
- const allDevices = useHMSStore99(selectDevices2);
34373
+ const allDevices = useHMSStore98(selectDevices2);
34403
34374
  const { videoInput } = allDevices;
34404
- const trackID = useHMSStore99(selectLocalVideoTrackID4);
34405
- const sdkSelectedDevices = useHMSStore99(selectLocalMediaSettings2);
34375
+ const trackID = useHMSStore98(selectLocalVideoTrackID4);
34376
+ const sdkSelectedDevices = useHMSStore98(selectLocalMediaSettings2);
34406
34377
  const [error, setError] = useState83();
34407
- useEffect83(() => {
34378
+ useEffect82(() => {
34408
34379
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
34409
34380
  updateStep(1 /* VIDEO */, { hasFailed: true });
34410
34381
  setError(err);
@@ -34529,7 +34500,7 @@ var DiagnosticsProvider = () => {
34529
34500
  const actions = useHMSActions61();
34530
34501
  const [activeStep, setActiveStep] = useState84(0);
34531
34502
  const [steps, setSteps] = useState84(initialSteps);
34532
- const diagnosticsRef = useRef37(actions.initDiagnostics());
34503
+ const diagnosticsRef = useRef36(actions.initDiagnostics());
34533
34504
  const updateStep = useCallback42((step, value) => {
34534
34505
  setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
34535
34506
  }, []);
@@ -34683,4 +34654,4 @@ object-assign/index.js:
34683
34654
  @license MIT
34684
34655
  *)
34685
34656
  */
34686
- //# sourceMappingURL=chunk-Y3UYAB6J.js.map
34657
+ //# sourceMappingURL=chunk-ACEDLM3B.js.map