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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b78e93f9-39f4-4071-bed1-0bc8418e9aba", 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-alpha.9", 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-alpha.9", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b78e93f9-39f4-4071-bed1-0bc8418e9aba", 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-alpha.9", 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: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_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:18173", 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-alpha.9", 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: "10036092743", 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: "65e4a2837cab06741df90543e25c17670c57123b", 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: "4e328b94ae07896c4b28e61d1de9d10e3967b33ff4ef8cb36ac8f8e02ffe5b62", 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--1721631297005-0.6296471175062239:/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--1721631296814-0.903295356304715:/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--1721631271815-0.6872947771254811:/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--1721631271612-0.329185406381471:/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_3b46bcb8-9089-4bf7-9140-eddd7e11d7cb", INVOCATION_ID: "7d3c2160dff445e2b31545a5e70ede47", 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: "612", 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 31", 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.16-alpha.9", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.16-alpha.9", 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: "65e4a2837cab06741df90543e25c17670c57123b", 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_b78e93f9-39f4-4071-bed1-0bc8418e9aba", 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_b78e93f9-39f4-4071-bed1-0bc8418e9aba", 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_b78e93f9-39f4-4071-bed1-0bc8418e9aba" };
112
+ 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" };
113
113
  }
114
114
  });
115
115
 
@@ -10487,6 +10487,7 @@ var init_IconButtonWithOptions = __esm({
10487
10487
  onDisabledClick = () => {
10488
10488
  return;
10489
10489
  },
10490
+ testid = "",
10490
10491
  tooltipMessage = "",
10491
10492
  icon,
10492
10493
  children,
@@ -10497,7 +10498,17 @@ var init_IconButtonWithOptions = __esm({
10497
10498
  }
10498
10499
  }) => {
10499
10500
  const commonProps = { disabled, active };
10500
- return /* @__PURE__ */ import_react38.default.createElement(Flex, null, /* @__PURE__ */ import_react38.default.createElement(IconSection, __spreadProps(__spreadValues({}, commonProps), { onClick, hideOptions, className: "__cancel-drag-event" }), /* @__PURE__ */ import_react38.default.createElement(Tooltip, { disabled: !tooltipMessage, title: tooltipMessage }, /* @__PURE__ */ import_react38.default.createElement(Icon2, __spreadValues({}, commonProps), icon))), !hideOptions && children ? /* @__PURE__ */ import_react38.default.createElement(Dropdown.Root, null, /* @__PURE__ */ import_react38.default.createElement(
10501
+ return /* @__PURE__ */ import_react38.default.createElement(Flex, null, /* @__PURE__ */ import_react38.default.createElement(
10502
+ IconSection,
10503
+ __spreadProps(__spreadValues({
10504
+ "data-testid": testid
10505
+ }, commonProps), {
10506
+ onClick,
10507
+ hideOptions,
10508
+ className: "__cancel-drag-event"
10509
+ }),
10510
+ /* @__PURE__ */ import_react38.default.createElement(Tooltip, { disabled: !tooltipMessage, title: tooltipMessage }, /* @__PURE__ */ import_react38.default.createElement(Icon2, __spreadValues({}, commonProps), icon))
10511
+ ), !hideOptions && children ? /* @__PURE__ */ import_react38.default.createElement(Dropdown.Root, null, /* @__PURE__ */ import_react38.default.createElement(
10501
10512
  Dropdown.Trigger,
10502
10513
  {
10503
10514
  asChild: true,
@@ -11578,7 +11589,13 @@ var init_AudioVideoToggle = __esm({
11578
11589
  ));
11579
11590
  };
11580
11591
  AudioVideoToggle = ({ hideOptions = false }) => {
11581
- const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk14.useDevices)();
11592
+ const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk14.useDevices)((error) => {
11593
+ ToastManager.addToast({
11594
+ title: error.message,
11595
+ variant: "error",
11596
+ duration: 2e3
11597
+ });
11598
+ });
11582
11599
  const { videoInput, audioInput, audioOutput } = allDevices;
11583
11600
  const localPeer = (0, import_react_sdk14.useHMSStore)(import_react_sdk14.selectLocalPeer);
11584
11601
  const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = (0, import_react_sdk14.useAVToggle)();
@@ -11621,8 +11638,9 @@ var init_AudioVideoToggle = __esm({
11621
11638
  disabled: !toggleAudio,
11622
11639
  hideOptions: hideOptions || !hasAudioDevices,
11623
11640
  onDisabledClick: toggleAudio,
11641
+ testid: "audio_toggle_btn",
11624
11642
  tooltipMessage: `Turn ${isLocalAudioEnabled ? "off" : "on"} audio (${isMacOS ? "\u2318" : "ctrl"} + d)`,
11625
- icon: !isLocalAudioEnabled ? /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.MicOffIcon, { "data-testid": "audio_off_btn" }) : /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.MicOnIcon, { "data-testid": "audio_on_btn" }),
11643
+ icon: !isLocalAudioEnabled ? /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.MicOffIcon, null) : /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.MicOnIcon, null),
11626
11644
  active: isLocalAudioEnabled,
11627
11645
  onClick: toggleAudio,
11628
11646
  key: "toggleAudio"
@@ -11653,7 +11671,8 @@ var init_AudioVideoToggle = __esm({
11653
11671
  hideOptions: hideOptions || !hasVideoDevices,
11654
11672
  onDisabledClick: toggleVideo,
11655
11673
  tooltipMessage: `Turn ${isLocalVideoEnabled ? "off" : "on"} video (${isMacOS ? "\u2318" : "ctrl"} + e)`,
11656
- icon: !isLocalVideoEnabled ? /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.VideoOffIcon, { "data-testid": "video_off_btn" }) : /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.VideoOnIcon, { "data-testid": "video_on_btn" }),
11674
+ testid: "video_toggle_btn",
11675
+ icon: !isLocalVideoEnabled ? /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.VideoOffIcon, null) : /* @__PURE__ */ import_react46.default.createElement(import_react_icons13.VideoOnIcon, null),
11657
11676
  key: "toggleVideo",
11658
11677
  active: isLocalVideoEnabled,
11659
11678
  onClick: toggleVideo
@@ -14198,7 +14217,7 @@ var init_PIPChatOption = __esm({
14198
14217
  if (!showPIPChat) {
14199
14218
  return /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null);
14200
14219
  }
14201
- return /* @__PURE__ */ import_react68.default.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "brb_btn" }, /* @__PURE__ */ import_react68.default.createElement(import_react_icons24.ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ import_react68.default.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
14220
+ return /* @__PURE__ */ import_react68.default.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "pip_chat_btn" }, /* @__PURE__ */ import_react68.default.createElement(import_react_icons24.ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ import_react68.default.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
14202
14221
  };
14203
14222
  }
14204
14223
  });
@@ -18122,8 +18141,8 @@ function shimGetUserMedia(window2, browserDetails) {
18122
18141
  navigator2.getUserMedia = getUserMedia_.bind(navigator2);
18123
18142
  if (navigator2.mediaDevices.getUserMedia) {
18124
18143
  const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
18125
- navigator2.mediaDevices.getUserMedia = function(cs) {
18126
- return shimConstraints_(cs, (c) => origGetUserMedia(c).then((stream) => {
18144
+ navigator2.mediaDevices.getUserMedia = function(cs2) {
18145
+ return shimConstraints_(cs2, (c) => origGetUserMedia(c).then((stream) => {
18127
18146
  if (c.audio && !stream.getAudioTracks().length || c.video && !stream.getVideoTracks().length) {
18128
18147
  stream.getTracks().forEach((track) => {
18129
18148
  track.stop();
@@ -21271,7 +21290,7 @@ function ii(a2) {
21271
21290
  function ht(a2) {
21272
21291
  return a2 && a2.source === "videoplaylist";
21273
21292
  }
21274
- function ns(a2) {
21293
+ function ds(a2) {
21275
21294
  return a2 ? !!(a2 != null && a2.degraded) : false;
21276
21295
  }
21277
21296
  function je(a2, e) {
@@ -21295,9 +21314,9 @@ function oe(a2) {
21295
21314
  function Tt(a2 = "prod", e) {
21296
21315
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21297
21316
  if (Ue)
21298
- 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 });
21317
+ 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 });
21299
21318
  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;
21300
- 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 });
21319
+ 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 });
21301
21320
  }
21302
21321
  function yr(a2) {
21303
21322
  return a2.replace(/ /g, "_");
@@ -21312,7 +21331,7 @@ function ai(a2, e = 300) {
21312
21331
  }, e);
21313
21332
  };
21314
21333
  }
21315
- function A(a2) {
21334
+ function I(a2) {
21316
21335
  return (e) => (t) => a2(t, e);
21317
21336
  }
21318
21337
  function Bm(a2) {
@@ -21321,7 +21340,7 @@ function Bm(a2) {
21321
21340
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21322
21341
  };
21323
21342
  }
21324
- var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, $t, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, rs, ss, is, m, M, mr, Xa, Mr, Sr, Za, as, gr, os, ds, to, d, ge, O, ls, Ue, ro, ic, us, ps, ms, Ss, Qe, k, f, ao, S, vr, gs, le, Ts, vs, Ms, H, y, kr, Q, Pr, Er, br, Rs, Is, As, Hs, Cs, Rr, Ls, Ir, Ns, Ar, Os, Hr, Cr, Bs, Vs, kt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Br, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Fr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, Se, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Im, sa, Gr, aa, oa, na, ca, da, la, ua, pa, It, b, Wr, At, ha, Uo, Bo, q, $r, Vo, Fo, Go, Wo, $o, X, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, IS, AS, Zo, en, sn, Qr, Pe, j, tr, lr, Pn, En, bn, Rn, Ka, In, qa, es, be, An, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, ts, Un, Bn, Vn, Fn, Gn, Wn;
21343
+ var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, $t, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, as, os, ss, m, M, mr, Xa, Mr, Sr, Za, ns, gr, cs, us, to, d, ge, O, ps, Ue, ro, ic, hs, ms, gs, Ts, Qe, k, f, ao, S, vr, fs, le, vs, ys, ks, H, y, kr, Q, Pr, Er, Ar, Rs, As, Is, Hs, Cs, Ir, Ls, Hr, Ns, Cr, Os, Lr, Dr, Bs, Vs, kt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Fr, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Wr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, Se, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Am, sa, $r, aa, oa, na, ca, da, la, ua, pa, At, b, Kr, It, ha, Uo, Bo, q, qr, Vo, Fo, Go, Wo, $o, X, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, AS, IS, Zo, en, sn, Yr, Pe, j, tr, lr, Pn, En, bn, Rn, Ka, An, qa, is, be, In, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, rs, Un, Bn, Vn, Fn, Gn, Wn;
21325
21344
  var init_dist = __esm({
21326
21345
  "../hms-video-store/dist/index.js"() {
21327
21346
  "use strict";
@@ -21353,37 +21372,37 @@ var init_dist = __esm({
21353
21372
  Ja = Object.defineProperties;
21354
21373
  Qa = Object.getOwnPropertyDescriptors;
21355
21374
  Zt = Object.getOwnPropertySymbols;
21356
- rs = Object.prototype.hasOwnProperty;
21357
- ss = Object.prototype.propertyIsEnumerable;
21358
- is = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21375
+ as = Object.prototype.hasOwnProperty;
21376
+ os = Object.prototype.propertyIsEnumerable;
21377
+ ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21359
21378
  m = (a2, e) => {
21360
21379
  for (var t in e || (e = {}))
21361
- rs.call(e, t) && is(a2, t, e[t]);
21380
+ as.call(e, t) && ss(a2, t, e[t]);
21362
21381
  if (Zt)
21363
21382
  for (var t of Zt(e))
21364
- ss.call(e, t) && is(a2, t, e[t]);
21383
+ os.call(e, t) && ss(a2, t, e[t]);
21365
21384
  return a2;
21366
21385
  };
21367
21386
  M = (a2, e) => Ja(a2, Qa(e));
21368
21387
  mr = (a2, e) => {
21369
21388
  var t = {};
21370
21389
  for (var i in a2)
21371
- rs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21390
+ as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21372
21391
  if (a2 != null && Zt)
21373
21392
  for (var i of Zt(a2))
21374
- e.indexOf(i) < 0 && ss.call(a2, i) && (t[i] = a2[i]);
21393
+ e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21375
21394
  return t;
21376
21395
  };
21377
21396
  Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21378
21397
  Mr = Xa((Fc, no) => {
21379
- no.exports = { version: "0.12.16-alpha.9", 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"] };
21398
+ 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"] };
21380
21399
  });
21381
21400
  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 || {});
21382
21401
  Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21383
- as = ((t) => (t.INFO = "info", t.ERROR = "error", t))(as || {});
21402
+ ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21384
21403
  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 || {});
21385
- os = ((t) => (t.audio = "audio", t.video = "video", t))(os || {});
21386
- 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 || {});
21404
+ cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21405
+ 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 || {});
21387
21406
  to = typeof window != "undefined" && typeof window.expect != "undefined";
21388
21407
  d = class {
21389
21408
  static v(e, ...t) {
@@ -21453,11 +21472,11 @@ var init_dist = __esm({
21453
21472
  d.level = to ? 7 : 0;
21454
21473
  ge = new import_ua_parser_js.UAParser();
21455
21474
  O = typeof window != "undefined";
21456
- Ue = typeof window == "undefined" && !((ls = ge.getBrowser().name) != null && ls.toLowerCase().includes("electron"));
21475
+ Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21457
21476
  ro = () => !Ue;
21458
21477
  ic = ro();
21459
- ms = ((ps = (us = ge.getBrowser()) == null ? void 0 : us.name) == null ? void 0 : ps.toLowerCase()) === "firefox";
21460
- Ss = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ss || {});
21478
+ gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21479
+ Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21461
21480
  Qe = so();
21462
21481
  k = { 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 } };
21463
21482
  f = class a extends Error {
@@ -21622,7 +21641,7 @@ var init_dist = __esm({
21622
21641
  return this.valuesMap.size;
21623
21642
  }
21624
21643
  };
21625
- gs = () => {
21644
+ fs = () => {
21626
21645
  try {
21627
21646
  O && !localStorage && (window.localStorage = new vr());
21628
21647
  } catch (a2) {
@@ -21636,7 +21655,7 @@ var init_dist = __esm({
21636
21655
  }
21637
21656
  getStorage() {
21638
21657
  try {
21639
- return O && !this.storage && (gs(), this.storage = window.localStorage), this.storage;
21658
+ return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21640
21659
  } catch (e) {
21641
21660
  return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21642
21661
  }
@@ -21656,16 +21675,16 @@ var init_dist = __esm({
21656
21675
  (e = this.getStorage()) == null || e.removeItem(this.key);
21657
21676
  }
21658
21677
  };
21659
- Ts = () => {
21678
+ vs = () => {
21660
21679
  let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21661
21680
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21662
21681
  };
21663
- vs = Mr().version;
21664
- Ms = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21682
+ ys = Mr().version;
21683
+ ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21665
21684
  H = class {
21666
21685
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21667
21686
  this.metadata = { peer: {}, userAgent: Tt() };
21668
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Ts();
21687
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
21669
21688
  }
21670
21689
  toSignalParams() {
21671
21690
  return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -21805,15 +21824,15 @@ var init_dist = __esm({
21805
21824
  Q = new kr();
21806
21825
  Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21807
21826
  Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
21808
- br = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(br || {});
21827
+ Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21809
21828
  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 || {});
21810
- Is = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Is || {});
21811
- As = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(As || {});
21829
+ As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21830
+ Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21812
21831
  Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21813
21832
  Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21814
- Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
21833
+ Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21815
21834
  Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21816
- Ir = class {
21835
+ Hr = class {
21817
21836
  constructor() {
21818
21837
  this.TAG = "[HMSIntersectionObserverWrapper]";
21819
21838
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21840,8 +21859,8 @@ var init_dist = __esm({
21840
21859
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21841
21860
  }
21842
21861
  };
21843
- Ns = new Ir();
21844
- Ar = class {
21862
+ Ns = new Hr();
21863
+ Cr = class {
21845
21864
  constructor() {
21846
21865
  this.TAG = "[HMSResizeObserverWrapper]";
21847
21866
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21868,9 +21887,9 @@ var init_dist = __esm({
21868
21887
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21869
21888
  }
21870
21889
  };
21871
- Os = new Ar();
21872
- Hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Hr || {});
21873
- Cr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Cr || {});
21890
+ Os = new Cr();
21891
+ Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21892
+ Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21874
21893
  Bs = "https://event.100ms.live/v2/client/report";
21875
21894
  Vs = "https://event-nonprod.100ms.live/v2/client/report";
21876
21895
  kt = Math.pow(2, 31) - 1;
@@ -21885,7 +21904,7 @@ var init_dist = __esm({
21885
21904
  Ti = (a2) => a2.messages.byID;
21886
21905
  Qs = (a2) => a2.messages.allIDs;
21887
21906
  N = (a2) => a2.tracks;
21888
- Br = (a2) => a2.appData;
21907
+ Fr = (a2) => a2.appData;
21889
21908
  Co = (a2) => a2.speakers;
21890
21909
  _e = createSelector([B], (a2) => a2 && a2.isConnected);
21891
21910
  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));
@@ -21917,7 +21936,7 @@ var init_dist = __esm({
21917
21936
  }
21918
21937
  return null;
21919
21938
  });
21920
- Fr = createSelector(te, N, (a2, e) => {
21939
+ Wr = createSelector(te, N, (a2, e) => {
21921
21940
  let { video: t, audio: i } = xe(e, a2);
21922
21941
  return !!(t || i);
21923
21942
  });
@@ -21961,7 +21980,7 @@ var init_dist = __esm({
21961
21980
  return a2[i.peerId];
21962
21981
  }
21963
21982
  });
21964
- om = createSelector(Do, (a2) => a2.filter(ns));
21983
+ om = createSelector(Do, (a2) => a2.filter(ds));
21965
21984
  nm = createSelector(Qs, (a2) => a2.length);
21966
21985
  cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21967
21986
  Rt = createSelector(Qs, Ti, (a2, e) => {
@@ -22004,21 +22023,21 @@ var init_dist = __esm({
22004
22023
  ia = (a2) => a2.polls;
22005
22024
  Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
22006
22025
  xo = (a2) => a2.whiteboards;
22007
- Im = createSelector(xo, (a2) => Object.values(a2)[0]);
22026
+ Am = createSelector(xo, (a2) => Object.values(a2)[0]);
22008
22027
  sa = (a2 = "audio") => (e) => e.playlist[a2].list;
22009
- Gr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22028
+ $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
22010
22029
  aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22011
22030
  oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22012
22031
  na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22013
22032
  ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
22014
22033
  da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
22015
- la = (a2 = "audio") => createSelector(sa(a2), Gr(a2), (e, t) => {
22034
+ la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
22016
22035
  if (t.id)
22017
22036
  return e[t.id];
22018
22037
  });
22019
- ua = { selection: Gr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22020
- pa = { selection: Gr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22021
- It = "HMS-Store:";
22038
+ ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
22039
+ pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
22040
+ At = "HMS-Store:";
22022
22041
  b = class {
22023
22042
  static v(e, ...t) {
22024
22043
  this.log(0, e, ...t);
@@ -22048,23 +22067,23 @@ var init_dist = __esm({
22048
22067
  if (!(this.level.valueOf() > e.valueOf()))
22049
22068
  switch (e) {
22050
22069
  case 0: {
22051
- console.log(It, ...t);
22070
+ console.log(At, ...t);
22052
22071
  break;
22053
22072
  }
22054
22073
  case 1: {
22055
- console.debug(It, ...t);
22074
+ console.debug(At, ...t);
22056
22075
  break;
22057
22076
  }
22058
22077
  case 2: {
22059
- console.info(It, ...t);
22078
+ console.info(At, ...t);
22060
22079
  break;
22061
22080
  }
22062
22081
  case 3: {
22063
- console.warn(It, ...t);
22082
+ console.warn(At, ...t);
22064
22083
  break;
22065
22084
  }
22066
22085
  case 6: {
22067
- console.error(It, ...t);
22086
+ console.error(At, ...t);
22068
22087
  break;
22069
22088
  }
22070
22089
  case 4: {
@@ -22085,127 +22104,127 @@ var init_dist = __esm({
22085
22104
  }
22086
22105
  };
22087
22106
  b.level = 0;
22088
- Wr = (a2, e) => e;
22089
- At = (a2, e) => e;
22107
+ Kr = (a2, e) => e;
22108
+ It = (a2, e) => e;
22090
22109
  ha = (a2, e) => e;
22091
22110
  Uo = (a2, e) => e;
22092
22111
  Bo = (a2, e) => e;
22093
- q = createSelector([K, Wr], (a2, e) => e ? a2[e] : null);
22094
- $r = createSelector([N, At], (a2, e) => e ? a2[e] : null);
22095
- Vo = createSelector([N, At], (a2, e) => {
22112
+ q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
22113
+ qr = createSelector([N, It], (a2, e) => e ? a2[e] : null);
22114
+ Vo = createSelector([N, It], (a2, e) => {
22096
22115
  if (!e)
22097
22116
  return null;
22098
22117
  let t = a2[e];
22099
22118
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22100
22119
  });
22101
- Fo = createSelector([N, At], (a2, e) => {
22120
+ Fo = createSelector([N, It], (a2, e) => {
22102
22121
  if (!e)
22103
22122
  return null;
22104
22123
  let t = a2[e];
22105
22124
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22106
22125
  });
22107
- Go = createSelector([N, At], (a2, e) => {
22126
+ Go = createSelector([N, It], (a2, e) => {
22108
22127
  if (!e)
22109
22128
  return null;
22110
22129
  let t = a2[e];
22111
22130
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22112
22131
  });
22113
- Wo = createSelector([N, At], (a2, e) => {
22132
+ Wo = createSelector([N, It], (a2, e) => {
22114
22133
  if (!e)
22115
22134
  return null;
22116
22135
  let t = a2[e];
22117
22136
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22118
22137
  });
22119
22138
  $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
22120
- X = A(q);
22121
- Um = A(createSelector([Br, Uo], (a2, e) => {
22139
+ X = I(q);
22140
+ Um = I(createSelector([Fr, Uo], (a2, e) => {
22122
22141
  if (a2)
22123
22142
  return e ? a2[e] : a2;
22124
22143
  }));
22125
- Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22126
- Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22127
- fi = A($r);
22128
- ma = A(Vo);
22129
- Wm = A(Fo);
22130
- $m = A(Go);
22131
- Km = A(Wo);
22132
- Ko = A((a2, e) => {
22144
+ Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22145
+ Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22146
+ fi = I(qr);
22147
+ ma = I(Vo);
22148
+ Wm = I(Fo);
22149
+ $m = I(Go);
22150
+ Km = I(Wo);
22151
+ Ko = I((a2, e) => {
22133
22152
  let t = q(a2, e);
22134
22153
  if (t && t.videoTrack && t.videoTrack !== "")
22135
22154
  return a2.tracks[t.videoTrack];
22136
22155
  });
22137
- qo = A((a2, e) => {
22156
+ qo = I((a2, e) => {
22138
22157
  let t = q(a2, e);
22139
22158
  if (t && t.audioTrack && t.audioTrack !== "")
22140
22159
  return a2.tracks[t.audioTrack];
22141
22160
  });
22142
- jm = A((a2, e) => {
22161
+ jm = I((a2, e) => {
22143
22162
  let t = q(a2, e);
22144
22163
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22145
22164
  });
22146
22165
  Sa = (a2, e) => e ? a2.speakers[e] : null;
22147
- Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22166
+ Jm = I(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22148
22167
  jo = (a2, e) => {
22149
22168
  let t = qo(e)(a2);
22150
22169
  return Sa(a2, t == null ? void 0 : t.id);
22151
22170
  };
22152
- Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22153
- zm = A((a2, e) => {
22171
+ Qm = I(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22172
+ zm = I((a2, e) => {
22154
22173
  if (e)
22155
22174
  return a2.connectionQualities[e];
22156
22175
  });
22157
- Ym = A((a2, e) => {
22176
+ Ym = I((a2, e) => {
22158
22177
  let t = q(a2, e);
22159
22178
  if (t) {
22160
22179
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
22161
22180
  return i ? a2.tracks[i] : void 0;
22162
22181
  }
22163
22182
  });
22164
- Xm = A(createSelector(N, q, (a2, e) => {
22183
+ Xm = I(createSelector(N, q, (a2, e) => {
22165
22184
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22166
22185
  let r = a2[i];
22167
22186
  return ht(r) && pt(r);
22168
22187
  });
22169
22188
  return t ? a2[t] : void 0;
22170
22189
  }));
22171
- Zm = A(createSelector(N, q, (a2, e) => {
22190
+ Zm = I(createSelector(N, q, (a2, e) => {
22172
22191
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22173
22192
  let r = a2[i];
22174
22193
  return ht(r) && ut(r);
22175
22194
  });
22176
22195
  return t ? a2[t] : void 0;
22177
22196
  }));
22178
- eS = A(createSelector(N, q, (a2, e) => {
22197
+ eS = I(createSelector(N, q, (a2, e) => {
22179
22198
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22180
22199
  let r = a2[i];
22181
22200
  return ii(r) && ut(r);
22182
22201
  });
22183
22202
  return t ? a2[t] : void 0;
22184
22203
  }));
22185
- ga = A(createSelector(N, q, (a2, e) => xe(a2, e)));
22204
+ ga = I(createSelector(N, q, (a2, e) => xe(a2, e)));
22186
22205
  Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
22187
- iS = A((a2, e) => {
22206
+ iS = I((a2, e) => {
22188
22207
  let t = q(a2, e);
22189
22208
  return je(a2, t == null ? void 0 : t.audioTrack);
22190
22209
  });
22191
- rS = A((a2, e) => {
22210
+ rS = I((a2, e) => {
22192
22211
  let t = q(a2, e);
22193
22212
  return je(a2, t == null ? void 0 : t.videoTrack);
22194
22213
  });
22195
- fa = A((a2, e) => {
22214
+ fa = I((a2, e) => {
22196
22215
  if (e && a2.tracks[e])
22197
22216
  return a2.tracks[e].volume === 0;
22198
22217
  });
22199
- sS = A((a2, e) => {
22218
+ sS = I((a2, e) => {
22200
22219
  let t = q(a2, e);
22201
22220
  return fa(t == null ? void 0 : t.audioTrack)(a2);
22202
22221
  });
22203
- aS = A((a2, e) => {
22222
+ aS = I((a2, e) => {
22204
22223
  let t = Ta(e)(a2);
22205
22224
  return fa(t == null ? void 0 : t.id)(a2);
22206
22225
  });
22207
- va = A((a2, e) => {
22208
- let t = $r(a2, e);
22226
+ va = I((a2, e) => {
22227
+ let t = qr(a2, e);
22209
22228
  if (t) {
22210
22229
  if (t.type !== "audio") {
22211
22230
  b.w("Please pass audio track here");
@@ -22214,16 +22233,16 @@ var init_dist = __esm({
22214
22233
  return t.volume;
22215
22234
  }
22216
22235
  });
22217
- oS = A((a2, e) => {
22236
+ oS = I((a2, e) => {
22218
22237
  let t = q(a2, e);
22219
22238
  return va(t == null ? void 0 : t.audioTrack)(a2);
22220
22239
  });
22221
- nS = A((a2, e) => {
22240
+ nS = I((a2, e) => {
22222
22241
  let t = Ta(e)(a2);
22223
22242
  return va(t == null ? void 0 : t.id)(a2);
22224
22243
  });
22225
- cS = A((a2, e) => {
22226
- let t = $r(a2, e);
22244
+ cS = I((a2, e) => {
22245
+ let t = qr(a2, e);
22227
22246
  if (t) {
22228
22247
  if (t.type !== "video") {
22229
22248
  b.w("Please pass video track here");
@@ -22232,7 +22251,7 @@ var init_dist = __esm({
22232
22251
  return t.layer;
22233
22252
  }
22234
22253
  });
22235
- Ma = createSelector([Rt, ye, Wr], (a2, e, t) => {
22254
+ Ma = createSelector([Rt, ye, Kr], (a2, e, t) => {
22236
22255
  if (t)
22237
22256
  return a2.filter((i) => {
22238
22257
  var r;
@@ -22251,21 +22270,21 @@ var init_dist = __esm({
22251
22270
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22252
22271
  }));
22253
22272
  Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22254
- zo = createSelector([Ma, Wr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22273
+ zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22255
22274
  dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22256
- lS = A(Ma);
22257
- uS = A(ya);
22258
- pS = A(Qo);
22259
- hS = A(zo);
22260
- ka = A($o);
22275
+ lS = I(Ma);
22276
+ uS = I(ya);
22277
+ pS = I(Qo);
22278
+ hS = I(zo);
22279
+ ka = I($o);
22261
22280
  bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22262
22281
  var r;
22263
22282
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22264
22283
  }));
22265
22284
  Yo = (a2) => a2.roleChangeRequests[0] || null;
22266
22285
  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);
22267
- IS = createSelector([at], (a2) => mt(a2));
22268
- AS = createSelector([ea], (a2) => mt(a2));
22286
+ AS = createSelector([at], (a2) => mt(a2));
22287
+ IS = createSelector([ea], (a2) => mt(a2));
22269
22288
  Zo = createSelector([Y, N], (a2, e) => {
22270
22289
  let t = null;
22271
22290
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
@@ -22275,7 +22294,7 @@ var init_dist = __esm({
22275
22294
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22276
22295
  });
22277
22296
  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 || {});
22278
- Qr = class {
22297
+ Yr = class {
22279
22298
  constructor() {
22280
22299
  this.TAG = "[HTTPAnalyticsTransport]";
22281
22300
  this.failedEvents = new le("client-events");
@@ -22320,7 +22339,7 @@ var init_dist = __esm({
22320
22339
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22321
22340
  }
22322
22341
  };
22323
- Pe = new Qr();
22342
+ Pe = new Yr();
22324
22343
  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 || {});
22325
22344
  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 || {});
22326
22345
  lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
@@ -22329,11 +22348,11 @@ var init_dist = __esm({
22329
22348
  bn = (a2) => a2.localPeer.videoTrack;
22330
22349
  Rn = (a2, e) => e;
22331
22350
  Ka = (a2, e) => e;
22332
- In = (a2) => a2.remoteTrackStats;
22351
+ An = (a2) => a2.remoteTrackStats;
22333
22352
  qa = (a2) => a2.peerStats;
22334
- es = (a2) => a2.localTrackStats;
22353
+ is = (a2) => a2.localTrackStats;
22335
22354
  be = createSelector([qa, Pn], (a2, e) => a2[e]);
22336
- An = createSelector(be, (a2) => {
22355
+ In = createSelector(be, (a2) => {
22337
22356
  var e;
22338
22357
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22339
22358
  });
@@ -22366,20 +22385,20 @@ var init_dist = __esm({
22366
22385
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22367
22386
  });
22368
22387
  On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22369
- xn = createSelector([In, Ka], (a2, e) => e ? a2[e] : void 0);
22370
- ts = createSelector([es, Ka], (a2, e) => e ? a2[e] : void 0);
22371
- Un = A(On);
22372
- Bn = A(xn);
22373
- Vn = createSelector([es, En], (a2, e) => {
22388
+ xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22389
+ rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22390
+ Un = I(On);
22391
+ Bn = I(xn);
22392
+ Vn = createSelector([is, En], (a2, e) => {
22374
22393
  var t;
22375
22394
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22376
22395
  });
22377
- Fn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
22378
- Gn = createSelector([es, bn], (a2, e) => {
22396
+ Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22397
+ Gn = createSelector([is, bn], (a2, e) => {
22379
22398
  var t;
22380
22399
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22381
22400
  });
22382
- Wn = A(createSelector(ts, (a2) => a2));
22401
+ Wn = I(createSelector(rs, (a2) => a2));
22383
22402
  }
22384
22403
  });
22385
22404
 
@@ -29061,7 +29080,7 @@ var init_VBOption = __esm({
29061
29080
  border: `4px solid ${isActive ? "$primary_default" : "$surface_dim"}`,
29062
29081
  cursor: "pointer",
29063
29082
  "&:hover": { border: "4px solid $primary_dim" }
29064
- }, mediaURL ? { height: "$20", backgroundImage: `url(${mediaURL})`, backgroundSize: "cover" } : {}),
29083
+ }, mediaURL ? { height: "$20", backgroundImage: `url("${mediaURL}")`, backgroundSize: "cover" } : {}),
29065
29084
  onClick: () => __async(void 0, null, function* () {
29066
29085
  yield onClick == null ? void 0 : onClick();
29067
29086
  })
@@ -31205,9 +31224,9 @@ var init_ScreenshareLayout = __esm({
31205
31224
  }
31206
31225
  });
31207
31226
 
31208
- // ../../../../../../../tmp/tmp-2800-W2ftlcnaKS60/190d938cfa31/index.css
31209
- var init_d938cfa31 = __esm({
31210
- "../../../../../../../tmp/tmp-2800-W2ftlcnaKS60/190d938cfa31/index.css"() {
31227
+ // ../../../../../../../tmp/tmp-2803-f4oyYf4P6ytK/190e434c9e30/index.css
31228
+ var init_e434c9e30 = __esm({
31229
+ "../../../../../../../tmp/tmp-2803-f4oyYf4P6ytK/190e434c9e30/index.css"() {
31211
31230
  }
31212
31231
  });
31213
31232
 
@@ -31229,7 +31248,7 @@ var init_WhiteboardLayout = __esm({
31229
31248
  init_ProminenceLayout();
31230
31249
  init_useUISettings();
31231
31250
  init_constants();
31232
- init_d938cfa31();
31251
+ init_e434c9e30();
31233
31252
  WhiteboardEmbed = () => {
31234
31253
  const isMobile = (0, import_react_use42.useMedia)(config.media.md);
31235
31254
  const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
@@ -36588,7 +36607,7 @@ var require_react_is_production_min = __commonJS({
36588
36607
  }
36589
36608
  }
36590
36609
  }
36591
- function A2(a2) {
36610
+ function A(a2) {
36592
36611
  return z(a2) === m2;
36593
36612
  }
36594
36613
  exports.AsyncMode = l;
@@ -36605,9 +36624,9 @@ var require_react_is_production_min = __commonJS({
36605
36624
  exports.StrictMode = f2;
36606
36625
  exports.Suspense = p;
36607
36626
  exports.isAsyncMode = function(a2) {
36608
- return A2(a2) || z(a2) === l;
36627
+ return A(a2) || z(a2) === l;
36609
36628
  };
36610
- exports.isConcurrentMode = A2;
36629
+ exports.isConcurrentMode = A;
36611
36630
  exports.isContextConsumer = function(a2) {
36612
36631
  return z(a2) === k2;
36613
36632
  };