@100mslive/roomkit-react 0.3.20-alpha.0 → 0.3.20-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_208a3df6-7e0b-4573-8836-09b3eec6bee0", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_208a3df6-7e0b-4573-8836-09b3eec6bee0", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "597", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16089", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10826597823", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", 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: "c22e362d4a124a26295b0874be722fa21bab0084774b9eb8f80d1f704097281b", 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--1726127935058-0.22146944684020453:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127934862-0.9808093359390244:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909308-0.7527905752517778:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726127909129-0.6871808028331288:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_227df9f5-3da9-43eb-8ad2-df1b6b3aaaf9", INVOCATION_ID: "1c6566e8da8c474d85e2b8c4afdcf924", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "669", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 222", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "9292ef206d23ad3743254e046fce98240fa3a134", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_208a3df6-7e0b-4573-8836-09b3eec6bee0", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_208a3df6-7e0b-4573-8836-09b3eec6bee0", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_208a3df6-7e0b-4573-8836-09b3eec6bee0" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_34501c7f-df66-4eff-a559-9c1ceb3565f4", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.2", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_34501c7f-df66-4eff-a559-9c1ceb3565f4", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "602", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20512", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10849904308", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "af10282af58c6f480c9727a88a434aabfcb7f3c6", 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: "732f3e2f747eefed9d759401c9eedd334724e0749fe923f16fc6404a44c7f348", 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--1726233716409-0.6084418377623888:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726233716219-0.030380637235246866:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726233690771-0.8239940001672474:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726233690567-0.8244189350058768:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7357e856-45e2-40aa-ae38-b03828373576", INVOCATION_ID: "0345ae1e36454a4da1c9f5dabbc38131", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "671", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 477", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "af10282af58c6f480c9727a88a434aabfcb7f3c6", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_34501c7f-df66-4eff-a559-9c1ceb3565f4", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_34501c7f-df66-4eff-a559-9c1ceb3565f4", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_34501c7f-df66-4eff-a559-9c1ceb3565f4" };
111
111
  }
112
112
  });
113
113
 
@@ -8634,8 +8634,8 @@ var require_grammar = __commonJS({
8634
8634
  var require_parser = __commonJS({
8635
8635
  "../../node_modules/sdp-transform/lib/parser.js"(exports) {
8636
8636
  init_define_process_env();
8637
- var toIntIfInt = function(v) {
8638
- return String(Number(v)) === v ? Number(v) : v;
8637
+ var toIntIfInt = function(v2) {
8638
+ return String(Number(v2)) === v2 ? Number(v2) : v2;
8639
8639
  };
8640
8640
  var attachProperties = function(match17, location, names, rawName) {
8641
8641
  if (rawName && !names) {
@@ -8871,18 +8871,18 @@ var require_react_is_production_min = __commonJS({
8871
8871
  var c2 = b2 ? Symbol.for("react.element") : 60103;
8872
8872
  var d = b2 ? Symbol.for("react.portal") : 60106;
8873
8873
  var e = b2 ? Symbol.for("react.fragment") : 60107;
8874
- var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
8874
+ var f = b2 ? Symbol.for("react.strict_mode") : 60108;
8875
8875
  var g = b2 ? Symbol.for("react.profiler") : 60114;
8876
- var h2 = b2 ? Symbol.for("react.provider") : 60109;
8876
+ var h = b2 ? Symbol.for("react.provider") : 60109;
8877
8877
  var k = b2 ? Symbol.for("react.context") : 60110;
8878
8878
  var l2 = b2 ? Symbol.for("react.async_mode") : 60111;
8879
- var m = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8879
+ var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8880
8880
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
8881
8881
  var p = b2 ? Symbol.for("react.suspense") : 60113;
8882
8882
  var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
8883
8883
  var r = b2 ? Symbol.for("react.memo") : 60115;
8884
8884
  var t = b2 ? Symbol.for("react.lazy") : 60116;
8885
- var v = b2 ? Symbol.for("react.block") : 60121;
8885
+ var v2 = b2 ? Symbol.for("react.block") : 60121;
8886
8886
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
8887
8887
  var x = b2 ? Symbol.for("react.responder") : 60118;
8888
8888
  var y2 = b2 ? Symbol.for("react.scope") : 60119;
@@ -8893,10 +8893,10 @@ var require_react_is_production_min = __commonJS({
8893
8893
  case c2:
8894
8894
  switch (a2 = a2.type, a2) {
8895
8895
  case l2:
8896
- case m:
8896
+ case m2:
8897
8897
  case e:
8898
8898
  case g:
8899
- case f2:
8899
+ case f:
8900
8900
  case p:
8901
8901
  return a2;
8902
8902
  default:
@@ -8905,7 +8905,7 @@ var require_react_is_production_min = __commonJS({
8905
8905
  case n:
8906
8906
  case t:
8907
8907
  case r:
8908
- case h2:
8908
+ case h:
8909
8909
  return a2;
8910
8910
  default:
8911
8911
  return u;
@@ -8917,12 +8917,12 @@ var require_react_is_production_min = __commonJS({
8917
8917
  }
8918
8918
  }
8919
8919
  function A2(a2) {
8920
- return z2(a2) === m;
8920
+ return z2(a2) === m2;
8921
8921
  }
8922
8922
  exports.AsyncMode = l2;
8923
- exports.ConcurrentMode = m;
8923
+ exports.ConcurrentMode = m2;
8924
8924
  exports.ContextConsumer = k;
8925
- exports.ContextProvider = h2;
8925
+ exports.ContextProvider = h;
8926
8926
  exports.Element = c2;
8927
8927
  exports.ForwardRef = n;
8928
8928
  exports.Fragment = e;
@@ -8930,7 +8930,7 @@ var require_react_is_production_min = __commonJS({
8930
8930
  exports.Memo = r;
8931
8931
  exports.Portal = d;
8932
8932
  exports.Profiler = g;
8933
- exports.StrictMode = f2;
8933
+ exports.StrictMode = f;
8934
8934
  exports.Suspense = p;
8935
8935
  exports.isAsyncMode = function(a2) {
8936
8936
  return A2(a2) || z2(a2) === l2;
@@ -8940,7 +8940,7 @@ var require_react_is_production_min = __commonJS({
8940
8940
  return z2(a2) === k;
8941
8941
  };
8942
8942
  exports.isContextProvider = function(a2) {
8943
- return z2(a2) === h2;
8943
+ return z2(a2) === h;
8944
8944
  };
8945
8945
  exports.isElement = function(a2) {
8946
8946
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
@@ -8964,13 +8964,13 @@ var require_react_is_production_min = __commonJS({
8964
8964
  return z2(a2) === g;
8965
8965
  };
8966
8966
  exports.isStrictMode = function(a2) {
8967
- return z2(a2) === f2;
8967
+ return z2(a2) === f;
8968
8968
  };
8969
8969
  exports.isSuspense = function(a2) {
8970
8970
  return z2(a2) === p;
8971
8971
  };
8972
8972
  exports.isValidElementType = function(a2) {
8973
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m || a2 === g || a2 === f2 || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h2 || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
8973
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v2);
8974
8974
  };
8975
8975
  exports.typeOf = z2;
8976
8976
  }
@@ -12920,7 +12920,7 @@ var Collapsible = {
12920
12920
 
12921
12921
  // src/Prebuilt/App.tsx
12922
12922
  init_define_process_env();
12923
- import React186, { useEffect as useEffect79, useRef as useRef34 } from "react";
12923
+ import React186, { useEffect as useEffect80, useRef as useRef35 } from "react";
12924
12924
  import { match as match16 } from "ts-pattern";
12925
12925
  import {
12926
12926
  HMSReactiveStore,
@@ -13983,6 +13983,15 @@ var VBPlugin = class {
13983
13983
  this.effectsPlugin = void 0;
13984
13984
  this.hmsPlugin = void 0;
13985
13985
  };
13986
+ this.isBlurSupported = () => {
13987
+ if ((isSafari || isIOS) && this.hmsPlugin) {
13988
+ return false;
13989
+ }
13990
+ if (this.effectsPlugin) {
13991
+ return true;
13992
+ }
13993
+ return false;
13994
+ };
13986
13995
  this.isEffectsSupported = () => {
13987
13996
  var _a7, _b7;
13988
13997
  if (!isSafari) {
@@ -14636,7 +14645,7 @@ var AuthToken_default = AuthToken;
14636
14645
 
14637
14646
  // src/Prebuilt/components/ConferenceScreen.tsx
14638
14647
  init_define_process_env();
14639
- import React161, { useEffect as useEffect60, useRef as useRef31, useState as useState68 } from "react";
14648
+ import React161, { useEffect as useEffect61, useRef as useRef32, useState as useState68 } from "react";
14640
14649
  import { v4 as uuid3 } from "uuid";
14641
14650
  import {
14642
14651
  HMSRoomState as HMSRoomState8,
@@ -14650,7 +14659,7 @@ import {
14650
14659
 
14651
14660
  // src/Prebuilt/components/Footer/Footer.tsx
14652
14661
  init_define_process_env();
14653
- import React86, { useEffect as useEffect28 } from "react";
14662
+ import React86, { useEffect as useEffect29 } from "react";
14654
14663
  import { useMedia as useMedia15 } from "react-use";
14655
14664
  import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
14656
14665
 
@@ -19147,7 +19156,7 @@ var DesktopOptions = ({
19147
19156
 
19148
19157
  // src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx
19149
19158
  init_define_process_env();
19150
- import React67, { useRef as useRef18, useState as useState31 } from "react";
19159
+ import React67, { useRef as useRef19, useState as useState31 } from "react";
19151
19160
  import { useClickAway } from "react-use";
19152
19161
  import { match as match6 } from "ts-pattern";
19153
19162
  import {
@@ -19700,11 +19709,11 @@ function shimOnTrack(window2) {
19700
19709
  get() {
19701
19710
  return this._ontrack;
19702
19711
  },
19703
- set(f2) {
19712
+ set(f) {
19704
19713
  if (this._ontrack) {
19705
19714
  this.removeEventListener("track", this._ontrack);
19706
19715
  }
19707
- this.addEventListener("track", this._ontrack = f2);
19716
+ this.addEventListener("track", this._ontrack = f);
19708
19717
  },
19709
19718
  enumerable: true,
19710
19719
  configurable: true
@@ -20687,12 +20696,12 @@ function shimRemoteStreamsAPI(window2) {
20687
20696
  get() {
20688
20697
  return this._onaddstream;
20689
20698
  },
20690
- set(f2) {
20699
+ set(f) {
20691
20700
  if (this._onaddstream) {
20692
20701
  this.removeEventListener("addstream", this._onaddstream);
20693
20702
  this.removeEventListener("track", this._onaddstreampoly);
20694
20703
  }
20695
- this.addEventListener("addstream", this._onaddstream = f2);
20704
+ this.addEventListener("addstream", this._onaddstream = f);
20696
20705
  this.addEventListener("track", this._onaddstreampoly = (e) => {
20697
20706
  e.streams.forEach((stream) => {
20698
20707
  if (!this._remoteStreams) {
@@ -21384,7 +21393,7 @@ var ti = Object.getOwnPropertySymbols;
21384
21393
  var ns = Object.prototype.hasOwnProperty;
21385
21394
  var cs = Object.prototype.propertyIsEnumerable;
21386
21395
  var os = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21387
- var h = (a2, e) => {
21396
+ var m = (a2, e) => {
21388
21397
  for (var t in e || (e = {}))
21389
21398
  ns.call(e, t) && os(a2, t, e[t]);
21390
21399
  if (ti)
@@ -21420,7 +21429,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
21420
21429
  n((t = t.apply(a2, e)).next());
21421
21430
  });
21422
21431
  var yr = ro((Dc, ho) => {
21423
- ho.exports = { version: "0.12.20-alpha.0", 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"] };
21432
+ ho.exports = { version: "0.12.20-alpha.2", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21424
21433
  });
21425
21434
  var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21426
21435
  var so = ((e) => (e.CHAT = "chat", e))(so || {});
@@ -21552,7 +21561,7 @@ function lo() {
21552
21561
  }
21553
21562
  var Qe = lo();
21554
21563
  var P4 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
21555
- var f = class a extends Error {
21564
+ var v = class a extends Error {
21556
21565
  constructor(t, i, r, s, o, n = false) {
21557
21566
  super(s);
21558
21567
  this.code = t;
@@ -21583,111 +21592,111 @@ var f = class a extends Error {
21583
21592
  };
21584
21593
  var uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21585
21594
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21586
- return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21595
+ return new v(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21587
21596
  }, WebSocketConnectionLost(a2, e = "") {
21588
- return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21597
+ return new v(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21589
21598
  }, AbnormalClose(a2, e = "") {
21590
- return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21599
+ return new v(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21591
21600
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21592
- return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21601
+ return new v(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21593
21602
  }, EndpointUnreachable(a2, e = "") {
21594
- return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21603
+ return new v(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21595
21604
  }, InvalidTokenFormat(a2, e = "") {
21596
- return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21605
+ return new v(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21597
21606
  }, InitConfigNotAvailable(a2, e = "") {
21598
- return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21607
+ return new v(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21599
21608
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21600
- return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21609
+ return new v(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21601
21610
  }, CantAccessCaptureDevice(a2, e, t = "") {
21602
- return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21611
+ return new v(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21603
21612
  }, DeviceNotAvailable(a2, e, t = "") {
21604
- return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21613
+ return new v(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21605
21614
  }, DeviceInUse(a2, e, t = "") {
21606
- return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21615
+ return new v(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21607
21616
  }, DeviceLostMidway(a2, e, t = "") {
21608
- return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21617
+ return new v(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21609
21618
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21610
- return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21619
+ return new v(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21611
21620
  }, InvalidVideoSettings(a2, e = "") {
21612
- return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21621
+ return new v(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21613
21622
  }, AutoplayBlocked(a2, e = "") {
21614
- return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21623
+ return new v(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21615
21624
  }, CodecChangeNotPermitted(a2, e = "") {
21616
- return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21625
+ return new v(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21617
21626
  }, OverConstrained(a2, e, t = "") {
21618
- return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21627
+ return new v(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21619
21628
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21620
- return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21629
+ return new v(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21621
21630
  }, SystemDeniedPermission(a2, e, t = "") {
21622
- return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21631
+ return new v(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21623
21632
  }, CurrentTabNotShared() {
21624
- return new f(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21633
+ return new v(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21625
21634
  }, AudioPlaybackError(a2) {
21626
- return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21635
+ return new v(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21627
21636
  }, SelectedDeviceMissing(a2) {
21628
- return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21637
+ return new v(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21629
21638
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21630
- return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21639
+ return new v(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21631
21640
  }, CreateAnswerFailed(a2, e = "") {
21632
- return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21641
+ return new v(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21633
21642
  }, SetLocalDescriptionFailed(a2, e = "") {
21634
- return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21643
+ return new v(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21635
21644
  }, SetRemoteDescriptionFailed(a2, e = "") {
21636
- return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21645
+ return new v(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21637
21646
  }, ICEFailure(a2, e = "", t = false) {
21638
- return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21647
+ return new v(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21639
21648
  }, ICEDisconnected(a2, e = "") {
21640
- return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21649
+ return new v(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21641
21650
  }, StatsFailed(a2, e = "") {
21642
- return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21651
+ return new v(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21643
21652
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21644
- return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
21653
+ return new v(a2, "ServerErrors", e, t, t, uo.includes(e));
21645
21654
  }, AlreadyJoined(a2, e = "") {
21646
- return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21655
+ return new v(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21647
21656
  }, CannotJoinPreviewInProgress(a2, e = "") {
21648
- return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21657
+ return new v(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21649
21658
  } }, GenericErrors: { NotConnected(a2, e = "") {
21650
- return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21659
+ return new v(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21651
21660
  }, Signalling(a2, e) {
21652
- return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21661
+ return new v(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21653
21662
  }, Unknown(a2, e) {
21654
- return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21663
+ return new v(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21655
21664
  }, NotReady(a2, e = "") {
21656
- return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21665
+ return new v(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21657
21666
  }, JsonParsingFailed(a2, e, t = "") {
21658
- return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21667
+ return new v(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21659
21668
  }, TrackMetadataMissing(a2, e = "") {
21660
- return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21669
+ return new v(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21661
21670
  }, RTCTrackMissing(a2, e = "") {
21662
- return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21671
+ return new v(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21663
21672
  }, PeerMetadataMissing(a2, e = "") {
21664
- return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21673
+ return new v(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21665
21674
  }, ValidationFailed(a2, e) {
21666
- return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21675
+ return new v(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21667
21676
  }, InvalidRole(a2, e) {
21668
- return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21677
+ return new v(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21669
21678
  }, PreviewAlreadyInProgress(a2, e = "") {
21670
- return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21679
+ return new v(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21671
21680
  }, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
21672
- return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21681
+ return new v(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21673
21682
  }, MissingMediaDevices() {
21674
- return new f(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21683
+ return new v(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21675
21684
  }, MissingRTCPeerConnection() {
21676
- return new f(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21685
+ return new v(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21677
21686
  } }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
21678
- return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21687
+ return new v(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21679
21688
  }, InitFailed(a2, e = "") {
21680
- return new f(7002, "InitFailed", a2, "Plugin init failed", e);
21689
+ return new v(7002, "InitFailed", a2, "Plugin init failed", e);
21681
21690
  }, ProcessingFailed(a2, e = "") {
21682
- return new f(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
21691
+ return new v(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
21683
21692
  }, AddAlreadyInProgress(a2, e = "") {
21684
- return new f(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
21693
+ return new v(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
21685
21694
  }, DeviceNotSupported(a2, e = "") {
21686
- return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21695
+ return new v(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21687
21696
  } }, PlaylistErrors: { NoEntryToPlay(a2, e) {
21688
- return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21697
+ return new v(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21689
21698
  }, NoEntryPlaying(a2, e) {
21690
- return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21699
+ return new v(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21691
21700
  } } };
21692
21701
  var Mr = class {
21693
21702
  constructor() {
@@ -21773,12 +21782,12 @@ var H = class {
21773
21782
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = mo(), this.device_id = ai();
21774
21783
  }
21775
21784
  toSignalParams() {
21776
- return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21785
+ return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21777
21786
  }
21778
21787
  };
21779
21788
  var y = class {
21780
21789
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21781
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(h({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21790
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21782
21791
  return new H({ name: o, level: n, properties: d });
21783
21792
  }
21784
21793
  static disconnect(e, t) {
@@ -21792,7 +21801,7 @@ var y = class {
21792
21801
  }
21793
21802
  static join(i) {
21794
21803
  var r = i, { error: e } = r, t = gr(r, ["error"]);
21795
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
21804
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21796
21805
  return new H({ name: s, level: o, properties: n });
21797
21806
  }
21798
21807
  static publish({ devices: e, settings: t, error: i }) {
@@ -21835,7 +21844,7 @@ var y = class {
21835
21844
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
21836
21845
  if (!t && e.degradedAt instanceof Date) {
21837
21846
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
21838
- s = M(h({}, s), { duration: n, restoredAt: o });
21847
+ s = M(m({}, s), { duration: n, restoredAt: o });
21839
21848
  }
21840
21849
  return new H({ name: i, level: r, properties: s });
21841
21850
  }
@@ -21862,17 +21871,17 @@ var y = class {
21862
21871
  return new H({ name: "krisp.stop", level: 1 });
21863
21872
  }
21864
21873
  static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
21865
- return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
21874
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
21866
21875
  }
21867
21876
  static eventNameFor(e, t) {
21868
21877
  return `${e}.${t ? "success" : "failed"}`;
21869
21878
  }
21870
21879
  static getPropertiesWithError(e, t) {
21871
21880
  let i = this.getErrorProperties(t);
21872
- return e = h(h({}, i), e), e;
21881
+ return e = m(m({}, i), e), e;
21873
21882
  }
21874
21883
  static getErrorProperties(e) {
21875
- return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21884
+ return e ? e instanceof v ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21876
21885
  }
21877
21886
  };
21878
21887
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
@@ -22459,14 +22468,14 @@ var Vt = class {
22459
22468
  static sendFeedback(s) {
22460
22469
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22461
22470
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22462
- let o = new URL("v2/client/feedback", t), n = M(h({}, i), { payload: r });
22471
+ let o = new URL("v2/client/feedback", t), n = M(m({}, i), { payload: r });
22463
22472
  try {
22464
22473
  let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22465
22474
  try {
22466
22475
  this.handleError(d);
22467
22476
  return;
22468
22477
  } catch (u) {
22469
- throw l.e(this.TAG, "error", u.message, d.status), u instanceof f ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
22478
+ throw l.e(this.TAG, "error", u.message, d.status), u instanceof v ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
22470
22479
  }
22471
22480
  } catch (d) {
22472
22481
  let u = d;
@@ -22757,7 +22766,7 @@ import { selectLocalPeerName as selectLocalPeerName3, useHMSActions as useHMSAct
22757
22766
 
22758
22767
  // src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx
22759
22768
  init_define_process_env();
22760
- import React65 from "react";
22769
+ import React65, { useEffect as useEffect23, useRef as useRef18 } from "react";
22761
22770
  import { ChevronLeftIcon as ChevronLeftIcon2, CrossIcon as CrossIcon12 } from "@100mslive/react-icons";
22762
22771
  var ChangeNameContent = ({
22763
22772
  changeName,
@@ -22768,6 +22777,15 @@ var ChangeNameContent = ({
22768
22777
  onExit,
22769
22778
  onBackClick
22770
22779
  }) => {
22780
+ const inputRef = useRef18(null);
22781
+ useEffect23(() => {
22782
+ if (isMobile) {
22783
+ setTimeout(() => {
22784
+ var _a7;
22785
+ (_a7 = inputRef.current) == null ? void 0 : _a7.focus();
22786
+ }, 200);
22787
+ }
22788
+ }, [isMobile]);
22771
22789
  return /* @__PURE__ */ React65.createElement(
22772
22790
  "form",
22773
22791
  {
@@ -22803,9 +22821,10 @@ var ChangeNameContent = ({
22803
22821
  /* @__PURE__ */ React65.createElement(Flex, { justify: "center", align: "center", css: { my: "$8", w: "100%", "@md": { px: "$8" } } }, /* @__PURE__ */ React65.createElement(
22804
22822
  Input,
22805
22823
  {
22824
+ ref: inputRef,
22806
22825
  css: { width: "100%", bg: "$surface_default" },
22807
22826
  value: currentName,
22808
- type: isMobile ? "search" : "text",
22827
+ type: "text",
22809
22828
  onChange: (e) => {
22810
22829
  setCurrentName(e.target.value);
22811
22830
  },
@@ -22902,7 +22921,7 @@ var ChangeNameModal = ({
22902
22921
  }
22903
22922
  };
22904
22923
  if (isMobile) {
22905
- return /* @__PURE__ */ React66.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" } }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props))));
22924
+ return /* @__PURE__ */ React66.createElement(Sheet.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Sheet.Content, { css: { bg: "$surface_dim", p: "$8 0" }, onOpenAutoFocus: (e) => e.preventDefault() }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props))));
22906
22925
  }
22907
22926
  return /* @__PURE__ */ React66.createElement(Dialog.Root, { defaultOpen: true, onOpenChange }, /* @__PURE__ */ React66.createElement(Dialog.Portal, null, /* @__PURE__ */ React66.createElement(Dialog.Overlay, null), /* @__PURE__ */ React66.createElement(Dialog.Content, { css: { bg: "$surface_dim", width: "min(400px,80%)", p: "$10" } }, /* @__PURE__ */ React66.createElement(ChangeNameContent, __spreadValues({}, props)))));
22908
22927
  };
@@ -22929,13 +22948,13 @@ var useSheetToggle = (sheetType) => {
22929
22948
 
22930
22949
  // src/Prebuilt/components/hooks/useUnreadPollQuizPresent.tsx
22931
22950
  init_define_process_env();
22932
- import { useEffect as useEffect23, useState as useState30 } from "react";
22951
+ import { useEffect as useEffect24, useState as useState30 } from "react";
22933
22952
  import { HMSNotificationTypes, useHMSNotifications, useHMSStore as useHMSStore32 } from "@100mslive/react-sdk";
22934
22953
  var useUnreadPollQuizPresent = () => {
22935
22954
  const localPeerID = useHMSStore32(Ee);
22936
22955
  const notification = useHMSNotifications(HMSNotificationTypes.POLL_STARTED);
22937
22956
  const [unreadPollQuiz, setUnreadPollQuiz] = useState30(false);
22938
- useEffect23(() => {
22957
+ useEffect24(() => {
22939
22958
  if (!notification) {
22940
22959
  return;
22941
22960
  }
@@ -22974,7 +22993,7 @@ var MwebOptions = ({
22974
22993
  const { showPolls } = useShowPolls();
22975
22994
  const togglePollView = usePollViewToggle();
22976
22995
  const peerCount = useHMSStore33(selectPeerCount3);
22977
- const emojiCardRef = useRef18(null);
22996
+ const emojiCardRef = useRef19(null);
22978
22997
  const { isBRBOn, toggleBRB, isHandRaised, toggleHandRaise } = useMyMetadata();
22979
22998
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
22980
22999
  const { title, description } = useRoomLayoutHeader();
@@ -23738,7 +23757,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
23738
23757
 
23739
23758
  // src/Prebuilt/components/VirtualBackground/VBToggle.tsx
23740
23759
  init_define_process_env();
23741
- import React77, { useEffect as useEffect24 } from "react";
23760
+ import React77, { useEffect as useEffect25 } from "react";
23742
23761
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes2 } from "@100mslive/hms-virtual-background/hmsvbplugin";
23743
23762
  import {
23744
23763
  selectAppData as selectAppData5,
@@ -23759,7 +23778,7 @@ var VBToggle = () => {
23759
23778
  const loadingEffects = useHMSStore35(selectAppData5(APP_DATA.loadingEffects));
23760
23779
  const hmsActions = useHMSActions28();
23761
23780
  const { toggleVideo } = useAVToggle3();
23762
- useEffect24(() => {
23781
+ useEffect25(() => {
23763
23782
  var _a7;
23764
23783
  if (!toggleVideo) {
23765
23784
  (_a7 = VBHandler) == null ? void 0 : _a7.reset();
@@ -23994,7 +24013,7 @@ var RemoveParticipant = ({ peerId }) => {
23994
24013
 
23995
24014
  // src/Prebuilt/components/Footer/RoleAccordion.tsx
23996
24015
  init_define_process_env();
23997
- import React82, { useEffect as useEffect25 } from "react";
24016
+ import React82, { useEffect as useEffect26 } from "react";
23998
24017
  import { useMeasure } from "react-use";
23999
24018
  import { FixedSizeList } from "react-window";
24000
24019
  import { selectIsLargeRoom, useHMSStore as useHMSStore41, usePaginatedParticipants } from "@100mslive/react-sdk";
@@ -24238,7 +24257,7 @@ var RoleAccordion = ({
24238
24257
  const { bringAllToStage, bring_to_stage_label, canBringToStage, lowerAllHands } = useGroupOnStageActions({
24239
24258
  peers: peersInAccordion
24240
24259
  });
24241
- useEffect25(() => {
24260
+ useEffect26(() => {
24242
24261
  if (!isOffStageRole || !isLargeRoom) {
24243
24262
  return;
24244
24263
  }
@@ -24326,13 +24345,13 @@ var RoleAccordion = ({
24326
24345
 
24327
24346
  // src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx
24328
24347
  init_define_process_env();
24329
- import { useEffect as useEffect26 } from "react";
24348
+ import { useEffect as useEffect27 } from "react";
24330
24349
  import { selectAppData as selectAppData6, useHMSStore as useHMSStore42 } from "@100mslive/react-sdk";
24331
24350
  var useSidepaneResetOnLayoutUpdate = (layoutKey, sidepaneOption) => {
24332
24351
  const { elements } = useRoomLayoutConferencingScreen();
24333
24352
  const sidepane = useHMSStore42(selectAppData6(APP_DATA.sidePane));
24334
24353
  const resetSidePane = useSidepaneReset();
24335
- useEffect26(() => {
24354
+ useEffect27(() => {
24336
24355
  if (sidepane === sidepaneOption && !(elements == null ? void 0 : elements[layoutKey])) {
24337
24356
  resetSidePane();
24338
24357
  }
@@ -24729,13 +24748,13 @@ var ParticipantSearch = ({
24729
24748
 
24730
24749
  // src/Prebuilt/components/Footer/PollsToggle.tsx
24731
24750
  init_define_process_env();
24732
- import React84, { useEffect as useEffect27 } from "react";
24751
+ import React84, { useEffect as useEffect28 } from "react";
24733
24752
  import { QuizActiveIcon as QuizActiveIcon2, QuizIcon as QuizIcon2 } from "@100mslive/react-icons";
24734
24753
  var PollsToggle = () => {
24735
24754
  const isPollsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.POLLS);
24736
24755
  const togglePollView = usePollViewToggle();
24737
24756
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
24738
- useEffect27(() => {
24757
+ useEffect28(() => {
24739
24758
  if (unreadPollQuiz && isPollsOpen) {
24740
24759
  setUnreadPollQuiz(false);
24741
24760
  }
@@ -24806,7 +24825,7 @@ var Footer2 = ({
24806
24825
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
24807
24826
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
24808
24827
  const { showPolls } = useShowPolls();
24809
- useEffect28(() => {
24828
+ useEffect29(() => {
24810
24829
  if (!isChatOpen && openByDefault) {
24811
24830
  toggleChat();
24812
24831
  }
@@ -24906,7 +24925,7 @@ function HLSFailureModal() {
24906
24925
 
24907
24926
  // src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx
24908
24927
  init_define_process_env();
24909
- import React138, { useEffect as useEffect44 } from "react";
24928
+ import React138, { useEffect as useEffect45 } from "react";
24910
24929
  import {
24911
24930
  selectIsInPreview,
24912
24931
  selectLocalPeerName as selectLocalPeerName4,
@@ -24919,7 +24938,7 @@ import {
24919
24938
 
24920
24939
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
24921
24940
  init_define_process_env();
24922
- import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect43, useMemo as useMemo15, useState as useState57 } from "react";
24941
+ import React136, { Fragment as Fragment12, useCallback as useCallback33, useEffect as useEffect44, useMemo as useMemo15, useState as useState57 } from "react";
24923
24942
  import { useMeasure as useMeasure4, useMedia as useMedia27 } from "react-use";
24924
24943
  import {
24925
24944
  HMSRoomState as HMSRoomState6,
@@ -24940,7 +24959,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
24940
24959
 
24941
24960
  // src/Prebuilt/layouts/SidePane.tsx
24942
24961
  init_define_process_env();
24943
- import React132, { useEffect as useEffect42 } from "react";
24962
+ import React132, { useEffect as useEffect43 } from "react";
24944
24963
  import { useMedia as useMedia25 } from "react-use";
24945
24964
  import { match as match12 } from "ts-pattern";
24946
24965
  import { selectAppData as selectAppData8, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore70 } from "@100mslive/react-sdk";
@@ -24951,7 +24970,7 @@ import React109 from "react";
24951
24970
 
24952
24971
  // src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx
24953
24972
  init_define_process_env();
24954
- import React90, { useEffect as useEffect29, useMemo as useMemo9, useRef as useRef19, useState as useState38 } from "react";
24973
+ import React90, { useEffect as useEffect30, useMemo as useMemo9, useRef as useRef20, useState as useState38 } from "react";
24955
24974
  import {
24956
24975
  selectLocalPeerRoleName as selectLocalPeerRoleName2,
24957
24976
  selectPermissions as selectPermissions16,
@@ -25113,8 +25132,8 @@ var AddMenu = () => {
25113
25132
  const [titleError, setTitleError] = useState38("");
25114
25133
  const { setPollState } = usePollViewState();
25115
25134
  const [interactionType, setInteractionType] = useState38("Poll" /* POLL */);
25116
- const inputRef = useRef19(null);
25117
- useEffect29(() => {
25135
+ const inputRef = useRef20(null);
25136
+ useEffect30(() => {
25118
25137
  if (inputRef.current) {
25119
25138
  inputRef.current.focus();
25120
25139
  }
@@ -25201,7 +25220,7 @@ var PrevMenu = () => {
25201
25220
  [polls]
25202
25221
  );
25203
25222
  const permissions = useHMSStore48(selectPermissions16);
25204
- useEffect29(() => {
25223
+ useEffect30(() => {
25205
25224
  const updatePolls = () => __async(void 0, null, function* () {
25206
25225
  yield hmsActions.interactivityCenter.getPolls();
25207
25226
  });
@@ -25243,7 +25262,7 @@ import { AddCircleIcon as AddCircleIcon2 } from "@100mslive/react-icons";
25243
25262
 
25244
25263
  // src/Prebuilt/components/Polls/CreateQuestions/QuestionForm.tsx
25245
25264
  init_define_process_env();
25246
- import React98, { useCallback as useCallback26, useRef as useRef20, useState as useState39 } from "react";
25265
+ import React98, { useCallback as useCallback26, useRef as useRef21, useState as useState39 } from "react";
25247
25266
  import { AddCircleIcon, TrashIcon as TrashIcon3 } from "@100mslive/react-icons";
25248
25267
 
25249
25268
  // src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx
@@ -25537,7 +25556,7 @@ var QuestionForm = ({
25537
25556
  isQuiz
25538
25557
  }) => {
25539
25558
  var _a7;
25540
- const ref = useRef20(null);
25559
+ const ref = useRef21(null);
25541
25560
  const selectionBg = useDropdownSelection();
25542
25561
  const [openDelete, setOpenDelete] = useState39(false);
25543
25562
  const [open, setOpen] = useState39(false);
@@ -25961,7 +25980,7 @@ var StatisticBox = ({ title, value = 0 }) => {
25961
25980
 
25962
25981
  // src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx
25963
25982
  init_define_process_env();
25964
- import { useEffect as useEffect30, useState as useState41 } from "react";
25983
+ import { useEffect as useEffect31, useState as useState41 } from "react";
25965
25984
  import {
25966
25985
  selectPollByID as selectPollByID2,
25967
25986
  useHMSActions as useHMSActions36,
@@ -25979,7 +25998,7 @@ var useQuizSummary = (quizID) => {
25979
25998
  correctUsers: 0
25980
25999
  };
25981
26000
  const [calculations, setCalculations] = useState41({ maxPossibleScore: 0, totalResponses: 0 });
25982
- useEffect30(() => {
26001
+ useEffect31(() => {
25983
26002
  const fetchLeaderboardData = () => __async(void 0, null, function* () {
25984
26003
  var _a7;
25985
26004
  if (!quizLeaderboard && quiz && !(quiz == null ? void 0 : quiz.anonymous) && quiz.state === "stopped") {
@@ -26119,7 +26138,7 @@ var LeaderboardSummary = ({ pollID }) => {
26119
26138
 
26120
26139
  // src/Prebuilt/components/Polls/Voting/Voting.tsx
26121
26140
  init_define_process_env();
26122
- import React108, { useEffect as useEffect33, useRef as useRef22, useState as useState45 } from "react";
26141
+ import React108, { useEffect as useEffect34, useRef as useRef23, useState as useState45 } from "react";
26123
26142
  import {
26124
26143
  selectLocalPeer as selectLocalPeer4,
26125
26144
  selectPeerNameByID as selectPeerNameByID4,
@@ -26136,7 +26155,7 @@ import React106 from "react";
26136
26155
 
26137
26156
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
26138
26157
  init_define_process_env();
26139
- import React105, { useCallback as useCallback27, useEffect as useEffect31, useMemo as useMemo12, useRef as useRef21, useState as useState43 } from "react";
26158
+ import React105, { useCallback as useCallback27, useEffect as useEffect32, useMemo as useMemo12, useRef as useRef22, useState as useState43 } from "react";
26140
26159
  import { match as match9 } from "ts-pattern";
26141
26160
  import { selectLocalPeer as selectLocalPeer3, selectLocalPeerRoleName as selectLocalPeerRoleName3, useHMSActions as useHMSActions37, useHMSStore as useHMSStore53 } from "@100mslive/react-sdk";
26142
26161
  import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon4, CrossCircleIcon as CrossCircleIcon2 } from "@100mslive/react-icons";
@@ -26162,14 +26181,14 @@ var QuestionCard2 = ({
26162
26181
  const localPeerRoleName = useHMSStore53(selectLocalPeerRoleName3);
26163
26182
  const roleCanViewResponse = !rolesThatCanViewResponses || rolesThatCanViewResponses.length === 0 || rolesThatCanViewResponses.includes(localPeerRoleName || "");
26164
26183
  const [localPeerChoice, setLocalPeerChoice] = useState43(localPeerResponse);
26165
- useEffect31(() => {
26184
+ useEffect32(() => {
26166
26185
  setLocalPeerChoice(localPeerResponse);
26167
26186
  }, [localPeerResponse]);
26168
26187
  const showVoteCount = roleCanViewResponse && (localPeerChoice || isLocalPeerCreator && pollState === "stopped") && !isQuiz;
26169
26188
  const isLive = pollState === "started";
26170
26189
  const pollEnded = pollState === "stopped";
26171
26190
  const canRespond = isLive && !localPeerChoice;
26172
- const startTime = useRef21(Date.now());
26191
+ const startTime = useRef22(Date.now());
26173
26192
  const isCorrectAnswer = checkCorrectAnswer(answer, localPeerChoice, type);
26174
26193
  const [singleOptionAnswer, setSingleOptionAnswer] = useState43();
26175
26194
  const [multipleOptionAnswer, setMultipleOptionAnswer] = useState43(/* @__PURE__ */ new Set());
@@ -26344,7 +26363,7 @@ var StandardView = ({
26344
26363
 
26345
26364
  // src/Prebuilt/components/Polls/Voting/TimedVoting.tsx
26346
26365
  init_define_process_env();
26347
- import React107, { useEffect as useEffect32, useState as useState44 } from "react";
26366
+ import React107, { useEffect as useEffect33, useState as useState44 } from "react";
26348
26367
  var TimedView = ({
26349
26368
  poll,
26350
26369
  localPeerResponses,
@@ -26354,7 +26373,7 @@ var TimedView = ({
26354
26373
  const [currentIndex, setCurrentIndex] = useState44(getIndexToShow(localPeerResponses));
26355
26374
  const activeQuestion = (_a7 = poll.questions) == null ? void 0 : _a7.find((question) => question.index === currentIndex);
26356
26375
  const attemptedAll = (((_b7 = poll.questions) == null ? void 0 : _b7.length) || 0) < currentIndex;
26357
- useEffect32(() => {
26376
+ useEffect33(() => {
26358
26377
  setCurrentIndex(getIndexToShow(localPeerResponses));
26359
26378
  }, [localPeerResponses]);
26360
26379
  if (!activeQuestion && !attemptedAll || !((_c = poll.questions) == null ? void 0 : _c.length)) {
@@ -26394,16 +26413,16 @@ var Voting = ({ id, toggleVoting }) => {
26394
26413
  const canEndActivity = !!(permissions == null ? void 0 : permissions.pollWrite);
26395
26414
  const { setPollView } = usePollViewState();
26396
26415
  const showSingleView = (poll == null ? void 0 : poll.type) === "quiz" && poll.state === "started";
26397
- const fetchedInitialResponses = useRef22(false);
26416
+ const fetchedInitialResponses = useRef23(false);
26398
26417
  const [savedResponses, setSavedResponses] = useState45({});
26399
26418
  const localPeer = useHMSStore54(selectLocalPeer4);
26400
26419
  const localPeerId = localPeer == null ? void 0 : localPeer.id;
26401
26420
  const customerUserId = localPeer == null ? void 0 : localPeer.customerUserId;
26402
- useEffect33(() => {
26421
+ useEffect34(() => {
26403
26422
  fetchedInitialResponses.current = false;
26404
26423
  setSavedResponses({});
26405
26424
  }, [id, setSavedResponses]);
26406
- useEffect33(() => {
26425
+ useEffect34(() => {
26407
26426
  const getResponses = () => __async(void 0, null, function* () {
26408
26427
  if (poll && actions.interactivityCenter && !fetchedInitialResponses.current) {
26409
26428
  yield actions.interactivityCenter.getPollResponses(poll, true);
@@ -26412,7 +26431,7 @@ var Voting = ({ id, toggleVoting }) => {
26412
26431
  });
26413
26432
  getResponses();
26414
26433
  }, [poll, actions.interactivityCenter]);
26415
- useEffect33(() => {
26434
+ useEffect34(() => {
26416
26435
  if (poll == null ? void 0 : poll.questions) {
26417
26436
  const localPeerResponses = getPeerResponses(poll.questions, localPeerId, customerUserId);
26418
26437
  localPeerResponses == null ? void 0 : localPeerResponses.forEach((response) => {
@@ -26510,7 +26529,7 @@ import { CrossIcon as CrossIcon20 } from "@100mslive/react-icons";
26510
26529
 
26511
26530
  // src/Prebuilt/components/Header/HeaderComponents.jsx
26512
26531
  init_define_process_env();
26513
- import React110, { useEffect as useEffect34, useState as useState46 } from "react";
26532
+ import React110, { useEffect as useEffect35, useState as useState46 } from "react";
26514
26533
  import { selectDominantSpeaker, useHMSStore as useHMSStore55 } from "@100mslive/react-sdk";
26515
26534
  import { VolumeOneIcon } from "@100mslive/react-icons";
26516
26535
  var SpeakerTag = () => {
@@ -26539,7 +26558,7 @@ var Logo = () => {
26539
26558
  const roomLayout = useRoomLayout();
26540
26559
  const logo = (_a7 = roomLayout == null ? void 0 : roomLayout.logo) == null ? void 0 : _a7.url;
26541
26560
  const [hideImage, setHideImage] = useState46(false);
26542
- useEffect34(() => {
26561
+ useEffect35(() => {
26543
26562
  if (hideImage) {
26544
26563
  setHideImage(false);
26545
26564
  }
@@ -26563,10 +26582,10 @@ import React112 from "react";
26563
26582
 
26564
26583
  // src/Prebuilt/components/RoomDetails/Duration.tsx
26565
26584
  init_define_process_env();
26566
- import React111, { useEffect as useEffect35, useState as useState47 } from "react";
26585
+ import React111, { useEffect as useEffect36, useState as useState47 } from "react";
26567
26586
  var Duration = ({ timestamp }) => {
26568
26587
  const [elapsedTime, setElapsedTime] = useState47(getFormattedTime(Date.now() - timestamp.getTime(), false));
26569
- useEffect35(() => {
26588
+ useEffect36(() => {
26570
26589
  const timerAdded = setInterval(() => {
26571
26590
  setElapsedTime(getFormattedTime(Date.now() - timestamp.getTime(), false));
26572
26591
  }, 1e3);
@@ -26608,7 +26627,7 @@ var ShowRoomDetailHeader = () => {
26608
26627
 
26609
26628
  // src/Prebuilt/components/SidePaneTabs.tsx
26610
26629
  init_define_process_env();
26611
- import React124, { useEffect as useEffect40, useState as useState53 } from "react";
26630
+ import React124, { useEffect as useEffect41, useState as useState53 } from "react";
26612
26631
  import { useMedia as useMedia21 } from "react-use";
26613
26632
  import { match as match11 } from "ts-pattern";
26614
26633
  import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore64 } from "@100mslive/react-sdk";
@@ -26616,7 +26635,7 @@ import { CrossIcon as CrossIcon23 } from "@100mslive/react-icons";
26616
26635
 
26617
26636
  // src/Prebuilt/components/Chat/Chat.tsx
26618
26637
  init_define_process_env();
26619
- import React121, { useCallback as useCallback31, useRef as useRef25 } from "react";
26638
+ import React121, { useCallback as useCallback31, useRef as useRef26 } from "react";
26620
26639
  import { useMedia as useMedia20 } from "react-use";
26621
26640
  import { match as match10 } from "ts-pattern";
26622
26641
  import { selectHMSMessagesCount, useHMSActions as useHMSActions42, useHMSStore as useHMSStore61, useHMSVanillaStore as useHMSVanillaStore11 } from "@100mslive/react-sdk";
@@ -26624,7 +26643,7 @@ import { ChevronDownIcon as ChevronDownIcon7 } from "@100mslive/react-icons";
26624
26643
 
26625
26644
  // src/Prebuilt/components/Chat/ChatFooter.tsx
26626
26645
  init_define_process_env();
26627
- import React116, { useCallback as useCallback29, useEffect as useEffect37, useRef as useRef24, useState as useState50 } from "react";
26646
+ import React116, { useCallback as useCallback29, useEffect as useEffect38, useRef as useRef25, useState as useState50 } from "react";
26628
26647
  import { useMedia as useMedia18 } from "react-use";
26629
26648
  import data2 from "@emoji-mart/data";
26630
26649
  import Picker from "@emoji-mart/react";
@@ -26947,10 +26966,10 @@ var useChatDraftMessage = () => {
26947
26966
 
26948
26967
  // src/Prebuilt/components/Chat/useEmojiPickerStyles.js
26949
26968
  init_define_process_env();
26950
- import { useEffect as useEffect36, useRef as useRef23 } from "react";
26969
+ import { useEffect as useEffect37, useRef as useRef24 } from "react";
26951
26970
  var useEmojiPickerStyles = (showing) => {
26952
- const ref = useRef23(null);
26953
- useEffect36(() => {
26971
+ const ref = useRef24(null);
26972
+ useEffect37(() => {
26954
26973
  if (showing) {
26955
26974
  setTimeout(() => {
26956
26975
  var _a7, _b7;
@@ -27026,7 +27045,7 @@ function EmojiPicker({ onSelect }) {
27026
27045
  var ChatFooter = ({ onSend, children }) => {
27027
27046
  var _a7, _b7, _c, _d, _e;
27028
27047
  const hmsActions = useHMSActions40();
27029
- const inputRef = useRef24(null);
27048
+ const inputRef = useRef25(null);
27030
27049
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
27031
27050
  const isMobile = useMedia18(config.media.md);
27032
27051
  const { elements, screenType } = useRoomLayoutConferencingScreen();
@@ -27042,7 +27061,7 @@ var ChatFooter = ({ onSend, children }) => {
27042
27061
  const isMwebHLSStream = useMobileHLSStream();
27043
27062
  const [messageLengthExceeded, setMessageLengthExceeded] = useState50(false);
27044
27063
  const isLandscapeHLSStream = useLandscapeHLSStream();
27045
- useEffect37(() => {
27064
+ useEffect38(() => {
27046
27065
  var _a8, _b8;
27047
27066
  if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
27048
27067
  setRoleSelector(defaultSelection);
@@ -27091,7 +27110,7 @@ var ChatFooter = ({ onSend, children }) => {
27091
27110
  });
27092
27111
  }
27093
27112
  }), [selectedRole, selectedPeer, hmsActions, onSend]);
27094
- useEffect37(() => {
27113
+ useEffect38(() => {
27095
27114
  const messageElement = inputRef.current;
27096
27115
  if (messageElement) {
27097
27116
  messageElement.value = draftMessage;
@@ -27099,7 +27118,7 @@ var ChatFooter = ({ onSend, children }) => {
27099
27118
  setMessageLengthExceeded(draftMessage.length > CHAT_MESSAGE_LIMIT);
27100
27119
  }
27101
27120
  }, [draftMessage]);
27102
- useEffect37(() => {
27121
+ useEffect38(() => {
27103
27122
  const messageElement = inputRef.current;
27104
27123
  return () => {
27105
27124
  setDraftMessage((messageElement == null ? void 0 : messageElement.value) || "");
@@ -27289,7 +27308,7 @@ var ChatBlocked = () => {
27289
27308
 
27290
27309
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
27291
27310
  init_define_process_env();
27292
- import React120, { useEffect as useEffect38, useState as useState51 } from "react";
27311
+ import React120, { useEffect as useEffect39, useState as useState51 } from "react";
27293
27312
  import { useSwipeable } from "react-swipeable";
27294
27313
  import { useMedia as useMedia19 } from "react-use";
27295
27314
  import { selectSessionStore as selectSessionStore8, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
@@ -27372,7 +27391,7 @@ var PinnedMessage = () => {
27372
27391
  onSwipedUp: () => showNextPinnedMessage(),
27373
27392
  onSwipedDown: () => showPreviousPinnedMessage()
27374
27393
  });
27375
- useEffect38(() => {
27394
+ useEffect39(() => {
27376
27395
  const count = (pinnedMessages == null ? void 0 : pinnedMessages.length) || 1;
27377
27396
  if (pinnedMessageIndex >= count) {
27378
27397
  setPinnedMessageIndex(count - 1);
@@ -27465,7 +27484,7 @@ var PinnedMessage = () => {
27465
27484
  var Chat = () => {
27466
27485
  var _a7, _b7;
27467
27486
  const { elements, screenType } = useRoomLayoutConferencingScreen();
27468
- const listRef = useRef25(null);
27487
+ const listRef = useRef26(null);
27469
27488
  const hmsActions = useHMSActions42();
27470
27489
  const vanillaStore = useHMSVanillaStore11();
27471
27490
  const { enabled: isChatEnabled = true } = useHMSStore61(jm("chatState" /* CHAT_STATE */)) || {};
@@ -27604,7 +27623,7 @@ var NewMessageIndicator = ({
27604
27623
 
27605
27624
  // src/Prebuilt/components/Footer/PaginatedParticipants.tsx
27606
27625
  init_define_process_env();
27607
- import React122, { useEffect as useEffect39, useState as useState52 } from "react";
27626
+ import React122, { useEffect as useEffect40, useState as useState52 } from "react";
27608
27627
  import { useInView } from "react-intersection-observer";
27609
27628
  import { useMeasure as useMeasure2 } from "react-use";
27610
27629
  import { VariableSizeList as VariableSizeList2 } from "react-window";
@@ -27617,7 +27636,7 @@ var LoadMoreParticipants = ({
27617
27636
  }) => {
27618
27637
  const { ref, inView } = useInView();
27619
27638
  const [inProgress, setInProgress] = useState52(false);
27620
- useEffect39(() => {
27639
+ useEffect40(() => {
27621
27640
  if (hasNext && inView && !inProgress) {
27622
27641
  setInProgress(true);
27623
27642
  loadMore().catch(console.error).finally(() => setInProgress(false));
@@ -27656,7 +27675,7 @@ var PaginatedParticipants = ({ roleName, onBack }) => {
27656
27675
  const [ref, { width }] = useMeasure2();
27657
27676
  const height = ROW_HEIGHT * (filteredPeers.length + 1);
27658
27677
  const resetSidePane = useSidepaneReset();
27659
- useEffect39(() => {
27678
+ useEffect40(() => {
27660
27679
  loadPeers();
27661
27680
  }, []);
27662
27681
  return /* @__PURE__ */ React122.createElement(Flex, { ref, direction: "column", css: { size: "100%", gap: "$4" } }, /* @__PURE__ */ React122.createElement(Flex, { align: "center" }, /* @__PURE__ */ React122.createElement(Flex, { align: "center", css: { flex: "1 1 0", cursor: "pointer" }, onClick: onBack }, /* @__PURE__ */ React122.createElement(ChevronLeftIcon6, null), /* @__PURE__ */ React122.createElement(Text, { variant: "lg", css: { flex: "1 1 0" } }, "Participants")), /* @__PURE__ */ React122.createElement(
@@ -27773,7 +27792,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27773
27792
  const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
27774
27793
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
27775
27794
  const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
27776
- useEffect40(() => {
27795
+ useEffect41(() => {
27777
27796
  match11({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
27778
27797
  setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
27779
27798
  }).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
@@ -27782,7 +27801,7 @@ var SidePaneTabs = React124.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
27782
27801
  resetSidePane();
27783
27802
  });
27784
27803
  }, [showChat, activeTab, showParticipants, resetSidePane]);
27785
- useEffect40(() => {
27804
+ useEffect41(() => {
27786
27805
  setActiveTab(active);
27787
27806
  }, [active]);
27788
27807
  if (activeRole) {
@@ -28476,7 +28495,7 @@ var VideoTile_default = VideoTile;
28476
28495
 
28477
28496
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28478
28497
  init_define_process_env();
28479
- import React131, { useEffect as useEffect41, useRef as useRef26, useState as useState56 } from "react";
28498
+ import React131, { useEffect as useEffect42, useRef as useRef27, useState as useState56 } from "react";
28480
28499
  import { useMedia as useMedia24 } from "react-use";
28481
28500
  import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes4 } from "@100mslive/hms-virtual-background/hmsvbplugin";
28482
28501
  import {
@@ -28565,7 +28584,7 @@ var VBCollection = ({
28565
28584
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28566
28585
  var iconDims = { height: "40px", width: "40px" };
28567
28586
  var VBPicker = ({ backgroundMedia = [] }) => {
28568
- var _a7;
28587
+ var _a7, _b7;
28569
28588
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
28570
28589
  const hmsActions = useHMSActions45();
28571
28590
  const localPeer = useHMSStore69(selectLocalPeer8);
@@ -28585,10 +28604,11 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28585
28604
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28586
28605
  const background = useHMSStore69(qm(APP_DATA.background));
28587
28606
  const mediaList = backgroundMedia.map((media) => media.url || "");
28588
- const pluginLoadingRef = useRef26(false);
28607
+ const pluginLoadingRef = useRef27(false);
28608
+ const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
28589
28609
  const inPreview = roomState === HMSRoomState5.Preview;
28590
28610
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28591
- useEffect41(() => {
28611
+ useEffect42(() => {
28592
28612
  const addHMSVBPlugin = () => __async(void 0, null, function* () {
28593
28613
  setLoadingEffects(false);
28594
28614
  if (!role) {
@@ -28650,7 +28670,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28650
28670
  blurAmount,
28651
28671
  setLoadingEffects
28652
28672
  ]);
28653
- useEffect41(() => {
28673
+ useEffect42(() => {
28654
28674
  if (!isVideoOn) {
28655
28675
  toggleVB();
28656
28676
  }
@@ -28707,13 +28727,13 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28707
28727
  yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
28708
28728
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes4.BLUR);
28709
28729
  }),
28710
- supported: isEffectsSupported && isEffectsEnabled
28730
+ supported: isBlurSupported
28711
28731
  }
28712
28732
  ],
28713
28733
  activeBackground: background
28714
28734
  }
28715
28735
  ),
28716
- /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isEffectsEnabled && effectsKey ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28736
+ /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isBlurSupported ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28717
28737
  Slider,
28718
28738
  {
28719
28739
  showTooltip: false,
@@ -28889,7 +28909,7 @@ var SidePane = ({
28889
28909
  return null;
28890
28910
  });
28891
28911
  const resetSidePane = useSidepaneReset();
28892
- useEffect42(() => {
28912
+ useEffect43(() => {
28893
28913
  return () => {
28894
28914
  resetSidePane();
28895
28915
  };
@@ -29103,7 +29123,7 @@ var PreviewJoin = ({
29103
29123
  const { elements = {} } = useRoomLayoutPreviewScreen();
29104
29124
  const { preview_header: previewHeader = {}, virtual_background } = elements || {};
29105
29125
  const aspectRatio = useLocalTileAspectRatio();
29106
- useEffect43(() => {
29126
+ useEffect44(() => {
29107
29127
  if (authToken) {
29108
29128
  if (skipPreview) {
29109
29129
  savePreferenceAndJoin();
@@ -29112,7 +29132,7 @@ var PreviewJoin = ({
29112
29132
  }
29113
29133
  }
29114
29134
  }, [authToken, skipPreview]);
29115
- useEffect43(() => {
29135
+ useEffect44(() => {
29116
29136
  if (initialName) {
29117
29137
  setName(initialName);
29118
29138
  }
@@ -29255,7 +29275,7 @@ var RoleChangeRequestModal = () => {
29255
29275
  const { sendEvent } = useCustomEvent3({ type: ROLE_CHANGE_DECLINED });
29256
29276
  const { elements = {} } = useRoomLayoutPreviewScreen();
29257
29277
  const { virtual_background } = elements || {};
29258
- useEffect44(() => {
29278
+ useEffect45(() => {
29259
29279
  if (!(roleChangeRequest == null ? void 0 : roleChangeRequest.role)) {
29260
29280
  return;
29261
29281
  }
@@ -29319,7 +29339,7 @@ var RoleChangeRequestModal = () => {
29319
29339
 
29320
29340
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
29321
29341
  init_define_process_env();
29322
- import React157, { Suspense, useEffect as useEffect58, useState as useState67 } from "react";
29342
+ import React157, { Suspense, useEffect as useEffect59, useState as useState67 } from "react";
29323
29343
  import { useMedia as useMedia38 } from "react-use";
29324
29344
  import { match as match13 } from "ts-pattern";
29325
29345
  import {
@@ -29333,7 +29353,7 @@ import { PeopleAddIcon as PeopleAddIcon3, ShareScreenIcon as ShareScreenIcon5 }
29333
29353
 
29334
29354
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
29335
29355
  init_define_process_env();
29336
- import React153, { useEffect as useEffect53, useMemo as useMemo20, useState as useState65 } from "react";
29356
+ import React153, { useEffect as useEffect54, useMemo as useMemo20, useState as useState65 } from "react";
29337
29357
  import {
29338
29358
  selectLocalPeerID as selectLocalPeerID13,
29339
29359
  selectLocalPeerRoleName as selectLocalPeerRoleName5,
@@ -29346,7 +29366,7 @@ import {
29346
29366
 
29347
29367
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
29348
29368
  init_define_process_env();
29349
- import React144, { useEffect as useEffect48, useState as useState59 } from "react";
29369
+ import React144, { useEffect as useEffect49, useState as useState59 } from "react";
29350
29370
  import { useMedia as useMedia31 } from "react-use";
29351
29371
  import { selectPeerCount as selectPeerCount6, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
29352
29372
  import { PeopleAddIcon as PeopleAddIcon2 } from "@100mslive/react-icons";
@@ -29409,7 +29429,7 @@ var WaitingView = React139.memo(
29409
29429
 
29410
29430
  // src/Prebuilt/components/InsetTile.tsx
29411
29431
  init_define_process_env();
29412
- import React141, { useEffect as useEffect45, useRef as useRef27 } from "react";
29432
+ import React141, { useEffect as useEffect46, useRef as useRef28 } from "react";
29413
29433
  import Draggable from "react-draggable";
29414
29434
  import { useMedia as useMedia29 } from "react-use";
29415
29435
  import {
@@ -29473,8 +29493,8 @@ var InsetTile = ({ peerId }) => {
29473
29493
  width = 240;
29474
29494
  height = width / aspectRatio;
29475
29495
  }
29476
- const nodeRef = useRef27(null);
29477
- useEffect45(() => {
29496
+ const nodeRef = useRef28(null);
29497
+ useEffect46(() => {
29478
29498
  const node = nodeRef.current;
29479
29499
  if (!node || !window.ResizeObserver) {
29480
29500
  return;
@@ -29534,7 +29554,7 @@ var InsetTile = ({ peerId }) => {
29534
29554
 
29535
29555
  // src/Prebuilt/components/Pagination.tsx
29536
29556
  init_define_process_env();
29537
- import React142, { useEffect as useEffect46 } from "react";
29557
+ import React142, { useEffect as useEffect47 } from "react";
29538
29558
  import { ChevronLeftIcon as ChevronLeftIcon7, ChevronRightIcon as ChevronRightIcon4 } from "@100mslive/react-icons";
29539
29559
  var Pagination = ({
29540
29560
  page,
@@ -29551,7 +29571,7 @@ var Pagination = ({
29551
29571
  e.stopPropagation();
29552
29572
  onPageChange(Math.max(page - 1, 0));
29553
29573
  };
29554
- useEffect46(() => {
29574
+ useEffect47(() => {
29555
29575
  if (page >= numPages) {
29556
29576
  onPageChange(Math.max(0, numPages - 1));
29557
29577
  }
@@ -29615,7 +29635,7 @@ var Grid = React143.forwardRef(
29615
29635
 
29616
29636
  // src/Prebuilt/components/hooks/useTileLayout.tsx
29617
29637
  init_define_process_env();
29618
- import { useEffect as useEffect47, useMemo as useMemo16, useState as useState58 } from "react";
29638
+ import { useEffect as useEffect48, useMemo as useMemo16, useState as useState58 } from "react";
29619
29639
  import { useMeasure as useMeasure5, useMedia as useMedia30 } from "react-use";
29620
29640
  import {
29621
29641
  getPeersWithTiles,
@@ -29654,7 +29674,7 @@ var useTileLayout = ({
29654
29674
  const [ref, { width, height }] = useMeasure5();
29655
29675
  const isMobile = useMedia30(config.media.lg);
29656
29676
  const [pagesWithTiles, setPagesWithTiles] = useState58([]);
29657
- useEffect47(() => {
29677
+ useEffect48(() => {
29658
29678
  if (width === 0 || height === 0) {
29659
29679
  return;
29660
29680
  }
@@ -29687,10 +29707,10 @@ var useTileLayout = ({
29687
29707
  tileHeight = maxRowHeight;
29688
29708
  } else {
29689
29709
  const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
29690
- for (const h2 of calcHeights) {
29691
- if (h2 < maxRowHeight) {
29692
- if (tileHeight < h2) {
29693
- tileHeight = h2;
29710
+ for (const h of calcHeights) {
29711
+ if (h < maxRowHeight) {
29712
+ if (tileHeight < h) {
29713
+ tileHeight = h;
29694
29714
  }
29695
29715
  }
29696
29716
  }
@@ -29736,7 +29756,7 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29736
29756
  });
29737
29757
  const [page, setPage] = useState59(0);
29738
29758
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29739
- useEffect48(() => {
29759
+ useEffect49(() => {
29740
29760
  if (pageSize > 0) {
29741
29761
  onPageSize == null ? void 0 : onPageSize(pageSize);
29742
29762
  }
@@ -29763,13 +29783,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29763
29783
 
29764
29784
  // src/Prebuilt/components/VideoLayouts/RoleProminence.tsx
29765
29785
  init_define_process_env();
29766
- import React147, { useEffect as useEffect50, useState as useState61 } from "react";
29786
+ import React147, { useEffect as useEffect51, useState as useState61 } from "react";
29767
29787
  import { useMedia as useMedia33 } from "react-use";
29768
29788
  import { selectLocalPeer as selectLocalPeer11, useHMSStore as useHMSStore76 } from "@100mslive/react-sdk";
29769
29789
 
29770
29790
  // src/Prebuilt/components/SecondaryTiles.tsx
29771
29791
  init_define_process_env();
29772
- import React146, { useEffect as useEffect49, useRef as useRef28, useState as useState60 } from "react";
29792
+ import React146, { useEffect as useEffect50, useRef as useRef29, useState as useState60 } from "react";
29773
29793
  import { useMedia as useMedia32 } from "react-use";
29774
29794
  import { selectAppData as selectAppData10, selectSessionStore as selectSessionStore12, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
29775
29795
 
@@ -29862,7 +29882,7 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
29862
29882
  const spotlightPeerId = useHMSStore75(selectSessionStore12("spotlight" /* SPOTLIGHT */));
29863
29883
  const activeScreensharePeerId = useHMSStore75(selectAppData10(APP_DATA.activeScreensharePeerId));
29864
29884
  const pinnedPeer = (_a7 = useHMSStore75(selectTrackByID4(pinnedTrackId))) == null ? void 0 : _a7.peerId;
29865
- const pageChangedAfterPinning = useRef28(false);
29885
+ const pageChangedAfterPinning = useRef29(false);
29866
29886
  const pagesWithTiles = usePagesWithTiles({
29867
29887
  peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
29868
29888
  if (activeScreensharePeerId === p1.id) {
@@ -29883,18 +29903,18 @@ var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar
29883
29903
  maxTileCount
29884
29904
  });
29885
29905
  const pageSize = ((_b7 = pagesWithTiles[0]) == null ? void 0 : _b7.length) || 0;
29886
- useEffect49(() => {
29906
+ useEffect50(() => {
29887
29907
  var _a8;
29888
29908
  if (peers.length > 0 && !((_a8 = pagesWithTiles[page]) == null ? void 0 : _a8.length)) {
29889
29909
  setPage(Math.max(0, page - 1));
29890
29910
  }
29891
29911
  }, [peers, page, pagesWithTiles]);
29892
- useEffect49(() => {
29912
+ useEffect50(() => {
29893
29913
  if (pageSize > 0) {
29894
29914
  onPageSize == null ? void 0 : onPageSize(pageSize);
29895
29915
  }
29896
29916
  }, [pageSize, onPageSize]);
29897
- useEffect49(() => {
29917
+ useEffect50(() => {
29898
29918
  if ((pinnedPeer || spotlightPeerId) && page !== 0 && !pageChangedAfterPinning.current) {
29899
29919
  setPage(0);
29900
29920
  pageChangedAfterPinning.current = true;
@@ -29975,7 +29995,7 @@ function RoleProminence({
29975
29995
  });
29976
29996
  const [page, setPage] = useState61(0);
29977
29997
  const pageSize = ((_a7 = pagesWithTiles[0]) == null ? void 0 : _a7.length) || 0;
29978
- useEffect50(() => {
29998
+ useEffect51(() => {
29979
29999
  if (pageSize > 0) {
29980
30000
  onPageSize == null ? void 0 : onPageSize(pageSize);
29981
30001
  }
@@ -29995,13 +30015,13 @@ function RoleProminence({
29995
30015
 
29996
30016
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
29997
30017
  init_define_process_env();
29998
- import React151, { useEffect as useEffect51, useMemo as useMemo18, useState as useState64 } from "react";
30018
+ import React151, { useEffect as useEffect52, useMemo as useMemo18, useState as useState64 } from "react";
29999
30019
  import { useMedia as useMedia35 } from "react-use";
30000
30020
  import { selectPeersScreenSharing, useHMSStore as useHMSStore78 } from "@100mslive/react-sdk";
30001
30021
 
30002
30022
  // src/Prebuilt/components/ScreenshareTile.tsx
30003
30023
  init_define_process_env();
30004
- import React150, { useRef as useRef29, useState as useState63 } from "react";
30024
+ import React150, { useRef as useRef30, useState as useState63 } from "react";
30005
30025
  import { useFullscreen as useFullscreen2, useMedia as useMedia34 } from "react-use";
30006
30026
  import screenfull2 from "screenfull";
30007
30027
  import {
@@ -30172,7 +30192,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
30172
30192
  const [isMouseHovered, setIsMouseHovered] = useState63(false);
30173
30193
  const isMobile = useMedia34(config.media.md);
30174
30194
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
30175
- const fullscreenRef = useRef29(null);
30195
+ const fullscreenRef = useRef30(null);
30176
30196
  const [fullscreen, setFullscreen] = useState63(false);
30177
30197
  const isFullscreen = useFullscreen2(fullscreenRef, fullscreen, {
30178
30198
  onClose: () => setFullscreen(false)
@@ -30274,7 +30294,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30274
30294
  }
30275
30295
  return peers.filter((p) => p.id !== (activeSharePeer == null ? void 0 : activeSharePeer.id));
30276
30296
  }, [activeSharePeer, peers, isMobile, layoutMode]);
30277
- useEffect51(() => {
30297
+ useEffect52(() => {
30278
30298
  if (isMobile) {
30279
30299
  setLayoutMode(LayoutMode.GALLERY);
30280
30300
  return;
@@ -30287,7 +30307,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30287
30307
  setLayoutMode(LayoutMode.GALLERY);
30288
30308
  };
30289
30309
  }, [isMobile]);
30290
- useEffect51(() => {
30310
+ useEffect52(() => {
30291
30311
  setActiveScreenSharePeer(activeSharePeer == null ? void 0 : activeSharePeer.id);
30292
30312
  return () => {
30293
30313
  setActiveScreenSharePeer("");
@@ -30307,7 +30327,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30307
30327
 
30308
30328
  // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
30309
30329
  init_define_process_env();
30310
- import React152, { useEffect as useEffect52, useMemo as useMemo19 } from "react";
30330
+ import React152, { useEffect as useEffect53, useMemo as useMemo19 } from "react";
30311
30331
  import { useMedia as useMedia36 } from "react-use";
30312
30332
  import { Whiteboard } from "@100mslive/hms-whiteboard";
30313
30333
  import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore79, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
@@ -30348,7 +30368,7 @@ var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30348
30368
  }
30349
30369
  return peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id));
30350
30370
  }, [whiteboardOwner, peers, isMobile, layoutMode]);
30351
- useEffect52(() => {
30371
+ useEffect53(() => {
30352
30372
  if (isMobile) {
30353
30373
  setLayoutMode(LayoutMode.GALLERY);
30354
30374
  return;
@@ -30526,7 +30546,7 @@ var GridLayout = ({
30526
30546
  hideMetadataOnTile: hide_metadata_on_tile,
30527
30547
  objectFit: video_object_fit
30528
30548
  };
30529
- useEffect53(() => {
30549
+ useEffect54(() => {
30530
30550
  if (mainPage !== 0) {
30531
30551
  return;
30532
30552
  }
@@ -30583,7 +30603,7 @@ var GridLayout = ({
30583
30603
 
30584
30604
  // src/Prebuilt/layouts/EmbedView.jsx
30585
30605
  init_define_process_env();
30586
- import React154, { useEffect as useEffect54, useMemo as useMemo21 } from "react";
30606
+ import React154, { useEffect as useEffect55, useMemo as useMemo21 } from "react";
30587
30607
  import { selectAppData as selectAppData11, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing3, useEmbedShare, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
30588
30608
  var EmbedView = () => {
30589
30609
  return /* @__PURE__ */ React154.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React154.createElement(EmbedComponent, null));
@@ -30596,7 +30616,7 @@ var EmbedScreenShareView = ({ children }) => {
30596
30616
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
30597
30617
  return smallTilePeers2;
30598
30618
  }, [peers, peerPresenting]);
30599
- useEffect54(() => {
30619
+ useEffect55(() => {
30600
30620
  setActiveScreenSharePeer(peerPresenting == null ? void 0 : peerPresenting.id);
30601
30621
  return () => {
30602
30622
  setActiveScreenSharePeer("");
@@ -30608,7 +30628,7 @@ var EmbedComponent = () => {
30608
30628
  const embedConfig = useHMSStore81(selectAppData11(APP_DATA.embedConfig));
30609
30629
  const resetConfig = useResetEmbedConfig();
30610
30630
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
30611
- useEffect54(() => {
30631
+ useEffect55(() => {
30612
30632
  (() => __async(void 0, null, function* () {
30613
30633
  if (embedConfig && !isEmbedShareInProgress) {
30614
30634
  try {
@@ -30656,18 +30676,18 @@ var EmbedComponent = () => {
30656
30676
 
30657
30677
  // src/Prebuilt/layouts/PDFView.jsx
30658
30678
  init_define_process_env();
30659
- import React155, { useEffect as useEffect55 } from "react";
30679
+ import React155, { useEffect as useEffect56 } from "react";
30660
30680
  import { usePDFShare } from "@100mslive/react-sdk";
30661
30681
  var PDFView = () => {
30662
30682
  const pdfConfig = usePDFConfig();
30663
30683
  const resetConfig = useResetPDFConfig();
30664
30684
  const { iframeRef, startPDFShare, isPDFShareInProgress } = usePDFShare(resetConfig);
30665
- useEffect55(() => {
30685
+ useEffect56(() => {
30666
30686
  return () => {
30667
30687
  resetConfig();
30668
30688
  };
30669
30689
  }, []);
30670
- useEffect55(() => {
30690
+ useEffect56(() => {
30671
30691
  (() => __async(void 0, null, function* () {
30672
30692
  try {
30673
30693
  if (!isPDFShareInProgress && pdfConfig) {
@@ -30715,7 +30735,7 @@ var PDFView = () => {
30715
30735
 
30716
30736
  // src/Prebuilt/plugins/CaptionsViewer.tsx
30717
30737
  init_define_process_env();
30718
- import React156, { useEffect as useEffect56, useRef as useRef30, useState as useState66 } from "react";
30738
+ import React156, { useEffect as useEffect57, useRef as useRef31, useState as useState66 } from "react";
30719
30739
  import Draggable2 from "react-draggable";
30720
30740
  import { useMedia as useMedia37 } from "react-use";
30721
30741
  import {
@@ -30886,8 +30906,8 @@ var CaptionsViewer = ({
30886
30906
  const [currentData, setCurrentData] = useState66([]);
30887
30907
  const isCaptionEnabled = useIsCaptionEnabled();
30888
30908
  const isTranscriptionEnabled = useHMSStore82(selectIsTranscriptionEnabled5);
30889
- const nodeRef = useRef30(null);
30890
- useEffect56(() => {
30909
+ const nodeRef = useRef31(null);
30910
+ useEffect57(() => {
30891
30911
  const timeInterval = setInterval(() => {
30892
30912
  var _a8;
30893
30913
  if (!captionQueue) {
@@ -30954,12 +30974,12 @@ var CaptionsViewer = ({
30954
30974
 
30955
30975
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
30956
30976
  init_define_process_env();
30957
- import { useEffect as useEffect57 } from "react";
30977
+ import { useEffect as useEffect58 } from "react";
30958
30978
  import { selectPeerScreenSharing as selectPeerScreenSharing4, useHMSStore as useHMSStore83, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
30959
30979
  var useCloseScreenshareWhiteboard = () => {
30960
30980
  const peerSharing = useHMSStore83(selectPeerScreenSharing4);
30961
30981
  const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
30962
- useEffect57(() => {
30982
+ useEffect58(() => {
30963
30983
  if (isWhiteboardOwner && peerSharing) {
30964
30984
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
30965
30985
  }
@@ -30967,7 +30987,7 @@ var useCloseScreenshareWhiteboard = () => {
30967
30987
  };
30968
30988
 
30969
30989
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30970
- var HLSView = React157.lazy(() => import("./HLSView-VBMAXHBP.js"));
30990
+ var HLSView = React157.lazy(() => import("./HLSView-3MZRLTM4.js"));
30971
30991
  var VideoStreamingSection = ({
30972
30992
  screenType,
30973
30993
  elements,
@@ -30986,7 +31006,7 @@ var VideoStreamingSection = ({
30986
31006
  const [captionPosition, setCaptionPosition] = useState67({ x: isMobile ? 0 : -200, y: 0 });
30987
31007
  useCloseScreenshareWhiteboard();
30988
31008
  const { isNotAllowedToPublish, isScreenOnlyPublishParams, hasSubscribedRolePublishing } = useWaitingRoomInfo();
30989
- useEffect58(() => {
31009
+ useEffect59(() => {
30990
31010
  if (!isConnected) {
30991
31011
  return;
30992
31012
  }
@@ -31299,12 +31319,12 @@ var Header2 = () => {
31299
31319
 
31300
31320
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
31301
31321
  init_define_process_env();
31302
- import { useEffect as useEffect59 } from "react";
31322
+ import { useEffect as useEffect60 } from "react";
31303
31323
  import { selectLocalPeerRoleName as selectLocalPeerRoleName7, useHMSVanillaStore as useHMSVanillaStore14 } from "@100mslive/react-sdk";
31304
31324
  var PreviousRoleInMetadata = () => {
31305
31325
  const vanillaStore = useHMSVanillaStore14();
31306
31326
  const { updateMetaData } = useMyMetadata();
31307
- useEffect59(() => {
31327
+ useEffect60(() => {
31308
31328
  let previousRole = vanillaStore.getState(selectLocalPeerRoleName7);
31309
31329
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
31310
31330
  if (previousRole !== currentRole && currentRole) {
@@ -31329,14 +31349,14 @@ var ConferenceScreen = () => {
31329
31349
  const [hideControls, setHideControls] = useState68(false);
31330
31350
  const dropdownList = useHMSStore87(selectAppData12(APP_DATA.dropdownList));
31331
31351
  const authTokenInAppData = useAuthToken();
31332
- const headerRef = useRef31(null);
31333
- const footerRef = useRef31(null);
31352
+ const headerRef = useRef32(null);
31353
+ const footerRef = useRef32(null);
31334
31354
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
31335
- const dropdownListRef = useRef31();
31355
+ const dropdownListRef = useRef32();
31336
31356
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
31337
31357
  const { requestPermission } = useAwayNotifications3();
31338
31358
  const showChat = !!((_a7 = screenProps.elements) == null ? void 0 : _a7.chat);
31339
- const autoRoomJoined = useRef31(isPreviewScreenEnabled);
31359
+ const autoRoomJoined = useRef32(isPreviewScreenEnabled);
31340
31360
  const isMobileHLSStream = useMobileHLSStream();
31341
31361
  const isLandscapeHLSStream = useLandscapeHLSStream();
31342
31362
  const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
@@ -31346,7 +31366,7 @@ var ConferenceScreen = () => {
31346
31366
  setHideControls((value) => !value);
31347
31367
  }
31348
31368
  };
31349
- useEffect60(() => {
31369
+ useEffect61(() => {
31350
31370
  let timeout;
31351
31371
  dropdownListRef.current = dropdownList || [];
31352
31372
  if (dropdownListRef.current && dropdownListRef.current.length === 0) {
@@ -31361,7 +31381,7 @@ var ConferenceScreen = () => {
31361
31381
  clearTimeout(timeout);
31362
31382
  };
31363
31383
  }, [dropdownList, hideControls, isMobileDevice]);
31364
- useEffect60(() => {
31384
+ useEffect61(() => {
31365
31385
  if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== HMSRoomState8.Connecting && !autoRoomJoined.current) {
31366
31386
  hmsActions.join({
31367
31387
  userName: userName || uuid3(),
@@ -31385,7 +31405,7 @@ var ConferenceScreen = () => {
31385
31405
  userName,
31386
31406
  requestPermission
31387
31407
  ]);
31388
- useEffect60(() => {
31408
+ useEffect61(() => {
31389
31409
  onJoinFunc == null ? void 0 : onJoinFunc();
31390
31410
  return () => {
31391
31411
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
@@ -31566,11 +31586,11 @@ var ErrorBoundary = class extends Component {
31566
31586
 
31567
31587
  // src/Prebuilt/components/init/Init.jsx
31568
31588
  init_define_process_env();
31569
- import React163, { useEffect as useEffect62 } from "react";
31589
+ import React163, { useEffect as useEffect63 } from "react";
31570
31590
 
31571
31591
  // src/Prebuilt/services/FeatureFlags.jsx
31572
31592
  init_define_process_env();
31573
- import { useEffect as useEffect61 } from "react";
31593
+ import { useEffect as useEffect62 } from "react";
31574
31594
  import { selectRoomID, useHMSStore as useHMSStore88 } from "@100mslive/react-sdk";
31575
31595
  var FeatureFlags = class {
31576
31596
  static init(roomId) {
@@ -31597,7 +31617,7 @@ __publicField(FeatureFlags, "enableStatsForNerds", define_process_env_default.RE
31597
31617
  __publicField(FeatureFlags, "enableWhiteboard", define_process_env_default.REACT_APP_ENABLE_WHITEBOARD && define_process_env_default.REACT_APP_PUSHER_APP_KEY && define_process_env_default.REACT_APP_PUSHER_AUTHENDPOINT);
31598
31618
  function FeatureFlagsInit() {
31599
31619
  const roomId = useHMSStore88(selectRoomID);
31600
- useEffect61(() => {
31620
+ useEffect62(() => {
31601
31621
  if (roomId) {
31602
31622
  FeatureFlags.init(roomId);
31603
31623
  }
@@ -31608,10 +31628,10 @@ function FeatureFlagsInit() {
31608
31628
  // src/Prebuilt/components/init/Init.jsx
31609
31629
  var Init = () => {
31610
31630
  const { toggleTheme } = useTheme();
31611
- useEffect62(() => {
31631
+ useEffect63(() => {
31612
31632
  window.toggleUiTheme = toggleTheme;
31613
31633
  }, [toggleTheme]);
31614
- useEffect62(() => {
31634
+ useEffect63(() => {
31615
31635
  function resetHeight() {
31616
31636
  var _a7;
31617
31637
  document.body.style.height = `${((_a7 = window.visualViewport) == null ? void 0 : _a7.height) || window.innerHeight}px`;
@@ -31627,7 +31647,7 @@ var Init = () => {
31627
31647
 
31628
31648
  // src/Prebuilt/components/Input/KeyboardInputManager.js
31629
31649
  init_define_process_env();
31630
- import { useEffect as useEffect63 } from "react";
31650
+ import { useEffect as useEffect64 } from "react";
31631
31651
  import {
31632
31652
  selectAppData as selectAppData13,
31633
31653
  selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
@@ -31722,7 +31742,7 @@ _unbind = new WeakMap();
31722
31742
  var KeyboardHandler = () => {
31723
31743
  const store = useHMSVanillaStore15();
31724
31744
  const actions = useHMSActions51();
31725
- useEffect63(() => {
31745
+ useEffect64(() => {
31726
31746
  const keyboardManager = new KeyboardInputManager(store, actions);
31727
31747
  keyboardManager.bindAllShortcuts();
31728
31748
  return keyboardManager.unbindAllShortcuts;
@@ -32247,7 +32267,7 @@ var LeaveScreen = () => {
32247
32267
 
32248
32268
  // src/Prebuilt/components/MwebLandscapePrompt.tsx
32249
32269
  init_define_process_env();
32250
- import React168, { useEffect as useEffect64, useState as useState71 } from "react";
32270
+ import React168, { useEffect as useEffect65, useState as useState71 } from "react";
32251
32271
  import { useMedia as useMedia44 } from "react-use";
32252
32272
  import { match as match14, P as P6 } from "ts-pattern";
32253
32273
  import { RefreshIcon } from "@100mslive/react-icons";
@@ -32255,7 +32275,7 @@ var MwebLandscapePrompt = () => {
32255
32275
  const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState71(false);
32256
32276
  const isLandscape = useMedia44(config.media.ls);
32257
32277
  const isLandscapeHLSStream = useLandscapeHLSStream();
32258
- useEffect64(() => {
32278
+ useEffect65(() => {
32259
32279
  var _a7;
32260
32280
  if (!isMobileUserAgent) {
32261
32281
  setShowMwebLandscapePrompt(false);
@@ -32300,7 +32320,7 @@ init_define_process_env();
32300
32320
 
32301
32321
  // src/Prebuilt/components/Notifications/Notifications.tsx
32302
32322
  init_define_process_env();
32303
- import React177, { useCallback as useCallback36, useEffect as useEffect75 } from "react";
32323
+ import React177, { useCallback as useCallback36, useEffect as useEffect76 } from "react";
32304
32324
  import {
32305
32325
  HMSNotificationTypes as HMSNotificationTypes11,
32306
32326
  HMSRoomState as HMSRoomState10,
@@ -32349,7 +32369,7 @@ function AutoplayBlockedModal() {
32349
32369
 
32350
32370
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
32351
32371
  init_define_process_env();
32352
- import React170, { useEffect as useEffect65 } from "react";
32372
+ import React170, { useEffect as useEffect66 } from "react";
32353
32373
  import { v4 as uuid4 } from "uuid";
32354
32374
  import { selectLocalPeerID as selectLocalPeerID14, selectSessionStore as selectSessionStore13, useHMSStore as useHMSStore89 } from "@100mslive/react-sdk";
32355
32375
  import { ChatIcon as ChatIcon2, ChatUnreadIcon } from "@100mslive/react-icons";
@@ -32357,7 +32377,7 @@ var NOTIFICATION_TIME_DIFFERENCE = 5e3;
32357
32377
  var ChatNotifications = () => {
32358
32378
  const chatState = useHMSStore89(selectSessionStore13("chatState" /* CHAT_STATE */));
32359
32379
  const localPeerId = useHMSStore89(selectLocalPeerID14);
32360
- useEffect65(() => {
32380
+ useEffect66(() => {
32361
32381
  var _a7, _b7;
32362
32382
  if (!chatState || ((_a7 = chatState.updatedBy) == null ? void 0 : _a7.peerId) === localPeerId) {
32363
32383
  return;
@@ -32378,7 +32398,7 @@ var ChatNotifications = () => {
32378
32398
 
32379
32399
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
32380
32400
  init_define_process_env();
32381
- import { useEffect as useEffect66 } from "react";
32401
+ import { useEffect as useEffect67 } from "react";
32382
32402
  import { useDebounce as useDebounce2 } from "react-use";
32383
32403
  import {
32384
32404
  HMSNotificationTypes as HMSNotificationTypes2,
@@ -32638,7 +32658,7 @@ var HandRaisedNotifications = () => {
32638
32658
  const amIScreenSharing = useHMSStore91(selectIsLocalScreenShared3);
32639
32659
  const { showNotification } = useAwayNotifications4();
32640
32660
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
32641
- useEffect66(() => {
32661
+ useEffect67(() => {
32642
32662
  var _a8;
32643
32663
  if (!(notification == null ? void 0 : notification.data)) {
32644
32664
  return;
@@ -32678,13 +32698,13 @@ var HandRaisedNotifications = () => {
32678
32698
 
32679
32699
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
32680
32700
  init_define_process_env();
32681
- import React172, { useEffect as useEffect67, useState as useState72 } from "react";
32701
+ import React172, { useEffect as useEffect68, useState as useState72 } from "react";
32682
32702
  import { HMSNotificationTypes as HMSNotificationTypes3, useHMSNotifications as useHMSNotifications3 } from "@100mslive/react-sdk";
32683
32703
  var InitErrorModal = () => {
32684
32704
  const notification = useHMSNotifications3(HMSNotificationTypes3.ERROR);
32685
32705
  const [showModal, setShowModal] = useState72(false);
32686
32706
  const [info, setInfo] = useState72({ title: "Init Error", description: "" });
32687
- useEffect67(() => {
32707
+ useEffect68(() => {
32688
32708
  const data3 = notification == null ? void 0 : notification.data;
32689
32709
  if (!data3 || data3.action !== "INIT") {
32690
32710
  return;
@@ -32709,7 +32729,7 @@ var InitErrorModal = () => {
32709
32729
 
32710
32730
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
32711
32731
  init_define_process_env();
32712
- import { useEffect as useEffect68 } from "react";
32732
+ import { useEffect as useEffect69 } from "react";
32713
32733
  import { HMSNotificationTypes as HMSNotificationTypes4, useHMSNotifications as useHMSNotifications4 } from "@100mslive/react-sdk";
32714
32734
  var notificationTypes = [HMSNotificationTypes4.PEER_JOINED, HMSNotificationTypes4.PEER_LEFT];
32715
32735
  var PeerNotifications = () => {
@@ -32717,7 +32737,7 @@ var PeerNotifications = () => {
32717
32737
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
32718
32738
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
32719
32739
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
32720
- useEffect68(() => {
32740
+ useEffect69(() => {
32721
32741
  if (!(notification == null ? void 0 : notification.data)) {
32722
32742
  return;
32723
32743
  }
@@ -32746,7 +32766,7 @@ var PeerNotifications = () => {
32746
32766
 
32747
32767
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
32748
32768
  init_define_process_env();
32749
- import React173, { useEffect as useEffect69, useState as useState73 } from "react";
32769
+ import React173, { useEffect as useEffect70, useState as useState73 } from "react";
32750
32770
  import { useMedia as useMedia45 } from "react-use";
32751
32771
  import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
32752
32772
 
@@ -32765,7 +32785,7 @@ var PermissionErrorModal = ({ error }) => {
32765
32785
  const [deviceType, setDeviceType] = useState73("");
32766
32786
  const [isSystemError, setIsSystemError] = useState73(false);
32767
32787
  const isMobile = useMedia45(config.media.md);
32768
- useEffect69(() => {
32788
+ useEffect70(() => {
32769
32789
  if (!error || (error == null ? void 0 : error.code) !== 3001 && (error == null ? void 0 : error.code) !== 3011 || (error == null ? void 0 : error.code) === 3001 && (error == null ? void 0 : error.message.includes("screen"))) {
32770
32790
  return;
32771
32791
  }
@@ -32821,7 +32841,7 @@ var PermissionErrorModal = ({ error }) => {
32821
32841
 
32822
32842
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
32823
32843
  init_define_process_env();
32824
- import { useEffect as useEffect70, useRef as useRef32 } from "react";
32844
+ import { useEffect as useEffect71, useRef as useRef33 } from "react";
32825
32845
  import { HMSNotificationTypes as HMSNotificationTypes6, useHMSNotifications as useHMSNotifications6 } from "@100mslive/react-sdk";
32826
32846
  var notificationTypes2 = [
32827
32847
  HMSNotificationTypes6.RECONNECTED,
@@ -32831,8 +32851,8 @@ var notificationTypes2 = [
32831
32851
  var notificationId = null;
32832
32852
  var ReconnectNotifications = () => {
32833
32853
  const notification = useHMSNotifications6(notificationTypes2);
32834
- const prevErrorCode = useRef32(0);
32835
- useEffect70(() => {
32854
+ const prevErrorCode = useRef33(0);
32855
+ useEffect71(() => {
32836
32856
  var _a7, _b7;
32837
32857
  if (!notification) {
32838
32858
  return;
@@ -32855,7 +32875,7 @@ var ReconnectNotifications = () => {
32855
32875
 
32856
32876
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
32857
32877
  init_define_process_env();
32858
- import React174, { useEffect as useEffect71, useState as useState74 } from "react";
32878
+ import React174, { useEffect as useEffect72, useState as useState74 } from "react";
32859
32879
  import {
32860
32880
  HMSNotificationTypes as HMSNotificationTypes7,
32861
32881
  useHMSActions as useHMSActions54,
@@ -32870,7 +32890,7 @@ var TrackBulkUnmuteModal = () => {
32870
32890
  HMSNotificationTypes7.ROOM_ENDED,
32871
32891
  HMSNotificationTypes7.REMOVED_FROM_ROOM
32872
32892
  ]);
32873
- useEffect71(() => {
32893
+ useEffect72(() => {
32874
32894
  switch (notification == null ? void 0 : notification.type) {
32875
32895
  case HMSNotificationTypes7.REMOVED_FROM_ROOM:
32876
32896
  case HMSNotificationTypes7.ROOM_ENDED:
@@ -32909,7 +32929,7 @@ var TrackBulkUnmuteModal = () => {
32909
32929
 
32910
32930
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
32911
32931
  init_define_process_env();
32912
- import { useEffect as useEffect72 } from "react";
32932
+ import { useEffect as useEffect73 } from "react";
32913
32933
  import { HMSNotificationTypes as HMSNotificationTypes8, useHMSNotifications as useHMSNotifications8 } from "@100mslive/react-sdk";
32914
32934
  var notificationTypes3 = [
32915
32935
  HMSNotificationTypes8.TRACK_ADDED,
@@ -32919,7 +32939,7 @@ var notificationTypes3 = [
32919
32939
  ];
32920
32940
  var TrackNotifications = () => {
32921
32941
  const notification = useHMSNotifications8(notificationTypes3);
32922
- useEffect72(() => {
32942
+ useEffect73(() => {
32923
32943
  if (notification) {
32924
32944
  console.debug(`[${notification.type}]`, notification);
32925
32945
  }
@@ -32929,7 +32949,7 @@ var TrackNotifications = () => {
32929
32949
 
32930
32950
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
32931
32951
  init_define_process_env();
32932
- import React175, { useEffect as useEffect73, useState as useState75 } from "react";
32952
+ import React175, { useEffect as useEffect74, useState as useState75 } from "react";
32933
32953
  import {
32934
32954
  HMSNotificationTypes as HMSNotificationTypes9,
32935
32955
  useHMSActions as useHMSActions55,
@@ -32944,7 +32964,7 @@ var TrackUnmuteModal = () => {
32944
32964
  HMSNotificationTypes9.REMOVED_FROM_ROOM
32945
32965
  ]);
32946
32966
  const [muteNotification, setMuteNotification] = useState75(null);
32947
- useEffect73(() => {
32967
+ useEffect74(() => {
32948
32968
  switch (notification == null ? void 0 : notification.type) {
32949
32969
  case HMSNotificationTypes9.REMOVED_FROM_ROOM:
32950
32970
  case HMSNotificationTypes9.ROOM_ENDED:
@@ -32980,14 +33000,14 @@ var TrackUnmuteModal = () => {
32980
33000
 
32981
33001
  // src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx
32982
33002
  init_define_process_env();
32983
- import React176, { useEffect as useEffect74 } from "react";
33003
+ import React176, { useEffect as useEffect75 } from "react";
32984
33004
  import { match as match15 } from "ts-pattern";
32985
33005
  import { HMSNotificationTypes as HMSNotificationTypes10, HMSTranscriptionState, useHMSNotifications as useHMSNotifications10 } from "@100mslive/react-sdk";
32986
33006
  import { AlertTriangleIcon as AlertTriangleIcon8, ClosedCaptionIcon as ClosedCaptionIcon3, OpenCaptionIcon as OpenCaptionIcon4 } from "@100mslive/react-icons";
32987
33007
  var TranscriptionNotifications = () => {
32988
33008
  const notification = useHMSNotifications10(HMSNotificationTypes10.TRANSCRIPTION_STATE_UPDATED);
32989
33009
  const [toastId, setToastId] = useSetAppDataByKey(CAPTION_TOAST.captionToast);
32990
- useEffect74(() => {
33010
+ useEffect75(() => {
32991
33011
  if (!(notification == null ? void 0 : notification.data)) {
32992
33012
  return;
32993
33013
  }
@@ -33049,7 +33069,7 @@ function Notifications() {
33049
33069
  });
33050
33070
  }, []);
33051
33071
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33052
- useEffect75(() => {
33072
+ useEffect76(() => {
33053
33073
  var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
33054
33074
  if (!notification || isNotificationDisabled) {
33055
33075
  return;
@@ -33235,7 +33255,7 @@ var PreviewScreen = () => {
33235
33255
 
33236
33256
  // src/Prebuilt/components/Toast/ToastContainer.jsx
33237
33257
  init_define_process_env();
33238
- import React181, { useEffect as useEffect76, useState as useState77 } from "react";
33258
+ import React181, { useEffect as useEffect77, useState as useState77 } from "react";
33239
33259
  import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore93 } from "@100mslive/react-sdk";
33240
33260
 
33241
33261
  // src/Prebuilt/components/Toast/Toast.jsx
@@ -33261,7 +33281,7 @@ var Toast2 = (_a7) => {
33261
33281
  var ToastContainer = () => {
33262
33282
  const isConnected = useHMSStore93(selectIsConnectedToRoom11);
33263
33283
  const [toasts, setToast] = useState77([]);
33264
- useEffect76(() => {
33284
+ useEffect77(() => {
33265
33285
  ToastManager.addListener(setToast);
33266
33286
  return () => {
33267
33287
  ToastManager.removeListener(setToast);
@@ -33316,7 +33336,7 @@ var Sheet2 = () => {
33316
33336
 
33317
33337
  // src/Prebuilt/plugins/FlyingEmoji.jsx
33318
33338
  init_define_process_env();
33319
- import React184, { useCallback as useCallback38, useEffect as useEffect77, useMemo as useMemo23, useState as useState78 } from "react";
33339
+ import React184, { useCallback as useCallback38, useEffect as useEffect78, useMemo as useMemo23, useState as useState78 } from "react";
33320
33340
  import { useMedia as useMedia46 } from "react-use";
33321
33341
  import {
33322
33342
  selectIsLargeRoom as selectIsLargeRoom4,
@@ -33390,7 +33410,7 @@ function FlyingEmoji() {
33390
33410
  type: EMOJI_REACTION_TYPE,
33391
33411
  onEvent: showFlyingEmoji
33392
33412
  });
33393
- useEffect77(() => {
33413
+ useEffect78(() => {
33394
33414
  window.showFlyingEmoji = showFlyingEmoji;
33395
33415
  }, [showFlyingEmoji]);
33396
33416
  return /* @__PURE__ */ React184.createElement(
@@ -33469,7 +33489,7 @@ function RemoteStopScreenshare() {
33469
33489
 
33470
33490
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
33471
33491
  init_define_process_env();
33472
- import { useCallback as useCallback40, useEffect as useEffect78, useRef as useRef33 } from "react";
33492
+ import { useCallback as useCallback40, useEffect as useEffect79, useRef as useRef34 } from "react";
33473
33493
  import {
33474
33494
  selectIsConnectedToRoom as selectIsConnectedToRoom12,
33475
33495
  selectPermissions as selectPermissions20,
@@ -33484,7 +33504,7 @@ var useAutoStartStreaming = () => {
33484
33504
  const hmsActions = useHMSActions58();
33485
33505
  const isConnected = useHMSStore96(selectIsConnectedToRoom12);
33486
33506
  const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming12();
33487
- const streamStartedRef = useRef33(false);
33507
+ const streamStartedRef = useRef34(false);
33488
33508
  const startHLS = useCallback40(() => __async(void 0, null, function* () {
33489
33509
  try {
33490
33510
  if (isHLSStarted || !showStreamingUI || isHLSRunning || isRTMPRunning || isHLSRecordingOn || isBrowserRecordingOn) {
@@ -33508,12 +33528,12 @@ var useAutoStartStreaming = () => {
33508
33528
  isHLSRecordingOn,
33509
33529
  isBrowserRecordingOn
33510
33530
  ]);
33511
- useEffect78(() => {
33531
+ useEffect79(() => {
33512
33532
  if (!isHLSStarted && !isHLSRunning) {
33513
33533
  streamStartedRef.current = false;
33514
33534
  }
33515
33535
  }, [isHLSStarted, isHLSRunning]);
33516
- useEffect78(() => {
33536
+ useEffect79(() => {
33517
33537
  if (!isConnected || streamStartedRef.current || !(permissions == null ? void 0 : permissions.hlsStreaming)) {
33518
33538
  return;
33519
33539
  }
@@ -33537,9 +33557,9 @@ var HMSPrebuilt = React186.forwardRef(
33537
33557
  onJoin
33538
33558
  }, ref) => {
33539
33559
  var _a7, _b7, _c, _d;
33540
- const reactiveStore = useRef34();
33560
+ const reactiveStore = useRef35();
33541
33561
  const [hydrated, setHydrated] = React186.useState(false);
33542
- useEffect79(() => {
33562
+ useEffect80(() => {
33543
33563
  setHydrated(true);
33544
33564
  const hms = new HMSReactiveStore();
33545
33565
  const hmsStore = hms.getStore();
@@ -33554,13 +33574,13 @@ var HMSPrebuilt = React186.forwardRef(
33554
33574
  hmsNotifications
33555
33575
  };
33556
33576
  }, []);
33557
- useEffect79(() => {
33577
+ useEffect80(() => {
33558
33578
  if (!ref || !reactiveStore.current) {
33559
33579
  return;
33560
33580
  }
33561
33581
  ref.current = __spreadValues({}, reactiveStore.current);
33562
33582
  }, [ref]);
33563
- useEffect79(() => {
33583
+ useEffect80(() => {
33564
33584
  return () => {
33565
33585
  var _a8;
33566
33586
  VBHandler.reset();
@@ -33568,10 +33588,10 @@ var HMSPrebuilt = React186.forwardRef(
33568
33588
  };
33569
33589
  }, []);
33570
33590
  const endpointsObj = endpoints;
33571
- const tokenByRoomCodeEndpoint = (endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode) || "";
33572
- const initEndpoint = (endpointsObj == null ? void 0 : endpointsObj.init) || "";
33573
- const eventEndpoint = (endpointsObj == null ? void 0 : endpointsObj.event) || "";
33574
- const roomLayoutEndpoint = (endpointsObj == null ? void 0 : endpointsObj.roomLayout) || "";
33591
+ const tokenByRoomCodeEndpoint = endpointsObj == null ? void 0 : endpointsObj.tokenByRoomCode;
33592
+ const initEndpoint = endpointsObj == null ? void 0 : endpointsObj.init;
33593
+ const eventEndpoint = endpointsObj == null ? void 0 : endpointsObj.event;
33594
+ const roomLayoutEndpoint = endpointsObj == null ? void 0 : endpointsObj.roomLayout;
33575
33595
  const overrideLayout = {
33576
33596
  logo,
33577
33597
  themes,
@@ -33676,7 +33696,7 @@ var AppStates = ({ activeState }) => {
33676
33696
  var BackSwipe = () => {
33677
33697
  const isConnectedToRoom = useHMSStore97(selectIsConnectedToRoom13);
33678
33698
  const hmsActions = useHMSActions59();
33679
- useEffect79(() => {
33699
+ useEffect80(() => {
33680
33700
  const onRouteLeave = () => __async(void 0, null, function* () {
33681
33701
  if (isConnectedToRoom) {
33682
33702
  yield hmsActions.leave();
@@ -33727,7 +33747,7 @@ init_define_process_env();
33727
33747
 
33728
33748
  // src/Diagnostics/Diagnostics.tsx
33729
33749
  init_define_process_env();
33730
- import React194, { useCallback as useCallback42, useRef as useRef36, useState as useState84 } from "react";
33750
+ import React194, { useCallback as useCallback42, useRef as useRef37, useState as useState84 } from "react";
33731
33751
  import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions61 } from "@100mslive/react-sdk";
33732
33752
  import {
33733
33753
  CheckCircleIcon as CheckCircleIcon7,
@@ -33740,7 +33760,7 @@ import {
33740
33760
 
33741
33761
  // src/Diagnostics/AudioTest.tsx
33742
33762
  init_define_process_env();
33743
- import React190, { useCallback as useCallback41, useEffect as useEffect80, useState as useState80 } from "react";
33763
+ import React190, { useCallback as useCallback41, useEffect as useEffect81, useState as useState80 } from "react";
33744
33764
  import {
33745
33765
  selectDevices,
33746
33766
  selectLocalAudioTrackID as selectLocalAudioTrackID2,
@@ -33833,11 +33853,11 @@ var TestFooter = ({
33833
33853
  // src/Diagnostics/DeviceSelector.jsx
33834
33854
  init_define_process_env();
33835
33855
  var import_prop_types = __toESM(require_prop_types());
33836
- import React189, { useRef as useRef35, useState as useState79 } from "react";
33856
+ import React189, { useRef as useRef36, useState as useState79 } from "react";
33837
33857
  var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
33838
33858
  var _a7, _b7;
33839
33859
  const [open, setOpen] = useState79(false);
33840
- const ref = useRef35(null);
33860
+ const ref = useRef36(null);
33841
33861
  return /* @__PURE__ */ React189.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React189.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React189.createElement(
33842
33862
  Flex,
33843
33863
  {
@@ -34011,7 +34031,7 @@ var AudioTest = () => {
34011
34031
  },
34012
34032
  [updateStep, setErrorAlone]
34013
34033
  );
34014
- useEffect80(() => {
34034
+ useEffect81(() => {
34015
34035
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.requestPermission({ audio: true }).catch((error2) => setError(error2));
34016
34036
  }, [hmsDiagnostics, setError]);
34017
34037
  return /* @__PURE__ */ React190.createElement(React190.Fragment, null, /* @__PURE__ */ React190.createElement(TestContainer, null, /* @__PURE__ */ React190.createElement(Text, { variant: "body2", css: { c: "$on_primary_medium" } }, "Record a 10 second audio clip and play it back to check that your microphone and speaker are working. If they aren't, make sure your volume is turned up, try a different speaker or microphone, or check your bluetooth settings."), /* @__PURE__ */ React190.createElement(
@@ -34033,7 +34053,7 @@ var AudioTest = () => {
34033
34053
 
34034
34054
  // src/Diagnostics/BrowserTest.tsx
34035
34055
  init_define_process_env();
34036
- import React191, { useEffect as useEffect81, useState as useState81 } from "react";
34056
+ import React191, { useEffect as useEffect82, useState as useState81 } from "react";
34037
34057
  import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
34038
34058
  var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
34039
34059
  var operatingSystemIconInfo = {
@@ -34120,7 +34140,7 @@ var BrowserTest = () => {
34120
34140
  var _a7, _b7, _c, _d;
34121
34141
  const { hmsDiagnostics, updateStep } = useDiagnostics();
34122
34142
  const [error, setError] = useState81();
34123
- useEffect81(() => {
34143
+ useEffect82(() => {
34124
34144
  try {
34125
34145
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
34126
34146
  } catch (err) {
@@ -34369,7 +34389,7 @@ var downloadJson = (obj, fileName) => {
34369
34389
 
34370
34390
  // src/Diagnostics/VideoTest.tsx
34371
34391
  init_define_process_env();
34372
- import React193, { useEffect as useEffect82, useState as useState83 } from "react";
34392
+ import React193, { useEffect as useEffect83, useState as useState83 } from "react";
34373
34393
  import {
34374
34394
  selectDevices as selectDevices2,
34375
34395
  selectLocalMediaSettings as selectLocalMediaSettings2,
@@ -34384,7 +34404,7 @@ var VideoTest = () => {
34384
34404
  const trackID = useHMSStore99(selectLocalVideoTrackID4);
34385
34405
  const sdkSelectedDevices = useHMSStore99(selectLocalMediaSettings2);
34386
34406
  const [error, setError] = useState83();
34387
- useEffect82(() => {
34407
+ useEffect83(() => {
34388
34408
  hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
34389
34409
  updateStep(1 /* VIDEO */, { hasFailed: true });
34390
34410
  setError(err);
@@ -34509,7 +34529,7 @@ var DiagnosticsProvider = () => {
34509
34529
  const actions = useHMSActions61();
34510
34530
  const [activeStep, setActiveStep] = useState84(0);
34511
34531
  const [steps, setSteps] = useState84(initialSteps);
34512
- const diagnosticsRef = useRef36(actions.initDiagnostics());
34532
+ const diagnosticsRef = useRef37(actions.initDiagnostics());
34513
34533
  const updateStep = useCallback42((step, value) => {
34514
34534
  setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
34515
34535
  }, []);
@@ -34663,4 +34683,4 @@ object-assign/index.js:
34663
34683
  @license MIT
34664
34684
  *)
34665
34685
  */
34666
- //# sourceMappingURL=chunk-JCM6FDIX.js.map
34686
+ //# sourceMappingURL=chunk-ZVQJMV44.js.map