@100mslive/roomkit-react 0.3.6 → 0.3.7-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
108
108
  var define_process_env_default;
109
109
  var init_define_process_env = __esm({
110
110
  "<define:process.env>"() {
111
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", 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.22 npm/? node/v18.20.0 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.10.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.6", 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.8", 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.7", 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: "590", 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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240403.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.1/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18328", 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.3.6", 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", STATS_D: "false", GITHUB_RUN_ID: "8579133590", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6f3b3e4306421fa7f563afae416ab97b880642f9", 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: "8ad5464febace043720383ca36f76e01733315641d980018aeb0e328a989bb78", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1712382853646-0.2790350166139841:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382853452-0.6733666400969234:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382831057-0.5878524316942619:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382830877-0.4416724924900266:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ef6cafab-b268-45a2-8ee3-7960a981a424", INVOCATION_ID: "927746e422994866ac90414942402cac", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "506", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 290", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.6", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.6", 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: "6f3b3e4306421fa7f563afae416ab97b880642f9", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", 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.172+1/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_b6e5f5e9-063d-4a23-81b4-074b0aec35e3" };
111
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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.22 npm/? node/v18.20.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.10.7-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_97ca305c-0095-4a3e-b6b1-10dcebd920d3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.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.13.7-alpha.1", 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.8", 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.7", 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: "603", 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.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240407.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.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17317", 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.3.7-alpha.1", 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", STATS_D: "false", GITHUB_RUN_ID: "8629237506", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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: "8abe6400a3d469d855f17212fdb4f2291c7d8e728998b9cec4b081546f62b9d8", 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--1712742450757-0.3169478914240358:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742450552-0.42417225478801224:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427536-0.8765541171080096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427351-0.5426797022502139:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.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.20.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fa254625-bdb7-4c8e-bcac-830707b51973", INVOCATION_ID: "dbbeaf6ae58547a29248db986b6fb335", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "509", 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 253", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.7-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.7-alpha.1", 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: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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.172+1/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_97ca305c-0095-4a3e-b6b1-10dcebd920d3" };
112
112
  }
113
113
  });
114
114
 
@@ -1793,6 +1793,8 @@ var init_DialogContent = __esm({
1793
1793
  position: "absolute",
1794
1794
  top: "50%",
1795
1795
  left: "50%",
1796
+ maxHeight: "95%",
1797
+ overflowY: "auto",
1796
1798
  border: "$space$px solid $border_bright",
1797
1799
  boxShadow: "0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)",
1798
1800
  transform: "translate(-50%, -50%)",
@@ -9981,15 +9983,13 @@ var init_useSidepane = __esm({
9981
9983
  });
9982
9984
 
9983
9985
  // src/Prebuilt/components/AppData/AppData.tsx
9984
- var import_react34, import_react_use2, import_react_sdk10, initialAppData, AppData, ResetStreamingStart;
9986
+ var import_react34, import_react_sdk10, initialAppData, AppData, ResetStreamingStart;
9985
9987
  var init_AppData = __esm({
9986
9988
  "src/Prebuilt/components/AppData/AppData.tsx"() {
9987
9989
  "use strict";
9988
9990
  init_define_process_env();
9989
9991
  import_react34 = __toESM(require("react"));
9990
- import_react_use2 = require("react-use");
9991
9992
  import_react_sdk10 = require("@100mslive/react-sdk");
9992
- init_Theme();
9993
9993
  init_LayoutSettings();
9994
9994
  init_useRoomLayoutScreen();
9995
9995
  init_useUserPreferences();
@@ -10043,7 +10043,6 @@ var init_AppData = __esm({
10043
10043
  const appData = (0, import_react_sdk10.useHMSStore)(import_react_sdk10.selectFullAppData);
10044
10044
  const { elements } = useRoomLayoutConferencingScreen();
10045
10045
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
10046
- const isMobile = (0, import_react_use2.useMedia)(config.media.md);
10047
10046
  const { isLocalVideoEnabled } = (0, import_react_sdk10.useAVToggle)();
10048
10047
  const sidepaneOpenedRef = (0, import_react34.useRef)(false);
10049
10048
  const defaultMediaURL = (0, import_react34.useMemo)(() => {
@@ -10079,12 +10078,12 @@ var init_AppData = __esm({
10079
10078
  hmsActions.setAppData(APP_DATA.subscribedNotifications, preferences.subscribedNotifications, true);
10080
10079
  }, [preferences.subscribedNotifications, hmsActions]);
10081
10080
  (0, import_react34.useEffect)(() => {
10082
- if (defaultMediaURL && !sidepaneOpenedRef.current && !isMobile && isLocalVideoEnabled) {
10081
+ if (defaultMediaURL && !sidepaneOpenedRef.current && isLocalVideoEnabled) {
10083
10082
  hmsActions.setAppData(APP_DATA.background, defaultMediaURL);
10084
10083
  sidepaneOpenedRef.current = true;
10085
10084
  toggleVB();
10086
10085
  }
10087
- }, [hmsActions, toggleVB, isLocalVideoEnabled, isMobile, defaultMediaURL]);
10086
+ }, [hmsActions, toggleVB, isLocalVideoEnabled, defaultMediaURL]);
10088
10087
  return /* @__PURE__ */ import_react34.default.createElement(ResetStreamingStart, null);
10089
10088
  });
10090
10089
  ResetStreamingStart = () => {
@@ -10171,13 +10170,13 @@ var init_transaction_error = __esm({
10171
10170
  });
10172
10171
 
10173
10172
  // src/Prebuilt/components/AuthToken.jsx
10174
- var import_react36, import_react_use3, import_ts_pattern2, import_uuid, import_react_sdk11, AuthToken, convertError, AuthToken_default;
10173
+ var import_react36, import_react_use2, import_ts_pattern2, import_uuid, import_react_sdk11, AuthToken, convertError, AuthToken_default;
10175
10174
  var init_AuthToken = __esm({
10176
10175
  "src/Prebuilt/components/AuthToken.jsx"() {
10177
10176
  "use strict";
10178
10177
  init_define_process_env();
10179
10178
  import_react36 = __toESM(require("react"));
10180
- import_react_use3 = require("react-use");
10179
+ import_react_use2 = require("react-use");
10181
10180
  import_ts_pattern2 = require("ts-pattern");
10182
10181
  import_uuid = require("uuid");
10183
10182
  import_react_sdk11 = require("@100mslive/react-sdk");
@@ -10194,7 +10193,7 @@ var init_AuthToken = __esm({
10194
10193
  const [error, setError] = (0, import_react36.useState)({ title: "", body: "" });
10195
10194
  let authToken = defaultAuthToken;
10196
10195
  const [, setAuthTokenInAppData] = useSetAppDataByKey(APP_DATA.authToken);
10197
- const [savedUserId, setSavedUserId] = (0, import_react_use3.useSessionStorage)(UserPreferencesKeys.USER_ID);
10196
+ const [savedUserId, setSavedUserId] = (0, import_react_use2.useSessionStorage)(UserPreferencesKeys.USER_ID);
10198
10197
  (0, import_react36.useEffect)(() => {
10199
10198
  if (authToken) {
10200
10199
  setAuthTokenInAppData(authToken);
@@ -10658,13 +10657,13 @@ var init_useDropdownSelection = __esm({
10658
10657
  });
10659
10658
 
10660
10659
  // src/Prebuilt/components/Settings/DeviceSettings.jsx
10661
- var import_react41, import_react_use4, import_react_sdk12, import_react_icons10, Settings, DeviceSelector, TestAudio, DeviceSettings_default;
10660
+ var import_react41, import_react_use3, import_react_sdk12, import_react_icons10, Settings, DeviceSelector, TestAudio, DeviceSettings_default;
10662
10661
  var init_DeviceSettings = __esm({
10663
10662
  "src/Prebuilt/components/Settings/DeviceSettings.jsx"() {
10664
10663
  "use strict";
10665
10664
  init_define_process_env();
10666
10665
  import_react41 = __toESM(require("react"));
10667
- import_react_use4 = require("react-use");
10666
+ import_react_use3 = require("react-use");
10668
10667
  import_react_sdk12 = require("@100mslive/react-sdk");
10669
10668
  import_react_icons10 = require("@100mslive/react-icons");
10670
10669
  init_src();
@@ -10686,7 +10685,7 @@ var init_DeviceSettings = __esm({
10686
10685
  const trackSelector = (0, import_react_sdk12.selectVideoTrackByID)(videoTrackId);
10687
10686
  const hmsActions = (0, import_react_sdk12.useHMSActions)();
10688
10687
  const track = (0, import_react_sdk12.useHMSStore)(trackSelector);
10689
- const isMobile = (0, import_react_use4.useMedia)(config.media.md);
10688
+ const isMobile = (0, import_react_use3.useMedia)(config.media.md);
10690
10689
  (0, import_react41.useEffect)(() => {
10691
10690
  if (isMobile) {
10692
10691
  hmsActions.refreshDevices();
@@ -10915,13 +10914,13 @@ var init_NotificationSettings = __esm({
10915
10914
  });
10916
10915
 
10917
10916
  // src/Prebuilt/components/Settings/SettingsModal.jsx
10918
- var import_react43, import_react_use5, import_react_icons12, settingsList, SettingsModal, MobileSettingModal, DesktopSettingModal, SettingsContentHeader, SettingsModal_default;
10917
+ var import_react43, import_react_use4, import_react_icons12, settingsList, SettingsModal, MobileSettingModal, DesktopSettingModal, SettingsContentHeader, SettingsModal_default;
10919
10918
  var init_SettingsModal = __esm({
10920
10919
  "src/Prebuilt/components/Settings/SettingsModal.jsx"() {
10921
10920
  "use strict";
10922
10921
  init_define_process_env();
10923
10922
  import_react43 = __toESM(require("react"));
10924
- import_react_use5 = require("react-use");
10923
+ import_react_use4 = require("react-use");
10925
10924
  import_react_icons12 = require("@100mslive/react-icons");
10926
10925
  init_Divider2();
10927
10926
  init_IconButton2();
@@ -10957,7 +10956,7 @@ var init_SettingsModal = __esm({
10957
10956
  ];
10958
10957
  SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ */ import_react43.default.createElement(import_react43.default.Fragment, null) }) => {
10959
10958
  const mediaQueryLg = config.media.md;
10960
- const isMobile = (0, import_react_use5.useMedia)(mediaQueryLg);
10959
+ const isMobile = (0, import_react_use4.useMedia)(mediaQueryLg);
10961
10960
  const [showSetting, setShowSetting] = (0, import_react43.useState)(
10962
10961
  () => settingsList.reduce((obj, { tabName }) => __spreadProps(__spreadValues({}, obj), { [tabName]: true }), {})
10963
10962
  );
@@ -11523,13 +11522,13 @@ var init_useDropdownList = __esm({
11523
11522
  });
11524
11523
 
11525
11524
  // src/Prebuilt/common/hooks.ts
11526
- var import_react47, import_react_use6, import_join_form2, import_react_sdk14, useFilteredRoles, useDefaultChatSelection, useShowStreamingUI, useParticipants, useIsLandscape, useLandscapeHLSStream, useMobileHLSStream, useKeyboardHandler;
11525
+ var import_react47, import_react_use5, import_join_form2, import_react_sdk14, useFilteredRoles, useDefaultChatSelection, useShowStreamingUI, useParticipants, useIsLandscape, useLandscapeHLSStream, useMobileHLSStream, useKeyboardHandler;
11527
11526
  var init_hooks = __esm({
11528
11527
  "src/Prebuilt/common/hooks.ts"() {
11529
11528
  "use strict";
11530
11529
  init_define_process_env();
11531
11530
  import_react47 = require("react");
11532
- import_react_use6 = require("react-use");
11531
+ import_react_use5 = require("react-use");
11533
11532
  import_join_form2 = require("@100mslive/types-prebuilt/elements/join_form");
11534
11533
  import_react_sdk14 = require("@100mslive/react-sdk");
11535
11534
  init_Theme();
@@ -11583,7 +11582,7 @@ var init_hooks = __esm({
11583
11582
  };
11584
11583
  useIsLandscape = () => {
11585
11584
  const isMobile = import_react_sdk14.parsedUserAgent.getDevice().type === "mobile";
11586
- const isLandscape = (0, import_react_use6.useMedia)(config.media.ls);
11585
+ const isLandscape = (0, import_react_use5.useMedia)(config.media.ls);
11587
11586
  return isMobile && isLandscape;
11588
11587
  };
11589
11588
  useLandscapeHLSStream = () => {
@@ -11592,7 +11591,7 @@ var init_hooks = __esm({
11592
11591
  return isLandscape && screenType === "hls_live_streaming";
11593
11592
  };
11594
11593
  useMobileHLSStream = () => {
11595
- const isMobile = (0, import_react_use6.useMedia)(config.media.md);
11594
+ const isMobile = (0, import_react_use5.useMedia)(config.media.md);
11596
11595
  const { screenType } = useRoomLayoutConferencingScreen();
11597
11596
  return isMobile && screenType === "hls_live_streaming";
11598
11597
  };
@@ -11623,13 +11622,13 @@ var init_hooks = __esm({
11623
11622
  });
11624
11623
 
11625
11624
  // src/Prebuilt/components/EmojiReaction.jsx
11626
- var import_react48, import_react_use7, import_apple, import_emoji_mart, import_react_sdk15, import_react_icons14, EmojiReaction;
11625
+ var import_react48, import_react_use6, import_apple, import_emoji_mart, import_react_sdk15, import_react_icons14, EmojiReaction;
11627
11626
  var init_EmojiReaction = __esm({
11628
11627
  "src/Prebuilt/components/EmojiReaction.jsx"() {
11629
11628
  "use strict";
11630
11629
  init_define_process_env();
11631
11630
  import_react48 = __toESM(require("react"));
11632
- import_react_use7 = require("react-use");
11631
+ import_react_use6 = require("react-use");
11633
11632
  import_apple = __toESM(require("@emoji-mart/data/sets/14/apple.json"));
11634
11633
  import_emoji_mart = require("emoji-mart");
11635
11634
  import_react_sdk15 = require("@100mslive/react-sdk");
@@ -11650,8 +11649,8 @@ var init_EmojiReaction = __esm({
11650
11649
  useDropdownList({ open, name: "EmojiReaction" });
11651
11650
  const roles = (0, import_react_sdk15.useHMSStore)(import_react_sdk15.selectAvailableRoleNames);
11652
11651
  const localPeerId = (0, import_react_sdk15.useHMSStore)(import_react_sdk15.selectLocalPeerID);
11653
- const isMobile = (0, import_react_use7.useMedia)(config.media.md);
11654
- const isLandscape = (0, import_react_use7.useMedia)(config.media.ls);
11652
+ const isMobile = (0, import_react_use6.useMedia)(config.media.md);
11653
+ const isLandscape = (0, import_react_use6.useMedia)(config.media.ls);
11655
11654
  const isMobileHLSStream = useMobileHLSStream();
11656
11655
  const isLandscapeStream = useLandscapeHLSStream();
11657
11656
  const { sendEvent } = (0, import_react_sdk15.useCustomEvent)({
@@ -12094,13 +12093,13 @@ var init_MwebLeaveRoom = __esm({
12094
12093
  });
12095
12094
 
12096
12095
  // src/Prebuilt/components/Leave/LeaveRoom.tsx
12097
- var import_react54, import_react_use8, import_react_sdk18, LeaveRoom;
12096
+ var import_react54, import_react_use7, import_react_sdk18, LeaveRoom;
12098
12097
  var init_LeaveRoom = __esm({
12099
12098
  "src/Prebuilt/components/Leave/LeaveRoom.tsx"() {
12100
12099
  "use strict";
12101
12100
  init_define_process_env();
12102
12101
  import_react54 = __toESM(require("react"));
12103
- import_react_use8 = require("react-use");
12102
+ import_react_use7 = require("react-use");
12104
12103
  import_react_sdk18 = require("@100mslive/react-sdk");
12105
12104
  init_Theme();
12106
12105
  init_ToastManager();
@@ -12113,7 +12112,7 @@ var init_LeaveRoom = __esm({
12113
12112
  }) => {
12114
12113
  const isConnected = (0, import_react_sdk18.useHMSStore)(import_react_sdk18.selectIsConnectedToRoom);
12115
12114
  const permissions = (0, import_react_sdk18.useHMSStore)(import_react_sdk18.selectPermissions);
12116
- const isMobile = (0, import_react_use8.useMedia)(config.media.md);
12115
+ const isMobile = (0, import_react_use7.useMedia)(config.media.md);
12117
12116
  const rolesMap = (0, import_react_sdk18.useHMSStore)(import_react_sdk18.selectRolesMap);
12118
12117
  const streamingPermissionRoles = Object.keys(rolesMap).filter((roleName) => {
12119
12118
  const roleObj = rolesMap[roleName];
@@ -19508,7 +19507,7 @@ function um(a2) {
19508
19507
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19509
19508
  };
19510
19509
  }
19511
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Aa, Ra, Ia, Ft, Kr, qr, $r, m, v, Zi, La, ur, er, wa, jr, tr, Jr, B, _a7, wn, Dn, G, Kt, Yr, D, ir, Na, ye, On, Oa, oe, xa, z, ue, xn, Un, Z, q, Ua, Zr, Bn, Vn, sr, Ba, Gn, Wn, $n, Kn, qn, jn, Jn, Qn, at, Va, zn, Y, ts, Yn, ne, Xn, qt, Fa, is, Zn, rs, ec, tc, ic, rc, sc, ac, oc, nc, ss, uc, Ga, pc, os, ar, ns, cs, ds, ls, us, ps, hs, ms, Ss, Wa, d, pe, _, gs, Ce, Ka, Mc, Ts, fs, Ms, ys, Ve, M, f, ja, S, cr, ks, ce, Ps, bs, As, I, y, hr, j, mr, Sr, gr, ws, Ds, _s, Tr, Us, fr, Bs, vr, Mr, Gs, Ws, pt, Qe, gt, k, Cr, Tt, Xs, To, fo, W, Lr, vo, Mo, yo, ko, Po, Q, lm, hm, mm, ni, Zs, Sm, gm, Tm, Eo, bo, vm, ea, Mm, Ao, ym, km, Pm, Em, bm, Am, ta, ia, Im, Hm, ra, Cm, Lm, sa, wm, Dm, _m, aa, oa, Ro, Io, Ho, Nm, Om, xm, Um, Bm, na, zm, Co, Ym, Xm, Zm, wo, Do, Or, Te, $, Vi, Qi, Zo, en, tn, rn, Ea, sn, ba, Fr, ve, an, on, nn, cn, dn, ln, un, pn, hn, mn, Gr, Sn, gn, Tn, fn, vn, Mn;
19510
+ var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Aa, Ra, Ia, Ft, Kr, qr, $r, m, v, Zi, La, ur, er, wa, jr, tr, Jr, B, _a7, wn, Dn, G, Kt, Yr, D, ir, Na, ye, On, Oa, oe, xa, z, ue, xn, Un, Z, q, Ua, Zr, Bn, Vn, sr, Ba, Gn, Wn, $n, Kn, qn, jn, Jn, Qn, at, Va, zn, Y, ts, Yn, ne, Xn, qt, Fa, is, Zn, rs, ec, tc, ic, rc, sc, ac, oc, nc, ss, uc, Ga, pc, os, ar, ns, cs, ds, ls, us, ps, hs, ms, Ss, Wa, d, pe, _, gs, Ce, Ka, Mc, Ts, fs, Ms, ys, Ve, M, f, ja, S, cr, ks, ce, Es, bs, As, I, y, hr, j, mr, Sr, gr, ws, Ds, _s, Tr, Us, fr, Bs, vr, Mr, Gs, Ws, pt, Qe, gt, k, Cr, Tt, Xs, To, fo, W, Lr, vo, Mo, yo, ko, Eo, Q, lm, hm, mm, ni, Zs, Sm, gm, Tm, Po, bo, vm, ea, Mm, Ao, ym, km, Em, Pm, bm, Am, ta, ia, Im, Hm, ra, Cm, Lm, sa, wm, Dm, _m, aa, oa, Ro, Io, Ho, Nm, Om, xm, Um, Bm, na, zm, Co, Ym, Xm, Zm, wo, Do, Or, Te, $, Vi, Qi, Zo, en, tn, rn, Pa, sn, ba, Fr, ve, an, on, nn, cn, dn, ln, un, pn, hn, mn, Gr, Sn, gn, Tn, fn, vn, Mn;
19512
19511
  var init_dist = __esm({
19513
19512
  "../hms-video-store/dist/index.js"() {
19514
19513
  "use strict";
@@ -19563,7 +19562,7 @@ var init_dist = __esm({
19563
19562
  };
19564
19563
  La = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19565
19564
  ur = La((ad, Qa) => {
19566
- Qa.exports = { version: "0.12.6", 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"] };
19565
+ Qa.exports = { version: "0.12.7-alpha.1", 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"] };
19567
19566
  });
19568
19567
  er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
19569
19568
  wa = ((e) => (e.CHAT = "chat", e))(wa || {});
@@ -19982,7 +19981,7 @@ var init_dist = __esm({
19982
19981
  (e = this.getStorage()) == null || e.removeItem(this.key);
19983
19982
  }
19984
19983
  };
19985
- Ps = () => {
19984
+ Es = () => {
19986
19985
  let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
19987
19986
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
19988
19987
  };
@@ -19991,7 +19990,7 @@ var init_dist = __esm({
19991
19990
  I = class {
19992
19991
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
19993
19992
  this.metadata = { peer: {}, userAgent: ot() };
19994
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Ps();
19993
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Es();
19995
19994
  }
19996
19995
  toSignalParams() {
19997
19996
  return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -20291,7 +20290,7 @@ var init_dist = __esm({
20291
20290
  let t = a2[e];
20292
20291
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20293
20292
  });
20294
- Po = createSelector([ss, fo], (a2, e) => e ? a2[e] : null);
20293
+ Eo = createSelector([ss, fo], (a2, e) => e ? a2[e] : null);
20295
20294
  Q = R(W);
20296
20295
  lm = R(createSelector([ir, To], (a2, e) => {
20297
20296
  if (a2)
@@ -20304,7 +20303,7 @@ var init_dist = __esm({
20304
20303
  Sm = R(Mo);
20305
20304
  gm = R(yo);
20306
20305
  Tm = R(ko);
20307
- Eo = R((a2, e) => {
20306
+ Po = R((a2, e) => {
20308
20307
  let t = W(a2, e);
20309
20308
  if (t && t.videoTrack && t.videoTrack !== "")
20310
20309
  return a2.tracks[t.videoTrack];
@@ -20329,14 +20328,14 @@ var init_dist = __esm({
20329
20328
  if (e)
20330
20329
  return a2.connectionQualities[e];
20331
20330
  });
20332
- Pm = R((a2, e) => {
20331
+ Em = R((a2, e) => {
20333
20332
  let t = W(a2, e);
20334
20333
  if (t) {
20335
20334
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
20336
20335
  return i ? a2.tracks[i] : void 0;
20337
20336
  }
20338
20337
  });
20339
- Em = R(createSelector(D, W, (a2, e) => {
20338
+ Pm = R(createSelector(D, W, (a2, e) => {
20340
20339
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20341
20340
  let r = a2[i];
20342
20341
  return rt(r) && it(r);
@@ -20432,7 +20431,7 @@ var init_dist = __esm({
20432
20431
  xm = R(oa);
20433
20432
  Um = R(Io);
20434
20433
  Bm = R(Ho);
20435
- na = R(Po);
20434
+ na = R(Eo);
20436
20435
  zm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
20437
20436
  var r;
20438
20437
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
@@ -20502,7 +20501,7 @@ var init_dist = __esm({
20502
20501
  en = (a2) => a2.localPeer.audioTrack;
20503
20502
  tn = (a2) => a2.localPeer.videoTrack;
20504
20503
  rn = (a2, e) => e;
20505
- Ea = (a2, e) => e;
20504
+ Pa = (a2, e) => e;
20506
20505
  sn = (a2) => a2.remoteTrackStats;
20507
20506
  ba = (a2) => a2.peerStats;
20508
20507
  Fr = (a2) => a2.localTrackStats;
@@ -20540,8 +20539,8 @@ var init_dist = __esm({
20540
20539
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
20541
20540
  });
20542
20541
  hn = createSelector([ba, rn], (a2, e) => e ? a2[e] : void 0);
20543
- mn = createSelector([sn, Ea], (a2, e) => e ? a2[e] : void 0);
20544
- Gr = createSelector([Fr, Ea], (a2, e) => e ? a2[e] : void 0);
20542
+ mn = createSelector([sn, Pa], (a2, e) => e ? a2[e] : void 0);
20543
+ Gr = createSelector([Fr, Pa], (a2, e) => e ? a2[e] : void 0);
20545
20544
  Sn = R(hn);
20546
20545
  gn = R(mn);
20547
20546
  Tn = createSelector([Fr, en], (a2, e) => {
@@ -20730,13 +20729,13 @@ var init_AdditionalRoomState = __esm({
20730
20729
  });
20731
20730
 
20732
20731
  // src/Prebuilt/components/Header/StreamActions.tsx
20733
- var import_react72, import_react_use9, import_react_sdk32, import_react_icons29, LiveStatus, RecordingStatus, RecordingPauseStatus, StartRecording2, StreamActions, StopRecordingInSheet;
20732
+ var import_react72, import_react_use8, import_react_sdk32, import_react_icons29, LiveStatus, RecordingStatus, RecordingPauseStatus, StartRecording2, StreamActions, StopRecordingInSheet;
20734
20733
  var init_StreamActions = __esm({
20735
20734
  "src/Prebuilt/components/Header/StreamActions.tsx"() {
20736
20735
  "use strict";
20737
20736
  init_define_process_env();
20738
20737
  import_react72 = __toESM(require("react"));
20739
- import_react_use9 = require("react-use");
20738
+ import_react_use8 = require("react-use");
20740
20739
  init_dist();
20741
20740
  import_react_sdk32 = require("@100mslive/react-sdk");
20742
20741
  import_react_icons29 = require("@100mslive/react-icons");
@@ -20752,7 +20751,7 @@ var init_StreamActions = __esm({
20752
20751
  var _a8;
20753
20752
  const { isHLSRunning, isRTMPRunning } = (0, import_react_sdk32.useRecordingStreaming)();
20754
20753
  const hlsState = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectHLSState);
20755
- const isMobile = (0, import_react_use9.useMedia)(config.media.md);
20754
+ const isMobile = (0, import_react_use8.useMedia)(config.media.md);
20756
20755
  const intervalRef = (0, import_react72.useRef)(null);
20757
20756
  const { screenType } = useRoomLayoutConferencingScreen();
20758
20757
  const [liveTime, setLiveTime] = (0, import_react72.useState)(0);
@@ -20799,7 +20798,7 @@ var init_StreamActions = __esm({
20799
20798
  RecordingStatus = () => {
20800
20799
  const { isBrowserRecordingOn, isServerRecordingOn, isHLSRecordingOn, isRecordingOn } = (0, import_react_sdk32.useRecordingStreaming)();
20801
20800
  const permissions = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectPermissions);
20802
- const isMobile = (0, import_react_use9.useMedia)(config.media.md);
20801
+ const isMobile = (0, import_react_use8.useMedia)(config.media.md);
20803
20802
  if (!isRecordingOn || // if only browser recording is enabled, stop recording is shown
20804
20803
  // so no need to show this as it duplicates
20805
20804
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
@@ -20926,7 +20925,7 @@ var init_StreamActions = __esm({
20926
20925
  };
20927
20926
  StreamActions = () => {
20928
20927
  const isConnected = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectIsConnectedToRoom);
20929
- const isMobile = (0, import_react_use9.useMedia)(config.media.md);
20928
+ const isMobile = (0, import_react_use8.useMedia)(config.media.md);
20930
20929
  const roomState = (0, import_react_sdk32.useHMSStore)(import_react_sdk32.selectRoomState);
20931
20930
  return /* @__PURE__ */ import_react72.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react72.default.createElement(AdditionalRoomState, null), !isMobile && /* @__PURE__ */ import_react72.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react72.default.createElement(RecordingPauseStatus, null), /* @__PURE__ */ import_react72.default.createElement(RecordingStatus, null), roomState !== import_react_sdk32.HMSRoomState.Preview ? /* @__PURE__ */ import_react72.default.createElement(LiveStatus, null) : null), isConnected && !isMobile ? /* @__PURE__ */ import_react72.default.createElement(StartRecording2, null) : null);
20932
20931
  };
@@ -21134,13 +21133,13 @@ var init_ChangeNameContent = __esm({
21134
21133
  });
21135
21134
 
21136
21135
  // src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx
21137
- var import_react75, import_react_use10, import_react_sdk33, ChangeNameModal;
21136
+ var import_react75, import_react_use9, import_react_sdk33, ChangeNameModal;
21138
21137
  var init_ChangeNameModal = __esm({
21139
21138
  "src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx"() {
21140
21139
  "use strict";
21141
21140
  init_define_process_env();
21142
21141
  import_react75 = __toESM(require("react"));
21143
- import_react_use10 = require("react-use");
21142
+ import_react_use9 = require("react-use");
21144
21143
  import_react_sdk33 = require("@100mslive/react-sdk");
21145
21144
  init_src();
21146
21145
  init_Sheet2();
@@ -21155,7 +21154,7 @@ var init_ChangeNameModal = __esm({
21155
21154
  const hmsActions = (0, import_react_sdk33.useHMSActions)();
21156
21155
  const localPeerName = (0, import_react_sdk33.useHMSStore)(import_react_sdk33.selectLocalPeerName);
21157
21156
  const [currentName, setCurrentName] = (0, import_react75.useState)(localPeerName);
21158
- const isMobile = (0, import_react_use10.useMedia)(config.media.md);
21157
+ const isMobile = (0, import_react_use9.useMedia)(config.media.md);
21159
21158
  const changeName = () => __async(void 0, null, function* () {
21160
21159
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
21161
21160
  if (!name || name === localPeerName) {
@@ -21245,13 +21244,13 @@ var init_useUnreadPollQuizPresent = __esm({
21245
21244
  });
21246
21245
 
21247
21246
  // src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx
21248
- var import_react78, import_react_use11, import_ts_pattern5, import_react_sdk36, import_react_icons31, MODALS2, MwebOptions;
21247
+ var import_react78, import_react_use10, import_ts_pattern5, import_react_sdk36, import_react_icons31, MODALS2, MwebOptions;
21249
21248
  var init_MwebOptions = __esm({
21250
21249
  "src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx"() {
21251
21250
  "use strict";
21252
21251
  init_define_process_env();
21253
21252
  import_react78 = __toESM(require("react"));
21254
- import_react_use11 = require("react-use");
21253
+ import_react_use10 = require("react-use");
21255
21254
  import_ts_pattern5 = require("ts-pattern");
21256
21255
  import_react_sdk36 = require("@100mslive/react-sdk");
21257
21256
  import_react_icons31 = require("@100mslive/react-icons");
@@ -21311,6 +21310,8 @@ var init_MwebOptions = __esm({
21311
21310
  const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
21312
21311
  const isMobileHLSStream = useMobileHLSStream();
21313
21312
  const isLandscapeHLSStream = useLandscapeHLSStream();
21313
+ const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
21314
+ const isLocalVideoEnabled = (0, import_react_sdk36.useHMSStore)(import_react_sdk36.selectIsLocalVideoEnabled);
21314
21315
  useDropdownList({ open: openModals.size > 0 || openOptionsSheet || openSettingsSheet, name: "MoreSettings" });
21315
21316
  const updateState = (modalName, value) => {
21316
21317
  setOpenModals((modals) => {
@@ -21323,7 +21324,7 @@ var init_MwebOptions = __esm({
21323
21324
  return copy;
21324
21325
  });
21325
21326
  };
21326
- (0, import_react_use11.useClickAway)(emojiCardRef, () => setShowEmojiCard(false));
21327
+ (0, import_react_use10.useClickAway)(emojiCardRef, () => setShowEmojiCard(false));
21327
21328
  return /* @__PURE__ */ import_react78.default.createElement(import_react78.default.Fragment, null, /* @__PURE__ */ import_react78.default.createElement(Sheet.Root, { open: openOptionsSheet, onOpenChange: setOpenOptionsSheet }, /* @__PURE__ */ import_react78.default.createElement(Tooltip, { title: "More options" }, /* @__PURE__ */ import_react78.default.createElement(Sheet.Trigger, { asChild: true, "data-testid": "more_settings_btn" }, /* @__PURE__ */ import_react78.default.createElement(IconButton_default, { css: { bg: isMobileHLSStream || isLandscapeHLSStream ? "$surface_default" : "" } }, /* @__PURE__ */ import_react78.default.createElement(import_react_icons31.HamburgerMenuIcon, null)))), /* @__PURE__ */ import_react78.default.createElement(Sheet.Content, { css: { bg: "$surface_dim", pb: "$14" } }, /* @__PURE__ */ import_react78.default.createElement(
21328
21329
  Sheet.Title,
21329
21330
  {
@@ -21379,6 +21380,17 @@ var init_MwebOptions = __esm({
21379
21380
  isHandRaised ? /* @__PURE__ */ import_react78.default.createElement(import_react_icons31.HandRaiseSlashedIcon, null) : /* @__PURE__ */ import_react78.default.createElement(import_react_icons31.HandIcon, null),
21380
21381
  /* @__PURE__ */ import_react78.default.createElement(ActionTile.Title, null, isHandRaised ? "Lower" : "Raise", " Hand")
21381
21382
  ) : null,
21383
+ isLocalVideoEnabled && !!(elements == null ? void 0 : elements.virtual_background) ? /* @__PURE__ */ import_react78.default.createElement(
21384
+ ActionTile.Root,
21385
+ {
21386
+ onClick: () => {
21387
+ toggleVB();
21388
+ setOpenOptionsSheet(false);
21389
+ }
21390
+ },
21391
+ /* @__PURE__ */ import_react78.default.createElement(import_react_icons31.VirtualBackgroundIcon, null),
21392
+ /* @__PURE__ */ import_react78.default.createElement(ActionTile.Title, null, "Virtual Background")
21393
+ ) : null,
21382
21394
  (elements == null ? void 0 : elements.emoji_reactions) && !(isLandscapeHLSStream || isMobileHLSStream) && /* @__PURE__ */ import_react78.default.createElement(
21383
21395
  ActionTile.Root,
21384
21396
  {
@@ -21528,13 +21540,13 @@ var init_MwebOptions = __esm({
21528
21540
  });
21529
21541
 
21530
21542
  // src/Prebuilt/components/MoreSettings/MoreSettings.tsx
21531
- var import_react79, import_react_use12, MoreSettings;
21543
+ var import_react79, import_react_use11, MoreSettings;
21532
21544
  var init_MoreSettings = __esm({
21533
21545
  "src/Prebuilt/components/MoreSettings/MoreSettings.tsx"() {
21534
21546
  "use strict";
21535
21547
  init_define_process_env();
21536
21548
  import_react79 = __toESM(require("react"));
21537
- import_react_use12 = require("react-use");
21549
+ import_react_use11 = require("react-use");
21538
21550
  init_DesktopOptions();
21539
21551
  init_MwebOptions();
21540
21552
  init_src();
@@ -21543,7 +21555,7 @@ var init_MoreSettings = __esm({
21543
21555
  elements,
21544
21556
  screenType
21545
21557
  }) => {
21546
- const isMobile = (0, import_react_use12.useMedia)(config.media.md);
21558
+ const isMobile = (0, import_react_use11.useMedia)(config.media.md);
21547
21559
  const isLandscapeHLSStream = useLandscapeHLSStream();
21548
21560
  return isMobile || isLandscapeHLSStream ? /* @__PURE__ */ import_react79.default.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ import_react79.default.createElement(DesktopOptions, { elements, screenType });
21549
21561
  };
@@ -22134,7 +22146,7 @@ var init_ScreenShareToggle = __esm({
22134
22146
  if (!isAllowedToPublish.screen || !isScreenshareSupported()) {
22135
22147
  return null;
22136
22148
  }
22137
- return /* @__PURE__ */ import_react87.default.createElement(import_react87.Fragment, null, /* @__PURE__ */ import_react87.default.createElement(Flex, { direction: "row", css: { "@md": { display: "none" } } }, /* @__PURE__ */ import_react87.default.createElement(
22149
+ return /* @__PURE__ */ import_react87.default.createElement(import_react87.Fragment, null, /* @__PURE__ */ import_react87.default.createElement(Flex, { direction: "row" }, /* @__PURE__ */ import_react87.default.createElement(
22138
22150
  ScreenShareButton,
22139
22151
  {
22140
22152
  variant: "standard",
@@ -22596,13 +22608,13 @@ function itemKey(index, data3) {
22596
22608
  var _a8;
22597
22609
  return (_a8 = data3.peerList[index]) == null ? void 0 : _a8.id;
22598
22610
  }
22599
- var import_react93, import_react_use13, import_react_window, import_react_sdk45, import_react_icons42, ROW_HEIGHT, ITER_TIMER, VirtualizedParticipantItem, RoleAccordion;
22611
+ var import_react93, import_react_use12, import_react_window, import_react_sdk45, import_react_icons42, ROW_HEIGHT, ITER_TIMER, VirtualizedParticipantItem, RoleAccordion;
22600
22612
  var init_RoleAccordion = __esm({
22601
22613
  "src/Prebuilt/components/Footer/RoleAccordion.tsx"() {
22602
22614
  "use strict";
22603
22615
  init_define_process_env();
22604
22616
  import_react93 = __toESM(require("react"));
22605
- import_react_use13 = require("react-use");
22617
+ import_react_use12 = require("react-use");
22606
22618
  import_react_window = require("react-window");
22607
22619
  import_react_sdk45 = require("@100mslive/react-sdk");
22608
22620
  import_react_icons42 = require("@100mslive/react-icons");
@@ -22640,7 +22652,7 @@ var init_RoleAccordion = __esm({
22640
22652
  offStageRoles,
22641
22653
  onActive
22642
22654
  }) => {
22643
- const [ref, { width }] = (0, import_react_use13.useMeasure)();
22655
+ const [ref, { width }] = (0, import_react_use12.useMeasure)();
22644
22656
  const isLargeRoom = (0, import_react_sdk45.useHMSStore)(import_react_sdk45.selectIsLargeRoom);
22645
22657
  const { peers, total, loadPeers } = (0, import_react_sdk45.usePaginatedParticipants)({ role: roleName, limit: 10 });
22646
22658
  const isOffStageRole = roleName && offStageRoles.includes(roleName);
@@ -22784,13 +22796,13 @@ var init_usePeerOnStageActions = __esm({
22784
22796
  });
22785
22797
 
22786
22798
  // src/Prebuilt/components/Footer/ParticipantList.tsx
22787
- var import_react95, import_react_use14, import_react_sdk47, import_react_icons43, ParticipantList, ParticipantCount, Participant, VirtualizedParticipants, ParticipantActions, quickActionStyle, HandRaisedAccordionParticipantActions, ParticipantMoreActions, ParticipantSearch;
22799
+ var import_react95, import_react_use13, import_react_sdk47, import_react_icons43, ParticipantList, ParticipantCount, Participant, VirtualizedParticipants, ParticipantActions, quickActionStyle, HandRaisedAccordionParticipantActions, ParticipantMoreActions, ParticipantSearch;
22788
22800
  var init_ParticipantList = __esm({
22789
22801
  "src/Prebuilt/components/Footer/ParticipantList.tsx"() {
22790
22802
  "use strict";
22791
22803
  init_define_process_env();
22792
22804
  import_react95 = __toESM(require("react"));
22793
- import_react_use14 = require("react-use");
22805
+ import_react_use13 = require("react-use");
22794
22806
  import_react_sdk47 = require("@100mslive/react-sdk");
22795
22807
  import_react_icons43 = require("@100mslive/react-icons");
22796
22808
  init_src();
@@ -23100,8 +23112,8 @@ var init_ParticipantList = __esm({
23100
23112
  inSidePane = false
23101
23113
  }) => {
23102
23114
  const [value, setValue] = import_react95.default.useState("");
23103
- const isMobile = (0, import_react_use14.useMedia)(config.media.md);
23104
- (0, import_react_use14.useDebounce)(
23115
+ const isMobile = (0, import_react_use13.useMedia)(config.media.md);
23116
+ (0, import_react_use13.useDebounce)(
23105
23117
  () => {
23106
23118
  onSearch(value);
23107
23119
  },
@@ -23232,13 +23244,13 @@ var init_WhiteboardToggle = __esm({
23232
23244
  });
23233
23245
 
23234
23246
  // src/Prebuilt/components/Footer/Footer.tsx
23235
- var import_react98, import_react_use15, import_chat, Footer2;
23247
+ var import_react98, import_react_use14, import_chat, Footer2;
23236
23248
  var init_Footer3 = __esm({
23237
23249
  "src/Prebuilt/components/Footer/Footer.tsx"() {
23238
23250
  "use strict";
23239
23251
  init_define_process_env();
23240
23252
  import_react98 = __toESM(require("react"));
23241
- import_react_use15 = require("react-use");
23253
+ import_react_use14 = require("react-use");
23242
23254
  import_chat = require("@100mslive/types-prebuilt/elements/chat");
23243
23255
  init_src();
23244
23256
  init_AudioVideoToggle();
@@ -23260,7 +23272,7 @@ var init_Footer3 = __esm({
23260
23272
  elements
23261
23273
  }) => {
23262
23274
  var _a8, _b7;
23263
- const isMobile = (0, import_react_use15.useMedia)(config.media.md);
23275
+ const isMobile = (0, import_react_use14.useMedia)(config.media.md);
23264
23276
  const isOverlayChat = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay);
23265
23277
  const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === import_chat.Chat_ChatState.CHAT_STATE_OPEN;
23266
23278
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
@@ -23310,7 +23322,7 @@ var init_Footer3 = __esm({
23310
23322
  }
23311
23323
  }
23312
23324
  },
23313
- isMobile ? /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(ScreenshareToggle, null), /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ import_react98.default.createElement(EmojiReaction, null), /* @__PURE__ */ import_react98.default.createElement(LeaveRoom, { screenType }))
23325
+ isMobile ? /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(ScreenshareToggle, null), /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(ScreenshareToggle, null), /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ import_react98.default.createElement(EmojiReaction, null), /* @__PURE__ */ import_react98.default.createElement(LeaveRoom, { screenType }))
23314
23326
  ),
23315
23327
  /* @__PURE__ */ import_react98.default.createElement(Footer.Right, null, /* @__PURE__ */ import_react98.default.createElement(WhiteboardToggle, null), showPolls && /* @__PURE__ */ import_react98.default.createElement(PollsToggle, null), !isMobile && (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), (elements == null ? void 0 : elements.participant_list) && /* @__PURE__ */ import_react98.default.createElement(ParticipantCount, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType }))
23316
23328
  );
@@ -25579,13 +25591,13 @@ var init_empty_chat = __esm({
25579
25591
  });
25580
25592
 
25581
25593
  // src/Prebuilt/components/Chat/EmptyChat.tsx
25582
- var import_react131, import_react_use16, EmptyChat;
25594
+ var import_react131, import_react_use15, EmptyChat;
25583
25595
  var init_EmptyChat = __esm({
25584
25596
  "src/Prebuilt/components/Chat/EmptyChat.tsx"() {
25585
25597
  "use strict";
25586
25598
  init_define_process_env();
25587
25599
  import_react131 = __toESM(require("react"));
25588
- import_react_use16 = require("react-use");
25600
+ import_react_use15 = require("react-use");
25589
25601
  init_Layout();
25590
25602
  init_Text2();
25591
25603
  init_Theme();
@@ -25597,7 +25609,7 @@ var init_EmptyChat = __esm({
25597
25609
  var _a8;
25598
25610
  const { elements } = useRoomLayoutConferencingScreen();
25599
25611
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
25600
- const isMobile = (0, import_react_use16.useMedia)(config.media.md);
25612
+ const isMobile = (0, import_react_use15.useMedia)(config.media.md);
25601
25613
  const canSendMessages = elements.chat && (elements.chat.public_chat_enabled || elements.chat.private_chat_enabled || elements.chat.roles_whitelist && elements.chat.roles_whitelist.length) && !isLocalPeerBlacklisted;
25602
25614
  const isMobileHLSStream = useMobileHLSStream();
25603
25615
  const isLandscapeStream = useLandscapeHLSStream();
@@ -25659,13 +25671,13 @@ function getRowHeight(index) {
25659
25671
  var _a8;
25660
25672
  return ((_a8 = rowHeights[index]) == null ? void 0 : _a8.size) || 72;
25661
25673
  }
25662
- var import_react133, import_react_use17, import_react_virtualized_auto_sizer, import_react_window2, import_react_sdk64, import_react_icons62, formatTime2, rowHeights, listInstance, setRowHeight, getMessageBackgroundColor, MessageTypeContainer, MessageType, URL_REGEX, Link2, AnnotisedMessage, getMessageType, SenderName, ChatMessage, MessageWrapper, VirtualizedChatMessages, ChatBody, PinnedBy;
25674
+ var import_react133, import_react_use16, import_react_virtualized_auto_sizer, import_react_window2, import_react_sdk64, import_react_icons62, formatTime2, rowHeights, listInstance, setRowHeight, getMessageBackgroundColor, MessageTypeContainer, MessageType, URL_REGEX, Link2, AnnotisedMessage, getMessageType, SenderName, ChatMessage, MessageWrapper, VirtualizedChatMessages, ChatBody, PinnedBy;
25663
25675
  var init_ChatBody = __esm({
25664
25676
  "src/Prebuilt/components/Chat/ChatBody.tsx"() {
25665
25677
  "use strict";
25666
25678
  init_define_process_env();
25667
25679
  import_react133 = __toESM(require("react"));
25668
- import_react_use17 = require("react-use");
25680
+ import_react_use16 = require("react-use");
25669
25681
  import_react_virtualized_auto_sizer = __toESM(require("react-virtualized-auto-sizer"));
25670
25682
  import_react_window2 = require("react-window");
25671
25683
  import_react_sdk64 = require("@100mslive/react-sdk");
@@ -25790,7 +25802,7 @@ var init_ChatBody = __esm({
25790
25802
  var _a8, _b7, _c;
25791
25803
  const { elements } = useRoomLayoutConferencingScreen();
25792
25804
  const rowRef = (0, import_react133.useRef)(null);
25793
- const isMobile = (0, import_react_use17.useMedia)(config.media.md);
25805
+ const isMobile = (0, import_react_use16.useMedia)(config.media.md);
25794
25806
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
25795
25807
  const isOverlay = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
25796
25808
  const localPeerId = (0, import_react_sdk64.useHMSStore)(import_react_sdk64.selectLocalPeerID);
@@ -26067,13 +26079,13 @@ var init_ChatBody = __esm({
26067
26079
  });
26068
26080
 
26069
26081
  // src/Prebuilt/components/Chat/ChatSelector.tsx
26070
- var import_react134, import_react_use18, import_react_sdk65, import_react_icons63, ChatDotIcon, SelectorItem, SelectorHeader, Everyone, RoleItem, PeerItem, VirtualizedSelectItemList, ChatSelector;
26082
+ var import_react134, import_react_use17, import_react_sdk65, import_react_icons63, ChatDotIcon, SelectorItem, SelectorHeader, Everyone, RoleItem, PeerItem, VirtualizedSelectItemList, ChatSelector;
26071
26083
  var init_ChatSelector = __esm({
26072
26084
  "src/Prebuilt/components/Chat/ChatSelector.tsx"() {
26073
26085
  "use strict";
26074
26086
  init_define_process_env();
26075
26087
  import_react134 = __toESM(require("react"));
26076
- import_react_use18 = require("react-use");
26088
+ import_react_use17 = require("react-use");
26077
26089
  import_react_sdk65 = require("@100mslive/react-sdk");
26078
26090
  import_react_icons63 = require("@100mslive/react-icons");
26079
26091
  init_src();
@@ -26093,7 +26105,7 @@ var init_ChatSelector = __esm({
26093
26105
  unreadCount,
26094
26106
  icon = void 0
26095
26107
  }) => {
26096
- const isMobile = (0, import_react_use18.useMedia)(config.media.md);
26108
+ const isMobile = (0, import_react_use17.useMedia)(config.media.md);
26097
26109
  const Root28 = !isMobile ? Dropdown.Item : (_a8) => {
26098
26110
  var _b7 = _a8, { children } = _b7, rest = __objRest(_b7, ["children"]);
26099
26111
  return /* @__PURE__ */ import_react134.default.createElement(Flex, __spreadProps(__spreadValues({}, rest), { css: __spreadValues({ p: "$6 $8" }, rest.css) }), children);
@@ -26243,13 +26255,13 @@ var init_ChatSelector = __esm({
26243
26255
  });
26244
26256
 
26245
26257
  // src/Prebuilt/components/Chat/ChatSelectorContainer.tsx
26246
- var import_react135, import_react_use19, import_react_icons64, ChatSelectorContainer;
26258
+ var import_react135, import_react_use18, import_react_icons64, ChatSelectorContainer;
26247
26259
  var init_ChatSelectorContainer = __esm({
26248
26260
  "src/Prebuilt/components/Chat/ChatSelectorContainer.tsx"() {
26249
26261
  "use strict";
26250
26262
  init_define_process_env();
26251
26263
  import_react135 = __toESM(require("react"));
26252
- import_react_use19 = require("react-use");
26264
+ import_react_use18 = require("react-use");
26253
26265
  import_react_icons64 = require("@100mslive/react-icons");
26254
26266
  init_Dropdown2();
26255
26267
  init_Layout();
@@ -26264,7 +26276,7 @@ var init_ChatSelectorContainer = __esm({
26264
26276
  ChatSelectorContainer = () => {
26265
26277
  var _a8, _b7;
26266
26278
  const [open, setOpen] = (0, import_react135.useState)(false);
26267
- const isMobile = (0, import_react_use19.useMedia)(config.media.md);
26279
+ const isMobile = (0, import_react_use18.useMedia)(config.media.md);
26268
26280
  const { elements } = useRoomLayoutConferencingScreen();
26269
26281
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
26270
26282
  const isPublicChatEnabled = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled);
@@ -26474,13 +26486,13 @@ function EmojiPicker({ onSelect }) {
26474
26486
  )
26475
26487
  )));
26476
26488
  }
26477
- var import_react138, import_react_use20, import_data, import_react139, import_react_sdk67, import_react_icons65, TextArea2, ChatFooter;
26489
+ var import_react138, import_react_use19, import_data, import_react139, import_react_sdk67, import_react_icons65, TextArea2, ChatFooter;
26478
26490
  var init_ChatFooter = __esm({
26479
26491
  "src/Prebuilt/components/Chat/ChatFooter.tsx"() {
26480
26492
  "use strict";
26481
26493
  init_define_process_env();
26482
26494
  import_react138 = __toESM(require("react"));
26483
- import_react_use20 = require("react-use");
26495
+ import_react_use19 = require("react-use");
26484
26496
  import_data = __toESM(require("@emoji-mart/data"));
26485
26497
  import_react139 = __toESM(require("@emoji-mart/react"));
26486
26498
  import_react_sdk67 = require("@100mslive/react-sdk");
@@ -26520,7 +26532,7 @@ var init_ChatFooter = __esm({
26520
26532
  const hmsActions = (0, import_react_sdk67.useHMSActions)();
26521
26533
  const inputRef = (0, import_react138.useRef)(null);
26522
26534
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
26523
- const isMobile = (0, import_react_use20.useMedia)(config.media.md);
26535
+ const isMobile = (0, import_react_use19.useMedia)(config.media.md);
26524
26536
  const { elements, screenType } = useRoomLayoutConferencingScreen();
26525
26537
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
26526
26538
  const localPeer = (0, import_react_sdk67.useHMSStore)(import_react_sdk67.selectLocalPeer);
@@ -26835,14 +26847,14 @@ var init_StickIndicator = __esm({
26835
26847
  });
26836
26848
 
26837
26849
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
26838
- var import_react143, import_react_swipeable, import_react_use21, import_react_sdk69, import_react_icons67, PINNED_MESSAGE_LENGTH, PinnedMessage;
26850
+ var import_react143, import_react_swipeable, import_react_use20, import_react_sdk69, import_react_icons67, PINNED_MESSAGE_LENGTH, PinnedMessage;
26839
26851
  var init_PinnedMessage = __esm({
26840
26852
  "src/Prebuilt/components/Chat/PinnedMessage.tsx"() {
26841
26853
  "use strict";
26842
26854
  init_define_process_env();
26843
26855
  import_react143 = __toESM(require("react"));
26844
26856
  import_react_swipeable = require("react-swipeable");
26845
- import_react_use21 = require("react-use");
26857
+ import_react_use20 = require("react-use");
26846
26858
  import_react_sdk69 = require("@100mslive/react-sdk");
26847
26859
  import_react_icons67 = require("@100mslive/react-icons");
26848
26860
  init_Layout();
@@ -26859,7 +26871,7 @@ var init_PinnedMessage = __esm({
26859
26871
  const pinnedMessages = (0, import_react_sdk69.useHMSStore)((0, import_react_sdk69.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
26860
26872
  const [pinnedMessageIndex, setPinnedMessageIndex] = (0, import_react143.useState)(0);
26861
26873
  const { removePinnedMessage } = usePinnedMessages();
26862
- const isMobile = (0, import_react_use21.useMedia)(config.media.md);
26874
+ const isMobile = (0, import_react_use20.useMedia)(config.media.md);
26863
26875
  const { elements } = useRoomLayoutConferencingScreen();
26864
26876
  const canUnpinMessage = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.allow_pinning_messages);
26865
26877
  const [hideOverflow, setHideOverflow] = (0, import_react143.useState)(true);
@@ -26971,13 +26983,13 @@ var init_PinnedMessage = __esm({
26971
26983
  });
26972
26984
 
26973
26985
  // src/Prebuilt/components/Chat/Chat.tsx
26974
- var import_react144, import_react_use22, import_ts_pattern9, import_react_sdk70, import_react_icons68, Chat, NewMessageIndicator;
26986
+ var import_react144, import_react_use21, import_ts_pattern9, import_react_sdk70, import_react_icons68, Chat, NewMessageIndicator;
26975
26987
  var init_Chat = __esm({
26976
26988
  "src/Prebuilt/components/Chat/Chat.tsx"() {
26977
26989
  "use strict";
26978
26990
  init_define_process_env();
26979
26991
  import_react144 = __toESM(require("react"));
26980
- import_react_use22 = require("react-use");
26992
+ import_react_use21 = require("react-use");
26981
26993
  init_dist();
26982
26994
  import_ts_pattern9 = require("ts-pattern");
26983
26995
  import_react_sdk70 = require("@100mslive/react-sdk");
@@ -26999,7 +27011,7 @@ var init_Chat = __esm({
26999
27011
  const hmsActions = (0, import_react_sdk70.useHMSActions)();
27000
27012
  const vanillaStore = (0, import_react_sdk70.useHMSVanillaStore)();
27001
27013
  const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(um("chatState" /* CHAT_STATE */)) || {};
27002
- const isMobile = (0, import_react_use22.useMedia)(config.media.md);
27014
+ const isMobile = (0, import_react_use21.useMedia)(config.media.md);
27003
27015
  const isMobileHLSStream = useMobileHLSStream();
27004
27016
  const isLandscapeStream = useLandscapeHLSStream();
27005
27017
  const scrollToBottom = (0, import_react144.useCallback)(
@@ -27129,14 +27141,14 @@ var init_Chat = __esm({
27129
27141
  });
27130
27142
 
27131
27143
  // src/Prebuilt/components/Footer/PaginatedParticipants.tsx
27132
- var import_react145, import_react_intersection_observer, import_react_use23, import_react_window3, import_react_sdk71, import_react_icons69, LoadMoreParticipants, VirtualizedParticipantItem2, PaginatedParticipants;
27144
+ var import_react145, import_react_intersection_observer, import_react_use22, import_react_window3, import_react_sdk71, import_react_icons69, LoadMoreParticipants, VirtualizedParticipantItem2, PaginatedParticipants;
27133
27145
  var init_PaginatedParticipants = __esm({
27134
27146
  "src/Prebuilt/components/Footer/PaginatedParticipants.tsx"() {
27135
27147
  "use strict";
27136
27148
  init_define_process_env();
27137
27149
  import_react145 = __toESM(require("react"));
27138
27150
  import_react_intersection_observer = require("react-intersection-observer");
27139
- import_react_use23 = require("react-use");
27151
+ import_react_use22 = require("react-use");
27140
27152
  import_react_window3 = require("react-window");
27141
27153
  import_react_sdk71 = require("@100mslive/react-sdk");
27142
27154
  import_react_icons69 = require("@100mslive/react-icons");
@@ -27191,7 +27203,7 @@ var init_PaginatedParticipants = __esm({
27191
27203
  return (_a8 = p.name) == null ? void 0 : _a8.toLowerCase().includes(search == null ? void 0 : search.toLowerCase());
27192
27204
  });
27193
27205
  const isConnected = (0, import_react_sdk71.useHMSStore)(import_react_sdk71.selectIsConnectedToRoom);
27194
- const [ref, { width }] = (0, import_react_use23.useMeasure)();
27206
+ const [ref, { width }] = (0, import_react_use22.useMeasure)();
27195
27207
  const height = ROW_HEIGHT * (filteredPeers.length + 1);
27196
27208
  const resetSidePane = useSidepaneReset();
27197
27209
  (0, import_react145.useEffect)(() => {
@@ -27291,13 +27303,13 @@ var init_ChatSettings = __esm({
27291
27303
  });
27292
27304
 
27293
27305
  // src/Prebuilt/components/SidePaneTabs.tsx
27294
- var import_react147, import_react_use24, import_ts_pattern10, import_react_sdk73, import_react_icons71, tabTriggerCSS, ParticipantCount2, SidePaneTabs;
27306
+ var import_react147, import_react_use23, import_ts_pattern10, import_react_sdk73, import_react_icons71, tabTriggerCSS, ParticipantCount2, SidePaneTabs;
27295
27307
  var init_SidePaneTabs = __esm({
27296
27308
  "src/Prebuilt/components/SidePaneTabs.tsx"() {
27297
27309
  "use strict";
27298
27310
  init_define_process_env();
27299
27311
  import_react147 = __toESM(require("react"));
27300
- import_react_use24 = require("react-use");
27312
+ import_react_use23 = require("react-use");
27301
27313
  import_ts_pattern10 = require("ts-pattern");
27302
27314
  import_react_sdk73 = require("@100mslive/react-sdk");
27303
27315
  import_react_icons71 = require("@100mslive/react-icons");
@@ -27338,7 +27350,7 @@ var init_SidePaneTabs = __esm({
27338
27350
  const showChat = !!(elements == null ? void 0 : elements.chat);
27339
27351
  const showParticipants = !!(elements == null ? void 0 : elements.participant_list);
27340
27352
  const hideTabs = !(showChat && showParticipants) || hideTab;
27341
- const isMobile = (0, import_react_use24.useMedia)(config.media.md);
27353
+ const isMobile = (0, import_react_use23.useMedia)(config.media.md);
27342
27354
  const isOverlayChat = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
27343
27355
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
27344
27356
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
@@ -27517,13 +27529,13 @@ var init_utils5 = __esm({
27517
27529
  });
27518
27530
 
27519
27531
  // src/Prebuilt/components/TileMenu/TileMenuContent.tsx
27520
- var import_react149, import_react_use25, import_react_sdk75, import_react_icons73, isSameTile, spacingCSS, SpotlightActions, PinActions, MinimiseInset, SimulcastLayers, TileMenuContent;
27532
+ var import_react149, import_react_use24, import_react_sdk75, import_react_icons73, isSameTile, spacingCSS, SpotlightActions, PinActions, MinimiseInset, SimulcastLayers, TileMenuContent;
27521
27533
  var init_TileMenuContent = __esm({
27522
27534
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx"() {
27523
27535
  "use strict";
27524
27536
  init_define_process_env();
27525
27537
  import_react149 = __toESM(require("react"));
27526
- import_react_use25 = require("react-use");
27538
+ import_react_use24 = require("react-use");
27527
27539
  import_react_sdk75 = require("@100mslive/react-sdk");
27528
27540
  import_react_icons73 = require("@100mslive/react-icons");
27529
27541
  init_Layout();
@@ -27693,7 +27705,7 @@ var init_TileMenuContent = __esm({
27693
27705
  const { sendEvent } = (0, import_react_sdk75.useCustomEvent)({
27694
27706
  type: REMOTE_STOP_SCREENSHARE_TYPE
27695
27707
  });
27696
- const isMobile = (0, import_react_use25.useMedia)(config.media.md);
27708
+ const isMobile = (0, import_react_use24.useMedia)(config.media.md);
27697
27709
  if (isLocal) {
27698
27710
  return showPinAction || canMinimise || !userName || showSpotlight ? /* @__PURE__ */ import_react149.default.createElement(import_react149.default.Fragment, null, showPinAction && /* @__PURE__ */ import_react149.default.createElement(PinActions, { audioTrackID, videoTrackID }), showSpotlight && /* @__PURE__ */ import_react149.default.createElement(SpotlightActions, { peerId: peerID, onSpotLightClick: () => closeSheetOnClick() }), canMinimise && /* @__PURE__ */ import_react149.default.createElement(MinimiseInset, null), !userName && /* @__PURE__ */ import_react149.default.createElement(
27699
27711
  StyledMenuTile.ItemButton,
@@ -27774,13 +27786,13 @@ var init_TileMenuContent = __esm({
27774
27786
  });
27775
27787
 
27776
27788
  // src/Prebuilt/components/TileMenu/TileMenu.tsx
27777
- var import_react150, import_react_use26, import_react_sdk76, import_react_icons74, TileMenu, TileMenu_default;
27789
+ var import_react150, import_react_use25, import_react_sdk76, import_react_icons74, TileMenu, TileMenu_default;
27778
27790
  var init_TileMenu2 = __esm({
27779
27791
  "src/Prebuilt/components/TileMenu/TileMenu.tsx"() {
27780
27792
  "use strict";
27781
27793
  init_define_process_env();
27782
27794
  import_react150 = __toESM(require("react"));
27783
- import_react_use26 = require("react-use");
27795
+ import_react_use25 = require("react-use");
27784
27796
  import_react_sdk76 = require("@100mslive/react-sdk");
27785
27797
  import_react_icons74 = require("@100mslive/react-icons");
27786
27798
  init_Layout();
@@ -27813,7 +27825,7 @@ var init_TileMenu2 = __esm({
27813
27825
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
27814
27826
  const track = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectTrackByID)(videoTrackID));
27815
27827
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
27816
- const isMobile = (0, import_react_use26.useMedia)(config.media.md);
27828
+ const isMobile = (0, import_react_use25.useMedia)(config.media.md);
27817
27829
  const peer = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectPeerByID)(peerID));
27818
27830
  const [showNameChangeModal, setShowNameChangeModal] = (0, import_react150.useState)(false);
27819
27831
  useDropdownList({ open, name: "TileMenu" });
@@ -27898,13 +27910,13 @@ var init_peerTileUtils = __esm({
27898
27910
  });
27899
27911
 
27900
27912
  // src/Prebuilt/components/VideoTile.tsx
27901
- var import_react151, import_react_use27, import_react_sdk77, import_react_icons75, PeerMetadata, Tile, VideoTile, VideoTile_default;
27913
+ var import_react151, import_react_use26, import_react_sdk77, import_react_icons75, PeerMetadata, Tile, VideoTile, VideoTile_default;
27902
27914
  var init_VideoTile2 = __esm({
27903
27915
  "src/Prebuilt/components/VideoTile.tsx"() {
27904
27916
  "use strict";
27905
27917
  init_define_process_env();
27906
27918
  import_react151 = __toESM(require("react"));
27907
- import_react_use27 = require("react-use");
27919
+ import_react_use26 = require("react-use");
27908
27920
  import_react_sdk77 = require("@100mslive/react-sdk");
27909
27921
  import_react_icons75 = require("@100mslive/react-icons");
27910
27922
  init_TileConnection();
@@ -27967,7 +27979,7 @@ var init_VideoTile2 = __esm({
27967
27979
  const onHoverHandler = (0, import_react151.useCallback)((event) => {
27968
27980
  setIsMouseHovered(event.type === "mouseenter");
27969
27981
  }, []);
27970
- const [ref, { width: calculatedWidth, height: calculatedHeight }] = (0, import_react_use27.useMeasure)();
27982
+ const [ref, { width: calculatedWidth, height: calculatedHeight }] = (0, import_react_use26.useMeasure)();
27971
27983
  const isTileBigEnoughToShowStats = calculatedHeight >= 180 && calculatedWidth >= 180;
27972
27984
  const [avatarSize, attribBoxSize] = (0, import_react151.useMemo)(
27973
27985
  () => calculateAvatarAndAttribBoxSize(calculatedWidth, calculatedHeight),
@@ -28409,13 +28421,13 @@ var init_VBPicker = __esm({
28409
28421
  });
28410
28422
 
28411
28423
  // src/Prebuilt/layouts/SidePane.tsx
28412
- var import_react155, import_react_use28, import_ts_pattern11, import_react_sdk79, Wrapper3, SidePane, SidePane_default;
28424
+ var import_react155, import_react_use27, import_ts_pattern11, import_react_sdk79, Wrapper3, SidePane, SidePane_default;
28413
28425
  var init_SidePane = __esm({
28414
28426
  "src/Prebuilt/layouts/SidePane.tsx"() {
28415
28427
  "use strict";
28416
28428
  init_define_process_env();
28417
28429
  import_react155 = __toESM(require("react"));
28418
- import_react_use28 = require("react-use");
28430
+ import_react_use27 = require("react-use");
28419
28431
  import_ts_pattern11 = require("ts-pattern");
28420
28432
  import_react_sdk79 = require("@100mslive/react-sdk");
28421
28433
  init_Polls();
@@ -28526,7 +28538,7 @@ var init_SidePane = __esm({
28526
28538
  hideControls = false
28527
28539
  }) => {
28528
28540
  var _a8, _b7, _c, _d, _e, _f, _g;
28529
- const isMobile = (0, import_react_use28.useMedia)(config.media.md);
28541
+ const isMobile = (0, import_react_use27.useMedia)(config.media.md);
28530
28542
  const sidepane = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectAppData)(APP_DATA.sidePane));
28531
28543
  const activeScreensharePeerId = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectAppData)(APP_DATA.activeScreensharePeerId));
28532
28544
  const trackId = (_a8 = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectVideoTrackByPeerID)(activeScreensharePeerId))) == null ? void 0 : _a8.id;
@@ -28661,13 +28673,13 @@ var init_FullPageProgress = __esm({
28661
28673
  });
28662
28674
 
28663
28675
  // src/Prebuilt/components/Preview/PreviewForm.tsx
28664
- var import_react158, import_react_use29, import_join_form3, import_react_sdk80, import_react_icons77, PreviewForm, Form, PreviewForm_default;
28676
+ var import_react158, import_react_use28, import_join_form3, import_react_sdk80, import_react_icons77, PreviewForm, Form, PreviewForm_default;
28665
28677
  var init_PreviewForm = __esm({
28666
28678
  "src/Prebuilt/components/Preview/PreviewForm.tsx"() {
28667
28679
  "use strict";
28668
28680
  init_define_process_env();
28669
28681
  import_react158 = __toESM(require("react"));
28670
- import_react_use29 = require("react-use");
28682
+ import_react_use28 = require("react-use");
28671
28683
  import_join_form3 = require("@100mslive/types-prebuilt/elements/join_form");
28672
28684
  import_react_sdk80 = require("@100mslive/react-sdk");
28673
28685
  import_react_icons77 = require("@100mslive/react-icons");
@@ -28687,7 +28699,7 @@ var init_PreviewForm = __esm({
28687
28699
  const formSubmit = (e) => {
28688
28700
  e.preventDefault();
28689
28701
  };
28690
- const isMobile = (0, import_react_use29.useMedia)(config.media.md);
28702
+ const isMobile = (0, import_react_use28.useMedia)(config.media.md);
28691
28703
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk80.useRecordingStreaming)();
28692
28704
  const layout = useRoomLayout();
28693
28705
  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) || {};
@@ -28740,13 +28752,13 @@ var init_PreviewForm = __esm({
28740
28752
  });
28741
28753
 
28742
28754
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
28743
- var import_react159, import_react_use30, import_react_sdk81, import_react_icons78, getParticipantChipContent, useLocalTileAspectRatio, PreviewJoin, Container4, PreviewTile, PreviewControls, PreviewSettings, PreviewJoin_default;
28755
+ var import_react159, import_react_use29, import_react_sdk81, import_react_icons78, getParticipantChipContent, useLocalTileAspectRatio, PreviewJoin, Container4, PreviewTile, PreviewControls, PreviewSettings, PreviewJoin_default;
28744
28756
  var init_PreviewJoin = __esm({
28745
28757
  "src/Prebuilt/components/Preview/PreviewJoin.tsx"() {
28746
28758
  "use strict";
28747
28759
  init_define_process_env();
28748
28760
  import_react159 = __toESM(require("react"));
28749
- import_react_use30 = require("react-use");
28761
+ import_react_use29 = require("react-use");
28750
28762
  import_react_sdk81 = require("@100mslive/react-sdk");
28751
28763
  import_react_icons78 = require("@100mslive/react-icons");
28752
28764
  init_src();
@@ -28777,7 +28789,7 @@ var init_PreviewJoin = __esm({
28777
28789
  useLocalTileAspectRatio = () => {
28778
28790
  const localPeer = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectLocalPeer);
28779
28791
  const videoTrack = (0, import_react_sdk81.useHMSStore)((0, import_react_sdk81.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack));
28780
- const isMobile = (0, import_react_use30.useMedia)(config.media.md);
28792
+ const isMobile = (0, import_react_use29.useMedia)(config.media.md);
28781
28793
  let aspectRatio = 0;
28782
28794
  if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height)) {
28783
28795
  aspectRatio = videoTrack.width / videoTrack.height;
@@ -28893,7 +28905,7 @@ var init_PreviewJoin = __esm({
28893
28905
  const track = (0, import_react_sdk81.useHMSStore)(trackSelector);
28894
28906
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
28895
28907
  const aspectRatio = useLocalTileAspectRatio();
28896
- const [ref, { width: calculatedWidth, height: calculatedHeight }] = (0, import_react_use30.useMeasure)();
28908
+ const [ref, { width: calculatedWidth, height: calculatedHeight }] = (0, import_react_use29.useMeasure)();
28897
28909
  const [avatarSize, attribBoxSize] = (0, import_react159.useMemo)(
28898
28910
  () => calculateAvatarAndAttribBoxSize(calculatedWidth, calculatedHeight),
28899
28911
  [calculatedWidth, calculatedHeight]
@@ -28931,7 +28943,7 @@ var init_PreviewJoin = __esm({
28931
28943
  );
28932
28944
  };
28933
28945
  PreviewControls = ({ hideSettings, vbEnabled }) => {
28934
- const isMobile = (0, import_react_use30.useMedia)(config.media.md);
28946
+ const isMobile = (0, import_react_use29.useMedia)(config.media.md);
28935
28947
  return /* @__PURE__ */ import_react159.default.createElement(
28936
28948
  Flex,
28937
28949
  {
@@ -28941,7 +28953,7 @@ var init_PreviewJoin = __esm({
28941
28953
  mt: "$8"
28942
28954
  }
28943
28955
  },
28944
- /* @__PURE__ */ import_react159.default.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ import_react159.default.createElement(AudioVideoToggle, null), vbEnabled && !isMobile ? /* @__PURE__ */ import_react159.default.createElement(VBToggle, null) : null),
28956
+ /* @__PURE__ */ import_react159.default.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ import_react159.default.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ import_react159.default.createElement(VBToggle, null) : null),
28945
28957
  !hideSettings ? /* @__PURE__ */ import_react159.default.createElement(PreviewSettings, null) : null
28946
28958
  );
28947
28959
  };
@@ -28954,13 +28966,13 @@ var init_PreviewJoin = __esm({
28954
28966
  });
28955
28967
 
28956
28968
  // src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx
28957
- var import_react160, import_react_use31, RequestPrompt, RequestActions;
28969
+ var import_react160, import_react_use30, RequestPrompt, RequestActions;
28958
28970
  var init_RequestPrompt = __esm({
28959
28971
  "src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx"() {
28960
28972
  "use strict";
28961
28973
  init_define_process_env();
28962
28974
  import_react160 = __toESM(require("react"));
28963
- import_react_use31 = require("react-use");
28975
+ import_react_use30 = require("react-use");
28964
28976
  init_src();
28965
28977
  init_Sheet2();
28966
28978
  RequestPrompt = ({
@@ -28972,7 +28984,7 @@ var init_RequestPrompt = __esm({
28972
28984
  onAction,
28973
28985
  disableActions = false
28974
28986
  }) => {
28975
- const isMobile = (0, import_react_use31.useMedia)(config.media.md);
28987
+ const isMobile = (0, import_react_use30.useMedia)(config.media.md);
28976
28988
  if (isMobile) {
28977
28989
  return /* @__PURE__ */ import_react160.default.createElement(Sheet.Root, { open, onOpenChange }, /* @__PURE__ */ import_react160.default.createElement(Sheet.Content, { css: { py: "$8" } }, /* @__PURE__ */ import_react160.default.createElement(Text, { css: { fontWeight: "$semiBold", c: "$on_surface_high", "@md": { px: "$8" } } }, title), body, /* @__PURE__ */ import_react160.default.createElement(RequestActions, { actionText, onAction, disabled: disableActions })));
28978
28990
  }
@@ -28982,7 +28994,7 @@ var init_RequestPrompt = __esm({
28982
28994
  onAction,
28983
28995
  actionText,
28984
28996
  disabled = false
28985
- }) => /* @__PURE__ */ import_react160.default.createElement(Flex, { justify: "center", align: "center", css: { width: "100%", gap: "$md", "@md": { mt: "$8", px: "$8" } } }, /* @__PURE__ */ import_react160.default.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ import_react160.default.createElement(Dialog.Close, { css: { width: "100%" } }, /* @__PURE__ */ import_react160.default.createElement(Button, { variant: "standard", outlined: true, css: { width: "100%" }, disabled }, "Decline"))), /* @__PURE__ */ import_react160.default.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ import_react160.default.createElement(Button, { variant: "primary", css: { width: "100%" }, onClick: onAction, disabled }, actionText)));
28997
+ }) => /* @__PURE__ */ import_react160.default.createElement(Flex, { justify: "center", align: "center", css: { width: "100%", gap: "$md", "@md": { mt: "$8", px: "$8" } } }, /* @__PURE__ */ import_react160.default.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ import_react160.default.createElement(Dialog.Close, { css: { width: "100%", height: "100%" }, asChild: true }, /* @__PURE__ */ import_react160.default.createElement(Button, { variant: "standard", outlined: true, css: { width: "100%", p: "$4 $8" }, disabled }, "Decline"))), /* @__PURE__ */ import_react160.default.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ import_react160.default.createElement(Button, { variant: "primary", css: { width: "100%" }, onClick: onAction, disabled }, actionText)));
28986
28998
  }
28987
28999
  });
28988
29000
 
@@ -29098,14 +29110,14 @@ var init_useVideoTileLayout = __esm({
29098
29110
  });
29099
29111
 
29100
29112
  // src/Prebuilt/components/InsetTile.tsx
29101
- var import_react163, import_react_draggable, import_react_use32, import_react_sdk83, import_react_icons79, MinimisedTile, insetHeightPx, insetMaxWidthPx, defaultMobileAspectRatio, desktopAspectRatio, InsetTile;
29113
+ var import_react163, import_react_draggable, import_react_use31, import_react_sdk83, import_react_icons79, MinimisedTile, insetHeightPx, insetMaxWidthPx, defaultMobileAspectRatio, desktopAspectRatio, InsetTile;
29102
29114
  var init_InsetTile = __esm({
29103
29115
  "src/Prebuilt/components/InsetTile.tsx"() {
29104
29116
  "use strict";
29105
29117
  init_define_process_env();
29106
29118
  import_react163 = __toESM(require("react"));
29107
29119
  import_react_draggable = __toESM(require("react-draggable"));
29108
- import_react_use32 = require("react-use");
29120
+ import_react_use31 = require("react-use");
29109
29121
  import_react_sdk83 = require("@100mslive/react-sdk");
29110
29122
  import_react_icons79 = require("@100mslive/react-icons");
29111
29123
  init_Layout();
@@ -29133,8 +29145,8 @@ var init_InsetTile = __esm({
29133
29145
  defaultMobileAspectRatio = 9 / 16;
29134
29146
  desktopAspectRatio = 1 / defaultMobileAspectRatio;
29135
29147
  InsetTile = ({ peerId }) => {
29136
- const isMobile = (0, import_react_use32.useMedia)(config.media.md);
29137
- const isLandscape = (0, import_react_use32.useMedia)(config.media.ls);
29148
+ const isMobile = (0, import_react_use31.useMedia)(config.media.md);
29149
+ const isLandscape = (0, import_react_use31.useMedia)(config.media.ls);
29138
29150
  const selector = peerId ? (0, import_react_sdk83.selectPeerByID)(peerId) : import_react_sdk83.selectLocalPeer;
29139
29151
  const peer = (0, import_react_sdk83.useHMSStore)(selector);
29140
29152
  const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
@@ -29310,13 +29322,13 @@ var init_Grid = __esm({
29310
29322
  });
29311
29323
 
29312
29324
  // src/Prebuilt/components/hooks/useTileLayout.tsx
29313
- var import_react166, import_react_use33, import_react_sdk84, aspectRatioConfig, usePagesWithTiles, useTileLayout;
29325
+ var import_react166, import_react_use32, import_react_sdk84, aspectRatioConfig, usePagesWithTiles, useTileLayout;
29314
29326
  var init_useTileLayout = __esm({
29315
29327
  "src/Prebuilt/components/hooks/useTileLayout.tsx"() {
29316
29328
  "use strict";
29317
29329
  init_define_process_env();
29318
29330
  import_react166 = require("react");
29319
- import_react_use33 = require("react-use");
29331
+ import_react_use32 = require("react-use");
29320
29332
  import_react_sdk84 = require("@100mslive/react-sdk");
29321
29333
  init_Theme();
29322
29334
  aspectRatioConfig = { default: [1 / 1, 4 / 3, 16 / 9], mobile: [1 / 1, 3 / 4, 9 / 16] };
@@ -29348,8 +29360,8 @@ var init_useTileLayout = __esm({
29348
29360
  edgeToEdge = false
29349
29361
  }) => {
29350
29362
  const vanillaStore = (0, import_react_sdk84.useHMSVanillaStore)();
29351
- const [ref, { width, height }] = (0, import_react_use33.useMeasure)();
29352
- const isMobile = (0, import_react_use33.useMedia)(config.media.lg);
29363
+ const [ref, { width, height }] = (0, import_react_use32.useMeasure)();
29364
+ const isMobile = (0, import_react_use32.useMedia)(config.media.lg);
29353
29365
  const [pagesWithTiles, setPagesWithTiles] = (0, import_react166.useState)([]);
29354
29366
  (0, import_react166.useEffect)(() => {
29355
29367
  if (width === 0 || height === 0) {
@@ -29421,7 +29433,7 @@ var init_useTileLayout = __esm({
29421
29433
  function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
29422
29434
  var _a8;
29423
29435
  const localPeer = (0, import_react_sdk85.useHMSStore)(import_react_sdk85.selectLocalPeer);
29424
- const isMobile = (0, import_react_use34.useMedia)(config.media.md);
29436
+ const isMobile = (0, import_react_use33.useMedia)(config.media.md);
29425
29437
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
29426
29438
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
29427
29439
  let pageList = usePagesWithTiles({
@@ -29462,13 +29474,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29462
29474
  }
29463
29475
  ), isInsetEnabled && pageList.length > 0 && pageList[0][0].peer.id !== (localPeer == null ? void 0 : localPeer.id) && /* @__PURE__ */ import_react167.default.createElement(InsetTile, null));
29464
29476
  }
29465
- var import_react167, import_react_use34, import_react_sdk85;
29477
+ var import_react167, import_react_use33, import_react_sdk85;
29466
29478
  var init_EqualProminence = __esm({
29467
29479
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx"() {
29468
29480
  "use strict";
29469
29481
  init_define_process_env();
29470
29482
  import_react167 = __toESM(require("react"));
29471
- import_react_use34 = require("react-use");
29483
+ import_react_use33 = require("react-use");
29472
29484
  import_react_sdk85 = require("@100mslive/react-sdk");
29473
29485
  init_Layout();
29474
29486
  init_Theme();
@@ -29570,13 +29582,13 @@ var init_ProminenceLayout = __esm({
29570
29582
  });
29571
29583
 
29572
29584
  // src/Prebuilt/components/SecondaryTiles.tsx
29573
- var import_react169, import_react_use35, import_react_sdk86, SecondaryTiles;
29585
+ var import_react169, import_react_use34, import_react_sdk86, SecondaryTiles;
29574
29586
  var init_SecondaryTiles = __esm({
29575
29587
  "src/Prebuilt/components/SecondaryTiles.tsx"() {
29576
29588
  "use strict";
29577
29589
  init_define_process_env();
29578
29590
  import_react169 = __toESM(require("react"));
29579
- import_react_use35 = require("react-use");
29591
+ import_react_use34 = require("react-use");
29580
29592
  import_react_sdk86 = require("@100mslive/react-sdk");
29581
29593
  init_ProminenceLayout();
29582
29594
  init_Theme();
@@ -29585,7 +29597,7 @@ var init_SecondaryTiles = __esm({
29585
29597
  init_constants();
29586
29598
  SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar }) => {
29587
29599
  var _a8, _b7;
29588
- const isMobile = (0, import_react_use35.useMedia)(config.media.md);
29600
+ const isMobile = (0, import_react_use34.useMedia)(config.media.md);
29589
29601
  const maxTileCount = isMobile ? 2 : 4;
29590
29602
  const [page, setPage] = (0, import_react169.useState)(0);
29591
29603
  const pinnedTrackId = (0, import_react_sdk86.useHMSStore)((0, import_react_sdk86.selectAppData)(APP_DATA.pinnedTrackId));
@@ -29696,7 +29708,7 @@ function RoleProminence({
29696
29708
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
29697
29709
  const localPeer = (0, import_react_sdk87.useHMSStore)(import_react_sdk87.selectLocalPeer);
29698
29710
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
29699
- const isMobile = (0, import_react_use36.useMedia)(config.media.md);
29711
+ const isMobile = (0, import_react_use35.useMedia)(config.media.md);
29700
29712
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
29701
29713
  maxTileCount = isMobile ? 4 : maxTileCount;
29702
29714
  const pageList = usePagesWithTiles({
@@ -29734,13 +29746,13 @@ function RoleProminence({
29734
29746
  }
29735
29747
  ), isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && /* @__PURE__ */ import_react171.default.createElement(InsetTile, null));
29736
29748
  }
29737
- var import_react171, import_react_use36, import_react_sdk87;
29749
+ var import_react171, import_react_use35, import_react_sdk87;
29738
29750
  var init_RoleProminence = __esm({
29739
29751
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx"() {
29740
29752
  "use strict";
29741
29753
  init_define_process_env();
29742
29754
  import_react171 = __toESM(require("react"));
29743
- import_react_use36 = require("react-use");
29755
+ import_react_use35 = require("react-use");
29744
29756
  import_react_sdk87 = require("@100mslive/react-sdk");
29745
29757
  init_Theme();
29746
29758
  init_InsetTile();
@@ -29919,13 +29931,13 @@ var init_ScreenshareDisplay = __esm({
29919
29931
  });
29920
29932
 
29921
29933
  // src/Prebuilt/components/ScreenshareTile.tsx
29922
- var import_react174, import_react_use37, import_screenfull2, import_react_sdk89, import_react_icons83, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
29934
+ var import_react174, import_react_use36, import_screenfull2, import_react_sdk89, import_react_icons83, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
29923
29935
  var init_ScreenshareTile = __esm({
29924
29936
  "src/Prebuilt/components/ScreenshareTile.tsx"() {
29925
29937
  "use strict";
29926
29938
  init_define_process_env();
29927
29939
  import_react174 = __toESM(require("react"));
29928
- import_react_use37 = require("react-use");
29940
+ import_react_use36 = require("react-use");
29929
29941
  import_screenfull2 = __toESM(require("screenfull"));
29930
29942
  import_react_sdk89 = require("@100mslive/react-sdk");
29931
29943
  import_react_icons83 = require("@100mslive/react-icons");
@@ -29955,11 +29967,11 @@ var init_ScreenshareTile = __esm({
29955
29967
  const peer = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectPeerByID)(peerId));
29956
29968
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
29957
29969
  const [isMouseHovered, setIsMouseHovered] = (0, import_react174.useState)(false);
29958
- const isMobile = (0, import_react_use37.useMedia)(config.media.md);
29970
+ const isMobile = (0, import_react_use36.useMedia)(config.media.md);
29959
29971
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
29960
29972
  const fullscreenRef = (0, import_react174.useRef)(null);
29961
29973
  const [fullscreen, setFullscreen] = (0, import_react174.useState)(false);
29962
- const isFullscreen = (0, import_react_use37.useFullscreen)(fullscreenRef, fullscreen, {
29974
+ const isFullscreen = (0, import_react_use36.useFullscreen)(fullscreenRef, fullscreen, {
29963
29975
  onClose: () => setFullscreen(false)
29964
29976
  });
29965
29977
  const isFullScreenSupported = import_screenfull2.default.isEnabled;
@@ -30042,13 +30054,13 @@ var init_ScreenshareTile = __esm({
30042
30054
  });
30043
30055
 
30044
30056
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
30045
- var import_react175, import_react_use38, import_react_sdk90, ScreenshareLayout;
30057
+ var import_react175, import_react_use37, import_react_sdk90, ScreenshareLayout;
30046
30058
  var init_ScreenshareLayout = __esm({
30047
30059
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx"() {
30048
30060
  "use strict";
30049
30061
  init_define_process_env();
30050
30062
  import_react175 = __toESM(require("react"));
30051
- import_react_use38 = require("react-use");
30063
+ import_react_use37 = require("react-use");
30052
30064
  import_react_sdk90 = require("@100mslive/react-sdk");
30053
30065
  init_Theme();
30054
30066
  init_InsetTile();
@@ -30066,7 +30078,7 @@ var init_ScreenshareLayout = __esm({
30066
30078
  const [page, setPage] = (0, import_react175.useState)(0);
30067
30079
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
30068
30080
  const activeSharePeer = peersSharing[page];
30069
- const isMobile = (0, import_react_use38.useMedia)(config.media.md);
30081
+ const isMobile = (0, import_react_use37.useMedia)(config.media.md);
30070
30082
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
30071
30083
  const secondaryPeers = (0, import_react175.useMemo)(() => {
30072
30084
  if (layoutMode === LayoutMode.SPOTLIGHT) {
@@ -30112,13 +30124,13 @@ var init_ScreenshareLayout = __esm({
30112
30124
  });
30113
30125
 
30114
30126
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
30115
- var import_react176, import_react_use39, import_react_sdk91, WhiteboardEmbed, WhiteboardLayout;
30127
+ var import_react176, import_react_use38, import_react_sdk91, WhiteboardEmbed, WhiteboardLayout;
30116
30128
  var init_WhiteboardLayout = __esm({
30117
30129
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx"() {
30118
30130
  "use strict";
30119
30131
  init_define_process_env();
30120
30132
  import_react176 = __toESM(require("react"));
30121
- import_react_use39 = require("react-use");
30133
+ import_react_use38 = require("react-use");
30122
30134
  import_react_sdk91 = require("@100mslive/react-sdk");
30123
30135
  init_Layout();
30124
30136
  init_Theme();
@@ -30129,7 +30141,7 @@ var init_WhiteboardLayout = __esm({
30129
30141
  init_useUISettings();
30130
30142
  init_constants();
30131
30143
  WhiteboardEmbed = () => {
30132
- const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30144
+ const isMobile = (0, import_react_use38.useMedia)(config.media.md);
30133
30145
  const { iframeRef } = (0, import_react_sdk91.useWhiteboard)(isMobile);
30134
30146
  return /* @__PURE__ */ import_react176.default.createElement(
30135
30147
  Box,
@@ -30165,7 +30177,7 @@ var init_WhiteboardLayout = __esm({
30165
30177
  const whiteboard = (0, import_react_sdk91.useHMSStore)(import_react_sdk91.selectWhiteboard);
30166
30178
  const whiteboardOwner = (0, import_react_sdk91.useHMSStore)((0, import_react_sdk91.selectPeerByCondition)((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
30167
30179
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
30168
- const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30180
+ const isMobile = (0, import_react_use38.useMedia)(config.media.md);
30169
30181
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
30170
30182
  const secondaryPeers = (0, import_react176.useMemo)(() => {
30171
30183
  if (layoutMode === LayoutMode.SPOTLIGHT) {
@@ -30807,7 +30819,8 @@ var init_HMSVideo = __esm({
30807
30819
  }
30808
30820
  },
30809
30821
  "& video::cue": {
30810
- color: "white",
30822
+ // default for on-surface-high
30823
+ color: "#EFF0FA",
30811
30824
  whiteSpace: "pre-line",
30812
30825
  fontSize: "$sm",
30813
30826
  fontStyle: "normal",
@@ -30908,13 +30921,13 @@ var init_SeekControl = __esm({
30908
30921
  });
30909
30922
 
30910
30923
  // src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx
30911
- var import_react187, import_react_use40, import_react_icons87, PlayPauseSeekControls, PlayPauseSeekOverlayControls;
30924
+ var import_react187, import_react_use39, import_react_icons87, PlayPauseSeekControls, PlayPauseSeekOverlayControls;
30912
30925
  var init_PlayPauseSeekControls = __esm({
30913
30926
  "src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx"() {
30914
30927
  "use strict";
30915
30928
  init_define_process_env();
30916
30929
  import_react187 = __toESM(require("react"));
30917
- import_react_use40 = require("react-use");
30930
+ import_react_use39 = require("react-use");
30918
30931
  import_react_icons87 = require("@100mslive/react-icons");
30919
30932
  init_Layout();
30920
30933
  init_Text2();
@@ -30953,7 +30966,7 @@ var init_PlayPauseSeekControls = __esm({
30953
30966
  showControls,
30954
30967
  hoverControlsVisible
30955
30968
  }) => {
30956
- const isMobile = (0, import_react_use40.useMedia)(config.media.md);
30969
+ const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30957
30970
  const isLandscape = useIsLandscape();
30958
30971
  if (!isMobile && !isLandscape) {
30959
30972
  return /* @__PURE__ */ import_react187.default.createElement(import_react187.default.Fragment, null, /* @__PURE__ */ import_react187.default.createElement(
@@ -31362,7 +31375,7 @@ function HLSAutoplayBlockedPrompt({
31362
31375
  unblockAutoPlay
31363
31376
  }) {
31364
31377
  const isLandscape = useIsLandscape();
31365
- const isMobile = (0, import_react_use41.useMedia)(config.media.md);
31378
+ const isMobile = (0, import_react_use40.useMedia)(config.media.md);
31366
31379
  if ((isMobile || isLandscape) && open) {
31367
31380
  return /* @__PURE__ */ import_react192.default.createElement(
31368
31381
  IconButton,
@@ -31414,13 +31427,13 @@ function HLSAutoplayBlockedPrompt({
31414
31427
  )))
31415
31428
  );
31416
31429
  }
31417
- var import_react192, import_react_use41, import_react_icons90;
31430
+ var import_react192, import_react_use40, import_react_icons90;
31418
31431
  var init_HLSAutoplayBlockedPrompt = __esm({
31419
31432
  "src/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.tsx"() {
31420
31433
  "use strict";
31421
31434
  init_define_process_env();
31422
31435
  import_react192 = __toESM(require("react"));
31423
- import_react_use41 = require("react-use");
31436
+ import_react_use40 = require("react-use");
31424
31437
  import_react_icons90 = require("@100mslive/react-icons");
31425
31438
  init_src();
31426
31439
  init_DialogContent2();
@@ -31455,7 +31468,7 @@ function HLSQualitySelector({
31455
31468
  isAuto,
31456
31469
  containerRef
31457
31470
  }) {
31458
- const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31471
+ const isMobile = (0, import_react_use41.useMedia)(config.media.md);
31459
31472
  const isLandscape = useIsLandscape();
31460
31473
  if (layers.length === 0) {
31461
31474
  return null;
@@ -31648,13 +31661,13 @@ function HLSQualitySelector({
31648
31661
  )
31649
31662
  )));
31650
31663
  }
31651
- var import_react194, import_react_use42, import_react_icons92, getQualityText, getBitrateText;
31664
+ var import_react194, import_react_use41, import_react_icons92, getQualityText, getBitrateText;
31652
31665
  var init_HLSQualitySelector = __esm({
31653
31666
  "src/Prebuilt/components/HMSVideo/HLSQualitySelector.tsx"() {
31654
31667
  "use strict";
31655
31668
  init_define_process_env();
31656
31669
  import_react194 = __toESM(require("react"));
31657
- import_react_use42 = require("react-use");
31670
+ import_react_use41 = require("react-use");
31658
31671
  import_react_icons92 = require("@100mslive/react-icons");
31659
31672
  init_src();
31660
31673
  init_Sheet2();
@@ -31741,13 +31754,13 @@ var HLSView_exports = {};
31741
31754
  __export(HLSView_exports, {
31742
31755
  default: () => HLSView_default
31743
31756
  });
31744
- var import_react196, import_react_use43, import_hls_player3, import_screenfull3, import_ts_pattern12, import_react_sdk97, import_react_icons94, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
31757
+ var import_react196, import_react_use42, import_hls_player3, import_screenfull3, import_ts_pattern12, import_react_sdk97, import_react_icons94, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
31745
31758
  var init_HLSView = __esm({
31746
31759
  "src/Prebuilt/layouts/HLSView.jsx"() {
31747
31760
  "use strict";
31748
31761
  init_define_process_env();
31749
31762
  import_react196 = __toESM(require("react"));
31750
- import_react_use43 = require("react-use");
31763
+ import_react_use42 = require("react-use");
31751
31764
  import_hls_player3 = require("@100mslive/hls-player");
31752
31765
  import_screenfull3 = __toESM(require("screenfull"));
31753
31766
  import_ts_pattern12 = require("ts-pattern");
@@ -31781,7 +31794,7 @@ var init_HLSView = __esm({
31781
31794
  const sidepane = (0, import_react_sdk97.useHMSStore)((0, import_react_sdk97.selectAppData)(APP_DATA.sidePane));
31782
31795
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
31783
31796
  const showChat = !!(elements == null ? void 0 : elements.chat);
31784
- const isMobile = (0, import_react_use43.useMedia)(config.media.md);
31797
+ const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31785
31798
  const hmsActions = (0, import_react_sdk97.useHMSActions)();
31786
31799
  (0, import_react196.useEffect)(() => {
31787
31800
  (0, import_ts_pattern12.match)({ sidepane, isMobile, showChat, isFullScreen }).with({ isFullScreen: true }, () => {
@@ -31820,8 +31833,8 @@ var init_HLSView = __esm({
31820
31833
  seekBackward: false
31821
31834
  });
31822
31835
  const [isPaused, setIsPaused] = (0, import_react196.useState)(false);
31823
- const [show, toggle] = (0, import_react_use43.useToggle)(false);
31824
- const lastHlsUrl = (0, import_react_use43.usePrevious)(hlsUrl);
31836
+ const [show, toggle] = (0, import_react_use42.useToggle)(false);
31837
+ const lastHlsUrl = (0, import_react_use42.usePrevious)(hlsUrl);
31825
31838
  const vanillaStore = (0, import_react_sdk97.useHMSVanillaStore)();
31826
31839
  const [controlsVisible, setControlsVisible] = (0, import_react196.useState)(true);
31827
31840
  const [isUserSelectedAuto, setIsUserSelectedAuto] = (0, import_react196.useState)(true);
@@ -31832,9 +31845,9 @@ var init_HLSView = __esm({
31832
31845
  const isFullScreenSupported = import_screenfull3.default.isEnabled;
31833
31846
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
31834
31847
  const showChat = !!(elements == null ? void 0 : elements.chat);
31835
- const isMobile = (0, import_react_use43.useMedia)(config.media.md);
31848
+ const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31836
31849
  const isLandscape = useIsLandscape();
31837
- const isFullScreen = (0, import_react_use43.useFullscreen)(hlsViewRef, show, {
31850
+ const isFullScreen = (0, import_react_use42.useFullscreen)(hlsViewRef, show, {
31838
31851
  onClose: () => toggle(false)
31839
31852
  });
31840
31853
  const [showLoader, setShowLoader] = (0, import_react196.useState)(false);
@@ -32480,13 +32493,13 @@ var init_VideoStreamingSection = __esm({
32480
32493
  });
32481
32494
 
32482
32495
  // src/Prebuilt/components/Header/RoomDetailsHeader.tsx
32483
- var import_react198, import_react_use44, import_react_icons95, RoomDetailsHeader;
32496
+ var import_react198, import_react_use43, import_react_icons95, RoomDetailsHeader;
32484
32497
  var init_RoomDetailsHeader = __esm({
32485
32498
  "src/Prebuilt/components/Header/RoomDetailsHeader.tsx"() {
32486
32499
  "use strict";
32487
32500
  init_define_process_env();
32488
32501
  import_react198 = __toESM(require("react"));
32489
- import_react_use44 = require("react-use");
32502
+ import_react_use43 = require("react-use");
32490
32503
  import_react_icons95 = require("@100mslive/react-icons");
32491
32504
  init_Layout();
32492
32505
  init_Text2();
@@ -32497,7 +32510,7 @@ var init_RoomDetailsHeader = __esm({
32497
32510
  init_constants();
32498
32511
  RoomDetailsHeader = () => {
32499
32512
  const { title, description } = useRoomLayoutHeader();
32500
- const isMobile = (0, import_react_use44.useMedia)(config.media.md);
32513
+ const isMobile = (0, import_react_use43.useMedia)(config.media.md);
32501
32514
  const clipLength = 30;
32502
32515
  const toggleDetailsPane = useSidepaneToggle(SIDE_PANE_OPTIONS.ROOM_DETAILS);
32503
32516
  const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
@@ -32675,13 +32688,13 @@ var init_common2 = __esm({
32675
32688
  });
32676
32689
 
32677
32690
  // src/Prebuilt/components/Header/Header.tsx
32678
- var import_react200, import_react_use45, import_react_sdk100, Header2;
32691
+ var import_react200, import_react_use44, import_react_sdk100, Header2;
32679
32692
  var init_Header = __esm({
32680
32693
  "src/Prebuilt/components/Header/Header.tsx"() {
32681
32694
  "use strict";
32682
32695
  init_define_process_env();
32683
32696
  import_react200 = __toESM(require("react"));
32684
- import_react_use45 = require("react-use");
32697
+ import_react_use44 = require("react-use");
32685
32698
  import_react_sdk100 = require("@100mslive/react-sdk");
32686
32699
  init_src();
32687
32700
  init_HeaderComponents();
@@ -32690,7 +32703,7 @@ var init_Header = __esm({
32690
32703
  init_common2();
32691
32704
  Header2 = () => {
32692
32705
  const roomState = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectRoomState);
32693
- const isMobile = (0, import_react_use45.useMedia)(config.media.md);
32706
+ const isMobile = (0, import_react_use44.useMedia)(config.media.md);
32694
32707
  if (roomState !== import_react_sdk100.HMSRoomState.Connected) {
32695
32708
  return /* @__PURE__ */ import_react200.default.createElement(import_react200.default.Fragment, null);
32696
32709
  }
@@ -33228,13 +33241,13 @@ var init_useRedirectToLeave = __esm({
33228
33241
  });
33229
33242
 
33230
33243
  // src/Prebuilt/AppStateContext.tsx
33231
- var import_react208, import_react_use46, import_ts_pattern14, import_react_sdk105, AppStateContext, useHMSAppStateContext, useAppStateManager;
33244
+ var import_react208, import_react_use45, import_ts_pattern14, import_react_sdk105, AppStateContext, useHMSAppStateContext, useAppStateManager;
33232
33245
  var init_AppStateContext = __esm({
33233
33246
  "src/Prebuilt/AppStateContext.tsx"() {
33234
33247
  "use strict";
33235
33248
  init_define_process_env();
33236
33249
  import_react208 = __toESM(require("react"));
33237
- import_react_use46 = require("react-use");
33250
+ import_react_use45 = require("react-use");
33238
33251
  import_ts_pattern14 = require("ts-pattern");
33239
33252
  import_react_sdk105 = require("@100mslive/react-sdk");
33240
33253
  init_VBHandler();
@@ -33258,7 +33271,7 @@ var init_AppStateContext = __esm({
33258
33271
  const roomLayout = useRoomLayout();
33259
33272
  const [activeState, setActiveState] = import_react208.default.useState();
33260
33273
  const roomState = (0, import_react_sdk105.useHMSStore)(import_react_sdk105.selectRoomState);
33261
- const prevRoomState = (0, import_react_use46.usePreviousDistinct)(roomState);
33274
+ const prevRoomState = (0, import_react_use45.usePreviousDistinct)(roomState);
33262
33275
  const { isLeaveScreenEnabled } = useRoomLayoutLeaveScreen();
33263
33276
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
33264
33277
  const { redirectToLeave } = useRedirectToLeave();
@@ -33355,13 +33368,13 @@ var init_LeaveScreen = __esm({
33355
33368
  });
33356
33369
 
33357
33370
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
33358
- var import_react210, import_react_use47, import_ts_pattern15, import_react_icons99, MwebLandscapePrompt;
33371
+ var import_react210, import_react_use46, import_ts_pattern15, import_react_icons99, MwebLandscapePrompt;
33359
33372
  var init_MwebLandscapePrompt = __esm({
33360
33373
  "src/Prebuilt/components/MwebLandscapePrompt.tsx"() {
33361
33374
  "use strict";
33362
33375
  init_define_process_env();
33363
33376
  import_react210 = __toESM(require("react"));
33364
- import_react_use47 = require("react-use");
33377
+ import_react_use46 = require("react-use");
33365
33378
  import_ts_pattern15 = require("ts-pattern");
33366
33379
  import_react_icons99 = require("@100mslive/react-icons");
33367
33380
  init_Button2();
@@ -33373,7 +33386,7 @@ var init_MwebLandscapePrompt = __esm({
33373
33386
  init_utils2();
33374
33387
  MwebLandscapePrompt = () => {
33375
33388
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = (0, import_react210.useState)(false);
33376
- const isLandscape = (0, import_react_use47.useMedia)(config.media.ls);
33389
+ const isLandscape = (0, import_react_use46.useMedia)(config.media.ls);
33377
33390
  const isLandscapeHLSStream = useLandscapeHLSStream();
33378
33391
  (0, import_react210.useEffect)(() => {
33379
33392
  var _a8;
@@ -33909,7 +33922,7 @@ function PermissionErrorModal() {
33909
33922
  const notification = (0, import_react_sdk112.useHMSNotifications)(import_react_sdk112.HMSNotificationTypes.ERROR);
33910
33923
  const [deviceType, setDeviceType] = (0, import_react217.useState)("");
33911
33924
  const [isSystemError, setIsSystemError] = (0, import_react217.useState)(false);
33912
- const isMobile = (0, import_react_use48.useMedia)(config.media.md);
33925
+ const isMobile = (0, import_react_use47.useMedia)(config.media.md);
33913
33926
  (0, import_react217.useEffect)(() => {
33914
33927
  var _a8, _b7, _c, _d, _e;
33915
33928
  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"))) {
@@ -33965,13 +33978,13 @@ function PermissionErrorModal() {
33965
33978
  !isMobile ? /* @__PURE__ */ import_react217.default.createElement(Flex, { justify: "end", css: { w: "100%" } }, /* @__PURE__ */ import_react217.default.createElement(Button, { outlined: true, variant: "standard", onClick: () => setDeviceType("") }, "Dismiss")) : null
33966
33979
  ))) : null;
33967
33980
  }
33968
- var import_react217, import_react_use48, import_react_sdk112;
33981
+ var import_react217, import_react_use47, import_react_sdk112;
33969
33982
  var init_PermissionErrorModal = __esm({
33970
33983
  "src/Prebuilt/components/Notifications/PermissionErrorModal.tsx"() {
33971
33984
  "use strict";
33972
33985
  init_define_process_env();
33973
33986
  import_react217 = __toESM(require("react"));
33974
- import_react_use48 = require("react-use");
33987
+ import_react_use47 = require("react-use");
33975
33988
  import_react_sdk112 = require("@100mslive/react-sdk");
33976
33989
  init_src();
33977
33990
  init_android_perm_1();
@@ -34356,13 +34369,13 @@ var init_Notifications2 = __esm({
34356
34369
  });
34357
34370
 
34358
34371
  // src/Prebuilt/components/Preview/PreviewScreen.tsx
34359
- var import_react223, import_react_use49, PreviewScreen;
34372
+ var import_react223, import_react_use48, PreviewScreen;
34360
34373
  var init_PreviewScreen = __esm({
34361
34374
  "src/Prebuilt/components/Preview/PreviewScreen.tsx"() {
34362
34375
  "use strict";
34363
34376
  init_define_process_env();
34364
34377
  import_react223 = __toESM(require("react"));
34365
- import_react_use49 = require("react-use");
34378
+ import_react_use48 = require("react-use");
34366
34379
  init_src();
34367
34380
  init_AppContext();
34368
34381
  init_roomLayoutProvider();
@@ -34375,7 +34388,7 @@ var init_PreviewScreen = __esm({
34375
34388
  var _a8, _b7, _c;
34376
34389
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
34377
34390
  const skipPreview = !isPreviewScreenEnabled;
34378
- const previewAsRole = (0, import_react_use49.useSearchParam)(QUERY_PARAM_PREVIEW_AS_ROLE);
34391
+ const previewAsRole = (0, import_react_use48.useSearchParam)(QUERY_PARAM_PREVIEW_AS_ROLE);
34379
34392
  const { userName } = useHMSPrebuiltContext();
34380
34393
  const initialName = userName || (skipPreview ? "Beam" : "");
34381
34394
  const authToken = useAuthToken();
@@ -34516,7 +34529,7 @@ function FlyingEmoji() {
34516
34529
  const localPeerId = (0, import_react_sdk120.useHMSStore)(import_react_sdk120.selectLocalPeerID);
34517
34530
  const vanillaStore = (0, import_react_sdk120.useHMSVanillaStore)();
34518
34531
  const [emojis, setEmojis] = (0, import_react228.useState)([]);
34519
- const isMobile = (0, import_react_use50.useMedia)(config.media.md);
34532
+ const isMobile = (0, import_react_use49.useMedia)(config.media.md);
34520
34533
  const startingPoints = (0, import_react228.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
34521
34534
  const showFlyingEmoji = (0, import_react228.useCallback)(
34522
34535
  ({ emojiId, senderId }) => {
@@ -34608,13 +34621,13 @@ function FlyingEmoji() {
34608
34621
  })
34609
34622
  );
34610
34623
  }
34611
- var import_react228, import_react_use50, import_react_sdk120, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
34624
+ var import_react228, import_react_use49, import_react_sdk120, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
34612
34625
  var init_FlyingEmoji = __esm({
34613
34626
  "src/Prebuilt/plugins/FlyingEmoji.jsx"() {
34614
34627
  "use strict";
34615
34628
  init_define_process_env();
34616
34629
  import_react228 = __toESM(require("react"));
34617
- import_react_use50 = require("react-use");
34630
+ import_react_use49 = require("react-use");
34618
34631
  import_react_sdk120 = require("@100mslive/react-sdk");
34619
34632
  init_Layout();
34620
34633
  init_Text2();