@100mslive/roomkit-react 0.2.8-alpha.2 → 0.2.8-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/dist/{HLSView-CEPQ23TO.js → HLSView-UIPDGADR.js} +509 -234
  2. package/dist/HLSView-UIPDGADR.js.map +7 -0
  3. package/dist/Prebuilt/common/hooks.d.ts +3 -0
  4. package/dist/Prebuilt/components/HMSVideo/FullscreenButton.d.ts +5 -0
  5. package/dist/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.d.ts +5 -0
  6. package/dist/Prebuilt/components/HMSVideo/HLSCaptionSelector.d.ts +1 -2
  7. package/dist/Prebuilt/components/HMSVideo/HLSQualitySelector.d.ts +12 -0
  8. package/dist/Prebuilt/components/HMSVideo/MwebHLSViewTitle.d.ts +2 -0
  9. package/dist/Prebuilt/components/HMSVideo/PlayButton.d.ts +6 -0
  10. package/dist/Prebuilt/components/HMSVideo/PlayerContext.d.ts +8 -0
  11. package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +2 -0
  12. package/dist/Prebuilt/components/HMSVideo/VideoTime.d.ts +2 -0
  13. package/dist/Prebuilt/components/HMSVideo/VolumeControl.d.ts +2 -0
  14. package/dist/Prebuilt/components/HMSVideo/index.d.ts +17 -0
  15. package/dist/Prebuilt/components/HMSVideo/utils.d.ts +9 -0
  16. package/dist/Prebuilt/components/Leave/MwebLeaveRoom.d.ts +1 -3
  17. package/dist/Prebuilt/components/MwebLandscapePrompt.d.ts +1 -1
  18. package/dist/Prebuilt/components/RaiseHand.d.ts +2 -0
  19. package/dist/Prebuilt/components/SidePaneTabs.d.ts +1 -0
  20. package/dist/{chunk-2Y4FJB25.js → chunk-J4NOQ2YL.js} +562 -450
  21. package/dist/chunk-J4NOQ2YL.js.map +7 -0
  22. package/dist/index.cjs.js +1556 -1145
  23. package/dist/index.cjs.js.map +4 -4
  24. package/dist/index.js +1 -1
  25. package/dist/meta.cjs.json +429 -156
  26. package/dist/meta.esbuild.json +445 -164
  27. package/package.json +6 -6
  28. package/src/Prebuilt/common/hooks.ts +21 -0
  29. package/src/Prebuilt/components/Chat/ChatFooter.tsx +26 -10
  30. package/src/Prebuilt/components/ConferenceScreen.tsx +34 -2
  31. package/src/Prebuilt/components/Footer/Footer.tsx +0 -1
  32. package/src/Prebuilt/components/HMSVideo/Controls.jsx +1 -1
  33. package/src/Prebuilt/components/HMSVideo/FullscreenButton.tsx +13 -0
  34. package/src/Prebuilt/components/HMSVideo/{HLSAutoplayBlockedPrompt.jsx → HLSAutoplayBlockedPrompt.tsx} +13 -6
  35. package/src/Prebuilt/components/HMSVideo/HLSCaptionSelector.tsx +4 -2
  36. package/src/Prebuilt/components/HMSVideo/HLSQualitySelector.tsx +241 -0
  37. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +3 -0
  38. package/src/Prebuilt/components/HMSVideo/MwebHLSViewTitle.tsx +91 -0
  39. package/src/Prebuilt/components/HMSVideo/PlayButton.tsx +27 -0
  40. package/src/Prebuilt/components/HMSVideo/PlayerContext.tsx +15 -0
  41. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +81 -0
  42. package/src/Prebuilt/components/HMSVideo/VideoTime.tsx +42 -0
  43. package/src/Prebuilt/components/HMSVideo/{VolumeControl.jsx → VolumeControl.tsx} +7 -5
  44. package/src/Prebuilt/components/HMSVideo/{index.js → index.ts} +2 -0
  45. package/src/Prebuilt/components/HMSVideo/utils.ts +35 -0
  46. package/src/Prebuilt/components/Leave/LeaveRoom.tsx +7 -1
  47. package/src/Prebuilt/components/Leave/MwebLeaveRoom.tsx +38 -25
  48. package/src/Prebuilt/components/MoreSettings/MoreSettings.tsx +3 -1
  49. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -1
  50. package/src/Prebuilt/components/MwebLandscapePrompt.tsx +5 -0
  51. package/src/Prebuilt/components/{RaiseHand.jsx → RaiseHand.tsx} +3 -2
  52. package/src/Prebuilt/components/SidePaneTabs.tsx +29 -10
  53. package/src/Prebuilt/layouts/HLSView.jsx +272 -156
  54. package/src/Prebuilt/layouts/SidePane.tsx +21 -10
  55. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +11 -1
  56. package/dist/HLSView-CEPQ23TO.js.map +0 -7
  57. package/dist/chunk-2Y4FJB25.js.map +0 -7
  58. package/src/Prebuilt/components/HMSVideo/FullscreenButton.jsx +0 -18
  59. package/src/Prebuilt/components/HMSVideo/HLSQualitySelector.jsx +0 -127
  60. package/src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js +0 -27
  61. package/src/Prebuilt/components/HMSVideo/VideoProgress.jsx +0 -76
  62. package/src/Prebuilt/components/HMSVideo/VideoTime.jsx +0 -33
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_64ac3c86-40ab-403e-a017-c093022d1c76", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.9.8-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_64ac3c86-40ab-403e-a017-c093022d1c76", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.2", 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.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "598", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240218.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.0/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.0-alpha.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:19747", 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__rollup_plugin_commonjs: "^21.0.3", 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.2.8-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8062926487", 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_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: "ae7569036b49c02d22414e5de343119c48b4aa91", 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: "44d2be283b30c251d7dc48c091d54f17d411a2dda6d785c30b12ad136dd5d665", npm_package_exports___import: "./dist/index.js", 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--1709028414028-0.350708274654735:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028413823-0.9448069636011944:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028390890-0.9859671975610973:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028390704-0.5515660108396596:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_2aa6a4dd-5a3c-4a91-bbba-30a25166da92", INVOCATION_ID: "e9a624d34aff4ec080a253260e936bfd", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "451", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 117", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.9.8-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "ae7569036b49c02d22414e5de343119c48b4aa91", 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: "KaustubhKumar05", 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_64ac3c86-40ab-403e-a017-c093022d1c76", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", 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_64ac3c86-40ab-403e-a017-c093022d1c76", 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/25.2.9519653", 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.154/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_64ac3c86-40ab-403e-a017-c093022d1c76" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5ede396e-fae2-4c22-afdd-0f454da9e128", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.9.8-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5ede396e-fae2-4c22-afdd-0f454da9e128", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "586", 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_devDependencies__rollup_plugin_image: "^3.0.2", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240218.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.0/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.0-alpha.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:18095", 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__rollup_plugin_commonjs: "^21.0.3", 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.2.8-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8065543694", 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_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: "ec046697fe2d6a12f4be23b04f217cf38e63af34", 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: "798f06e695440a486dc5dbd94ebf819e9180ace412072617faa664fb3749cba4", 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--1709040556510-0.8027960450697429:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709040556303-0.7176284115096692:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709040534093-0.6805113006718821:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709040533915-0.45728804418563085:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b556612a-3367-406c-a84b-37ad483933bb", INVOCATION_ID: "4cb2ffbe4e4a46ebb260c8a8827715ce", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "453", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 272", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.9.8-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "ec046697fe2d6a12f4be23b04f217cf38e63af34", 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_5ede396e-fae2-4c22-afdd-0f454da9e128", 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_5ede396e-fae2-4c22-afdd-0f454da9e128", 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/25.2.9519653", 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.154/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5ede396e-fae2-4c22-afdd-0f454da9e128" };
110
110
  }
111
111
  });
112
112
 
@@ -12873,6 +12873,7 @@ import {
12873
12873
  selectAppData as selectAppData9,
12874
12874
  selectIsConnectedToRoom as selectIsConnectedToRoom10,
12875
12875
  selectRoomState as selectRoomState7,
12876
+ useAVToggle as useAVToggle7,
12876
12877
  useHMSActions as useHMSActions46,
12877
12878
  useHMSStore as useHMSStore82
12878
12879
  } from "@100mslive/react-sdk";
@@ -12880,7 +12881,7 @@ import {
12880
12881
  // src/Prebuilt/components/Footer/Footer.tsx
12881
12882
  init_define_process_env();
12882
12883
  import React77, { useEffect as useEffect20 } from "react";
12883
- import { useMedia as useMedia10 } from "react-use";
12884
+ import { useMedia as useMedia11 } from "react-use";
12884
12885
  import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
12885
12886
  import { useAVToggle as useAVToggle4 } from "@100mslive/react-sdk";
12886
12887
 
@@ -14079,15 +14080,15 @@ var EmojiReaction = () => {
14079
14080
  // src/Prebuilt/components/Leave/LeaveRoom.tsx
14080
14081
  init_define_process_env();
14081
14082
  import React40 from "react";
14082
- import { useMedia as useMedia5 } from "react-use";
14083
+ import { useMedia as useMedia6 } from "react-use";
14083
14084
  import {
14084
14085
  selectHLSState as selectHLSState3,
14085
- selectIsConnectedToRoom as selectIsConnectedToRoom4,
14086
+ selectIsConnectedToRoom as selectIsConnectedToRoom5,
14086
14087
  selectPeersByCondition,
14087
14088
  selectPermissions as selectPermissions4,
14088
14089
  selectRolesMap,
14089
14090
  useHMSActions as useHMSActions8,
14090
- useHMSStore as useHMSStore12
14091
+ useHMSStore as useHMSStore13
14091
14092
  } from "@100mslive/react-sdk";
14092
14093
 
14093
14094
  // src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx
@@ -14344,19 +14345,98 @@ var DesktopLeaveRoom = ({
14344
14345
 
14345
14346
  // src/Prebuilt/components/Leave/MwebLeaveRoom.tsx
14346
14347
  init_define_process_env();
14347
- import React39, { Fragment as Fragment6, useState as useState13 } from "react";
14348
- import { selectIsConnectedToRoom as selectIsConnectedToRoom3, selectPermissions as selectPermissions3, useHMSStore as useHMSStore11, useRecordingStreaming as useRecordingStreaming4 } from "@100mslive/react-sdk";
14349
- import { ExitIcon as ExitIcon2, StopIcon as StopIcon2 } from "@100mslive/react-icons";
14348
+ import React39, { Fragment as Fragment6, useState as useState14 } from "react";
14349
+ import { selectIsConnectedToRoom as selectIsConnectedToRoom4, selectPermissions as selectPermissions3, useHMSStore as useHMSStore12, useRecordingStreaming as useRecordingStreaming4 } from "@100mslive/react-sdk";
14350
+ import { CrossIcon as CrossIcon6, ExitIcon as ExitIcon2, StopIcon as StopIcon2 } from "@100mslive/react-icons";
14351
+
14352
+ // src/Prebuilt/common/hooks.ts
14353
+ init_define_process_env();
14354
+ import { useEffect as useEffect12, useRef as useRef8, useState as useState13 } from "react";
14355
+ import { useMedia as useMedia5 } from "react-use";
14356
+ import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
14357
+ import {
14358
+ parsedUserAgent as parsedUserAgent2,
14359
+ selectAvailableRoleNames as selectAvailableRoleNames2,
14360
+ selectIsConnectedToRoom as selectIsConnectedToRoom3,
14361
+ selectPeerCount as selectPeerCount2,
14362
+ selectPeerMetadata,
14363
+ selectPeers,
14364
+ selectRemotePeers,
14365
+ useHMSStore as useHMSStore11,
14366
+ useHMSVanillaStore as useHMSVanillaStore4
14367
+ } from "@100mslive/react-sdk";
14368
+ var useFilteredRoles = () => {
14369
+ var _a8;
14370
+ const { elements } = useRoomLayoutConferencingScreen();
14371
+ return ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.roles_whitelist) || [];
14372
+ };
14373
+ var useDefaultChatSelection = () => {
14374
+ var _a8;
14375
+ const { elements } = useRoomLayoutConferencingScreen();
14376
+ const roles = useFilteredRoles();
14377
+ if ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.public_chat_enabled) {
14378
+ return CHAT_SELECTOR.EVERYONE;
14379
+ }
14380
+ if (roles.length > 0) {
14381
+ return roles[0];
14382
+ }
14383
+ return "";
14384
+ };
14385
+ var useShowStreamingUI = () => {
14386
+ var _a8, _b7, _c;
14387
+ const layout = useRoomLayout();
14388
+ const { join_form } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
14389
+ return (join_form == null ? void 0 : join_form.join_btn_type) === JoinForm_JoinBtnType2.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE;
14390
+ };
14391
+ var useParticipants = (params) => {
14392
+ var _a8;
14393
+ const isConnected = useHMSStore11(selectIsConnectedToRoom3);
14394
+ const peerCount = useHMSStore11(selectPeerCount2);
14395
+ const availableRoles = useHMSStore11(selectAvailableRoleNames2);
14396
+ let participantList = useHMSStore11(isConnected ? selectPeers : selectRemotePeers);
14397
+ const rolesWithParticipants = Array.from(new Set(participantList.map((peer) => peer.roleName)));
14398
+ const vanillaStore = useHMSVanillaStore4();
14399
+ if ((_a8 = params == null ? void 0 : params.metadata) == null ? void 0 : _a8.isHandRaised) {
14400
+ participantList = participantList.filter((peer) => {
14401
+ return vanillaStore.getState(selectPeerMetadata(peer.id)).isHandRaised;
14402
+ });
14403
+ }
14404
+ if ((params == null ? void 0 : params.role) && availableRoles.includes(params.role)) {
14405
+ participantList = participantList.filter((peer) => peer.roleName === params.role);
14406
+ }
14407
+ if (params == null ? void 0 : params.search) {
14408
+ const search = params.search;
14409
+ participantList = participantList.filter((peer) => peer.name.toLowerCase().includes(search));
14410
+ }
14411
+ return { participants: participantList, isConnected, peerCount, rolesWithParticipants };
14412
+ };
14413
+ var useIsLandscape = () => {
14414
+ const isMobile = parsedUserAgent2.getDevice().type === "mobile";
14415
+ const isLandscape = useMedia5(config.media.ls);
14416
+ return isMobile && isLandscape;
14417
+ };
14418
+ var useLandscapeHLSStream = () => {
14419
+ const isLandscape = useIsLandscape();
14420
+ const { screenType } = useRoomLayoutConferencingScreen();
14421
+ return isLandscape && screenType === "hls_live_streaming";
14422
+ };
14423
+ var useMobileHLSStream = () => {
14424
+ const isMobile = useMedia5(config.media.md);
14425
+ const { screenType } = useRoomLayoutConferencingScreen();
14426
+ return isMobile && screenType === "hls_live_streaming";
14427
+ };
14428
+
14429
+ // src/Prebuilt/components/Leave/MwebLeaveRoom.tsx
14350
14430
  var MwebLeaveRoom = ({
14351
14431
  leaveRoom,
14352
- screenType,
14353
14432
  endRoom
14354
14433
  }) => {
14355
- const [open, setOpen] = useState13(false);
14356
- const [showLeaveRoomAlert, setShowLeaveRoomAlert] = useState13(false);
14357
- const [showEndStreamAlert, setShowEndStreamAlert] = useState13(false);
14358
- const isConnected = useHMSStore11(selectIsConnectedToRoom3);
14359
- const permissions = useHMSStore11(selectPermissions3);
14434
+ const [open, setOpen] = useState14(false);
14435
+ const { screenType } = useRoomLayoutConferencingScreen();
14436
+ const [showLeaveRoomAlert, setShowLeaveRoomAlert] = useState14(false);
14437
+ const [showEndStreamAlert, setShowEndStreamAlert] = useState14(false);
14438
+ const isConnected = useHMSStore12(selectIsConnectedToRoom4);
14439
+ const permissions = useHMSStore12(selectPermissions3);
14360
14440
  const { isStreamingOn } = useRecordingStreaming4();
14361
14441
  const showStream = screenType !== "hls_live_streaming" && isStreamingOn && (permissions == null ? void 0 : permissions.hlsStreaming);
14362
14442
  const showLeaveOptions = (permissions == null ? void 0 : permissions.hlsStreaming) && isStreamingOn || (permissions == null ? void 0 : permissions.endRoom);
@@ -14364,18 +14444,7 @@ var MwebLeaveRoom = ({
14364
14444
  if (!permissions || !isConnected) {
14365
14445
  return null;
14366
14446
  }
14367
- return /* @__PURE__ */ React39.createElement(Fragment6, null, showLeaveOptions ? /* @__PURE__ */ React39.createElement(Sheet.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React39.createElement(Sheet.Trigger, { asChild: true }, /* @__PURE__ */ React39.createElement(
14368
- LeaveIconButton,
14369
- {
14370
- key: "LeaveRoom",
14371
- "data-testid": "leave_room_btn",
14372
- css: {
14373
- borderTopRightRadius: "$1",
14374
- borderBottomRightRadius: "$1"
14375
- }
14376
- },
14377
- /* @__PURE__ */ React39.createElement(Tooltip, { title: "Leave Room" }, /* @__PURE__ */ React39.createElement(Box, null, /* @__PURE__ */ React39.createElement(ExitIcon2, { style: { transform: "rotate(180deg)" } })))
14378
- )), /* @__PURE__ */ React39.createElement(Sheet.Content, null, /* @__PURE__ */ React39.createElement(
14447
+ return /* @__PURE__ */ React39.createElement(Fragment6, null, showLeaveOptions ? /* @__PURE__ */ React39.createElement(Sheet.Root, { open, onOpenChange: setOpen }, /* @__PURE__ */ React39.createElement(Sheet.Trigger, { asChild: true }, /* @__PURE__ */ React39.createElement(LeaveButton, { onClick: () => setOpen(!open) })), /* @__PURE__ */ React39.createElement(Sheet.Content, null, /* @__PURE__ */ React39.createElement(
14379
14448
  LeaveCard,
14380
14449
  {
14381
14450
  title: showStream ? "Leave Stream" : "Leave Session",
@@ -14402,7 +14471,7 @@ var MwebLeaveRoom = ({
14402
14471
  setShowEndStreamAlert(true);
14403
14472
  }
14404
14473
  }
14405
- ))) : /* @__PURE__ */ React39.createElement(LeaveIconButton, { key: "LeaveRoom", "data-testid": "leave_room_btn", onClick: () => setShowLeaveRoomAlert(true) }, /* @__PURE__ */ React39.createElement(Tooltip, { title: "Leave Room" }, /* @__PURE__ */ React39.createElement(Box, null, /* @__PURE__ */ React39.createElement(ExitIcon2, { style: { transform: "rotate(180deg)" } })))), /* @__PURE__ */ React39.createElement(Sheet.Root, { open: showEndStreamAlert, onOpenChange: setShowEndStreamAlert }, /* @__PURE__ */ React39.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$10", pb: "$12" } }, /* @__PURE__ */ React39.createElement(
14474
+ ))) : /* @__PURE__ */ React39.createElement(LeaveButton, { onClick: () => setShowLeaveRoomAlert(true) }), /* @__PURE__ */ React39.createElement(Sheet.Root, { open: showEndStreamAlert, onOpenChange: setShowEndStreamAlert }, /* @__PURE__ */ React39.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$10", pb: "$12" } }, /* @__PURE__ */ React39.createElement(
14406
14475
  EndSessionContent,
14407
14476
  {
14408
14477
  setShowEndStreamAlert,
@@ -14411,22 +14480,41 @@ var MwebLeaveRoom = ({
14411
14480
  }
14412
14481
  ))), /* @__PURE__ */ React39.createElement(Sheet.Root, { open: showLeaveRoomAlert, onOpenChange: setShowLeaveRoomAlert }, /* @__PURE__ */ React39.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$10", pb: "$12" } }, /* @__PURE__ */ React39.createElement(LeaveSessionContent, { setShowLeaveRoomAlert, leaveRoom }))));
14413
14482
  };
14483
+ var LeaveButton = ({ onClick }) => {
14484
+ const isMobileHLSStream = useMobileHLSStream();
14485
+ const isLandscapeHLSStream = useLandscapeHLSStream();
14486
+ return isMobileHLSStream || isLandscapeHLSStream ? /* @__PURE__ */ React39.createElement(IconButton, { key: "LeaveRoom", "data-testid": "leave_room_btn", onClick: () => onClick() }, /* @__PURE__ */ React39.createElement(Tooltip, { title: "Leave Room" }, /* @__PURE__ */ React39.createElement(Box, null, /* @__PURE__ */ React39.createElement(CrossIcon6, null)))) : /* @__PURE__ */ React39.createElement(
14487
+ LeaveIconButton,
14488
+ {
14489
+ key: "LeaveRoom",
14490
+ "data-testid": "leave_room_btn",
14491
+ css: {
14492
+ borderTopRightRadius: "$1",
14493
+ borderBottomRightRadius: "$1"
14494
+ },
14495
+ onClick: () => onClick()
14496
+ },
14497
+ /* @__PURE__ */ React39.createElement(Tooltip, { title: "Leave Room" }, /* @__PURE__ */ React39.createElement(Box, null, /* @__PURE__ */ React39.createElement(ExitIcon2, { style: { transform: "rotate(180deg)" } })))
14498
+ );
14499
+ };
14414
14500
 
14415
14501
  // src/Prebuilt/components/Leave/LeaveRoom.tsx
14416
14502
  var LeaveRoom = ({ screenType }) => {
14417
- const isConnected = useHMSStore12(selectIsConnectedToRoom4);
14418
- const permissions = useHMSStore12(selectPermissions4);
14419
- const isMobile = useMedia5(config.media.md);
14420
- const rolesMap = useHMSStore12(selectRolesMap);
14503
+ const isConnected = useHMSStore13(selectIsConnectedToRoom5);
14504
+ const permissions = useHMSStore13(selectPermissions4);
14505
+ const isMobile = useMedia6(config.media.md);
14506
+ const rolesMap = useHMSStore13(selectRolesMap);
14421
14507
  const streamingPermissionRoles = Object.keys(rolesMap).filter((roleName) => {
14422
14508
  const roleObj = rolesMap[roleName];
14423
14509
  return roleObj.permissions.hlsStreaming;
14424
14510
  });
14425
- const peersWithStreamingRights = useHMSStore12(
14511
+ const peersWithStreamingRights = useHMSStore13(
14426
14512
  selectPeersByCondition((peer) => streamingPermissionRoles.includes(peer.roleName || ""))
14427
14513
  );
14428
- const hlsState = useHMSStore12(selectHLSState3);
14514
+ const hlsState = useHMSStore13(selectHLSState3);
14429
14515
  const hmsActions = useHMSActions8();
14516
+ const isMobileHLSStream = useMobileHLSStream();
14517
+ const isLandscapeHLSStream = useLandscapeHLSStream();
14430
14518
  const stopStream = () => __async(void 0, null, function* () {
14431
14519
  try {
14432
14520
  if (permissions == null ? void 0 : permissions.hlsStreaming) {
@@ -14451,13 +14539,16 @@ var LeaveRoom = ({ screenType }) => {
14451
14539
  if (!permissions || !isConnected) {
14452
14540
  return null;
14453
14541
  }
14454
- return isMobile ? /* @__PURE__ */ React40.createElement(MwebLeaveRoom, { leaveRoom, screenType, endRoom }) : /* @__PURE__ */ React40.createElement(DesktopLeaveRoom, { leaveRoom, screenType, endRoom });
14542
+ if (isMobileHLSStream || isLandscapeHLSStream) {
14543
+ return /* @__PURE__ */ React40.createElement(MwebLeaveRoom, { leaveRoom, endRoom });
14544
+ }
14545
+ return isMobile ? /* @__PURE__ */ React40.createElement(MwebLeaveRoom, { leaveRoom, endRoom }) : /* @__PURE__ */ React40.createElement(DesktopLeaveRoom, { leaveRoom, screenType, endRoom });
14455
14546
  };
14456
14547
 
14457
14548
  // src/Prebuilt/components/MoreSettings/MoreSettings.tsx
14458
14549
  init_define_process_env();
14459
14550
  import React59 from "react";
14460
- import { useMedia as useMedia8 } from "react-use";
14551
+ import { useMedia as useMedia9 } from "react-use";
14461
14552
 
14462
14553
  // src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx
14463
14554
  init_define_process_env();
@@ -14472,8 +14563,8 @@ import React42 from "react";
14472
14563
 
14473
14564
  // src/Prebuilt/components/PIP/PIPComponent.jsx
14474
14565
  init_define_process_env();
14475
- import React41, { useCallback as useCallback8, useEffect as useEffect12, useState as useState14 } from "react";
14476
- import { selectPeers, selectTracksMap, useHMSActions as useHMSActions9, useHMSStore as useHMSStore13, useHMSVanillaStore as useHMSVanillaStore4 } from "@100mslive/react-sdk";
14566
+ import React41, { useCallback as useCallback8, useEffect as useEffect13, useState as useState15 } from "react";
14567
+ import { selectPeers as selectPeers2, selectTracksMap, useHMSActions as useHMSActions9, useHMSStore as useHMSStore14, useHMSVanillaStore as useHMSVanillaStore5 } from "@100mslive/react-sdk";
14477
14568
  import { PipIcon } from "@100mslive/react-icons";
14478
14569
 
14479
14570
  // src/Prebuilt/components/PIP/PIPManager.js
@@ -14931,9 +15022,9 @@ var MediaSession = new SetupMediaSession();
14931
15022
 
14932
15023
  // src/Prebuilt/components/PIP/PIPComponent.jsx
14933
15024
  var PIPComponent = ({ content = null }) => {
14934
- const [isPipOn, setIsPipOn] = useState14(PictureInPicture.isOn());
15025
+ const [isPipOn, setIsPipOn] = useState15(PictureInPicture.isOn());
14935
15026
  const hmsActions = useHMSActions9();
14936
- const store = useHMSVanillaStore4();
15027
+ const store = useHMSVanillaStore5();
14937
15028
  const onPipToggle = useCallback8(() => {
14938
15029
  if (!isPipOn) {
14939
15030
  PictureInPicture.start(hmsActions, setIsPipOn).catch((err) => console.error("error in starting pip", err));
@@ -14948,10 +15039,10 @@ var PIPComponent = ({ content = null }) => {
14948
15039
  return /* @__PURE__ */ React41.createElement(React41.Fragment, null, content ? /* @__PURE__ */ React41.createElement(Flex, { css: { w: "100%" }, onClick: () => onPipToggle(), "data-testid": "pip_btn" }, content) : /* @__PURE__ */ React41.createElement(Tooltip, { title: `${isPipOn ? "Deactivate" : "Activate"} picture in picture view` }, /* @__PURE__ */ React41.createElement(IconButton_default, { active: !isPipOn, key: "pip", onClick: () => onPipToggle(), "data-testid": "pip_btn" }, /* @__PURE__ */ React41.createElement(PipIcon, null))));
14949
15040
  };
14950
15041
  var ActivatedPIP = () => {
14951
- const tracksMap = useHMSStore13(selectTracksMap);
14952
- const storePeers = useHMSStore13(selectPeers);
15042
+ const tracksMap = useHMSStore14(selectTracksMap);
15043
+ const storePeers = useHMSStore14(selectPeers2);
14953
15044
  const pinnedTrack = usePinnedTrack();
14954
- useEffect12(() => {
15045
+ useEffect13(() => {
14955
15046
  function updatePIP() {
14956
15047
  if (!PictureInPicture.isOn()) {
14957
15048
  return;
@@ -14981,68 +15072,6 @@ init_define_process_env();
14981
15072
  import React43, { forwardRef, useRef as useRef9, useState as useState16 } from "react";
14982
15073
  import { selectPeerByID, useHMSActions as useHMSActions10, useHMSStore as useHMSStore15 } from "@100mslive/react-sdk";
14983
15074
  import { CheckIcon as CheckIcon2, ChevronDownIcon as ChevronDownIcon3, ChevronUpIcon as ChevronUpIcon3 } from "@100mslive/react-icons";
14984
-
14985
- // src/Prebuilt/common/hooks.ts
14986
- init_define_process_env();
14987
- import { useEffect as useEffect13, useRef as useRef8, useState as useState15 } from "react";
14988
- import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
14989
- import {
14990
- selectAvailableRoleNames as selectAvailableRoleNames2,
14991
- selectIsConnectedToRoom as selectIsConnectedToRoom5,
14992
- selectPeerCount as selectPeerCount2,
14993
- selectPeerMetadata,
14994
- selectPeers as selectPeers2,
14995
- selectRemotePeers,
14996
- useHMSStore as useHMSStore14,
14997
- useHMSVanillaStore as useHMSVanillaStore5
14998
- } from "@100mslive/react-sdk";
14999
- var useFilteredRoles = () => {
15000
- var _a8;
15001
- const { elements } = useRoomLayoutConferencingScreen();
15002
- return ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.roles_whitelist) || [];
15003
- };
15004
- var useDefaultChatSelection = () => {
15005
- var _a8;
15006
- const { elements } = useRoomLayoutConferencingScreen();
15007
- const roles = useFilteredRoles();
15008
- if ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.public_chat_enabled) {
15009
- return CHAT_SELECTOR.EVERYONE;
15010
- }
15011
- if (roles.length > 0) {
15012
- return roles[0];
15013
- }
15014
- return "";
15015
- };
15016
- var useShowStreamingUI = () => {
15017
- var _a8, _b7, _c;
15018
- const layout = useRoomLayout();
15019
- const { join_form } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
15020
- return (join_form == null ? void 0 : join_form.join_btn_type) === JoinForm_JoinBtnType2.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE;
15021
- };
15022
- var useParticipants = (params) => {
15023
- var _a8;
15024
- const isConnected = useHMSStore14(selectIsConnectedToRoom5);
15025
- const peerCount = useHMSStore14(selectPeerCount2);
15026
- const availableRoles = useHMSStore14(selectAvailableRoleNames2);
15027
- let participantList = useHMSStore14(isConnected ? selectPeers2 : selectRemotePeers);
15028
- const rolesWithParticipants = Array.from(new Set(participantList.map((peer) => peer.roleName)));
15029
- const vanillaStore = useHMSVanillaStore5();
15030
- if ((_a8 = params == null ? void 0 : params.metadata) == null ? void 0 : _a8.isHandRaised) {
15031
- participantList = participantList.filter((peer) => {
15032
- return vanillaStore.getState(selectPeerMetadata(peer.id)).isHandRaised;
15033
- });
15034
- }
15035
- if ((params == null ? void 0 : params.role) && availableRoles.includes(params.role)) {
15036
- participantList = participantList.filter((peer) => peer.roleName === params.role);
15037
- }
15038
- if (params == null ? void 0 : params.search) {
15039
- const search = params.search;
15040
- participantList = participantList.filter((peer) => peer.name.toLowerCase().includes(search));
15041
- }
15042
- return { participants: participantList, isConnected, peerCount, rolesWithParticipants };
15043
- };
15044
-
15045
- // src/Prebuilt/components/RoleChangeModal.jsx
15046
15075
  var PeerName = forwardRef((_a8, ref) => {
15047
15076
  var _b7 = _a8, { children, maxWidth } = _b7, rest = __objRest(_b7, ["children", "maxWidth"]);
15048
15077
  return /* @__PURE__ */ React43.createElement(
@@ -15185,7 +15214,7 @@ import { InfoIcon } from "@100mslive/react-icons";
15185
15214
  // src/Prebuilt/primitives/DialogContent.jsx
15186
15215
  init_define_process_env();
15187
15216
  import React44, { useRef as useRef10 } from "react";
15188
- import { CheckIcon as CheckIcon3, CloudUploadIcon, CrossIcon as CrossIcon6 } from "@100mslive/react-icons";
15217
+ import { CheckIcon as CheckIcon3, CloudUploadIcon, CrossIcon as CrossIcon7 } from "@100mslive/react-icons";
15189
15218
  var DialogContent = (_a8) => {
15190
15219
  var _b7 = _a8, { Icon: Icon4, title, closeable = true, children, css: css2, iconCSS = {} } = _b7, props = __objRest(_b7, ["Icon", "title", "closeable", "children", "css", "iconCSS"]);
15191
15220
  return /* @__PURE__ */ React44.createElement(Dialog.Portal, null, /* @__PURE__ */ React44.createElement(Dialog.Overlay, null), /* @__PURE__ */ React44.createElement(Dialog.Content, __spreadValues({ css: __spreadValues({ width: "min(600px, 100%)" }, css2) }, props), /* @__PURE__ */ React44.createElement(Dialog.Title, null, /* @__PURE__ */ React44.createElement(Flex, { justify: "between" }, /* @__PURE__ */ React44.createElement(Flex, { align: "center", css: { mb: "$1" } }, Icon4 ? /* @__PURE__ */ React44.createElement(Flex, { css: __spreadValues(__spreadValues({ mr: "$2", color: "$on_primary_high" }, flexCenter), iconCSS) }, /* @__PURE__ */ React44.createElement(Icon4, null)) : null, /* @__PURE__ */ React44.createElement(Text, { variant: "h6", inline: true }, title)), closeable && /* @__PURE__ */ React44.createElement(Dialog.DefaultClose, { "data-testid": "dialoge_cross_icon" }))), /* @__PURE__ */ React44.createElement(HorizontalDivider, { css: { mt: "0.8rem" } }), /* @__PURE__ */ React44.createElement(Box, null, children)));
@@ -15195,7 +15224,7 @@ var ErrorDialog = (_a8) => {
15195
15224
  return /* @__PURE__ */ React44.createElement(Dialog.Root, { open, onOpenChange }, /* @__PURE__ */ React44.createElement(
15196
15225
  DialogContent,
15197
15226
  __spreadValues({
15198
- Icon: CrossIcon6,
15227
+ Icon: CrossIcon7,
15199
15228
  title,
15200
15229
  onInteractOutside: (e) => e.preventDefault(),
15201
15230
  onEscapeKeyDown: (e) => e.preventDefault(),
@@ -16130,7 +16159,7 @@ import {
16130
16159
  } from "@100mslive/react-sdk";
16131
16160
  import {
16132
16161
  BrbIcon as BrbIcon2,
16133
- CrossIcon as CrossIcon9,
16162
+ CrossIcon as CrossIcon10,
16134
16163
  EmojiIcon as EmojiIcon2,
16135
16164
  HamburgerMenuIcon as HamburgerMenuIcon2,
16136
16165
  HandIcon as HandIcon2,
@@ -16146,7 +16175,7 @@ import {
16146
16175
  // src/Prebuilt/components/Header/StreamActions.tsx
16147
16176
  init_define_process_env();
16148
16177
  import React54, { useCallback as useCallback16, useEffect as useEffect16, useRef as useRef13, useState as useState25 } from "react";
16149
- import { useMedia as useMedia6 } from "react-use";
16178
+ import { useMedia as useMedia7 } from "react-use";
16150
16179
 
16151
16180
  // ../hms-video-store/dist/index.js
16152
16181
  init_define_process_env();
@@ -16231,8 +16260,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
16231
16260
  // ../hms-video-store/dist/index.js
16232
16261
  var import_ua_parser_js = __toESM(require_ua_parser());
16233
16262
  var import_lodash3 = __toESM(require_lodash2());
16234
- import { v4 as $a } from "uuid";
16235
- import { v4 as Fa } from "uuid";
16263
+ import { v4 as Wa } from "uuid";
16264
+ import { v4 as Ga } from "uuid";
16236
16265
 
16237
16266
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
16238
16267
  init_define_process_env();
@@ -16487,16 +16516,16 @@ function shimGetUserMedia(window2, browserDetails) {
16487
16516
  };
16488
16517
  if (r.ideal !== void 0) {
16489
16518
  cc.optional = cc.optional || [];
16490
- let oc = {};
16519
+ let oc2 = {};
16491
16520
  if (typeof r.ideal === "number") {
16492
- oc[oldname_("min", key)] = r.ideal;
16493
- cc.optional.push(oc);
16494
- oc = {};
16495
- oc[oldname_("max", key)] = r.ideal;
16496
- cc.optional.push(oc);
16521
+ oc2[oldname_("min", key)] = r.ideal;
16522
+ cc.optional.push(oc2);
16523
+ oc2 = {};
16524
+ oc2[oldname_("max", key)] = r.ideal;
16525
+ cc.optional.push(oc2);
16497
16526
  } else {
16498
- oc[oldname_("", key)] = r.ideal;
16499
- cc.optional.push(oc);
16527
+ oc2[oldname_("", key)] = r.ideal;
16528
+ cc.optional.push(oc2);
16500
16529
  }
16501
16530
  }
16502
16531
  if (r.exact !== void 0 && typeof r.exact !== "number") {
@@ -18329,48 +18358,48 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
18329
18358
 
18330
18359
  // ../hms-video-store/dist/index.js
18331
18360
  var import_lodash4 = __toESM(require_lodash2());
18332
- import { v4 as Za } from "uuid";
18333
- import { v4 as ro } from "uuid";
18334
- import { v4 as no } from "uuid";
18335
- import { EventEmitter2 as co } from "eventemitter2";
18361
+ import { v4 as eo } from "uuid";
18362
+ import { v4 as so } from "uuid";
18363
+ import { v4 as co } from "uuid";
18364
+ import { EventEmitter2 as lo } from "eventemitter2";
18336
18365
  var Lt = __toESM(require_lib());
18337
- import { EventEmitter2 as Io } from "eventemitter2";
18338
- import { v4 as Co } from "uuid";
18339
- import { EventEmitter2 as Lo } from "eventemitter2";
18340
- import Do from "eventemitter2";
18341
- import { v4 as wo } from "uuid";
18342
- import { v4 as Oo } from "uuid";
18343
- var va = Object.defineProperty;
18344
- var Ma = Object.defineProperties;
18345
- var ya = Object.getOwnPropertyDescriptors;
18346
- var Bt = Object.getOwnPropertySymbols;
18366
+ import { EventEmitter2 as Ro } from "eventemitter2";
18367
+ import { v4 as Lo } from "uuid";
18368
+ import { EventEmitter2 as Do } from "eventemitter2";
18369
+ import wo from "eventemitter2";
18370
+ import { v4 as _o } from "uuid";
18371
+ import { v4 as xo } from "uuid";
18372
+ var Ma = Object.defineProperty;
18373
+ var ya = Object.defineProperties;
18374
+ var ka = Object.getOwnPropertyDescriptors;
18375
+ var Vt = Object.getOwnPropertySymbols;
18347
18376
  var Gr = Object.prototype.hasOwnProperty;
18348
18377
  var $r = Object.prototype.propertyIsEnumerable;
18349
- var Fr = (a2, e, t) => e in a2 ? va(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18378
+ var Fr = (a2, e, t) => e in a2 ? Ma(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18350
18379
  var S = (a2, e) => {
18351
18380
  for (var t in e || (e = {}))
18352
18381
  Gr.call(e, t) && Fr(a2, t, e[t]);
18353
- if (Bt)
18354
- for (var t of Bt(e))
18382
+ if (Vt)
18383
+ for (var t of Vt(e))
18355
18384
  $r.call(e, t) && Fr(a2, t, e[t]);
18356
18385
  return a2;
18357
18386
  };
18358
- var y = (a2, e) => Ma(a2, ya(e));
18387
+ var y = (a2, e) => ya(a2, ka(e));
18359
18388
  var Yi = (a2, e) => {
18360
18389
  var t = {};
18361
18390
  for (var i in a2)
18362
18391
  Gr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
18363
- if (a2 != null && Bt)
18364
- for (var i of Bt(a2))
18392
+ if (a2 != null && Vt)
18393
+ for (var i of Vt(a2))
18365
18394
  e.indexOf(i) < 0 && $r.call(a2, i) && (t[i] = a2[i]);
18366
18395
  return t;
18367
18396
  };
18368
- var Ea = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18369
- var dr = Ea((Yc, Ga) => {
18370
- Ga.exports = { version: "0.11.8-alpha.2", 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"] };
18397
+ var ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18398
+ var dr = ba((Xc, $a) => {
18399
+ $a.exports = { version: "0.11.8-alpha.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "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"] };
18371
18400
  });
18372
18401
  var Xi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Xi || {});
18373
- var ba = ((e) => (e.CHAT = "chat", e))(ba || {});
18402
+ var Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
18374
18403
  var Wr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Wr || {});
18375
18404
  var Zi = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(Zi || {});
18376
18405
  var Kr = ((t) => (t.audio = "audio", t.video = "video", t))(Kr || {});
@@ -18379,7 +18408,7 @@ function He(a2, e) {
18379
18408
  if (e)
18380
18409
  for (let r of e.auxiliaryTracks) {
18381
18410
  let s = a2[r];
18382
- Aa(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18411
+ Ia(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18383
18412
  }
18384
18413
  return { video: t, audio: i };
18385
18414
  }
@@ -18389,7 +18418,7 @@ function tt(a2) {
18389
18418
  function it(a2) {
18390
18419
  return a2 && a2.type === "video";
18391
18420
  }
18392
- function Aa(a2) {
18421
+ function Ia(a2) {
18393
18422
  return a2 && a2.source === "screen";
18394
18423
  }
18395
18424
  function Gt(a2) {
@@ -18409,34 +18438,34 @@ function st(a2) {
18409
18438
  let e = false, t = false, i = false;
18410
18439
  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 };
18411
18440
  }
18412
- var B = (a2) => a2.room;
18413
- var Ia = (a2) => a2.errors;
18414
- var bn = createSelector(Ia, (a2) => a2.length === 0 ? null : a2.at(-1));
18415
- var An = createSelector(B, (a2) => a2.id);
18441
+ var V = (a2) => a2.room;
18442
+ var Ra = (a2) => a2.errors;
18443
+ var An = createSelector(Ra, (a2) => a2.length === 0 ? null : a2.at(-1));
18444
+ var In = createSelector(V, (a2) => a2.id);
18416
18445
  var G = (a2) => a2.peers;
18417
18446
  var $t = (a2) => a2.messages.byID;
18418
18447
  var Jr = (a2) => a2.messages.allIDs;
18419
18448
  var D = (a2) => a2.tracks;
18420
18449
  var er = (a2) => a2.appData;
18421
- var Ra = (a2) => a2.speakers;
18422
- var ye = createSelector([B], (a2) => a2 && a2.isConnected);
18423
- var Hn = createSelector([ye, B], (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));
18424
- var Ha = (a2) => a2.hideLocalPeer;
18425
- var ae = createSelector([B, G, Ha], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
18426
- var Ca = createSelector(D, (a2) => Object.values(a2));
18427
- var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
18428
- var ue = createSelector(B, (a2) => a2.localPeer);
18429
- var Cn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18430
- var Ln = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
18450
+ var Ha = (a2) => a2.speakers;
18451
+ var ye = createSelector([V], (a2) => a2 && a2.isConnected);
18452
+ var Cn = createSelector([ye, 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));
18453
+ var Ca = (a2) => a2.hideLocalPeer;
18454
+ var ae = createSelector([V, G, Ca], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
18455
+ var La = createSelector(D, (a2) => Object.values(a2));
18456
+ var z = createSelector(V, G, (a2, e) => e[a2.localPeer]);
18457
+ var ue = createSelector(V, (a2) => a2.localPeer);
18458
+ var Ln = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18459
+ var Dn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
18431
18460
  var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
18432
18461
  var K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
18433
- var La = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
18434
- var zr = createSelector([Z, K, La], (a2, e, t) => {
18462
+ var Da = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
18463
+ var zr = createSelector([Z, K, Da], (a2, e, t) => {
18435
18464
  let i = t ? [...t] : [];
18436
18465
  return a2 && i.unshift(a2), e && i.unshift(e), i;
18437
18466
  });
18438
- var Dn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
18439
- var wn = createSelector(G, Ra, (a2, e) => {
18467
+ var wn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
18468
+ var _n = createSelector(G, Ha, (a2, e) => {
18440
18469
  let t = Object.entries(e).sort((i, r) => {
18441
18470
  var n, l;
18442
18471
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -18453,7 +18482,7 @@ var ir = createSelector(z, D, (a2, e) => {
18453
18482
  let { video: t, audio: i } = He(e, a2);
18454
18483
  return !!(t || i);
18455
18484
  });
18456
- var Da = createSelector(G, D, (a2, e) => {
18485
+ var wa = createSelector(G, D, (a2, e) => {
18457
18486
  let t;
18458
18487
  for (let i in a2) {
18459
18488
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -18463,15 +18492,15 @@ var Da = createSelector(G, D, (a2, e) => {
18463
18492
  }
18464
18493
  return t;
18465
18494
  });
18466
- var Nn = createSelector(Da, (a2) => !!a2);
18467
- var On = createSelector(G, D, (a2, e) => {
18495
+ var On = createSelector(wa, (a2) => !!a2);
18496
+ var xn = createSelector(G, D, (a2, e) => {
18468
18497
  for (let t in a2) {
18469
18498
  let i = a2[t], { audio: r, video: s } = He(e, i);
18470
18499
  if (!s && r)
18471
18500
  return i;
18472
18501
  }
18473
18502
  });
18474
- var xn = createSelector(G, D, (a2, e) => {
18503
+ var Un = createSelector(G, D, (a2, e) => {
18475
18504
  let t = [], i = [];
18476
18505
  for (let r in a2) {
18477
18506
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -18479,7 +18508,7 @@ var xn = createSelector(G, D, (a2, e) => {
18479
18508
  }
18480
18509
  return t.concat(i);
18481
18510
  });
18482
- var Un = createSelector(G, D, (a2, e) => {
18511
+ var Vn = createSelector(G, D, (a2, e) => {
18483
18512
  for (let t in e) {
18484
18513
  let i = e[t];
18485
18514
  if (rt(i) && it(i) && i.peerId)
@@ -18493,48 +18522,48 @@ var Bn = createSelector(G, D, (a2, e) => {
18493
18522
  return a2[i.peerId];
18494
18523
  }
18495
18524
  });
18496
- var Vn = createSelector(Ca, (a2) => a2.filter(qr));
18497
- var Fn = createSelector(Jr, (a2) => a2.length);
18498
- var Gn = createSelector($t, (a2) => Object.values(a2).filter((e) => !e.read).length);
18525
+ var Fn = createSelector(La, (a2) => a2.filter(qr));
18526
+ var Gn = createSelector(Jr, (a2) => a2.length);
18527
+ var $n = createSelector($t, (a2) => Object.values(a2).filter((e) => !e.read).length);
18499
18528
  var at = createSelector(Jr, $t, (a2, e) => {
18500
18529
  let t = [];
18501
18530
  return a2.forEach((i) => {
18502
18531
  t.push(e[i]);
18503
18532
  }), t;
18504
18533
  });
18505
- var wa = createSelector(at, (a2) => a2.filter((e) => {
18534
+ var _a7 = createSelector(at, (a2) => a2.filter((e) => {
18506
18535
  var t;
18507
18536
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
18508
18537
  }));
18509
- var $n = createSelector(wa, (a2) => a2.filter((e) => !e.read).length);
18510
- var Y = createSelector([B], (a2) => a2 && a2.roomState);
18538
+ var Wn = createSelector(_a7, (a2) => a2.filter((e) => !e.read).length);
18539
+ var Y = createSelector([V], (a2) => a2 && a2.roomState);
18511
18540
  var Xr = createSelector(Y, (a2) => a2 === "Preview");
18512
- var Wn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
18541
+ var Kn = createSelector(V, (a2) => a2.roomState !== "Disconnected");
18513
18542
  var oe = (a2) => a2.roles;
18514
- var Kn = createSelector([oe], (a2) => Object.keys(a2));
18543
+ var qn = createSelector([oe], (a2) => Object.keys(a2));
18515
18544
  var Wt = createSelector([z, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
18516
- var _a7 = (a2) => {
18545
+ var Na = (a2) => {
18517
18546
  var e;
18518
18547
  return (e = a2.preview) == null ? void 0 : e.asRole;
18519
18548
  };
18520
- var Zr = createSelector([_a7, oe], (a2, e) => a2 ? e[a2] : null);
18521
- var qn = createSelector([Wt], (a2) => {
18549
+ var Zr = createSelector([Na, oe], (a2, e) => a2 ? e[a2] : null);
18550
+ var jn = createSelector([Wt], (a2) => {
18522
18551
  var e;
18523
18552
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
18524
18553
  });
18525
18554
  var es = createSelector(Wt, (a2) => a2 == null ? void 0 : a2.permissions);
18526
- var jn = createSelector(B, (a2) => a2.recording);
18527
- var Jn = createSelector(B, (a2) => a2.rtmp);
18528
- var Qn = createSelector(B, (a2) => a2.hls);
18529
- var zn = createSelector(B, (a2) => a2.sessionId);
18530
- var Yn = createSelector(B, (a2) => a2.startedAt);
18531
- var Xn = createSelector(B, (a2) => !!a2.isLargeRoom);
18532
- var Zn = createSelector(B, (a2) => !!a2.isEffectsEnabled);
18533
- var ec = createSelector(B, (a2) => a2.effectsKey);
18555
+ var Jn = createSelector(V, (a2) => a2.recording);
18556
+ var Qn = createSelector(V, (a2) => a2.rtmp);
18557
+ var zn = createSelector(V, (a2) => a2.hls);
18558
+ var Yn = createSelector(V, (a2) => a2.sessionId);
18559
+ var Xn = createSelector(V, (a2) => a2.startedAt);
18560
+ var Zn = createSelector(V, (a2) => !!a2.isLargeRoom);
18561
+ var ec = createSelector(V, (a2) => !!a2.isEffectsEnabled);
18562
+ var tc = createSelector(V, (a2) => a2.effectsKey);
18534
18563
  var ts = (a2) => a2.polls;
18535
- var sc = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
18536
- var Na = (a2) => a2.whiteboards;
18537
- var ac = createSelector(Na, (a2) => Object.values(a2)[0]);
18564
+ var ac = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
18565
+ var Oa = (a2) => a2.whiteboards;
18566
+ var oc = createSelector(Oa, (a2) => Object.values(a2)[0]);
18538
18567
  var rs = (a2 = "audio") => (e) => e.playlist[a2].list;
18539
18568
  var rr = (a2 = "audio") => (e) => e.playlist[a2].selection;
18540
18569
  var ss = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -18552,7 +18581,7 @@ function b(a2) {
18552
18581
  return (e) => (t) => a2(t, e);
18553
18582
  }
18554
18583
  var ps = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ps || {});
18555
- var Oa = typeof window != "undefined" && typeof window.expect != "undefined";
18584
+ var xa = typeof window != "undefined" && typeof window.expect != "undefined";
18556
18585
  var d = class {
18557
18586
  static v(e, ...t) {
18558
18587
  this.log(0, e, ...t);
@@ -18618,13 +18647,13 @@ var d = class {
18618
18647
  }
18619
18648
  }
18620
18649
  };
18621
- d.level = Oa ? 7 : 0;
18650
+ d.level = xa ? 7 : 0;
18622
18651
  var pe = new import_ua_parser_js.UAParser();
18623
18652
  var w = typeof window != "undefined";
18624
18653
  var hs;
18625
18654
  var Ce = typeof window == "undefined" && !((hs = pe.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
18626
- var Ua = () => !Ce;
18627
- var hc = Ua();
18655
+ var Va = () => !Ce;
18656
+ var mc = Va();
18628
18657
  var ms;
18629
18658
  var Ss;
18630
18659
  var Ts = ((Ss = (ms = pe.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase()) === "firefox";
@@ -18635,7 +18664,7 @@ function Ba() {
18635
18664
  }
18636
18665
  return "CUSTOM";
18637
18666
  }
18638
- var Ve = Ba();
18667
+ var Be = Ba();
18639
18668
  var v = { 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 } };
18640
18669
  var f = class a extends Error {
18641
18670
  constructor(t, i, r, s, o, n = false) {
@@ -18666,7 +18695,7 @@ var f = class a extends Error {
18666
18695
  }`;
18667
18696
  }
18668
18697
  };
18669
- var Va = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18698
+ var Fa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18670
18699
  var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18671
18700
  return new f(v.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
18672
18701
  }, WebSocketConnectionLost(a2, e = "") {
@@ -18726,7 +18755,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18726
18755
  }, StatsFailed(a2, e = "") {
18727
18756
  return new f(v.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
18728
18757
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
18729
- return new f(a2, "ServerErrors", e, t, t, Va.includes(e));
18758
+ return new f(a2, "ServerErrors", e, t, t, Fa.includes(e));
18730
18759
  }, AlreadyJoined(a2, e = "") {
18731
18760
  return new f(v.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
18732
18761
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -18835,18 +18864,18 @@ var ne = class {
18835
18864
  };
18836
18865
  var vs = () => {
18837
18866
  let a2, e = new ne("hms-analytics-deviceId"), t = e.get();
18838
- return t ? a2 = t : (a2 = Fa(), e.set(a2)), a2;
18867
+ return t ? a2 = t : (a2 = Ga(), e.set(a2)), a2;
18839
18868
  };
18840
18869
  function ie(a2) {
18841
18870
  return a2 != null;
18842
18871
  }
18843
18872
  var ys = dr().version;
18844
18873
  function ot(a2 = "prod", e) {
18845
- let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
18874
+ let t = "web", i = Be !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
18846
18875
  if (Ce)
18847
- return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
18876
+ return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Be, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
18848
18877
  let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = lr(`web_${r.name}`), l = r.version || "", u = lr(`${o.name}_${o.version}`), p = u;
18849
- return s.type && (p = `${lr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Ve, 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 });
18878
+ return s.type && (p = `${lr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Be, 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 });
18850
18879
  }
18851
18880
  function lr(a2) {
18852
18881
  return a2.replace(/ /g, "_");
@@ -18855,10 +18884,10 @@ var ks = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `$
18855
18884
  var R = class {
18856
18885
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
18857
18886
  this.metadata = { peer: {}, userAgent: ot() };
18858
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = $a(), this.device_id = vs();
18887
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Wa(), this.device_id = vs();
18859
18888
  }
18860
18889
  toSignalParams() {
18861
- return { name: this.name, info: y(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
18890
+ return { name: this.name, info: y(S({}, this.properties), { timestamp: this.timestamp, domain: Be }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
18862
18891
  }
18863
18892
  };
18864
18893
  var M = class {
@@ -18997,7 +19026,8 @@ function jt(a2, e = 300) {
18997
19026
  };
18998
19027
  }
18999
19028
  var Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
19000
- var Hs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Hs || {});
19029
+ var Hs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Hs || {});
19030
+ var Cs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Cs || {});
19001
19031
  var mr = class {
19002
19032
  constructor() {
19003
19033
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -19025,7 +19055,7 @@ var mr = class {
19025
19055
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
19026
19056
  }
19027
19057
  };
19028
- var ws = new mr();
19058
+ var _s = new mr();
19029
19059
  var Sr = class {
19030
19060
  constructor() {
19031
19061
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -19053,15 +19083,15 @@ var Sr = class {
19053
19083
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
19054
19084
  }
19055
19085
  };
19056
- var _s = new Sr();
19086
+ var Ns = new Sr();
19057
19087
  var gr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(gr || {});
19058
19088
  var Tr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Tr || {});
19059
- var xs = "https://event.100ms.live/v2/client/report";
19060
- var Us = "https://event-nonprod.100ms.live/v2/client/report";
19089
+ var Us = "https://event.100ms.live/v2/client/report";
19090
+ var Vs = "https://event-nonprod.100ms.live/v2/client/report";
19061
19091
  var pt = Math.pow(2, 31) - 1;
19062
19092
  var Qe = class {
19063
19093
  };
19064
- Qe.makePeerId = () => no();
19094
+ Qe.makePeerId = () => co();
19065
19095
  var gt = "HMS-Store:";
19066
19096
  var k = class {
19067
19097
  static v(e, ...t) {
@@ -19131,129 +19161,129 @@ var k = class {
19131
19161
  k.level = 0;
19132
19162
  var Ir = (a2, e) => e;
19133
19163
  var Tt = (a2, e) => e;
19134
- var Ks = (a2, e) => e;
19135
- var lo = (a2, e) => e;
19164
+ var qs = (a2, e) => e;
19136
19165
  var uo = (a2, e) => e;
19166
+ var po = (a2, e) => e;
19137
19167
  var J = createSelector([G, Ir], (a2, e) => e ? a2[e] : null);
19138
19168
  var Rr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
19139
- var po = createSelector([D, Tt], (a2, e) => {
19169
+ var ho = createSelector([D, Tt], (a2, e) => {
19140
19170
  if (!e)
19141
19171
  return null;
19142
19172
  let t = a2[e];
19143
19173
  return (t == null ? void 0 : t.type) === "video" ? t : null;
19144
19174
  });
19145
- var ho = createSelector([D, Tt], (a2, e) => {
19175
+ var mo = createSelector([D, Tt], (a2, e) => {
19146
19176
  if (!e)
19147
19177
  return null;
19148
19178
  let t = a2[e];
19149
19179
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
19150
19180
  });
19151
- var mo = createSelector([D, Tt], (a2, e) => {
19181
+ var So = createSelector([D, Tt], (a2, e) => {
19152
19182
  if (!e)
19153
19183
  return null;
19154
19184
  let t = a2[e];
19155
19185
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19156
19186
  });
19157
- var So = createSelector([D, Tt], (a2, e) => {
19187
+ var go = createSelector([D, Tt], (a2, e) => {
19158
19188
  if (!e)
19159
19189
  return null;
19160
19190
  let t = a2[e];
19161
19191
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19162
19192
  });
19163
- var go = createSelector([ts, uo], (a2, e) => e ? a2[e] : null);
19193
+ var To = createSelector([ts, po], (a2, e) => e ? a2[e] : null);
19164
19194
  var Q = b(J);
19165
- var Zh = b(createSelector([er, lo], (a2, e) => {
19195
+ var em = b(createSelector([er, uo], (a2, e) => {
19166
19196
  if (a2)
19167
19197
  return e ? a2[e] : a2;
19168
19198
  }));
19169
- function em(a2) {
19199
+ function tm(a2) {
19170
19200
  return (e) => {
19171
19201
  if (e.sessionStore)
19172
19202
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19173
19203
  };
19174
19204
  }
19175
- var im = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19205
+ var rm = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19176
19206
  var ai = b(Rr);
19177
- var qs = b(po);
19178
- var rm = b(ho);
19207
+ var js = b(ho);
19179
19208
  var sm = b(mo);
19180
19209
  var am = b(So);
19181
- var To = b((a2, e) => {
19210
+ var om = b(go);
19211
+ var fo = b((a2, e) => {
19182
19212
  let t = J(a2, e);
19183
19213
  if (t && t.videoTrack && t.videoTrack !== "")
19184
19214
  return a2.tracks[t.videoTrack];
19185
19215
  });
19186
- var fo = b((a2, e) => {
19216
+ var vo = b((a2, e) => {
19187
19217
  let t = J(a2, e);
19188
19218
  if (t && t.audioTrack && t.audioTrack !== "")
19189
19219
  return a2.tracks[t.audioTrack];
19190
19220
  });
19191
- var nm = b((a2, e) => {
19221
+ var cm = b((a2, e) => {
19192
19222
  let t = J(a2, e);
19193
19223
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
19194
19224
  });
19195
- var js = (a2, e) => e ? a2.speakers[e] : null;
19196
- var cm = b(createSelector(js, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19197
- var vo = (a2, e) => {
19198
- let t = fo(e)(a2);
19199
- return js(a2, t == null ? void 0 : t.id);
19200
- };
19201
- var dm = b(createSelector(vo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19202
- var lm = b((a2, e) => {
19225
+ var Js = (a2, e) => e ? a2.speakers[e] : null;
19226
+ var dm = b(createSelector(Js, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19227
+ var Mo = (a2, e) => {
19228
+ let t = vo(e)(a2);
19229
+ return Js(a2, t == null ? void 0 : t.id);
19230
+ };
19231
+ var lm = b(createSelector(Mo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19232
+ var um = b((a2, e) => {
19203
19233
  if (e)
19204
19234
  return a2.connectionQualities[e];
19205
19235
  });
19206
- var um = b((a2, e) => {
19236
+ var pm = b((a2, e) => {
19207
19237
  let t = J(a2, e);
19208
19238
  if (t) {
19209
19239
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
19210
19240
  return i ? a2.tracks[i] : void 0;
19211
19241
  }
19212
19242
  });
19213
- var pm = b(createSelector(D, J, (a2, e) => {
19243
+ var hm = b(createSelector(D, J, (a2, e) => {
19214
19244
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19215
19245
  let r = a2[i];
19216
19246
  return rt(r) && it(r);
19217
19247
  });
19218
19248
  return t ? a2[t] : void 0;
19219
19249
  }));
19220
- var hm = b(createSelector(D, J, (a2, e) => {
19250
+ var mm = b(createSelector(D, J, (a2, e) => {
19221
19251
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19222
19252
  let r = a2[i];
19223
19253
  return rt(r) && tt(r);
19224
19254
  });
19225
19255
  return t ? a2[t] : void 0;
19226
19256
  }));
19227
- var mm = b(createSelector(D, J, (a2, e) => {
19257
+ var Sm = b(createSelector(D, J, (a2, e) => {
19228
19258
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19229
19259
  let r = a2[i];
19230
19260
  return Gt(r) && tt(r);
19231
19261
  });
19232
19262
  return t ? a2[t] : void 0;
19233
19263
  }));
19234
- var Js = b(createSelector(D, J, (a2, e) => He(a2, e)));
19235
- var Qs = (a2) => createSelector(Js(a2), (e) => e.audio);
19236
- var gm = b((a2, e) => {
19264
+ var Qs = b(createSelector(D, J, (a2, e) => He(a2, e)));
19265
+ var zs = (a2) => createSelector(Qs(a2), (e) => e.audio);
19266
+ var Tm = b((a2, e) => {
19237
19267
  let t = J(a2, e);
19238
19268
  return Ue(a2, t == null ? void 0 : t.audioTrack);
19239
19269
  });
19240
- var Tm = b((a2, e) => {
19270
+ var fm = b((a2, e) => {
19241
19271
  let t = J(a2, e);
19242
19272
  return Ue(a2, t == null ? void 0 : t.videoTrack);
19243
19273
  });
19244
- var zs = b((a2, e) => {
19274
+ var Ys = b((a2, e) => {
19245
19275
  if (e && a2.tracks[e])
19246
19276
  return a2.tracks[e].volume === 0;
19247
19277
  });
19248
- var fm = b((a2, e) => {
19278
+ var vm = b((a2, e) => {
19249
19279
  let t = J(a2, e);
19250
- return zs(t == null ? void 0 : t.audioTrack)(a2);
19280
+ return Ys(t == null ? void 0 : t.audioTrack)(a2);
19251
19281
  });
19252
- var vm = b((a2, e) => {
19253
- let t = Qs(e)(a2);
19254
- return zs(t == null ? void 0 : t.id)(a2);
19282
+ var Mm = b((a2, e) => {
19283
+ let t = zs(e)(a2);
19284
+ return Ys(t == null ? void 0 : t.id)(a2);
19255
19285
  });
19256
- var Ys = b((a2, e) => {
19286
+ var Xs = b((a2, e) => {
19257
19287
  let t = Rr(a2, e);
19258
19288
  if (t) {
19259
19289
  if (t.type !== "audio") {
@@ -19263,15 +19293,15 @@ var Ys = b((a2, e) => {
19263
19293
  return t.volume;
19264
19294
  }
19265
19295
  });
19266
- var Mm = b((a2, e) => {
19267
- let t = J(a2, e);
19268
- return Ys(t == null ? void 0 : t.audioTrack)(a2);
19269
- });
19270
19296
  var ym = b((a2, e) => {
19271
- let t = Qs(e)(a2);
19272
- return Ys(t == null ? void 0 : t.id)(a2);
19297
+ let t = J(a2, e);
19298
+ return Xs(t == null ? void 0 : t.audioTrack)(a2);
19273
19299
  });
19274
19300
  var km = b((a2, e) => {
19301
+ let t = zs(e)(a2);
19302
+ return Xs(t == null ? void 0 : t.id)(a2);
19303
+ });
19304
+ var Pm = b((a2, e) => {
19275
19305
  let t = Rr(a2, e);
19276
19306
  if (t) {
19277
19307
  if (t.type !== "video") {
@@ -19281,45 +19311,45 @@ var km = b((a2, e) => {
19281
19311
  return t.layer;
19282
19312
  }
19283
19313
  });
19284
- var Xs = createSelector([at, ue, Ir], (a2, e, t) => {
19314
+ var Zs = createSelector([at, ue, Ir], (a2, e, t) => {
19285
19315
  if (t)
19286
19316
  return a2.filter((i) => {
19287
19317
  var r;
19288
19318
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
19289
19319
  });
19290
19320
  });
19291
- var Zs = createSelector([at, Ks], (a2, e) => {
19321
+ var ea = createSelector([at, qs], (a2, e) => {
19292
19322
  if (e)
19293
19323
  return a2.filter((t) => {
19294
19324
  var i, r;
19295
19325
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
19296
19326
  });
19297
19327
  });
19298
- var Mo = createSelector(at, (a2) => a2.filter((e) => {
19328
+ var yo = createSelector(at, (a2) => a2.filter((e) => {
19299
19329
  var t;
19300
19330
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
19301
19331
  }));
19302
- var yo = createSelector([Zs, Ks], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19303
- var ko = createSelector([Xs, Ir], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19304
- var Pm = createSelector(Mo, (a2) => a2.filter((e) => !e.read).length);
19305
- var Em = b(Xs);
19332
+ var ko = createSelector([ea, qs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19333
+ var Po = createSelector([Zs, Ir], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19334
+ var Em = createSelector(yo, (a2) => a2.filter((e) => !e.read).length);
19306
19335
  var bm = b(Zs);
19307
- var Am = b(yo);
19336
+ var Am = b(ea);
19308
19337
  var Im = b(ko);
19309
- var ea = b(go);
19310
- var Um = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19338
+ var Rm = b(Po);
19339
+ var ta = b(To);
19340
+ var Vm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19311
19341
  var r;
19312
19342
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
19313
19343
  }));
19314
- var Po = (a2) => a2.roleChangeRequests[0] || null;
19315
- var Bm = createSelector([Po, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19316
- var Vm = createSelector([Wt], (a2) => st(a2));
19317
- var Fm = createSelector([Zr], (a2) => st(a2));
19318
- var bo = createSelector([K, D], (a2, e) => {
19344
+ var Eo = (a2) => a2.roleChangeRequests[0] || null;
19345
+ var Bm = createSelector([Eo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19346
+ var Fm = createSelector([Wt], (a2) => st(a2));
19347
+ var Gm = createSelector([Zr], (a2) => st(a2));
19348
+ var Ao = createSelector([K, D], (a2, e) => {
19319
19349
  let t = null;
19320
19350
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19321
19351
  });
19322
- var Ao = createSelector([Z, D], (a2, e) => {
19352
+ var Io = createSelector([Z, D], (a2, e) => {
19323
19353
  let t = null;
19324
19354
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19325
19355
  });
@@ -19342,7 +19372,7 @@ var wr = class {
19342
19372
  this.addEventToStorage(e);
19343
19373
  return;
19344
19374
  }
19345
- 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" ? xs : Us;
19375
+ 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" ? Us : Vs;
19346
19376
  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) => {
19347
19377
  if (r.status === 401) {
19348
19378
  this.removeFromStorage(e);
@@ -19372,62 +19402,62 @@ var Te = new wr();
19372
19402
  var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
19373
19403
  var Ui = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Ui || {});
19374
19404
  var ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ji || {});
19375
- var qo = (a2) => a2.localPeer.id;
19376
- var jo = (a2) => a2.localPeer.audioTrack;
19377
- var Jo = (a2) => a2.localPeer.videoTrack;
19378
- var Qo = (a2, e) => e;
19379
- var Ta = (a2, e) => e;
19380
- var zo = (a2) => a2.remoteTrackStats;
19381
- var fa = (a2) => a2.peerStats;
19405
+ var jo = (a2) => a2.localPeer.id;
19406
+ var Jo = (a2) => a2.localPeer.audioTrack;
19407
+ var Qo = (a2) => a2.localPeer.videoTrack;
19408
+ var zo = (a2, e) => e;
19409
+ var fa = (a2, e) => e;
19410
+ var Yo = (a2) => a2.remoteTrackStats;
19411
+ var va = (a2) => a2.peerStats;
19382
19412
  var Ur = (a2) => a2.localTrackStats;
19383
- var ve = createSelector([fa, qo], (a2, e) => a2[e]);
19384
- var Yo = createSelector(ve, (a2) => {
19413
+ var ve = createSelector([va, jo], (a2, e) => a2[e]);
19414
+ var Xo = createSelector(ve, (a2) => {
19385
19415
  var e;
19386
19416
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
19387
19417
  });
19388
- var Xo = createSelector(ve, (a2) => {
19418
+ var Zo = createSelector(ve, (a2) => {
19389
19419
  var e;
19390
19420
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
19391
19421
  });
19392
- var Zo = createSelector(ve, (a2) => {
19422
+ var en = createSelector(ve, (a2) => {
19393
19423
  var e;
19394
19424
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
19395
19425
  });
19396
- var en = createSelector(ve, (a2) => {
19426
+ var tn = createSelector(ve, (a2) => {
19397
19427
  var e;
19398
19428
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
19399
19429
  });
19400
- var tn = createSelector(ve, (a2) => {
19430
+ var rn = createSelector(ve, (a2) => {
19401
19431
  var e;
19402
19432
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
19403
19433
  });
19404
- var rn = createSelector(ve, (a2) => {
19434
+ var sn = createSelector(ve, (a2) => {
19405
19435
  var e;
19406
19436
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
19407
19437
  });
19408
- var sn = createSelector(ve, (a2) => {
19438
+ var an = createSelector(ve, (a2) => {
19409
19439
  var e;
19410
19440
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
19411
19441
  });
19412
- var an = createSelector(ve, (a2) => {
19442
+ var on = createSelector(ve, (a2) => {
19413
19443
  var e;
19414
19444
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
19415
19445
  });
19416
- var on = createSelector([fa, Qo], (a2, e) => e ? a2[e] : void 0);
19417
- var nn = createSelector([zo, Ta], (a2, e) => e ? a2[e] : void 0);
19418
- var Br = createSelector([Ur, Ta], (a2, e) => e ? a2[e] : void 0);
19419
- var cn = b(on);
19446
+ var nn = createSelector([va, zo], (a2, e) => e ? a2[e] : void 0);
19447
+ var cn = createSelector([Yo, fa], (a2, e) => e ? a2[e] : void 0);
19448
+ var Vr = createSelector([Ur, fa], (a2, e) => e ? a2[e] : void 0);
19420
19449
  var dn = b(nn);
19421
- var ln = createSelector([Ur, jo], (a2, e) => {
19450
+ var ln = b(cn);
19451
+ var un = createSelector([Ur, Jo], (a2, e) => {
19422
19452
  var t;
19423
19453
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19424
19454
  });
19425
- var un = b(createSelector(Br, (a2) => a2 == null ? void 0 : a2[0]));
19426
- var pn = createSelector([Ur, Jo], (a2, e) => {
19455
+ var pn = b(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
19456
+ var hn = createSelector([Ur, Qo], (a2, e) => {
19427
19457
  var t;
19428
19458
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19429
19459
  });
19430
- var hn = b(createSelector(Br, (a2) => a2));
19460
+ var mn = b(createSelector(Vr, (a2) => a2));
19431
19461
 
19432
19462
  // src/Prebuilt/components/Header/StreamActions.tsx
19433
19463
  import {
@@ -19441,7 +19471,7 @@ import {
19441
19471
  useHMSStore as useHMSStore25,
19442
19472
  useRecordingStreaming as useRecordingStreaming6
19443
19473
  } from "@100mslive/react-sdk";
19444
- import { AlertTriangleIcon as AlertTriangleIcon5, CrossIcon as CrossIcon7, PauseCircleIcon, RecordIcon } from "@100mslive/react-icons";
19474
+ import { AlertTriangleIcon as AlertTriangleIcon5, CrossIcon as CrossIcon8, PauseCircleIcon, RecordIcon } from "@100mslive/react-icons";
19445
19475
 
19446
19476
  // src/Prebuilt/components/Header/AdditionalRoomState.jsx
19447
19477
  init_define_process_env();
@@ -19617,7 +19647,7 @@ var LiveStatus = () => {
19617
19647
  var _a8;
19618
19648
  const { isHLSRunning, isRTMPRunning } = useRecordingStreaming6();
19619
19649
  const hlsState = useHMSStore25(selectHLSState4);
19620
- const isMobile = useMedia6(config.media.md);
19650
+ const isMobile = useMedia7(config.media.md);
19621
19651
  const intervalRef = useRef13(null);
19622
19652
  const { screenType } = useRoomLayoutConferencingScreen();
19623
19653
  const [liveTime, setLiveTime] = useState25(0);
@@ -19664,7 +19694,7 @@ var LiveStatus = () => {
19664
19694
  var RecordingStatus = () => {
19665
19695
  const { isBrowserRecordingOn, isServerRecordingOn, isHLSRecordingOn, isRecordingOn } = useRecordingStreaming6();
19666
19696
  const permissions = useHMSStore25(selectPermissions7);
19667
- const isMobile = useMedia6(config.media.md);
19697
+ const isMobile = useMedia7(config.media.md);
19668
19698
  if (!isRecordingOn || // if only browser recording is enabled, stop recording is shown
19669
19699
  // so no need to show this as it duplicates
19670
19700
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
@@ -19791,7 +19821,7 @@ var StartRecording2 = () => {
19791
19821
  };
19792
19822
  var StreamActions = () => {
19793
19823
  const isConnected = useHMSStore25(selectIsConnectedToRoom6);
19794
- const isMobile = useMedia6(config.media.md);
19824
+ const isMobile = useMedia7(config.media.md);
19795
19825
  const roomState = useHMSStore25(selectRoomState3);
19796
19826
  return /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(AdditionalRoomState, null), !isMobile && /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(RecordingPauseStatus, null), /* @__PURE__ */ React54.createElement(RecordingStatus, null), roomState !== HMSRoomState3.Preview ? /* @__PURE__ */ React54.createElement(LiveStatus, null) : null), isConnected && !isMobile ? /* @__PURE__ */ React54.createElement(StartRecording2, null) : null);
19797
19827
  };
@@ -19799,7 +19829,7 @@ var StopRecordingInSheet = ({
19799
19829
  onStopRecording,
19800
19830
  onClose
19801
19831
  }) => {
19802
- return /* @__PURE__ */ React54.createElement(Sheet.Root, { open: true }, /* @__PURE__ */ React54.createElement(Sheet.Content, null, /* @__PURE__ */ React54.createElement(Sheet.Title, { css: { p: "$10" } }, /* @__PURE__ */ React54.createElement(Flex, { direction: "row", justify: "between", css: { w: "100%", c: "$alert_error_default" } }, /* @__PURE__ */ React54.createElement(Flex, { justify: "start", align: "center", gap: "3" }, /* @__PURE__ */ React54.createElement(AlertTriangleIcon5, null), /* @__PURE__ */ React54.createElement(Text, { variant: "h5", css: { c: "$alert_error_default" } }, "Stop Recording")), /* @__PURE__ */ React54.createElement(Sheet.Close, { css: { color: "white" }, onClick: onClose }, /* @__PURE__ */ React54.createElement(CrossIcon7, null)))), /* @__PURE__ */ React54.createElement(HorizontalDivider, null), /* @__PURE__ */ React54.createElement(Box, { as: "div", css: { p: "$10", overflowY: "scroll", maxHeight: "70vh" } }, /* @__PURE__ */ React54.createElement(Text, { variant: "caption", css: { c: "$on_surface_medium", pb: "$8" } }, "Are you sure you want to stop recording? You can\u2019t undo this action."), /* @__PURE__ */ React54.createElement(
19832
+ return /* @__PURE__ */ React54.createElement(Sheet.Root, { open: true }, /* @__PURE__ */ React54.createElement(Sheet.Content, null, /* @__PURE__ */ React54.createElement(Sheet.Title, { css: { p: "$10" } }, /* @__PURE__ */ React54.createElement(Flex, { direction: "row", justify: "between", css: { w: "100%", c: "$alert_error_default" } }, /* @__PURE__ */ React54.createElement(Flex, { justify: "start", align: "center", gap: "3" }, /* @__PURE__ */ React54.createElement(AlertTriangleIcon5, null), /* @__PURE__ */ React54.createElement(Text, { variant: "h5", css: { c: "$alert_error_default" } }, "Stop Recording")), /* @__PURE__ */ React54.createElement(Sheet.Close, { css: { color: "white" }, onClick: onClose }, /* @__PURE__ */ React54.createElement(CrossIcon8, null)))), /* @__PURE__ */ React54.createElement(HorizontalDivider, null), /* @__PURE__ */ React54.createElement(Box, { as: "div", css: { p: "$10", overflowY: "scroll", maxHeight: "70vh" } }, /* @__PURE__ */ React54.createElement(Text, { variant: "caption", css: { c: "$on_surface_medium", pb: "$8" } }, "Are you sure you want to stop recording? You can\u2019t undo this action."), /* @__PURE__ */ React54.createElement(
19803
19833
  Button,
19804
19834
  {
19805
19835
  variant: "danger",
@@ -19873,13 +19903,13 @@ var ActionTile = {
19873
19903
  // src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx
19874
19904
  init_define_process_env();
19875
19905
  import React57, { useState as useState26 } from "react";
19876
- import { useMedia as useMedia7 } from "react-use";
19906
+ import { useMedia as useMedia8 } from "react-use";
19877
19907
  import { selectLocalPeerName, useHMSActions as useHMSActions19, useHMSStore as useHMSStore26 } from "@100mslive/react-sdk";
19878
19908
 
19879
19909
  // src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx
19880
19910
  init_define_process_env();
19881
19911
  import React56 from "react";
19882
- import { ChevronLeftIcon as ChevronLeftIcon2, CrossIcon as CrossIcon8 } from "@100mslive/react-icons";
19912
+ import { ChevronLeftIcon as ChevronLeftIcon2, CrossIcon as CrossIcon9 } from "@100mslive/react-icons";
19883
19913
  var ChangeNameContent = ({
19884
19914
  changeName,
19885
19915
  setCurrentName,
@@ -19917,7 +19947,7 @@ var ChangeNameContent = ({
19917
19947
  css: { color: "inherit", ml: "auto", "&:hover": { color: "$on_surface_medium", cursor: "pointer" } },
19918
19948
  onClick: onExit
19919
19949
  },
19920
- /* @__PURE__ */ React56.createElement(CrossIcon8, null)
19950
+ /* @__PURE__ */ React56.createElement(CrossIcon9, null)
19921
19951
  )
19922
19952
  ),
19923
19953
  /* @__PURE__ */ React56.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", pb: "$6", mb: "$8", "@md": { px: "$8", mt: "$4" } } }, "Your name will be visible to other participants in the session."),
@@ -19992,7 +20022,7 @@ var ChangeNameModal = ({
19992
20022
  const hmsActions = useHMSActions19();
19993
20023
  const localPeerName = useHMSStore26(selectLocalPeerName);
19994
20024
  const [currentName, setCurrentName] = useState26(localPeerName);
19995
- const isMobile = useMedia7(config.media.md);
20025
+ const isMobile = useMedia8(config.media.md);
19996
20026
  const changeName = () => __async(void 0, null, function* () {
19997
20027
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
19998
20028
  if (!name || name === localPeerName) {
@@ -20115,7 +20145,7 @@ var MwebOptions = ({
20115
20145
  });
20116
20146
  };
20117
20147
  useClickAway(emojiCardRef, () => setShowEmojiCard(false));
20118
- return /* @__PURE__ */ React58.createElement(React58.Fragment, null, /* @__PURE__ */ React58.createElement(Sheet.Root, { open: openOptionsSheet, onOpenChange: setOpenOptionsSheet }, /* @__PURE__ */ React58.createElement(Tooltip, { title: "More options" }, /* @__PURE__ */ React58.createElement(Sheet.Trigger, { asChild: true, "data-testid": "more_settings_btn" }, /* @__PURE__ */ React58.createElement(IconButton_default, null, /* @__PURE__ */ React58.createElement(HamburgerMenuIcon2, null)))), /* @__PURE__ */ React58.createElement(Sheet.Content, { css: { bg: "$surface_dim", pb: "$14" } }, /* @__PURE__ */ React58.createElement(
20148
+ return /* @__PURE__ */ React58.createElement(React58.Fragment, null, /* @__PURE__ */ React58.createElement(Sheet.Root, { open: openOptionsSheet, onOpenChange: setOpenOptionsSheet }, /* @__PURE__ */ React58.createElement(Tooltip, { title: "More options" }, /* @__PURE__ */ React58.createElement(Sheet.Trigger, { asChild: true, "data-testid": "more_settings_btn" }, /* @__PURE__ */ React58.createElement(IconButton_default, { css: { "@md": { bg: screenType === "hls_live_streaming" ? "$surface_default" : "" } } }, /* @__PURE__ */ React58.createElement(HamburgerMenuIcon2, null)))), /* @__PURE__ */ React58.createElement(Sheet.Content, { css: { bg: "$surface_dim", pb: "$14" } }, /* @__PURE__ */ React58.createElement(
20119
20149
  Sheet.Title,
20120
20150
  {
20121
20151
  css: {
@@ -20133,7 +20163,7 @@ var MwebOptions = ({
20133
20163
  }
20134
20164
  },
20135
20165
  "Options",
20136
- /* @__PURE__ */ React58.createElement(Sheet.Close, null, /* @__PURE__ */ React58.createElement(Box, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React58.createElement(CrossIcon9, null)))
20166
+ /* @__PURE__ */ React58.createElement(Sheet.Close, null, /* @__PURE__ */ React58.createElement(Box, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React58.createElement(CrossIcon10, null)))
20137
20167
  ), /* @__PURE__ */ React58.createElement(
20138
20168
  Box,
20139
20169
  {
@@ -20321,19 +20351,20 @@ var MoreSettings = ({
20321
20351
  elements,
20322
20352
  screenType
20323
20353
  }) => {
20324
- const isMobile = useMedia8(config.media.md);
20325
- return isMobile ? /* @__PURE__ */ React59.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ React59.createElement(DesktopOptions, { elements, screenType });
20354
+ const isMobile = useMedia9(config.media.md);
20355
+ const isLandscapeHLSStream = useLandscapeHLSStream();
20356
+ return isMobile || isLandscapeHLSStream ? /* @__PURE__ */ React59.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ React59.createElement(DesktopOptions, { elements, screenType });
20326
20357
  };
20327
20358
 
20328
- // src/Prebuilt/components/RaiseHand.jsx
20359
+ // src/Prebuilt/components/RaiseHand.tsx
20329
20360
  init_define_process_env();
20330
20361
  import React60 from "react";
20331
- import { HandIcon as HandIcon3 } from "@100mslive/react-icons";
20362
+ import { HandIcon as HandIcon3, HandRaiseSlashedIcon as HandRaiseSlashedIcon2 } from "@100mslive/react-icons";
20332
20363
  var RaiseHand = () => {
20333
20364
  const { isHandRaised, toggleHandRaise } = useMyMetadata();
20334
20365
  return /* @__PURE__ */ React60.createElement(Tooltip, { title: isHandRaised ? "Lower hand" : "Raise hand" }, /* @__PURE__ */ React60.createElement(IconButton_default, { "data-testid": "hand_raise_btn", active: !isHandRaised, onClick: () => __async(void 0, null, function* () {
20335
20366
  return yield toggleHandRaise();
20336
- }) }, /* @__PURE__ */ React60.createElement(HandIcon3, null)));
20367
+ }) }, isHandRaised ? /* @__PURE__ */ React60.createElement(HandRaiseSlashedIcon2, null) : /* @__PURE__ */ React60.createElement(HandIcon3, null)));
20337
20368
  };
20338
20369
 
20339
20370
  // src/Prebuilt/components/ScreenShareToggle.jsx
@@ -20880,7 +20911,7 @@ var ChatToggle = () => {
20880
20911
  // src/Prebuilt/components/Footer/ParticipantList.tsx
20881
20912
  init_define_process_env();
20882
20913
  import React74, { Fragment as Fragment10, useCallback as useCallback18, useState as useState32 } from "react";
20883
- import { useDebounce, useMedia as useMedia9 } from "react-use";
20914
+ import { useDebounce, useMedia as useMedia10 } from "react-use";
20884
20915
  import {
20885
20916
  selectHandRaisedPeers,
20886
20917
  selectHasPeerHandRaised as selectHasPeerHandRaised2,
@@ -21574,7 +21605,7 @@ var ParticipantSearch = ({
21574
21605
  inSidePane = false
21575
21606
  }) => {
21576
21607
  const [value, setValue] = React74.useState("");
21577
- const isMobile = useMedia9(config.media.md);
21608
+ const isMobile = useMedia10(config.media.md);
21578
21609
  useDebounce(
21579
21610
  () => {
21580
21611
  onSearch(value);
@@ -21677,7 +21708,7 @@ var Footer2 = ({
21677
21708
  elements
21678
21709
  }) => {
21679
21710
  var _a8, _b7;
21680
- const isMobile = useMedia10(config.media.md);
21711
+ const isMobile = useMedia11(config.media.md);
21681
21712
  const isOverlayChat = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay);
21682
21713
  const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === Chat_ChatState.CHAT_STATE_OPEN;
21683
21714
  const { toggleAudio, toggleVideo } = useAVToggle4();
@@ -21799,14 +21830,14 @@ import {
21799
21830
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
21800
21831
  init_define_process_env();
21801
21832
  import React131, { Fragment as Fragment13, useCallback as useCallback31, useEffect as useEffect34, useMemo as useMemo11, useState as useState55 } from "react";
21802
- import { useMeasure as useMeasure4, useMedia as useMedia23 } from "react-use";
21833
+ import { useMeasure as useMeasure4, useMedia as useMedia24 } from "react-use";
21803
21834
  import {
21804
21835
  HMSRoomState as HMSRoomState5,
21805
21836
  selectIsLocalVideoEnabled as selectIsLocalVideoEnabled6,
21806
21837
  selectLocalPeer as selectLocalPeer7,
21807
21838
  selectRoomState as selectRoomState5,
21808
21839
  selectVideoTrackByID as selectVideoTrackByID5,
21809
- useAVToggle as useAVToggle5,
21840
+ useAVToggle as useAVToggle6,
21810
21841
  useHMSStore as useHMSStore68,
21811
21842
  useParticipants as useParticipants2,
21812
21843
  usePreviewJoin,
@@ -21817,7 +21848,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
21817
21848
  // src/Prebuilt/layouts/SidePane.tsx
21818
21849
  init_define_process_env();
21819
21850
  import React126, { useEffect as useEffect32 } from "react";
21820
- import { useMedia as useMedia21 } from "react-use";
21851
+ import { useMedia as useMedia22 } from "react-use";
21821
21852
  import { selectAppData as selectAppData6, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore66 } from "@100mslive/react-sdk";
21822
21853
 
21823
21854
  // src/Prebuilt/components/Polls/Polls.tsx
@@ -21840,7 +21871,7 @@ import { QuestionIcon, StatsIcon } from "@100mslive/react-icons";
21840
21871
  init_define_process_env();
21841
21872
  import React79 from "react";
21842
21873
  import { selectPermissions as selectPermissions12, useHMSStore as useHMSStore39 } from "@100mslive/react-sdk";
21843
- import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon2, CrossIcon as CrossIcon10, RecordIcon as RecordIcon3 } from "@100mslive/react-icons";
21874
+ import { ChevronLeftIcon as ChevronLeftIcon3, ChevronRightIcon as ChevronRightIcon2, CrossIcon as CrossIcon11, RecordIcon as RecordIcon3 } from "@100mslive/react-icons";
21844
21875
  var ContentHeader = ({ onBack, onClose, title = "", content }) => {
21845
21876
  return /* @__PURE__ */ React79.createElement(
21846
21877
  Flex,
@@ -21871,7 +21902,7 @@ var ContentHeader = ({ onBack, onClose, title = "", content }) => {
21871
21902
  },
21872
21903
  title
21873
21904
  ) : null, /* @__PURE__ */ React79.createElement(Text, { variant: "h6" }, content)),
21874
- onClose ? /* @__PURE__ */ React79.createElement(IconButton, { onClick: onClose, css: { alignSelf: "flex-start" }, "data-testid": "close_stream_section" }, /* @__PURE__ */ React79.createElement(CrossIcon10, null)) : null
21905
+ onClose ? /* @__PURE__ */ React79.createElement(IconButton, { onClick: onClose, css: { alignSelf: "flex-start" }, "data-testid": "close_stream_section" }, /* @__PURE__ */ React79.createElement(CrossIcon11, null)) : null
21875
21906
  );
21876
21907
  };
21877
21908
  var Container3 = ({ children, rounded = false }) => {
@@ -22123,7 +22154,7 @@ import { AddCircleIcon, TrashIcon as TrashIcon3 } from "@100mslive/react-icons";
22123
22154
  // src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx
22124
22155
  init_define_process_env();
22125
22156
  import React82 from "react";
22126
- import { AlertTriangleIcon as AlertTriangleIcon6, CrossIcon as CrossIcon11 } from "@100mslive/react-icons";
22157
+ import { AlertTriangleIcon as AlertTriangleIcon6, CrossIcon as CrossIcon12 } from "@100mslive/react-icons";
22127
22158
  var DeleteQuestionModal = ({
22128
22159
  open,
22129
22160
  setOpen,
@@ -22150,7 +22181,7 @@ var DeleteQuestionModal = ({
22150
22181
  },
22151
22182
  onClick: () => setOpen(false)
22152
22183
  },
22153
- /* @__PURE__ */ React82.createElement(CrossIcon11, null)
22184
+ /* @__PURE__ */ React82.createElement(CrossIcon12, null)
22154
22185
  )
22155
22186
  ), /* @__PURE__ */ React82.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", mb: "$8", mt: "$4" } }, "The question will be deleted. You can't undo this action."), /* @__PURE__ */ React82.createElement(Flex, { css: { w: "100%", mt: "$12", gap: "$md" } }, /* @__PURE__ */ React82.createElement(
22156
22187
  Button,
@@ -22732,7 +22763,7 @@ var QuestionCard = ({ question, onSave, index, length, removeQuestion, isQuiz, c
22732
22763
  init_define_process_env();
22733
22764
  import React95, { useState as useState38 } from "react";
22734
22765
  import { selectPollByID as selectPollByID3, useHMSStore as useHMSStore44 } from "@100mslive/react-sdk";
22735
- import { ChevronLeftIcon as ChevronLeftIcon4, ChevronRightIcon as ChevronRightIcon3, CrossIcon as CrossIcon12 } from "@100mslive/react-icons";
22766
+ import { ChevronLeftIcon as ChevronLeftIcon4, ChevronRightIcon as ChevronRightIcon3, CrossIcon as CrossIcon13 } from "@100mslive/react-icons";
22736
22767
 
22737
22768
  // src/Prebuilt/components/Polls/Voting/LeaderboardEntry.tsx
22738
22769
  init_define_process_env();
@@ -22923,7 +22954,7 @@ var LeaderboardSummary = ({ pollID }) => {
22923
22954
  css: { color: "$on_surface_medium", "&:hover": { color: "$on_surface_high", cursor: "pointer" } },
22924
22955
  onClick: toggleSidepane
22925
22956
  },
22926
- /* @__PURE__ */ React95.createElement(CrossIcon12, null)
22957
+ /* @__PURE__ */ React95.createElement(CrossIcon13, null)
22927
22958
  )), !viewAllEntries ? /* @__PURE__ */ React95.createElement(PeerParticipationSummary, { quiz }) : null, /* @__PURE__ */ React95.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold", mt: "$4" } }, "Leaderboard"), /* @__PURE__ */ React95.createElement(Text, { variant: "xs", css: { color: "$on_surface_medium" } }, "Based on score and time taken to cast the correct answer"), /* @__PURE__ */ React95.createElement(
22928
22959
  Box,
22929
22960
  {
@@ -22982,7 +23013,7 @@ import {
22982
23013
  useHMSActions as useHMSActions30,
22983
23014
  useHMSStore as useHMSStore47
22984
23015
  } from "@100mslive/react-sdk";
22985
- import { ChevronLeftIcon as ChevronLeftIcon5, CrossIcon as CrossIcon13 } from "@100mslive/react-icons";
23016
+ import { ChevronLeftIcon as ChevronLeftIcon5, CrossIcon as CrossIcon14 } from "@100mslive/react-icons";
22986
23017
 
22987
23018
  // src/Prebuilt/components/Polls/Voting/StandardVoting.tsx
22988
23019
  init_define_process_env();
@@ -23283,7 +23314,7 @@ var Voting = ({ id, toggleVoting }) => {
23283
23314
  "&:hover": { opacity: "0.8" }
23284
23315
  }
23285
23316
  },
23286
- /* @__PURE__ */ React99.createElement(CrossIcon13, { onClick: toggleVoting })
23317
+ /* @__PURE__ */ React99.createElement(CrossIcon14, { onClick: toggleVoting })
23287
23318
  )
23288
23319
  ), /* @__PURE__ */ React99.createElement(Flex, { direction: "column", css: { p: "$8 $10", flex: "1 1 0", overflowY: "auto" } }, poll.state === "started" ? /* @__PURE__ */ React99.createElement(Text, { css: { color: "$on_surface_medium", fontWeight: "$semiBold" } }, pollCreatorName || "Participant", " started a ", poll.type) : null, showSingleView ? /* @__PURE__ */ React99.createElement(TimedView, { poll }) : /* @__PURE__ */ React99.createElement(StandardView, { poll })), /* @__PURE__ */ React99.createElement(
23289
23320
  Flex,
@@ -23324,7 +23355,7 @@ var Polls = () => {
23324
23355
  // src/Prebuilt/components/RoomDetails/RoomDetailsPane.tsx
23325
23356
  init_define_process_env();
23326
23357
  import React103 from "react";
23327
- import { CrossIcon as CrossIcon14 } from "@100mslive/react-icons";
23358
+ import { CrossIcon as CrossIcon15 } from "@100mslive/react-icons";
23328
23359
 
23329
23360
  // src/Prebuilt/components/RoomDetails/RoomDetailsRow.tsx
23330
23361
  init_define_process_env();
@@ -23361,28 +23392,28 @@ var RoomDetailsPane = () => {
23361
23392
  onClick: toggleDetailsPane,
23362
23393
  css: { color: "$on_surface_high", cursor: "pointer", "&:hover": { opacity: "0.8" } }
23363
23394
  },
23364
- /* @__PURE__ */ React103.createElement(CrossIcon14, null)
23395
+ /* @__PURE__ */ React103.createElement(CrossIcon15, null)
23365
23396
  )), /* @__PURE__ */ React103.createElement(RoomDetailsRow, { details }), /* @__PURE__ */ React103.createElement(Box, { css: { mt: "$10" } }, /* @__PURE__ */ React103.createElement(Text, { css: { color: "$on_surface_high", fontWeight: "$semiBold" } }, "Description"), /* @__PURE__ */ React103.createElement(Text, { variant: "sm", css: { c: "$on_surface_medium" } }, description)));
23366
23397
  };
23367
23398
 
23368
23399
  // src/Prebuilt/components/SidePaneTabs.tsx
23369
23400
  init_define_process_env();
23370
23401
  import React118, { useEffect as useEffect30, useState as useState50 } from "react";
23371
- import { useMedia as useMedia18 } from "react-use";
23402
+ import { useMedia as useMedia19 } from "react-use";
23372
23403
  import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
23373
- import { CrossIcon as CrossIcon18 } from "@100mslive/react-icons";
23404
+ import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
23374
23405
 
23375
23406
  // src/Prebuilt/components/Chat/Chat.tsx
23376
23407
  init_define_process_env();
23377
23408
  import React115, { useCallback as useCallback29, useRef as useRef21 } from "react";
23378
- import { useMedia as useMedia17 } from "react-use";
23409
+ import { useMedia as useMedia18 } from "react-use";
23379
23410
  import { selectHMSMessagesCount, useHMSActions as useHMSActions38, useHMSStore as useHMSStore57, useHMSVanillaStore as useHMSVanillaStore11 } from "@100mslive/react-sdk";
23380
23411
  import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
23381
23412
 
23382
23413
  // src/Prebuilt/components/Chat/ChatBody.tsx
23383
23414
  init_define_process_env();
23384
23415
  import React107, { Fragment as Fragment11, useCallback as useCallback25, useEffect as useEffect25, useLayoutEffect, useMemo as useMemo8, useRef as useRef18, useState as useState44 } from "react";
23385
- import { useMedia as useMedia12 } from "react-use";
23416
+ import { useMedia as useMedia13 } from "react-use";
23386
23417
  import AutoSizer from "react-virtualized-auto-sizer";
23387
23418
  import { VariableSizeList } from "react-window";
23388
23419
  import {
@@ -23406,7 +23437,7 @@ import { selectLocalPeerName as selectLocalPeerName2, selectPermissions as selec
23406
23437
  import {
23407
23438
  CopyIcon as CopyIcon2,
23408
23439
  CrossCircleIcon as CrossCircleIcon2,
23409
- CrossIcon as CrossIcon15,
23440
+ CrossIcon as CrossIcon16,
23410
23441
  EyeCloseIcon as EyeCloseIcon2,
23411
23442
  PeopleRemoveIcon as PeopleRemoveIcon3,
23412
23443
  PinIcon,
@@ -23639,7 +23670,7 @@ var ChatActions = ({
23639
23670
  }
23640
23671
  },
23641
23672
  "Message options",
23642
- /* @__PURE__ */ React105.createElement(Sheet.Close, { css: { color: "$on_surface_high" }, onClick: (e) => setOpenSheet(false, e) }, /* @__PURE__ */ React105.createElement(CrossIcon15, null))
23673
+ /* @__PURE__ */ React105.createElement(Sheet.Close, { css: { color: "$on_surface_high" }, onClick: (e) => setOpenSheet(false, e) }, /* @__PURE__ */ React105.createElement(CrossIcon16, null))
23643
23674
  ), Object.keys(options).map((optionKey) => {
23644
23675
  const option = options[optionKey];
23645
23676
  return option.show ? /* @__PURE__ */ React105.createElement(
@@ -23709,7 +23740,7 @@ var ChatActions = ({
23709
23740
  // src/Prebuilt/components/Chat/EmptyChat.tsx
23710
23741
  init_define_process_env();
23711
23742
  import React106 from "react";
23712
- import { useMedia as useMedia11 } from "react-use";
23743
+ import { useMedia as useMedia12 } from "react-use";
23713
23744
 
23714
23745
  // src/Prebuilt/images/empty-chat.svg
23715
23746
  var empty_chat_default = 'data:image/svg+xml,<svg width="184" height="133" viewBox="0 0 184 133" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M144.885 91.3998C145.318 91.023 145.861 90.7947 146.433 90.7483L146.446 90.7473L169.355 89.1614C169.702 89.1376 170.049 89.2101 170.358 89.3712C170.662 89.5305 170.918 89.7702 171.096 90.0642C171.098 90.0672 171.1 90.0703 171.102 90.0734L171.104 90.0766C171.281 90.3744 171.373 90.7154 171.369 91.062C171.365 91.4097 171.265 91.7496 171.08 92.044L158.85 111.504C158.539 111.986 158.081 112.356 157.544 112.56C157.007 112.764 156.419 112.791 155.866 112.636C155.313 112.482 154.823 112.155 154.469 111.703C154.115 111.25 153.915 110.697 153.898 110.123C153.898 110.109 153.898 110.094 153.898 110.08L153.996 100.307L145.347 95.7858C145.334 95.779 145.321 95.7721 145.308 95.7649C144.811 95.4785 144.417 95.0404 144.186 94.5146C143.955 93.9888 143.898 93.4029 144.024 92.8425C144.15 92.2821 144.451 91.7765 144.885 91.3998ZM167.441 91.0088L146.603 92.8952C146.49 92.9053 146.383 92.9508 146.298 93.0251C146.211 93.1005 146.151 93.2016 146.125 93.3137C146.1 93.4257 146.112 93.5429 146.158 93.6481C146.202 93.7484 146.276 93.8327 146.369 93.89L155.26 98.296L167.441 91.0088ZM156.32 100.171L168.547 92.8564L157.039 110.339C156.976 110.434 156.886 110.506 156.78 110.547C156.673 110.587 156.555 110.593 156.444 110.562C156.334 110.531 156.236 110.466 156.165 110.375C156.097 110.289 156.058 110.184 156.052 110.075L156.32 100.171Z" fill="%23444954"/>%0A<path d="M83.3248 35.4156C71.7182 47.1017 51.2098 75.5175 62.0292 95.6918C75.5536 120.91 140.453 79.2983 115.364 67.6657C90.2756 56.0331 65.8818 122.018 101.568 120.391C116.398 118.62 131.221 114.699 145.703 105.512" stroke="%23293042" stroke-width="2.25" stroke-dasharray="6 6"/>%0A<rect x="0.00256348" y="0.5" width="173.524" height="58.3398" rx="29.1699" fill="%23272A31"/>%0A<g opacity="0.4">%0A<rect x="24.7526" y="20.9312" width="111" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<g opacity="0.4">%0A<rect x="38.2526" y="34.4312" width="110.25" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<path d="M40.3918 71.5547L28.4246 55.0999L52.3589 55.0999L40.3918 71.5547Z" fill="%23272A31"/>%0A</svg>%0A';
@@ -23719,7 +23750,7 @@ var EmptyChat = () => {
23719
23750
  var _a8;
23720
23751
  const { elements } = useRoomLayoutConferencingScreen();
23721
23752
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
23722
- const isMobile = useMedia11(config.media.md);
23753
+ const isMobile = useMedia12(config.media.md);
23723
23754
  const canSendMessages = elements.chat && (elements.chat.public_chat_enabled || elements.chat.private_chat_enabled || elements.chat.roles_whitelist && elements.chat.roles_whitelist.length) && !isLocalPeerBlacklisted;
23724
23755
  if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay))
23725
23756
  return /* @__PURE__ */ React106.createElement(React106.Fragment, null);
@@ -23880,7 +23911,7 @@ var ChatMessage = React107.memo(
23880
23911
  var _a8, _b7, _c;
23881
23912
  const { elements } = useRoomLayoutConferencingScreen();
23882
23913
  const rowRef = useRef18(null);
23883
- const isMobile = useMedia12(config.media.md);
23914
+ const isMobile = useMedia13(config.media.md);
23884
23915
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
23885
23916
  const isOverlay = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
23886
23917
  const localPeerId = useHMSStore51(selectLocalPeerID10);
@@ -24150,22 +24181,22 @@ var PinnedBy = ({
24150
24181
  // src/Prebuilt/components/Chat/ChatFooter.tsx
24151
24182
  init_define_process_env();
24152
24183
  import React110, { useCallback as useCallback27, useEffect as useEffect27, useRef as useRef20, useState as useState47 } from "react";
24153
- import { useMedia as useMedia15 } from "react-use";
24184
+ import { useMedia as useMedia16 } from "react-use";
24154
24185
  import data2 from "@emoji-mart/data";
24155
24186
  import Picker from "@emoji-mart/react";
24156
- import { selectLocalPeer as selectLocalPeer3, useHMSActions as useHMSActions36, useHMSStore as useHMSStore54 } from "@100mslive/react-sdk";
24187
+ import { selectLocalPeer as selectLocalPeer3, useAVToggle as useAVToggle5, useHMSActions as useHMSActions36, useHMSStore as useHMSStore54 } from "@100mslive/react-sdk";
24157
24188
  import { EmojiIcon as EmojiIcon3, PauseCircleIcon as PauseCircleIcon2, SendIcon, VerticalMenuIcon as VerticalMenuIcon7 } from "@100mslive/react-icons";
24158
24189
 
24159
24190
  // src/Prebuilt/components/Chat/ChatSelectorContainer.tsx
24160
24191
  init_define_process_env();
24161
24192
  import React109, { useState as useState46 } from "react";
24162
- import { useMedia as useMedia14 } from "react-use";
24163
- import { ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon as ChevronUpIcon5, CrossIcon as CrossIcon16, GroupIcon, PersonIcon as PersonIcon2 } from "@100mslive/react-icons";
24193
+ import { useMedia as useMedia15 } from "react-use";
24194
+ import { ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon as ChevronUpIcon5, CrossIcon as CrossIcon17, GroupIcon, PersonIcon as PersonIcon2 } from "@100mslive/react-icons";
24164
24195
 
24165
24196
  // src/Prebuilt/components/Chat/ChatSelector.tsx
24166
24197
  init_define_process_env();
24167
24198
  import React108, { useMemo as useMemo9, useState as useState45 } from "react";
24168
- import { useMedia as useMedia13 } from "react-use";
24199
+ import { useMedia as useMedia14 } from "react-use";
24169
24200
  import {
24170
24201
  selectMessagesUnreadCountByPeerID,
24171
24202
  selectMessagesUnreadCountByRole,
@@ -24184,7 +24215,7 @@ var SelectorItem = ({
24184
24215
  unreadCount,
24185
24216
  icon = void 0
24186
24217
  }) => {
24187
- const isMobile = useMedia13(config.media.md);
24218
+ const isMobile = useMedia14(config.media.md);
24188
24219
  const Root28 = !isMobile ? Dropdown.Item : (_a8) => {
24189
24220
  var _b7 = _a8, { children } = _b7, rest = __objRest(_b7, ["children"]);
24190
24221
  return /* @__PURE__ */ React108.createElement(Flex, __spreadProps(__spreadValues({}, rest), { css: __spreadValues({ p: "$6 $8" }, rest.css) }), children);
@@ -24335,7 +24366,7 @@ var ChatSelector = ({ role, peerId }) => {
24335
24366
  var ChatSelectorContainer = () => {
24336
24367
  var _a8, _b7;
24337
24368
  const [open, setOpen] = useState46(false);
24338
- const isMobile = useMedia14(config.media.md);
24369
+ const isMobile = useMedia15(config.media.md);
24339
24370
  const { elements } = useRoomLayoutConferencingScreen();
24340
24371
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
24341
24372
  const isPublicChatEnabled = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled);
@@ -24438,7 +24469,7 @@ var ChatSelectorContainer = () => {
24438
24469
  }
24439
24470
  },
24440
24471
  /* @__PURE__ */ React109.createElement(Text, { css: { color: "$on_surface_medium", fontWeight: "$semiBold" } }, "Chat with"),
24441
- /* @__PURE__ */ React109.createElement(Sheet.Close, { css: { color: "$on_surface_medium" } }, /* @__PURE__ */ React109.createElement(CrossIcon16, null))
24472
+ /* @__PURE__ */ React109.createElement(Sheet.Close, { css: { color: "$on_surface_medium" } }, /* @__PURE__ */ React109.createElement(CrossIcon17, null))
24442
24473
  ), /* @__PURE__ */ React109.createElement(
24443
24474
  Box,
24444
24475
  {
@@ -24548,12 +24579,12 @@ function EmojiPicker({ onSelect }) {
24548
24579
  )));
24549
24580
  }
24550
24581
  var ChatFooter = ({ onSend, children }) => {
24551
- var _a8, _b7, _c, _d, _e;
24582
+ var _a8, _b7, _c, _d;
24552
24583
  const hmsActions = useHMSActions36();
24553
24584
  const inputRef = useRef20(null);
24554
24585
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
24555
- const isMobile = useMedia15(config.media.md);
24556
- const { elements } = useRoomLayoutConferencingScreen();
24586
+ const isMobile = useMedia16(config.media.md);
24587
+ const { elements, screenType } = useRoomLayoutConferencingScreen();
24557
24588
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
24558
24589
  const localPeer = useHMSStore54(selectLocalPeer3);
24559
24590
  const isOverlayChat = (_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay;
@@ -24563,16 +24594,20 @@ var ChatFooter = ({ onSend, children }) => {
24563
24594
  const defaultSelection = useDefaultChatSelection();
24564
24595
  const selection = selectedPeer.name || selectedRole || defaultSelection;
24565
24596
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
24597
+ const { toggleAudio, toggleVideo } = useAVToggle5();
24598
+ const noAVPermissions = !(toggleAudio || toggleVideo);
24599
+ const isMwebHLSStream = useMobileHLSStream();
24600
+ const isLandscapeHLSStream = useLandscapeHLSStream();
24566
24601
  useEffect27(() => {
24567
24602
  var _a9, _b8;
24568
24603
  if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
24569
24604
  setRoleSelector(defaultSelection);
24570
24605
  } else {
24571
- if (!((_a9 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a9.disable_autofocus)) {
24606
+ if (!(isMobile || isLandscapeHLSStream) || !((_a9 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a9.disable_autofocus)) {
24572
24607
  (_b8 = inputRef.current) == null ? void 0 : _b8.focus();
24573
24608
  }
24574
24609
  }
24575
- }, [defaultSelection, (_e = elements == null ? void 0 : elements.chat) == null ? void 0 : _e.disable_autofocus, selectedPeer, selectedRole, setRoleSelector]);
24610
+ }, [defaultSelection, selectedPeer, selectedRole, setRoleSelector, isMobile, isLandscapeHLSStream, elements == null ? void 0 : elements.chat]);
24576
24611
  const sendMessage = useCallback27(() => __async(void 0, null, function* () {
24577
24612
  var _a9;
24578
24613
  const message = (_a9 = inputRef == null ? void 0 : inputRef.current) == null ? void 0 : _a9.value;
@@ -24647,21 +24682,19 @@ var ChatFooter = ({ onSend, children }) => {
24647
24682
  Flex,
24648
24683
  {
24649
24684
  align: "center",
24650
- css: {
24685
+ css: __spreadValues({
24651
24686
  bg: isOverlayChat && isMobile ? "$surface_dim" : "$surface_default",
24652
- minHeight: "$16",
24653
24687
  maxHeight: "$24",
24654
24688
  position: "relative",
24655
- py: "$6",
24656
24689
  pl: "$8",
24657
- flexGrow: 1,
24690
+ flexGrow: "1",
24658
24691
  r: "$1",
24659
24692
  "@md": {
24660
24693
  minHeight: "unset",
24661
24694
  h: "$14",
24662
24695
  boxSizing: "border-box"
24663
24696
  }
24664
- }
24697
+ }, isLandscapeHLSStream ? { minHeight: "$14", py: 0 } : {})
24665
24698
  },
24666
24699
  children,
24667
24700
  /* @__PURE__ */ React110.createElement(
@@ -24677,6 +24710,7 @@ var ChatFooter = ({ onSend, children }) => {
24677
24710
  placeholder: message_placeholder,
24678
24711
  ref: inputRef,
24679
24712
  required: true,
24713
+ autoFocus: !(isMobile || isLandscapeHLSStream),
24680
24714
  onKeyPress: (event) => __async(void 0, null, function* () {
24681
24715
  if (event.key === "Enter") {
24682
24716
  if (!event.shiftKey) {
@@ -24692,7 +24726,7 @@ var ChatFooter = ({ onSend, children }) => {
24692
24726
  onCopy: (e) => e.stopPropagation()
24693
24727
  }
24694
24728
  ),
24695
- !isMobile ? /* @__PURE__ */ React110.createElement(
24729
+ !isMobile && !isLandscapeHLSStream ? /* @__PURE__ */ React110.createElement(
24696
24730
  EmojiPicker,
24697
24731
  {
24698
24732
  onSelect: (emoji) => {
@@ -24717,6 +24751,16 @@ var ChatFooter = ({ onSend, children }) => {
24717
24751
  },
24718
24752
  /* @__PURE__ */ React110.createElement(SendIcon, null)
24719
24753
  )
24754
+ ), (isMwebHLSStream || isLandscapeHLSStream) && /* @__PURE__ */ React110.createElement(
24755
+ Flex,
24756
+ {
24757
+ css: {
24758
+ alignItems: "center"
24759
+ },
24760
+ gap: "1"
24761
+ },
24762
+ noAVPermissions ? /* @__PURE__ */ React110.createElement(RaiseHand, null) : null,
24763
+ /* @__PURE__ */ React110.createElement(MoreSettings, { elements, screenType })
24720
24764
  )));
24721
24765
  };
24722
24766
 
@@ -24780,7 +24824,7 @@ var ChatBlocked = () => {
24780
24824
  init_define_process_env();
24781
24825
  import React114, { useEffect as useEffect28, useState as useState48 } from "react";
24782
24826
  import { useSwipeable } from "react-swipeable";
24783
- import { useMedia as useMedia16 } from "react-use";
24827
+ import { useMedia as useMedia17 } from "react-use";
24784
24828
  import { selectSessionStore as selectSessionStore7, useHMSStore as useHMSStore56 } from "@100mslive/react-sdk";
24785
24829
  import { PinIcon as PinIcon2, UnpinIcon } from "@100mslive/react-icons";
24786
24830
 
@@ -24841,7 +24885,7 @@ var PinnedMessage = () => {
24841
24885
  const pinnedMessages = useHMSStore56(selectSessionStore7("pinnedMessages" /* PINNED_MESSAGES */));
24842
24886
  const [pinnedMessageIndex, setPinnedMessageIndex] = useState48(0);
24843
24887
  const { removePinnedMessage } = usePinnedMessages();
24844
- const isMobile = useMedia16(config.media.md);
24888
+ const isMobile = useMedia17(config.media.md);
24845
24889
  const { elements } = useRoomLayoutConferencingScreen();
24846
24890
  const canUnpinMessage = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.allow_pinning_messages);
24847
24891
  const [hideOverflow, setHideOverflow] = useState48(true);
@@ -24956,8 +25000,8 @@ var Chat = () => {
24956
25000
  const listRef = useRef21(null);
24957
25001
  const hmsActions = useHMSActions38();
24958
25002
  const vanillaStore = useHMSVanillaStore11();
24959
- const { enabled: isChatEnabled = true } = useHMSStore57(em("chatState" /* CHAT_STATE */)) || {};
24960
- const isMobile = useMedia17(config.media.md);
25003
+ const { enabled: isChatEnabled = true } = useHMSStore57(tm("chatState" /* CHAT_STATE */)) || {};
25004
+ const isMobile = useMedia18(config.media.md);
24961
25005
  const scrollToBottom = useCallback29(
24962
25006
  (unreadCount = 0) => {
24963
25007
  var _a9;
@@ -24995,7 +25039,7 @@ var NewMessageIndicator = ({
24995
25039
  scrollToBottom,
24996
25040
  listRef
24997
25041
  }) => {
24998
- const unreadCount = useHMSStore57(Gn);
25042
+ const unreadCount = useHMSStore57($n);
24999
25043
  if (!unreadCount || !listRef.current) {
25000
25044
  return null;
25001
25045
  }
@@ -25046,7 +25090,7 @@ import { useInView } from "react-intersection-observer";
25046
25090
  import { useMeasure as useMeasure2 } from "react-use";
25047
25091
  import { VariableSizeList as VariableSizeList2 } from "react-window";
25048
25092
  import { selectIsConnectedToRoom as selectIsConnectedToRoom8, useHMSStore as useHMSStore58, usePaginatedParticipants as usePaginatedParticipants2 } from "@100mslive/react-sdk";
25049
- import { ChevronLeftIcon as ChevronLeftIcon6, CrossIcon as CrossIcon17 } from "@100mslive/react-icons";
25093
+ import { ChevronLeftIcon as ChevronLeftIcon6, CrossIcon as CrossIcon18 } from "@100mslive/react-icons";
25050
25094
  var LoadMoreParticipants = ({
25051
25095
  hasNext,
25052
25096
  loadMore,
@@ -25105,7 +25149,7 @@ var PaginatedParticipants = ({ roleName, onBack }) => {
25105
25149
  },
25106
25150
  "data-testid": "close_sidepane"
25107
25151
  },
25108
- /* @__PURE__ */ React116.createElement(CrossIcon17, null)
25152
+ /* @__PURE__ */ React116.createElement(CrossIcon18, null)
25109
25153
  )), /* @__PURE__ */ React116.createElement(ParticipantSearch, { onSearch: (search2) => setSearch(search2), placeholder: `Search for ${roleName}` }), /* @__PURE__ */ React116.createElement(Flex, { direction: "column", css: { border: "1px solid $border_default", borderRadius: "$1", flex: "1 1 0" } }, /* @__PURE__ */ React116.createElement(Flex, { align: "center", css: { height: ROW_HEIGHT, borderBottom: "1px solid $border_default", px: "$8" } }, /* @__PURE__ */ React116.createElement(Text, { css: { fontSize: "$space$7" } }, roleName, "(", getFormattedCount(peers.length), "/", getFormattedCount(total), ")")), /* @__PURE__ */ React116.createElement(Box, { css: { flex: "1 1 0", overflowY: "auto", overflowX: "hidden", mr: "-$10" } }, /* @__PURE__ */ React116.createElement(
25110
25154
  VariableSizeList2,
25111
25155
  {
@@ -25189,7 +25233,7 @@ var tabTriggerCSS = {
25189
25233
  var ParticipantCount2 = ({ count }) => {
25190
25234
  return count < 1e3 ? /* @__PURE__ */ React118.createElement("span", null, "(", count, ")") : /* @__PURE__ */ React118.createElement(Tooltip, { title: count }, /* @__PURE__ */ React118.createElement("span", null, "(", getFormattedCount(count), ")"));
25191
25235
  };
25192
- var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControls }) => {
25236
+ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControls, hideTab = false }) => {
25193
25237
  var _a8, _b7;
25194
25238
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
25195
25239
  const toggleParticipants = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
@@ -25197,12 +25241,12 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25197
25241
  const [activeTab, setActiveTab] = useState50(active);
25198
25242
  const [activeRole, setActiveRole] = useState50("");
25199
25243
  const peerCount = useHMSStore60(selectPeerCount5);
25200
- const { elements } = useRoomLayoutConferencingScreen();
25244
+ const { elements, screenType } = useRoomLayoutConferencingScreen();
25201
25245
  const chat_title = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.chat_title) || "Chat";
25202
25246
  const showChat = !!(elements == null ? void 0 : elements.chat);
25203
25247
  const showParticipants = !!(elements == null ? void 0 : elements.participant_list);
25204
- const hideTabs = !(showChat && showParticipants);
25205
- const isMobile = useMedia18(config.media.md);
25248
+ const hideTabs = !(showChat && showParticipants) || hideTab;
25249
+ const isMobile = useMedia19(config.media.md);
25206
25250
  const isOverlayChat = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
25207
25251
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
25208
25252
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
@@ -25246,10 +25290,28 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25246
25290
  transition: "margin 0.3s ease-in-out"
25247
25291
  }
25248
25292
  },
25249
- isOverlayChat && isChatOpen && showChat ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(React118.Fragment, null, hideTabs ? /* @__PURE__ */ React118.createElement(React118.Fragment, null, /* @__PURE__ */ React118.createElement(Flex, { justify: "between", css: { w: "100%" } }, /* @__PURE__ */ React118.createElement(Text, { variant: "sm", css: { fontWeight: "$semiBold", p: "$4", c: "$on_surface_high", pr: "$12" } }, showChat ? chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
25293
+ isOverlayChat && isChatOpen && showChat ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(React118.Fragment, null, hideTabs ? /* @__PURE__ */ React118.createElement(React118.Fragment, null, /* @__PURE__ */ React118.createElement(Flex, { justify: "between", css: { w: "100%", "&:empty": { display: "none" } } }, /* @__PURE__ */ React118.createElement(
25294
+ Text,
25295
+ {
25296
+ variant: "sm",
25297
+ css: {
25298
+ fontWeight: "$semiBold",
25299
+ p: "$4",
25300
+ c: "$on_surface_high",
25301
+ pr: "$12",
25302
+ "&:empty": { display: "none" }
25303
+ }
25304
+ },
25305
+ activeTab === SIDE_PANE_OPTIONS.CHAT ? screenType !== "hls_live_streaming" && chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))
25306
+ ), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
25250
25307
  IconButton,
25251
25308
  {
25252
- css: { my: "$1", color: "$on_surface_medium", "&:hover": { color: "$on_surface_high" } },
25309
+ css: {
25310
+ my: "$1",
25311
+ color: "$on_surface_medium",
25312
+ "&:hover": { color: "$on_surface_high" },
25313
+ "&:empty": { display: "none" }
25314
+ },
25253
25315
  onClick: (e) => {
25254
25316
  e.stopPropagation();
25255
25317
  if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
@@ -25260,8 +25322,8 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25260
25322
  },
25261
25323
  "data-testid": "close_chat"
25262
25324
  },
25263
- /* @__PURE__ */ React118.createElement(CrossIcon18, null)
25264
- ))), showChat ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })) : /* @__PURE__ */ React118.createElement(
25325
+ screenType === "hls_live_streaming" && isChatOpen ? null : /* @__PURE__ */ React118.createElement(CrossIcon19, null)
25326
+ ))), activeTab === SIDE_PANE_OPTIONS.CHAT ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })) : /* @__PURE__ */ React118.createElement(
25265
25327
  Tabs.Root,
25266
25328
  {
25267
25329
  value: activeTab,
@@ -25306,7 +25368,7 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
25306
25368
  },
25307
25369
  "data-testid": "close_chat"
25308
25370
  },
25309
- /* @__PURE__ */ React118.createElement(CrossIcon18, null)
25371
+ /* @__PURE__ */ React118.createElement(CrossIcon19, null)
25310
25372
  )),
25311
25373
  /* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })),
25312
25374
  /* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.CHAT, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(Chat, null))
@@ -25378,7 +25440,7 @@ var TileConnection_default = TileConnection;
25378
25440
  // src/Prebuilt/components/TileMenu/TileMenu.tsx
25379
25441
  init_define_process_env();
25380
25442
  import React121, { useState as useState51 } from "react";
25381
- import { useMedia as useMedia20 } from "react-use";
25443
+ import { useMedia as useMedia21 } from "react-use";
25382
25444
  import {
25383
25445
  selectLocalPeerID as selectLocalPeerID11,
25384
25446
  selectPeerByID as selectPeerByID2,
@@ -25388,12 +25450,12 @@ import {
25388
25450
  useHMSStore as useHMSStore63,
25389
25451
  useRemoteAVToggle as useRemoteAVToggle2
25390
25452
  } from "@100mslive/react-sdk";
25391
- import { CrossIcon as CrossIcon19, VerticalMenuIcon as VerticalMenuIcon8 } from "@100mslive/react-icons";
25453
+ import { CrossIcon as CrossIcon20, VerticalMenuIcon as VerticalMenuIcon8 } from "@100mslive/react-icons";
25392
25454
 
25393
25455
  // src/Prebuilt/components/TileMenu/TileMenuContent.tsx
25394
25456
  init_define_process_env();
25395
25457
  import React120, { Fragment as Fragment12 } from "react";
25396
- import { useMedia as useMedia19 } from "react-use";
25458
+ import { useMedia as useMedia20 } from "react-use";
25397
25459
  import {
25398
25460
  selectPermissions as selectPermissions16,
25399
25461
  selectSessionStore as selectSessionStore10,
@@ -25580,7 +25642,7 @@ var TileMenuContent = ({
25580
25642
  const { sendEvent } = useCustomEvent2({
25581
25643
  type: REMOTE_STOP_SCREENSHARE_TYPE
25582
25644
  });
25583
- const isMobile = useMedia19(config.media.md);
25645
+ const isMobile = useMedia20(config.media.md);
25584
25646
  if (isLocal) {
25585
25647
  return showPinAction || canMinimise || !userName || showSpotlight ? /* @__PURE__ */ React120.createElement(React120.Fragment, null, showPinAction && /* @__PURE__ */ React120.createElement(PinActions, { audioTrackID, videoTrackID }), showSpotlight && /* @__PURE__ */ React120.createElement(SpotlightActions, { peerId: peerID, onSpotLightClick: () => closeSheetOnClick() }), canMinimise && /* @__PURE__ */ React120.createElement(MinimiseInset, null), !userName && /* @__PURE__ */ React120.createElement(
25586
25648
  StyledMenuTile.ItemButton,
@@ -25679,7 +25741,7 @@ var TileMenu = ({
25679
25741
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
25680
25742
  const track = useHMSStore63(selectTrackByID3(videoTrackID));
25681
25743
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
25682
- const isMobile = useMedia20(config.media.md);
25744
+ const isMobile = useMedia21(config.media.md);
25683
25745
  const peer = useHMSStore63(selectPeerByID2(peerID));
25684
25746
  const [showNameChangeModal, setShowNameChangeModal] = useState51(false);
25685
25747
  useDropdownList({ open, name: "TileMenu" });
@@ -25724,7 +25786,7 @@ var TileMenu = ({
25724
25786
  }
25725
25787
  },
25726
25788
  /* @__PURE__ */ React121.createElement(Box, null, /* @__PURE__ */ React121.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__ */ React121.createElement(Text, { variant: "xs", css: { color: "$on_surface_low", mt: "$2" } }, peer.roleName) : null),
25727
- /* @__PURE__ */ React121.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ React121.createElement(CrossIcon19, null))
25789
+ /* @__PURE__ */ React121.createElement(Sheet.Close, { css: { color: "inherit" } }, /* @__PURE__ */ React121.createElement(CrossIcon20, null))
25728
25790
  ), /* @__PURE__ */ React121.createElement(Box, { css: { px: "$8", pb: "$8", maxHeight: "80vh", overflowY: "auto" } }, /* @__PURE__ */ React121.createElement(TileMenuContent, __spreadProps(__spreadValues({}, props), { closeSheetOnClick: () => setOpen(false) }))))) : /* @__PURE__ */ React121.createElement(StyledMenuTile.Content, { side: "top", align: "end", css: { maxHeight: "$80", overflowY: "auto" } }, /* @__PURE__ */ React121.createElement(TileMenuContent, __spreadValues({}, props)))), showNameChangeModal && /* @__PURE__ */ React121.createElement(ChangeNameModal, { onOpenChange: setShowNameChangeModal }));
25729
25791
  };
25730
25792
  var TileMenu_default = TileMenu;
@@ -25887,7 +25949,7 @@ import {
25887
25949
  useHMSActions as useHMSActions41,
25888
25950
  useHMSStore as useHMSStore65
25889
25951
  } from "@100mslive/react-sdk";
25890
- import { BlurPersonHighIcon, CrossCircleIcon as CrossCircleIcon3, CrossIcon as CrossIcon20 } from "@100mslive/react-icons";
25952
+ import { BlurPersonHighIcon, CrossCircleIcon as CrossCircleIcon3, CrossIcon as CrossIcon21 } from "@100mslive/react-icons";
25891
25953
 
25892
25954
  // src/Prebuilt/components/VirtualBackground/VBCollection.tsx
25893
25955
  init_define_process_env();
@@ -26081,10 +26143,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
26081
26143
  const [blurAmount, setBlurAmount] = useState53(VBHandler.getBlurAmount() || 0.5);
26082
26144
  const roomState = useHMSStore65(selectRoomState4);
26083
26145
  const isLargeRoom = useHMSStore65(selectIsLargeRoom3);
26084
- const isEffectsEnabled = useHMSStore65(Zn);
26085
- const effectsKey = useHMSStore65(ec);
26146
+ const isEffectsEnabled = useHMSStore65(ec);
26147
+ const effectsKey = useHMSStore65(tc);
26086
26148
  const isPluginAdded = useHMSStore65(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
26087
- const background = useHMSStore65(Zh(APP_DATA.background));
26149
+ const background = useHMSStore65(em(APP_DATA.background));
26088
26150
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
26089
26151
  const inPreview = roomState === HMSRoomState4.Preview;
26090
26152
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -26133,7 +26195,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
26133
26195
  css: { color: "$on_surface_high", "&:hover": { color: "$on_surface_medium" }, cursor: "pointer" },
26134
26196
  onClick: toggleVB
26135
26197
  },
26136
- /* @__PURE__ */ React125.createElement(CrossIcon20, null)
26198
+ /* @__PURE__ */ React125.createElement(CrossIcon21, null)
26137
26199
  )), showVideoTile ? /* @__PURE__ */ React125.createElement(
26138
26200
  Video,
26139
26201
  {
@@ -26220,13 +26282,16 @@ var SidePane = ({
26220
26282
  hideControls = false
26221
26283
  }) => {
26222
26284
  var _a8, _b7, _c, _d, _e, _f;
26223
- const isMobile = useMedia21(config.media.md);
26285
+ const isMobile = useMedia22(config.media.md);
26286
+ const isLandscape = useIsLandscape();
26224
26287
  const sidepane = useHMSStore66(selectAppData6(APP_DATA.sidePane));
26225
26288
  const activeScreensharePeerId = useHMSStore66(selectAppData6(APP_DATA.activeScreensharePeerId));
26226
26289
  const trackId = (_a8 = useHMSStore66(selectVideoTrackByPeerID4(activeScreensharePeerId))) == null ? void 0 : _a8.id;
26227
26290
  const { elements } = useRoomLayoutConferencingScreen();
26228
26291
  const { elements: preview_elements } = useRoomLayoutPreviewScreen();
26229
26292
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
26293
+ const isLandscapeHLSStream = useLandscapeHLSStream();
26294
+ const isMobileHLSStream = useMobileHLSStream();
26230
26295
  const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
26231
26296
  const resetSidePane = useSidepaneReset();
26232
26297
  let ViewComponent;
@@ -26234,7 +26299,7 @@ var SidePane = ({
26234
26299
  ViewComponent = /* @__PURE__ */ React126.createElement(Polls, null);
26235
26300
  }
26236
26301
  if (sidepane === SIDE_PANE_OPTIONS.PARTICIPANTS || sidepane === SIDE_PANE_OPTIONS.CHAT) {
26237
- ViewComponent = /* @__PURE__ */ React126.createElement(SidePaneTabs, { hideControls, active: sidepane });
26302
+ ViewComponent = /* @__PURE__ */ React126.createElement(SidePaneTabs, { hideControls, active: sidepane, hideTab: isMobileHLSStream || isLandscapeHLSStream });
26238
26303
  }
26239
26304
  if (sidepane === SIDE_PANE_OPTIONS.VB) {
26240
26305
  ViewComponent = /* @__PURE__ */ React126.createElement(VBPicker, { backgroundMedia });
@@ -26266,11 +26331,11 @@ var SidePane = ({
26266
26331
  justify: "center",
26267
26332
  css: {
26268
26333
  w: "$100",
26269
- h: "100%",
26334
+ h: isMobileHLSStream ? "64%" : "100%",
26270
26335
  flexShrink: 0,
26271
26336
  gap: "$4",
26272
26337
  position: "relative",
26273
- "@md": { position: mwebStreamingChat ? "absolute" : "", zIndex: 12 }
26338
+ "@md": { position: mwebStreamingChat || isLandscape ? "absolute" : "", zIndex: 12 }
26274
26339
  }
26275
26340
  },
26276
26341
  trackId && layoutMode === LayoutMode.GALLERY && /* @__PURE__ */ React126.createElement(
@@ -26288,12 +26353,12 @@ var SidePane = ({
26288
26353
  {
26289
26354
  css: {
26290
26355
  w: "$100",
26291
- h: mwebStreamingChat ? "0" : "100%",
26356
+ h: mwebStreamingChat || isLandscape ? "0" : "100%",
26292
26357
  p: VB ? "$10 $6 $10 $10" : "$10",
26293
26358
  flex: "1 1 0",
26294
26359
  minHeight: 0,
26295
- maxHeight: mwebStreamingChat ? "300px" : "unset",
26296
- background: mwebStreamingChat ? "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)" : "$surface_dim",
26360
+ maxHeight: mwebStreamingChat || isLandscape ? "300px" : "unset",
26361
+ background: mwebStreamingChat || isLandscape ? "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)" : "$surface_dim",
26297
26362
  r: "$1",
26298
26363
  position: "relative",
26299
26364
  "@lg": {
@@ -26301,14 +26366,17 @@ var SidePane = ({
26301
26366
  h: "100%",
26302
26367
  ml: 0,
26303
26368
  right: 0,
26304
- position: "fixed",
26369
+ position: isLandscapeHLSStream ? "" : "fixed",
26370
+ minHeight: isLandscapeHLSStream ? "100%" : "",
26305
26371
  bottom: 0,
26306
26372
  borderRadius: 0,
26307
26373
  zIndex: 10
26308
26374
  },
26309
26375
  "@md": {
26310
26376
  p: "$6 $8",
26311
- pb: mwebStreamingChat ? "$20" : "$12",
26377
+ h: isMobileHLSStream ? "64%" : "100%",
26378
+ pb: "$12",
26379
+ minHeight: isMobileHLSStream ? "64%" : "",
26312
26380
  borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
26313
26381
  borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
26314
26382
  animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
@@ -26408,7 +26476,7 @@ var Logo = () => {
26408
26476
  // src/Prebuilt/components/Preview/PreviewForm.tsx
26409
26477
  init_define_process_env();
26410
26478
  import React130 from "react";
26411
- import { useMedia as useMedia22 } from "react-use";
26479
+ import { useMedia as useMedia23 } from "react-use";
26412
26480
  import { JoinForm_JoinBtnType as JoinForm_JoinBtnType3 } from "@100mslive/types-prebuilt/elements/join_form";
26413
26481
  import { useRecordingStreaming as useRecordingStreaming10 } from "@100mslive/react-sdk";
26414
26482
  import { GoLiveIcon } from "@100mslive/react-icons";
@@ -26425,7 +26493,7 @@ var PreviewForm = ({
26425
26493
  const formSubmit = (e) => {
26426
26494
  e.preventDefault();
26427
26495
  };
26428
- const isMobile = useMedia22(config.media.md);
26496
+ const isMobile = useMedia23(config.media.md);
26429
26497
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming10();
26430
26498
  const layout = useRoomLayout();
26431
26499
  const { join_form: joinForm = {} } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
@@ -26486,7 +26554,7 @@ var getParticipantChipContent = (peerCount = 0) => {
26486
26554
  var useLocalTileAspectRatio = () => {
26487
26555
  const localPeer = useHMSStore68(selectLocalPeer7);
26488
26556
  const videoTrack = useHMSStore68(selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack));
26489
- const isMobile = useMedia23(config.media.md);
26557
+ const isMobile = useMedia24(config.media.md);
26490
26558
  let aspectRatio = 0;
26491
26559
  if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height)) {
26492
26560
  aspectRatio = videoTrack.width / videoTrack.height;
@@ -26507,7 +26575,7 @@ var PreviewJoin = ({
26507
26575
  const { isStreamingOn } = useRecordingStreaming11();
26508
26576
  const authToken = useAuthToken();
26509
26577
  const [name, setName] = useState55(initialName || previewPreference.name);
26510
- const { toggleAudio, toggleVideo } = useAVToggle5();
26578
+ const { toggleAudio, toggleVideo } = useAVToggle6();
26511
26579
  const [previewError, setPreviewError] = useState55(false);
26512
26580
  const { endpoints } = useHMSPrebuiltContext();
26513
26581
  const { peerCount } = useParticipants2();
@@ -26595,7 +26663,7 @@ var Container4 = styled("div", __spreadProps(__spreadValues({
26595
26663
  }));
26596
26664
  var PreviewTile = ({ name, error }) => {
26597
26665
  const localPeer = useHMSStore68(selectLocalPeer7);
26598
- const { isLocalAudioEnabled, toggleAudio } = useAVToggle5();
26666
+ const { isLocalAudioEnabled, toggleAudio } = useAVToggle6();
26599
26667
  const isVideoOn = useHMSStore68(selectIsLocalVideoEnabled6);
26600
26668
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
26601
26669
  const trackSelector = selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -26640,7 +26708,7 @@ var PreviewTile = ({ name, error }) => {
26640
26708
  );
26641
26709
  };
26642
26710
  var PreviewControls = ({ hideSettings, vbEnabled }) => {
26643
- const isMobile = useMedia23(config.media.md);
26711
+ const isMobile = useMedia24(config.media.md);
26644
26712
  return /* @__PURE__ */ React131.createElement(
26645
26713
  Flex,
26646
26714
  {
@@ -26663,7 +26731,7 @@ var PreviewJoin_default = PreviewJoin;
26663
26731
  // src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx
26664
26732
  init_define_process_env();
26665
26733
  import React132 from "react";
26666
- import { useMedia as useMedia24 } from "react-use";
26734
+ import { useMedia as useMedia25 } from "react-use";
26667
26735
  var RequestPrompt = ({
26668
26736
  open = true,
26669
26737
  onOpenChange,
@@ -26673,7 +26741,7 @@ var RequestPrompt = ({
26673
26741
  onAction,
26674
26742
  disableActions = false
26675
26743
  }) => {
26676
- const isMobile = useMedia24(config.media.md);
26744
+ const isMobile = useMedia25(config.media.md);
26677
26745
  if (isMobile) {
26678
26746
  return /* @__PURE__ */ React132.createElement(Sheet.Root, { open, onOpenChange }, /* @__PURE__ */ React132.createElement(Sheet.Content, { css: { py: "$8" } }, /* @__PURE__ */ React132.createElement(Text, { css: { fontWeight: "$semiBold", c: "$on_surface_high", "@md": { px: "$8" } } }, title), body, /* @__PURE__ */ React132.createElement(RequestActions, { actionText, onAction, disabled: disableActions })));
26679
26747
  }
@@ -26785,14 +26853,14 @@ import {
26785
26853
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
26786
26854
  init_define_process_env();
26787
26855
  import React138, { useEffect as useEffect39, useMemo as useMemo13, useState as useState57 } from "react";
26788
- import { useMedia as useMedia27 } from "react-use";
26856
+ import { useMedia as useMedia28 } from "react-use";
26789
26857
  import { selectLocalPeer as selectLocalPeer9, useHMSStore as useHMSStore71 } from "@100mslive/react-sdk";
26790
26858
 
26791
26859
  // src/Prebuilt/components/InsetTile.tsx
26792
26860
  init_define_process_env();
26793
26861
  import React135, { useEffect as useEffect36, useRef as useRef22 } from "react";
26794
26862
  import Draggable from "react-draggable";
26795
- import { useMedia as useMedia25 } from "react-use";
26863
+ import { useMedia as useMedia26 } from "react-use";
26796
26864
  import {
26797
26865
  selectIsAllowedToPublish as selectIsAllowedToPublish2,
26798
26866
  selectLocalPeer as selectLocalPeer8,
@@ -26836,8 +26904,8 @@ var insetMaxWidthPx = 240;
26836
26904
  var defaultMobileAspectRatio = 9 / 16;
26837
26905
  var desktopAspectRatio = 1 / defaultMobileAspectRatio;
26838
26906
  var InsetTile = ({ peerId }) => {
26839
- const isMobile = useMedia25(config.media.md);
26840
- const isLandscape = useMedia25(config.media.ls);
26907
+ const isMobile = useMedia26(config.media.md);
26908
+ const isLandscape = useMedia26(config.media.ls);
26841
26909
  const selector = peerId ? selectPeerByID3(peerId) : selectLocalPeer8;
26842
26910
  const peer = useHMSStore70(selector);
26843
26911
  const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
@@ -26997,7 +27065,7 @@ var Grid = React137.forwardRef(
26997
27065
  // src/Prebuilt/components/hooks/useTileLayout.tsx
26998
27066
  init_define_process_env();
26999
27067
  import { useEffect as useEffect38, useMemo as useMemo12, useState as useState56 } from "react";
27000
- import { useMeasure as useMeasure5, useMedia as useMedia26 } from "react-use";
27068
+ import { useMeasure as useMeasure5, useMedia as useMedia27 } from "react-use";
27001
27069
  import {
27002
27070
  getPeersWithTiles,
27003
27071
  selectTracksMap as selectTracksMap3,
@@ -27033,7 +27101,7 @@ var useTileLayout = ({
27033
27101
  }) => {
27034
27102
  const vanillaStore = useHMSVanillaStore12();
27035
27103
  const [ref, { width, height }] = useMeasure5();
27036
- const isMobile = useMedia26(config.media.lg);
27104
+ const isMobile = useMedia27(config.media.lg);
27037
27105
  const [pagesWithTiles, setPagesWithTiles] = useState56([]);
27038
27106
  useEffect38(() => {
27039
27107
  if (width === 0 || height === 0) {
@@ -27103,7 +27171,7 @@ var useTileLayout = ({
27103
27171
  function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
27104
27172
  var _a8;
27105
27173
  const localPeer = useHMSStore71(selectLocalPeer9);
27106
- const isMobile = useMedia27(config.media.md);
27174
+ const isMobile = useMedia28(config.media.md);
27107
27175
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
27108
27176
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
27109
27177
  let pageList = usePagesWithTiles({
@@ -27148,13 +27216,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
27148
27216
  // src/Prebuilt/components/VideoLayouts/RoleProminence.tsx
27149
27217
  init_define_process_env();
27150
27218
  import React141, { useEffect as useEffect41, useState as useState59 } from "react";
27151
- import { useMedia as useMedia29 } from "react-use";
27219
+ import { useMedia as useMedia30 } from "react-use";
27152
27220
  import { selectLocalPeer as selectLocalPeer10, useHMSStore as useHMSStore73 } from "@100mslive/react-sdk";
27153
27221
 
27154
27222
  // src/Prebuilt/components/SecondaryTiles.tsx
27155
27223
  init_define_process_env();
27156
27224
  import React140, { useEffect as useEffect40, useRef as useRef23, useState as useState58 } from "react";
27157
- import { useMedia as useMedia28 } from "react-use";
27225
+ import { useMedia as useMedia29 } from "react-use";
27158
27226
  import { selectAppData as selectAppData7, selectSessionStore as selectSessionStore11, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore72 } from "@100mslive/react-sdk";
27159
27227
 
27160
27228
  // src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
@@ -27238,7 +27306,7 @@ var ProminenceLayout = {
27238
27306
  // src/Prebuilt/components/SecondaryTiles.tsx
27239
27307
  var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar }) => {
27240
27308
  var _a8, _b7;
27241
- const isMobile = useMedia28(config.media.md);
27309
+ const isMobile = useMedia29(config.media.md);
27242
27310
  const maxTileCount = isMobile ? 2 : 4;
27243
27311
  const [page, setPage] = useState58(0);
27244
27312
  const pinnedTrackId = useHMSStore72(selectAppData7(APP_DATA.pinnedTrackId));
@@ -27340,7 +27408,7 @@ function RoleProminence({
27340
27408
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
27341
27409
  const localPeer = useHMSStore73(selectLocalPeer10);
27342
27410
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
27343
- const isMobile = useMedia29(config.media.md);
27411
+ const isMobile = useMedia30(config.media.md);
27344
27412
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
27345
27413
  maxTileCount = isMobile ? 4 : maxTileCount;
27346
27414
  const pageList = usePagesWithTiles({
@@ -27382,13 +27450,13 @@ function RoleProminence({
27382
27450
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
27383
27451
  init_define_process_env();
27384
27452
  import React145, { useEffect as useEffect42, useMemo as useMemo15, useState as useState62 } from "react";
27385
- import { useMedia as useMedia31 } from "react-use";
27453
+ import { useMedia as useMedia32 } from "react-use";
27386
27454
  import { selectPeersScreenSharing, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
27387
27455
 
27388
27456
  // src/Prebuilt/components/ScreenshareTile.tsx
27389
27457
  init_define_process_env();
27390
27458
  import React144, { useRef as useRef24, useState as useState61 } from "react";
27391
- import { useFullscreen as useFullscreen2, useMedia as useMedia30 } from "react-use";
27459
+ import { useFullscreen as useFullscreen2, useMedia as useMedia31 } from "react-use";
27392
27460
  import screenfull2 from "screenfull";
27393
27461
  import {
27394
27462
  selectLocalPeerID as selectLocalPeerID13,
@@ -27500,7 +27568,7 @@ var LayoutModeSelector = () => {
27500
27568
  init_define_process_env();
27501
27569
  import React143 from "react";
27502
27570
  import { useHMSActions as useHMSActions43 } from "@100mslive/react-sdk";
27503
- import { CrossIcon as CrossIcon21, ShareScreenIcon as ShareScreenIcon5 } from "@100mslive/react-icons";
27571
+ import { CrossIcon as CrossIcon22, ShareScreenIcon as ShareScreenIcon5 } from "@100mslive/react-icons";
27504
27572
  var ScreenshareDisplay = () => {
27505
27573
  const hmsActions = useHMSActions43();
27506
27574
  return /* @__PURE__ */ React143.createElement(
@@ -27527,7 +27595,7 @@ var ScreenshareDisplay = () => {
27527
27595
  }),
27528
27596
  "data-testid": "stop_screen_share_btn"
27529
27597
  },
27530
- /* @__PURE__ */ React143.createElement(CrossIcon21, { width: 18, height: 18 }),
27598
+ /* @__PURE__ */ React143.createElement(CrossIcon22, { width: 18, height: 18 }),
27531
27599
  "\xA0 Stop screen share"
27532
27600
  )
27533
27601
  );
@@ -27549,7 +27617,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
27549
27617
  const peer = useHMSStore74(selectPeerByID4(peerId));
27550
27618
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
27551
27619
  const [isMouseHovered, setIsMouseHovered] = useState61(false);
27552
- const isMobile = useMedia30(config.media.md);
27620
+ const isMobile = useMedia31(config.media.md);
27553
27621
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
27554
27622
  const fullscreenRef = useRef24(null);
27555
27623
  const [fullscreen, setFullscreen] = useState61(false);
@@ -27641,7 +27709,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
27641
27709
  const [page, setPage] = useState62(0);
27642
27710
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
27643
27711
  const activeSharePeer = peersSharing[page];
27644
- const isMobile = useMedia31(config.media.md);
27712
+ const isMobile = useMedia32(config.media.md);
27645
27713
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
27646
27714
  const secondaryPeers = useMemo15(() => {
27647
27715
  if (layoutMode === LayoutMode.SPOTLIGHT) {
@@ -28052,10 +28120,10 @@ var WaitingView = React149.memo(() => {
28052
28120
  // src/Prebuilt/layouts/WhiteboardView.tsx
28053
28121
  init_define_process_env();
28054
28122
  import React150, { useEffect as useEffect46, useMemo as useMemo18 } from "react";
28055
- import { useMedia as useMedia32 } from "react-use";
28123
+ import { useMedia as useMedia33 } from "react-use";
28056
28124
  import { selectPeers as selectPeers5, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
28057
28125
  var EmbedComponent2 = () => {
28058
- const isMobile = useMedia32(config.media.md);
28126
+ const isMobile = useMedia33(config.media.md);
28059
28127
  const { iframeRef } = useWhiteboard2(isMobile);
28060
28128
  return /* @__PURE__ */ React150.createElement(
28061
28129
  Box,
@@ -28126,7 +28194,7 @@ var useCloseScreenshareWhiteboard = () => {
28126
28194
  };
28127
28195
 
28128
28196
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28129
- var HLSView = React151.lazy(() => import("./HLSView-CEPQ23TO.js"));
28197
+ var HLSView = React151.lazy(() => import("./HLSView-UIPDGADR.js"));
28130
28198
  var VideoStreamingSection = ({
28131
28199
  screenType,
28132
28200
  elements,
@@ -28141,6 +28209,7 @@ var VideoStreamingSection = ({
28141
28209
  const waitingViewerRole = useWaitingViewerRole();
28142
28210
  const urlToIframe = useUrlToEmbed();
28143
28211
  const pdfAnnotatorActive = usePDFConfig();
28212
+ const isMobileHLSStream = useMobileHLSStream();
28144
28213
  useCloseScreenshareWhiteboard();
28145
28214
  useEffect48(() => {
28146
28215
  if (!isConnected) {
@@ -28180,17 +28249,29 @@ var VideoStreamingSection = ({
28180
28249
  size: "100%",
28181
28250
  position: "relative",
28182
28251
  gap: "$4"
28183
- }
28252
+ },
28253
+ direction: isMobileHLSStream ? "column" : "row"
28184
28254
  },
28185
28255
  ViewComponent,
28186
- /* @__PURE__ */ React151.createElement(Box, { css: { height: "100%", maxHeight: "100%", overflowY: "clip", "&:empty": { display: "none" } } }, /* @__PURE__ */ React151.createElement(
28187
- SidePane_default,
28256
+ /* @__PURE__ */ React151.createElement(
28257
+ Box,
28188
28258
  {
28189
- screenType,
28190
- tileProps: (_d = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _d.grid,
28191
- hideControls
28192
- }
28193
- ))
28259
+ css: {
28260
+ height: isMobileHLSStream ? "50%" : "100%",
28261
+ maxHeight: "100%",
28262
+ "&:empty": { display: "none" },
28263
+ overflowY: "clip"
28264
+ }
28265
+ },
28266
+ /* @__PURE__ */ React151.createElement(
28267
+ SidePane_default,
28268
+ {
28269
+ screenType,
28270
+ tileProps: (_d = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _d.grid,
28271
+ hideControls
28272
+ }
28273
+ )
28274
+ )
28194
28275
  ));
28195
28276
  };
28196
28277
 
@@ -28200,17 +28281,17 @@ init_define_process_env();
28200
28281
  // src/Prebuilt/components/Header/Header.tsx
28201
28282
  init_define_process_env();
28202
28283
  import React154 from "react";
28203
- import { useMedia as useMedia34 } from "react-use";
28284
+ import { useMedia as useMedia35 } from "react-use";
28204
28285
  import { HMSRoomState as HMSRoomState6, selectRoomState as selectRoomState6, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
28205
28286
 
28206
28287
  // src/Prebuilt/components/Header/RoomDetailsHeader.tsx
28207
28288
  init_define_process_env();
28208
28289
  import React152 from "react";
28209
- import { useMedia as useMedia33 } from "react-use";
28290
+ import { useMedia as useMedia34 } from "react-use";
28210
28291
  import { ChevronRightIcon as ChevronRightIcon5 } from "@100mslive/react-icons";
28211
28292
  var RoomDetailsHeader = () => {
28212
28293
  const { title, description } = useRoomLayoutHeader();
28213
- const isMobile = useMedia33(config.media.md);
28294
+ const isMobile = useMedia34(config.media.md);
28214
28295
  const clipLength = 30;
28215
28296
  const toggleDetailsPane = useSidepaneToggle(SIDE_PANE_OPTIONS.ROOM_DETAILS);
28216
28297
  const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
@@ -28243,7 +28324,7 @@ import {
28243
28324
  BluetoothIcon,
28244
28325
  CameraFlipIcon as CameraFlipIcon2,
28245
28326
  CheckIcon as CheckIcon9,
28246
- CrossIcon as CrossIcon22,
28327
+ CrossIcon as CrossIcon23,
28247
28328
  HeadphonesIcon,
28248
28329
  SpeakerIcon as SpeakerIcon4
28249
28330
  } from "@100mslive/react-icons";
@@ -28328,7 +28409,7 @@ var AudioActions = () => {
28328
28409
  );
28329
28410
  };
28330
28411
  var AudioSelectionSheet = ({ audioDevices, audioSelected, onChange, children }) => {
28331
- return /* @__PURE__ */ React153.createElement(Sheet.Root, null, /* @__PURE__ */ React153.createElement(Sheet.Trigger, { asChild: true }, children), /* @__PURE__ */ React153.createElement(Sheet.Content, null, /* @__PURE__ */ React153.createElement(Sheet.Title, { css: { py: "$10", px: "$8", alignItems: "center" } }, /* @__PURE__ */ React153.createElement(Flex, { direction: "row", justify: "between", css: { w: "100%" } }, /* @__PURE__ */ React153.createElement(Text, { variant: "h6", css: { display: "flex" } }, "Audio"), /* @__PURE__ */ React153.createElement(Sheet.Close, null, /* @__PURE__ */ React153.createElement(IconButton_default, { as: "div", "data-testid": "dialog_cross_icon" }, /* @__PURE__ */ React153.createElement(CrossIcon22, null))))), /* @__PURE__ */ React153.createElement(HorizontalDivider, null), /* @__PURE__ */ React153.createElement(
28412
+ return /* @__PURE__ */ React153.createElement(Sheet.Root, null, /* @__PURE__ */ React153.createElement(Sheet.Trigger, { asChild: true }, children), /* @__PURE__ */ React153.createElement(Sheet.Content, null, /* @__PURE__ */ React153.createElement(Sheet.Title, { css: { py: "$10", px: "$8", alignItems: "center" } }, /* @__PURE__ */ React153.createElement(Flex, { direction: "row", justify: "between", css: { w: "100%" } }, /* @__PURE__ */ React153.createElement(Text, { variant: "h6", css: { display: "flex" } }, "Audio"), /* @__PURE__ */ React153.createElement(Sheet.Close, null, /* @__PURE__ */ React153.createElement(IconButton_default, { as: "div", "data-testid": "dialog_cross_icon" }, /* @__PURE__ */ React153.createElement(CrossIcon23, null))))), /* @__PURE__ */ React153.createElement(HorizontalDivider, null), /* @__PURE__ */ React153.createElement(
28332
28413
  Flex,
28333
28414
  {
28334
28415
  direction: "column",
@@ -28390,7 +28471,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React153.createElement(Re
28390
28471
  // src/Prebuilt/components/Header/Header.tsx
28391
28472
  var Header2 = () => {
28392
28473
  const roomState = useHMSStore81(selectRoomState6);
28393
- const isMobile = useMedia34(config.media.md);
28474
+ const isMobile = useMedia35(config.media.md);
28394
28475
  if (roomState !== HMSRoomState6.Connected) {
28395
28476
  return /* @__PURE__ */ React154.createElement(React154.Fragment, null);
28396
28477
  }
@@ -28431,7 +28512,7 @@ var PreviousRoleInMetadata = () => {
28431
28512
 
28432
28513
  // src/Prebuilt/components/ConferenceScreen.tsx
28433
28514
  var ConferenceScreen = () => {
28434
- var _a8, _b7, _c, _d, _e;
28515
+ var _a8, _b7, _c, _d, _e, _f;
28435
28516
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
28436
28517
  const screenProps = useRoomLayoutConferencingScreen();
28437
28518
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
@@ -28446,6 +28527,9 @@ var ConferenceScreen = () => {
28446
28527
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
28447
28528
  const dropdownListRef = useRef25();
28448
28529
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
28530
+ const { toggleAudio, toggleVideo } = useAVToggle7();
28531
+ const noAVPermissions = !(toggleAudio || toggleVideo);
28532
+ const showChat = !!((_a8 = screenProps.elements) == null ? void 0 : _a8.chat);
28449
28533
  const toggleControls = () => {
28450
28534
  var _a9;
28451
28535
  if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice) {
@@ -28453,6 +28537,9 @@ var ConferenceScreen = () => {
28453
28537
  }
28454
28538
  };
28455
28539
  const autoRoomJoined = useRef25(isPreviewScreenEnabled);
28540
+ const isMobileHLSStream = useMobileHLSStream();
28541
+ const isLandscapeHLSStream = useLandscapeHLSStream();
28542
+ const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
28456
28543
  useEffect50(() => {
28457
28544
  let timeout;
28458
28545
  dropdownListRef.current = dropdownList || [];
@@ -28492,14 +28579,14 @@ var ConferenceScreen = () => {
28492
28579
  if (!isConnectedToRoom && ![HMSRoomState7.Reconnecting, HMSRoomState7.Disconnected].includes(roomState)) {
28493
28580
  return /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: roomState === HMSRoomState7.Connecting ? "Joining..." : "" });
28494
28581
  }
28495
- return /* @__PURE__ */ React155.createElement(React155.Fragment, null, isHLSStarted ? /* @__PURE__ */ React155.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React155.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !screenProps.hideSections.includes("header") && /* @__PURE__ */ React155.createElement(
28582
+ return /* @__PURE__ */ React155.createElement(React155.Fragment, null, isHLSStarted ? /* @__PURE__ */ React155.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React155.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React155.createElement(
28496
28583
  Box,
28497
28584
  {
28498
28585
  ref: headerRef,
28499
28586
  css: {
28500
28587
  h: "$18",
28501
28588
  transition: "margin 0.3s ease-in-out",
28502
- marginTop: hideControls ? `-${(_a8 = headerRef.current) == null ? void 0 : _a8.clientHeight}px` : "none",
28589
+ marginTop: hideControls ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
28503
28590
  "@md": {
28504
28591
  h: "$17"
28505
28592
  }
@@ -28507,7 +28594,7 @@ var ConferenceScreen = () => {
28507
28594
  "data-testid": "header"
28508
28595
  },
28509
28596
  /* @__PURE__ */ React155.createElement(Header2, null)
28510
- ), /* @__PURE__ */ React155.createElement(
28597
+ ), isMwebHLSStream && /* @__PURE__ */ React155.createElement(Flex, { align: "center", gap: "2", css: { position: "absolute", left: "$4", top: "$4", zIndex: 1 } }, /* @__PURE__ */ React155.createElement(LeaveRoom, { screenType: screenProps.screenType })), /* @__PURE__ */ React155.createElement(
28511
28598
  Box,
28512
28599
  {
28513
28600
  css: {
@@ -28515,7 +28602,7 @@ var ConferenceScreen = () => {
28515
28602
  flex: "1 1 0",
28516
28603
  minHeight: 0,
28517
28604
  // @ts-ignore
28518
- px: ((_d = (_c = (_b7 = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _b7.video_tile_layout) == null ? void 0 : _c.grid) == null ? void 0 : _d.edge_to_edge) ? 0 : "$10",
28605
+ px: ((_e = (_d = (_c = screenProps == null ? void 0 : screenProps.elements) == null ? void 0 : _c.video_tile_layout) == null ? void 0 : _d.grid) == null ? void 0 : _e.edge_to_edge) ? 0 : "$10",
28519
28606
  // TODO: padding to be controlled by section/element
28520
28607
  paddingBottom: "env(safe-area-inset-bottom)",
28521
28608
  "@lg": {
@@ -28534,7 +28621,7 @@ var ConferenceScreen = () => {
28534
28621
  hideControls
28535
28622
  }
28536
28623
  ) : null
28537
- ), !screenProps.hideSections.includes("footer") && screenProps.elements && /* @__PURE__ */ React155.createElement(
28624
+ ), !screenProps.hideSections.includes("footer") && screenProps.elements && !isMwebHLSStream && /* @__PURE__ */ React155.createElement(
28538
28625
  Box,
28539
28626
  {
28540
28627
  ref: footerRef,
@@ -28543,7 +28630,7 @@ var ConferenceScreen = () => {
28543
28630
  maxHeight: "$24",
28544
28631
  transition: "margin 0.3s ease-in-out",
28545
28632
  bg: "$background_dim",
28546
- marginBottom: hideControls ? `-${(_e = footerRef.current) == null ? void 0 : _e.clientHeight}px` : void 0,
28633
+ marginBottom: hideControls ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
28547
28634
  "@md": {
28548
28635
  maxHeight: "unset",
28549
28636
  bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
@@ -28552,6 +28639,19 @@ var ConferenceScreen = () => {
28552
28639
  "data-testid": "footer"
28553
28640
  },
28554
28641
  /* @__PURE__ */ React155.createElement(Footer2, { elements: screenProps.elements, screenType: screenProps.screenType })
28642
+ ), isMwebHLSStream && !showChat && /* @__PURE__ */ React155.createElement(
28643
+ Flex,
28644
+ {
28645
+ css: {
28646
+ alignItems: "center",
28647
+ pr: "$4",
28648
+ pb: "$4"
28649
+ },
28650
+ justify: "end",
28651
+ gap: "1"
28652
+ },
28653
+ noAVPermissions ? /* @__PURE__ */ React155.createElement(RaiseHand, null) : null,
28654
+ /* @__PURE__ */ React155.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType })
28555
28655
  ), /* @__PURE__ */ React155.createElement(RoleChangeRequestModal, null), /* @__PURE__ */ React155.createElement(HLSFailureModal, null), /* @__PURE__ */ React155.createElement(ActivatedPIP, null), /* @__PURE__ */ React155.createElement(PreviousRoleInMetadata, null)));
28556
28656
  };
28557
28657
 
@@ -28921,11 +29021,12 @@ var LeaveScreen = () => {
28921
29021
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
28922
29022
  init_define_process_env();
28923
29023
  import React160, { useEffect as useEffect55, useState as useState65 } from "react";
28924
- import { useMedia as useMedia35 } from "react-use";
29024
+ import { useMedia as useMedia36 } from "react-use";
28925
29025
  import { RefreshIcon } from "@100mslive/react-icons";
28926
29026
  var MwebLandscapePrompt = () => {
28927
29027
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState65(false);
28928
- const isLandscape = useMedia35(config.media.ls);
29028
+ const isLandscape = useMedia36(config.media.ls);
29029
+ const isLandscapeHLSStream = useLandscapeHLSStream();
28929
29030
  useEffect55(() => {
28930
29031
  var _a8;
28931
29032
  if (!isMobileUserAgent) {
@@ -28947,6 +29048,9 @@ var MwebLandscapePrompt = () => {
28947
29048
  window.screen.orientation.removeEventListener("change", handleRotation);
28948
29049
  };
28949
29050
  }, [isLandscape]);
29051
+ if (isLandscapeHLSStream) {
29052
+ return null;
29053
+ }
28950
29054
  return /* @__PURE__ */ React160.createElement(Dialog.Root, { open: showMwebLandscapePrompt, onOpenChange: setShowMwebLandscapePrompt }, /* @__PURE__ */ React160.createElement(Dialog.Portal, null, /* @__PURE__ */ React160.createElement(Dialog.Overlay, null), /* @__PURE__ */ React160.createElement(Dialog.Content, { css: { w: "min(420px, 90%)", p: "$8", bg: "$surface_dim" } }, /* @__PURE__ */ React160.createElement(Box, null, /* @__PURE__ */ React160.createElement(
28951
29055
  Flex,
28952
29056
  {
@@ -29385,7 +29489,7 @@ var PeerNotifications = () => {
29385
29489
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
29386
29490
  init_define_process_env();
29387
29491
  import React165, { useEffect as useEffect60, useState as useState67 } from "react";
29388
- import { useMedia as useMedia36 } from "react-use";
29492
+ import { useMedia as useMedia37 } from "react-use";
29389
29493
  import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
29390
29494
 
29391
29495
  // src/Prebuilt/images/android-perm-1.png
@@ -29399,7 +29503,7 @@ function PermissionErrorModal() {
29399
29503
  const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
29400
29504
  const [deviceType, setDeviceType] = useState67("");
29401
29505
  const [isSystemError, setIsSystemError] = useState67(false);
29402
- const isMobile = useMedia36(config.media.md);
29506
+ const isMobile = useMedia37(config.media.md);
29403
29507
  useEffect60(() => {
29404
29508
  var _a8, _b7, _c, _d, _e;
29405
29509
  if (!notification || ((_a8 = notification.data) == null ? void 0 : _a8.code) !== 3001 && ((_b7 = notification.data) == null ? void 0 : _b7.code) !== 3011 || ((_c = notification.data) == null ? void 0 : _c.code) === 3001 && ((_d = notification.data) == null ? void 0 : _d.message.includes("screen"))) {
@@ -29655,7 +29759,7 @@ function Notifications() {
29655
29759
  }, []);
29656
29760
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
29657
29761
  useEffect65(() => {
29658
- var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
29762
+ var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p;
29659
29763
  if (!notification || isNotificationDisabled) {
29660
29764
  return;
29661
29765
  }
@@ -29696,7 +29800,7 @@ function Notifications() {
29696
29800
  });
29697
29801
  break;
29698
29802
  case HMSNotificationTypes10.ROLE_UPDATED: {
29699
- if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n = notification.data) == null ? void 0 : _n.roleName)) {
29803
+ if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
29700
29804
  ToastManager.addToast({
29701
29805
  title: `You are now a ${notification.data.roleName}`
29702
29806
  });
@@ -29705,7 +29809,7 @@ function Notifications() {
29705
29809
  break;
29706
29810
  }
29707
29811
  case HMSNotificationTypes10.CHANGE_TRACK_STATE_REQUEST:
29708
- const track = (_o = notification.data) == null ? void 0 : _o.track;
29812
+ const track = (_o2 = notification.data) == null ? void 0 : _o2.track;
29709
29813
  if (!notification.data.enabled) {
29710
29814
  ToastManager.addToast({
29711
29815
  title: `Your ${track.source} ${track.type} was muted by
@@ -29853,7 +29957,7 @@ import { selectAppData as selectAppData11, useHMSStore as useHMSStore90 } from "
29853
29957
  // src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
29854
29958
  init_define_process_env();
29855
29959
  import React173 from "react";
29856
- import { CrossIcon as CrossIcon23 } from "@100mslive/react-icons";
29960
+ import { CrossIcon as CrossIcon24 } from "@100mslive/react-icons";
29857
29961
  var RoomDetailsSheet = () => {
29858
29962
  const { title, description, details } = useRoomLayoutHeader();
29859
29963
  const toggleSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
@@ -29866,7 +29970,7 @@ var RoomDetailsSheet = () => {
29866
29970
  css: { w: "100%", borderBottom: "1px solid $border_bright", pb: "$4", mb: "$4", px: "$8" }
29867
29971
  },
29868
29972
  /* @__PURE__ */ React173.createElement(Text, { css: { fontWeight: "$semiBold", color: "$on_surface_high" } }, "Description"),
29869
- /* @__PURE__ */ React173.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React173.createElement(CrossIcon23, null))
29973
+ /* @__PURE__ */ React173.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React173.createElement(CrossIcon24, null))
29870
29974
  ), /* @__PURE__ */ React173.createElement(Flex, { align: "center", css: { w: "100%", gap: "$4", pb: "$8", px: "$8" } }, /* @__PURE__ */ React173.createElement(Logo, null), /* @__PURE__ */ React173.createElement(Box, null, /* @__PURE__ */ React173.createElement(Text, { variant: "sm", css: { c: "$on_secondary_high", fontWeight: "$semiBold" } }, title), /* @__PURE__ */ React173.createElement(RoomDetailsRow, { details }))), /* @__PURE__ */ React173.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", px: "$8" } }, description)));
29871
29975
  };
29872
29976
 
@@ -29883,7 +29987,7 @@ var Sheet2 = () => {
29883
29987
  // src/Prebuilt/plugins/FlyingEmoji.jsx
29884
29988
  init_define_process_env();
29885
29989
  import React175, { useCallback as useCallback35, useEffect as useEffect67, useMemo as useMemo19, useState as useState72 } from "react";
29886
- import { useMedia as useMedia37 } from "react-use";
29990
+ import { useMedia as useMedia38 } from "react-use";
29887
29991
  import {
29888
29992
  selectLocalPeerID as selectLocalPeerID17,
29889
29993
  selectPeerNameByID as selectPeerNameByID6,
@@ -29918,7 +30022,7 @@ function FlyingEmoji() {
29918
30022
  const localPeerId = useHMSStore91(selectLocalPeerID17);
29919
30023
  const vanillaStore = useHMSVanillaStore18();
29920
30024
  const [emojis, setEmojis] = useState72([]);
29921
- const isMobile = useMedia37(config.media.md);
30025
+ const isMobile = useMedia38(config.media.md);
29922
30026
  const startingPoints = useMemo19(() => getStartingPoints(isMobile), [isMobile]);
29923
30027
  const showFlyingEmoji = useCallback35(
29924
30028
  ({ emojiId, senderId }) => {
@@ -30318,6 +30422,7 @@ export {
30318
30422
  init_define_process_env,
30319
30423
  EMOJI_REACTION_TYPE,
30320
30424
  APP_DATA,
30425
+ SIDE_PANE_OPTIONS,
30321
30426
  theme,
30322
30427
  createThemeBase,
30323
30428
  styled,
@@ -30378,11 +30483,18 @@ export {
30378
30483
  QRCode,
30379
30484
  Link,
30380
30485
  Collapsible,
30486
+ getFormattedCount,
30487
+ useRoomLayoutConferencingScreen,
30488
+ useSidepaneToggle,
30381
30489
  usePollViewToggle,
30382
30490
  IconButton_default,
30491
+ Sheet,
30383
30492
  ToastManager,
30493
+ useIsLandscape,
30384
30494
  DialogContent,
30385
30495
  DialogRow,
30496
+ ChatToggle,
30497
+ Logo,
30386
30498
  HMSPrebuilt,
30387
30499
  Progress,
30388
30500
  TextArea
@@ -30399,4 +30511,4 @@ lodash/lodash.js:
30399
30511
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30400
30512
  *)
30401
30513
  */
30402
- //# sourceMappingURL=chunk-2Y4FJB25.js.map
30514
+ //# sourceMappingURL=chunk-J4NOQ2YL.js.map