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

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_24dcdf95-58ce-42bd-8106-372091da51d6", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_24dcdf95-58ce-42bd-8106-372091da51d6", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-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.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "595", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240218.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.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:19317", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8049573559", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9eade912c3121837ed2b09ef0047bfbdb6f7cdf2", 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: "cfef66f67f9c72976bccd67b4c9311aaa942f13d441174c054c9117d513a40fe", 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--1708953751238-0.271551730031129:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708953751042-0.034731111596302044:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708953728172-0.622987475170591:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1708953727993-0.5386297543083511:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_42149012-d290-4591-bd14-5a80e5f45413", INVOCATION_ID: "b278f1c25e2444e6a3c875a6df492d26", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "449", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 496", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "9eade912c3121837ed2b09ef0047bfbdb6f7cdf2", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_24dcdf95-58ce-42bd-8106-372091da51d6", 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_24dcdf95-58ce-42bd-8106-372091da51d6", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_24dcdf95-58ce-42bd-8106-372091da51d6" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_64ac3c86-40ab-403e-a017-c093022d1c76", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_64ac3c86-40ab-403e-a017-c093022d1c76", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.7", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "598", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240218.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.0/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.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:19747", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8062926487", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ae7569036b49c02d22414e5de343119c48b4aa91", 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: "44d2be283b30c251d7dc48c091d54f17d411a2dda6d785c30b12ad136dd5d665", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1709028414028-0.350708274654735:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028413823-0.9448069636011944:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028390890-0.9859671975610973:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709028390704-0.5515660108396596:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_2aa6a4dd-5a3c-4a91-bbba-30a25166da92", INVOCATION_ID: "e9a624d34aff4ec080a253260e936bfd", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "451", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 117", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "ae7569036b49c02d22414e5de343119c48b4aa91", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_64ac3c86-40ab-403e-a017-c093022d1c76", 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_64ac3c86-40ab-403e-a017-c093022d1c76", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_64ac3c86-40ab-403e-a017-c093022d1c76" };
110
110
  }
111
111
  });
112
112
 
@@ -7670,12 +7670,12 @@ var require_sdp = __commonJS({
7670
7670
  return parsed;
7671
7671
  };
7672
7672
  SDPUtils2.writeRtpMap = function(codec) {
7673
- let pt = codec.payloadType;
7673
+ let pt2 = codec.payloadType;
7674
7674
  if (codec.preferredPayloadType !== void 0) {
7675
- pt = codec.preferredPayloadType;
7675
+ pt2 = codec.preferredPayloadType;
7676
7676
  }
7677
7677
  const channels = codec.channels || codec.numChannels || 1;
7678
- return "a=rtpmap:" + pt + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
7678
+ return "a=rtpmap:" + pt2 + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
7679
7679
  };
7680
7680
  SDPUtils2.parseExtmap = function(line) {
7681
7681
  const parts = line.substring(9).split(" ");
@@ -7701,9 +7701,9 @@ var require_sdp = __commonJS({
7701
7701
  };
7702
7702
  SDPUtils2.writeFmtp = function(codec) {
7703
7703
  let line = "";
7704
- let pt = codec.payloadType;
7704
+ let pt2 = codec.payloadType;
7705
7705
  if (codec.preferredPayloadType !== void 0) {
7706
- pt = codec.preferredPayloadType;
7706
+ pt2 = codec.preferredPayloadType;
7707
7707
  }
7708
7708
  if (codec.parameters && Object.keys(codec.parameters).length) {
7709
7709
  const params = [];
@@ -7714,7 +7714,7 @@ var require_sdp = __commonJS({
7714
7714
  params.push(param);
7715
7715
  }
7716
7716
  });
7717
- line += "a=fmtp:" + pt + " " + params.join(";") + "\r\n";
7717
+ line += "a=fmtp:" + pt2 + " " + params.join(";") + "\r\n";
7718
7718
  }
7719
7719
  return line;
7720
7720
  };
@@ -7727,13 +7727,13 @@ var require_sdp = __commonJS({
7727
7727
  };
7728
7728
  SDPUtils2.writeRtcpFb = function(codec) {
7729
7729
  let lines = "";
7730
- let pt = codec.payloadType;
7730
+ let pt2 = codec.payloadType;
7731
7731
  if (codec.preferredPayloadType !== void 0) {
7732
- pt = codec.preferredPayloadType;
7732
+ pt2 = codec.preferredPayloadType;
7733
7733
  }
7734
7734
  if (codec.rtcpFeedback && codec.rtcpFeedback.length) {
7735
7735
  codec.rtcpFeedback.forEach((fb) => {
7736
- lines += "a=rtcp-fb:" + pt + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
7736
+ lines += "a=rtcp-fb:" + pt2 + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
7737
7737
  });
7738
7738
  }
7739
7739
  return lines;
@@ -7861,21 +7861,21 @@ var require_sdp = __commonJS({
7861
7861
  const mline = lines[0].split(" ");
7862
7862
  description.profile = mline[2];
7863
7863
  for (let i = 3; i < mline.length; i++) {
7864
- const pt = mline[i];
7864
+ const pt2 = mline[i];
7865
7865
  const rtpmapline = SDPUtils2.matchPrefix(
7866
7866
  mediaSection,
7867
- "a=rtpmap:" + pt + " "
7867
+ "a=rtpmap:" + pt2 + " "
7868
7868
  )[0];
7869
7869
  if (rtpmapline) {
7870
7870
  const codec = SDPUtils2.parseRtpMap(rtpmapline);
7871
7871
  const fmtps = SDPUtils2.matchPrefix(
7872
7872
  mediaSection,
7873
- "a=fmtp:" + pt + " "
7873
+ "a=fmtp:" + pt2 + " "
7874
7874
  );
7875
7875
  codec.parameters = fmtps.length ? SDPUtils2.parseFmtp(fmtps[0]) : {};
7876
7876
  codec.rtcpFeedback = SDPUtils2.matchPrefix(
7877
7877
  mediaSection,
7878
- "a=rtcp-fb:" + pt + " "
7878
+ "a=rtcp-fb:" + pt2 + " "
7879
7879
  ).map(SDPUtils2.parseRtcpFb);
7880
7880
  description.codecs.push(codec);
7881
7881
  switch (codec.name.toUpperCase()) {
@@ -13770,11 +13770,12 @@ var Options = ({
13770
13770
  {
13771
13771
  key: option.label,
13772
13772
  css: {
13773
- backgroundColor: selectedDeviceId === option.deviceId ? "$surface_bright" : "$surface_dim",
13773
+ backgroundColor: "$surface_dim",
13774
13774
  p: "$4 $8",
13775
13775
  h: "$15",
13776
13776
  fontSize: "$xs",
13777
- justifyContent: "space-between"
13777
+ justifyContent: "space-between",
13778
+ color: selectedDeviceId === option.deviceId ? "$primary_bright" : ""
13778
13779
  },
13779
13780
  onClick: () => {
13780
13781
  onClick(option.deviceId);
@@ -16230,8 +16231,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
16230
16231
  // ../hms-video-store/dist/index.js
16231
16232
  var import_ua_parser_js = __toESM(require_ua_parser());
16232
16233
  var import_lodash3 = __toESM(require_lodash2());
16233
- import { v4 as Ga } from "uuid";
16234
- import { v4 as Ba } from "uuid";
16234
+ import { v4 as $a } from "uuid";
16235
+ import { v4 as Fa } from "uuid";
16235
16236
 
16236
16237
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
16237
16238
  init_define_process_env();
@@ -16723,20 +16724,20 @@ function shimOnTrack(window2) {
16723
16724
  }
16724
16725
  function shimGetSendersWithDtmf(window2) {
16725
16726
  if (typeof window2 === "object" && window2.RTCPeerConnection && !("getSenders" in window2.RTCPeerConnection.prototype) && "createDTMFSender" in window2.RTCPeerConnection.prototype) {
16726
- const shimSenderWithDtmf = function(pc2, track) {
16727
+ const shimSenderWithDtmf = function(pc, track) {
16727
16728
  return {
16728
16729
  track,
16729
16730
  get dtmf() {
16730
16731
  if (this._dtmf === void 0) {
16731
16732
  if (track.kind === "audio") {
16732
- this._dtmf = pc2.createDTMFSender(track);
16733
+ this._dtmf = pc.createDTMFSender(track);
16733
16734
  } else {
16734
16735
  this._dtmf = null;
16735
16736
  }
16736
16737
  }
16737
16738
  return this._dtmf;
16738
16739
  },
16739
- _pc: pc2
16740
+ _pc: pc
16740
16741
  };
16741
16742
  };
16742
16743
  if (!window2.RTCPeerConnection.prototype.getSenders) {
@@ -17091,11 +17092,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
17091
17092
  }
17092
17093
  return this.getSenders().find((s) => s.track === track);
17093
17094
  };
17094
- function replaceInternalStreamId(pc2, description) {
17095
+ function replaceInternalStreamId(pc, description) {
17095
17096
  let sdp2 = description.sdp;
17096
- Object.keys(pc2._reverseStreams || []).forEach((internalId) => {
17097
- const externalStream = pc2._reverseStreams[internalId];
17098
- const internalStream = pc2._streams[externalStream.id];
17097
+ Object.keys(pc._reverseStreams || []).forEach((internalId) => {
17098
+ const externalStream = pc._reverseStreams[internalId];
17099
+ const internalStream = pc._streams[externalStream.id];
17099
17100
  sdp2 = sdp2.replace(
17100
17101
  new RegExp(internalStream.id, "g"),
17101
17102
  externalStream.id
@@ -17106,11 +17107,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
17106
17107
  sdp: sdp2
17107
17108
  });
17108
17109
  }
17109
- function replaceExternalStreamId(pc2, description) {
17110
+ function replaceExternalStreamId(pc, description) {
17110
17111
  let sdp2 = description.sdp;
17111
- Object.keys(pc2._reverseStreams || []).forEach((internalId) => {
17112
- const externalStream = pc2._reverseStreams[internalId];
17113
- const internalStream = pc2._streams[externalStream.id];
17112
+ Object.keys(pc._reverseStreams || []).forEach((internalId) => {
17113
+ const externalStream = pc._reverseStreams[internalId];
17114
+ const internalStream = pc._streams[externalStream.id];
17114
17115
  sdp2 = sdp2.replace(
17115
17116
  new RegExp(externalStream.id, "g"),
17116
17117
  internalStream.id
@@ -17224,9 +17225,9 @@ function shimPeerConnection(window2, browserDetails) {
17224
17225
  }
17225
17226
  function fixNegotiationNeeded(window2, browserDetails) {
17226
17227
  wrapPeerConnectionEvent(window2, "negotiationneeded", (e) => {
17227
- const pc2 = e.target;
17228
- if (browserDetails.version < 72 || pc2.getConfiguration && pc2.getConfiguration().sdpSemantics === "plan-b") {
17229
- if (pc2.signalingState !== "stable") {
17228
+ const pc = e.target;
17229
+ if (browserDetails.version < 72 || pc.getConfiguration && pc.getConfiguration().sdpSemantics === "plan-b") {
17230
+ if (pc.signalingState !== "stable") {
17230
17231
  return;
17231
17232
  }
17232
17233
  }
@@ -17673,24 +17674,24 @@ function shimRemoteStreamsAPI(window2) {
17673
17674
  });
17674
17675
  const origSetRemoteDescription = window2.RTCPeerConnection.prototype.setRemoteDescription;
17675
17676
  window2.RTCPeerConnection.prototype.setRemoteDescription = function setRemoteDescription() {
17676
- const pc2 = this;
17677
+ const pc = this;
17677
17678
  if (!this._onaddstreampoly) {
17678
17679
  this.addEventListener("track", this._onaddstreampoly = function(e) {
17679
17680
  e.streams.forEach((stream) => {
17680
- if (!pc2._remoteStreams) {
17681
- pc2._remoteStreams = [];
17681
+ if (!pc._remoteStreams) {
17682
+ pc._remoteStreams = [];
17682
17683
  }
17683
- if (pc2._remoteStreams.indexOf(stream) >= 0) {
17684
+ if (pc._remoteStreams.indexOf(stream) >= 0) {
17684
17685
  return;
17685
17686
  }
17686
- pc2._remoteStreams.push(stream);
17687
+ pc._remoteStreams.push(stream);
17687
17688
  const event = new Event("addstream");
17688
17689
  event.stream = stream;
17689
- pc2.dispatchEvent(event);
17690
+ pc.dispatchEvent(event);
17690
17691
  });
17691
17692
  });
17692
17693
  }
17693
- return origSetRemoteDescription.apply(pc2, arguments);
17694
+ return origSetRemoteDescription.apply(pc, arguments);
17694
17695
  };
17695
17696
  }
17696
17697
  }
@@ -18056,13 +18057,13 @@ function shimSendThrowTypeError(window2) {
18056
18057
  if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
18057
18058
  return;
18058
18059
  }
18059
- function wrapDcSend(dc, pc2) {
18060
+ function wrapDcSend(dc, pc) {
18060
18061
  const origDataChannelSend = dc.send;
18061
18062
  dc.send = function send() {
18062
18063
  const data3 = arguments[0];
18063
18064
  const length = data3.length || data3.size || data3.byteLength;
18064
- if (dc.readyState === "open" && pc2.sctp && length > pc2.sctp.maxMessageSize) {
18065
- throw new TypeError("Message too large (can send a maximum of " + pc2.sctp.maxMessageSize + " bytes)");
18065
+ if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
18066
+ throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
18066
18067
  }
18067
18068
  return origDataChannelSend.apply(dc, arguments);
18068
18069
  };
@@ -18120,11 +18121,11 @@ function shimConnectionState(window2) {
18120
18121
  proto[method] = function() {
18121
18122
  if (!this._connectionstatechangepoly) {
18122
18123
  this._connectionstatechangepoly = (e) => {
18123
- const pc2 = e.target;
18124
- if (pc2._lastConnectionState !== pc2.connectionState) {
18125
- pc2._lastConnectionState = pc2.connectionState;
18124
+ const pc = e.target;
18125
+ if (pc._lastConnectionState !== pc.connectionState) {
18126
+ pc._lastConnectionState = pc.connectionState;
18126
18127
  const newEvent = new Event("connectionstatechange", e);
18127
- pc2.dispatchEvent(newEvent);
18128
+ pc.dispatchEvent(newEvent);
18128
18129
  }
18129
18130
  return e;
18130
18131
  };
@@ -18328,57 +18329,57 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
18328
18329
 
18329
18330
  // ../hms-video-store/dist/index.js
18330
18331
  var import_lodash4 = __toESM(require_lodash2());
18331
- import { v4 as Xa } from "uuid";
18332
- import { v4 as io } from "uuid";
18333
- import { v4 as oo } from "uuid";
18334
- import { EventEmitter2 as no } from "eventemitter2";
18335
- var Ct = __toESM(require_lib());
18336
- import { EventEmitter2 as Ao } from "eventemitter2";
18337
- import { v4 as Ho } from "uuid";
18338
- import { EventEmitter2 as Co } from "eventemitter2";
18339
- import Lo from "eventemitter2";
18332
+ import { v4 as Za } from "uuid";
18333
+ import { v4 as ro } from "uuid";
18334
+ import { v4 as no } from "uuid";
18335
+ import { EventEmitter2 as co } from "eventemitter2";
18336
+ var Lt = __toESM(require_lib());
18337
+ import { EventEmitter2 as Io } from "eventemitter2";
18338
+ import { v4 as Co } from "uuid";
18339
+ import { EventEmitter2 as Lo } from "eventemitter2";
18340
+ import Do from "eventemitter2";
18340
18341
  import { v4 as wo } from "uuid";
18341
- import { v4 as No } from "uuid";
18342
- var fa = Object.defineProperty;
18343
- var va = Object.defineProperties;
18344
- var Ma = Object.getOwnPropertyDescriptors;
18345
- var Ut = Object.getOwnPropertySymbols;
18346
- var Fr = Object.prototype.hasOwnProperty;
18347
- var Gr = Object.prototype.propertyIsEnumerable;
18348
- var Br = (a2, e, t) => e in a2 ? fa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18342
+ import { v4 as Oo } from "uuid";
18343
+ var va = Object.defineProperty;
18344
+ var Ma = Object.defineProperties;
18345
+ var ya = Object.getOwnPropertyDescriptors;
18346
+ var Bt = Object.getOwnPropertySymbols;
18347
+ var Gr = Object.prototype.hasOwnProperty;
18348
+ var $r = Object.prototype.propertyIsEnumerable;
18349
+ var Fr = (a2, e, t) => e in a2 ? va(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18349
18350
  var S = (a2, e) => {
18350
18351
  for (var t in e || (e = {}))
18351
- Fr.call(e, t) && Br(a2, t, e[t]);
18352
- if (Ut)
18353
- for (var t of Ut(e))
18354
- Gr.call(e, t) && Br(a2, t, e[t]);
18352
+ Gr.call(e, t) && Fr(a2, t, e[t]);
18353
+ if (Bt)
18354
+ for (var t of Bt(e))
18355
+ $r.call(e, t) && Fr(a2, t, e[t]);
18355
18356
  return a2;
18356
18357
  };
18357
- var k = (a2, e) => va(a2, Ma(e));
18358
- var Qi = (a2, e) => {
18358
+ var y = (a2, e) => Ma(a2, ya(e));
18359
+ var Yi = (a2, e) => {
18359
18360
  var t = {};
18360
18361
  for (var i in a2)
18361
- Fr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
18362
- if (a2 != null && Ut)
18363
- for (var i of Ut(a2))
18364
- e.indexOf(i) < 0 && Gr.call(a2, i) && (t[i] = a2[i]);
18362
+ Gr.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
18363
+ if (a2 != null && Bt)
18364
+ for (var i of Bt(a2))
18365
+ e.indexOf(i) < 0 && $r.call(a2, i) && (t[i] = a2[i]);
18365
18366
  return t;
18366
18367
  };
18367
- var Pa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18368
- var nr = Pa((zc, Fa) => {
18369
- Fa.exports = { version: "0.11.8-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"] };
18368
+ var Ea = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18369
+ var dr = Ea((Yc, Ga) => {
18370
+ Ga.exports = { version: "0.11.8-alpha.2", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
18370
18371
  });
18371
- var zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
18372
- var Ea = ((e) => (e.CHAT = "chat", e))(Ea || {});
18373
- var $r = ((t) => (t.INFO = "info", t.ERROR = "error", t))($r || {});
18374
- var Yi = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(Yi || {});
18375
- var Wr = ((t) => (t.audio = "audio", t.video = "video", t))(Wr || {});
18372
+ var Xi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Xi || {});
18373
+ var ba = ((e) => (e.CHAT = "chat", e))(ba || {});
18374
+ var Wr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Wr || {});
18375
+ var Zi = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(Zi || {});
18376
+ var Kr = ((t) => (t.audio = "audio", t.video = "video", t))(Kr || {});
18376
18377
  function He(a2, e) {
18377
18378
  let t, i;
18378
18379
  if (e)
18379
18380
  for (let r of e.auxiliaryTracks) {
18380
18381
  let s = a2[r];
18381
- ba(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18382
+ Aa(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18382
18383
  }
18383
18384
  return { video: t, audio: i };
18384
18385
  }
@@ -18388,16 +18389,16 @@ function tt(a2) {
18388
18389
  function it(a2) {
18389
18390
  return a2 && a2.type === "video";
18390
18391
  }
18391
- function ba(a2) {
18392
+ function Aa(a2) {
18392
18393
  return a2 && a2.source === "screen";
18393
18394
  }
18394
- function Ft(a2) {
18395
+ function Gt(a2) {
18395
18396
  return a2 && a2.source === "audioplaylist";
18396
18397
  }
18397
18398
  function rt(a2) {
18398
18399
  return a2 && a2.source === "videoplaylist";
18399
18400
  }
18400
- function Kr(a2) {
18401
+ function qr(a2) {
18401
18402
  return a2 ? !!(a2 != null && a2.degraded) : false;
18402
18403
  }
18403
18404
  function Ue(a2, e) {
@@ -18408,34 +18409,34 @@ function st(a2) {
18408
18409
  let e = false, t = false, i = false;
18409
18410
  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 };
18410
18411
  }
18411
- var V = (a2) => a2.room;
18412
- var Aa = (a2) => a2.errors;
18413
- var En = createSelector(Aa, (a2) => a2.length === 0 ? null : a2.at(-1));
18414
- var bn = createSelector(V, (a2) => a2.id);
18412
+ var B = (a2) => a2.room;
18413
+ var Ia = (a2) => a2.errors;
18414
+ var bn = createSelector(Ia, (a2) => a2.length === 0 ? null : a2.at(-1));
18415
+ var An = createSelector(B, (a2) => a2.id);
18415
18416
  var G = (a2) => a2.peers;
18416
- var Gt = (a2) => a2.messages.byID;
18417
- var jr = (a2) => a2.messages.allIDs;
18418
- var w = (a2) => a2.tracks;
18419
- var Xi = (a2) => a2.appData;
18420
- var Ia = (a2) => a2.speakers;
18421
- var ye = createSelector([V], (a2) => a2 && a2.isConnected);
18422
- var Rn = createSelector([ye, V], (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));
18423
- var Ra = (a2) => a2.hideLocalPeer;
18424
- var ae = createSelector([V, G, Ra], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
18425
- var Ha = createSelector(w, (a2) => Object.values(a2));
18426
- var z = createSelector(V, G, (a2, e) => e[a2.localPeer]);
18427
- var ue = createSelector(V, (a2) => a2.localPeer);
18428
- var Hn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18429
- var Cn = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
18417
+ var $t = (a2) => a2.messages.byID;
18418
+ var Jr = (a2) => a2.messages.allIDs;
18419
+ var D = (a2) => a2.tracks;
18420
+ var er = (a2) => a2.appData;
18421
+ var Ra = (a2) => a2.speakers;
18422
+ var ye = createSelector([B], (a2) => a2 && a2.isConnected);
18423
+ var Hn = createSelector([ye, 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));
18424
+ var Ha = (a2) => a2.hideLocalPeer;
18425
+ var ae = createSelector([B, G, Ha], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
18426
+ var Ca = createSelector(D, (a2) => Object.values(a2));
18427
+ var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
18428
+ var ue = createSelector(B, (a2) => a2.localPeer);
18429
+ var Cn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
18430
+ var Ln = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
18430
18431
  var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
18431
18432
  var K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
18432
- var Ca = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
18433
- var Qr = createSelector([Z, K, Ca], (a2, e, t) => {
18433
+ var La = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
18434
+ var zr = createSelector([Z, K, La], (a2, e, t) => {
18434
18435
  let i = t ? [...t] : [];
18435
18436
  return a2 && i.unshift(a2), e && i.unshift(e), i;
18436
18437
  });
18437
- var Ln = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
18438
- var wn = createSelector(G, Ia, (a2, e) => {
18438
+ var Dn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
18439
+ var wn = createSelector(G, Ra, (a2, e) => {
18439
18440
  let t = Object.entries(e).sort((i, r) => {
18440
18441
  var n, l;
18441
18442
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -18448,11 +18449,11 @@ var wn = createSelector(G, Ia, (a2, e) => {
18448
18449
  }
18449
18450
  return null;
18450
18451
  });
18451
- var er = createSelector(z, w, (a2, e) => {
18452
+ var ir = createSelector(z, D, (a2, e) => {
18452
18453
  let { video: t, audio: i } = He(e, a2);
18453
18454
  return !!(t || i);
18454
18455
  });
18455
- var La = createSelector(G, w, (a2, e) => {
18456
+ var Da = createSelector(G, D, (a2, e) => {
18456
18457
  let t;
18457
18458
  for (let i in a2) {
18458
18459
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -18462,15 +18463,15 @@ var La = createSelector(G, w, (a2, e) => {
18462
18463
  }
18463
18464
  return t;
18464
18465
  });
18465
- var _n = createSelector(La, (a2) => !!a2);
18466
- var Nn = createSelector(G, w, (a2, e) => {
18466
+ var Nn = createSelector(Da, (a2) => !!a2);
18467
+ var On = createSelector(G, D, (a2, e) => {
18467
18468
  for (let t in a2) {
18468
18469
  let i = a2[t], { audio: r, video: s } = He(e, i);
18469
18470
  if (!s && r)
18470
18471
  return i;
18471
18472
  }
18472
18473
  });
18473
- var On = createSelector(G, w, (a2, e) => {
18474
+ var xn = createSelector(G, D, (a2, e) => {
18474
18475
  let t = [], i = [];
18475
18476
  for (let r in a2) {
18476
18477
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -18478,24 +18479,24 @@ var On = createSelector(G, w, (a2, e) => {
18478
18479
  }
18479
18480
  return t.concat(i);
18480
18481
  });
18481
- var xn = createSelector(G, w, (a2, e) => {
18482
+ var Un = createSelector(G, D, (a2, e) => {
18482
18483
  for (let t in e) {
18483
18484
  let i = e[t];
18484
18485
  if (rt(i) && it(i) && i.peerId)
18485
18486
  return a2[i.peerId];
18486
18487
  }
18487
18488
  });
18488
- var Un = createSelector(G, w, (a2, e) => {
18489
+ var Bn = createSelector(G, D, (a2, e) => {
18489
18490
  for (let t in e) {
18490
18491
  let i = e[t];
18491
- if (Ft(i) && i.peerId)
18492
+ if (Gt(i) && i.peerId)
18492
18493
  return a2[i.peerId];
18493
18494
  }
18494
18495
  });
18495
- var Vn = createSelector(Ha, (a2) => a2.filter(Kr));
18496
- var Bn = createSelector(jr, (a2) => a2.length);
18497
- var Fn = createSelector(Gt, (a2) => Object.values(a2).filter((e) => !e.read).length);
18498
- var at = createSelector(jr, Gt, (a2, e) => {
18496
+ var Vn = createSelector(Ca, (a2) => a2.filter(qr));
18497
+ var Fn = createSelector(Jr, (a2) => a2.length);
18498
+ var Gn = createSelector($t, (a2) => Object.values(a2).filter((e) => !e.read).length);
18499
+ var at = createSelector(Jr, $t, (a2, e) => {
18499
18500
  let t = [];
18500
18501
  return a2.forEach((i) => {
18501
18502
  t.push(e[i]);
@@ -18505,53 +18506,53 @@ var wa = createSelector(at, (a2) => a2.filter((e) => {
18505
18506
  var t;
18506
18507
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
18507
18508
  }));
18508
- var Gn = createSelector(wa, (a2) => a2.filter((e) => !e.read).length);
18509
- var Y = createSelector([V], (a2) => a2 && a2.roomState);
18510
- var Yr = createSelector(Y, (a2) => a2 === "Preview");
18511
- var $n = createSelector(V, (a2) => a2.roomState !== "Disconnected");
18509
+ var $n = createSelector(wa, (a2) => a2.filter((e) => !e.read).length);
18510
+ var Y = createSelector([B], (a2) => a2 && a2.roomState);
18511
+ var Xr = createSelector(Y, (a2) => a2 === "Preview");
18512
+ var Wn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
18512
18513
  var oe = (a2) => a2.roles;
18513
- var Wn = createSelector([oe], (a2) => Object.keys(a2));
18514
- var $t = createSelector([z, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
18515
- var Da = (a2) => {
18514
+ var Kn = createSelector([oe], (a2) => Object.keys(a2));
18515
+ var Wt = createSelector([z, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
18516
+ var _a7 = (a2) => {
18516
18517
  var e;
18517
18518
  return (e = a2.preview) == null ? void 0 : e.asRole;
18518
18519
  };
18519
- var Xr = createSelector([Da, oe], (a2, e) => a2 ? e[a2] : null);
18520
- var Kn = createSelector([$t], (a2) => {
18520
+ var Zr = createSelector([_a7, oe], (a2, e) => a2 ? e[a2] : null);
18521
+ var qn = createSelector([Wt], (a2) => {
18521
18522
  var e;
18522
18523
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
18523
18524
  });
18524
- var Zr = createSelector($t, (a2) => a2 == null ? void 0 : a2.permissions);
18525
- var qn = createSelector(V, (a2) => a2.recording);
18526
- var jn = createSelector(V, (a2) => a2.rtmp);
18527
- var Jn = createSelector(V, (a2) => a2.hls);
18528
- var Qn = createSelector(V, (a2) => a2.sessionId);
18529
- var zn = createSelector(V, (a2) => a2.startedAt);
18530
- var Yn = createSelector(V, (a2) => !!a2.isLargeRoom);
18531
- var Xn = createSelector(V, (a2) => !!a2.isEffectsEnabled);
18532
- var Zn = createSelector(V, (a2) => a2.effectsKey);
18533
- var es = (a2) => a2.polls;
18534
- var rc = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
18535
- var _a7 = (a2) => a2.whiteboards;
18536
- var sc = createSelector(_a7, (a2) => Object.values(a2)[0]);
18537
- var is = (a2 = "audio") => (e) => e.playlist[a2].list;
18538
- var tr = (a2 = "audio") => (e) => e.playlist[a2].selection;
18539
- var rs = (a2 = "audio") => (e) => e.playlist[a2].progress;
18540
- var ss = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
18541
- var as = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
18542
- var os = (a2 = "audio") => (e) => e.playlist[a2].volume;
18543
- var ns = (a2 = "audio") => createSelector(is(a2), (e) => Object.values(e));
18544
- var cs = (a2 = "audio") => createSelector(is(a2), tr(a2), (e, t) => {
18525
+ var es = createSelector(Wt, (a2) => a2 == null ? void 0 : a2.permissions);
18526
+ var jn = createSelector(B, (a2) => a2.recording);
18527
+ var Jn = createSelector(B, (a2) => a2.rtmp);
18528
+ var Qn = createSelector(B, (a2) => a2.hls);
18529
+ var zn = createSelector(B, (a2) => a2.sessionId);
18530
+ var Yn = createSelector(B, (a2) => a2.startedAt);
18531
+ var Xn = createSelector(B, (a2) => !!a2.isLargeRoom);
18532
+ var Zn = createSelector(B, (a2) => !!a2.isEffectsEnabled);
18533
+ var ec = createSelector(B, (a2) => a2.effectsKey);
18534
+ var ts = (a2) => a2.polls;
18535
+ var sc = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
18536
+ var Na = (a2) => a2.whiteboards;
18537
+ var ac = createSelector(Na, (a2) => Object.values(a2)[0]);
18538
+ var rs = (a2 = "audio") => (e) => e.playlist[a2].list;
18539
+ var rr = (a2 = "audio") => (e) => e.playlist[a2].selection;
18540
+ var ss = (a2 = "audio") => (e) => e.playlist[a2].progress;
18541
+ var as = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
18542
+ var os = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
18543
+ var ns = (a2 = "audio") => (e) => e.playlist[a2].volume;
18544
+ var cs = (a2 = "audio") => createSelector(rs(a2), (e) => Object.values(e));
18545
+ var ds = (a2 = "audio") => createSelector(rs(a2), rr(a2), (e, t) => {
18545
18546
  if (t.id)
18546
18547
  return e[t.id];
18547
18548
  });
18548
- var ds = { selection: tr("audio"), progress: rs("audio"), currentTime: ss("audio"), playbackRate: as("audio"), volume: os("audio"), list: ns("audio"), selectedItem: cs("audio") };
18549
- var ls = { selection: tr("video"), progress: rs("video"), currentTime: ss("video"), playbackRate: as("video"), volume: os("video"), list: ns("video"), selectedItem: cs("video") };
18549
+ var ls = { selection: rr("audio"), progress: ss("audio"), currentTime: as("audio"), playbackRate: os("audio"), volume: ns("audio"), list: cs("audio"), selectedItem: ds("audio") };
18550
+ var us = { selection: rr("video"), progress: ss("video"), currentTime: as("video"), playbackRate: os("video"), volume: ns("video"), list: cs("video"), selectedItem: ds("video") };
18550
18551
  function b(a2) {
18551
18552
  return (e) => (t) => a2(t, e);
18552
18553
  }
18553
- 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 || {});
18554
- var Na = typeof window != "undefined" && typeof window.expect != "undefined";
18554
+ var ps = ((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))(ps || {});
18555
+ var Oa = typeof window != "undefined" && typeof window.expect != "undefined";
18555
18556
  var d = class {
18556
18557
  static v(e, ...t) {
18557
18558
  this.log(0, e, ...t);
@@ -18617,24 +18618,24 @@ var d = class {
18617
18618
  }
18618
18619
  }
18619
18620
  };
18620
- d.level = Na ? 7 : 0;
18621
+ d.level = Oa ? 7 : 0;
18621
18622
  var pe = new import_ua_parser_js.UAParser();
18622
- var D = typeof window != "undefined";
18623
- var ps;
18624
- var Ce = typeof window == "undefined" && !((ps = pe.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
18625
- var xa = () => !Ce;
18626
- var pc = xa();
18623
+ var w = typeof window != "undefined";
18627
18624
  var hs;
18625
+ var Ce = typeof window == "undefined" && !((hs = pe.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
18626
+ var Ua = () => !Ce;
18627
+ var hc = Ua();
18628
18628
  var ms;
18629
- var gs = ((ms = (hs = pe.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
18630
- function Ua() {
18631
- if (D && window) {
18629
+ var Ss;
18630
+ var Ts = ((Ss = (ms = pe.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase()) === "firefox";
18631
+ function Ba() {
18632
+ if (w && window) {
18632
18633
  let a2 = window.location.hostname;
18633
18634
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
18634
18635
  }
18635
18636
  return "CUSTOM";
18636
18637
  }
18637
- var Be = Ua();
18638
+ var Ve = Ba();
18638
18639
  var v = { 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 } };
18639
18640
  var f = class a extends Error {
18640
18641
  constructor(t, i, r, s, o, n = false) {
@@ -18773,7 +18774,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18773
18774
  }, NoEntryPlaying(a2, e) {
18774
18775
  return new f(v.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
18775
18776
  } } };
18776
- var sr = class {
18777
+ var or = class {
18777
18778
  constructor() {
18778
18779
  this.valuesMap = /* @__PURE__ */ new Map();
18779
18780
  }
@@ -18798,9 +18799,9 @@ var sr = class {
18798
18799
  return this.valuesMap.size;
18799
18800
  }
18800
18801
  };
18801
- var Ts = () => {
18802
+ var fs = () => {
18802
18803
  try {
18803
- D && !localStorage && (window.localStorage = new sr());
18804
+ w && !localStorage && (window.localStorage = new or());
18804
18805
  } catch (a2) {
18805
18806
  d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied());
18806
18807
  }
@@ -18812,7 +18813,7 @@ var ne = class {
18812
18813
  }
18813
18814
  getStorage() {
18814
18815
  try {
18815
- return D && !this.storage && (Ts(), this.storage = window.localStorage), this.storage;
18816
+ return w && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
18816
18817
  } catch (e) {
18817
18818
  return d.e("Error initialising localStorage", h.GenericErrors.LocalStorageAccessDenied()), null;
18818
18819
  }
@@ -18832,37 +18833,37 @@ var ne = class {
18832
18833
  (e = this.getStorage()) == null || e.removeItem(this.key);
18833
18834
  }
18834
18835
  };
18835
- var fs = () => {
18836
+ var vs = () => {
18836
18837
  let a2, e = new ne("hms-analytics-deviceId"), t = e.get();
18837
- return t ? a2 = t : (a2 = Ba(), e.set(a2)), a2;
18838
+ return t ? a2 = t : (a2 = Fa(), e.set(a2)), a2;
18838
18839
  };
18839
18840
  function ie(a2) {
18840
18841
  return a2 != null;
18841
18842
  }
18842
- var Ms = nr().version;
18843
+ var ys = dr().version;
18843
18844
  function ot(a2 = "prod", e) {
18844
- let t = "web", i = Be !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
18845
+ let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
18845
18846
  if (Ce)
18846
- return ys({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ms, env: i, domain: Be, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
18847
- let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = cr(`web_${r.name}`), l = r.version || "", u = cr(`${o.name}_${o.version}`), p = u;
18848
- return s.type && (p = `${cr(`${s.vendor}_${s.type}`)}/${u}`), ys({ os: n, os_version: l, sdk: t, sdk_version: Ms, device_model: p, env: i, domain: Be, 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 });
18847
+ return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
18848
+ let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = lr(`web_${r.name}`), l = r.version || "", u = lr(`${o.name}_${o.version}`), p = u;
18849
+ return s.type && (p = `${lr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Ve, 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 });
18849
18850
  }
18850
- function cr(a2) {
18851
+ function lr(a2) {
18851
18852
  return a2.replace(/ /g, "_");
18852
18853
  }
18853
- var ys = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
18854
+ var ks = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
18854
18855
  var R = class {
18855
18856
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
18856
18857
  this.metadata = { peer: {}, userAgent: ot() };
18857
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ga(), this.device_id = fs();
18858
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = $a(), this.device_id = vs();
18858
18859
  }
18859
18860
  toSignalParams() {
18860
- return { name: this.name, info: k(S({}, this.properties), { timestamp: this.timestamp, domain: Be }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
18861
+ return { name: this.name, info: y(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
18861
18862
  }
18862
18863
  };
18863
18864
  var M = class {
18864
18865
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
18865
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(k(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
18866
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(y(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
18866
18867
  return new R({ name: o, level: n, properties: l });
18867
18868
  }
18868
18869
  static disconnect(e, t) {
@@ -18870,13 +18871,13 @@ var M = class {
18870
18871
  return new R({ name: i, level: r, properties: s });
18871
18872
  }
18872
18873
  static preview(i) {
18873
- var r = i, { error: e } = r, t = Qi(r, ["error"]);
18874
+ var r = i, { error: e } = r, t = Yi(r, ["error"]);
18874
18875
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
18875
18876
  return new R({ name: s, level: o, properties: n });
18876
18877
  }
18877
18878
  static join(i) {
18878
- var r = i, { error: e } = r, t = Qi(r, ["error"]);
18879
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(k(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
18879
+ var r = i, { error: e } = r, t = Yi(r, ["error"]);
18880
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
18880
18881
  return new R({ name: s, level: o, properties: n });
18881
18882
  }
18882
18883
  static publish({ devices: e, settings: t, error: i }) {
@@ -18919,7 +18920,7 @@ var M = class {
18919
18920
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
18920
18921
  if (!t && e.degradedAt instanceof Date) {
18921
18922
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
18922
- s = k(S({}, s), { duration: n, restoredAt: o });
18923
+ s = y(S({}, s), { duration: n, restoredAt: o });
18923
18924
  }
18924
18925
  return new R({ name: i, level: r, properties: s });
18925
18926
  }
@@ -18948,7 +18949,7 @@ var M = class {
18948
18949
  }
18949
18950
  };
18950
18951
  M.KEY_REQUESTED_AT = "requested_at", M.KEY_RESPONDED_AT = "responded_at";
18951
- var dr = class {
18952
+ var ur = class {
18952
18953
  constructor() {
18953
18954
  this.storage = new ne("hms-device-selection");
18954
18955
  this.remember = false;
@@ -18982,10 +18983,10 @@ var dr = class {
18982
18983
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
18983
18984
  }
18984
18985
  };
18985
- var q = new dr();
18986
- var lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(lr || {});
18987
- var ur = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(ur || {});
18988
- function qt(a2, e = 300) {
18986
+ var q = new ur();
18987
+ var pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(pr || {});
18988
+ var hr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(hr || {});
18989
+ function jt(a2, e = 300) {
18989
18990
  let t;
18990
18991
  return function(...i) {
18991
18992
  clearTimeout(t), t = void 0;
@@ -18995,9 +18996,9 @@ function qt(a2, e = 300) {
18995
18996
  }, e);
18996
18997
  };
18997
18998
  }
18998
- var Is = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Is || {});
18999
- var Rs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Rs || {});
19000
- var pr = class {
18999
+ 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 || {});
19000
+ var Hs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Hs || {});
19001
+ var mr = class {
19001
19002
  constructor() {
19002
19003
  this.TAG = "[HMSIntersectionObserverWrapper]";
19003
19004
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -19020,12 +19021,12 @@ var pr = class {
19020
19021
  this.createObserver();
19021
19022
  }
19022
19023
  isSupported() {
19023
- let e = D && typeof window.IntersectionObserver != "undefined";
19024
+ let e = w && typeof window.IntersectionObserver != "undefined";
19024
19025
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
19025
19026
  }
19026
19027
  };
19027
- var ws = new pr();
19028
- var hr = class {
19028
+ var ws = new mr();
19029
+ var Sr = class {
19029
19030
  constructor() {
19030
19031
  this.TAG = "[HMSResizeObserverWrapper]";
19031
19032
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -19038,7 +19039,7 @@ var hr = class {
19038
19039
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
19039
19040
  };
19040
19041
  this.createObserver = () => {
19041
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(qt(this.handleResize, 300)));
19042
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(jt(this.handleResize, 300)));
19042
19043
  };
19043
19044
  this.handleResize = (e) => {
19044
19045
  var t;
@@ -19048,20 +19049,21 @@ var hr = class {
19048
19049
  this.createObserver();
19049
19050
  }
19050
19051
  isSupported() {
19051
- let e = D && typeof window.ResizeObserver != "undefined";
19052
+ let e = w && typeof window.ResizeObserver != "undefined";
19052
19053
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
19053
19054
  }
19054
19055
  };
19055
- var Ds = new hr();
19056
- var mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
19057
- var Sr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Sr || {});
19058
- var Os = "https://event.100ms.live/v2/client/report";
19059
- var xs = "https://event-nonprod.100ms.live/v2/client/report";
19056
+ var _s = new Sr();
19057
+ var gr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(gr || {});
19058
+ var Tr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Tr || {});
19059
+ var xs = "https://event.100ms.live/v2/client/report";
19060
+ var Us = "https://event-nonprod.100ms.live/v2/client/report";
19061
+ var pt = Math.pow(2, 31) - 1;
19060
19062
  var Qe = class {
19061
19063
  };
19062
- Qe.makePeerId = () => oo();
19063
- var St = "HMS-Store:";
19064
- var y = class {
19064
+ Qe.makePeerId = () => no();
19065
+ var gt = "HMS-Store:";
19066
+ var k = class {
19065
19067
  static v(e, ...t) {
19066
19068
  this.log(0, e, ...t);
19067
19069
  }
@@ -19090,23 +19092,23 @@ var y = class {
19090
19092
  if (!(this.level.valueOf() > e.valueOf()))
19091
19093
  switch (e) {
19092
19094
  case 0: {
19093
- console.log(St, ...t);
19095
+ console.log(gt, ...t);
19094
19096
  break;
19095
19097
  }
19096
19098
  case 1: {
19097
- console.debug(St, ...t);
19099
+ console.debug(gt, ...t);
19098
19100
  break;
19099
19101
  }
19100
19102
  case 2: {
19101
- console.info(St, ...t);
19103
+ console.info(gt, ...t);
19102
19104
  break;
19103
19105
  }
19104
19106
  case 3: {
19105
- console.warn(St, ...t);
19107
+ console.warn(gt, ...t);
19106
19108
  break;
19107
19109
  }
19108
19110
  case 6: {
19109
- console.error(St, ...t);
19111
+ console.error(gt, ...t);
19110
19112
  break;
19111
19113
  }
19112
19114
  case 4: {
@@ -19126,202 +19128,202 @@ var y = class {
19126
19128
  }
19127
19129
  }
19128
19130
  };
19129
- y.level = 0;
19130
- var br = (a2, e) => e;
19131
- var gt = (a2, e) => e;
19132
- var Ws = (a2, e) => e;
19133
- var co = (a2, e) => e;
19131
+ k.level = 0;
19132
+ var Ir = (a2, e) => e;
19133
+ var Tt = (a2, e) => e;
19134
+ var Ks = (a2, e) => e;
19134
19135
  var lo = (a2, e) => e;
19135
- var J = createSelector([G, br], (a2, e) => e ? a2[e] : null);
19136
- var Ar = createSelector([w, gt], (a2, e) => e ? a2[e] : null);
19137
- var uo = createSelector([w, gt], (a2, e) => {
19136
+ var uo = (a2, e) => e;
19137
+ var J = createSelector([G, Ir], (a2, e) => e ? a2[e] : null);
19138
+ var Rr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
19139
+ var po = createSelector([D, Tt], (a2, e) => {
19138
19140
  if (!e)
19139
19141
  return null;
19140
19142
  let t = a2[e];
19141
19143
  return (t == null ? void 0 : t.type) === "video" ? t : null;
19142
19144
  });
19143
- var po = createSelector([w, gt], (a2, e) => {
19145
+ var ho = createSelector([D, Tt], (a2, e) => {
19144
19146
  if (!e)
19145
19147
  return null;
19146
19148
  let t = a2[e];
19147
19149
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
19148
19150
  });
19149
- var ho = createSelector([w, gt], (a2, e) => {
19151
+ var mo = createSelector([D, Tt], (a2, e) => {
19150
19152
  if (!e)
19151
19153
  return null;
19152
19154
  let t = a2[e];
19153
19155
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19154
19156
  });
19155
- var mo = createSelector([w, gt], (a2, e) => {
19157
+ var So = createSelector([D, Tt], (a2, e) => {
19156
19158
  if (!e)
19157
19159
  return null;
19158
19160
  let t = a2[e];
19159
19161
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19160
19162
  });
19161
- var So = createSelector([es, lo], (a2, e) => e ? a2[e] : null);
19163
+ var go = createSelector([ts, uo], (a2, e) => e ? a2[e] : null);
19162
19164
  var Q = b(J);
19163
- var Xh = b(createSelector([Xi, co], (a2, e) => {
19165
+ var Zh = b(createSelector([er, lo], (a2, e) => {
19164
19166
  if (a2)
19165
19167
  return e ? a2[e] : a2;
19166
19168
  }));
19167
- function Zh(a2) {
19169
+ function em(a2) {
19168
19170
  return (e) => {
19169
19171
  if (e.sessionStore)
19170
19172
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19171
19173
  };
19172
19174
  }
19173
- var tm = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19174
- var si = b(Ar);
19175
- var Ks = b(uo);
19176
- var im = b(po);
19175
+ var im = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
19176
+ var ai = b(Rr);
19177
+ var qs = b(po);
19177
19178
  var rm = b(ho);
19178
19179
  var sm = b(mo);
19179
- var go = b((a2, e) => {
19180
+ var am = b(So);
19181
+ var To = b((a2, e) => {
19180
19182
  let t = J(a2, e);
19181
19183
  if (t && t.videoTrack && t.videoTrack !== "")
19182
19184
  return a2.tracks[t.videoTrack];
19183
19185
  });
19184
- var To = b((a2, e) => {
19186
+ var fo = b((a2, e) => {
19185
19187
  let t = J(a2, e);
19186
19188
  if (t && t.audioTrack && t.audioTrack !== "")
19187
19189
  return a2.tracks[t.audioTrack];
19188
19190
  });
19189
- var om = b((a2, e) => {
19191
+ var nm = b((a2, e) => {
19190
19192
  let t = J(a2, e);
19191
19193
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
19192
19194
  });
19193
- var qs = (a2, e) => e ? a2.speakers[e] : null;
19194
- var nm = b(createSelector(qs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19195
- var fo = (a2, e) => {
19196
- let t = To(e)(a2);
19197
- return qs(a2, t == null ? void 0 : t.id);
19198
- };
19199
- var cm = b(createSelector(fo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19200
- var dm = b((a2, e) => {
19195
+ var js = (a2, e) => e ? a2.speakers[e] : null;
19196
+ var cm = b(createSelector(js, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19197
+ var vo = (a2, e) => {
19198
+ let t = fo(e)(a2);
19199
+ return js(a2, t == null ? void 0 : t.id);
19200
+ };
19201
+ var dm = b(createSelector(vo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19202
+ var lm = b((a2, e) => {
19201
19203
  if (e)
19202
19204
  return a2.connectionQualities[e];
19203
19205
  });
19204
- var lm = b((a2, e) => {
19206
+ var um = b((a2, e) => {
19205
19207
  let t = J(a2, e);
19206
19208
  if (t) {
19207
19209
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
19208
19210
  return i ? a2.tracks[i] : void 0;
19209
19211
  }
19210
19212
  });
19211
- var um = b(createSelector(w, J, (a2, e) => {
19213
+ var pm = b(createSelector(D, J, (a2, e) => {
19212
19214
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19213
19215
  let r = a2[i];
19214
19216
  return rt(r) && it(r);
19215
19217
  });
19216
19218
  return t ? a2[t] : void 0;
19217
19219
  }));
19218
- var pm = b(createSelector(w, J, (a2, e) => {
19220
+ var hm = b(createSelector(D, J, (a2, e) => {
19219
19221
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19220
19222
  let r = a2[i];
19221
19223
  return rt(r) && tt(r);
19222
19224
  });
19223
19225
  return t ? a2[t] : void 0;
19224
19226
  }));
19225
- var hm = b(createSelector(w, J, (a2, e) => {
19227
+ var mm = b(createSelector(D, J, (a2, e) => {
19226
19228
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19227
19229
  let r = a2[i];
19228
- return Ft(r) && tt(r);
19230
+ return Gt(r) && tt(r);
19229
19231
  });
19230
19232
  return t ? a2[t] : void 0;
19231
19233
  }));
19232
- var js = b(createSelector(w, J, (a2, e) => He(a2, e)));
19233
- var Js = (a2) => createSelector(js(a2), (e) => e.audio);
19234
- var Sm = b((a2, e) => {
19234
+ var Js = b(createSelector(D, J, (a2, e) => He(a2, e)));
19235
+ var Qs = (a2) => createSelector(Js(a2), (e) => e.audio);
19236
+ var gm = b((a2, e) => {
19235
19237
  let t = J(a2, e);
19236
19238
  return Ue(a2, t == null ? void 0 : t.audioTrack);
19237
19239
  });
19238
- var gm = b((a2, e) => {
19240
+ var Tm = b((a2, e) => {
19239
19241
  let t = J(a2, e);
19240
19242
  return Ue(a2, t == null ? void 0 : t.videoTrack);
19241
19243
  });
19242
- var Qs = b((a2, e) => {
19244
+ var zs = b((a2, e) => {
19243
19245
  if (e && a2.tracks[e])
19244
19246
  return a2.tracks[e].volume === 0;
19245
19247
  });
19246
- var Tm = b((a2, e) => {
19248
+ var fm = b((a2, e) => {
19247
19249
  let t = J(a2, e);
19248
- return Qs(t == null ? void 0 : t.audioTrack)(a2);
19250
+ return zs(t == null ? void 0 : t.audioTrack)(a2);
19249
19251
  });
19250
- var fm = b((a2, e) => {
19251
- let t = Js(e)(a2);
19252
- return Qs(t == null ? void 0 : t.id)(a2);
19252
+ var vm = b((a2, e) => {
19253
+ let t = Qs(e)(a2);
19254
+ return zs(t == null ? void 0 : t.id)(a2);
19253
19255
  });
19254
- var zs = b((a2, e) => {
19255
- let t = Ar(a2, e);
19256
+ var Ys = b((a2, e) => {
19257
+ let t = Rr(a2, e);
19256
19258
  if (t) {
19257
19259
  if (t.type !== "audio") {
19258
- y.w("Please pass audio track here");
19260
+ k.w("Please pass audio track here");
19259
19261
  return;
19260
19262
  }
19261
19263
  return t.volume;
19262
19264
  }
19263
19265
  });
19264
- var vm = b((a2, e) => {
19265
- let t = J(a2, e);
19266
- return zs(t == null ? void 0 : t.audioTrack)(a2);
19267
- });
19268
19266
  var Mm = b((a2, e) => {
19269
- let t = Js(e)(a2);
19270
- return zs(t == null ? void 0 : t.id)(a2);
19267
+ let t = J(a2, e);
19268
+ return Ys(t == null ? void 0 : t.audioTrack)(a2);
19271
19269
  });
19272
19270
  var ym = b((a2, e) => {
19273
- let t = Ar(a2, e);
19271
+ let t = Qs(e)(a2);
19272
+ return Ys(t == null ? void 0 : t.id)(a2);
19273
+ });
19274
+ var km = b((a2, e) => {
19275
+ let t = Rr(a2, e);
19274
19276
  if (t) {
19275
19277
  if (t.type !== "video") {
19276
- y.w("Please pass video track here");
19278
+ k.w("Please pass video track here");
19277
19279
  return;
19278
19280
  }
19279
19281
  return t.layer;
19280
19282
  }
19281
19283
  });
19282
- var Ys = createSelector([at, ue, br], (a2, e, t) => {
19284
+ var Xs = createSelector([at, ue, Ir], (a2, e, t) => {
19283
19285
  if (t)
19284
19286
  return a2.filter((i) => {
19285
19287
  var r;
19286
19288
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
19287
19289
  });
19288
19290
  });
19289
- var Xs = createSelector([at, Ws], (a2, e) => {
19291
+ var Zs = createSelector([at, Ks], (a2, e) => {
19290
19292
  if (e)
19291
19293
  return a2.filter((t) => {
19292
19294
  var i, r;
19293
19295
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
19294
19296
  });
19295
19297
  });
19296
- var vo = createSelector(at, (a2) => a2.filter((e) => {
19298
+ var Mo = createSelector(at, (a2) => a2.filter((e) => {
19297
19299
  var t;
19298
19300
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
19299
19301
  }));
19300
- var Mo = createSelector([Xs, Ws], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19301
- var yo = createSelector([Ys, br], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19302
- var km = createSelector(vo, (a2) => a2.filter((e) => !e.read).length);
19303
- var Pm = b(Ys);
19302
+ var yo = createSelector([Zs, Ks], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19303
+ var ko = createSelector([Xs, Ir], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19304
+ var Pm = createSelector(Mo, (a2) => a2.filter((e) => !e.read).length);
19304
19305
  var Em = b(Xs);
19305
- var bm = b(Mo);
19306
+ var bm = b(Zs);
19306
19307
  var Am = b(yo);
19307
- var Zs = b(So);
19308
- var xm = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
19308
+ var Im = b(ko);
19309
+ var ea = b(go);
19310
+ var Um = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19309
19311
  var r;
19310
19312
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
19311
19313
  }));
19312
- var ko = (a2) => a2.roleChangeRequests[0] || null;
19313
- var Um = createSelector([ko, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19314
- var Vm = createSelector([$t], (a2) => st(a2));
19315
- var Bm = createSelector([Xr], (a2) => st(a2));
19316
- var Eo = createSelector([K, w], (a2, e) => {
19314
+ var Po = (a2) => a2.roleChangeRequests[0] || null;
19315
+ var Bm = createSelector([Po, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19316
+ var Vm = createSelector([Wt], (a2) => st(a2));
19317
+ var Fm = createSelector([Zr], (a2) => st(a2));
19318
+ var bo = createSelector([K, D], (a2, e) => {
19317
19319
  let t = null;
19318
19320
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19319
19321
  });
19320
- var bo = createSelector([Z, w], (a2, e) => {
19322
+ var Ao = createSelector([Z, D], (a2, e) => {
19321
19323
  let t = null;
19322
19324
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19323
19325
  });
19324
- var Lr = class {
19326
+ var wr = class {
19325
19327
  constructor() {
19326
19328
  this.TAG = "[HTTPAnalyticsTransport]";
19327
19329
  this.failedEvents = new ne("client-events");
@@ -19340,7 +19342,7 @@ var Lr = class {
19340
19342
  this.addEventToStorage(e);
19341
19343
  return;
19342
19344
  }
19343
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Os : xs;
19345
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? xs : Us;
19344
19346
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
19345
19347
  if (r.status === 401) {
19346
19348
  this.removeFromStorage(e);
@@ -19366,66 +19368,66 @@ var Lr = class {
19366
19368
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
19367
19369
  }
19368
19370
  };
19369
- var Te = new Lr();
19371
+ var Te = new wr();
19370
19372
  var $ = ((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))($ || {});
19371
- var xi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(xi || {});
19372
- var Ki = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ki || {});
19373
- var Ko = (a2) => a2.localPeer.id;
19374
- var qo = (a2) => a2.localPeer.audioTrack;
19375
- var jo = (a2) => a2.localPeer.videoTrack;
19376
- var Jo = (a2, e) => e;
19377
- var ga = (a2, e) => e;
19378
- var Qo = (a2) => a2.remoteTrackStats;
19379
- var Ta = (a2) => a2.peerStats;
19380
- var xr = (a2) => a2.localTrackStats;
19381
- var ve = createSelector([Ta, Ko], (a2, e) => a2[e]);
19382
- var zo = createSelector(ve, (a2) => {
19373
+ var Ui = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Ui || {});
19374
+ var ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ji || {});
19375
+ var qo = (a2) => a2.localPeer.id;
19376
+ var jo = (a2) => a2.localPeer.audioTrack;
19377
+ var Jo = (a2) => a2.localPeer.videoTrack;
19378
+ var Qo = (a2, e) => e;
19379
+ var Ta = (a2, e) => e;
19380
+ var zo = (a2) => a2.remoteTrackStats;
19381
+ var fa = (a2) => a2.peerStats;
19382
+ var Ur = (a2) => a2.localTrackStats;
19383
+ var ve = createSelector([fa, qo], (a2, e) => a2[e]);
19384
+ var Yo = createSelector(ve, (a2) => {
19383
19385
  var e;
19384
19386
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
19385
19387
  });
19386
- var Yo = createSelector(ve, (a2) => {
19388
+ var Xo = createSelector(ve, (a2) => {
19387
19389
  var e;
19388
19390
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
19389
19391
  });
19390
- var Xo = createSelector(ve, (a2) => {
19392
+ var Zo = createSelector(ve, (a2) => {
19391
19393
  var e;
19392
19394
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
19393
19395
  });
19394
- var Zo = createSelector(ve, (a2) => {
19396
+ var en = createSelector(ve, (a2) => {
19395
19397
  var e;
19396
19398
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
19397
19399
  });
19398
- var en = createSelector(ve, (a2) => {
19400
+ var tn = createSelector(ve, (a2) => {
19399
19401
  var e;
19400
19402
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
19401
19403
  });
19402
- var tn = createSelector(ve, (a2) => {
19404
+ var rn = createSelector(ve, (a2) => {
19403
19405
  var e;
19404
19406
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
19405
19407
  });
19406
- var rn = createSelector(ve, (a2) => {
19408
+ var sn = createSelector(ve, (a2) => {
19407
19409
  var e;
19408
19410
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
19409
19411
  });
19410
- var sn = createSelector(ve, (a2) => {
19412
+ var an = createSelector(ve, (a2) => {
19411
19413
  var e;
19412
19414
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
19413
19415
  });
19414
- var an = createSelector([Ta, Jo], (a2, e) => e ? a2[e] : void 0);
19415
- var on = createSelector([Qo, ga], (a2, e) => e ? a2[e] : void 0);
19416
- var Ur = createSelector([xr, ga], (a2, e) => e ? a2[e] : void 0);
19417
- var nn = b(an);
19416
+ var on = createSelector([fa, Qo], (a2, e) => e ? a2[e] : void 0);
19417
+ var nn = createSelector([zo, Ta], (a2, e) => e ? a2[e] : void 0);
19418
+ var Br = createSelector([Ur, Ta], (a2, e) => e ? a2[e] : void 0);
19418
19419
  var cn = b(on);
19419
- var dn = createSelector([xr, qo], (a2, e) => {
19420
+ var dn = b(nn);
19421
+ var ln = createSelector([Ur, jo], (a2, e) => {
19420
19422
  var t;
19421
19423
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19422
19424
  });
19423
- var ln = b(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
19424
- var un = createSelector([xr, jo], (a2, e) => {
19425
+ var un = b(createSelector(Br, (a2) => a2 == null ? void 0 : a2[0]));
19426
+ var pn = createSelector([Ur, Jo], (a2, e) => {
19425
19427
  var t;
19426
19428
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19427
19429
  });
19428
- var pn = b(createSelector(Ur, (a2) => a2));
19430
+ var hn = b(createSelector(Br, (a2) => a2));
19429
19431
 
19430
19432
  // src/Prebuilt/components/Header/StreamActions.tsx
19431
19433
  import {
@@ -19695,7 +19697,7 @@ var RecordingStatus = () => {
19695
19697
  };
19696
19698
  var RecordingPauseStatus = () => {
19697
19699
  const recording = useHMSStore25(selectRecordingState);
19698
- if (recording.hls && recording.hls.state === Is.PAUSED) {
19700
+ if (recording.hls && recording.hls.state === Rs.PAUSED) {
19699
19701
  return /* @__PURE__ */ React54.createElement(
19700
19702
  Tooltip,
19701
19703
  {
@@ -21093,7 +21095,7 @@ var MuteUnmuteOption = ({ roleName, peerList }) => {
21093
21095
  console.error(e);
21094
21096
  }
21095
21097
  });
21096
- return /* @__PURE__ */ React72.createElement(React72.Fragment, null, ((_a8 = role.publishParams.allowed) == null ? void 0 : _a8.includes("audio")) && /* @__PURE__ */ React72.createElement(React72.Fragment, null, allPeersHaveAudioOn && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio")) : null, !allPeersHaveAudioOn && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Unmute Audio")) : null), ((_b7 = role.publishParams.allowed) == null ? void 0 : _b7.includes("audio")) && /* @__PURE__ */ React72.createElement(React72.Fragment, null, allPeersHaveVideoOn && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video")) : null, !allPeersHaveVideoOn && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Unmute Video")) : null));
21098
+ return /* @__PURE__ */ React72.createElement(React72.Fragment, null, ((_a8 = role.publishParams.allowed) == null ? void 0 : _a8.includes("audio")) && /* @__PURE__ */ React72.createElement(React72.Fragment, null, allPeersHaveAudioOn && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All")) : null, !allPeersHaveAudioOn && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Unmute Audio for All")) : null), ((_b7 = role.publishParams.allowed) == null ? void 0 : _b7.includes("audio")) && /* @__PURE__ */ React72.createElement(React72.Fragment, null, allPeersHaveVideoOn && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All")) : null, !allPeersHaveVideoOn && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Unmute Video for All")) : null));
21097
21099
  };
21098
21100
  var RoleOptions = ({ roleName, peerList }) => {
21099
21101
  const [openOptions, setOpenOptions] = useState31(false);
@@ -24954,7 +24956,7 @@ var Chat = () => {
24954
24956
  const listRef = useRef21(null);
24955
24957
  const hmsActions = useHMSActions38();
24956
24958
  const vanillaStore = useHMSVanillaStore11();
24957
- const { enabled: isChatEnabled = true } = useHMSStore57(Zh("chatState" /* CHAT_STATE */)) || {};
24959
+ const { enabled: isChatEnabled = true } = useHMSStore57(em("chatState" /* CHAT_STATE */)) || {};
24958
24960
  const isMobile = useMedia17(config.media.md);
24959
24961
  const scrollToBottom = useCallback29(
24960
24962
  (unreadCount = 0) => {
@@ -24993,7 +24995,7 @@ var NewMessageIndicator = ({
24993
24995
  scrollToBottom,
24994
24996
  listRef
24995
24997
  }) => {
24996
- const unreadCount = useHMSStore57(Fn);
24998
+ const unreadCount = useHMSStore57(Gn);
24997
24999
  if (!unreadCount || !listRef.current) {
24998
25000
  return null;
24999
25001
  }
@@ -26071,7 +26073,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
26071
26073
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
26072
26074
  const hmsActions = useHMSActions41();
26073
26075
  const localPeer = useHMSStore65(selectLocalPeer6);
26074
- const role = useHMSStore65($t);
26076
+ const role = useHMSStore65(Wt);
26075
26077
  const isVideoOn = useHMSStore65(selectIsLocalVideoEnabled5);
26076
26078
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
26077
26079
  const trackSelector = selectVideoTrackByID4(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -26079,10 +26081,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
26079
26081
  const [blurAmount, setBlurAmount] = useState53(VBHandler.getBlurAmount() || 0.5);
26080
26082
  const roomState = useHMSStore65(selectRoomState4);
26081
26083
  const isLargeRoom = useHMSStore65(selectIsLargeRoom3);
26082
- const isEffectsEnabled = useHMSStore65(Xn);
26083
- const effectsKey = useHMSStore65(Zn);
26084
+ const isEffectsEnabled = useHMSStore65(Zn);
26085
+ const effectsKey = useHMSStore65(ec);
26084
26086
  const isPluginAdded = useHMSStore65(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
26085
- const background = useHMSStore65(Xh(APP_DATA.background));
26087
+ const background = useHMSStore65(Zh(APP_DATA.background));
26086
26088
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
26087
26089
  const inPreview = roomState === HMSRoomState4.Preview;
26088
26090
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -27306,7 +27308,7 @@ var useRoleProminencePeers = (prominentRoles, peers, isInsetEnabled) => {
27306
27308
  }
27307
27309
  return acc;
27308
27310
  }
27309
- if (peer.isLocal && isInsetEnabled) {
27311
+ if (peer.isLocal && isInsetEnabled && !(prominentRoles == null ? void 0 : prominentRoles.includes(peer.roleName || ""))) {
27310
27312
  return acc;
27311
27313
  }
27312
27314
  if (prominentRoles == null ? void 0 : prominentRoles.includes(peer.roleName || "")) {
@@ -27374,7 +27376,7 @@ function RoleProminence({
27374
27376
  edgeToEdge,
27375
27377
  hasSidebar: layoutMode === LayoutMode.SIDEBAR
27376
27378
  }
27377
- ), isInsetEnabled && localPeer && !prominentPeers.includes(localPeer) && /* @__PURE__ */ React141.createElement(InsetTile, null));
27379
+ ), isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && /* @__PURE__ */ React141.createElement(InsetTile, null));
27378
27380
  }
27379
27381
 
27380
27382
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
@@ -28124,7 +28126,7 @@ var useCloseScreenshareWhiteboard = () => {
28124
28126
  };
28125
28127
 
28126
28128
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28127
- var HLSView = React151.lazy(() => import("./HLSView-37B2YVTC.js"));
28129
+ var HLSView = React151.lazy(() => import("./HLSView-CEPQ23TO.js"));
28128
28130
  var VideoStreamingSection = ({
28129
28131
  screenType,
28130
28132
  elements,
@@ -29653,7 +29655,7 @@ function Notifications() {
29653
29655
  }, []);
29654
29656
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
29655
29657
  useEffect65(() => {
29656
- var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o, _p;
29658
+ var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
29657
29659
  if (!notification || isNotificationDisabled) {
29658
29660
  return;
29659
29661
  }
@@ -29694,7 +29696,7 @@ function Notifications() {
29694
29696
  });
29695
29697
  break;
29696
29698
  case HMSNotificationTypes10.ROLE_UPDATED: {
29697
- if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
29699
+ if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n = notification.data) == null ? void 0 : _n.roleName)) {
29698
29700
  ToastManager.addToast({
29699
29701
  title: `You are now a ${notification.data.roleName}`
29700
29702
  });
@@ -30397,4 +30399,4 @@ lodash/lodash.js:
30397
30399
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30398
30400
  *)
30399
30401
  */
30400
- //# sourceMappingURL=chunk-72B32WVR.js.map
30402
+ //# sourceMappingURL=chunk-2Y4FJB25.js.map