@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
package/dist/index.cjs.js CHANGED
@@ -45,13 +45,13 @@ var __export = (target, all) => {
45
45
  for (var name in all)
46
46
  __defProp(target, name, { get: all[name], enumerable: true });
47
47
  };
48
- var __copyProps = (to, from, except, desc) => {
48
+ var __copyProps = (to2, from, except, desc) => {
49
49
  if (from && typeof from === "object" || typeof from === "function") {
50
50
  for (let key of __getOwnPropNames(from))
51
- if (!__hasOwnProp.call(to, key) && key !== except)
52
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
51
+ if (!__hasOwnProp.call(to2, key) && key !== except)
52
+ __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
53
53
  }
54
- return to;
54
+ return to2;
55
55
  };
56
56
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
57
57
  // If the importer is in node compatibility mode or this is not an ESM
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- 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" };
112
+ 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" };
113
113
  }
114
114
  });
115
115
 
@@ -2644,8 +2644,8 @@ var init_useBorderAudioLevel = __esm({
2644
2644
  import_react19 = require("react");
2645
2645
  import_react_sdk3 = require("@100mslive/react-sdk");
2646
2646
  init_Theme();
2647
- sigmoid = (z) => {
2648
- return 1 / (1 + Math.exp(-z));
2647
+ sigmoid = (z2) => {
2648
+ return 1 / (1 + Math.exp(-z2));
2649
2649
  };
2650
2650
  }
2651
2651
  });
@@ -10395,15 +10395,6 @@ var init_VBHandler = __esm({
10395
10395
  this.effectsPlugin = void 0;
10396
10396
  this.hmsPlugin = void 0;
10397
10397
  };
10398
- this.isBlurSupported = () => {
10399
- if ((isSafari || isIOS) && this.hmsPlugin) {
10400
- return false;
10401
- }
10402
- if (this.effectsPlugin) {
10403
- return true;
10404
- }
10405
- return false;
10406
- };
10407
10398
  this.isEffectsSupported = () => {
10408
10399
  var _a7, _b7;
10409
10400
  if (!isSafari) {
@@ -11959,6 +11950,7 @@ var init_SettingsModal = __esm({
11959
11950
  {
11960
11951
  direction: "column",
11961
11952
  css: {
11953
+ px: "$8",
11962
11954
  pb: "$8",
11963
11955
  overflowY: "auto"
11964
11956
  }
@@ -11976,7 +11968,7 @@ var init_SettingsModal = __esm({
11976
11968
  css: {
11977
11969
  all: "unset",
11978
11970
  fontFamily: "$sans",
11979
- p: "$10 $8",
11971
+ py: "$10",
11980
11972
  display: "flex",
11981
11973
  alignItems: "center",
11982
11974
  fontSize: "$sm",
@@ -21553,7 +21545,7 @@ function Ue(a2, e) {
21553
21545
  if (e)
21554
21546
  for (let r of e.auxiliaryTracks) {
21555
21547
  let s = a2[r];
21556
- ao(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
21548
+ oo(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
21557
21549
  }
21558
21550
  return { video: t, audio: i };
21559
21551
  }
@@ -21563,7 +21555,7 @@ function pt(a2) {
21563
21555
  function ht(a2) {
21564
21556
  return a2 && a2.type === "video";
21565
21557
  }
21566
- function ao(a2) {
21558
+ function oo(a2) {
21567
21559
  return a2 && a2.source === "screen";
21568
21560
  }
21569
21561
  function si(a2) {
@@ -21572,7 +21564,7 @@ function si(a2) {
21572
21564
  function mt(a2) {
21573
21565
  return a2 && a2.source === "videoplaylist";
21574
21566
  }
21575
- function ls(a2) {
21567
+ function us(a2) {
21576
21568
  return a2 ? !!(a2 != null && a2.degraded) : false;
21577
21569
  }
21578
21570
  function je(a2, e) {
@@ -21583,7 +21575,7 @@ function St(a2) {
21583
21575
  let e = false, t = false, i = false;
21584
21576
  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 };
21585
21577
  }
21586
- function lo() {
21578
+ function uo() {
21587
21579
  if (B && window) {
21588
21580
  let a2 = window.location.hostname;
21589
21581
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
@@ -21596,9 +21588,9 @@ function ce(a2) {
21596
21588
  function vt(a2 = "prod", e) {
21597
21589
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21598
21590
  if (Be)
21599
- 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 });
21591
+ 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 });
21600
21592
  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;
21601
- 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 });
21593
+ 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 });
21602
21594
  }
21603
21595
  function kr(a2) {
21604
21596
  return a2.replace(/ /g, "_");
@@ -21622,7 +21614,7 @@ function Jm(a2) {
21622
21614
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21623
21615
  };
21624
21616
  }
21625
- var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, jt, import_eventemitter24, import_uuid9, import_uuid10, Xa, Za, eo, ti, os, ns, as, m, y, gr, ro, c, yr, Tr, so, cs, fr, ds, ps, oo, l, he, B, hs, Be, co, cc, ms, Ss, Ms, gs, Ts, ys, ks, Qe, P4, f, uo, S, Mr, Es, me, ai, Is, As, C, E, Er, Y, Pr, br, Rr, Ls, ws, Ds, _s, Ns, Hr, Os, Cr, Vs, Lr, Fs, wr, Dr, $s, Ks, Pt, rt, V, _o, Zh, em, j, Mi, ea, O, Gr, No, Oe, rm, Oo, fe, xo, ie, Ee, sm, am, ne, X, Uo, ia, om, nm, $r, Bo, dm, lm, um, pm, hm, mm, Sm, gm, Rt, Vo, Tm, re, sa, fm, vm, ve, Mm, at, Fo, aa, ym, oa, km, Em, Pm, bm, Im, Am, Rm, Hm, Cm, Lm, na, Nm, Go, Om, da, Kr, la, ua, pa, ha, ma, Sa, ga, Ta, Ht, b, qr, Ct, fa, Wo, $o, J, jr, Ko, qo, jo, Jo, Qo, Z, jm, zm, Ym, yi, va, Xm, Zm, eS, zo, Yo, iS, Ma, rS, Xo, sS, aS, oS, nS, cS, dS, ya, ka, uS, pS, Ea, hS, mS, Pa, SS, gS, TS, ba, Ia, Zo, en, tn, fS, vS, MS, yS, kS, Aa, _S, rn, NS, OS, xS, an, on, dn, Xr, be, Vt, Q, sr, lt, Hn, Cn, Ln, wn, za, Dn, Ya, is, Ae, _n, Nn, On, xn, Un, Bn, Vn, Fn, Gn, Wn, rs, $n, Kn, qn, jn, Jn, Qn;
21617
+ var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, jt, import_eventemitter24, import_uuid9, import_uuid10, Za, eo, to, ti, ns, cs, os, h, M, gr, so, c, yr, Tr, ao, ds, fr, ls, hs, no, l, he, B, ms, Be, lo, cc, Ss, gs, ys, Ts, fs, ks, Es, Qe, P4, f, po, S, Mr, Ps, me, ai, As, Rs, H, y, Er, z, Pr, br, Rr, ws, Ds, _s, Ns, Os, Hr, xs, Cr, Fs, Lr, Gs, wr, Dr, Ks, qs, Pt, rt, V, No, Zh, em, j, Mi, ta, O, Gr, Oo, Oe, rm, xo, fe, Uo, ie, Ee, sm, am, ne, Y, Bo, ra, om, nm, $r, Vo, dm, lm, um, pm, hm, mm, Sm, gm, Rt, Fo, Tm, re, aa, fm, vm, ve, Mm, at, Go, oa, ym, na, km, Em, Pm, bm, Im, Am, Rm, Hm, Cm, Lm, ca, Nm, Wo, Om, la, Kr, ua, pa, ha, ma, Sa, ga, Ta, fa, Ht, b, qr, Ct, va, $o, Ko, J, jr, qo, jo, Jo, Qo, zo, X, jm, zm, Ym, yi, Ma, Xm, Zm, eS, Yo, Xo, iS, ya, rS, Zo, sS, aS, oS, nS, cS, dS, ka, Ea, uS, pS, Pa, hS, mS, ba, SS, gS, TS, Ia, Aa, en, tn, rn, fS, vS, MS, yS, kS, Ra, _S, sn, NS, OS, xS, on, nn, ln, Xr, be, Vt, Q, sr, lt, Hn, Cn, Ln, wn, Ya, Dn, Xa, rs, Ae, _n, Nn, On, xn, Un, Bn, Vn, Fn, Gn, Wn, ss, $n, Kn, qn, jn, Jn, Qn;
21626
21618
  var init_dist = __esm({
21627
21619
  "../hms-video-store/dist/index.js"() {
21628
21620
  "use strict";
@@ -21650,32 +21642,32 @@ var init_dist = __esm({
21650
21642
  import_uuid9 = require("uuid");
21651
21643
  import_uuid10 = require("uuid");
21652
21644
  init_es();
21653
- Xa = Object.defineProperty;
21654
- Za = Object.defineProperties;
21655
- eo = Object.getOwnPropertyDescriptors;
21645
+ Za = Object.defineProperty;
21646
+ eo = Object.defineProperties;
21647
+ to = Object.getOwnPropertyDescriptors;
21656
21648
  ti = Object.getOwnPropertySymbols;
21657
- os = Object.prototype.hasOwnProperty;
21658
- ns = Object.prototype.propertyIsEnumerable;
21659
- as = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21660
- m = (a2, e) => {
21649
+ ns = Object.prototype.hasOwnProperty;
21650
+ cs = Object.prototype.propertyIsEnumerable;
21651
+ os = (a2, e, t) => e in a2 ? Za(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21652
+ h = (a2, e) => {
21661
21653
  for (var t in e || (e = {}))
21662
- os.call(e, t) && as(a2, t, e[t]);
21654
+ ns.call(e, t) && os(a2, t, e[t]);
21663
21655
  if (ti)
21664
21656
  for (var t of ti(e))
21665
- ns.call(e, t) && as(a2, t, e[t]);
21657
+ cs.call(e, t) && os(a2, t, e[t]);
21666
21658
  return a2;
21667
21659
  };
21668
- y = (a2, e) => Za(a2, eo(e));
21660
+ M = (a2, e) => eo(a2, to(e));
21669
21661
  gr = (a2, e) => {
21670
21662
  var t = {};
21671
21663
  for (var i in a2)
21672
- os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21664
+ ns.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21673
21665
  if (a2 != null && ti)
21674
21666
  for (var i of ti(a2))
21675
- e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
21667
+ e.indexOf(i) < 0 && cs.call(a2, i) && (t[i] = a2[i]);
21676
21668
  return t;
21677
21669
  };
21678
- ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21670
+ so = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21679
21671
  c = (a2, e, t) => new Promise((i, r) => {
21680
21672
  var s = (d) => {
21681
21673
  try {
@@ -21692,16 +21684,16 @@ var init_dist = __esm({
21692
21684
  }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21693
21685
  n((t = t.apply(a2, e)).next());
21694
21686
  });
21695
- yr = ro((_c, ho) => {
21696
- 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"] };
21687
+ yr = so((_c, mo) => {
21688
+ 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"] };
21697
21689
  });
21698
21690
  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 || {});
21699
- so = ((e) => (e.CHAT = "chat", e))(so || {});
21700
- cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
21691
+ ao = ((e) => (e.CHAT = "chat", e))(ao || {});
21692
+ ds = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ds || {});
21701
21693
  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 || {});
21702
- ds = ((t) => (t.audio = "audio", t.video = "video", t))(ds || {});
21703
- 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 || {});
21704
- oo = typeof window != "undefined" && typeof window.expect != "undefined";
21694
+ ls = ((t) => (t.audio = "audio", t.video = "video", t))(ls || {});
21695
+ 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 || {});
21696
+ no = typeof window != "undefined" && typeof window.expect != "undefined";
21705
21697
  l = class {
21706
21698
  static v(e, ...t) {
21707
21699
  this.log(0, e, ...t);
@@ -21767,16 +21759,16 @@ var init_dist = __esm({
21767
21759
  }
21768
21760
  }
21769
21761
  };
21770
- l.level = oo ? 7 : 0;
21762
+ l.level = no ? 7 : 0;
21771
21763
  he = new import_ua_parser_js.UAParser();
21772
21764
  B = typeof window != "undefined";
21773
- Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
21774
- co = () => !Be;
21775
- cc = co();
21776
- Ms = (Ss = (ms = he.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase().includes("safari");
21777
- ys = ((Ts = (gs = he.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
21778
- ks = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ks || {});
21779
- Qe = lo();
21765
+ Be = typeof window == "undefined" && !((ms = he.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
21766
+ lo = () => !Be;
21767
+ cc = lo();
21768
+ ys = (gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase().includes("safari");
21769
+ ks = ((fs = (Ts = he.getBrowser()) == null ? void 0 : Ts.name) == null ? void 0 : fs.toLowerCase()) === "firefox";
21770
+ Es = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Es || {});
21771
+ Qe = uo();
21780
21772
  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 } };
21781
21773
  f = class a extends Error {
21782
21774
  constructor(t, i, r, s, o, n = false) {
@@ -21807,7 +21799,7 @@ var init_dist = __esm({
21807
21799
  }`;
21808
21800
  }
21809
21801
  };
21810
- uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21802
+ po = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21811
21803
  S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21812
21804
  return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21813
21805
  }, WebSocketConnectionLost(a2, e = "") {
@@ -21867,7 +21859,7 @@ var init_dist = __esm({
21867
21859
  }, StatsFailed(a2, e = "") {
21868
21860
  return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21869
21861
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21870
- return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
21862
+ return new f(a2, "ServerErrors", e, t, t, po.includes(e));
21871
21863
  }, AlreadyJoined(a2, e = "") {
21872
21864
  return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21873
21865
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -21940,7 +21932,7 @@ var init_dist = __esm({
21940
21932
  return this.valuesMap.size;
21941
21933
  }
21942
21934
  };
21943
- Es = () => {
21935
+ Ps = () => {
21944
21936
  try {
21945
21937
  B && !localStorage && (window.localStorage = new Mr());
21946
21938
  } catch (a2) {
@@ -21954,7 +21946,7 @@ var init_dist = __esm({
21954
21946
  }
21955
21947
  getStorage() {
21956
21948
  try {
21957
- return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
21949
+ return B && !this.storage && (Ps(), this.storage = window.localStorage), this.storage;
21958
21950
  } catch (e) {
21959
21951
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21960
21952
  }
@@ -21978,117 +21970,117 @@ var init_dist = __esm({
21978
21970
  let a2, e = new me("hms-analytics-deviceId"), t = e.get();
21979
21971
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21980
21972
  };
21981
- Is = yr().version;
21982
- As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21983
- C = class {
21973
+ As = yr().version;
21974
+ Rs = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21975
+ H = class {
21984
21976
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21985
21977
  this.metadata = { peer: {}, userAgent: vt() };
21986
21978
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = ai();
21987
21979
  }
21988
21980
  toSignalParams() {
21989
- return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21981
+ return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21990
21982
  }
21991
21983
  };
21992
- E = class {
21984
+ y = class {
21993
21985
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21994
- 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);
21995
- return new C({ name: o, level: n, properties: d });
21986
+ 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);
21987
+ return new H({ name: o, level: n, properties: d });
21996
21988
  }
21997
21989
  static disconnect(e, t) {
21998
21990
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
21999
- return new C({ name: i, level: r, properties: s });
21991
+ return new H({ name: i, level: r, properties: s });
22000
21992
  }
22001
21993
  static preview(i) {
22002
21994
  var r = i, { error: e } = r, t = gr(r, ["error"]);
22003
21995
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
22004
- return new C({ name: s, level: o, properties: n });
21996
+ return new H({ name: s, level: o, properties: n });
22005
21997
  }
22006
21998
  static join(i) {
22007
21999
  var r = i, { error: e } = r, t = gr(r, ["error"]);
22008
- 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);
22009
- return new C({ name: s, level: o, properties: n });
22000
+ 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);
22001
+ return new H({ name: s, level: o, properties: n });
22010
22002
  }
22011
22003
  static publish({ devices: e, settings: t, error: i }) {
22012
22004
  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);
22013
- return new C({ name: r, level: s, properties: o });
22005
+ return new H({ name: r, level: s, properties: o });
22014
22006
  }
22015
22007
  static hlsPlayerError(e) {
22016
- return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
22008
+ return new H({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
22017
22009
  }
22018
22010
  static subscribeFail(e) {
22019
22011
  let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
22020
- return new C({ name: t, level: i, properties: r });
22012
+ return new H({ name: t, level: i, properties: r });
22021
22013
  }
22022
22014
  static leave() {
22023
- return new C({ name: "leave", level: 1 });
22015
+ return new H({ name: "leave", level: 1 });
22024
22016
  }
22025
22017
  static autoplayError() {
22026
- return new C({ name: "autoplayError", level: 2 });
22018
+ return new H({ name: "autoplayError", level: 2 });
22027
22019
  }
22028
22020
  static audioPlaybackError(e) {
22029
- return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
22021
+ return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
22030
22022
  }
22031
22023
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
22032
22024
  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);
22033
- return new C({ name: o, level: n, properties: d });
22025
+ return new H({ name: o, level: n, properties: d });
22034
22026
  }
22035
22027
  static performance(e) {
22036
22028
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
22037
- return new C({ name: t, level: i, properties: r });
22029
+ return new H({ name: t, level: i, properties: r });
22038
22030
  }
22039
22031
  static rtcStats(e) {
22040
22032
  let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
22041
- return new C({ name: t, level: i, properties: r });
22033
+ return new H({ name: t, level: i, properties: r });
22042
22034
  }
22043
22035
  static rtcStatsFailed(e) {
22044
22036
  let t = "rtc.stats.failed", i = 2;
22045
- return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
22037
+ return new H({ name: t, level: i, properties: this.getErrorProperties(e) });
22046
22038
  }
22047
22039
  static degradationStats(e, t) {
22048
22040
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
22049
22041
  if (!t && e.degradedAt instanceof Date) {
22050
22042
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
22051
- s = y(m({}, s), { duration: n, restoredAt: o });
22043
+ s = M(h({}, s), { duration: n, restoredAt: o });
22052
22044
  }
22053
- return new C({ name: i, level: r, properties: s });
22045
+ return new H({ name: i, level: r, properties: s });
22054
22046
  }
22055
22047
  static audioDetectionFail(e, t) {
22056
22048
  let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
22057
- return new C({ name: s, level: r, properties: i });
22049
+ return new H({ name: s, level: r, properties: i });
22058
22050
  }
22059
22051
  static previewNetworkQuality(e) {
22060
- return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
22052
+ return new H({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
22061
22053
  }
22062
22054
  static publishStats(e) {
22063
- return new C({ name: "publisher.stats", level: 1, properties: e });
22055
+ return new H({ name: "publisher.stats", level: 1, properties: e });
22064
22056
  }
22065
22057
  static subscribeStats(e) {
22066
- return new C({ name: "subscriber.stats", level: 1, properties: e });
22058
+ return new H({ name: "subscriber.stats", level: 1, properties: e });
22067
22059
  }
22068
22060
  static getKrispUsage(e) {
22069
- return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
22061
+ return new H({ name: "krisp.usage", level: 1, properties: { duration: e } });
22070
22062
  }
22071
22063
  static krispStart() {
22072
- return new C({ name: "krisp.start", level: 1 });
22064
+ return new H({ name: "krisp.start", level: 1 });
22073
22065
  }
22074
22066
  static krispStop() {
22075
- return new C({ name: "krisp.stop", level: 1 });
22067
+ return new H({ name: "krisp.stop", level: 1 });
22076
22068
  }
22077
22069
  static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
22078
- return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
22070
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
22079
22071
  }
22080
22072
  static eventNameFor(e, t) {
22081
22073
  return `${e}.${t ? "success" : "failed"}`;
22082
22074
  }
22083
22075
  static getPropertiesWithError(e, t) {
22084
22076
  let i = this.getErrorProperties(t);
22085
- return e = m(m({}, i), e), e;
22077
+ return e = h(h({}, i), e), e;
22086
22078
  }
22087
22079
  static getErrorProperties(e) {
22088
22080
  return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
22089
22081
  }
22090
22082
  };
22091
- E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
22083
+ y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
22092
22084
  Er = class {
22093
22085
  constructor() {
22094
22086
  this.storage = new me("hms-device-selection");
@@ -22123,17 +22115,17 @@ var init_dist = __esm({
22123
22115
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
22124
22116
  }
22125
22117
  };
22126
- Y = new Er();
22118
+ z = new Er();
22127
22119
  Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
22128
22120
  br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
22129
22121
  Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
22130
- 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 || {});
22131
- ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
22132
- Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
22133
- _s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(_s || {});
22134
- Ns = ((e) => (e.CAPTION = "caption", e))(Ns || {});
22122
+ 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 || {});
22123
+ Ds = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ds || {});
22124
+ _s = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(_s || {});
22125
+ Ns = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Ns || {});
22126
+ Os = ((e) => (e.CAPTION = "caption", e))(Os || {});
22135
22127
  Hr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Hr || {});
22136
- Os = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Os || {});
22128
+ xs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(xs || {});
22137
22129
  Cr = class {
22138
22130
  constructor() {
22139
22131
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -22161,7 +22153,7 @@ var init_dist = __esm({
22161
22153
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
22162
22154
  }
22163
22155
  };
22164
- Vs = new Cr();
22156
+ Fs = new Cr();
22165
22157
  Lr = class {
22166
22158
  constructor() {
22167
22159
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -22189,43 +22181,43 @@ var init_dist = __esm({
22189
22181
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
22190
22182
  }
22191
22183
  };
22192
- Fs = new Lr();
22184
+ Gs = new Lr();
22193
22185
  wr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(wr || {});
22194
22186
  Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
22195
- $s = "https://event.100ms.live/v2/client/report";
22196
- Ks = "https://event-nonprod.100ms.live/v2/client/report";
22187
+ Ks = "https://event.100ms.live/v2/client/report";
22188
+ qs = "https://event-nonprod.100ms.live/v2/client/report";
22197
22189
  Pt = Math.pow(2, 31) - 1;
22198
22190
  rt = class {
22199
22191
  };
22200
22192
  rt.makePeerId = () => (0, import_uuid7.v4)();
22201
22193
  V = (a2) => a2.room;
22202
- _o = (a2) => a2.errors;
22203
- Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
22194
+ No = (a2) => a2.errors;
22195
+ Zh = createSelector(No, (a2) => a2.length === 0 ? null : a2.at(-1));
22204
22196
  em = createSelector(V, (a2) => a2.id);
22205
22197
  j = (a2) => a2.peers;
22206
22198
  Mi = (a2) => a2.messages.byID;
22207
- ea = (a2) => a2.messages.allIDs;
22199
+ ta = (a2) => a2.messages.allIDs;
22208
22200
  O = (a2) => a2.tracks;
22209
22201
  Gr = (a2) => a2.appData;
22210
- No = (a2) => a2.speakers;
22202
+ Oo = (a2) => a2.speakers;
22211
22203
  Oe = createSelector([V], (a2) => a2 && a2.isConnected);
22212
22204
  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));
22213
- Oo = (a2) => a2.hideLocalPeer;
22214
- 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]));
22215
- xo = createSelector(O, (a2) => Object.values(a2));
22205
+ xo = (a2) => a2.hideLocalPeer;
22206
+ 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]));
22207
+ Uo = createSelector(O, (a2) => Object.values(a2));
22216
22208
  ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
22217
22209
  Ee = createSelector(V, (a2) => a2.localPeer);
22218
22210
  sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22219
22211
  am = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22220
22212
  ne = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
22221
- X = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22222
- Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22223
- ia = createSelector([ne, X, Uo], (a2, e, t) => {
22213
+ Y = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22214
+ Bo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22215
+ ra = createSelector([ne, Y, Bo], (a2, e, t) => {
22224
22216
  let i = t ? [...t] : [];
22225
22217
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22226
22218
  });
22227
22219
  om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
22228
- nm = createSelector(j, No, (a2, e) => {
22220
+ nm = createSelector(j, Oo, (a2, e) => {
22229
22221
  let t = Object.entries(e).sort((i, r) => {
22230
22222
  var n, d;
22231
22223
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -22242,7 +22234,7 @@ var init_dist = __esm({
22242
22234
  let { video: t, audio: i } = Ue(e, a2);
22243
22235
  return !!(t || i);
22244
22236
  });
22245
- Bo = createSelector(j, O, (a2, e) => {
22237
+ Vo = createSelector(j, O, (a2, e) => {
22246
22238
  let t;
22247
22239
  for (let i in a2) {
22248
22240
  let r = a2[i], { video: s, audio: o } = Ue(e, r);
@@ -22252,7 +22244,7 @@ var init_dist = __esm({
22252
22244
  }
22253
22245
  return t;
22254
22246
  });
22255
- dm = createSelector(Bo, (a2) => !!a2);
22247
+ dm = createSelector(Vo, (a2) => !!a2);
22256
22248
  lm = createSelector(j, O, (a2, e) => {
22257
22249
  for (let t in a2) {
22258
22250
  let i = a2[t], { audio: r, video: s } = Ue(e, i);
@@ -22282,37 +22274,37 @@ var init_dist = __esm({
22282
22274
  return a2[i.peerId];
22283
22275
  }
22284
22276
  });
22285
- mm = createSelector(xo, (a2) => a2.filter(ls));
22286
- Sm = createSelector(ea, (a2) => a2.length);
22277
+ mm = createSelector(Uo, (a2) => a2.filter(us));
22278
+ Sm = createSelector(ta, (a2) => a2.length);
22287
22279
  gm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22288
- Rt = createSelector(ea, Mi, (a2, e) => {
22280
+ Rt = createSelector(ta, Mi, (a2, e) => {
22289
22281
  let t = [];
22290
22282
  return a2.forEach((i) => {
22291
22283
  t.push(e[i]);
22292
22284
  }), t;
22293
22285
  });
22294
- Vo = createSelector(Rt, (a2) => a2.filter((e) => {
22286
+ Fo = createSelector(Rt, (a2) => a2.filter((e) => {
22295
22287
  var t;
22296
22288
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22297
22289
  }));
22298
- Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
22290
+ Tm = createSelector(Fo, (a2) => a2.filter((e) => !e.read).length);
22299
22291
  re = createSelector([V], (a2) => a2 && a2.roomState);
22300
- sa = createSelector(re, (a2) => a2 === "Preview");
22292
+ aa = createSelector(re, (a2) => a2 === "Preview");
22301
22293
  fm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22302
22294
  vm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22303
22295
  ve = (a2) => a2.roles;
22304
22296
  Mm = createSelector([ve], (a2) => Object.keys(a2));
22305
22297
  at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22306
- Fo = (a2) => {
22298
+ Go = (a2) => {
22307
22299
  var e;
22308
22300
  return (e = a2.preview) == null ? void 0 : e.asRole;
22309
22301
  };
22310
- aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
22302
+ oa = createSelector([Go, ve], (a2, e) => a2 ? e[a2] : null);
22311
22303
  ym = createSelector([at], (a2) => {
22312
22304
  var e;
22313
22305
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22314
22306
  });
22315
- oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22307
+ na = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22316
22308
  km = createSelector(V, (a2) => a2.recording);
22317
22309
  Em = createSelector(V, (a2) => a2.rtmp);
22318
22310
  Pm = createSelector(V, (a2) => a2.hls);
@@ -22323,23 +22315,23 @@ var init_dist = __esm({
22323
22315
  Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22324
22316
  Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
22325
22317
  Lm = createSelector(V, (a2) => a2.effectsKey);
22326
- na = (a2) => a2.polls;
22318
+ ca = (a2) => a2.polls;
22327
22319
  Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
22328
- Go = (a2) => a2.whiteboards;
22329
- Om = createSelector(Go, (a2) => Object.values(a2)[0]);
22330
- da = (a2 = "audio") => (e) => e.playlist[a2].list;
22320
+ Wo = (a2) => a2.whiteboards;
22321
+ Om = createSelector(Wo, (a2) => Object.values(a2)[0]);
22322
+ la = (a2 = "audio") => (e) => e.playlist[a2].list;
22331
22323
  Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22332
- la = (a2 = "audio") => (e) => e.playlist[a2].progress;
22333
- ua = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22334
- pa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22335
- ha = (a2 = "audio") => (e) => e.playlist[a2].volume;
22336
- ma = (a2 = "audio") => createSelector(da(a2), (e) => Object.values(e));
22337
- Sa = (a2 = "audio") => createSelector(da(a2), Kr(a2), (e, t) => {
22324
+ ua = (a2 = "audio") => (e) => e.playlist[a2].progress;
22325
+ pa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22326
+ ha = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22327
+ ma = (a2 = "audio") => (e) => e.playlist[a2].volume;
22328
+ Sa = (a2 = "audio") => createSelector(la(a2), (e) => Object.values(e));
22329
+ ga = (a2 = "audio") => createSelector(la(a2), Kr(a2), (e, t) => {
22338
22330
  if (t.id)
22339
22331
  return e[t.id];
22340
22332
  });
22341
- ga = { selection: Kr("audio"), progress: la("audio"), currentTime: ua("audio"), playbackRate: pa("audio"), volume: ha("audio"), list: ma("audio"), selectedItem: Sa("audio") };
22342
- Ta = { selection: Kr("video"), progress: la("video"), currentTime: ua("video"), playbackRate: pa("video"), volume: ha("video"), list: ma("video"), selectedItem: Sa("video") };
22333
+ Ta = { selection: Kr("audio"), progress: ua("audio"), currentTime: pa("audio"), playbackRate: ha("audio"), volume: ma("audio"), list: Sa("audio"), selectedItem: ga("audio") };
22334
+ fa = { selection: Kr("video"), progress: ua("video"), currentTime: pa("video"), playbackRate: ha("video"), volume: ma("video"), list: Sa("video"), selectedItem: ga("video") };
22343
22335
  Ht = "HMS-Store:";
22344
22336
  b = class {
22345
22337
  static v(e, ...t) {
@@ -22409,54 +22401,54 @@ var init_dist = __esm({
22409
22401
  b.level = 0;
22410
22402
  qr = (a2, e) => e;
22411
22403
  Ct = (a2, e) => e;
22412
- fa = (a2, e) => e;
22413
- Wo = (a2, e) => e;
22404
+ va = (a2, e) => e;
22414
22405
  $o = (a2, e) => e;
22406
+ Ko = (a2, e) => e;
22415
22407
  J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
22416
22408
  jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
22417
- Ko = createSelector([O, Ct], (a2, e) => {
22409
+ qo = createSelector([O, Ct], (a2, e) => {
22418
22410
  if (!e)
22419
22411
  return null;
22420
22412
  let t = a2[e];
22421
22413
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22422
22414
  });
22423
- qo = createSelector([O, Ct], (a2, e) => {
22415
+ jo = createSelector([O, Ct], (a2, e) => {
22424
22416
  if (!e)
22425
22417
  return null;
22426
22418
  let t = a2[e];
22427
22419
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22428
22420
  });
22429
- jo = createSelector([O, Ct], (a2, e) => {
22421
+ Jo = createSelector([O, Ct], (a2, e) => {
22430
22422
  if (!e)
22431
22423
  return null;
22432
22424
  let t = a2[e];
22433
22425
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22434
22426
  });
22435
- Jo = createSelector([O, Ct], (a2, e) => {
22427
+ Qo = createSelector([O, Ct], (a2, e) => {
22436
22428
  if (!e)
22437
22429
  return null;
22438
22430
  let t = a2[e];
22439
22431
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22440
22432
  });
22441
- Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
22442
- Z = R(J);
22443
- jm = R(createSelector([Gr, Wo], (a2, e) => {
22433
+ zo = createSelector([ca, Ko], (a2, e) => e ? a2[e] : null);
22434
+ X = R(J);
22435
+ jm = R(createSelector([Gr, $o], (a2, e) => {
22444
22436
  if (a2)
22445
22437
  return e ? a2[e] : a2;
22446
22438
  }));
22447
22439
  zm = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
22448
22440
  Ym = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.type));
22449
22441
  yi = R(jr);
22450
- va = R(Ko);
22451
- Xm = R(qo);
22452
- Zm = R(jo);
22453
- eS = R(Jo);
22454
- zo = R((a2, e) => {
22442
+ Ma = R(qo);
22443
+ Xm = R(jo);
22444
+ Zm = R(Jo);
22445
+ eS = R(Qo);
22446
+ Yo = R((a2, e) => {
22455
22447
  let t = J(a2, e);
22456
22448
  if (t && t.videoTrack && t.videoTrack !== "")
22457
22449
  return a2.tracks[t.videoTrack];
22458
22450
  });
22459
- Yo = R((a2, e) => {
22451
+ Xo = R((a2, e) => {
22460
22452
  let t = J(a2, e);
22461
22453
  if (t && t.audioTrack && t.audioTrack !== "")
22462
22454
  return a2.tracks[t.audioTrack];
@@ -22465,13 +22457,13 @@ var init_dist = __esm({
22465
22457
  let t = J(a2, e);
22466
22458
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22467
22459
  });
22468
- Ma = (a2, e) => e ? a2.speakers[e] : null;
22469
- rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22470
- Xo = (a2, e) => {
22471
- let t = Yo(e)(a2);
22472
- return Ma(a2, t == null ? void 0 : t.id);
22460
+ ya = (a2, e) => e ? a2.speakers[e] : null;
22461
+ rS = R(createSelector(ya, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22462
+ Zo = (a2, e) => {
22463
+ let t = Xo(e)(a2);
22464
+ return ya(a2, t == null ? void 0 : t.id);
22473
22465
  };
22474
- sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22466
+ sS = R(createSelector(Zo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22475
22467
  aS = R((a2, e) => {
22476
22468
  if (e)
22477
22469
  return a2.connectionQualities[e];
@@ -22504,8 +22496,8 @@ var init_dist = __esm({
22504
22496
  });
22505
22497
  return t ? a2[t] : void 0;
22506
22498
  }));
22507
- ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
22508
- ka = (a2) => createSelector(ya(a2), (e) => e.audio);
22499
+ ka = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
22500
+ Ea = (a2) => createSelector(ka(a2), (e) => e.audio);
22509
22501
  uS = R((a2, e) => {
22510
22502
  let t = J(a2, e);
22511
22503
  return je(a2, t == null ? void 0 : t.audioTrack);
@@ -22514,19 +22506,19 @@ var init_dist = __esm({
22514
22506
  let t = J(a2, e);
22515
22507
  return je(a2, t == null ? void 0 : t.videoTrack);
22516
22508
  });
22517
- Ea = R((a2, e) => {
22509
+ Pa = R((a2, e) => {
22518
22510
  if (e && a2.tracks[e])
22519
22511
  return a2.tracks[e].volume === 0;
22520
22512
  });
22521
22513
  hS = R((a2, e) => {
22522
22514
  let t = J(a2, e);
22523
- return Ea(t == null ? void 0 : t.audioTrack)(a2);
22515
+ return Pa(t == null ? void 0 : t.audioTrack)(a2);
22524
22516
  });
22525
22517
  mS = R((a2, e) => {
22526
- let t = ka(e)(a2);
22527
- return Ea(t == null ? void 0 : t.id)(a2);
22518
+ let t = Ea(e)(a2);
22519
+ return Pa(t == null ? void 0 : t.id)(a2);
22528
22520
  });
22529
- Pa = R((a2, e) => {
22521
+ ba = R((a2, e) => {
22530
22522
  let t = jr(a2, e);
22531
22523
  if (t) {
22532
22524
  if (t.type !== "audio") {
@@ -22538,11 +22530,11 @@ var init_dist = __esm({
22538
22530
  });
22539
22531
  SS = R((a2, e) => {
22540
22532
  let t = J(a2, e);
22541
- return Pa(t == null ? void 0 : t.audioTrack)(a2);
22533
+ return ba(t == null ? void 0 : t.audioTrack)(a2);
22542
22534
  });
22543
22535
  gS = R((a2, e) => {
22544
- let t = ka(e)(a2);
22545
- return Pa(t == null ? void 0 : t.id)(a2);
22536
+ let t = Ea(e)(a2);
22537
+ return ba(t == null ? void 0 : t.id)(a2);
22546
22538
  });
22547
22539
  TS = R((a2, e) => {
22548
22540
  let t = jr(a2, e);
@@ -22554,49 +22546,49 @@ var init_dist = __esm({
22554
22546
  return t.layer;
22555
22547
  }
22556
22548
  });
22557
- ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
22549
+ Ia = createSelector([Rt, Ee, qr], (a2, e, t) => {
22558
22550
  if (t)
22559
22551
  return a2.filter((i) => {
22560
22552
  var r;
22561
22553
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22562
22554
  });
22563
22555
  });
22564
- Ia = createSelector([Rt, fa], (a2, e) => {
22556
+ Aa = createSelector([Rt, va], (a2, e) => {
22565
22557
  if (e)
22566
22558
  return a2.filter((t) => {
22567
22559
  var i, r;
22568
22560
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22569
22561
  });
22570
22562
  });
22571
- Zo = createSelector(Rt, (a2) => a2.filter((e) => {
22563
+ en = createSelector(Rt, (a2) => a2.filter((e) => {
22572
22564
  var t;
22573
22565
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22574
22566
  }));
22575
- en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22576
- tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22577
- fS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
22578
- vS = R(ba);
22579
- MS = R(Ia);
22580
- yS = R(en);
22581
- kS = R(tn);
22582
- Aa = R(Qo);
22567
+ tn = createSelector([Aa, va], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22568
+ rn = createSelector([Ia, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22569
+ fS = createSelector(en, (a2) => a2.filter((e) => !e.read).length);
22570
+ vS = R(Ia);
22571
+ MS = R(Aa);
22572
+ yS = R(tn);
22573
+ kS = R(rn);
22574
+ Ra = R(zo);
22583
22575
  _S = createSelector([j, O], (a2, e) => Object.values(a2).map((i) => {
22584
22576
  var r;
22585
22577
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22586
22578
  }));
22587
- rn = (a2) => a2.roleChangeRequests[0] || null;
22588
- 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);
22579
+ sn = (a2) => a2.roleChangeRequests[0] || null;
22580
+ 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);
22589
22581
  OS = createSelector([at], (a2) => St(a2));
22590
- xS = createSelector([aa], (a2) => St(a2));
22591
- an = createSelector([X, O], (a2, e) => {
22582
+ xS = createSelector([oa], (a2) => St(a2));
22583
+ on = createSelector([Y, O], (a2, e) => {
22592
22584
  let t = null;
22593
22585
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22594
22586
  });
22595
- on = createSelector([ne, O], (a2, e) => {
22587
+ nn = createSelector([ne, O], (a2, e) => {
22596
22588
  let t = null;
22597
22589
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22598
22590
  });
22599
- 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 || {});
22591
+ 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 || {});
22600
22592
  Xr = class {
22601
22593
  constructor() {
22602
22594
  this.TAG = "[HTTPAnalyticsTransport]";
@@ -22616,7 +22608,7 @@ var init_dist = __esm({
22616
22608
  this.addEventToStorage(e);
22617
22609
  return;
22618
22610
  }
22619
- 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;
22611
+ 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;
22620
22612
  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) => {
22621
22613
  if (r.status === 401) {
22622
22614
  this.removeFromStorage(e);
@@ -22653,7 +22645,7 @@ var init_dist = __esm({
22653
22645
  static sendFeedback(s) {
22654
22646
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22655
22647
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22656
- let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
22648
+ let o = new URL("v2/client/feedback", t), n = M(h({}, i), { payload: r });
22657
22649
  try {
22658
22650
  let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22659
22651
  try {
@@ -22677,11 +22669,11 @@ var init_dist = __esm({
22677
22669
  Cn = (a2) => a2.localPeer.audioTrack;
22678
22670
  Ln = (a2) => a2.localPeer.videoTrack;
22679
22671
  wn = (a2, e) => e;
22680
- za = (a2, e) => e;
22672
+ Ya = (a2, e) => e;
22681
22673
  Dn = (a2) => a2.remoteTrackStats;
22682
- Ya = (a2) => a2.peerStats;
22683
- is = (a2) => a2.localTrackStats;
22684
- Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
22674
+ Xa = (a2) => a2.peerStats;
22675
+ rs = (a2) => a2.localTrackStats;
22676
+ Ae = createSelector([Xa, Hn], (a2, e) => a2[e]);
22685
22677
  _n = createSelector(Ae, (a2) => {
22686
22678
  var e;
22687
22679
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
@@ -22714,21 +22706,21 @@ var init_dist = __esm({
22714
22706
  var e;
22715
22707
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22716
22708
  });
22717
- Gn = createSelector([Ya, wn], (a2, e) => e ? a2[e] : void 0);
22718
- Wn = createSelector([Dn, za], (a2, e) => e ? a2[e] : void 0);
22719
- rs = createSelector([is, za], (a2, e) => e ? a2[e] : void 0);
22709
+ Gn = createSelector([Xa, wn], (a2, e) => e ? a2[e] : void 0);
22710
+ Wn = createSelector([Dn, Ya], (a2, e) => e ? a2[e] : void 0);
22711
+ ss = createSelector([rs, Ya], (a2, e) => e ? a2[e] : void 0);
22720
22712
  $n = R(Gn);
22721
22713
  Kn = R(Wn);
22722
- qn = createSelector([is, Cn], (a2, e) => {
22714
+ qn = createSelector([rs, Cn], (a2, e) => {
22723
22715
  var t;
22724
22716
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22725
22717
  });
22726
- jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22727
- Jn = createSelector([is, Ln], (a2, e) => {
22718
+ jn = R(createSelector(ss, (a2) => a2 == null ? void 0 : a2[0]));
22719
+ Jn = createSelector([rs, Ln], (a2, e) => {
22728
22720
  var t;
22729
22721
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22730
22722
  });
22731
- Qn = R(createSelector(rs, (a2) => a2));
22723
+ Qn = R(createSelector(ss, (a2) => a2));
22732
22724
  }
22733
22725
  });
22734
22726
 
@@ -22853,7 +22845,7 @@ var init_StreamActions = __esm({
22853
22845
  };
22854
22846
  RecordingPauseStatus = () => {
22855
22847
  const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
22856
- if (recording.hls && recording.hls.state === Ls.PAUSED) {
22848
+ if (recording.hls && recording.hls.state === ws.PAUSED) {
22857
22849
  return /* @__PURE__ */ import_react88.default.createElement(
22858
22850
  Tooltip,
22859
22851
  {
@@ -22972,15 +22964,6 @@ var init_ChangeNameContent = __esm({
22972
22964
  onExit,
22973
22965
  onBackClick
22974
22966
  }) => {
22975
- const inputRef = (0, import_react89.useRef)(null);
22976
- (0, import_react89.useEffect)(() => {
22977
- if (isMobile) {
22978
- setTimeout(() => {
22979
- var _a7;
22980
- (_a7 = inputRef.current) == null ? void 0 : _a7.focus();
22981
- }, 200);
22982
- }
22983
- }, [isMobile]);
22984
22967
  return /* @__PURE__ */ import_react89.default.createElement(
22985
22968
  "form",
22986
22969
  {
@@ -23016,10 +22999,9 @@ var init_ChangeNameContent = __esm({
23016
22999
  /* @__PURE__ */ import_react89.default.createElement(Flex, { justify: "center", align: "center", css: { my: "$8", w: "100%", "@md": { px: "$8" } } }, /* @__PURE__ */ import_react89.default.createElement(
23017
23000
  Input,
23018
23001
  {
23019
- ref: inputRef,
23020
23002
  css: { width: "100%", bg: "$surface_default" },
23021
23003
  value: currentName,
23022
- type: "text",
23004
+ type: isMobile ? "search" : "text",
23023
23005
  onChange: (e) => {
23024
23006
  setCurrentName(e.target.value);
23025
23007
  },
@@ -23131,7 +23113,7 @@ var init_ChangeNameModal = __esm({
23131
23113
  }
23132
23114
  };
23133
23115
  if (isMobile) {
23134
- return /* @__PURE__ */ import_react90.default.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ import_react90.default.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" }, onOpenAutoFocus: (e) => e.preventDefault() }, /* @__PURE__ */ import_react90.default.createElement(ChangeNameContent, __spreadValues({}, props))));
23116
+ return /* @__PURE__ */ import_react90.default.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ import_react90.default.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" } }, /* @__PURE__ */ import_react90.default.createElement(ChangeNameContent, __spreadValues({}, props))));
23135
23117
  }
23136
23118
  return /* @__PURE__ */ import_react90.default.createElement(Dialog.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ import_react90.default.createElement(Dialog.Portal, null, /* @__PURE__ */ import_react90.default.createElement(Dialog.Overlay, null), /* @__PURE__ */ import_react90.default.createElement(Dialog.Content, { css: { bg: "$surface_dim", width: "min(400px,80%)", p: "$10" } }, /* @__PURE__ */ import_react90.default.createElement(ChangeNameContent, __spreadValues({}, props)))));
23137
23119
  };
@@ -28773,44 +28755,6 @@ var init_TileConnection = __esm({
28773
28755
  }
28774
28756
  });
28775
28757
 
28776
- // src/Prebuilt/components/peerTileUtils.tsx
28777
- var PEER_NAME_PLACEHOLDER, labelMap, getVideoTileLabel;
28778
- var init_peerTileUtils = __esm({
28779
- "src/Prebuilt/components/peerTileUtils.tsx"() {
28780
- "use strict";
28781
- init_define_process_env();
28782
- PEER_NAME_PLACEHOLDER = "peerName";
28783
- labelMap = /* @__PURE__ */ new Map([
28784
- [[true, "screen"].toString(), "Your Screen"],
28785
- [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28786
- [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
28787
- [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
28788
- [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
28789
- [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
28790
- ]);
28791
- getVideoTileLabel = ({
28792
- peerName,
28793
- isLocal,
28794
- videoTrack,
28795
- audioTrack
28796
- }) => {
28797
- const isPeerPresent = peerName !== void 0;
28798
- if (!isPeerPresent || !videoTrack) {
28799
- const label2 = labelMap.get([isLocal, void 0].toString());
28800
- return isPeerPresent && label2 ? label2.replace(PEER_NAME_PLACEHOLDER, peerName) : "";
28801
- }
28802
- const isLocallyMuted = (audioTrack == null ? void 0 : audioTrack.volume) === 0;
28803
- let label = labelMap.get([isLocal, videoTrack.source].toString());
28804
- if (label) {
28805
- label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
28806
- } else {
28807
- label = `${peerName} ${videoTrack.source}`;
28808
- }
28809
- return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
28810
- };
28811
- }
28812
- });
28813
-
28814
28758
  // src/Prebuilt/components/TileMenu/utils.ts
28815
28759
  var getDragClassName;
28816
28760
  var init_utils6 = __esm({
@@ -29046,7 +28990,7 @@ var init_TileMenuContent = __esm({
29046
28990
  },
29047
28991
  isAudioEnabled ? /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.MicOnIcon, { height: 20, width: 20 }) : /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.MicOffIcon, { height: 20, width: 20 }),
29048
28992
  /* @__PURE__ */ import_react158.default.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
29049
- ) : null, !isScreenshare && canChangeRole && roles.length > 1 ? /* @__PURE__ */ import_react158.default.createElement(
28993
+ ) : null, canChangeRole && roles.length > 1 ? /* @__PURE__ */ import_react158.default.createElement(
29050
28994
  StyledMenuTile.ItemButton,
29051
28995
  {
29052
28996
  className: dragClassName,
@@ -29059,7 +29003,7 @@ var init_TileMenuContent = __esm({
29059
29003
  },
29060
29004
  /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.PersonSettingsIcon, { height: 20, width: 20 }),
29061
29005
  /* @__PURE__ */ import_react158.default.createElement("span", null, "Switch Role")
29062
- ) : null, !isIOS && audioTrackID ? /* @__PURE__ */ import_react158.default.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ import_react158.default.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.SpeakerIcon, { height: 20, width: 20 }), /* @__PURE__ */ import_react158.default.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ import_react158.default.createElement(
29006
+ ) : null, audioTrackID ? /* @__PURE__ */ import_react158.default.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ import_react158.default.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ import_react158.default.createElement(import_react_icons76.SpeakerIcon, { height: 20, width: 20 }), /* @__PURE__ */ import_react158.default.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ import_react158.default.createElement(
29063
29007
  Slider,
29064
29008
  {
29065
29009
  css: { my: "0.5rem" },
@@ -29114,7 +29058,6 @@ var init_TileMenu2 = __esm({
29114
29058
  init_Theme();
29115
29059
  init_TileMenu();
29116
29060
  init_ChangeNameModal();
29117
- init_peerTileUtils();
29118
29061
  init_RoleChangeModal();
29119
29062
  init_TileMenuContent();
29120
29063
  init_useDropdownList();
@@ -29139,7 +29082,6 @@ var init_TileMenu2 = __esm({
29139
29082
  const isPrimaryVideoTrack = ((_a7 = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectVideoTrackByPeerID)(peerID))) == null ? void 0 : _a7.id) === videoTrackID;
29140
29083
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
29141
29084
  const track = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectTrackByID)(videoTrackID));
29142
- const audioTrack = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectTrackByID)(audioTrackID));
29143
29085
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
29144
29086
  const isMobile = (0, import_react_use30.useMedia)(config.media.md);
29145
29087
  const peer = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectPeerByID)(peerID));
@@ -29147,7 +29089,7 @@ var init_TileMenu2 = __esm({
29147
29089
  const [showRoleChangeModal, setShowRoleChangeModal] = (0, import_react159.useState)(false);
29148
29090
  useDropdownList({ open, name: "TileMenu" });
29149
29091
  const dragClassName = getDragClassName();
29150
- if (!peer || !(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
29092
+ if (!(removeOthers || toggleAudio || toggleVideo || setVolume || showPinAction) && hideSimulcastLayers) {
29151
29093
  return null;
29152
29094
  }
29153
29095
  const openNameChangeModal = () => setShowNameChangeModal(true);
@@ -29158,6 +29100,7 @@ var init_TileMenu2 = __esm({
29158
29100
  audioTrackID,
29159
29101
  videoTrackID,
29160
29102
  peerID,
29103
+ isPrimaryVideoTrack,
29161
29104
  showSpotlight,
29162
29105
  showPinAction,
29163
29106
  canMinimise,
@@ -29187,7 +29130,7 @@ var init_TileMenu2 = __esm({
29187
29130
  borderBottom: "1px solid $border_default"
29188
29131
  }
29189
29132
  },
29190
- /* @__PURE__ */ import_react159.default.createElement(Box, null, /* @__PURE__ */ import_react159.default.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__ */ import_react159.default.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
29133
+ /* @__PURE__ */ import_react159.default.createElement(Box, null, /* @__PURE__ */ import_react159.default.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__ */ import_react159.default.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
29191
29134
  /* @__PURE__ */ import_react159.default.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ import_react159.default.createElement(import_react_icons77.CrossIcon, null))
29192
29135
  ), /* @__PURE__ */ import_react159.default.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ import_react159.default.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ import_react159.default.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ import_react159.default.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ import_react159.default.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }), showRoleChangeModal && /* @__PURE__ */ import_react159.default.createElement(RoleChangeModal, { peerId: peerID, onOpenChange: setShowRoleChangeModal }));
29193
29136
  };
@@ -29195,6 +29138,38 @@ var init_TileMenu2 = __esm({
29195
29138
  }
29196
29139
  });
29197
29140
 
29141
+ // src/Prebuilt/components/peerTileUtils.jsx
29142
+ var PEER_NAME_PLACEHOLDER, labelMap, getVideoTileLabel;
29143
+ var init_peerTileUtils = __esm({
29144
+ "src/Prebuilt/components/peerTileUtils.jsx"() {
29145
+ "use strict";
29146
+ init_define_process_env();
29147
+ PEER_NAME_PLACEHOLDER = "peerName";
29148
+ labelMap = /* @__PURE__ */ new Map([
29149
+ [[true, "screen"].toString(), "Your Screen"],
29150
+ [[true, "regular"].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
29151
+ [[false, "screen"].toString(), `${PEER_NAME_PLACEHOLDER}'s Screen`],
29152
+ [[false, "regular"].toString(), PEER_NAME_PLACEHOLDER],
29153
+ [[true, void 0].toString(), `You (${PEER_NAME_PLACEHOLDER})`],
29154
+ [[false, void 0].toString(), `${PEER_NAME_PLACEHOLDER}`]
29155
+ ]);
29156
+ getVideoTileLabel = ({ peerName, isLocal, track }) => {
29157
+ const isPeerPresent = peerName !== void 0;
29158
+ if (!isPeerPresent || !track) {
29159
+ return isPeerPresent ? labelMap.get([isLocal, void 0].toString()).replace(PEER_NAME_PLACEHOLDER, peerName) : "";
29160
+ }
29161
+ const isLocallyMuted = track.volume === 0;
29162
+ let label = labelMap.get([isLocal, track.source].toString());
29163
+ if (label) {
29164
+ label = label.replace(PEER_NAME_PLACEHOLDER, peerName);
29165
+ } else {
29166
+ label = `${peerName} ${track.source}`;
29167
+ }
29168
+ return `${label}${isLocallyMuted ? " (Muted for you)" : ""}`;
29169
+ };
29170
+ }
29171
+ });
29172
+
29198
29173
  // src/Prebuilt/components/VideoTile.tsx
29199
29174
  var import_react160, import_react_use31, import_react_sdk81, import_react_icons78, PeerMetadata, Tile, VideoTile, VideoTile_default;
29200
29175
  var init_VideoTile2 = __esm({
@@ -29259,9 +29234,8 @@ var init_VideoTile2 = __esm({
29259
29234
  });
29260
29235
  const label = getVideoTileLabel({
29261
29236
  peerName,
29262
- isLocal,
29263
- videoTrack: track,
29264
- audioTrack
29237
+ track,
29238
+ isLocal
29265
29239
  });
29266
29240
  const onHoverHandler = (0, import_react160.useCallback)((event) => {
29267
29241
  setIsMouseHovered(event.type === "mouseenter");
@@ -29442,7 +29416,7 @@ var init_VBPicker = __esm({
29442
29416
  init_constants();
29443
29417
  iconDims = { height: "40px", width: "40px" };
29444
29418
  VBPicker = ({ backgroundMedia = [] }) => {
29445
- var _a7, _b7;
29419
+ var _a7;
29446
29420
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
29447
29421
  const hmsActions = (0, import_react_sdk82.useHMSActions)();
29448
29422
  const localPeer = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeer);
@@ -29463,7 +29437,6 @@ var init_VBPicker = __esm({
29463
29437
  const background = (0, import_react_sdk82.useHMSStore)(jm(APP_DATA.background));
29464
29438
  const mediaList = backgroundMedia.map((media) => media.url || "");
29465
29439
  const pluginLoadingRef = (0, import_react163.useRef)(false);
29466
- const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
29467
29440
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
29468
29441
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
29469
29442
  (0, import_react163.useEffect)(() => {
@@ -29585,13 +29558,13 @@ var init_VBPicker = __esm({
29585
29558
  yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
29586
29559
  hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR);
29587
29560
  }),
29588
- supported: isBlurSupported
29561
+ supported: isEffectsSupported && isEffectsEnabled
29589
29562
  }
29590
29563
  ],
29591
29564
  activeBackground: background
29592
29565
  }
29593
29566
  ),
29594
- /* @__PURE__ */ import_react163.default.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR && isBlurSupported ? /* @__PURE__ */ import_react163.default.createElement(Box, null, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ import_react163.default.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ import_react163.default.createElement(
29567
+ /* @__PURE__ */ import_react163.default.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR && isEffectsEnabled && effectsKey ? /* @__PURE__ */ import_react163.default.createElement(Box, null, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ import_react163.default.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ import_react163.default.createElement(
29595
29568
  Slider,
29596
29569
  {
29597
29570
  showTooltip: false,
@@ -30674,10 +30647,10 @@ var init_useTileLayout = __esm({
30674
30647
  tileHeight = maxRowHeight;
30675
30648
  } else {
30676
30649
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
30677
- for (const h of calcHeights) {
30678
- if (h < maxRowHeight) {
30679
- if (tileHeight < h) {
30680
- tileHeight = h;
30650
+ for (const h2 of calcHeights) {
30651
+ if (h2 < maxRowHeight) {
30652
+ if (tileHeight < h2) {
30653
+ tileHeight = h2;
30681
30654
  }
30682
30655
  }
30683
30656
  }
@@ -30713,7 +30686,6 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
30713
30686
  const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30714
30687
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
30715
30688
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
30716
- const peerCount = (0, import_react_sdk89.useHMSStore)(import_react_sdk89.selectPeerCount);
30717
30689
  const pageList = usePagesWithTiles({
30718
30690
  peers,
30719
30691
  maxTileCount
@@ -30743,20 +30715,19 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
30743
30715
  ), pageList.length === 0 ? /* @__PURE__ */ import_react177.default.createElement(
30744
30716
  WaitingView,
30745
30717
  {
30746
- title: peerCount <= 1 ? "You're the only one here" : "Glad to have you here",
30747
- subtitle: peerCount <= 1 ? "Sit back and relax till others join" : "",
30718
+ title: "You're the first to join",
30719
+ subtitle: "Sit back and relax till others join",
30748
30720
  icon: /* @__PURE__ */ import_react177.default.createElement(import_react_icons84.PeopleAddIcon, { width: "56px", height: "56px", style: { color: "white" } })
30749
30721
  }
30750
30722
  ) : null, isInsetEnabled && /* @__PURE__ */ import_react177.default.createElement(InsetTile, null));
30751
30723
  }
30752
- var import_react177, import_react_use39, import_react_sdk89, import_react_icons84;
30724
+ var import_react177, import_react_use39, import_react_icons84;
30753
30725
  var init_EqualProminence = __esm({
30754
30726
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx"() {
30755
30727
  "use strict";
30756
30728
  init_define_process_env();
30757
30729
  import_react177 = __toESM(require("react"));
30758
30730
  import_react_use39 = require("react-use");
30759
- import_react_sdk89 = require("@100mslive/react-sdk");
30760
30731
  import_react_icons84 = require("@100mslive/react-icons");
30761
30732
  init_Layout();
30762
30733
  init_Theme();
@@ -30859,14 +30830,14 @@ var init_ProminenceLayout = __esm({
30859
30830
  });
30860
30831
 
30861
30832
  // src/Prebuilt/components/SecondaryTiles.tsx
30862
- var import_react179, import_react_use40, import_react_sdk90, SecondaryTiles;
30833
+ var import_react179, import_react_use40, import_react_sdk89, SecondaryTiles;
30863
30834
  var init_SecondaryTiles = __esm({
30864
30835
  "src/Prebuilt/components/SecondaryTiles.tsx"() {
30865
30836
  "use strict";
30866
30837
  init_define_process_env();
30867
30838
  import_react179 = __toESM(require("react"));
30868
30839
  import_react_use40 = require("react-use");
30869
- import_react_sdk90 = require("@100mslive/react-sdk");
30840
+ import_react_sdk89 = require("@100mslive/react-sdk");
30870
30841
  init_ProminenceLayout();
30871
30842
  init_Theme();
30872
30843
  init_Pagination2();
@@ -30877,10 +30848,10 @@ var init_SecondaryTiles = __esm({
30877
30848
  const isMobile = (0, import_react_use40.useMedia)(config.media.md);
30878
30849
  const maxTileCount = isMobile ? 2 : 4;
30879
30850
  const [page, setPage] = (0, import_react179.useState)(0);
30880
- const pinnedTrackId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectAppData)(APP_DATA.pinnedTrackId));
30881
- const spotlightPeerId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectSessionStore)("spotlight" /* SPOTLIGHT */));
30882
- const activeScreensharePeerId = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectAppData)(APP_DATA.activeScreensharePeerId));
30883
- const pinnedPeer = (_a7 = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a7.peerId;
30851
+ const pinnedTrackId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectAppData)(APP_DATA.pinnedTrackId));
30852
+ const spotlightPeerId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectSessionStore)("spotlight" /* SPOTLIGHT */));
30853
+ const activeScreensharePeerId = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectAppData)(APP_DATA.activeScreensharePeerId));
30854
+ const pinnedPeer = (_a7 = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a7.peerId;
30884
30855
  const pageChangedAfterPinning = (0, import_react179.useRef)(false);
30885
30856
  const pagesWithTiles = usePagesWithTiles({
30886
30857
  peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
@@ -30989,7 +30960,7 @@ function RoleProminence({
30989
30960
  }) {
30990
30961
  var _a7;
30991
30962
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
30992
- const localPeer = (0, import_react_sdk91.useHMSStore)(import_react_sdk91.selectLocalPeer);
30963
+ const localPeer = (0, import_react_sdk90.useHMSStore)(import_react_sdk90.selectLocalPeer);
30993
30964
  const isMobile = (0, import_react_use41.useMedia)(config.media.md);
30994
30965
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
30995
30966
  maxTileCount = isMobile ? 4 : maxTileCount;
@@ -31020,14 +30991,14 @@ function RoleProminence({
31020
30991
  }
31021
30992
  ), /* @__PURE__ */ import_react181.default.createElement(SecondaryTiles, { peers: secondaryPeers, isInsetEnabled, edgeToEdge }), isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && /* @__PURE__ */ import_react181.default.createElement(InsetTile, null));
31022
30993
  }
31023
- var import_react181, import_react_use41, import_react_sdk91;
30994
+ var import_react181, import_react_use41, import_react_sdk90;
31024
30995
  var init_RoleProminence = __esm({
31025
30996
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx"() {
31026
30997
  "use strict";
31027
30998
  init_define_process_env();
31028
30999
  import_react181 = __toESM(require("react"));
31029
31000
  import_react_use41 = require("react-use");
31030
- import_react_sdk91 = require("@100mslive/react-sdk");
31001
+ import_react_sdk90 = require("@100mslive/react-sdk");
31031
31002
  init_Theme();
31032
31003
  init_InsetTile();
31033
31004
  init_Pagination2();
@@ -31158,19 +31129,19 @@ var init_LayoutModeSelector = __esm({
31158
31129
  });
31159
31130
 
31160
31131
  // src/Prebuilt/components/ScreenshareDisplay.tsx
31161
- var import_react183, import_react_sdk92, import_react_icons86, ScreenshareDisplay;
31132
+ var import_react183, import_react_sdk91, import_react_icons86, ScreenshareDisplay;
31162
31133
  var init_ScreenshareDisplay = __esm({
31163
31134
  "src/Prebuilt/components/ScreenshareDisplay.tsx"() {
31164
31135
  "use strict";
31165
31136
  init_define_process_env();
31166
31137
  import_react183 = __toESM(require("react"));
31167
- import_react_sdk92 = require("@100mslive/react-sdk");
31138
+ import_react_sdk91 = require("@100mslive/react-sdk");
31168
31139
  import_react_icons86 = require("@100mslive/react-icons");
31169
31140
  init_Button2();
31170
31141
  init_Layout();
31171
31142
  init_Text2();
31172
31143
  ScreenshareDisplay = () => {
31173
- const hmsActions = (0, import_react_sdk92.useHMSActions)();
31144
+ const hmsActions = (0, import_react_sdk91.useHMSActions)();
31174
31145
  return /* @__PURE__ */ import_react183.default.createElement(
31175
31146
  Flex,
31176
31147
  {
@@ -31204,7 +31175,7 @@ var init_ScreenshareDisplay = __esm({
31204
31175
  });
31205
31176
 
31206
31177
  // src/Prebuilt/components/ScreenshareTile.tsx
31207
- var import_react184, import_react_use42, import_screenfull2, import_react_sdk93, import_react_icons87, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
31178
+ var import_react184, import_react_use42, import_screenfull2, import_react_sdk92, import_react_icons87, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
31208
31179
  var init_ScreenshareTile = __esm({
31209
31180
  "src/Prebuilt/components/ScreenshareTile.tsx"() {
31210
31181
  "use strict";
@@ -31212,7 +31183,7 @@ var init_ScreenshareTile = __esm({
31212
31183
  import_react184 = __toESM(require("react"));
31213
31184
  import_react_use42 = require("react-use");
31214
31185
  import_screenfull2 = __toESM(require("screenfull"));
31215
- import_react_sdk93 = require("@100mslive/react-sdk");
31186
+ import_react_sdk92 = require("@100mslive/react-sdk");
31216
31187
  import_react_icons87 = require("@100mslive/react-icons");
31217
31188
  init_TileMenu2();
31218
31189
  init_Layout();
@@ -31234,10 +31205,10 @@ var init_ScreenshareTile = __esm({
31234
31205
  flexShrink: 0
31235
31206
  };
31236
31207
  Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
31237
- const isLocal = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectLocalPeerID) === peerId;
31238
- const track = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectScreenShareByPeerID)(peerId));
31208
+ const isLocal = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectLocalPeerID) === peerId;
31209
+ const track = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectScreenShareByPeerID)(peerId));
31239
31210
  const { theme: theme2 } = useTheme();
31240
- const peer = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectPeerByID)(peerId));
31211
+ const peer = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectPeerByID)(peerId));
31241
31212
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
31242
31213
  const [isMouseHovered, setIsMouseHovered] = (0, import_react184.useState)(false);
31243
31214
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
@@ -31248,7 +31219,7 @@ var init_ScreenshareTile = __esm({
31248
31219
  onClose: () => setFullscreen(false)
31249
31220
  });
31250
31221
  const isFullScreenSupported = import_screenfull2.default.isEnabled;
31251
- const audioTrack = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
31222
+ const audioTrack = (0, import_react_sdk92.useHMSStore)((0, import_react_sdk92.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
31252
31223
  if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
31253
31224
  return /* @__PURE__ */ import_react184.default.createElement(ScreenshareDisplay, null);
31254
31225
  }
@@ -31258,8 +31229,7 @@ var init_ScreenshareTile = __esm({
31258
31229
  const label = getVideoTileLabel({
31259
31230
  peerName: peer == null ? void 0 : peer.name,
31260
31231
  isLocal: false,
31261
- videoTrack: track,
31262
- audioTrack
31232
+ track
31263
31233
  });
31264
31234
  return /* @__PURE__ */ import_react184.default.createElement(
31265
31235
  StyledVideoTile.Root,
@@ -31328,14 +31298,14 @@ var init_ScreenshareTile = __esm({
31328
31298
  });
31329
31299
 
31330
31300
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
31331
- var import_react185, import_react_use43, import_react_sdk94, ScreenshareLayout;
31301
+ var import_react185, import_react_use43, import_react_sdk93, ScreenshareLayout;
31332
31302
  var init_ScreenshareLayout = __esm({
31333
31303
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx"() {
31334
31304
  "use strict";
31335
31305
  init_define_process_env();
31336
31306
  import_react185 = __toESM(require("react"));
31337
31307
  import_react_use43 = require("react-use");
31338
- import_react_sdk94 = require("@100mslive/react-sdk");
31308
+ import_react_sdk93 = require("@100mslive/react-sdk");
31339
31309
  init_Theme();
31340
31310
  init_InsetTile();
31341
31311
  init_Pagination2();
@@ -31347,7 +31317,7 @@ var init_ScreenshareLayout = __esm({
31347
31317
  init_constants();
31348
31318
  ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
31349
31319
  var _a7;
31350
- const peersSharing = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectPeersScreenSharing);
31320
+ const peersSharing = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeersScreenSharing);
31351
31321
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31352
31322
  const [page, setPage] = (0, import_react185.useState)(0);
31353
31323
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
@@ -31396,14 +31366,14 @@ var init_ScreenshareLayout = __esm({
31396
31366
  }
31397
31367
  });
31398
31368
 
31399
- // ../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css
31400
- var init_e065fc0 = __esm({
31401
- "../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css"() {
31369
+ // ../../../../../../../tmp/tmp-2828-hw7P47aYwc72/1920591f1f21/index.css
31370
+ var init_f1f21 = __esm({
31371
+ "../../../../../../../tmp/tmp-2828-hw7P47aYwc72/1920591f1f21/index.css"() {
31402
31372
  }
31403
31373
  });
31404
31374
 
31405
31375
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
31406
- var import_react186, import_react_use44, import_hms_whiteboard, import_react_sdk95, WhiteboardEmbed, WhiteboardLayout;
31376
+ var import_react186, import_react_use44, import_hms_whiteboard, import_react_sdk94, WhiteboardEmbed, WhiteboardLayout;
31407
31377
  var init_WhiteboardLayout = __esm({
31408
31378
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx"() {
31409
31379
  "use strict";
@@ -31411,7 +31381,7 @@ var init_WhiteboardLayout = __esm({
31411
31381
  import_react186 = __toESM(require("react"));
31412
31382
  import_react_use44 = require("react-use");
31413
31383
  import_hms_whiteboard = require("@100mslive/hms-whiteboard");
31414
- import_react_sdk95 = require("@100mslive/react-sdk");
31384
+ import_react_sdk94 = require("@100mslive/react-sdk");
31415
31385
  init_Layout();
31416
31386
  init_Theme();
31417
31387
  init_InsetTile();
@@ -31420,10 +31390,10 @@ var init_WhiteboardLayout = __esm({
31420
31390
  init_ProminenceLayout();
31421
31391
  init_useUISettings();
31422
31392
  init_constants();
31423
- init_e065fc0();
31393
+ init_f1f21();
31424
31394
  WhiteboardEmbed = () => {
31425
31395
  const isMobile = (0, import_react_use44.useMedia)(config.media.md);
31426
- const { token, endpoint, zoomToContent } = (0, import_react_sdk95.useWhiteboard)(isMobile);
31396
+ const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
31427
31397
  if (!token) {
31428
31398
  return null;
31429
31399
  }
@@ -31444,8 +31414,8 @@ var init_WhiteboardLayout = __esm({
31444
31414
  );
31445
31415
  };
31446
31416
  WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
31447
- const whiteboard = (0, import_react_sdk95.useHMSStore)(import_react_sdk95.selectWhiteboard);
31448
- const whiteboardOwner = (0, import_react_sdk95.useHMSStore)((0, import_react_sdk95.selectPeerByCondition)((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
31417
+ const whiteboard = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectWhiteboard);
31418
+ const whiteboardOwner = (0, import_react_sdk94.useHMSStore)((0, import_react_sdk94.selectPeerByCondition)((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
31449
31419
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
31450
31420
  const isMobile = (0, import_react_use44.useMedia)(config.media.md);
31451
31421
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
@@ -31486,12 +31456,12 @@ var init_WhiteboardLayout = __esm({
31486
31456
  });
31487
31457
 
31488
31458
  // src/Prebuilt/common/PeersSorter.ts
31489
- var import_react_sdk96, PeersSorter, PeersSorter_default;
31459
+ var import_react_sdk95, PeersSorter, PeersSorter_default;
31490
31460
  var init_PeersSorter = __esm({
31491
31461
  "src/Prebuilt/common/PeersSorter.ts"() {
31492
31462
  "use strict";
31493
31463
  init_define_process_env();
31494
- import_react_sdk96 = require("@100mslive/react-sdk");
31464
+ import_react_sdk95 = require("@100mslive/react-sdk");
31495
31465
  PeersSorter = class {
31496
31466
  constructor(store) {
31497
31467
  this.storeUnsubscribe = void 0;
@@ -31512,7 +31482,7 @@ var init_PeersSorter = __esm({
31512
31482
  }
31513
31483
  });
31514
31484
  if (!this.storeUnsubscribe) {
31515
- this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk96.selectDominantSpeaker);
31485
+ this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk95.selectDominantSpeaker);
31516
31486
  }
31517
31487
  this.moveSpeakerToFront(this.speaker);
31518
31488
  };
@@ -31587,13 +31557,13 @@ var init_PeersSorter = __esm({
31587
31557
  });
31588
31558
 
31589
31559
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
31590
- var import_react187, import_react_sdk97, GridLayout;
31560
+ var import_react187, import_react_sdk96, GridLayout;
31591
31561
  var init_GridLayout = __esm({
31592
31562
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx"() {
31593
31563
  "use strict";
31594
31564
  init_define_process_env();
31595
31565
  import_react187 = __toESM(require("react"));
31596
- import_react_sdk97 = require("@100mslive/react-sdk");
31566
+ import_react_sdk96 = require("@100mslive/react-sdk");
31597
31567
  init_EqualProminence();
31598
31568
  init_RoleProminence();
31599
31569
  init_ScreenshareLayout();
@@ -31613,12 +31583,12 @@ var init_GridLayout = __esm({
31613
31583
  edge_to_edge = false,
31614
31584
  hide_metadata_on_tile = false
31615
31585
  }) => {
31616
- const peerSharing = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeerScreenSharing);
31617
- const whiteboard = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectWhiteboard);
31586
+ const peerSharing = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectPeerScreenSharing);
31587
+ const whiteboard = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectWhiteboard);
31618
31588
  const pinnedTrack = usePinnedTrack();
31619
- const peers = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeers);
31620
- const localPeerRole = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectLocalPeerRoleName);
31621
- const localPeerID = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectLocalPeerID);
31589
+ const peers = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectPeers);
31590
+ const localPeerRole = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectLocalPeerRoleName);
31591
+ const localPeerID = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectLocalPeerID);
31622
31592
  const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31623
31593
  const isRoleProminence = prominentRoles.length && peers.some(
31624
31594
  (peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
@@ -31646,7 +31616,7 @@ var init_GridLayout = __esm({
31646
31616
  peers,
31647
31617
  pinnedTrack
31648
31618
  ]);
31649
- const vanillaStore = (0, import_react_sdk97.useHMSVanillaStore)();
31619
+ const vanillaStore = (0, import_react_sdk96.useHMSVanillaStore)();
31650
31620
  const [sortedPeers, setSortedPeers] = (0, import_react187.useState)(updatedPeers);
31651
31621
  const peersSorter = (0, import_react187.useMemo)(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
31652
31622
  const [pageSize, setPageSize] = (0, import_react187.useState)(0);
@@ -31717,13 +31687,13 @@ var init_GridLayout = __esm({
31717
31687
  });
31718
31688
 
31719
31689
  // src/Prebuilt/layouts/EmbedView.jsx
31720
- var import_react188, import_react_sdk98, EmbedView, EmbedScreenShareView, EmbedComponent;
31690
+ var import_react188, import_react_sdk97, EmbedView, EmbedScreenShareView, EmbedComponent;
31721
31691
  var init_EmbedView = __esm({
31722
31692
  "src/Prebuilt/layouts/EmbedView.jsx"() {
31723
31693
  "use strict";
31724
31694
  init_define_process_env();
31725
31695
  import_react188 = __toESM(require("react"));
31726
- import_react_sdk98 = require("@100mslive/react-sdk");
31696
+ import_react_sdk97 = require("@100mslive/react-sdk");
31727
31697
  init_SecondaryTiles();
31728
31698
  init_ToastManager();
31729
31699
  init_ProminenceLayout();
@@ -31734,8 +31704,8 @@ var init_EmbedView = __esm({
31734
31704
  return /* @__PURE__ */ import_react188.default.createElement(EmbedScreenShareView, null, /* @__PURE__ */ import_react188.default.createElement(EmbedComponent, null));
31735
31705
  };
31736
31706
  EmbedScreenShareView = ({ children }) => {
31737
- const peers = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectPeers);
31738
- const peerPresenting = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectPeerScreenSharing);
31707
+ const peers = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeers);
31708
+ const peerPresenting = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectPeerScreenSharing);
31739
31709
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
31740
31710
  const smallTilePeers = (0, import_react188.useMemo)(() => {
31741
31711
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
@@ -31750,9 +31720,9 @@ var init_EmbedView = __esm({
31750
31720
  return /* @__PURE__ */ import_react188.default.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ import_react188.default.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ import_react188.default.createElement(SecondaryTiles, { peers: smallTilePeers }));
31751
31721
  };
31752
31722
  EmbedComponent = () => {
31753
- const embedConfig = (0, import_react_sdk98.useHMSStore)((0, import_react_sdk98.selectAppData)(APP_DATA.embedConfig));
31723
+ const embedConfig = (0, import_react_sdk97.useHMSStore)((0, import_react_sdk97.selectAppData)(APP_DATA.embedConfig));
31754
31724
  const resetConfig = useResetEmbedConfig();
31755
- const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk98.useEmbedShare)(resetConfig);
31725
+ const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk97.useEmbedShare)(resetConfig);
31756
31726
  (0, import_react188.useEffect)(() => {
31757
31727
  (() => __async(void 0, null, function* () {
31758
31728
  if (embedConfig && !isEmbedShareInProgress) {
@@ -31802,13 +31772,13 @@ var init_EmbedView = __esm({
31802
31772
  });
31803
31773
 
31804
31774
  // src/Prebuilt/layouts/PDFView.jsx
31805
- var import_react189, import_react_sdk99, PDFView;
31775
+ var import_react189, import_react_sdk98, PDFView;
31806
31776
  var init_PDFView = __esm({
31807
31777
  "src/Prebuilt/layouts/PDFView.jsx"() {
31808
31778
  "use strict";
31809
31779
  init_define_process_env();
31810
31780
  import_react189 = __toESM(require("react"));
31811
- import_react_sdk99 = require("@100mslive/react-sdk");
31781
+ import_react_sdk98 = require("@100mslive/react-sdk");
31812
31782
  init_ToastManager();
31813
31783
  init_Layout();
31814
31784
  init_EmbedView();
@@ -31816,7 +31786,7 @@ var init_PDFView = __esm({
31816
31786
  PDFView = () => {
31817
31787
  const pdfConfig = usePDFConfig();
31818
31788
  const resetConfig = useResetPDFConfig();
31819
- const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk99.usePDFShare)(resetConfig);
31789
+ const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk98.usePDFShare)(resetConfig);
31820
31790
  (0, import_react189.useEffect)(() => {
31821
31791
  return () => {
31822
31792
  resetConfig();
@@ -31871,7 +31841,7 @@ var init_PDFView = __esm({
31871
31841
  });
31872
31842
 
31873
31843
  // src/Prebuilt/plugins/CaptionsViewer.tsx
31874
- var import_react190, import_react_draggable2, import_react_use45, import_react_sdk100, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31844
+ var import_react190, import_react_draggable2, import_react_use45, import_react_sdk99, SimpleQueue, Queue, CaptionMaintainerQueue, TranscriptView, CaptionsViewer;
31875
31845
  var init_CaptionsViewer = __esm({
31876
31846
  "src/Prebuilt/plugins/CaptionsViewer.tsx"() {
31877
31847
  "use strict";
@@ -31879,7 +31849,7 @@ var init_CaptionsViewer = __esm({
31879
31849
  import_react190 = __toESM(require("react"));
31880
31850
  import_react_draggable2 = __toESM(require("react-draggable"));
31881
31851
  import_react_use45 = require("react-use");
31882
- import_react_sdk100 = require("@100mslive/react-sdk");
31852
+ import_react_sdk99 = require("@100mslive/react-sdk");
31883
31853
  init_Layout();
31884
31854
  init_Text2();
31885
31855
  init_Theme();
@@ -32020,7 +31990,7 @@ var init_CaptionsViewer = __esm({
32020
31990
  }
32021
31991
  };
32022
31992
  TranscriptView = ({ peer_id, data: data3 }) => {
32023
- const peerName = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectPeerNameByID)(peer_id)) || "Participant";
31993
+ const peerName = (0, import_react_sdk99.useHMSStore)((0, import_react_sdk99.selectPeerNameByID)(peer_id)) || "Participant";
32024
31994
  data3 = data3.trim();
32025
31995
  if (!data3)
32026
31996
  return null;
@@ -32048,7 +32018,7 @@ var init_CaptionsViewer = __esm({
32048
32018
  const [captionQueue] = (0, import_react190.useState)(new CaptionMaintainerQueue());
32049
32019
  const [currentData, setCurrentData] = (0, import_react190.useState)([]);
32050
32020
  const isCaptionEnabled = useIsCaptionEnabled();
32051
- const isTranscriptionEnabled = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectIsTranscriptionEnabled);
32021
+ const isTranscriptionEnabled = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectIsTranscriptionEnabled);
32052
32022
  const nodeRef = (0, import_react190.useRef)(null);
32053
32023
  (0, import_react190.useEffect)(() => {
32054
32024
  const timeInterval = setInterval(() => {
@@ -32061,7 +32031,7 @@ var init_CaptionsViewer = __esm({
32061
32031
  }, 1e3);
32062
32032
  return () => clearInterval(timeInterval);
32063
32033
  }, [captionQueue]);
32064
- (0, import_react_sdk100.useTranscript)({
32034
+ (0, import_react_sdk99.useTranscript)({
32065
32035
  onTranscript: (data3) => {
32066
32036
  captionQueue && captionQueue.push(data3);
32067
32037
  }
@@ -32118,16 +32088,16 @@ var init_CaptionsViewer = __esm({
32118
32088
  });
32119
32089
 
32120
32090
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
32121
- var import_react191, import_react_sdk101, useCloseScreenshareWhiteboard;
32091
+ var import_react191, import_react_sdk100, useCloseScreenshareWhiteboard;
32122
32092
  var init_useCloseScreenshareWhiteboard = __esm({
32123
32093
  "src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx"() {
32124
32094
  "use strict";
32125
32095
  init_define_process_env();
32126
32096
  import_react191 = require("react");
32127
- import_react_sdk101 = require("@100mslive/react-sdk");
32097
+ import_react_sdk100 = require("@100mslive/react-sdk");
32128
32098
  useCloseScreenshareWhiteboard = () => {
32129
- const peerSharing = (0, import_react_sdk101.useHMSStore)(import_react_sdk101.selectPeerScreenSharing);
32130
- const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk101.useWhiteboard)();
32099
+ const peerSharing = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectPeerScreenSharing);
32100
+ const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk100.useWhiteboard)();
32131
32101
  (0, import_react191.useEffect)(() => {
32132
32102
  if (isWhiteboardOwner && peerSharing) {
32133
32103
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
@@ -32266,26 +32236,6 @@ var init_HMSVideo = __esm({
32266
32236
  init_Layout();
32267
32237
  HMSVideo = (0, import_react193.forwardRef)((_a7, videoRef) => {
32268
32238
  var _b7 = _a7, { children } = _b7, props = __objRest(_b7, ["children"]);
32269
- const [width, setWidth] = (0, import_react193.useState)("auto");
32270
- (0, import_react193.useEffect)(() => {
32271
- const updatingVideoWidth = () => {
32272
- const videoEl2 = videoRef.current;
32273
- if (!videoEl2) {
32274
- return;
32275
- }
32276
- if (videoEl2.videoWidth > videoEl2.videoHeight && width !== "100%") {
32277
- setWidth("100%");
32278
- }
32279
- };
32280
- const videoEl = videoRef.current;
32281
- if (!videoEl) {
32282
- return;
32283
- }
32284
- videoEl.addEventListener("loadedmetadata", updatingVideoWidth);
32285
- return () => {
32286
- videoEl.removeEventListener("loadedmetadata", updatingVideoWidth);
32287
- };
32288
- }, []);
32289
32239
  return /* @__PURE__ */ import_react193.default.createElement(
32290
32240
  Flex,
32291
32241
  __spreadValues({
@@ -32296,8 +32246,9 @@ var init_HMSVideo = __esm({
32296
32246
  justifyContent: "center",
32297
32247
  transition: "all 0.3s ease-in-out",
32298
32248
  "@md": {
32249
+ height: "auto",
32299
32250
  "& video": {
32300
- height: props.isFullScreen ? "" : "$60 !important"
32251
+ height: "$60 !important"
32301
32252
  }
32302
32253
  },
32303
32254
  "& video::cue": {
@@ -32326,7 +32277,7 @@ var init_HMSVideo = __esm({
32326
32277
  style: {
32327
32278
  margin: "0 auto",
32328
32279
  objectFit: "contain",
32329
- width,
32280
+ width: "auto",
32330
32281
  height: "100%",
32331
32282
  maxWidth: "100%"
32332
32283
  },
@@ -33254,7 +33205,7 @@ var HLSView_exports = {};
33254
33205
  __export(HLSView_exports, {
33255
33206
  default: () => HLSView_default
33256
33207
  });
33257
- var import_react206, import_react_use49, import_hls_player3, import_screenfull3, import_ts_pattern13, import_react_sdk102, import_react_icons97, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
33208
+ var import_react206, import_react_use49, import_hls_player3, import_screenfull3, import_ts_pattern13, import_react_sdk101, import_react_icons97, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
33258
33209
  var init_HLSView = __esm({
33259
33210
  "src/Prebuilt/layouts/HLSView.jsx"() {
33260
33211
  "use strict";
@@ -33264,7 +33215,7 @@ var init_HLSView = __esm({
33264
33215
  import_hls_player3 = require("@100mslive/hls-player");
33265
33216
  import_screenfull3 = __toESM(require("screenfull"));
33266
33217
  import_ts_pattern13 = require("ts-pattern");
33267
- import_react_sdk102 = require("@100mslive/react-sdk");
33218
+ import_react_sdk101 = require("@100mslive/react-sdk");
33268
33219
  import_react_icons97 = require("@100mslive/react-icons");
33269
33220
  init_ChatToggle();
33270
33221
  init_HlsStatsOverlay();
@@ -33292,11 +33243,11 @@ var init_HLSView = __esm({
33292
33243
  toastMap = {};
33293
33244
  ToggleChat = ({ isFullScreen = false }) => {
33294
33245
  const { elements } = useRoomLayoutConferencingScreen();
33295
- const sidepane = (0, import_react_sdk102.useHMSStore)((0, import_react_sdk102.selectAppData)(APP_DATA.sidePane));
33246
+ const sidepane = (0, import_react_sdk101.useHMSStore)((0, import_react_sdk101.selectAppData)(APP_DATA.sidePane));
33296
33247
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
33297
33248
  const showChat = !!(elements == null ? void 0 : elements.chat);
33298
33249
  const isMobile = (0, import_react_use49.useMedia)(config.media.md);
33299
- const hmsActions = (0, import_react_sdk102.useHMSActions)();
33250
+ const hmsActions = (0, import_react_sdk101.useHMSActions)();
33300
33251
  (0, import_react206.useEffect)(() => {
33301
33252
  (0, import_ts_pattern13.match)({ sidepane, isMobile, showChat, isFullScreen }).with({ isFullScreen: true }, () => {
33302
33253
  hmsActions.setAppData(APP_DATA.sidePane, "");
@@ -33314,10 +33265,10 @@ var init_HLSView = __esm({
33314
33265
  const videoRef = (0, import_react206.useRef)(null);
33315
33266
  const hlsViewRef = (0, import_react206.useRef)();
33316
33267
  const { elements } = useRoomLayoutConferencingScreen();
33317
- const hlsState = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectHLSState);
33318
- const enablHlsStats = (0, import_react_sdk102.useHMSStore)((0, import_react_sdk102.selectAppData)(APP_DATA.hlsStats));
33319
- const notification = (0, import_react_sdk102.useHMSNotifications)(import_react_sdk102.HMSNotificationTypes.POLL_STOPPED);
33320
- const hmsActions = (0, import_react_sdk102.useHMSActions)();
33268
+ const hlsState = (0, import_react_sdk101.useHMSStore)(import_react_sdk101.selectHLSState);
33269
+ const enablHlsStats = (0, import_react_sdk101.useHMSStore)((0, import_react_sdk101.selectAppData)(APP_DATA.hlsStats));
33270
+ const notification = (0, import_react_sdk101.useHMSNotifications)(import_react_sdk101.HMSNotificationTypes.POLL_STOPPED);
33271
+ const hmsActions = (0, import_react_sdk101.useHMSActions)();
33321
33272
  const { themeType } = useTheme();
33322
33273
  const [streamEnded, setStreamEnded] = (0, import_react206.useState)(false);
33323
33274
  let [hlsStatsState, setHlsStatsState] = (0, import_react206.useState)(null);
@@ -33336,7 +33287,7 @@ var init_HLSView = __esm({
33336
33287
  const [isPaused, setIsPaused] = (0, import_react206.useState)(false);
33337
33288
  const [show, toggle] = (0, import_react_use49.useToggle)(false);
33338
33289
  const lastHlsUrl = (0, import_react_use49.usePrevious)(hlsUrl);
33339
- const vanillaStore = (0, import_react_sdk102.useHMSVanillaStore)();
33290
+ const vanillaStore = (0, import_react_sdk101.useHMSVanillaStore)();
33340
33291
  const [controlsVisible, setControlsVisible] = (0, import_react206.useState)(true);
33341
33292
  const [isUserSelectedAuto, setIsUserSelectedAuto] = (0, import_react206.useState)(true);
33342
33293
  const [qualityDropDownOpen, setQualityDropDownOpen] = (0, import_react206.useState)(false);
@@ -33422,8 +33373,8 @@ var init_HLSView = __esm({
33422
33373
  const parsedPayload = parsePayload(payload);
33423
33374
  if (parsedPayload.startsWith("poll:")) {
33424
33375
  const pollId = parsedPayload.substr(parsedPayload.indexOf(":") + 1);
33425
- const poll = vanillaStore.getState((0, import_react_sdk102.selectPollByID)(pollId));
33426
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk102.selectPeerNameByID)(poll.startedBy)) || "Participant";
33376
+ const poll = vanillaStore.getState((0, import_react_sdk101.selectPollByID)(pollId));
33377
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk101.selectPeerNameByID)(poll.startedBy)) || "Participant";
33427
33378
  if (!toastMap[pollId]) {
33428
33379
  const toastID = ToastManager.addToast({
33429
33380
  title: `${pollStartedBy} started a ${poll.type}: ${poll.title}`,
@@ -33579,7 +33530,7 @@ var init_HLSView = __esm({
33579
33530
  const onDoubleClickHandler = (0, import_react206.useCallback)(
33580
33531
  (event) => {
33581
33532
  var _a8;
33582
- if (!(isMobile || isLandscape) || ((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) !== import_react_sdk102.HLSPlaylistType.DVR) {
33533
+ if (!(isMobile || isLandscape) || ((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) !== import_react_sdk101.HLSPlaylistType.DVR) {
33583
33534
  return;
33584
33535
  }
33585
33536
  const sidePercentage = event.screenX * 100 / event.target.clientWidth;
@@ -33605,7 +33556,7 @@ var init_HLSView = __esm({
33605
33556
  );
33606
33557
  const onClickHandler = (0, import_react206.useCallback)(() => __async(void 0, null, function* () {
33607
33558
  var _a8;
33608
- (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type }).with({ playlist_type: import_react_sdk102.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
33559
+ (0, import_ts_pattern13.match)({ isMobile, isLandscape, playlist_type: (_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type }).with({ playlist_type: import_react_sdk101.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
33609
33560
  if (isPaused) {
33610
33561
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
33611
33562
  } else {
@@ -33683,7 +33634,12 @@ var init_HLSView = __esm({
33683
33634
  justify: "center",
33684
33635
  css: {
33685
33636
  flex: isLandscape ? "2 1 0" : "1 1 0",
33686
- transition: "all 0.3s ease-in-out"
33637
+ transition: "all 0.3s ease-in-out",
33638
+ "&:fullscreen": {
33639
+ "& video": {
33640
+ height: "unset !important"
33641
+ }
33642
+ }
33687
33643
  }
33688
33644
  },
33689
33645
  hlsViewRef.current && (isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(Box, { css: { position: "fixed", left: "$4", top: "$4", zIndex: 11 } }, /* @__PURE__ */ import_react206.default.createElement(LeaveRoom, { screenType: "hls_live_streaming", container: hlsViewRef.current })),
@@ -33703,7 +33659,7 @@ var init_HLSView = __esm({
33703
33659
  },
33704
33660
  onKeyDown: (event) => __async(void 0, null, function* () {
33705
33661
  var _a8;
33706
- if (((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR) {
33662
+ if (((_a8 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a8.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR) {
33707
33663
  yield keyHandler(event);
33708
33664
  }
33709
33665
  }),
@@ -33729,7 +33685,6 @@ var init_HLSView = __esm({
33729
33685
  onMouseMove: onHoverHandler,
33730
33686
  onMouseLeave: onHoverHandler,
33731
33687
  onClick: onClickHandler,
33732
- isFullScreen,
33733
33688
  onDoubleClick: (e) => {
33734
33689
  onDoubleClickHandler(e);
33735
33690
  }
@@ -33748,7 +33703,7 @@ var init_HLSView = __esm({
33748
33703
  size: "100%"
33749
33704
  }
33750
33705
  },
33751
- !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33706
+ !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33752
33707
  HMSVideoPlayer.PlayPauseSeekControls.Overlay,
33753
33708
  {
33754
33709
  isPaused,
@@ -33756,7 +33711,7 @@ var init_HLSView = __esm({
33756
33711
  hoverControlsVisible
33757
33712
  }
33758
33713
  )
33759
- ), isMobile || isLandscape ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, !showLoader && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33714
+ ), isMobile || isLandscape ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, !showLoader && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR && /* @__PURE__ */ import_react206.default.createElement(
33760
33715
  HMSVideoPlayer.PlayPauseSeekControls.Overlay,
33761
33716
  {
33762
33717
  isPaused,
@@ -33823,7 +33778,7 @@ var init_HLSView = __esm({
33823
33778
  align: "start",
33824
33779
  css: {
33825
33780
  position: "absolute",
33826
- bottom: isFullScreen && ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? "$8" : "0",
33781
+ bottom: isFullScreen && ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? "$8" : "0",
33827
33782
  left: "0",
33828
33783
  zIndex: 1,
33829
33784
  background: isMobile || isLandscape ? "" : `linear-gradient(180deg, ${theme.colors.background_dim.value}00 29.46%, ${theme.colors.background_dim.value}A3 100%);`,
@@ -33833,7 +33788,7 @@ var init_HLSView = __esm({
33833
33788
  transition: "visibility 0s 0.5s, opacity 0.5s linear"
33834
33789
  }
33835
33790
  },
33836
- ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33791
+ ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
33837
33792
  /* @__PURE__ */ import_react206.default.createElement(
33838
33793
  HMSVideoPlayer.Controls.Root,
33839
33794
  {
@@ -33842,7 +33797,7 @@ var init_HLSView = __esm({
33842
33797
  },
33843
33798
  onClick: (e) => e.stopPropagation()
33844
33799
  },
33845
- /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.PlayPauseSeekControls.Button, { isPaused, onSeekTo }), !isVideoLive ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null) : null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react206.default.createElement(
33800
+ /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(import_react206.default.Fragment, null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.PlayPauseSeekControls.Button, { isPaused, onSeekTo }), !isVideoLive ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null) : null, /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Volume, null)), /* @__PURE__ */ import_react206.default.createElement(
33846
33801
  IconButton,
33847
33802
  {
33848
33803
  css: { px: "$2" },
@@ -33875,7 +33830,7 @@ var init_HLSView = __esm({
33875
33830
  },
33876
33831
  isVideoLive ? "LIVE" : "GO LIVE"
33877
33832
  )))
33878
- ), (isMobile || isLandscape) && !isVideoLive && ((_g = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _g.playlist_type) === import_react_sdk102.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null),
33833
+ ), (isMobile || isLandscape) && !isVideoLive && ((_g = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _g.playlist_type) === import_react_sdk101.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Duration, null) : null),
33879
33834
  /* @__PURE__ */ import_react206.default.createElement(HMSVideoPlayer.Controls.Right, null, hasCaptions && !(isMobile || isLandscape) && /* @__PURE__ */ import_react206.default.createElement(HLSCaptionSelector, { isEnabled: isCaptionEnabled }), availableLayers.length > 0 && !(isMobile || isLandscape) ? /* @__PURE__ */ import_react206.default.createElement(
33880
33835
  HLSQualitySelector,
33881
33836
  {
@@ -33884,8 +33839,7 @@ var init_HLSView = __esm({
33884
33839
  open: qualityDropDownOpen,
33885
33840
  selection: currentSelectedQuality,
33886
33841
  onQualityChange: handleQuality,
33887
- isAuto: isUserSelectedAuto,
33888
- containerRef: hlsViewRef.current
33842
+ isAuto: isUserSelectedAuto
33889
33843
  }
33890
33844
  ) : null, isFullScreenSupported ? /* @__PURE__ */ import_react206.default.createElement(FullScreenButton2, { isFullScreen, onToggle: toggle }) : null)
33891
33845
  )
@@ -33901,7 +33855,7 @@ var init_HLSView = __esm({
33901
33855
  });
33902
33856
 
33903
33857
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
33904
- var import_react207, import_react_use50, import_ts_pattern14, import_react_sdk103, import_react_icons98, HLSView2, VideoStreamingSection;
33858
+ var import_react207, import_react_use50, import_ts_pattern14, import_react_sdk102, import_react_icons98, HLSView2, VideoStreamingSection;
33905
33859
  var init_VideoStreamingSection = __esm({
33906
33860
  "src/Prebuilt/layouts/VideoStreamingSection.tsx"() {
33907
33861
  "use strict";
@@ -33909,7 +33863,7 @@ var init_VideoStreamingSection = __esm({
33909
33863
  import_react207 = __toESM(require("react"));
33910
33864
  import_react_use50 = require("react-use");
33911
33865
  import_ts_pattern14 = require("ts-pattern");
33912
- import_react_sdk103 = require("@100mslive/react-sdk");
33866
+ import_react_sdk102 = require("@100mslive/react-sdk");
33913
33867
  import_react_icons98 = require("@100mslive/react-icons");
33914
33868
  init_FullPageProgress();
33915
33869
  init_GridLayout();
@@ -33930,10 +33884,10 @@ var init_VideoStreamingSection = __esm({
33930
33884
  hideControls = false
33931
33885
  }) => {
33932
33886
  var _a7;
33933
- const localPeerRoleName = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectLocalPeerRoleName);
33934
- const isConnected = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsConnectedToRoom);
33935
- const isSharingScreen = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsLocalScreenShared);
33936
- const hmsActions = (0, import_react_sdk103.useHMSActions)();
33887
+ const localPeerRoleName = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectLocalPeerRoleName);
33888
+ const isConnected = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectIsConnectedToRoom);
33889
+ const isSharingScreen = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectIsLocalScreenShared);
33890
+ const hmsActions = (0, import_react_sdk102.useHMSActions)();
33937
33891
  const urlToIframe = useUrlToEmbed();
33938
33892
  const pdfAnnotatorActive = usePDFConfig();
33939
33893
  const isMobileHLSStream = useMobileHLSStream();
@@ -34075,13 +34029,13 @@ var init_RoomDetailsHeader = __esm({
34075
34029
  });
34076
34030
 
34077
34031
  // src/Prebuilt/components/Header/common.jsx
34078
- var import_react209, import_react_sdk104, import_react_icons100, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
34032
+ var import_react209, import_react_sdk103, import_react_icons100, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
34079
34033
  var init_common2 = __esm({
34080
34034
  "src/Prebuilt/components/Header/common.jsx"() {
34081
34035
  "use strict";
34082
34036
  init_define_process_env();
34083
34037
  import_react209 = __toESM(require("react"));
34084
- import_react_sdk104 = require("@100mslive/react-sdk");
34038
+ import_react_sdk103 = require("@100mslive/react-sdk");
34085
34039
  import_react_icons100 = require("@100mslive/react-icons");
34086
34040
  init_Divider2();
34087
34041
  init_Label2();
@@ -34091,12 +34045,12 @@ var init_common2 = __esm({
34091
34045
  init_IconButton3();
34092
34046
  init_ToastManager();
34093
34047
  CamaraFlipActions = () => {
34094
- const actions = (0, import_react_sdk104.useHMSActions)();
34095
- const { allDevices } = (0, import_react_sdk104.useDevices)();
34048
+ const actions = (0, import_react_sdk103.useHMSActions)();
34049
+ const { allDevices } = (0, import_react_sdk103.useDevices)();
34096
34050
  const { videoInput } = allDevices;
34097
- const isVideoOn = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectIsLocalVideoEnabled);
34098
- const videoTrackId = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectLocalVideoTrackID);
34099
- const localVideoTrack = (0, import_react_sdk104.useHMSStore)((0, import_react_sdk104.selectVideoTrackByID)(videoTrackId));
34051
+ const isVideoOn = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsLocalVideoEnabled);
34052
+ const videoTrackId = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectLocalVideoTrackID);
34053
+ const localVideoTrack = (0, import_react_sdk103.useHMSStore)((0, import_react_sdk103.selectVideoTrackByID)(videoTrackId));
34100
34054
  if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
34101
34055
  return null;
34102
34056
  }
@@ -34119,7 +34073,7 @@ var init_common2 = __esm({
34119
34073
  ));
34120
34074
  };
34121
34075
  AudioActions = () => {
34122
- const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk104.useDevices)();
34076
+ const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk103.useDevices)();
34123
34077
  const shouldShowAudioOutput = "setSinkId" in HTMLMediaElement.prototype;
34124
34078
  const { audioInput, audioOutput } = allDevices;
34125
34079
  let availableAudioDevices = audioInput;
@@ -34128,7 +34082,7 @@ var init_common2 = __esm({
34128
34082
  availableAudioDevices = audioOutput;
34129
34083
  selectedAudio = selectedDeviceIDs.audioOutput;
34130
34084
  }
34131
- const hmsActions = (0, import_react_sdk104.useHMSActions)();
34085
+ const hmsActions = (0, import_react_sdk103.useHMSActions)();
34132
34086
  const audioFiltered = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => !!item.label);
34133
34087
  const currentSelection = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => item.deviceId === selectedAudio);
34134
34088
  if (!audioFiltered) {
@@ -34151,7 +34105,7 @@ var init_common2 = __esm({
34151
34105
  try {
34152
34106
  yield updateDevice({
34153
34107
  deviceId,
34154
- deviceType: shouldShowAudioOutput ? import_react_sdk104.DeviceType.audioOutput : import_react_sdk104.DeviceType.audioInput
34108
+ deviceType: shouldShowAudioOutput ? import_react_sdk103.DeviceType.audioOutput : import_react_sdk103.DeviceType.audioInput
34155
34109
  });
34156
34110
  } catch (e) {
34157
34111
  ToastManager.addToast({
@@ -34235,23 +34189,23 @@ var init_common2 = __esm({
34235
34189
  });
34236
34190
 
34237
34191
  // src/Prebuilt/components/Header/Header.tsx
34238
- var import_react210, import_react_use52, import_react_sdk105, Header2;
34192
+ var import_react210, import_react_use52, import_react_sdk104, Header2;
34239
34193
  var init_Header = __esm({
34240
34194
  "src/Prebuilt/components/Header/Header.tsx"() {
34241
34195
  "use strict";
34242
34196
  init_define_process_env();
34243
34197
  import_react210 = __toESM(require("react"));
34244
34198
  import_react_use52 = require("react-use");
34245
- import_react_sdk105 = require("@100mslive/react-sdk");
34199
+ import_react_sdk104 = require("@100mslive/react-sdk");
34246
34200
  init_src();
34247
34201
  init_HeaderComponents();
34248
34202
  init_RoomDetailsHeader();
34249
34203
  init_StreamActions();
34250
34204
  init_common2();
34251
34205
  Header2 = () => {
34252
- const roomState = (0, import_react_sdk105.useHMSStore)(import_react_sdk105.selectRoomState);
34206
+ const roomState = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectRoomState);
34253
34207
  const isMobile = (0, import_react_use52.useMedia)(config.media.md);
34254
- if (roomState !== import_react_sdk105.HMSRoomState.Connected) {
34208
+ if (roomState !== import_react_sdk104.HMSRoomState.Connected) {
34255
34209
  return /* @__PURE__ */ import_react210.default.createElement(import_react210.default.Fragment, null);
34256
34210
  }
34257
34211
  return /* @__PURE__ */ import_react210.default.createElement(Flex, { justify: "between", align: "center", css: { position: "relative", height: "100%" } }, /* @__PURE__ */ import_react210.default.createElement(Flex, { align: "center", gap: "2", css: { position: "absolute", left: "$10" } }, /* @__PURE__ */ import_react210.default.createElement(Logo, null), /* @__PURE__ */ import_react210.default.createElement(RoomDetailsHeader, null), /* @__PURE__ */ import_react210.default.createElement(SpeakerTag, null), isMobile && /* @__PURE__ */ import_react210.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react210.default.createElement(LiveStatus, null), /* @__PURE__ */ import_react210.default.createElement(RecordingStatus, null), /* @__PURE__ */ import_react210.default.createElement(RecordingPauseStatus, null))), /* @__PURE__ */ import_react210.default.createElement(
@@ -34281,25 +34235,25 @@ var init_Header2 = __esm({
34281
34235
  });
34282
34236
 
34283
34237
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
34284
- var import_react211, import_react_sdk106, PreviousRoleInMetadata;
34238
+ var import_react211, import_react_sdk105, PreviousRoleInMetadata;
34285
34239
  var init_PreviousRoleInMetadata = __esm({
34286
34240
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx"() {
34287
34241
  "use strict";
34288
34242
  init_define_process_env();
34289
34243
  import_react211 = require("react");
34290
- import_react_sdk106 = require("@100mslive/react-sdk");
34244
+ import_react_sdk105 = require("@100mslive/react-sdk");
34291
34245
  init_useMetadata();
34292
34246
  PreviousRoleInMetadata = () => {
34293
- const vanillaStore = (0, import_react_sdk106.useHMSVanillaStore)();
34247
+ const vanillaStore = (0, import_react_sdk105.useHMSVanillaStore)();
34294
34248
  const { updateMetaData } = useMyMetadata();
34295
34249
  (0, import_react211.useEffect)(() => {
34296
- let previousRole = vanillaStore.getState(import_react_sdk106.selectLocalPeerRoleName);
34250
+ let previousRole = vanillaStore.getState(import_react_sdk105.selectLocalPeerRoleName);
34297
34251
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
34298
34252
  if (previousRole !== currentRole && currentRole) {
34299
34253
  updateMetaData({ prevRole: previousRole });
34300
34254
  previousRole = currentRole;
34301
34255
  }
34302
- }, import_react_sdk106.selectLocalPeerRoleName);
34256
+ }, import_react_sdk105.selectLocalPeerRoleName);
34303
34257
  return unsubscribe;
34304
34258
  }, [vanillaStore]);
34305
34259
  return null;
@@ -34308,14 +34262,14 @@ var init_PreviousRoleInMetadata = __esm({
34308
34262
  });
34309
34263
 
34310
34264
  // src/Prebuilt/components/ConferenceScreen.tsx
34311
- var import_react212, import_uuid12, import_react_sdk107, ConferenceScreen;
34265
+ var import_react212, import_uuid12, import_react_sdk106, ConferenceScreen;
34312
34266
  var init_ConferenceScreen = __esm({
34313
34267
  "src/Prebuilt/components/ConferenceScreen.tsx"() {
34314
34268
  "use strict";
34315
34269
  init_define_process_env();
34316
34270
  import_react212 = __toESM(require("react"));
34317
34271
  import_uuid12 = require("uuid");
34318
- import_react_sdk107 = require("@100mslive/react-sdk");
34272
+ import_react_sdk106 = require("@100mslive/react-sdk");
34319
34273
  init_Footer3();
34320
34274
  init_MoreSettings();
34321
34275
  init_HLSFailureModal();
@@ -34339,18 +34293,18 @@ var init_ConferenceScreen = __esm({
34339
34293
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
34340
34294
  const screenProps = useRoomLayoutConferencingScreen();
34341
34295
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
34342
- const roomState = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectRoomState);
34343
- const isConnectedToRoom = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectIsConnectedToRoom);
34344
- const hmsActions = (0, import_react_sdk107.useHMSActions)();
34296
+ const roomState = (0, import_react_sdk106.useHMSStore)(import_react_sdk106.selectRoomState);
34297
+ const isConnectedToRoom = (0, import_react_sdk106.useHMSStore)(import_react_sdk106.selectIsConnectedToRoom);
34298
+ const hmsActions = (0, import_react_sdk106.useHMSActions)();
34345
34299
  const [hideControls, setHideControls] = (0, import_react212.useState)(false);
34346
- const dropdownList = (0, import_react_sdk107.useHMSStore)((0, import_react_sdk107.selectAppData)(APP_DATA.dropdownList));
34300
+ const dropdownList = (0, import_react_sdk106.useHMSStore)((0, import_react_sdk106.selectAppData)(APP_DATA.dropdownList));
34347
34301
  const authTokenInAppData = useAuthToken();
34348
34302
  const headerRef = (0, import_react212.useRef)(null);
34349
34303
  const footerRef = (0, import_react212.useRef)(null);
34350
34304
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
34351
34305
  const dropdownListRef = (0, import_react212.useRef)();
34352
34306
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
34353
- const { requestPermission } = (0, import_react_sdk107.useAwayNotifications)();
34307
+ const { requestPermission } = (0, import_react_sdk106.useAwayNotifications)();
34354
34308
  const showChat = !!((_a7 = screenProps.elements) == null ? void 0 : _a7.chat);
34355
34309
  const autoRoomJoined = (0, import_react212.useRef)(isPreviewScreenEnabled);
34356
34310
  const isMobileHLSStream = useMobileHLSStream();
@@ -34378,7 +34332,7 @@ var init_ConferenceScreen = __esm({
34378
34332
  };
34379
34333
  }, [dropdownList, hideControls, isMobileDevice]);
34380
34334
  (0, import_react212.useEffect)(() => {
34381
- if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk107.HMSRoomState.Connecting && !autoRoomJoined.current) {
34335
+ if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk106.HMSRoomState.Connecting && !autoRoomJoined.current) {
34382
34336
  hmsActions.join({
34383
34337
  userName: userName || (0, import_uuid12.v4)(),
34384
34338
  authToken: authTokenInAppData,
@@ -34407,8 +34361,8 @@ var init_ConferenceScreen = __esm({
34407
34361
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
34408
34362
  };
34409
34363
  }, [onJoinFunc]);
34410
- if (!isConnectedToRoom && ![import_react_sdk107.HMSRoomState.Reconnecting, import_react_sdk107.HMSRoomState.Disconnected].includes(roomState)) {
34411
- return /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk107.HMSRoomState.Connecting ? "Joining..." : "" });
34364
+ if (!isConnectedToRoom && ![import_react_sdk106.HMSRoomState.Reconnecting, import_react_sdk106.HMSRoomState.Disconnected].includes(roomState)) {
34365
+ return /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk106.HMSRoomState.Connecting ? "Joining..." : "" });
34412
34366
  }
34413
34367
  const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
34414
34368
  return /* @__PURE__ */ import_react212.default.createElement(import_react212.default.Fragment, null, isHLSStarted ? /* @__PURE__ */ import_react212.default.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ import_react212.default.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ import_react212.default.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ import_react212.default.createElement(
@@ -34594,7 +34548,7 @@ var init_ErrorBoundary = __esm({
34594
34548
 
34595
34549
  // src/Prebuilt/services/FeatureFlags.jsx
34596
34550
  function FeatureFlagsInit() {
34597
- const roomId = (0, import_react_sdk108.useHMSStore)(import_react_sdk108.selectRoomID);
34551
+ const roomId = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectRoomID);
34598
34552
  (0, import_react214.useEffect)(() => {
34599
34553
  if (roomId) {
34600
34554
  FeatureFlags.init(roomId);
@@ -34602,13 +34556,13 @@ function FeatureFlagsInit() {
34602
34556
  }, [roomId]);
34603
34557
  return null;
34604
34558
  }
34605
- var import_react214, import_react_sdk108, FeatureFlags;
34559
+ var import_react214, import_react_sdk107, FeatureFlags;
34606
34560
  var init_FeatureFlags = __esm({
34607
34561
  "src/Prebuilt/services/FeatureFlags.jsx"() {
34608
34562
  "use strict";
34609
34563
  init_define_process_env();
34610
34564
  import_react214 = require("react");
34611
- import_react_sdk108 = require("@100mslive/react-sdk");
34565
+ import_react_sdk107 = require("@100mslive/react-sdk");
34612
34566
  FeatureFlags = class {
34613
34567
  static init(roomId) {
34614
34568
  if (!window.HMS) {
@@ -34666,13 +34620,13 @@ var init_Init = __esm({
34666
34620
  });
34667
34621
 
34668
34622
  // src/Prebuilt/components/Input/KeyboardInputManager.js
34669
- var import_react216, import_react_sdk109, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
34623
+ var import_react216, import_react_sdk108, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
34670
34624
  var init_KeyboardInputManager = __esm({
34671
34625
  "src/Prebuilt/components/Input/KeyboardInputManager.js"() {
34672
34626
  "use strict";
34673
34627
  init_define_process_env();
34674
34628
  import_react216 = require("react");
34675
- import_react_sdk109 = require("@100mslive/react-sdk");
34629
+ import_react_sdk108 = require("@100mslive/react-sdk");
34676
34630
  init_constants();
34677
34631
  isEvenListenersAttached = false;
34678
34632
  KeyboardInputManager = class {
@@ -34680,27 +34634,27 @@ var init_KeyboardInputManager = __esm({
34680
34634
  __privateAdd(this, _actions, void 0);
34681
34635
  __privateAdd(this, _store, void 0);
34682
34636
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
34683
- const enabled = __privateGet(this, _store).getState(import_react_sdk109.selectIsLocalAudioEnabled);
34637
+ const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalAudioEnabled);
34684
34638
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
34685
34639
  }));
34686
34640
  __privateAdd(this, _toggleVideo, () => __async(this, null, function* () {
34687
- const enabled = __privateGet(this, _store).getState(import_react_sdk109.selectIsLocalVideoEnabled);
34641
+ const enabled = __privateGet(this, _store).getState(import_react_sdk108.selectIsLocalVideoEnabled);
34688
34642
  yield __privateGet(this, _actions).setLocalVideoEnabled(!enabled);
34689
34643
  }));
34690
34644
  __privateAdd(this, _hideSidepane, () => {
34691
- if (__privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.sidePane))) {
34645
+ if (__privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.sidePane))) {
34692
34646
  __privateGet(this, _actions).setAppData(APP_DATA.sidePane, "");
34693
34647
  }
34694
34648
  });
34695
34649
  __privateAdd(this, _toggleStatsForNerds, () => {
34696
- const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.uiSettings));
34650
+ const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.uiSettings));
34697
34651
  const statsEnabled = uiSettings.showStatsOnTiles;
34698
34652
  __privateGet(this, _actions).setAppData(APP_DATA.uiSettings, __spreadProps(__spreadValues({}, uiSettings), {
34699
34653
  showStatsOnTiles: !statsEnabled
34700
34654
  }));
34701
34655
  });
34702
34656
  __privateAdd(this, _toggleHlsStats, () => {
34703
- __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk109.selectAppData)(APP_DATA.hlsStats)));
34657
+ __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk108.selectAppData)(APP_DATA.hlsStats)));
34704
34658
  });
34705
34659
  // eslint-disable-next-line complexity
34706
34660
  __privateAdd(this, _keyDownHandler, (e) => __async(this, null, function* () {
@@ -34758,8 +34712,8 @@ var init_KeyboardInputManager = __esm({
34758
34712
  _bind = new WeakMap();
34759
34713
  _unbind = new WeakMap();
34760
34714
  KeyboardHandler = () => {
34761
- const store = (0, import_react_sdk109.useHMSVanillaStore)();
34762
- const actions = (0, import_react_sdk109.useHMSActions)();
34715
+ const store = (0, import_react_sdk108.useHMSVanillaStore)();
34716
+ const actions = (0, import_react_sdk108.useHMSActions)();
34763
34717
  (0, import_react216.useEffect)(() => {
34764
34718
  const keyboardManager = new KeyboardInputManager(store, actions);
34765
34719
  keyboardManager.bindAllShortcuts();
@@ -34771,14 +34725,14 @@ var init_KeyboardInputManager = __esm({
34771
34725
  });
34772
34726
 
34773
34727
  // src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx
34774
- var import_react217, import_react_use53, import_react_sdk110, import_react_icons102, FEEBACK_INDEX, FeedbackModal, FeedbackContent, FeedbackHeader, FeedbackForm;
34728
+ var import_react217, import_react_use53, import_react_sdk109, import_react_icons102, FEEBACK_INDEX, FeedbackModal, FeedbackContent, FeedbackHeader, FeedbackForm;
34775
34729
  var init_FeedbackForm = __esm({
34776
34730
  "src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx"() {
34777
34731
  "use strict";
34778
34732
  init_define_process_env();
34779
34733
  import_react217 = __toESM(require("react"));
34780
34734
  import_react_use53 = require("react-use");
34781
- import_react_sdk110 = require("@100mslive/react-sdk");
34735
+ import_react_sdk109 = require("@100mslive/react-sdk");
34782
34736
  import_react_icons102 = require("@100mslive/react-icons");
34783
34737
  init_Button2();
34784
34738
  init_Checkbox2();
@@ -34836,7 +34790,7 @@ var init_FeedbackForm = __esm({
34836
34790
  const { feedback } = useRoomLayoutLeaveScreen();
34837
34791
  const { endpoints } = useHMSPrebuiltContext();
34838
34792
  const isMobile = (0, import_react_use53.useMedia)(config.media.md);
34839
- const hmsActions = (0, import_react_sdk110.useHMSActions)();
34793
+ const hmsActions = (0, import_react_sdk109.useHMSActions)();
34840
34794
  const [comment, setComment] = (0, import_react217.useState)("");
34841
34795
  const [selectedReasons, setSelectedReasons] = (0, import_react217.useState)(/* @__PURE__ */ new Set());
34842
34796
  const handleCheckedChange = (checked, index) => {
@@ -35398,7 +35352,7 @@ var init_MwebLandscapePrompt = __esm({
35398
35352
 
35399
35353
  // src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx
35400
35354
  function AutoplayBlockedModal() {
35401
- const { error, resetError, unblockAudio } = (0, import_react_sdk111.useAutoplayError)();
35355
+ const { error, resetError, unblockAudio } = (0, import_react_sdk110.useAutoplayError)();
35402
35356
  return /* @__PURE__ */ import_react222.default.createElement(
35403
35357
  Dialog.Root,
35404
35358
  {
@@ -35423,33 +35377,33 @@ function AutoplayBlockedModal() {
35423
35377
  )))
35424
35378
  );
35425
35379
  }
35426
- var import_react222, import_react_sdk111;
35380
+ var import_react222, import_react_sdk110;
35427
35381
  var init_AutoplayBlockedModal = __esm({
35428
35382
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx"() {
35429
35383
  "use strict";
35430
35384
  init_define_process_env();
35431
35385
  import_react222 = __toESM(require("react"));
35432
- import_react_sdk111 = require("@100mslive/react-sdk");
35386
+ import_react_sdk110 = require("@100mslive/react-sdk");
35433
35387
  init_src();
35434
35388
  init_DialogContent2();
35435
35389
  }
35436
35390
  });
35437
35391
 
35438
35392
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
35439
- var import_react223, import_uuid13, import_react_sdk112, import_react_icons106, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
35393
+ var import_react223, import_uuid13, import_react_sdk111, import_react_icons106, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
35440
35394
  var init_ChatNotifications = __esm({
35441
35395
  "src/Prebuilt/components/Notifications/ChatNotifications.tsx"() {
35442
35396
  "use strict";
35443
35397
  init_define_process_env();
35444
35398
  import_react223 = __toESM(require("react"));
35445
35399
  import_uuid13 = require("uuid");
35446
- import_react_sdk112 = require("@100mslive/react-sdk");
35400
+ import_react_sdk111 = require("@100mslive/react-sdk");
35447
35401
  import_react_icons106 = require("@100mslive/react-icons");
35448
35402
  init_ToastManager();
35449
35403
  NOTIFICATION_TIME_DIFFERENCE = 5e3;
35450
35404
  ChatNotifications = () => {
35451
- const chatState = (0, import_react_sdk112.useHMSStore)((0, import_react_sdk112.selectSessionStore)("chatState" /* CHAT_STATE */));
35452
- const localPeerId = (0, import_react_sdk112.useHMSStore)(import_react_sdk112.selectLocalPeerID);
35405
+ const chatState = (0, import_react_sdk111.useHMSStore)((0, import_react_sdk111.selectSessionStore)("chatState" /* CHAT_STATE */));
35406
+ const localPeerId = (0, import_react_sdk111.useHMSStore)(import_react_sdk111.selectLocalPeerID);
35453
35407
  (0, import_react223.useEffect)(() => {
35454
35408
  var _a7, _b7;
35455
35409
  if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
@@ -35472,13 +35426,13 @@ var init_ChatNotifications = __esm({
35472
35426
  });
35473
35427
 
35474
35428
  // src/Prebuilt/components/Toast/ToastConfig.jsx
35475
- var import_react224, import_react_sdk113, import_react_icons107, ChatAction, HandRaiseAction, ToastConfig;
35429
+ var import_react224, import_react_sdk112, import_react_icons107, ChatAction, HandRaiseAction, ToastConfig;
35476
35430
  var init_ToastConfig = __esm({
35477
35431
  "src/Prebuilt/components/Toast/ToastConfig.jsx"() {
35478
35432
  "use strict";
35479
35433
  init_define_process_env();
35480
35434
  import_react224 = __toESM(require("react"));
35481
- import_react_sdk113 = require("@100mslive/react-sdk");
35435
+ import_react_sdk112 = require("@100mslive/react-sdk");
35482
35436
  import_react_icons107 = require("@100mslive/react-icons");
35483
35437
  init_Button2();
35484
35438
  init_roomLayoutProvider();
@@ -35494,10 +35448,10 @@ var init_ToastConfig = __esm({
35494
35448
  });
35495
35449
  HandRaiseAction = import_react224.default.forwardRef(({ id = "", isSingleHandRaise = true }, ref) => {
35496
35450
  var _a7, _b7, _c;
35497
- const hmsActions = (0, import_react_sdk113.useHMSActions)();
35451
+ const hmsActions = (0, import_react_sdk112.useHMSActions)();
35498
35452
  const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
35499
35453
  const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
35500
- const peer = (0, import_react_sdk113.useHMSStore)((0, import_react_sdk113.selectPeerByID)(id));
35454
+ const peer = (0, import_react_sdk112.useHMSStore)((0, import_react_sdk112.selectPeerByID)(id));
35501
35455
  const layout = useRoomLayout();
35502
35456
  const {
35503
35457
  bring_to_stage_label,
@@ -35714,14 +35668,14 @@ var init_ToastBatcher = __esm({
35714
35668
  });
35715
35669
 
35716
35670
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
35717
- var import_react225, import_react_use57, import_react_sdk114, HandRaisedNotifications;
35671
+ var import_react225, import_react_use57, import_react_sdk113, HandRaisedNotifications;
35718
35672
  var init_HandRaisedNotifications = __esm({
35719
35673
  "src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx"() {
35720
35674
  "use strict";
35721
35675
  init_define_process_env();
35722
35676
  import_react225 = require("react");
35723
35677
  import_react_use57 = require("react-use");
35724
- import_react_sdk114 = require("@100mslive/react-sdk");
35678
+ import_react_sdk113 = require("@100mslive/react-sdk");
35725
35679
  init_roomLayoutProvider();
35726
35680
  init_ToastBatcher();
35727
35681
  init_useRoomLayoutScreen();
@@ -35729,24 +35683,24 @@ var init_HandRaisedNotifications = __esm({
35729
35683
  init_constants();
35730
35684
  HandRaisedNotifications = () => {
35731
35685
  var _a7, _b7;
35732
- const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.HAND_RAISE_CHANGED);
35733
- const roomState = (0, import_react_sdk114.useHMSStore)(import_react_sdk114.selectRoomState);
35734
- const vanillaStore = (0, import_react_sdk114.useHMSVanillaStore)();
35686
+ const notification = (0, import_react_sdk113.useHMSNotifications)(import_react_sdk113.HMSNotificationTypes.HAND_RAISE_CHANGED);
35687
+ const roomState = (0, import_react_sdk113.useHMSStore)(import_react_sdk113.selectRoomState);
35688
+ const vanillaStore = (0, import_react_sdk113.useHMSVanillaStore)();
35735
35689
  const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
35736
35690
  const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
35737
- const amIScreenSharing = (0, import_react_sdk114.useHMSStore)(import_react_sdk114.selectIsLocalScreenShared);
35738
- const { showNotification } = (0, import_react_sdk114.useAwayNotifications)();
35691
+ const amIScreenSharing = (0, import_react_sdk113.useHMSStore)(import_react_sdk113.selectIsLocalScreenShared);
35692
+ const { showNotification } = (0, import_react_sdk113.useAwayNotifications)();
35739
35693
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
35740
35694
  (0, import_react225.useEffect)(() => {
35741
35695
  var _a8;
35742
35696
  if (!(notification == null ? void 0 : notification.data)) {
35743
35697
  return;
35744
35698
  }
35745
- if (roomState !== import_react_sdk114.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35699
+ if (roomState !== import_react_sdk113.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35746
35700
  return;
35747
35701
  }
35748
- const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk114.selectHasPeerHandRaised)(notification.data.id));
35749
- const peer = vanillaStore.getState((0, import_react_sdk114.selectPeerByID)(notification.data.id));
35702
+ const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk113.selectHasPeerHandRaised)(notification.data.id));
35703
+ const peer = vanillaStore.getState((0, import_react_sdk113.selectPeerByID)(notification.data.id));
35750
35704
  if (hasPeerHandRaised) {
35751
35705
  const showCTA = (peer == null ? void 0 : peer.roleName) && ((_a8 = (on_stage_exp == null ? void 0 : on_stage_exp.off_stage_roles) || []) == null ? void 0 : _a8.includes(peer.roleName));
35752
35706
  ToastBatcher.showToast({ notification, type: showCTA ? "RAISE_HAND_HLS" : "RAISE_HAND" });
@@ -35758,12 +35712,12 @@ var init_HandRaisedNotifications = __esm({
35758
35712
  if (!(notification == null ? void 0 : notification.data)) {
35759
35713
  return;
35760
35714
  }
35761
- if (roomState !== import_react_sdk114.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35715
+ if (roomState !== import_react_sdk113.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
35762
35716
  return;
35763
35717
  }
35764
- const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk114.selectHasPeerHandRaised)(notification.data.id));
35765
- const peer = vanillaStore.getState((0, import_react_sdk114.selectPeerByID)(notification.data.id));
35766
- const handRaisedPeers = vanillaStore.getState(import_react_sdk114.selectHandRaisedPeers);
35718
+ const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk113.selectHasPeerHandRaised)(notification.data.id));
35719
+ const peer = vanillaStore.getState((0, import_react_sdk113.selectPeerByID)(notification.data.id));
35720
+ const handRaisedPeers = vanillaStore.getState(import_react_sdk113.selectHandRaisedPeers);
35767
35721
  if (amIScreenSharing && hasPeerHandRaised) {
35768
35722
  const title = `${peer == null ? void 0 : peer.name} ${handRaisedPeers.length > 1 ? `and ${handRaisedPeers.length - 1} others` : ""} raised hand`;
35769
35723
  showNotification(title, { icon: logoURL });
@@ -35778,17 +35732,17 @@ var init_HandRaisedNotifications = __esm({
35778
35732
  });
35779
35733
 
35780
35734
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
35781
- var import_react226, import_react_sdk115, InitErrorModal;
35735
+ var import_react226, import_react_sdk114, InitErrorModal;
35782
35736
  var init_InitErrorModal = __esm({
35783
35737
  "src/Prebuilt/components/Notifications/InitErrorModal.tsx"() {
35784
35738
  "use strict";
35785
35739
  init_define_process_env();
35786
35740
  import_react226 = __toESM(require("react"));
35787
- import_react_sdk115 = require("@100mslive/react-sdk");
35741
+ import_react_sdk114 = require("@100mslive/react-sdk");
35788
35742
  init_src();
35789
35743
  init_DialogContent2();
35790
35744
  InitErrorModal = () => {
35791
- const notification = (0, import_react_sdk115.useHMSNotifications)(import_react_sdk115.HMSNotificationTypes.ERROR);
35745
+ const notification = (0, import_react_sdk114.useHMSNotifications)(import_react_sdk114.HMSNotificationTypes.ERROR);
35792
35746
  const [showModal, setShowModal] = (0, import_react226.useState)(false);
35793
35747
  const [info, setInfo] = (0, import_react226.useState)({ title: "Init Error", description: "" });
35794
35748
  (0, import_react226.useEffect)(() => {
@@ -35817,19 +35771,19 @@ var init_InitErrorModal = __esm({
35817
35771
  });
35818
35772
 
35819
35773
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
35820
- var import_react227, import_react_sdk116, notificationTypes, PeerNotifications;
35774
+ var import_react227, import_react_sdk115, notificationTypes, PeerNotifications;
35821
35775
  var init_PeerNotifications = __esm({
35822
35776
  "src/Prebuilt/components/Notifications/PeerNotifications.tsx"() {
35823
35777
  "use strict";
35824
35778
  init_define_process_env();
35825
35779
  import_react227 = require("react");
35826
- import_react_sdk116 = require("@100mslive/react-sdk");
35780
+ import_react_sdk115 = require("@100mslive/react-sdk");
35827
35781
  init_ToastBatcher();
35828
35782
  init_useUISettings();
35829
35783
  init_constants();
35830
- notificationTypes = [import_react_sdk116.HMSNotificationTypes.PEER_JOINED, import_react_sdk116.HMSNotificationTypes.PEER_LEFT];
35784
+ notificationTypes = [import_react_sdk115.HMSNotificationTypes.PEER_JOINED, import_react_sdk115.HMSNotificationTypes.PEER_LEFT];
35831
35785
  PeerNotifications = () => {
35832
- const notification = (0, import_react_sdk116.useHMSNotifications)(notificationTypes);
35786
+ const notification = (0, import_react_sdk115.useHMSNotifications)(notificationTypes);
35833
35787
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
35834
35788
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
35835
35789
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
@@ -35839,12 +35793,12 @@ var init_PeerNotifications = __esm({
35839
35793
  }
35840
35794
  console.debug(`[${notification.type}]`, notification);
35841
35795
  switch (notification.type) {
35842
- case import_react_sdk116.HMSNotificationTypes.PEER_JOINED:
35796
+ case import_react_sdk115.HMSNotificationTypes.PEER_JOINED:
35843
35797
  if (!isPeerJoinSubscribed) {
35844
35798
  return;
35845
35799
  }
35846
35800
  break;
35847
- case import_react_sdk116.HMSNotificationTypes.PEER_LEFT:
35801
+ case import_react_sdk115.HMSNotificationTypes.PEER_LEFT:
35848
35802
  if (selectedPeer.id === notification.data.id) {
35849
35803
  setPeerSelector({});
35850
35804
  }
@@ -35880,17 +35834,17 @@ var init_ios_perm_0 = __esm({
35880
35834
 
35881
35835
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
35882
35836
  function PermissionErrorNotificationModal() {
35883
- const notification = (0, import_react_sdk117.useHMSNotifications)(import_react_sdk117.HMSNotificationTypes.ERROR);
35837
+ const notification = (0, import_react_sdk116.useHMSNotifications)(import_react_sdk116.HMSNotificationTypes.ERROR);
35884
35838
  return /* @__PURE__ */ import_react228.default.createElement(PermissionErrorModal, { error: notification == null ? void 0 : notification.data });
35885
35839
  }
35886
- var import_react228, import_react_use58, import_react_sdk117, PermissionErrorModal;
35840
+ var import_react228, import_react_use58, import_react_sdk116, PermissionErrorModal;
35887
35841
  var init_PermissionErrorModal = __esm({
35888
35842
  "src/Prebuilt/components/Notifications/PermissionErrorModal.tsx"() {
35889
35843
  "use strict";
35890
35844
  init_define_process_env();
35891
35845
  import_react228 = __toESM(require("react"));
35892
35846
  import_react_use58 = require("react-use");
35893
- import_react_sdk117 = require("@100mslive/react-sdk");
35847
+ import_react_sdk116 = require("@100mslive/react-sdk");
35894
35848
  init_src();
35895
35849
  init_android_perm_1();
35896
35850
  init_ios_perm_0();
@@ -35956,35 +35910,35 @@ var init_PermissionErrorModal = __esm({
35956
35910
  });
35957
35911
 
35958
35912
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
35959
- var import_react229, import_react_sdk118, notificationTypes2, notificationId, ReconnectNotifications;
35913
+ var import_react229, import_react_sdk117, notificationTypes2, notificationId, ReconnectNotifications;
35960
35914
  var init_ReconnectNotifications = __esm({
35961
35915
  "src/Prebuilt/components/Notifications/ReconnectNotifications.tsx"() {
35962
35916
  "use strict";
35963
35917
  init_define_process_env();
35964
35918
  import_react229 = require("react");
35965
- import_react_sdk118 = require("@100mslive/react-sdk");
35919
+ import_react_sdk117 = require("@100mslive/react-sdk");
35966
35920
  init_ToastConfig();
35967
35921
  init_ToastManager();
35968
35922
  notificationTypes2 = [
35969
- import_react_sdk118.HMSNotificationTypes.RECONNECTED,
35970
- import_react_sdk118.HMSNotificationTypes.RECONNECTING,
35971
- import_react_sdk118.HMSNotificationTypes.ERROR
35923
+ import_react_sdk117.HMSNotificationTypes.RECONNECTED,
35924
+ import_react_sdk117.HMSNotificationTypes.RECONNECTING,
35925
+ import_react_sdk117.HMSNotificationTypes.ERROR
35972
35926
  ];
35973
35927
  notificationId = null;
35974
35928
  ReconnectNotifications = () => {
35975
- const notification = (0, import_react_sdk118.useHMSNotifications)(notificationTypes2);
35929
+ const notification = (0, import_react_sdk117.useHMSNotifications)(notificationTypes2);
35976
35930
  const prevErrorCode = (0, import_react229.useRef)(0);
35977
35931
  (0, import_react229.useEffect)(() => {
35978
35932
  var _a7, _b7;
35979
35933
  if (!notification) {
35980
35934
  return;
35981
35935
  }
35982
- if (notification.type === import_react_sdk118.HMSNotificationTypes.RECONNECTED) {
35936
+ if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTED) {
35983
35937
  notificationId = ToastManager.replaceToast(
35984
35938
  notificationId,
35985
35939
  ToastConfig.RECONNECTED.single([4005, 4006].includes(prevErrorCode.current))
35986
35940
  );
35987
- } else if (notification.type === import_react_sdk118.HMSNotificationTypes.RECONNECTING) {
35941
+ } else if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTING) {
35988
35942
  prevErrorCode.current = ((_a7 = notification.data) == null ? void 0 : _a7.code) || 0;
35989
35943
  notificationId = ToastManager.replaceToast(
35990
35944
  notificationId,
@@ -35998,30 +35952,30 @@ var init_ReconnectNotifications = __esm({
35998
35952
  });
35999
35953
 
36000
35954
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
36001
- var import_react230, import_react_sdk119, import_react_icons108, TrackBulkUnmuteModal;
35955
+ var import_react230, import_react_sdk118, import_react_icons108, TrackBulkUnmuteModal;
36002
35956
  var init_TrackBulkUnmuteModal = __esm({
36003
35957
  "src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx"() {
36004
35958
  "use strict";
36005
35959
  init_define_process_env();
36006
35960
  import_react230 = __toESM(require("react"));
36007
- import_react_sdk119 = require("@100mslive/react-sdk");
35961
+ import_react_sdk118 = require("@100mslive/react-sdk");
36008
35962
  import_react_icons108 = require("@100mslive/react-icons");
36009
35963
  init_DialogContent2();
36010
35964
  TrackBulkUnmuteModal = () => {
36011
- const hmsActions = (0, import_react_sdk119.useHMSActions)();
35965
+ const hmsActions = (0, import_react_sdk118.useHMSActions)();
36012
35966
  const [muteNotification, setMuteNotification] = (0, import_react230.useState)(null);
36013
- const notification = (0, import_react_sdk119.useHMSNotifications)([
36014
- import_react_sdk119.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
36015
- import_react_sdk119.HMSNotificationTypes.ROOM_ENDED,
36016
- import_react_sdk119.HMSNotificationTypes.REMOVED_FROM_ROOM
35967
+ const notification = (0, import_react_sdk118.useHMSNotifications)([
35968
+ import_react_sdk118.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
35969
+ import_react_sdk118.HMSNotificationTypes.ROOM_ENDED,
35970
+ import_react_sdk118.HMSNotificationTypes.REMOVED_FROM_ROOM
36017
35971
  ]);
36018
35972
  (0, import_react230.useEffect)(() => {
36019
35973
  switch (notification == null ? void 0 : notification.type) {
36020
- case import_react_sdk119.HMSNotificationTypes.REMOVED_FROM_ROOM:
36021
- case import_react_sdk119.HMSNotificationTypes.ROOM_ENDED:
35974
+ case import_react_sdk118.HMSNotificationTypes.REMOVED_FROM_ROOM:
35975
+ case import_react_sdk118.HMSNotificationTypes.ROOM_ENDED:
36022
35976
  setMuteNotification(null);
36023
35977
  break;
36024
- case import_react_sdk119.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
35978
+ case import_react_sdk118.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
36025
35979
  if (notification == null ? void 0 : notification.data.enabled) {
36026
35980
  setMuteNotification(notification.data);
36027
35981
  }
@@ -36055,21 +36009,21 @@ var init_TrackBulkUnmuteModal = __esm({
36055
36009
  });
36056
36010
 
36057
36011
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
36058
- var import_react231, import_react_sdk120, notificationTypes3, TrackNotifications;
36012
+ var import_react231, import_react_sdk119, notificationTypes3, TrackNotifications;
36059
36013
  var init_TrackNotifications = __esm({
36060
36014
  "src/Prebuilt/components/Notifications/TrackNotifications.tsx"() {
36061
36015
  "use strict";
36062
36016
  init_define_process_env();
36063
36017
  import_react231 = require("react");
36064
- import_react_sdk120 = require("@100mslive/react-sdk");
36018
+ import_react_sdk119 = require("@100mslive/react-sdk");
36065
36019
  notificationTypes3 = [
36066
- import_react_sdk120.HMSNotificationTypes.TRACK_ADDED,
36067
- import_react_sdk120.HMSNotificationTypes.TRACK_REMOVED,
36068
- import_react_sdk120.HMSNotificationTypes.TRACK_MUTED,
36069
- import_react_sdk120.HMSNotificationTypes.TRACK_UNMUTED
36020
+ import_react_sdk119.HMSNotificationTypes.TRACK_ADDED,
36021
+ import_react_sdk119.HMSNotificationTypes.TRACK_REMOVED,
36022
+ import_react_sdk119.HMSNotificationTypes.TRACK_MUTED,
36023
+ import_react_sdk119.HMSNotificationTypes.TRACK_UNMUTED
36070
36024
  ];
36071
36025
  TrackNotifications = () => {
36072
- const notification = (0, import_react_sdk120.useHMSNotifications)(notificationTypes3);
36026
+ const notification = (0, import_react_sdk119.useHMSNotifications)(notificationTypes3);
36073
36027
  (0, import_react231.useEffect)(() => {
36074
36028
  if (notification) {
36075
36029
  console.debug(`[${notification.type}]`, notification);
@@ -36081,30 +36035,30 @@ var init_TrackNotifications = __esm({
36081
36035
  });
36082
36036
 
36083
36037
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
36084
- var import_react232, import_react_sdk121, import_react_icons109, TrackUnmuteModal;
36038
+ var import_react232, import_react_sdk120, import_react_icons109, TrackUnmuteModal;
36085
36039
  var init_TrackUnmuteModal = __esm({
36086
36040
  "src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx"() {
36087
36041
  "use strict";
36088
36042
  init_define_process_env();
36089
36043
  import_react232 = __toESM(require("react"));
36090
- import_react_sdk121 = require("@100mslive/react-sdk");
36044
+ import_react_sdk120 = require("@100mslive/react-sdk");
36091
36045
  import_react_icons109 = require("@100mslive/react-icons");
36092
36046
  init_DialogContent2();
36093
36047
  TrackUnmuteModal = () => {
36094
- const hmsActions = (0, import_react_sdk121.useHMSActions)();
36095
- const notification = (0, import_react_sdk121.useHMSNotifications)([
36096
- import_react_sdk121.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
36097
- import_react_sdk121.HMSNotificationTypes.ROOM_ENDED,
36098
- import_react_sdk121.HMSNotificationTypes.REMOVED_FROM_ROOM
36048
+ const hmsActions = (0, import_react_sdk120.useHMSActions)();
36049
+ const notification = (0, import_react_sdk120.useHMSNotifications)([
36050
+ import_react_sdk120.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
36051
+ import_react_sdk120.HMSNotificationTypes.ROOM_ENDED,
36052
+ import_react_sdk120.HMSNotificationTypes.REMOVED_FROM_ROOM
36099
36053
  ]);
36100
36054
  const [muteNotification, setMuteNotification] = (0, import_react232.useState)(null);
36101
36055
  (0, import_react232.useEffect)(() => {
36102
36056
  switch (notification == null ? void 0 : notification.type) {
36103
- case import_react_sdk121.HMSNotificationTypes.REMOVED_FROM_ROOM:
36104
- case import_react_sdk121.HMSNotificationTypes.ROOM_ENDED:
36057
+ case import_react_sdk120.HMSNotificationTypes.REMOVED_FROM_ROOM:
36058
+ case import_react_sdk120.HMSNotificationTypes.ROOM_ENDED:
36105
36059
  setMuteNotification(null);
36106
36060
  break;
36107
- case import_react_sdk121.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36061
+ case import_react_sdk120.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36108
36062
  if (notification == null ? void 0 : notification.data.enabled) {
36109
36063
  setMuteNotification(notification.data);
36110
36064
  }
@@ -36122,7 +36076,7 @@ var init_TrackUnmuteModal = __esm({
36122
36076
  {
36123
36077
  title: `Unmute your ${track.type}?`,
36124
36078
  onOpenChange: (value) => !value && setMuteNotification(null),
36125
- body: `${peer == null ? void 0 : peer.name} is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
36079
+ body: `${peer == null ? void 0 : peer.name}is requesting you to unmute your ${track == null ? void 0 : track.type}.`,
36126
36080
  onAction: () => {
36127
36081
  hmsActions.setEnabledTrack(track.id, enabled);
36128
36082
  setMuteNotification(null);
@@ -36135,20 +36089,20 @@ var init_TrackUnmuteModal = __esm({
36135
36089
  });
36136
36090
 
36137
36091
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
36138
- var import_react233, import_ts_pattern16, import_react_sdk122, import_react_icons110, TranscriptionNotifications;
36092
+ var import_react233, import_ts_pattern16, import_react_sdk121, import_react_icons110, TranscriptionNotifications;
36139
36093
  var init_TranscriptionNotifications = __esm({
36140
36094
  "src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx"() {
36141
36095
  "use strict";
36142
36096
  init_define_process_env();
36143
36097
  import_react233 = __toESM(require("react"));
36144
36098
  import_ts_pattern16 = require("ts-pattern");
36145
- import_react_sdk122 = require("@100mslive/react-sdk");
36099
+ import_react_sdk121 = require("@100mslive/react-sdk");
36146
36100
  import_react_icons110 = require("@100mslive/react-icons");
36147
36101
  init_ToastManager();
36148
36102
  init_useUISettings();
36149
36103
  init_constants();
36150
36104
  TranscriptionNotifications = () => {
36151
- const notification = (0, import_react_sdk122.useHMSNotifications)(import_react_sdk122.HMSNotificationTypes.TRANSCRIPTION_STATE_UPDATED);
36105
+ const notification = (0, import_react_sdk121.useHMSNotifications)(import_react_sdk121.HMSNotificationTypes.TRANSCRIPTION_STATE_UPDATED);
36152
36106
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
36153
36107
  (0, import_react233.useEffect)(() => {
36154
36108
  if (!(notification == null ? void 0 : notification.data)) {
@@ -36167,14 +36121,14 @@ var init_TranscriptionNotifications = __esm({
36167
36121
  icon: /* @__PURE__ */ import_react233.default.createElement(import_react_icons110.AlertTriangleIcon, { style: { marginRight: "0.5rem" } })
36168
36122
  });
36169
36123
  }
36170
- ).with({ state: import_react_sdk122.HMSTranscriptionState.STARTED }, () => {
36124
+ ).with({ state: import_react_sdk121.HMSTranscriptionState.STARTED }, () => {
36171
36125
  id = ToastManager.replaceToast(toastId, {
36172
36126
  title: `Closed Captioning enabled for everyone`,
36173
36127
  variant: "standard",
36174
36128
  duration: 2e3,
36175
36129
  icon: /* @__PURE__ */ import_react233.default.createElement(import_react_icons110.ClosedCaptionIcon, { style: { marginRight: "0.5rem" } })
36176
36130
  });
36177
- }).with({ state: import_react_sdk122.HMSTranscriptionState.STOPPED }, () => {
36131
+ }).with({ state: import_react_sdk121.HMSTranscriptionState.STOPPED }, () => {
36178
36132
  id = ToastManager.replaceToast(toastId, {
36179
36133
  title: `Closed Captioning disabled for everyone`,
36180
36134
  variant: "standard",
@@ -36193,17 +36147,17 @@ var init_TranscriptionNotifications = __esm({
36193
36147
  // src/Prebuilt/components/Notifications/Notifications.tsx
36194
36148
  function Notifications() {
36195
36149
  var _a7, _b7;
36196
- const localPeerID = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectLocalPeerID);
36197
- const notification = (0, import_react_sdk123.useHMSNotifications)();
36150
+ const localPeerID = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectLocalPeerID);
36151
+ const notification = (0, import_react_sdk122.useHMSNotifications)();
36198
36152
  const subscribedNotifications = useSubscribedNotifications() || {};
36199
- const roomState = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectRoomState);
36153
+ const roomState = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectRoomState);
36200
36154
  const updateRoomLayoutForRole = useUpdateRoomLayout();
36201
36155
  const isNotificationDisabled = useIsNotificationDisabled();
36202
36156
  const screenProps = useRoomLayoutConferencingScreen();
36203
- const vanillaStore = (0, import_react_sdk123.useHMSVanillaStore)();
36157
+ const vanillaStore = (0, import_react_sdk122.useHMSVanillaStore)();
36204
36158
  const togglePollView = usePollViewToggle();
36205
- const { showNotification } = (0, import_react_sdk123.useAwayNotifications)();
36206
- const amIScreenSharing = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsLocalScreenShared);
36159
+ const { showNotification } = (0, import_react_sdk122.useAwayNotifications)();
36160
+ const amIScreenSharing = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectIsLocalScreenShared);
36207
36161
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
36208
36162
  const { pipWindow } = usePIPWindow();
36209
36163
  const handleRoleChangeDenied = (0, import_react234.useCallback)((request) => {
@@ -36212,17 +36166,17 @@ function Notifications() {
36212
36166
  variant: "error"
36213
36167
  });
36214
36168
  }, []);
36215
- (0, import_react_sdk123.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
36169
+ (0, import_react_sdk122.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
36216
36170
  (0, import_react234.useEffect)(() => {
36217
36171
  var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
36218
36172
  if (!notification || isNotificationDisabled) {
36219
36173
  return;
36220
36174
  }
36221
36175
  switch (notification.type) {
36222
- case import_react_sdk123.HMSNotificationTypes.NAME_UPDATED:
36176
+ case import_react_sdk122.HMSNotificationTypes.NAME_UPDATED:
36223
36177
  console.log(notification.data.id + " changed their name to " + notification.data.name);
36224
36178
  break;
36225
- case import_react_sdk123.HMSNotificationTypes.ERROR:
36179
+ case import_react_sdk122.HMSNotificationTypes.ERROR:
36226
36180
  if (((_a8 = notification.data) == null ? void 0 : _a8.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
36227
36181
  if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
36228
36182
  ToastManager.addToast({
@@ -36254,7 +36208,7 @@ function Notifications() {
36254
36208
  title: `Error: ${(_k = notification.data) == null ? void 0 : _k.message} - ${(_l = notification.data) == null ? void 0 : _l.description}`
36255
36209
  });
36256
36210
  break;
36257
- case import_react_sdk123.HMSNotificationTypes.ROLE_UPDATED: {
36211
+ case import_react_sdk122.HMSNotificationTypes.ROLE_UPDATED: {
36258
36212
  if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
36259
36213
  ToastManager.addToast({
36260
36214
  title: `You are now a ${notification.data.roleName}`
@@ -36263,7 +36217,7 @@ function Notifications() {
36263
36217
  }
36264
36218
  break;
36265
36219
  }
36266
- case import_react_sdk123.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36220
+ case import_react_sdk122.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
36267
36221
  const track = (_o2 = notification.data) == null ? void 0 : _o2.track;
36268
36222
  if (!notification.data.enabled) {
36269
36223
  ToastManager.addToast({
@@ -36272,21 +36226,21 @@ function Notifications() {
36272
36226
  });
36273
36227
  }
36274
36228
  break;
36275
- case import_react_sdk123.HMSNotificationTypes.REMOVED_FROM_ROOM:
36276
- case import_react_sdk123.HMSNotificationTypes.ROOM_ENDED:
36229
+ case import_react_sdk122.HMSNotificationTypes.REMOVED_FROM_ROOM:
36230
+ case import_react_sdk122.HMSNotificationTypes.ROOM_ENDED:
36277
36231
  ToastManager.addToast({
36278
36232
  title: `${notification.message}.
36279
36233
  ${notification.data.reason && `Reason: ${notification.data.reason}`}`
36280
36234
  });
36281
36235
  break;
36282
- case import_react_sdk123.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
36236
+ case import_react_sdk122.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
36283
36237
  ToastManager.addToast({
36284
36238
  title: notification.message
36285
36239
  });
36286
36240
  break;
36287
- case import_react_sdk123.HMSNotificationTypes.POLL_STARTED:
36241
+ case import_react_sdk122.HMSNotificationTypes.POLL_STARTED:
36288
36242
  if (notification.data.startedBy !== localPeerID && screenProps.screenType !== "hls_live_streaming") {
36289
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk123.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
36243
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk122.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
36290
36244
  const pollToastID = ToastManager.addToast({
36291
36245
  title: `${pollStartedBy} started a ${notification.data.type}: ${notification.data.title}`,
36292
36246
  action: /* @__PURE__ */ import_react234.default.createElement(
@@ -36308,14 +36262,14 @@ function Notifications() {
36308
36262
  pollToastKey[notification.data.id] = pollToastID;
36309
36263
  }
36310
36264
  break;
36311
- case import_react_sdk123.HMSNotificationTypes.POLL_STOPPED:
36265
+ case import_react_sdk122.HMSNotificationTypes.POLL_STOPPED:
36312
36266
  const pollID = notification == null ? void 0 : notification.data.id;
36313
36267
  if (pollID && (pollToastKey == null ? void 0 : pollToastKey[pollID])) {
36314
36268
  ToastManager.removeToast(pollToastKey == null ? void 0 : pollToastKey[notification.data.id]);
36315
36269
  delete pollToastKey[notification == null ? void 0 : notification.data.id];
36316
36270
  }
36317
36271
  break;
36318
- case import_react_sdk123.HMSNotificationTypes.NEW_MESSAGE:
36272
+ case import_react_sdk122.HMSNotificationTypes.NEW_MESSAGE:
36319
36273
  if (amIScreenSharing && !((_q = notification.data) == null ? void 0 : _q.ignored) && !pipWindow) {
36320
36274
  showNotification(`New message from ${notification.data.senderName}`, {
36321
36275
  body: notification.data.message,
@@ -36330,15 +36284,15 @@ function Notifications() {
36330
36284
  if (isNotificationDisabled) {
36331
36285
  return null;
36332
36286
  }
36333
- return /* @__PURE__ */ import_react234.default.createElement(import_react234.default.Fragment, null, /* @__PURE__ */ import_react234.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackNotifications, null), roomState === import_react_sdk123.HMSRoomState.Connected ? /* @__PURE__ */ import_react234.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react234.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react234.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react234.default.createElement(PermissionErrorNotificationModal, null), /* @__PURE__ */ import_react234.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react234.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react234.default.createElement(HandRaisedNotifications, null), /* @__PURE__ */ import_react234.default.createElement(TranscriptionNotifications, null));
36287
+ return /* @__PURE__ */ import_react234.default.createElement(import_react234.default.Fragment, null, /* @__PURE__ */ import_react234.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react234.default.createElement(TrackNotifications, null), roomState === import_react_sdk122.HMSRoomState.Connected ? /* @__PURE__ */ import_react234.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react234.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react234.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react234.default.createElement(PermissionErrorNotificationModal, null), /* @__PURE__ */ import_react234.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react234.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react234.default.createElement(HandRaisedNotifications, null), /* @__PURE__ */ import_react234.default.createElement(TranscriptionNotifications, null));
36334
36288
  }
36335
- var import_react234, import_react_sdk123, import_react_icons111, pollToastKey;
36289
+ var import_react234, import_react_sdk122, import_react_icons111, pollToastKey;
36336
36290
  var init_Notifications = __esm({
36337
36291
  "src/Prebuilt/components/Notifications/Notifications.tsx"() {
36338
36292
  "use strict";
36339
36293
  init_define_process_env();
36340
36294
  import_react234 = __toESM(require("react"));
36341
- import_react_sdk123 = require("@100mslive/react-sdk");
36295
+ import_react_sdk122 = require("@100mslive/react-sdk");
36342
36296
  import_react_icons111 = require("@100mslive/react-icons");
36343
36297
  init_src();
36344
36298
  init_roomLayoutProvider();
@@ -36484,19 +36438,19 @@ var init_Toast3 = __esm({
36484
36438
  });
36485
36439
 
36486
36440
  // src/Prebuilt/components/Toast/ToastContainer.jsx
36487
- var import_react238, import_react_sdk124, ToastContainer;
36441
+ var import_react238, import_react_sdk123, ToastContainer;
36488
36442
  var init_ToastContainer = __esm({
36489
36443
  "src/Prebuilt/components/Toast/ToastContainer.jsx"() {
36490
36444
  "use strict";
36491
36445
  init_define_process_env();
36492
36446
  import_react238 = __toESM(require("react"));
36493
- import_react_sdk124 = require("@100mslive/react-sdk");
36447
+ import_react_sdk123 = require("@100mslive/react-sdk");
36494
36448
  init_Toast2();
36495
36449
  init_Toast3();
36496
36450
  init_ToastManager();
36497
36451
  init_constants();
36498
36452
  ToastContainer = () => {
36499
- const isConnected = (0, import_react_sdk124.useHMSStore)(import_react_sdk124.selectIsConnectedToRoom);
36453
+ const isConnected = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsConnectedToRoom);
36500
36454
  const [toasts, setToast] = (0, import_react238.useState)([]);
36501
36455
  (0, import_react238.useEffect)(() => {
36502
36456
  ToastManager.addListener(setToast);
@@ -36553,18 +36507,18 @@ var init_RoomDetailsSheet = __esm({
36553
36507
  });
36554
36508
 
36555
36509
  // src/Prebuilt/layouts/Sheet.tsx
36556
- var import_react240, import_react_sdk125, Sheet2;
36510
+ var import_react240, import_react_sdk124, Sheet2;
36557
36511
  var init_Sheet3 = __esm({
36558
36512
  "src/Prebuilt/layouts/Sheet.tsx"() {
36559
36513
  "use strict";
36560
36514
  init_define_process_env();
36561
36515
  import_react240 = __toESM(require("react"));
36562
- import_react_sdk125 = require("@100mslive/react-sdk");
36516
+ import_react_sdk124 = require("@100mslive/react-sdk");
36563
36517
  init_RoomDetailsSheet();
36564
36518
  init_Layout();
36565
36519
  init_constants();
36566
36520
  Sheet2 = () => {
36567
- const sheet = (0, import_react_sdk125.useHMSStore)((0, import_react_sdk125.selectAppData)(APP_DATA.sheet));
36521
+ const sheet = (0, import_react_sdk124.useHMSStore)((0, import_react_sdk124.selectAppData)(APP_DATA.sheet));
36568
36522
  let ViewComponent;
36569
36523
  if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
36570
36524
  ViewComponent = /* @__PURE__ */ import_react240.default.createElement(RoomDetailsSheet, null);
@@ -36576,19 +36530,19 @@ var init_Sheet3 = __esm({
36576
36530
 
36577
36531
  // src/Prebuilt/plugins/FlyingEmoji.jsx
36578
36532
  function FlyingEmoji() {
36579
- const localPeerId = (0, import_react_sdk126.useHMSStore)(import_react_sdk126.selectLocalPeerID);
36580
- const vanillaStore = (0, import_react_sdk126.useHMSVanillaStore)();
36581
- const hmsActions = (0, import_react_sdk126.useHMSActions)();
36533
+ const localPeerId = (0, import_react_sdk125.useHMSStore)(import_react_sdk125.selectLocalPeerID);
36534
+ const vanillaStore = (0, import_react_sdk125.useHMSVanillaStore)();
36535
+ const hmsActions = (0, import_react_sdk125.useHMSActions)();
36582
36536
  const [emojis, setEmojis] = (0, import_react241.useState)([]);
36583
36537
  const isMobile = (0, import_react_use60.useMedia)(config.media.md);
36584
- const isLargeRoom = (0, import_react_sdk126.useHMSStore)(import_react_sdk126.selectIsLargeRoom);
36538
+ const isLargeRoom = (0, import_react_sdk125.useHMSStore)(import_react_sdk125.selectIsLargeRoom);
36585
36539
  const startingPoints = (0, import_react241.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
36586
36540
  const showFlyingEmoji = (0, import_react241.useCallback)(
36587
36541
  (_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
36588
36542
  if (!emojiId || !senderId || document.hidden) {
36589
36543
  return;
36590
36544
  }
36591
- let senderPeerName = vanillaStore.getState((0, import_react_sdk126.selectPeerNameByID)(senderId));
36545
+ let senderPeerName = vanillaStore.getState((0, import_react_sdk125.selectPeerNameByID)(senderId));
36592
36546
  if (!senderPeerName && isLargeRoom) {
36593
36547
  const sender = yield hmsActions.getPeer(senderId);
36594
36548
  senderPeerName = sender == null ? void 0 : sender.name;
@@ -36611,7 +36565,7 @@ function FlyingEmoji() {
36611
36565
  }),
36612
36566
  [vanillaStore, isLargeRoom, localPeerId, startingPoints, hmsActions]
36613
36567
  );
36614
- (0, import_react_sdk126.useCustomEvent)({
36568
+ (0, import_react_sdk125.useCustomEvent)({
36615
36569
  type: EMOJI_REACTION_TYPE,
36616
36570
  onEvent: showFlyingEmoji
36617
36571
  });
@@ -36675,14 +36629,14 @@ function FlyingEmoji() {
36675
36629
  })
36676
36630
  );
36677
36631
  }
36678
- var import_react241, import_react_use60, import_react_sdk126, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
36632
+ var import_react241, import_react_use60, import_react_sdk125, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
36679
36633
  var init_FlyingEmoji = __esm({
36680
36634
  "src/Prebuilt/plugins/FlyingEmoji.jsx"() {
36681
36635
  "use strict";
36682
36636
  init_define_process_env();
36683
36637
  import_react241 = __toESM(require("react"));
36684
36638
  import_react_use60 = require("react-use");
36685
- import_react_sdk126 = require("@100mslive/react-sdk");
36639
+ import_react_sdk125 = require("@100mslive/react-sdk");
36686
36640
  init_Layout();
36687
36641
  init_Text2();
36688
36642
  init_Theme();
@@ -36715,45 +36669,45 @@ var init_FlyingEmoji = __esm({
36715
36669
 
36716
36670
  // src/Prebuilt/plugins/RemoteStopScreenshare.jsx
36717
36671
  function RemoteStopScreenshare() {
36718
- const actions = (0, import_react_sdk127.useHMSActions)();
36672
+ const actions = (0, import_react_sdk126.useHMSActions)();
36719
36673
  const onRemoteStopScreenshare = (0, import_react242.useCallback)(() => __async(this, null, function* () {
36720
36674
  yield actions.setScreenShareEnabled(false);
36721
36675
  }), [actions]);
36722
- (0, import_react_sdk127.useCustomEvent)({
36676
+ (0, import_react_sdk126.useCustomEvent)({
36723
36677
  type: REMOTE_STOP_SCREENSHARE_TYPE,
36724
36678
  onEvent: onRemoteStopScreenshare
36725
36679
  });
36726
36680
  return /* @__PURE__ */ import_react242.default.createElement(import_react242.default.Fragment, null);
36727
36681
  }
36728
- var import_react242, import_react_sdk127;
36682
+ var import_react242, import_react_sdk126;
36729
36683
  var init_RemoteStopScreenshare = __esm({
36730
36684
  "src/Prebuilt/plugins/RemoteStopScreenshare.jsx"() {
36731
36685
  "use strict";
36732
36686
  init_define_process_env();
36733
36687
  import_react242 = __toESM(require("react"));
36734
- import_react_sdk127 = require("@100mslive/react-sdk");
36688
+ import_react_sdk126 = require("@100mslive/react-sdk");
36735
36689
  init_constants();
36736
36690
  }
36737
36691
  });
36738
36692
 
36739
36693
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
36740
- var import_react243, import_react_sdk128, useAutoStartStreaming;
36694
+ var import_react243, import_react_sdk127, useAutoStartStreaming;
36741
36695
  var init_useAutoStartStreaming = __esm({
36742
36696
  "src/Prebuilt/components/hooks/useAutoStartStreaming.tsx"() {
36743
36697
  "use strict";
36744
36698
  init_define_process_env();
36745
36699
  import_react243 = require("react");
36746
- import_react_sdk128 = require("@100mslive/react-sdk");
36700
+ import_react_sdk127 = require("@100mslive/react-sdk");
36747
36701
  init_useUISettings();
36748
36702
  init_hooks();
36749
36703
  init_constants();
36750
36704
  useAutoStartStreaming = () => {
36751
36705
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
36752
- const permissions = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectPermissions);
36706
+ const permissions = (0, import_react_sdk127.useHMSStore)(import_react_sdk127.selectPermissions);
36753
36707
  const showStreamingUI = useShowStreamingUI();
36754
- const hmsActions = (0, import_react_sdk128.useHMSActions)();
36755
- const isConnected = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectIsConnectedToRoom);
36756
- const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk128.useRecordingStreaming)();
36708
+ const hmsActions = (0, import_react_sdk127.useHMSActions)();
36709
+ const isConnected = (0, import_react_sdk127.useHMSStore)(import_react_sdk127.selectIsConnectedToRoom);
36710
+ const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk127.useRecordingStreaming)();
36757
36711
  const streamStartedRef = (0, import_react243.useRef)(false);
36758
36712
  const startHLS = (0, import_react243.useCallback)(() => __async(void 0, null, function* () {
36759
36713
  try {
@@ -36810,14 +36764,14 @@ function AppRoutes({
36810
36764
  }
36811
36765
  ), roomLayout && activeState && /* @__PURE__ */ import_react244.default.createElement(AppStates, { activeState })));
36812
36766
  }
36813
- var import_react244, import_ts_pattern17, import_react_sdk129, HMSPrebuilt, AppStates, BackSwipe;
36767
+ var import_react244, import_ts_pattern17, import_react_sdk128, HMSPrebuilt, AppStates, BackSwipe;
36814
36768
  var init_App = __esm({
36815
36769
  "src/Prebuilt/App.tsx"() {
36816
36770
  "use strict";
36817
36771
  init_define_process_env();
36818
36772
  import_react244 = __toESM(require("react"));
36819
36773
  import_ts_pattern17 = require("ts-pattern");
36820
- import_react_sdk129 = require("@100mslive/react-sdk");
36774
+ import_react_sdk128 = require("@100mslive/react-sdk");
36821
36775
  init_AppData();
36822
36776
  init_AuthToken();
36823
36777
  init_ConferenceScreen();
@@ -36864,7 +36818,7 @@ var init_App = __esm({
36864
36818
  const [hydrated, setHydrated] = import_react244.default.useState(false);
36865
36819
  (0, import_react244.useEffect)(() => {
36866
36820
  setHydrated(true);
36867
- const hms = new import_react_sdk129.HMSReactiveStore();
36821
+ const hms = new import_react_sdk128.HMSReactiveStore();
36868
36822
  const hmsStore = hms.getStore();
36869
36823
  const hmsActions = hms.getActions();
36870
36824
  const hmsNotifications = hms.getNotifications();
@@ -36891,10 +36845,10 @@ var init_App = __esm({
36891
36845
  };
36892
36846
  }, []);
36893
36847
  const endpointsObj = endpoints;
36894
- const tokenByRoomCodeEndpoint = endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode;
36895
- const initEndpoint = endpointsObj == null ? void 0 : endpointsObj.init;
36896
- const eventEndpoint = endpointsObj == null ? void 0 : endpointsObj.event;
36897
- const roomLayoutEndpoint = endpointsObj == null ? void 0 : endpointsObj.roomLayout;
36848
+ const tokenByRoomCodeEndpoint = (endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode) || "";
36849
+ const initEndpoint = (endpointsObj == null ? void 0 : endpointsObj.init) || "";
36850
+ const eventEndpoint = (endpointsObj == null ? void 0 : endpointsObj.event) || "";
36851
+ const roomLayoutEndpoint = (endpointsObj == null ? void 0 : endpointsObj.roomLayout) || "";
36898
36852
  const overrideLayout = {
36899
36853
  logo,
36900
36854
  themes,
@@ -36932,7 +36886,7 @@ var init_App = __esm({
36932
36886
  }
36933
36887
  },
36934
36888
  /* @__PURE__ */ import_react244.default.createElement(
36935
- import_react_sdk129.HMSRoomProvider,
36889
+ import_react_sdk128.HMSRoomProvider,
36936
36890
  {
36937
36891
  isHMSStatsOn: FeatureFlags.enableStatsForNerds,
36938
36892
  actions: (_a7 = reactiveStore.current) == null ? void 0 : _a7.hmsActions,
@@ -36997,8 +36951,8 @@ var init_App = __esm({
36997
36951
  return (0, import_ts_pattern17.match)({ activeState, isPreviewScreenEnabled, isLeaveScreenEnabled }).with({ activeState: "preview" /* PREVIEW */, isPreviewScreenEnabled: true }, () => /* @__PURE__ */ import_react244.default.createElement(PreviewScreen, null)).with({ activeState: "leave" /* LEAVE */, isLeaveScreenEnabled: true }, () => /* @__PURE__ */ import_react244.default.createElement(LeaveScreen, null)).otherwise(() => /* @__PURE__ */ import_react244.default.createElement(ConferenceScreen, null));
36998
36952
  };
36999
36953
  BackSwipe = () => {
37000
- const isConnectedToRoom = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectIsConnectedToRoom);
37001
- const hmsActions = (0, import_react_sdk129.useHMSActions)();
36954
+ const isConnectedToRoom = (0, import_react_sdk128.useHMSStore)(import_react_sdk128.selectIsConnectedToRoom);
36955
+ const hmsActions = (0, import_react_sdk128.useHMSActions)();
37002
36956
  (0, import_react244.useEffect)(() => {
37003
36957
  const onRouteLeave = () => __async(void 0, null, function* () {
37004
36958
  if (isConnectedToRoom) {
@@ -37151,10 +37105,10 @@ var require_react_is_production_min = __commonJS({
37151
37105
  var e = b2 ? Symbol.for("react.fragment") : 60107;
37152
37106
  var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
37153
37107
  var g = b2 ? Symbol.for("react.profiler") : 60114;
37154
- var h = b2 ? Symbol.for("react.provider") : 60109;
37108
+ var h2 = b2 ? Symbol.for("react.provider") : 60109;
37155
37109
  var k = b2 ? Symbol.for("react.context") : 60110;
37156
37110
  var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
37157
- var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
37111
+ var m = b2 ? Symbol.for("react.concurrent_mode") : 60111;
37158
37112
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
37159
37113
  var p = b2 ? Symbol.for("react.suspense") : 60113;
37160
37114
  var q = b2 ? Symbol.for("react.suspense_list") : 60120;
@@ -37164,14 +37118,14 @@ var require_react_is_production_min = __commonJS({
37164
37118
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
37165
37119
  var x = b2 ? Symbol.for("react.responder") : 60118;
37166
37120
  var y2 = b2 ? Symbol.for("react.scope") : 60119;
37167
- function z(a2) {
37121
+ function z2(a2) {
37168
37122
  if ("object" === typeof a2 && null !== a2) {
37169
37123
  var u = a2.$$typeof;
37170
37124
  switch (u) {
37171
37125
  case c2:
37172
37126
  switch (a2 = a2.type, a2) {
37173
37127
  case l2:
37174
- case m2:
37128
+ case m:
37175
37129
  case e:
37176
37130
  case g:
37177
37131
  case f2:
@@ -37183,7 +37137,7 @@ var require_react_is_production_min = __commonJS({
37183
37137
  case n:
37184
37138
  case t:
37185
37139
  case r:
37186
- case h:
37140
+ case h2:
37187
37141
  return a2;
37188
37142
  default:
37189
37143
  return u;
@@ -37195,12 +37149,12 @@ var require_react_is_production_min = __commonJS({
37195
37149
  }
37196
37150
  }
37197
37151
  function A(a2) {
37198
- return z(a2) === m2;
37152
+ return z2(a2) === m;
37199
37153
  }
37200
37154
  exports.AsyncMode = l2;
37201
- exports.ConcurrentMode = m2;
37155
+ exports.ConcurrentMode = m;
37202
37156
  exports.ContextConsumer = k;
37203
- exports.ContextProvider = h;
37157
+ exports.ContextProvider = h2;
37204
37158
  exports.Element = c2;
37205
37159
  exports.ForwardRef = n;
37206
37160
  exports.Fragment = e;
@@ -37211,46 +37165,46 @@ var require_react_is_production_min = __commonJS({
37211
37165
  exports.StrictMode = f2;
37212
37166
  exports.Suspense = p;
37213
37167
  exports.isAsyncMode = function(a2) {
37214
- return A(a2) || z(a2) === l2;
37168
+ return A(a2) || z2(a2) === l2;
37215
37169
  };
37216
37170
  exports.isConcurrentMode = A;
37217
37171
  exports.isContextConsumer = function(a2) {
37218
- return z(a2) === k;
37172
+ return z2(a2) === k;
37219
37173
  };
37220
37174
  exports.isContextProvider = function(a2) {
37221
- return z(a2) === h;
37175
+ return z2(a2) === h2;
37222
37176
  };
37223
37177
  exports.isElement = function(a2) {
37224
37178
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
37225
37179
  };
37226
37180
  exports.isForwardRef = function(a2) {
37227
- return z(a2) === n;
37181
+ return z2(a2) === n;
37228
37182
  };
37229
37183
  exports.isFragment = function(a2) {
37230
- return z(a2) === e;
37184
+ return z2(a2) === e;
37231
37185
  };
37232
37186
  exports.isLazy = function(a2) {
37233
- return z(a2) === t;
37187
+ return z2(a2) === t;
37234
37188
  };
37235
37189
  exports.isMemo = function(a2) {
37236
- return z(a2) === r;
37190
+ return z2(a2) === r;
37237
37191
  };
37238
37192
  exports.isPortal = function(a2) {
37239
- return z(a2) === d;
37193
+ return z2(a2) === d;
37240
37194
  };
37241
37195
  exports.isProfiler = function(a2) {
37242
- return z(a2) === g;
37196
+ return z2(a2) === g;
37243
37197
  };
37244
37198
  exports.isStrictMode = function(a2) {
37245
- return z(a2) === f2;
37199
+ return z2(a2) === f2;
37246
37200
  };
37247
37201
  exports.isSuspense = function(a2) {
37248
- return z(a2) === p;
37202
+ return z2(a2) === p;
37249
37203
  };
37250
37204
  exports.isValidElementType = function(a2) {
37251
- 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);
37205
+ 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);
37252
37206
  };
37253
- exports.typeOf = z;
37207
+ exports.typeOf = z2;
37254
37208
  }
37255
37209
  });
37256
37210
 
@@ -37471,25 +37425,25 @@ var require_object_assign = __commonJS({
37471
37425
  }
37472
37426
  module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
37473
37427
  var from;
37474
- var to = toObject(target);
37428
+ var to2 = toObject(target);
37475
37429
  var symbols;
37476
37430
  for (var s = 1; s < arguments.length; s++) {
37477
37431
  from = Object(arguments[s]);
37478
37432
  for (var key in from) {
37479
37433
  if (hasOwnProperty.call(from, key)) {
37480
- to[key] = from[key];
37434
+ to2[key] = from[key];
37481
37435
  }
37482
37436
  }
37483
37437
  if (getOwnPropertySymbols) {
37484
37438
  symbols = getOwnPropertySymbols(from);
37485
37439
  for (var i = 0; i < symbols.length; i++) {
37486
37440
  if (propIsEnumerable.call(from, symbols[i])) {
37487
- to[symbols[i]] = from[symbols[i]];
37441
+ to2[symbols[i]] = from[symbols[i]];
37488
37442
  }
37489
37443
  }
37490
37444
  }
37491
37445
  }
37492
- return to;
37446
+ return to2;
37493
37447
  };
37494
37448
  }
37495
37449
  });
@@ -37637,7 +37591,7 @@ var require_factoryWithTypeCheckers = __commonJS({
37637
37591
  shape: createShapeTypeChecker,
37638
37592
  exact: createStrictShapeTypeChecker
37639
37593
  };
37640
- function is2(x, y2) {
37594
+ function is(x, y2) {
37641
37595
  if (x === y2) {
37642
37596
  return x !== 0 || 1 / x === 1 / y2;
37643
37597
  } else {
@@ -37780,7 +37734,7 @@ var require_factoryWithTypeCheckers = __commonJS({
37780
37734
  function validate(props, propName, componentName, location, propFullName) {
37781
37735
  var propValue = props[propName];
37782
37736
  for (var i = 0; i < expectedValues.length; i++) {
37783
- if (is2(propValue, expectedValues[i])) {
37737
+ if (is(propValue, expectedValues[i])) {
37784
37738
  return null;
37785
37739
  }
37786
37740
  }
@@ -38174,13 +38128,13 @@ var init_DeviceSelector = __esm({
38174
38128
  });
38175
38129
 
38176
38130
  // src/Diagnostics/AudioTest.tsx
38177
- var import_react248, import_react_sdk130, import_react_icons113, SelectContainer, MicTest, SpeakerTest, AudioTest;
38131
+ var import_react248, import_react_sdk129, import_react_icons113, SelectContainer, MicTest, SpeakerTest, AudioTest;
38178
38132
  var init_AudioTest = __esm({
38179
38133
  "src/Diagnostics/AudioTest.tsx"() {
38180
38134
  "use strict";
38181
38135
  init_define_process_env();
38182
38136
  import_react248 = __toESM(require("react"));
38183
- import_react_sdk130 = require("@100mslive/react-sdk");
38137
+ import_react_sdk129 = require("@100mslive/react-sdk");
38184
38138
  import_react_icons113 = require("@100mslive/react-icons");
38185
38139
  init_PermissionErrorModal();
38186
38140
  init_components();
@@ -38196,12 +38150,12 @@ var init_AudioTest = __esm({
38196
38150
  MicTest = ({ setError }) => {
38197
38151
  var _a7, _b7;
38198
38152
  const { hmsDiagnostics } = useDiagnostics();
38199
- const devices = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectDevices);
38153
+ const devices = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectDevices);
38200
38154
  const [isRecording, setIsRecording] = (0, import_react248.useState)(false);
38201
38155
  const [selectedMic, setSelectedMic] = (0, import_react248.useState)(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
38202
- const trackID = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalAudioTrackID);
38203
- const audioLevel = (0, import_react_sdk130.useHMSStore)((0, import_react_sdk130.selectTrackAudioByID)(trackID));
38204
- const { audioOutputDeviceId } = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalMediaSettings);
38156
+ const trackID = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalAudioTrackID);
38157
+ const audioLevel = (0, import_react_sdk129.useHMSStore)((0, import_react_sdk129.selectTrackAudioByID)(trackID));
38158
+ const { audioOutputDeviceId } = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalMediaSettings);
38205
38159
  const { playing, setPlaying, audioRef } = useAudioOutputTest({
38206
38160
  deviceId: audioOutputDeviceId || ((_b7 = devices.audioOutput[0]) == null ? void 0 : _b7.deviceId)
38207
38161
  });
@@ -38276,9 +38230,9 @@ var init_AudioTest = __esm({
38276
38230
  };
38277
38231
  SpeakerTest = () => {
38278
38232
  var _a7;
38279
- const actions = (0, import_react_sdk130.useHMSActions)();
38280
- const devices = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectDevices);
38281
- const { audioOutputDeviceId } = (0, import_react_sdk130.useHMSStore)(import_react_sdk130.selectLocalMediaSettings);
38233
+ const actions = (0, import_react_sdk129.useHMSActions)();
38234
+ const devices = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectDevices);
38235
+ const { audioOutputDeviceId } = (0, import_react_sdk129.useHMSStore)(import_react_sdk129.selectLocalMediaSettings);
38282
38236
  if (devices.audioOutput.length === 0) {
38283
38237
  return /* @__PURE__ */ import_react248.default.createElement(import_react248.default.Fragment, null);
38284
38238
  }
@@ -38328,13 +38282,13 @@ var init_AudioTest = __esm({
38328
38282
  });
38329
38283
 
38330
38284
  // src/Diagnostics/BrowserTest.tsx
38331
- var import_react249, import_react_sdk131, CMS_MEDIA_SERVER, operatingSystemIconInfo, browserTypeIconInfo, CheckDetails, BrowserTest;
38285
+ var import_react249, import_react_sdk130, CMS_MEDIA_SERVER, operatingSystemIconInfo, browserTypeIconInfo, CheckDetails, BrowserTest;
38332
38286
  var init_BrowserTest = __esm({
38333
38287
  "src/Diagnostics/BrowserTest.tsx"() {
38334
38288
  "use strict";
38335
38289
  init_define_process_env();
38336
38290
  import_react249 = __toESM(require("react"));
38337
- import_react_sdk131 = require("@100mslive/react-sdk");
38291
+ import_react_sdk130 = require("@100mslive/react-sdk");
38338
38292
  init_components();
38339
38293
  init_Layout();
38340
38294
  init_Text2();
@@ -38436,15 +38390,15 @@ var init_BrowserTest = __esm({
38436
38390
  CheckDetails,
38437
38391
  {
38438
38392
  title: "Browser",
38439
- iconURL: import_react_sdk131.parsedUserAgent.getBrowser().name && ((_b7 = browserTypeIconInfo[(_a7 = import_react_sdk131.parsedUserAgent.getBrowser().name) == null ? void 0 : _a7.toLowerCase()]) == null ? void 0 : _b7.icon),
38440
- value: `${import_react_sdk131.parsedUserAgent.getBrowser().name} ${import_react_sdk131.parsedUserAgent.getBrowser().version}`
38393
+ iconURL: import_react_sdk130.parsedUserAgent.getBrowser().name && ((_b7 = browserTypeIconInfo[(_a7 = import_react_sdk130.parsedUserAgent.getBrowser().name) == null ? void 0 : _a7.toLowerCase()]) == null ? void 0 : _b7.icon),
38394
+ value: `${import_react_sdk130.parsedUserAgent.getBrowser().name} ${import_react_sdk130.parsedUserAgent.getBrowser().version}`
38441
38395
  }
38442
38396
  ), /* @__PURE__ */ import_react249.default.createElement(
38443
38397
  CheckDetails,
38444
38398
  {
38445
38399
  title: "Operating system",
38446
- iconURL: import_react_sdk131.parsedUserAgent.getOS().name && ((_d = operatingSystemIconInfo[(_c = import_react_sdk131.parsedUserAgent.getOS().name) == null ? void 0 : _c.toLowerCase()]) == null ? void 0 : _d.icon),
38447
- value: `${import_react_sdk131.parsedUserAgent.getOS().name} ${import_react_sdk131.parsedUserAgent.getOS().version}`
38400
+ iconURL: import_react_sdk130.parsedUserAgent.getOS().name && ((_d = operatingSystemIconInfo[(_c = import_react_sdk130.parsedUserAgent.getOS().name) == null ? void 0 : _c.toLowerCase()]) == null ? void 0 : _d.icon),
38401
+ value: `${import_react_sdk130.parsedUserAgent.getOS().name} ${import_react_sdk130.parsedUserAgent.getOS().version}`
38448
38402
  }
38449
38403
  )), /* @__PURE__ */ import_react249.default.createElement(TestFooter, { error, ctaText: "Is your device information correct?" }));
38450
38404
  };
@@ -38452,13 +38406,13 @@ var init_BrowserTest = __esm({
38452
38406
  });
38453
38407
 
38454
38408
  // src/Diagnostics/ConnectivityTest.tsx
38455
- var import_react250, import_react_sdk132, import_react_icons114, Regions, ConnectivityStateMessage, ConnectivityTestStepResult, DetailedInfo, MediaServerResult, SignallingResult, AudioStats, VideoStats, Footer3, ConnectivityTestReport, RegionSelector, ConnectivityTest, downloadJson;
38409
+ var import_react250, import_react_sdk131, import_react_icons114, Regions, ConnectivityStateMessage, ConnectivityTestStepResult, DetailedInfo, MediaServerResult, SignallingResult, AudioStats, VideoStats, Footer3, ConnectivityTestReport, RegionSelector, ConnectivityTest, downloadJson;
38456
38410
  var init_ConnectivityTest = __esm({
38457
38411
  "src/Diagnostics/ConnectivityTest.tsx"() {
38458
38412
  "use strict";
38459
38413
  init_define_process_env();
38460
38414
  import_react250 = __toESM(require("react"));
38461
- import_react_sdk132 = require("@100mslive/react-sdk");
38415
+ import_react_sdk131 = require("@100mslive/react-sdk");
38462
38416
  import_react_icons114 = require("@100mslive/react-icons");
38463
38417
  init_components();
38464
38418
  init_Button2();
@@ -38473,13 +38427,13 @@ var init_ConnectivityTest = __esm({
38473
38427
  us: "United States"
38474
38428
  };
38475
38429
  ConnectivityStateMessage = {
38476
- [import_react_sdk132.ConnectivityState.STARTING]: "Fetching Init",
38477
- [import_react_sdk132.ConnectivityState.INIT_FETCHED]: "Connecting to signal server",
38478
- [import_react_sdk132.ConnectivityState.SIGNAL_CONNECTED]: "Establishing ICE connection",
38479
- [import_react_sdk132.ConnectivityState.ICE_ESTABLISHED]: "Capturing Media",
38480
- [import_react_sdk132.ConnectivityState.MEDIA_CAPTURED]: "Publishing Media",
38481
- [import_react_sdk132.ConnectivityState.MEDIA_PUBLISHED]: "Finishing Up",
38482
- [import_react_sdk132.ConnectivityState.COMPLETED]: "Completed"
38430
+ [import_react_sdk131.ConnectivityState.STARTING]: "Fetching Init",
38431
+ [import_react_sdk131.ConnectivityState.INIT_FETCHED]: "Connecting to signal server",
38432
+ [import_react_sdk131.ConnectivityState.SIGNAL_CONNECTED]: "Establishing ICE connection",
38433
+ [import_react_sdk131.ConnectivityState.ICE_ESTABLISHED]: "Capturing Media",
38434
+ [import_react_sdk131.ConnectivityState.MEDIA_CAPTURED]: "Publishing Media",
38435
+ [import_react_sdk131.ConnectivityState.MEDIA_PUBLISHED]: "Finishing Up",
38436
+ [import_react_sdk131.ConnectivityState.COMPLETED]: "Completed"
38483
38437
  };
38484
38438
  ConnectivityTestStepResult = ({
38485
38439
  title,
@@ -38670,7 +38624,7 @@ var init_ConnectivityTest = __esm({
38670
38624
  {
38671
38625
  region,
38672
38626
  setRegion,
38673
- startTest: progress === void 0 || progress === import_react_sdk132.ConnectivityState.COMPLETED ? startTest : void 0
38627
+ startTest: progress === void 0 || progress === import_react_sdk131.ConnectivityState.COMPLETED ? startTest : void 0
38674
38628
  }
38675
38629
  ), /* @__PURE__ */ import_react250.default.createElement(ConnectivityTestReport, { error, result, progress, startTest }));
38676
38630
  };
@@ -38687,13 +38641,13 @@ var init_ConnectivityTest = __esm({
38687
38641
  });
38688
38642
 
38689
38643
  // src/Diagnostics/VideoTest.tsx
38690
- var import_react251, import_react_sdk133, import_react_icons115, VideoTest;
38644
+ var import_react251, import_react_sdk132, import_react_icons115, VideoTest;
38691
38645
  var init_VideoTest = __esm({
38692
38646
  "src/Diagnostics/VideoTest.tsx"() {
38693
38647
  "use strict";
38694
38648
  init_define_process_env();
38695
38649
  import_react251 = __toESM(require("react"));
38696
- import_react_sdk133 = require("@100mslive/react-sdk");
38650
+ import_react_sdk132 = require("@100mslive/react-sdk");
38697
38651
  import_react_icons115 = require("@100mslive/react-icons");
38698
38652
  init_PermissionErrorModal();
38699
38653
  init_components();
@@ -38705,10 +38659,10 @@ var init_VideoTest = __esm({
38705
38659
  init_DiagnosticsContext();
38706
38660
  VideoTest = () => {
38707
38661
  const { hmsDiagnostics, updateStep } = useDiagnostics();
38708
- const allDevices = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectDevices);
38662
+ const allDevices = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectDevices);
38709
38663
  const { videoInput } = allDevices;
38710
- const trackID = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectLocalVideoTrackID);
38711
- const sdkSelectedDevices = (0, import_react_sdk133.useHMSStore)(import_react_sdk133.selectLocalMediaSettings);
38664
+ const trackID = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectLocalVideoTrackID);
38665
+ const sdkSelectedDevices = (0, import_react_sdk132.useHMSStore)(import_react_sdk132.selectLocalMediaSettings);
38712
38666
  const [error, setError] = (0, import_react251.useState)();
38713
38667
  (0, import_react251.useEffect)(() => {
38714
38668
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
@@ -38745,13 +38699,13 @@ var init_VideoTest = __esm({
38745
38699
  });
38746
38700
 
38747
38701
  // src/Diagnostics/Diagnostics.tsx
38748
- var import_react252, import_react_sdk134, import_react_icons116, DiagnosticsStepIcon, Container5, DiagnosticsStepTest, DiagnosticsStepHeader, DiagnosticsStepContainer, DiagnosticsStepsList, DiagnosticsProvider, Diagnostics;
38702
+ var import_react252, import_react_sdk133, import_react_icons116, DiagnosticsStepIcon, Container5, DiagnosticsStepTest, DiagnosticsStepHeader, DiagnosticsStepContainer, DiagnosticsStepsList, DiagnosticsProvider, Diagnostics;
38749
38703
  var init_Diagnostics = __esm({
38750
38704
  "src/Diagnostics/Diagnostics.tsx"() {
38751
38705
  "use strict";
38752
38706
  init_define_process_env();
38753
38707
  import_react252 = __toESM(require("react"));
38754
- import_react_sdk134 = require("@100mslive/react-sdk");
38708
+ import_react_sdk133 = require("@100mslive/react-sdk");
38755
38709
  import_react_icons116 = require("@100mslive/react-icons");
38756
38710
  init_Layout();
38757
38711
  init_Text2();
@@ -38850,7 +38804,7 @@ var init_Diagnostics = __esm({
38850
38804
  }));
38851
38805
  };
38852
38806
  DiagnosticsProvider = () => {
38853
- const actions = (0, import_react_sdk134.useHMSActions)();
38807
+ const actions = (0, import_react_sdk133.useHMSActions)();
38854
38808
  const [activeStep, setActiveStep] = (0, import_react252.useState)(0);
38855
38809
  const [steps, setSteps] = (0, import_react252.useState)(initialSteps);
38856
38810
  const diagnosticsRef = (0, import_react252.useRef)(actions.initDiagnostics());
@@ -38872,7 +38826,7 @@ var init_Diagnostics = __esm({
38872
38826
  );
38873
38827
  };
38874
38828
  Diagnostics = () => {
38875
- return /* @__PURE__ */ import_react252.default.createElement(import_react_sdk134.HMSRoomProvider, null, /* @__PURE__ */ import_react252.default.createElement(HMSThemeProvider, { themeType: "default" }, /* @__PURE__ */ import_react252.default.createElement(DiagnosticsProvider, null)));
38829
+ return /* @__PURE__ */ import_react252.default.createElement(import_react_sdk133.HMSRoomProvider, null, /* @__PURE__ */ import_react252.default.createElement(HMSThemeProvider, { themeType: "default" }, /* @__PURE__ */ import_react252.default.createElement(DiagnosticsProvider, null)));
38876
38830
  };
38877
38831
  }
38878
38832
  });