@100mslive/roomkit-react 0.3.16 → 0.3.17-alpha.0

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_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.6", 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.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.16", 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.9", 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.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "596", 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.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240714.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.5/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:19745", 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.16", 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: "10042906559", 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: "580d445154522296643833e00082e4f2c9f0103b", 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: "b5ebb68b737163142b6a89349dca5c723a54398274fee53471c9ccccb560ad1b", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1721659029637-0.025369034475224428:/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--1721659029438-0.0827665903380077:/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--1721659003681-0.732833631475869:/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--1721659003500-0.1956061330608585:/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_2364e786-b6a9-4db1-abfd-bc04da0a846e", INVOCATION_ID: "3b114493058141d19f0ff26c0b2940ff", 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: "616", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 125", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.16", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.16", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "580d445154522296643833e00082e4f2c9f0103b", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6f397c96-a415-4c65-a8ac-4513df64afe7", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6f397c96-a415-4c65-a8ac-4513df64afe7", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6f397c96-a415-4c65-a8ac-4513df64afe7" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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.7-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.17-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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.17-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.9", 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.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240714.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.5/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:19511", 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.17-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: "10074627178", 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: "3fff3238f614b199bfd20704192c64d3a800c001", 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: "e6e3d5ff9e96f688209dbc239ab3a8fc1ed77170517797619066f352e17c41a5", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1721815582776-0.9950516136852274:/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--1721815582567-0.23279307288631967:/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--1721815557214-0.11232493176740999:/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--1721815557029-0.7901628014964999:/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_9b06aa99-5b30-4109-8e8f-e3485a18e0b5", INVOCATION_ID: "54d3824b0129437baa41caf17ce97b81", 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: "617", 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 171", 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/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-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.17-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_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: "3fff3238f614b199bfd20704192c64d3a800c001", 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_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22" };
111
111
  }
112
112
  });
113
113
 
@@ -8916,7 +8916,7 @@ var require_react_is_production_min = __commonJS({
8916
8916
  }
8917
8917
  }
8918
8918
  }
8919
- function A2(a2) {
8919
+ function A(a2) {
8920
8920
  return z(a2) === m2;
8921
8921
  }
8922
8922
  exports.AsyncMode = l;
@@ -8933,9 +8933,9 @@ var require_react_is_production_min = __commonJS({
8933
8933
  exports.StrictMode = f2;
8934
8934
  exports.Suspense = p;
8935
8935
  exports.isAsyncMode = function(a2) {
8936
- return A2(a2) || z(a2) === l;
8936
+ return A(a2) || z(a2) === l;
8937
8937
  };
8938
- exports.isConcurrentMode = A2;
8938
+ exports.isConcurrentMode = A;
8939
8939
  exports.isContextConsumer = function(a2) {
8940
8940
  return z(a2) === k2;
8941
8941
  };
@@ -15089,7 +15089,13 @@ var AudioSettings = ({ onClick }) => {
15089
15089
  ));
15090
15090
  };
15091
15091
  var AudioVideoToggle = ({ hideOptions = false }) => {
15092
- const { allDevices, selectedDeviceIDs, updateDevice } = useDevices2();
15092
+ const { allDevices, selectedDeviceIDs, updateDevice } = useDevices2((error) => {
15093
+ ToastManager.addToast({
15094
+ title: error.message,
15095
+ variant: "error",
15096
+ duration: 2e3
15097
+ });
15098
+ });
15093
15099
  const { videoInput, audioInput, audioOutput } = allDevices;
15094
15100
  const localPeer = useHMSStore8(selectLocalPeer);
15095
15101
  const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = useAVToggle2();
@@ -17534,7 +17540,7 @@ var PIPChatOption = ({ openChat, showPIPChat }) => {
17534
17540
  if (!showPIPChat) {
17535
17541
  return /* @__PURE__ */ React50.createElement(React50.Fragment, null);
17536
17542
  }
17537
- return /* @__PURE__ */ React50.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "brb_btn" }, /* @__PURE__ */ React50.createElement(ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ React50.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
17543
+ return /* @__PURE__ */ React50.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "pip_chat_btn" }, /* @__PURE__ */ React50.createElement(ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ React50.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
17538
17544
  };
17539
17545
 
17540
17546
  // src/Prebuilt/components/PIP/PIPWindow.tsx
@@ -19387,8 +19393,8 @@ function shimGetUserMedia(window2, browserDetails) {
19387
19393
  navigator2.getUserMedia = getUserMedia_.bind(navigator2);
19388
19394
  if (navigator2.mediaDevices.getUserMedia) {
19389
19395
  const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
19390
- navigator2.mediaDevices.getUserMedia = function(cs) {
19391
- return shimConstraints_(cs, (c) => origGetUserMedia(c).then((stream) => {
19396
+ navigator2.mediaDevices.getUserMedia = function(cs2) {
19397
+ return shimConstraints_(cs2, (c) => origGetUserMedia(c).then((stream) => {
19392
19398
  if (c.audio && !stream.getAudioTracks().length || c.video && !stream.getVideoTracks().length) {
19393
19399
  stream.getTracks().forEach((track) => {
19394
19400
  track.stop();
@@ -21115,8 +21121,8 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21115
21121
  var import_lodash4 = __toESM(require_lodash2());
21116
21122
  import { v4 as vo } from "uuid";
21117
21123
  import { v4 as Po } from "uuid";
21118
- import { v4 as Io } from "uuid";
21119
- import { EventEmitter2 as Ao } from "eventemitter2";
21124
+ import { v4 as Ao } from "uuid";
21125
+ import { EventEmitter2 as Io } from "eventemitter2";
21120
21126
  var $t = __toESM(require_lib());
21121
21127
  import { EventEmitter2 as tn } from "eventemitter2";
21122
21128
  import { v4 as nn } from "uuid";
@@ -21128,36 +21134,36 @@ var ja = Object.defineProperty;
21128
21134
  var Ja = Object.defineProperties;
21129
21135
  var Qa = Object.getOwnPropertyDescriptors;
21130
21136
  var Zt = Object.getOwnPropertySymbols;
21131
- var rs = Object.prototype.hasOwnProperty;
21132
- var ss = Object.prototype.propertyIsEnumerable;
21133
- var is = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21137
+ var as = Object.prototype.hasOwnProperty;
21138
+ var os = Object.prototype.propertyIsEnumerable;
21139
+ var ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21134
21140
  var m = (a2, e) => {
21135
21141
  for (var t in e || (e = {}))
21136
- rs.call(e, t) && is(a2, t, e[t]);
21142
+ as.call(e, t) && ss(a2, t, e[t]);
21137
21143
  if (Zt)
21138
21144
  for (var t of Zt(e))
21139
- ss.call(e, t) && is(a2, t, e[t]);
21145
+ os.call(e, t) && ss(a2, t, e[t]);
21140
21146
  return a2;
21141
21147
  };
21142
21148
  var M = (a2, e) => Ja(a2, Qa(e));
21143
21149
  var mr = (a2, e) => {
21144
21150
  var t = {};
21145
21151
  for (var i in a2)
21146
- rs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21152
+ as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21147
21153
  if (a2 != null && Zt)
21148
21154
  for (var i of Zt(a2))
21149
- e.indexOf(i) < 0 && ss.call(a2, i) && (t[i] = a2[i]);
21155
+ e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21150
21156
  return t;
21151
21157
  };
21152
21158
  var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21153
21159
  var Mr = Xa((Fc, no) => {
21154
- no.exports = { version: "0.12.16", 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"] };
21160
+ no.exports = { version: "0.12.17-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"] };
21155
21161
  });
21156
21162
  var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21157
21163
  var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21158
- var as = ((t) => (t.INFO = "info", t.ERROR = "error", t))(as || {});
21164
+ var ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21159
21165
  var gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21160
- var os = ((t) => (t.audio = "audio", t.video = "video", t))(os || {});
21166
+ var cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21161
21167
  function xe(a2, e) {
21162
21168
  let t, i;
21163
21169
  if (e)
@@ -21182,7 +21188,7 @@ function ii(a2) {
21182
21188
  function ht(a2) {
21183
21189
  return a2 && a2.source === "videoplaylist";
21184
21190
  }
21185
- function ns(a2) {
21191
+ function ds(a2) {
21186
21192
  return a2 ? !!(a2 != null && a2.degraded) : false;
21187
21193
  }
21188
21194
  function je(a2, e) {
@@ -21193,7 +21199,7 @@ function mt(a2) {
21193
21199
  let e = false, t = false, i = false;
21194
21200
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21195
21201
  }
21196
- var ds = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ds || {});
21202
+ var us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
21197
21203
  var to = typeof window != "undefined" && typeof window.expect != "undefined";
21198
21204
  var d = class {
21199
21205
  static v(e, ...t) {
@@ -21263,14 +21269,14 @@ var d = class {
21263
21269
  d.level = to ? 7 : 0;
21264
21270
  var ge = new import_ua_parser_js.UAParser();
21265
21271
  var O = typeof window != "undefined";
21266
- var ls;
21267
- var Ue = typeof window == "undefined" && !((ls = ge.getBrowser().name) != null && ls.toLowerCase().includes("electron"));
21272
+ var ps;
21273
+ var Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21268
21274
  var ro = () => !Ue;
21269
21275
  var ic = ro();
21270
- var us;
21271
- var ps;
21272
- var ms = ((ps = (us = ge.getBrowser()) == null ? void 0 : us.name) == null ? void 0 : ps.toLowerCase()) === "firefox";
21273
- var Ss = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ss || {});
21276
+ var hs;
21277
+ var ms;
21278
+ var gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21279
+ var Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21274
21280
  function so() {
21275
21281
  if (O && window) {
21276
21282
  let a2 = window.location.hostname;
@@ -21442,7 +21448,7 @@ var vr = class {
21442
21448
  return this.valuesMap.size;
21443
21449
  }
21444
21450
  };
21445
- var gs = () => {
21451
+ var fs = () => {
21446
21452
  try {
21447
21453
  O && !localStorage && (window.localStorage = new vr());
21448
21454
  } catch (a2) {
@@ -21456,7 +21462,7 @@ var le = class {
21456
21462
  }
21457
21463
  getStorage() {
21458
21464
  try {
21459
- return O && !this.storage && (gs(), this.storage = window.localStorage), this.storage;
21465
+ return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21460
21466
  } catch (e) {
21461
21467
  return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21462
21468
  }
@@ -21476,29 +21482,29 @@ var le = class {
21476
21482
  (e = this.getStorage()) == null || e.removeItem(this.key);
21477
21483
  }
21478
21484
  };
21479
- var Ts = () => {
21485
+ var vs = () => {
21480
21486
  let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21481
21487
  return t ? a2 = t : (a2 = oo(), e.set(a2)), a2;
21482
21488
  };
21483
21489
  function oe(a2) {
21484
21490
  return a2 != null;
21485
21491
  }
21486
- var vs = Mr().version;
21492
+ var ys = Mr().version;
21487
21493
  function Tt(a2 = "prod", e) {
21488
21494
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21489
21495
  if (Ue)
21490
- return Ms({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: vs, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21496
+ return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21491
21497
  let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
21492
- return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), Ms({ os: n, os_version: l, sdk: t, sdk_version: vs, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21498
+ return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21493
21499
  }
21494
21500
  function yr(a2) {
21495
21501
  return a2.replace(/ /g, "_");
21496
21502
  }
21497
- var Ms = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21503
+ var ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21498
21504
  var H = class {
21499
21505
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21500
21506
  this.metadata = { peer: {}, userAgent: Tt() };
21501
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = Ts();
21507
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = vs();
21502
21508
  }
21503
21509
  toSignalParams() {
21504
21510
  return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -21648,15 +21654,15 @@ function ai(a2, e = 300) {
21648
21654
  }, e);
21649
21655
  };
21650
21656
  }
21651
- var br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(br || {});
21657
+ var Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21652
21658
  var Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
21653
- var Is = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Is || {});
21654
- var As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21659
+ var As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21660
+ var Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21655
21661
  var Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21656
21662
  var Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21657
- var Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21663
+ var Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21658
21664
  var Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21659
- var Ir = class {
21665
+ var Hr = class {
21660
21666
  constructor() {
21661
21667
  this.TAG = "[HMSIntersectionObserverWrapper]";
21662
21668
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21683,8 +21689,8 @@ var Ir = class {
21683
21689
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21684
21690
  }
21685
21691
  };
21686
- var Ns = new Ir();
21687
- var Ar = class {
21692
+ var Ns = new Hr();
21693
+ var Cr = class {
21688
21694
  constructor() {
21689
21695
  this.TAG = "[HMSResizeObserverWrapper]";
21690
21696
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21711,15 +21717,15 @@ var Ar = class {
21711
21717
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21712
21718
  }
21713
21719
  };
21714
- var Os = new Ar();
21715
- var Hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Hr || {});
21716
- var Cr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Cr || {});
21720
+ var Os = new Cr();
21721
+ var Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21722
+ var Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21717
21723
  var Bs = "https://event.100ms.live/v2/client/report";
21718
21724
  var Vs = "https://event-nonprod.100ms.live/v2/client/report";
21719
21725
  var kt = Math.pow(2, 31) - 1;
21720
21726
  var rt = class {
21721
21727
  };
21722
- rt.makePeerId = () => Io();
21728
+ rt.makePeerId = () => Ao();
21723
21729
  var B = (a2) => a2.room;
21724
21730
  var Ho = (a2) => a2.errors;
21725
21731
  var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
@@ -21728,7 +21734,7 @@ var K = (a2) => a2.peers;
21728
21734
  var Ti = (a2) => a2.messages.byID;
21729
21735
  var Qs = (a2) => a2.messages.allIDs;
21730
21736
  var N = (a2) => a2.tracks;
21731
- var Br = (a2) => a2.appData;
21737
+ var Fr = (a2) => a2.appData;
21732
21738
  var Co = (a2) => a2.speakers;
21733
21739
  var _e = createSelector([B], (a2) => a2 && a2.isConnected);
21734
21740
  var Qh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
@@ -21760,7 +21766,7 @@ var Zh = createSelector(K, Co, (a2, e) => {
21760
21766
  }
21761
21767
  return null;
21762
21768
  });
21763
- var Fr = createSelector(te, N, (a2, e) => {
21769
+ var Wr = createSelector(te, N, (a2, e) => {
21764
21770
  let { video: t, audio: i } = xe(e, a2);
21765
21771
  return !!(t || i);
21766
21772
  });
@@ -21804,7 +21810,7 @@ var am = createSelector(K, N, (a2, e) => {
21804
21810
  return a2[i.peerId];
21805
21811
  }
21806
21812
  });
21807
- var om = createSelector(Do, (a2) => a2.filter(ns));
21813
+ var om = createSelector(Do, (a2) => a2.filter(ds));
21808
21814
  var nm = createSelector(Qs, (a2) => a2.length);
21809
21815
  var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21810
21816
  var Rt = createSelector(Qs, Ti, (a2, e) => {
@@ -21847,24 +21853,24 @@ var km = createSelector(B, (a2) => a2.effectsKey);
21847
21853
  var ia = (a2) => a2.polls;
21848
21854
  var Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
21849
21855
  var xo = (a2) => a2.whiteboards;
21850
- var Im = createSelector(xo, (a2) => Object.values(a2)[0]);
21856
+ var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
21851
21857
  var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
21852
- var Gr = (a2 = "audio") => (e) => e.playlist[a2].selection;
21858
+ var $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
21853
21859
  var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
21854
21860
  var oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
21855
21861
  var na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
21856
21862
  var ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
21857
21863
  var da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
21858
- var la = (a2 = "audio") => createSelector(sa(a2), Gr(a2), (e, t) => {
21864
+ var la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
21859
21865
  if (t.id)
21860
21866
  return e[t.id];
21861
21867
  });
21862
- var ua = { selection: Gr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21863
- var pa = { selection: Gr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21864
- function A(a2) {
21868
+ var ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21869
+ var pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21870
+ function I(a2) {
21865
21871
  return (e) => (t) => a2(t, e);
21866
21872
  }
21867
- var It = "HMS-Store:";
21873
+ var At = "HMS-Store:";
21868
21874
  var b = class {
21869
21875
  static v(e, ...t) {
21870
21876
  this.log(0, e, ...t);
@@ -21894,23 +21900,23 @@ var b = class {
21894
21900
  if (!(this.level.valueOf() > e.valueOf()))
21895
21901
  switch (e) {
21896
21902
  case 0: {
21897
- console.log(It, ...t);
21903
+ console.log(At, ...t);
21898
21904
  break;
21899
21905
  }
21900
21906
  case 1: {
21901
- console.debug(It, ...t);
21907
+ console.debug(At, ...t);
21902
21908
  break;
21903
21909
  }
21904
21910
  case 2: {
21905
- console.info(It, ...t);
21911
+ console.info(At, ...t);
21906
21912
  break;
21907
21913
  }
21908
21914
  case 3: {
21909
- console.warn(It, ...t);
21915
+ console.warn(At, ...t);
21910
21916
  break;
21911
21917
  }
21912
21918
  case 6: {
21913
- console.error(It, ...t);
21919
+ console.error(At, ...t);
21914
21920
  break;
21915
21921
  }
21916
21922
  case 4: {
@@ -21931,40 +21937,40 @@ var b = class {
21931
21937
  }
21932
21938
  };
21933
21939
  b.level = 0;
21934
- var Wr = (a2, e) => e;
21935
- var At = (a2, e) => e;
21940
+ var Kr = (a2, e) => e;
21941
+ var It = (a2, e) => e;
21936
21942
  var ha = (a2, e) => e;
21937
21943
  var Uo = (a2, e) => e;
21938
21944
  var Bo = (a2, e) => e;
21939
- var q = createSelector([K, Wr], (a2, e) => e ? a2[e] : null);
21940
- var $r = createSelector([N, At], (a2, e) => e ? a2[e] : null);
21941
- var Vo = createSelector([N, At], (a2, e) => {
21945
+ var q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
21946
+ var qr = createSelector([N, It], (a2, e) => e ? a2[e] : null);
21947
+ var Vo = createSelector([N, It], (a2, e) => {
21942
21948
  if (!e)
21943
21949
  return null;
21944
21950
  let t = a2[e];
21945
21951
  return (t == null ? void 0 : t.type) === "video" ? t : null;
21946
21952
  });
21947
- var Fo = createSelector([N, At], (a2, e) => {
21953
+ var Fo = createSelector([N, It], (a2, e) => {
21948
21954
  if (!e)
21949
21955
  return null;
21950
21956
  let t = a2[e];
21951
21957
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
21952
21958
  });
21953
- var Go = createSelector([N, At], (a2, e) => {
21959
+ var Go = createSelector([N, It], (a2, e) => {
21954
21960
  if (!e)
21955
21961
  return null;
21956
21962
  let t = a2[e];
21957
21963
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21958
21964
  });
21959
- var Wo = createSelector([N, At], (a2, e) => {
21965
+ var Wo = createSelector([N, It], (a2, e) => {
21960
21966
  if (!e)
21961
21967
  return null;
21962
21968
  let t = a2[e];
21963
21969
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21964
21970
  });
21965
21971
  var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
21966
- var X = A(q);
21967
- var Um = A(createSelector([Br, Uo], (a2, e) => {
21972
+ var X = I(q);
21973
+ var Um = I(createSelector([Fr, Uo], (a2, e) => {
21968
21974
  if (a2)
21969
21975
  return e ? a2[e] : a2;
21970
21976
  }));
@@ -21974,90 +21980,90 @@ function Bm(a2) {
21974
21980
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21975
21981
  };
21976
21982
  }
21977
- var Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
21978
- var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21979
- var fi = A($r);
21980
- var ma = A(Vo);
21981
- var Wm = A(Fo);
21982
- var $m = A(Go);
21983
- var Km = A(Wo);
21984
- var Ko = A((a2, e) => {
21983
+ var Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
21984
+ var Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21985
+ var fi = I(qr);
21986
+ var ma = I(Vo);
21987
+ var Wm = I(Fo);
21988
+ var $m = I(Go);
21989
+ var Km = I(Wo);
21990
+ var Ko = I((a2, e) => {
21985
21991
  let t = q(a2, e);
21986
21992
  if (t && t.videoTrack && t.videoTrack !== "")
21987
21993
  return a2.tracks[t.videoTrack];
21988
21994
  });
21989
- var qo = A((a2, e) => {
21995
+ var qo = I((a2, e) => {
21990
21996
  let t = q(a2, e);
21991
21997
  if (t && t.audioTrack && t.audioTrack !== "")
21992
21998
  return a2.tracks[t.audioTrack];
21993
21999
  });
21994
- var jm = A((a2, e) => {
22000
+ var jm = I((a2, e) => {
21995
22001
  let t = q(a2, e);
21996
22002
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
21997
22003
  });
21998
22004
  var Sa = (a2, e) => e ? a2.speakers[e] : null;
21999
- var Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22005
+ var Jm = I(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22000
22006
  var jo = (a2, e) => {
22001
22007
  let t = qo(e)(a2);
22002
22008
  return Sa(a2, t == null ? void 0 : t.id);
22003
22009
  };
22004
- var Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22005
- var zm = A((a2, e) => {
22010
+ var Qm = I(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22011
+ var zm = I((a2, e) => {
22006
22012
  if (e)
22007
22013
  return a2.connectionQualities[e];
22008
22014
  });
22009
- var Ym = A((a2, e) => {
22015
+ var Ym = I((a2, e) => {
22010
22016
  let t = q(a2, e);
22011
22017
  if (t) {
22012
22018
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22013
22019
  return i ? a2.tracks[i] : void 0;
22014
22020
  }
22015
22021
  });
22016
- var Xm = A(createSelector(N, q, (a2, e) => {
22022
+ var Xm = I(createSelector(N, q, (a2, e) => {
22017
22023
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22018
22024
  let r = a2[i];
22019
22025
  return ht(r) && pt(r);
22020
22026
  });
22021
22027
  return t ? a2[t] : void 0;
22022
22028
  }));
22023
- var Zm = A(createSelector(N, q, (a2, e) => {
22029
+ var Zm = I(createSelector(N, q, (a2, e) => {
22024
22030
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22025
22031
  let r = a2[i];
22026
22032
  return ht(r) && ut(r);
22027
22033
  });
22028
22034
  return t ? a2[t] : void 0;
22029
22035
  }));
22030
- var eS = A(createSelector(N, q, (a2, e) => {
22036
+ var eS = I(createSelector(N, q, (a2, e) => {
22031
22037
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22032
22038
  let r = a2[i];
22033
22039
  return ii(r) && ut(r);
22034
22040
  });
22035
22041
  return t ? a2[t] : void 0;
22036
22042
  }));
22037
- var ga = A(createSelector(N, q, (a2, e) => xe(a2, e)));
22043
+ var ga = I(createSelector(N, q, (a2, e) => xe(a2, e)));
22038
22044
  var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22039
- var iS = A((a2, e) => {
22045
+ var iS = I((a2, e) => {
22040
22046
  let t = q(a2, e);
22041
22047
  return je(a2, t == null ? void 0 : t.audioTrack);
22042
22048
  });
22043
- var rS = A((a2, e) => {
22049
+ var rS = I((a2, e) => {
22044
22050
  let t = q(a2, e);
22045
22051
  return je(a2, t == null ? void 0 : t.videoTrack);
22046
22052
  });
22047
- var fa = A((a2, e) => {
22053
+ var fa = I((a2, e) => {
22048
22054
  if (e && a2.tracks[e])
22049
22055
  return a2.tracks[e].volume === 0;
22050
22056
  });
22051
- var sS = A((a2, e) => {
22057
+ var sS = I((a2, e) => {
22052
22058
  let t = q(a2, e);
22053
22059
  return fa(t == null ? void 0 : t.audioTrack)(a2);
22054
22060
  });
22055
- var aS = A((a2, e) => {
22061
+ var aS = I((a2, e) => {
22056
22062
  let t = Ta(e)(a2);
22057
22063
  return fa(t == null ? void 0 : t.id)(a2);
22058
22064
  });
22059
- var va = A((a2, e) => {
22060
- let t = $r(a2, e);
22065
+ var va = I((a2, e) => {
22066
+ let t = qr(a2, e);
22061
22067
  if (t) {
22062
22068
  if (t.type !== "audio") {
22063
22069
  b.w("Please pass audio track here");
@@ -22066,16 +22072,16 @@ var va = A((a2, e) => {
22066
22072
  return t.volume;
22067
22073
  }
22068
22074
  });
22069
- var oS = A((a2, e) => {
22075
+ var oS = I((a2, e) => {
22070
22076
  let t = q(a2, e);
22071
22077
  return va(t == null ? void 0 : t.audioTrack)(a2);
22072
22078
  });
22073
- var nS = A((a2, e) => {
22079
+ var nS = I((a2, e) => {
22074
22080
  let t = Ta(e)(a2);
22075
22081
  return va(t == null ? void 0 : t.id)(a2);
22076
22082
  });
22077
- var cS = A((a2, e) => {
22078
- let t = $r(a2, e);
22083
+ var cS = I((a2, e) => {
22084
+ let t = qr(a2, e);
22079
22085
  if (t) {
22080
22086
  if (t.type !== "video") {
22081
22087
  b.w("Please pass video track here");
@@ -22084,7 +22090,7 @@ var cS = A((a2, e) => {
22084
22090
  return t.layer;
22085
22091
  }
22086
22092
  });
22087
- var Ma = createSelector([Rt, ye, Wr], (a2, e, t) => {
22093
+ var Ma = createSelector([Rt, ye, Kr], (a2, e, t) => {
22088
22094
  if (t)
22089
22095
  return a2.filter((i) => {
22090
22096
  var r;
@@ -22103,21 +22109,21 @@ var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22103
22109
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22104
22110
  }));
22105
22111
  var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22106
- var zo = createSelector([Ma, Wr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22112
+ var zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22107
22113
  var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22108
- var lS = A(Ma);
22109
- var uS = A(ya);
22110
- var pS = A(Qo);
22111
- var hS = A(zo);
22112
- var ka = A($o);
22114
+ var lS = I(Ma);
22115
+ var uS = I(ya);
22116
+ var pS = I(Qo);
22117
+ var hS = I(zo);
22118
+ var ka = I($o);
22113
22119
  var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22114
22120
  var r;
22115
22121
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22116
22122
  }));
22117
22123
  var Yo = (a2) => a2.roleChangeRequests[0] || null;
22118
22124
  var RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22119
- var IS = createSelector([at], (a2) => mt(a2));
22120
- var AS = createSelector([ea], (a2) => mt(a2));
22125
+ var AS = createSelector([at], (a2) => mt(a2));
22126
+ var IS = createSelector([ea], (a2) => mt(a2));
22121
22127
  var Zo = createSelector([Y, N], (a2, e) => {
22122
22128
  let t = null;
22123
22129
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
@@ -22127,7 +22133,7 @@ var en = createSelector([ae, N], (a2, e) => {
22127
22133
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22128
22134
  });
22129
22135
  var sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(sn || {});
22130
- var Qr = class {
22136
+ var Yr = class {
22131
22137
  constructor() {
22132
22138
  this.TAG = "[HTTPAnalyticsTransport]";
22133
22139
  this.failedEvents = new le("client-events");
@@ -22172,7 +22178,7 @@ var Qr = class {
22172
22178
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22173
22179
  }
22174
22180
  };
22175
- var Pe = new Qr();
22181
+ var Pe = new Yr();
22176
22182
  var j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22177
22183
  var tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22178
22184
  var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
@@ -22181,11 +22187,11 @@ var En = (a2) => a2.localPeer.audioTrack;
22181
22187
  var bn = (a2) => a2.localPeer.videoTrack;
22182
22188
  var Rn = (a2, e) => e;
22183
22189
  var Ka = (a2, e) => e;
22184
- var In = (a2) => a2.remoteTrackStats;
22190
+ var An = (a2) => a2.remoteTrackStats;
22185
22191
  var qa = (a2) => a2.peerStats;
22186
- var es = (a2) => a2.localTrackStats;
22192
+ var is = (a2) => a2.localTrackStats;
22187
22193
  var be = createSelector([qa, Pn], (a2, e) => a2[e]);
22188
- var An = createSelector(be, (a2) => {
22194
+ var In = createSelector(be, (a2) => {
22189
22195
  var e;
22190
22196
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22191
22197
  });
@@ -22218,20 +22224,20 @@ var Nn = createSelector(be, (a2) => {
22218
22224
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22219
22225
  });
22220
22226
  var On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22221
- var xn = createSelector([In, Ka], (a2, e) => e ? a2[e] : void 0);
22222
- var ts = createSelector([es, Ka], (a2, e) => e ? a2[e] : void 0);
22223
- var Un = A(On);
22224
- var Bn = A(xn);
22225
- var Vn = createSelector([es, En], (a2, e) => {
22227
+ var xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22228
+ var rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22229
+ var Un = I(On);
22230
+ var Bn = I(xn);
22231
+ var Vn = createSelector([is, En], (a2, e) => {
22226
22232
  var t;
22227
22233
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22228
22234
  });
22229
- var Fn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
22230
- var Gn = createSelector([es, bn], (a2, e) => {
22235
+ var Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22236
+ var Gn = createSelector([is, bn], (a2, e) => {
22231
22237
  var t;
22232
22238
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22233
22239
  });
22234
- var Wn = A(createSelector(ts, (a2) => a2));
22240
+ var Wn = I(createSelector(rs, (a2) => a2));
22235
22241
 
22236
22242
  // src/Prebuilt/components/Header/StreamActions.tsx
22237
22243
  import {
@@ -30805,7 +30811,7 @@ var useCloseScreenshareWhiteboard = () => {
30805
30811
  };
30806
30812
 
30807
30813
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30808
- var HLSView = React157.lazy(() => import("./HLSView-LGGWBBBT.js"));
30814
+ var HLSView = React157.lazy(() => import("./HLSView-WZULAPSG.js"));
30809
30815
  var VideoStreamingSection = ({
30810
30816
  screenType,
30811
30817
  elements,
@@ -34120,4 +34126,4 @@ object-assign/index.js:
34120
34126
  @license MIT
34121
34127
  *)
34122
34128
  */
34123
- //# sourceMappingURL=chunk-PUO554VI.js.map
34129
+ //# sourceMappingURL=chunk-5GS4O2BK.js.map