@100mslive/roomkit-react 0.2.6-alpha.3 → 0.2.6-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b45e290a-2d91-471b-9cef-374efcd3c5aa", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.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.9.6-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b45e290a-2d91-471b-9cef-374efcd3c5aa", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.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.12.6-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.6", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240212.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_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:19503", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.6-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7897125030", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e1e1ecc82a980ca298ecb36c81c35ab7500b06b4", 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: "f3f0abee6b9721ff06a24126511e80713371f9e33ef00a466da9e4d005901c0a", 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--1707890553873-0.45213674335187837:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707890553679-0.5145403068446215:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707890531884-0.24454757746692657:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707890531706-0.26349008949685615:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.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.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c4375215-07c9-47a0-b9c9-73a402851d81", INVOCATION_ID: "308080f47c9b474892b5d6e7311e07d9", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "433", 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 466", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.6-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.6-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_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: "e1e1ecc82a980ca298ecb36c81c35ab7500b06b4", 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_b45e290a-2d91-471b-9cef-374efcd3c5aa", 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.1-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b45e290a-2d91-471b-9cef-374efcd3c5aa", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b45e290a-2d91-471b-9cef-374efcd3c5aa" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9a4827e7-eced-4588-9c97-4f325af3a2c8", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.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.9.6-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9a4827e7-eced-4588-9c97-4f325af3a2c8", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.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.12.6-alpha.5", 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.6", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240212.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_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:19712", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.6-alpha.5", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7914876650", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "dd470c3002085468208fabc315a48ce80321e4ed", 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: "c56da603068025c63673c40323b17d7665a6253d4539c77ca475a9787e551077", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1707995048816-0.6398184987316133:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707995048616-0.6738475975355311:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707995026215-0.04888321381478433:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1707995026004-0.7403861673499561:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.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.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_a7a7f306-567d-40d0-8d83-8c22058863e8", INVOCATION_ID: "a397dcfd04564b058cf9b196dafb1e0a", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "435", 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 193", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.6-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.6-alpha.5", 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: "dd470c3002085468208fabc315a48ce80321e4ed", 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_9a4827e7-eced-4588-9c97-4f325af3a2c8", 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.1-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9a4827e7-eced-4588-9c97-4f325af3a2c8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9a4827e7-eced-4588-9c97-4f325af3a2c8" };
110
110
  }
111
111
  });
112
112
 
@@ -11907,12 +11907,14 @@ import {
11907
11907
  // src/Prebuilt/components/AppData/AppData.tsx
11908
11908
  init_define_process_env();
11909
11909
  import React23, { useEffect as useEffect5 } from "react";
11910
+ import { useMedia } from "react-use";
11910
11911
  import {
11911
11912
  HMSRoomState,
11912
11913
  selectFullAppData,
11913
11914
  selectHLSState,
11914
11915
  selectRoomState,
11915
11916
  selectRTMPState,
11917
+ useAVToggle,
11916
11918
  useHMSActions as useHMSActions4,
11917
11919
  useHMSStore as useHMSStore5,
11918
11920
  useRecordingStreaming
@@ -12524,6 +12526,8 @@ var AppData = React23.memo(() => {
12524
12526
  const appData = useHMSStore5(selectFullAppData);
12525
12527
  const { elements } = useRoomLayoutConferencingScreen();
12526
12528
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
12529
+ const isMobile = useMedia(config.media.md);
12530
+ const { isLocalVideoEnabled } = useAVToggle();
12527
12531
  useEffect5(() => {
12528
12532
  hmsActions.initAppData(__spreadValues(__spreadValues({}, initialAppData), appData));
12529
12533
  hmsActions.setFrameworkInfo({
@@ -12556,9 +12560,11 @@ var AppData = React23.memo(() => {
12556
12560
  });
12557
12561
  if (defaultMediaURL) {
12558
12562
  hmsActions.setAppData(APP_DATA.background, defaultMediaURL);
12559
- toggleVB();
12563
+ if (isLocalVideoEnabled && !isMobile) {
12564
+ toggleVB();
12565
+ }
12560
12566
  }
12561
- }, [hmsActions, (_a8 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _a8.background_media, toggleVB]);
12567
+ }, [hmsActions, (_a8 = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _a8.background_media, toggleVB, isLocalVideoEnabled, isMobile]);
12562
12568
  return /* @__PURE__ */ React23.createElement(ResetStreamingStart, null);
12563
12569
  });
12564
12570
  var ResetStreamingStart = () => {
@@ -12745,9 +12751,9 @@ import {
12745
12751
  // src/Prebuilt/components/Footer/Footer.tsx
12746
12752
  init_define_process_env();
12747
12753
  import React77, { useEffect as useEffect18 } from "react";
12748
- import { useMedia as useMedia9 } from "react-use";
12754
+ import { useMedia as useMedia10 } from "react-use";
12749
12755
  import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
12750
- import { useAVToggle as useAVToggle3 } from "@100mslive/react-sdk";
12756
+ import { useAVToggle as useAVToggle4 } from "@100mslive/react-sdk";
12751
12757
 
12752
12758
  // src/Prebuilt/components/AudioVideoToggle.jsx
12753
12759
  init_define_process_env();
@@ -12758,7 +12764,7 @@ import {
12758
12764
  selectLocalVideoTrackID,
12759
12765
  selectRoomState as selectRoomState2,
12760
12766
  selectVideoTrackByID,
12761
- useAVToggle,
12767
+ useAVToggle as useAVToggle2,
12762
12768
  useDevices,
12763
12769
  useHMSActions as useHMSActions6,
12764
12770
  useHMSStore as useHMSStore6
@@ -12975,7 +12981,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
12975
12981
  ),
12976
12982
  title: audioInput2.label
12977
12983
  }));
12978
- const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle();
12984
+ const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle2();
12979
12985
  const actions = useHMSActions6();
12980
12986
  const videoTrackId = useHMSStore6(selectLocalVideoTrackID);
12981
12987
  const localVideoTrack = useHMSStore6(selectVideoTrackByID(videoTrackId));
@@ -13049,7 +13055,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
13049
13055
  // src/Prebuilt/components/EmojiReaction.jsx
13050
13056
  init_define_process_env();
13051
13057
  import React29, { Fragment as Fragment3, useState as useState7 } from "react";
13052
- import { useMedia } from "react-use";
13058
+ import { useMedia as useMedia2 } from "react-use";
13053
13059
  import data from "@emoji-mart/data/sets/14/apple.json";
13054
13060
  import { init } from "emoji-mart";
13055
13061
  import {
@@ -13113,7 +13119,7 @@ var EmojiReaction = () => {
13113
13119
  useDropdownList({ open, name: "EmojiReaction" });
13114
13120
  const roles = useHMSStore7(selectAvailableRoleNames);
13115
13121
  const localPeerId = useHMSStore7(selectLocalPeerID);
13116
- const isMobile = useMedia(config.media.md);
13122
+ const isMobile = useMedia2(config.media.md);
13117
13123
  const { sendEvent } = useCustomEvent({
13118
13124
  type: EMOJI_REACTION_TYPE
13119
13125
  });
@@ -13136,7 +13142,7 @@ var EmojiReaction = () => {
13136
13142
  // src/Prebuilt/components/Leave/LeaveRoom.tsx
13137
13143
  init_define_process_env();
13138
13144
  import React36 from "react";
13139
- import { useMedia as useMedia2 } from "react-use";
13145
+ import { useMedia as useMedia3 } from "react-use";
13140
13146
  import {
13141
13147
  selectHLSState as selectHLSState2,
13142
13148
  selectIsConnectedToRoom as selectIsConnectedToRoom4,
@@ -13576,7 +13582,7 @@ var MwebLeaveRoom = ({
13576
13582
  var LeaveRoom = ({ screenType }) => {
13577
13583
  const isConnected = useHMSStore10(selectIsConnectedToRoom4);
13578
13584
  const permissions = useHMSStore10(selectPermissions4);
13579
- const isMobile = useMedia2(config.media.md);
13585
+ const isMobile = useMedia3(config.media.md);
13580
13586
  const rolesMap = useHMSStore10(selectRolesMap);
13581
13587
  const streamingPermissionRoles = Object.keys(rolesMap).filter((roleName) => {
13582
13588
  const roleObj = rolesMap[roleName];
@@ -13617,7 +13623,7 @@ var LeaveRoom = ({ screenType }) => {
13617
13623
  // src/Prebuilt/components/MoreSettings/MoreSettings.tsx
13618
13624
  init_define_process_env();
13619
13625
  import React59 from "react";
13620
- import { useMedia as useMedia7 } from "react-use";
13626
+ import { useMedia as useMedia8 } from "react-use";
13621
13627
 
13622
13628
  // src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx
13623
13629
  init_define_process_env();
@@ -14340,13 +14346,13 @@ var RoleChangeModal = ({ peerId, onOpenChange }) => {
14340
14346
  // src/Prebuilt/components/Settings/SettingsModal.jsx
14341
14347
  init_define_process_env();
14342
14348
  import React43, { useCallback as useCallback8, useEffect as useEffect11, useState as useState14 } from "react";
14343
- import { useMedia as useMedia4 } from "react-use";
14349
+ import { useMedia as useMedia5 } from "react-use";
14344
14350
  import { ChevronLeftIcon, CrossIcon as CrossIcon5, GridFourIcon, NotificationsIcon, SettingsIcon } from "@100mslive/react-icons";
14345
14351
 
14346
14352
  // src/Prebuilt/components/Settings/DeviceSettings.jsx
14347
14353
  init_define_process_env();
14348
14354
  import React41, { Fragment as Fragment6, useEffect as useEffect10, useRef as useRef8, useState as useState13 } from "react";
14349
- import { useMedia as useMedia3 } from "react-use";
14355
+ import { useMedia as useMedia4 } from "react-use";
14350
14356
  import {
14351
14357
  DeviceType as DeviceType2,
14352
14358
  selectIsLocalVideoEnabled as selectIsLocalVideoEnabled3,
@@ -14417,7 +14423,7 @@ var Settings = ({ setHide }) => {
14417
14423
  const trackSelector = selectVideoTrackByID2(videoTrackId);
14418
14424
  const hmsActions = useHMSActions10();
14419
14425
  const track = useHMSStore14(trackSelector);
14420
- const isMobile = useMedia3(config.media.md);
14426
+ const isMobile = useMedia4(config.media.md);
14421
14427
  useEffect10(() => {
14422
14428
  if (isMobile) {
14423
14429
  hmsActions.refreshDevices();
@@ -14659,7 +14665,7 @@ var settingsList = [
14659
14665
  ];
14660
14666
  var SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ */ React43.createElement(React43.Fragment, null) }) => {
14661
14667
  const mediaQueryLg = config.media.md;
14662
- const isMobile = useMedia4(mediaQueryLg);
14668
+ const isMobile = useMedia5(mediaQueryLg);
14663
14669
  const [showSetting, setShowSetting] = useState14(
14664
14670
  () => settingsList.reduce((obj, { tabName }) => __spreadProps(__spreadValues({}, obj), { [tabName]: true }), {})
14665
14671
  );
@@ -15798,7 +15804,7 @@ import {
15798
15804
  selectIsConnectedToRoom as selectIsConnectedToRoom7,
15799
15805
  selectPeerCount as selectPeerCount2,
15800
15806
  selectPermissions as selectPermissions7,
15801
- useAVToggle as useAVToggle2,
15807
+ useAVToggle as useAVToggle3,
15802
15808
  useHMSActions as useHMSActions20,
15803
15809
  useHMSStore as useHMSStore25,
15804
15810
  useRecordingStreaming as useRecordingStreaming6
@@ -15814,14 +15820,13 @@ import {
15814
15820
  QuizActiveIcon,
15815
15821
  QuizIcon,
15816
15822
  RecordIcon as RecordIcon2,
15817
- SettingsIcon as SettingsIcon3,
15818
- VirtualBackgroundIcon
15823
+ SettingsIcon as SettingsIcon3
15819
15824
  } from "@100mslive/react-icons";
15820
15825
 
15821
15826
  // src/Prebuilt/components/Header/StreamActions.tsx
15822
15827
  init_define_process_env();
15823
15828
  import React54, { useCallback as useCallback16, useEffect as useEffect14, useRef as useRef12, useState as useState23 } from "react";
15824
- import { useMedia as useMedia5 } from "react-use";
15829
+ import { useMedia as useMedia6 } from "react-use";
15825
15830
 
15826
15831
  // ../hms-video-store/dist/index.js
15827
15832
  init_define_process_env();
@@ -18042,7 +18047,7 @@ var Qi = (a2, e) => {
18042
18047
  };
18043
18048
  var ya = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18044
18049
  var nr = ya((Qc, Va) => {
18045
- Va.exports = { version: "0.11.6-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
18050
+ Va.exports = { version: "0.11.6-alpha.5", 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"] };
18046
18051
  });
18047
18052
  var zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
18048
18053
  var Pa = ((e) => (e.CHAT = "chat", e))(Pa || {});
@@ -19378,7 +19383,7 @@ var LiveStatus = () => {
19378
19383
  var _a8;
19379
19384
  const { isHLSRunning, isRTMPRunning } = useRecordingStreaming5();
19380
19385
  const hlsState = useHMSStore22(selectHLSState3);
19381
- const isMobile = useMedia5(config.media.md);
19386
+ const isMobile = useMedia6(config.media.md);
19382
19387
  const intervalRef = useRef12(null);
19383
19388
  const { screenType } = useRoomLayoutConferencingScreen();
19384
19389
  const [liveTime, setLiveTime] = useState23(0);
@@ -19425,7 +19430,7 @@ var LiveStatus = () => {
19425
19430
  var RecordingStatus = () => {
19426
19431
  const { isBrowserRecordingOn, isServerRecordingOn, isHLSRecordingOn, isRecordingOn } = useRecordingStreaming5();
19427
19432
  const permissions = useHMSStore22(selectPermissions6);
19428
- const isMobile = useMedia5(config.media.md);
19433
+ const isMobile = useMedia6(config.media.md);
19429
19434
  if (!isRecordingOn || // if only browser recording is enabled, stop recording is shown
19430
19435
  // so no need to show this as it duplicates
19431
19436
  [permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
@@ -19552,7 +19557,7 @@ var StartRecording2 = () => {
19552
19557
  };
19553
19558
  var StreamActions = () => {
19554
19559
  const isConnected = useHMSStore22(selectIsConnectedToRoom6);
19555
- const isMobile = useMedia5(config.media.md);
19560
+ const isMobile = useMedia6(config.media.md);
19556
19561
  const roomState = useHMSStore22(selectRoomState3);
19557
19562
  return /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(AdditionalRoomState, null), !isMobile && /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(RecordingPauseStatus, null), /* @__PURE__ */ React54.createElement(RecordingStatus, null), roomState !== HMSRoomState3.Preview ? /* @__PURE__ */ React54.createElement(LiveStatus, null) : null), isConnected && !isMobile ? /* @__PURE__ */ React54.createElement(StartRecording2, null) : null);
19558
19563
  };
@@ -19634,7 +19639,7 @@ var ActionTile = {
19634
19639
  // src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx
19635
19640
  init_define_process_env();
19636
19641
  import React57, { useState as useState24 } from "react";
19637
- import { useMedia as useMedia6 } from "react-use";
19642
+ import { useMedia as useMedia7 } from "react-use";
19638
19643
  import { selectLocalPeerName, useHMSActions as useHMSActions19, useHMSStore as useHMSStore23 } from "@100mslive/react-sdk";
19639
19644
 
19640
19645
  // src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx
@@ -19753,7 +19758,7 @@ var ChangeNameModal = ({
19753
19758
  const hmsActions = useHMSActions19();
19754
19759
  const localPeerName = useHMSStore23(selectLocalPeerName);
19755
19760
  const [currentName, setCurrentName] = useState24(localPeerName);
19756
- const isMobile = useMedia6(config.media.md);
19761
+ const isMobile = useMedia7(config.media.md);
19757
19762
  const changeName = () => __async(void 0, null, function* () {
19758
19763
  const name = (currentName == null ? void 0 : currentName.trim()) || "";
19759
19764
  if (!name || name === localPeerName) {
@@ -19838,10 +19843,9 @@ var MwebOptions = ({
19838
19843
  const peerCount = useHMSStore25(selectPeerCount2);
19839
19844
  const emojiCardRef = useRef13(null);
19840
19845
  const { isBRBOn, toggleBRB, isHandRaised, toggleHandRaise } = useMyMetadata();
19841
- const { toggleAudio, toggleVideo, isLocalVideoEnabled } = useAVToggle2();
19846
+ const { toggleAudio, toggleVideo } = useAVToggle3();
19842
19847
  const noAVPermissions = !(toggleAudio || toggleVideo);
19843
19848
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
19844
- const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
19845
19849
  useDropdownList({ open: openModals.size > 0 || openOptionsSheet || openSettingsSheet, name: "MoreSettings" });
19846
19850
  const updateState = (modalName, value) => {
19847
19851
  setOpenModals((modals) => {
@@ -19910,17 +19914,6 @@ var MwebOptions = ({
19910
19914
  isHandRaised ? /* @__PURE__ */ React58.createElement(HandRaiseSlashedIcon, null) : /* @__PURE__ */ React58.createElement(HandIcon2, null),
19911
19915
  /* @__PURE__ */ React58.createElement(ActionTile.Title, null, isHandRaised ? "Lower" : "Raise", " Hand")
19912
19916
  ) : null,
19913
- isLocalVideoEnabled && !!(elements == null ? void 0 : elements.virtual_background) ? /* @__PURE__ */ React58.createElement(
19914
- ActionTile.Root,
19915
- {
19916
- onClick: () => {
19917
- toggleVB();
19918
- setOpenOptionsSheet(false);
19919
- }
19920
- },
19921
- /* @__PURE__ */ React58.createElement(VirtualBackgroundIcon, null),
19922
- /* @__PURE__ */ React58.createElement(ActionTile.Title, null, "Virtual Background")
19923
- ) : null,
19924
19917
  (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ React58.createElement(
19925
19918
  ActionTile.Root,
19926
19919
  {
@@ -20061,7 +20054,7 @@ var MoreSettings = ({
20061
20054
  elements,
20062
20055
  screenType
20063
20056
  }) => {
20064
- const isMobile = useMedia7(config.media.md);
20057
+ const isMobile = useMedia8(config.media.md);
20065
20058
  return isMobile ? /* @__PURE__ */ React59.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ React59.createElement(DesktopOptions, { elements, screenType });
20066
20059
  };
20067
20060
 
@@ -20566,7 +20559,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
20566
20559
  init_define_process_env();
20567
20560
  import React68 from "react";
20568
20561
  import { selectIsEffectsEnabled, selectIsLocalVideoEnabled as selectIsLocalVideoEnabled4, useHMSStore as useHMSStore27 } from "@100mslive/react-sdk";
20569
- import { VirtualBackgroundIcon as VirtualBackgroundIcon2 } from "@100mslive/react-icons";
20562
+ import { VirtualBackgroundIcon } from "@100mslive/react-icons";
20570
20563
  var VBToggle = () => {
20571
20564
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
20572
20565
  const isVBOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.VB);
@@ -20575,7 +20568,7 @@ var VBToggle = () => {
20575
20568
  if (!isVideoOn || !isEffectsEnabled && isSafari) {
20576
20569
  return null;
20577
20570
  }
20578
- return /* @__PURE__ */ React68.createElement(Tooltip, { side: "top", disabled: isVBOpen, title: "Configure Virtual Background" }, /* @__PURE__ */ React68.createElement(IconButton_default, { active: !isVBOpen, onClick: toggleVB, "data-testid": "virtual_bg_btn" }, /* @__PURE__ */ React68.createElement(VirtualBackgroundIcon2, null)));
20571
+ return /* @__PURE__ */ React68.createElement(Tooltip, { side: "top", disabled: isVBOpen, title: "Configure Virtual Background" }, /* @__PURE__ */ React68.createElement(IconButton_default, { active: !isVBOpen, onClick: toggleVB, "data-testid": "virtual_bg_btn" }, /* @__PURE__ */ React68.createElement(VirtualBackgroundIcon, null)));
20579
20572
  };
20580
20573
 
20581
20574
  // src/Prebuilt/components/Footer/ChatToggle.tsx
@@ -20618,7 +20611,7 @@ var ChatToggle = () => {
20618
20611
  // src/Prebuilt/components/Footer/ParticipantList.tsx
20619
20612
  init_define_process_env();
20620
20613
  import React74, { Fragment as Fragment10, useCallback as useCallback17, useState as useState30 } from "react";
20621
- import { useDebounce, useMedia as useMedia8 } from "react-use";
20614
+ import { useDebounce, useMedia as useMedia9 } from "react-use";
20622
20615
  import {
20623
20616
  selectHandRaisedPeers,
20624
20617
  selectHasPeerHandRaised as selectHasPeerHandRaised2,
@@ -21303,7 +21296,7 @@ var ParticipantSearch = ({
21303
21296
  inSidePane = false
21304
21297
  }) => {
21305
21298
  const [value, setValue] = React74.useState("");
21306
- const isMobile = useMedia8(config.media.md);
21299
+ const isMobile = useMedia9(config.media.md);
21307
21300
  useDebounce(
21308
21301
  () => {
21309
21302
  onSearch(value);
@@ -21406,10 +21399,10 @@ var Footer2 = ({
21406
21399
  elements
21407
21400
  }) => {
21408
21401
  var _a8, _b7;
21409
- const isMobile = useMedia9(config.media.md);
21402
+ const isMobile = useMedia10(config.media.md);
21410
21403
  const isOverlayChat = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay);
21411
21404
  const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === Chat_ChatState.CHAT_STATE_OPEN;
21412
- const { toggleAudio, toggleVideo } = useAVToggle3();
21405
+ const { toggleAudio, toggleVideo } = useAVToggle4();
21413
21406
  const noAVPermissions = !(toggleAudio || toggleVideo);
21414
21407
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
21415
21408
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
@@ -21528,14 +21521,14 @@ import {
21528
21521
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
21529
21522
  init_define_process_env();
21530
21523
  import React128, { Fragment as Fragment13, useCallback as useCallback30, useEffect as useEffect31, useMemo as useMemo10, useState as useState52 } from "react";
21531
- import { useMeasure as useMeasure4, useMedia as useMedia22 } from "react-use";
21524
+ import { useMeasure as useMeasure4, useMedia as useMedia23 } from "react-use";
21532
21525
  import {
21533
21526
  HMSRoomState as HMSRoomState5,
21534
21527
  selectIsLocalVideoEnabled as selectIsLocalVideoEnabled6,
21535
21528
  selectLocalPeer as selectLocalPeer7,
21536
21529
  selectRoomState as selectRoomState5,
21537
21530
  selectVideoTrackByID as selectVideoTrackByID5,
21538
- useAVToggle as useAVToggle4,
21531
+ useAVToggle as useAVToggle5,
21539
21532
  useHMSStore as useHMSStore64,
21540
21533
  useParticipants as useParticipants2,
21541
21534
  usePreviewJoin,
@@ -21546,7 +21539,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon5 } from "@100ms
21546
21539
  // src/Prebuilt/layouts/SidePane.tsx
21547
21540
  init_define_process_env();
21548
21541
  import React123, { useEffect as useEffect29 } from "react";
21549
- import { useMedia as useMedia20 } from "react-use";
21542
+ import { useMedia as useMedia21 } from "react-use";
21550
21543
  import { selectAppData as selectAppData5, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore62 } from "@100mslive/react-sdk";
21551
21544
 
21552
21545
  // src/Prebuilt/components/Polls/Polls.tsx
@@ -23037,21 +23030,21 @@ var Polls = () => {
23037
23030
  // src/Prebuilt/components/SidePaneTabs.tsx
23038
23031
  init_define_process_env();
23039
23032
  import React115, { useEffect as useEffect27, useState as useState47 } from "react";
23040
- import { useMedia as useMedia17 } from "react-use";
23033
+ import { useMedia as useMedia18 } from "react-use";
23041
23034
  import { selectPeerCount as selectPeerCount4, useHMSStore as useHMSStore56 } from "@100mslive/react-sdk";
23042
23035
  import { CrossIcon as CrossIcon17 } from "@100mslive/react-icons";
23043
23036
 
23044
23037
  // src/Prebuilt/components/Chat/Chat.tsx
23045
23038
  init_define_process_env();
23046
23039
  import React112, { useCallback as useCallback28, useRef as useRef20 } from "react";
23047
- import { useMedia as useMedia16 } from "react-use";
23040
+ import { useMedia as useMedia17 } from "react-use";
23048
23041
  import { selectHMSMessagesCount, useHMSActions as useHMSActions37, useHMSStore as useHMSStore53, useHMSVanillaStore as useHMSVanillaStore10 } from "@100mslive/react-sdk";
23049
23042
  import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
23050
23043
 
23051
23044
  // src/Prebuilt/components/Chat/ChatBody.tsx
23052
23045
  init_define_process_env();
23053
23046
  import React104, { Fragment as Fragment11, useCallback as useCallback24, useEffect as useEffect22, useLayoutEffect, useMemo as useMemo7, useRef as useRef17, useState as useState41 } from "react";
23054
- import { useMedia as useMedia11 } from "react-use";
23047
+ import { useMedia as useMedia12 } from "react-use";
23055
23048
  import AutoSizer from "react-virtualized-auto-sizer";
23056
23049
  import { VariableSizeList } from "react-window";
23057
23050
  import {
@@ -23378,7 +23371,7 @@ var ChatActions = ({
23378
23371
  // src/Prebuilt/components/Chat/EmptyChat.tsx
23379
23372
  init_define_process_env();
23380
23373
  import React103 from "react";
23381
- import { useMedia as useMedia10 } from "react-use";
23374
+ import { useMedia as useMedia11 } from "react-use";
23382
23375
 
23383
23376
  // src/Prebuilt/images/empty-chat.svg
23384
23377
  var empty_chat_default = 'data:image/svg+xml,<svg width="184" height="133" viewBox="0 0 184 133" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M144.885 91.3998C145.318 91.023 145.861 90.7947 146.433 90.7483L146.446 90.7473L169.355 89.1614C169.702 89.1376 170.049 89.2101 170.358 89.3712C170.662 89.5305 170.918 89.7702 171.096 90.0642C171.098 90.0672 171.1 90.0703 171.102 90.0734L171.104 90.0766C171.281 90.3744 171.373 90.7154 171.369 91.062C171.365 91.4097 171.265 91.7496 171.08 92.044L158.85 111.504C158.539 111.986 158.081 112.356 157.544 112.56C157.007 112.764 156.419 112.791 155.866 112.636C155.313 112.482 154.823 112.155 154.469 111.703C154.115 111.25 153.915 110.697 153.898 110.123C153.898 110.109 153.898 110.094 153.898 110.08L153.996 100.307L145.347 95.7858C145.334 95.779 145.321 95.7721 145.308 95.7649C144.811 95.4785 144.417 95.0404 144.186 94.5146C143.955 93.9888 143.898 93.4029 144.024 92.8425C144.15 92.2821 144.451 91.7765 144.885 91.3998ZM167.441 91.0088L146.603 92.8952C146.49 92.9053 146.383 92.9508 146.298 93.0251C146.211 93.1005 146.151 93.2016 146.125 93.3137C146.1 93.4257 146.112 93.5429 146.158 93.6481C146.202 93.7484 146.276 93.8327 146.369 93.89L155.26 98.296L167.441 91.0088ZM156.32 100.171L168.547 92.8564L157.039 110.339C156.976 110.434 156.886 110.506 156.78 110.547C156.673 110.587 156.555 110.593 156.444 110.562C156.334 110.531 156.236 110.466 156.165 110.375C156.097 110.289 156.058 110.184 156.052 110.075L156.32 100.171Z" fill="%23444954"/>%0A<path d="M83.3248 35.4156C71.7182 47.1017 51.2098 75.5175 62.0292 95.6918C75.5536 120.91 140.453 79.2983 115.364 67.6657C90.2756 56.0331 65.8818 122.018 101.568 120.391C116.398 118.62 131.221 114.699 145.703 105.512" stroke="%23293042" stroke-width="2.25" stroke-dasharray="6 6"/>%0A<rect x="0.00256348" y="0.5" width="173.524" height="58.3398" rx="29.1699" fill="%23272A31"/>%0A<g opacity="0.4">%0A<rect x="24.7526" y="20.9312" width="111" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<g opacity="0.4">%0A<rect x="38.2526" y="34.4312" width="110.25" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<path d="M40.3918 71.5547L28.4246 55.0999L52.3589 55.0999L40.3918 71.5547Z" fill="%23272A31"/>%0A</svg>%0A';
@@ -23388,7 +23381,7 @@ var EmptyChat = () => {
23388
23381
  var _a8;
23389
23382
  const { elements } = useRoomLayoutConferencingScreen();
23390
23383
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
23391
- const isMobile = useMedia10(config.media.md);
23384
+ const isMobile = useMedia11(config.media.md);
23392
23385
  const canSendMessages = elements.chat && (elements.chat.public_chat_enabled || elements.chat.private_chat_enabled || elements.chat.roles_whitelist && elements.chat.roles_whitelist.length) && !isLocalPeerBlacklisted;
23393
23386
  if (isMobile && ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay))
23394
23387
  return /* @__PURE__ */ React103.createElement(React103.Fragment, null);
@@ -23549,7 +23542,7 @@ var ChatMessage = React104.memo(
23549
23542
  var _a8, _b7, _c;
23550
23543
  const { elements } = useRoomLayoutConferencingScreen();
23551
23544
  const rowRef = useRef17(null);
23552
- const isMobile = useMedia11(config.media.md);
23545
+ const isMobile = useMedia12(config.media.md);
23553
23546
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
23554
23547
  const isOverlay = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
23555
23548
  const localPeerId = useHMSStore47(selectLocalPeerID10);
@@ -23819,7 +23812,7 @@ var PinnedBy = ({
23819
23812
  // src/Prebuilt/components/Chat/ChatFooter.tsx
23820
23813
  init_define_process_env();
23821
23814
  import React107, { useCallback as useCallback26, useEffect as useEffect24, useRef as useRef19, useState as useState44 } from "react";
23822
- import { useMedia as useMedia14 } from "react-use";
23815
+ import { useMedia as useMedia15 } from "react-use";
23823
23816
  import data2 from "@emoji-mart/data";
23824
23817
  import Picker from "@emoji-mart/react";
23825
23818
  import { selectLocalPeer as selectLocalPeer3, useHMSActions as useHMSActions35, useHMSStore as useHMSStore50 } from "@100mslive/react-sdk";
@@ -23828,13 +23821,13 @@ import { EmojiIcon as EmojiIcon3, PauseCircleIcon as PauseCircleIcon2, SendIcon,
23828
23821
  // src/Prebuilt/components/Chat/ChatSelectorContainer.tsx
23829
23822
  init_define_process_env();
23830
23823
  import React106, { useState as useState43 } from "react";
23831
- import { useMedia as useMedia13 } from "react-use";
23824
+ import { useMedia as useMedia14 } from "react-use";
23832
23825
  import { ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon as ChevronUpIcon5, CrossIcon as CrossIcon15, GroupIcon, PersonIcon as PersonIcon2 } from "@100mslive/react-icons";
23833
23826
 
23834
23827
  // src/Prebuilt/components/Chat/ChatSelector.tsx
23835
23828
  init_define_process_env();
23836
23829
  import React105, { useMemo as useMemo8, useState as useState42 } from "react";
23837
- import { useMedia as useMedia12 } from "react-use";
23830
+ import { useMedia as useMedia13 } from "react-use";
23838
23831
  import {
23839
23832
  selectMessagesUnreadCountByPeerID,
23840
23833
  selectMessagesUnreadCountByRole,
@@ -23853,7 +23846,7 @@ var SelectorItem = ({
23853
23846
  unreadCount,
23854
23847
  icon = void 0
23855
23848
  }) => {
23856
- const isMobile = useMedia12(config.media.md);
23849
+ const isMobile = useMedia13(config.media.md);
23857
23850
  const Root28 = !isMobile ? Dropdown.Item : (_a8) => {
23858
23851
  var _b7 = _a8, { children } = _b7, rest = __objRest(_b7, ["children"]);
23859
23852
  return /* @__PURE__ */ React105.createElement(Flex, __spreadProps(__spreadValues({}, rest), { css: __spreadValues({ p: "$6 $8" }, rest.css) }), children);
@@ -24004,7 +23997,7 @@ var ChatSelector = ({ role, peerId }) => {
24004
23997
  var ChatSelectorContainer = () => {
24005
23998
  var _a8, _b7;
24006
23999
  const [open, setOpen] = useState43(false);
24007
- const isMobile = useMedia13(config.media.md);
24000
+ const isMobile = useMedia14(config.media.md);
24008
24001
  const { elements } = useRoomLayoutConferencingScreen();
24009
24002
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
24010
24003
  const isPublicChatEnabled = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled);
@@ -24221,7 +24214,7 @@ var ChatFooter = ({ onSend, children }) => {
24221
24214
  const hmsActions = useHMSActions35();
24222
24215
  const inputRef = useRef19(null);
24223
24216
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
24224
- const isMobile = useMedia14(config.media.md);
24217
+ const isMobile = useMedia15(config.media.md);
24225
24218
  const { elements } = useRoomLayoutConferencingScreen();
24226
24219
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
24227
24220
  const localPeer = useHMSStore50(selectLocalPeer3);
@@ -24448,7 +24441,7 @@ var ChatBlocked = () => {
24448
24441
  init_define_process_env();
24449
24442
  import React111, { useEffect as useEffect25, useState as useState45 } from "react";
24450
24443
  import { useSwipeable } from "react-swipeable";
24451
- import { useMedia as useMedia15 } from "react-use";
24444
+ import { useMedia as useMedia16 } from "react-use";
24452
24445
  import { selectSessionStore as selectSessionStore7, useHMSStore as useHMSStore52 } from "@100mslive/react-sdk";
24453
24446
  import { PinIcon as PinIcon2, UnpinIcon } from "@100mslive/react-icons";
24454
24447
 
@@ -24509,7 +24502,7 @@ var PinnedMessage = () => {
24509
24502
  const pinnedMessages = useHMSStore52(selectSessionStore7("pinnedMessages" /* PINNED_MESSAGES */));
24510
24503
  const [pinnedMessageIndex, setPinnedMessageIndex] = useState45(0);
24511
24504
  const { removePinnedMessage } = usePinnedMessages();
24512
- const isMobile = useMedia15(config.media.md);
24505
+ const isMobile = useMedia16(config.media.md);
24513
24506
  const { elements } = useRoomLayoutConferencingScreen();
24514
24507
  const canUnpinMessage = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.allow_pinning_messages);
24515
24508
  const [hideOverflow, setHideOverflow] = useState45(true);
@@ -24627,7 +24620,7 @@ var Chat = () => {
24627
24620
  const hmsActions = useHMSActions37();
24628
24621
  const vanillaStore = useHMSVanillaStore10();
24629
24622
  const { enabled: isChatEnabled = true } = useHMSStore53(Yh("chatState" /* CHAT_STATE */)) || {};
24630
- const isMobile = useMedia16(config.media.md);
24623
+ const isMobile = useMedia17(config.media.md);
24631
24624
  const scrollToBottom = useCallback28(
24632
24625
  (unreadCount = 0) => {
24633
24626
  var _a9;
@@ -24872,7 +24865,7 @@ var SidePaneTabs = React115.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
24872
24865
  const showChat = !!(elements == null ? void 0 : elements.chat);
24873
24866
  const showParticipants = !!(elements == null ? void 0 : elements.participant_list);
24874
24867
  const hideTabs = !(showChat && showParticipants);
24875
- const isMobile = useMedia17(config.media.md);
24868
+ const isMobile = useMedia18(config.media.md);
24876
24869
  const isOverlayChat = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
24877
24870
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
24878
24871
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
@@ -25047,7 +25040,7 @@ var TileConnection_default = TileConnection;
25047
25040
  // src/Prebuilt/components/TileMenu/TileMenu.tsx
25048
25041
  init_define_process_env();
25049
25042
  import React118, { useState as useState48 } from "react";
25050
- import { useMedia as useMedia19 } from "react-use";
25043
+ import { useMedia as useMedia20 } from "react-use";
25051
25044
  import {
25052
25045
  selectLocalPeerID as selectLocalPeerID11,
25053
25046
  selectPeerByID as selectPeerByID2,
@@ -25062,7 +25055,7 @@ import { CrossIcon as CrossIcon18, VerticalMenuIcon as VerticalMenuIcon8 } from
25062
25055
  // src/Prebuilt/components/TileMenu/TileMenuContent.tsx
25063
25056
  init_define_process_env();
25064
25057
  import React117, { Fragment as Fragment12 } from "react";
25065
- import { useMedia as useMedia18 } from "react-use";
25058
+ import { useMedia as useMedia19 } from "react-use";
25066
25059
  import {
25067
25060
  selectPermissions as selectPermissions15,
25068
25061
  selectSessionStore as selectSessionStore10,
@@ -25249,7 +25242,7 @@ var TileMenuContent = ({
25249
25242
  const { sendEvent } = useCustomEvent2({
25250
25243
  type: REMOTE_STOP_SCREENSHARE_TYPE
25251
25244
  });
25252
- const isMobile = useMedia18(config.media.md);
25245
+ const isMobile = useMedia19(config.media.md);
25253
25246
  if (isLocal) {
25254
25247
  return showPinAction || canMinimise || !userName || showSpotlight ? /* @__PURE__ */ React117.createElement(React117.Fragment, null, showPinAction && /* @__PURE__ */ React117.createElement(PinActions, { audioTrackID, videoTrackID }), showSpotlight && /* @__PURE__ */ React117.createElement(SpotlightActions, { peerId: peerID, onSpotLightClick: () => closeSheetOnClick() }), canMinimise && /* @__PURE__ */ React117.createElement(MinimiseInset, null), !userName && /* @__PURE__ */ React117.createElement(
25255
25248
  StyledMenuTile.ItemButton,
@@ -25348,7 +25341,7 @@ var TileMenu = ({
25348
25341
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
25349
25342
  const track = useHMSStore59(selectTrackByID3(videoTrackID));
25350
25343
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
25351
- const isMobile = useMedia19(config.media.md);
25344
+ const isMobile = useMedia20(config.media.md);
25352
25345
  const peer = useHMSStore59(selectPeerByID2(peerID));
25353
25346
  const [showNameChangeModal, setShowNameChangeModal] = useState48(false);
25354
25347
  useDropdownList({ open, name: "TileMenu" });
@@ -25693,11 +25686,11 @@ var VBPlugin = class {
25693
25686
  }
25694
25687
  }
25695
25688
  });
25696
- this.setPreset = (preset) => {
25689
+ this.setPreset = (preset) => __async(this, null, function* () {
25697
25690
  if (this.effectsPlugin) {
25698
- this.effectsPlugin.setPreset(preset);
25691
+ yield this.effectsPlugin.setPreset(preset);
25699
25692
  }
25700
- };
25693
+ });
25701
25694
  this.getPreset = () => {
25702
25695
  var _a8;
25703
25696
  return ((_a8 = this.effectsPlugin) == null ? void 0 : _a8.getPreset()) || "";
@@ -25889,7 +25882,7 @@ var SidePane = ({
25889
25882
  hideControls = false
25890
25883
  }) => {
25891
25884
  var _a8, _b7, _c, _d, _e, _f;
25892
- const isMobile = useMedia20(config.media.md);
25885
+ const isMobile = useMedia21(config.media.md);
25893
25886
  const sidepane = useHMSStore62(selectAppData5(APP_DATA.sidePane));
25894
25887
  const activeScreensharePeerId = useHMSStore62(selectAppData5(APP_DATA.activeScreensharePeerId));
25895
25888
  const trackId = (_a8 = useHMSStore62(selectVideoTrackByPeerID4(activeScreensharePeerId))) == null ? void 0 : _a8.id;
@@ -26033,7 +26026,7 @@ var SpeakerTag = () => {
26033
26026
  {
26034
26027
  align: "center",
26035
26028
  justify: "center",
26036
- css: { flex: "1 1 0", color: "$on_primary_high", "@md": { display: "none" } }
26029
+ css: { flex: "1 1 0", color: "$on_surface_high", "@md": { display: "none" } }
26037
26030
  },
26038
26031
  /* @__PURE__ */ React126.createElement(VerticalDivider, { css: { ml: "$8" } }),
26039
26032
  /* @__PURE__ */ React126.createElement(VolumeOneIcon, null),
@@ -26074,7 +26067,7 @@ var Logo = () => {
26074
26067
  // src/Prebuilt/components/Preview/PreviewForm.tsx
26075
26068
  init_define_process_env();
26076
26069
  import React127 from "react";
26077
- import { useMedia as useMedia21 } from "react-use";
26070
+ import { useMedia as useMedia22 } from "react-use";
26078
26071
  import { JoinForm_JoinBtnType as JoinForm_JoinBtnType3 } from "@100mslive/types-prebuilt/elements/join_form";
26079
26072
  import { useRecordingStreaming as useRecordingStreaming9 } from "@100mslive/react-sdk";
26080
26073
  import { GoLiveIcon } from "@100mslive/react-icons";
@@ -26091,7 +26084,7 @@ var PreviewForm = ({
26091
26084
  const formSubmit = (e) => {
26092
26085
  e.preventDefault();
26093
26086
  };
26094
- const isMobile = useMedia21(config.media.md);
26087
+ const isMobile = useMedia22(config.media.md);
26095
26088
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming9();
26096
26089
  const layout = useRoomLayout();
26097
26090
  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) || {};
@@ -26152,7 +26145,7 @@ var getParticipantChipContent = (peerCount = 0) => {
26152
26145
  var useLocalTileAspectRatio = () => {
26153
26146
  const localPeer = useHMSStore64(selectLocalPeer7);
26154
26147
  const videoTrack = useHMSStore64(selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack));
26155
- const isMobile = useMedia22(config.media.md);
26148
+ const isMobile = useMedia23(config.media.md);
26156
26149
  let aspectRatio = 0;
26157
26150
  if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height)) {
26158
26151
  aspectRatio = videoTrack.width / videoTrack.height;
@@ -26173,7 +26166,7 @@ var PreviewJoin = ({
26173
26166
  const { isStreamingOn } = useRecordingStreaming10();
26174
26167
  const authToken = useAuthToken();
26175
26168
  const [name, setName] = useState52(initialName || previewPreference.name);
26176
- const { toggleAudio, toggleVideo } = useAVToggle4();
26169
+ const { toggleAudio, toggleVideo } = useAVToggle5();
26177
26170
  const [previewError, setPreviewError] = useState52(false);
26178
26171
  const { endpoints } = useHMSPrebuiltContext();
26179
26172
  const { peerCount } = useParticipants2();
@@ -26261,7 +26254,7 @@ var Container4 = styled("div", __spreadProps(__spreadValues({
26261
26254
  }));
26262
26255
  var PreviewTile = ({ name, error }) => {
26263
26256
  const localPeer = useHMSStore64(selectLocalPeer7);
26264
- const { isLocalAudioEnabled, toggleAudio } = useAVToggle4();
26257
+ const { isLocalAudioEnabled, toggleAudio } = useAVToggle5();
26265
26258
  const isVideoOn = useHMSStore64(selectIsLocalVideoEnabled6);
26266
26259
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
26267
26260
  const trackSelector = selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -26306,7 +26299,7 @@ var PreviewTile = ({ name, error }) => {
26306
26299
  );
26307
26300
  };
26308
26301
  var PreviewControls = ({ hideSettings, vbEnabled }) => {
26309
- const isMobile = useMedia22(config.media.md);
26302
+ const isMobile = useMedia23(config.media.md);
26310
26303
  return /* @__PURE__ */ React128.createElement(
26311
26304
  Flex,
26312
26305
  {
@@ -26316,7 +26309,7 @@ var PreviewControls = ({ hideSettings, vbEnabled }) => {
26316
26309
  mt: "$8"
26317
26310
  }
26318
26311
  },
26319
- /* @__PURE__ */ React128.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ React128.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ React128.createElement(VBToggle, null) : null),
26312
+ /* @__PURE__ */ React128.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ React128.createElement(AudioVideoToggle, null), vbEnabled && !isMobile ? /* @__PURE__ */ React128.createElement(VBToggle, null) : null),
26320
26313
  !hideSettings ? /* @__PURE__ */ React128.createElement(PreviewSettings, null) : null
26321
26314
  );
26322
26315
  };
@@ -26329,7 +26322,7 @@ var PreviewJoin_default = PreviewJoin;
26329
26322
  // src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx
26330
26323
  init_define_process_env();
26331
26324
  import React129 from "react";
26332
- import { useMedia as useMedia23 } from "react-use";
26325
+ import { useMedia as useMedia24 } from "react-use";
26333
26326
  var RequestPrompt = ({
26334
26327
  open = true,
26335
26328
  onOpenChange,
@@ -26339,7 +26332,7 @@ var RequestPrompt = ({
26339
26332
  onAction,
26340
26333
  disableActions = false
26341
26334
  }) => {
26342
- const isMobile = useMedia23(config.media.md);
26335
+ const isMobile = useMedia24(config.media.md);
26343
26336
  if (isMobile) {
26344
26337
  return /* @__PURE__ */ React129.createElement(Sheet.Root, { open, onOpenChange }, /* @__PURE__ */ React129.createElement(Sheet.Content, { css: { py: "$8" } }, /* @__PURE__ */ React129.createElement(Text, { css: { fontWeight: "$semiBold", c: "$on_surface_high", "@md": { px: "$8" } } }, title), body, /* @__PURE__ */ React129.createElement(RequestActions, { actionText, onAction, disabled: disableActions })));
26345
26338
  }
@@ -26451,14 +26444,14 @@ import {
26451
26444
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
26452
26445
  init_define_process_env();
26453
26446
  import React135, { useEffect as useEffect36, useMemo as useMemo12, useState as useState54 } from "react";
26454
- import { useMedia as useMedia26 } from "react-use";
26447
+ import { useMedia as useMedia27 } from "react-use";
26455
26448
  import { selectLocalPeer as selectLocalPeer9, useHMSStore as useHMSStore67 } from "@100mslive/react-sdk";
26456
26449
 
26457
26450
  // src/Prebuilt/components/InsetTile.tsx
26458
26451
  init_define_process_env();
26459
26452
  import React132, { useEffect as useEffect33, useRef as useRef21 } from "react";
26460
26453
  import Draggable from "react-draggable";
26461
- import { useMedia as useMedia24 } from "react-use";
26454
+ import { useMedia as useMedia25 } from "react-use";
26462
26455
  import {
26463
26456
  selectIsAllowedToPublish as selectIsAllowedToPublish2,
26464
26457
  selectLocalPeer as selectLocalPeer8,
@@ -26502,8 +26495,8 @@ var insetMaxWidthPx = 240;
26502
26495
  var defaultMobileAspectRatio = 9 / 16;
26503
26496
  var desktopAspectRatio = 1 / defaultMobileAspectRatio;
26504
26497
  var InsetTile = ({ peerId }) => {
26505
- const isMobile = useMedia24(config.media.md);
26506
- const isLandscape = useMedia24(config.media.ls);
26498
+ const isMobile = useMedia25(config.media.md);
26499
+ const isLandscape = useMedia25(config.media.ls);
26507
26500
  const selector = peerId ? selectPeerByID3(peerId) : selectLocalPeer8;
26508
26501
  const peer = useHMSStore66(selector);
26509
26502
  const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
@@ -26663,7 +26656,7 @@ var Grid = React134.forwardRef(
26663
26656
  // src/Prebuilt/components/hooks/useTileLayout.tsx
26664
26657
  init_define_process_env();
26665
26658
  import { useEffect as useEffect35, useMemo as useMemo11, useState as useState53 } from "react";
26666
- import { useMeasure as useMeasure5, useMedia as useMedia25 } from "react-use";
26659
+ import { useMeasure as useMeasure5, useMedia as useMedia26 } from "react-use";
26667
26660
  import {
26668
26661
  getPeersWithTiles,
26669
26662
  selectTracksMap as selectTracksMap3,
@@ -26699,7 +26692,7 @@ var useTileLayout = ({
26699
26692
  }) => {
26700
26693
  const vanillaStore = useHMSVanillaStore11();
26701
26694
  const [ref, { width, height }] = useMeasure5();
26702
- const isMobile = useMedia25(config.media.lg);
26695
+ const isMobile = useMedia26(config.media.lg);
26703
26696
  const [pagesWithTiles, setPagesWithTiles] = useState53([]);
26704
26697
  useEffect35(() => {
26705
26698
  if (width === 0 || height === 0) {
@@ -26769,7 +26762,7 @@ var useTileLayout = ({
26769
26762
  function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
26770
26763
  var _a8;
26771
26764
  const localPeer = useHMSStore67(selectLocalPeer9);
26772
- const isMobile = useMedia26(config.media.md);
26765
+ const isMobile = useMedia27(config.media.md);
26773
26766
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
26774
26767
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
26775
26768
  let pageList = usePagesWithTiles({
@@ -26819,7 +26812,7 @@ import { selectLocalPeer as selectLocalPeer10, useHMSStore as useHMSStore69 } fr
26819
26812
  // src/Prebuilt/components/SecondaryTiles.tsx
26820
26813
  init_define_process_env();
26821
26814
  import React137, { useEffect as useEffect37, useRef as useRef22, useState as useState55 } from "react";
26822
- import { useMedia as useMedia27 } from "react-use";
26815
+ import { useMedia as useMedia28 } from "react-use";
26823
26816
  import { selectAppData as selectAppData6, selectSessionStore as selectSessionStore11, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore68 } from "@100mslive/react-sdk";
26824
26817
 
26825
26818
  // src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
@@ -26902,7 +26895,7 @@ var ProminenceLayout = {
26902
26895
  // src/Prebuilt/components/SecondaryTiles.tsx
26903
26896
  var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar }) => {
26904
26897
  var _a8, _b7;
26905
- const isMobile = useMedia27(config.media.md);
26898
+ const isMobile = useMedia28(config.media.md);
26906
26899
  const maxTileCount = isMobile ? 2 : 4;
26907
26900
  const [page, setPage] = useState55(0);
26908
26901
  const pinnedTrackId = useHMSStore68(selectAppData6(APP_DATA.pinnedTrackId));
@@ -27044,13 +27037,13 @@ function RoleProminence({
27044
27037
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
27045
27038
  init_define_process_env();
27046
27039
  import React142, { useEffect as useEffect39, useMemo as useMemo14, useState as useState59 } from "react";
27047
- import { useMedia as useMedia29 } from "react-use";
27040
+ import { useMedia as useMedia30 } from "react-use";
27048
27041
  import { selectPeersScreenSharing, useHMSStore as useHMSStore71 } from "@100mslive/react-sdk";
27049
27042
 
27050
27043
  // src/Prebuilt/components/ScreenshareTile.tsx
27051
27044
  init_define_process_env();
27052
27045
  import React141, { useRef as useRef23, useState as useState58 } from "react";
27053
- import { useFullscreen as useFullscreen2, useMedia as useMedia28 } from "react-use";
27046
+ import { useFullscreen as useFullscreen2, useMedia as useMedia29 } from "react-use";
27054
27047
  import screenfull2 from "screenfull";
27055
27048
  import {
27056
27049
  selectLocalPeerID as selectLocalPeerID13,
@@ -27211,7 +27204,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
27211
27204
  const peer = useHMSStore70(selectPeerByID4(peerId));
27212
27205
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
27213
27206
  const [isMouseHovered, setIsMouseHovered] = useState58(false);
27214
- const isMobile = useMedia28(config.media.md);
27207
+ const isMobile = useMedia29(config.media.md);
27215
27208
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
27216
27209
  const fullscreenRef = useRef23(null);
27217
27210
  const [fullscreen, setFullscreen] = useState58(false);
@@ -27262,7 +27255,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
27262
27255
  },
27263
27256
  isFullscreen ? /* @__PURE__ */ React141.createElement(ShrinkIcon2, null) : /* @__PURE__ */ React141.createElement(ExpandIcon3, null)
27264
27257
  ) : null,
27265
- !isMobile && isMouseHovered && /* @__PURE__ */ React141.createElement(
27258
+ !isMobile && isMouseHovered && !isFullscreen && /* @__PURE__ */ React141.createElement(
27266
27259
  Box,
27267
27260
  {
27268
27261
  css: {
@@ -27303,7 +27296,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
27303
27296
  const [page, setPage] = useState59(0);
27304
27297
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
27305
27298
  const activeSharePeer = peersSharing[page];
27306
- const isMobile = useMedia29(config.media.md);
27299
+ const isMobile = useMedia30(config.media.md);
27307
27300
  const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
27308
27301
  const secondaryPeers = useMemo14(() => {
27309
27302
  if (layoutMode === LayoutMode.SPOTLIGHT) {
@@ -27714,10 +27707,10 @@ var WaitingView = React146.memo(() => {
27714
27707
  // src/Prebuilt/layouts/WhiteboardView.tsx
27715
27708
  init_define_process_env();
27716
27709
  import React147, { useEffect as useEffect43, useMemo as useMemo17 } from "react";
27717
- import { useMedia as useMedia30 } from "react-use";
27710
+ import { useMedia as useMedia31 } from "react-use";
27718
27711
  import { selectPeers as selectPeers5, selectWhiteboard, useHMSStore as useHMSStore74, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
27719
27712
  var EmbedComponent2 = () => {
27720
- const isMobile = useMedia30(config.media.md);
27713
+ const isMobile = useMedia31(config.media.md);
27721
27714
  const { iframeRef } = useWhiteboard2(isMobile);
27722
27715
  return /* @__PURE__ */ React147.createElement(
27723
27716
  Box,
@@ -27788,7 +27781,7 @@ var useCloseScreenshareWhiteboard = () => {
27788
27781
  };
27789
27782
 
27790
27783
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
27791
- var HLSView = React148.lazy(() => import("./HLSView-7QXLQ4KD.js"));
27784
+ var HLSView = React148.lazy(() => import("./HLSView-EWCMUTSW.js"));
27792
27785
  var VideoStreamingSection = ({
27793
27786
  screenType,
27794
27787
  elements,
@@ -27862,7 +27855,7 @@ init_define_process_env();
27862
27855
  // src/Prebuilt/components/Header/Header.tsx
27863
27856
  init_define_process_env();
27864
27857
  import React150 from "react";
27865
- import { useMedia as useMedia31 } from "react-use";
27858
+ import { useMedia as useMedia32 } from "react-use";
27866
27859
  import { HMSRoomState as HMSRoomState6, selectRoomState as selectRoomState6, useHMSStore as useHMSStore77 } from "@100mslive/react-sdk";
27867
27860
 
27868
27861
  // src/Prebuilt/components/Header/common.jsx
@@ -28028,7 +28021,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React149.createElement(Re
28028
28021
  // src/Prebuilt/components/Header/Header.tsx
28029
28022
  var Header2 = () => {
28030
28023
  const roomState = useHMSStore77(selectRoomState6);
28031
- const isMobile = useMedia31(config.media.md);
28024
+ const isMobile = useMedia32(config.media.md);
28032
28025
  if (roomState !== HMSRoomState6.Connected) {
28033
28026
  return /* @__PURE__ */ React150.createElement(React150.Fragment, null);
28034
28027
  }
@@ -28559,11 +28552,11 @@ var LeaveScreen = () => {
28559
28552
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
28560
28553
  init_define_process_env();
28561
28554
  import React156, { useEffect as useEffect52, useState as useState62 } from "react";
28562
- import { useMedia as useMedia32 } from "react-use";
28555
+ import { useMedia as useMedia33 } from "react-use";
28563
28556
  import { RefreshIcon } from "@100mslive/react-icons";
28564
28557
  var MwebLandscapePrompt = () => {
28565
28558
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState62(false);
28566
- const isLandscape = useMedia32(config.media.ls);
28559
+ const isLandscape = useMedia33(config.media.ls);
28567
28560
  useEffect52(() => {
28568
28561
  var _a8;
28569
28562
  if (!isMobileUserAgent) {
@@ -29017,7 +29010,7 @@ var PeerNotifications = () => {
29017
29010
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
29018
29011
  init_define_process_env();
29019
29012
  import React161, { useEffect as useEffect57, useState as useState64 } from "react";
29020
- import { useMedia as useMedia33 } from "react-use";
29013
+ import { useMedia as useMedia34 } from "react-use";
29021
29014
  import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
29022
29015
 
29023
29016
  // src/Prebuilt/images/android-perm-1.png
@@ -29031,7 +29024,7 @@ function PermissionErrorModal() {
29031
29024
  const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
29032
29025
  const [deviceType, setDeviceType] = useState64("");
29033
29026
  const [isSystemError, setIsSystemError] = useState64(false);
29034
- const isMobile = useMedia33(config.media.md);
29027
+ const isMobile = useMedia34(config.media.md);
29035
29028
  useEffect57(() => {
29036
29029
  var _a8, _b7, _c, _d, _e;
29037
29030
  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"))) {
@@ -29479,7 +29472,7 @@ var ToastContainer = () => {
29479
29472
  // src/Prebuilt/plugins/FlyingEmoji.jsx
29480
29473
  init_define_process_env();
29481
29474
  import React169, { useCallback as useCallback34, useEffect as useEffect64, useMemo as useMemo18, useState as useState69 } from "react";
29482
- import { useMedia as useMedia34 } from "react-use";
29475
+ import { useMedia as useMedia35 } from "react-use";
29483
29476
  import {
29484
29477
  selectLocalPeerID as selectLocalPeerID17,
29485
29478
  selectPeerNameByID as selectPeerNameByID6,
@@ -29514,7 +29507,7 @@ function FlyingEmoji() {
29514
29507
  const localPeerId = useHMSStore86(selectLocalPeerID17);
29515
29508
  const vanillaStore = useHMSVanillaStore17();
29516
29509
  const [emojis, setEmojis] = useState69([]);
29517
- const isMobile = useMedia34(config.media.md);
29510
+ const isMobile = useMedia35(config.media.md);
29518
29511
  const startingPoints = useMemo18(() => getStartingPoints(isMobile), [isMobile]);
29519
29512
  const showFlyingEmoji = useCallback34(
29520
29513
  ({ emojiId, senderId }) => {
@@ -29995,4 +29988,4 @@ lodash/lodash.js:
29995
29988
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
29996
29989
  *)
29997
29990
  */
29998
- //# sourceMappingURL=chunk-ZJU5GUBY.js.map
29991
+ //# sourceMappingURL=chunk-HWYKJQTV.js.map