@100mslive/roomkit-react 0.3.20-alpha.1 → 0.3.20-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,8 +34,8 @@ var __objRest = (source, exclude) => {
34
34
  }
35
35
  return target;
36
36
  };
37
- var __esm = (fn2, res) => function __init() {
38
- return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
37
+ var __esm = (fn, res) => function __init() {
38
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
39
39
  };
40
40
  var __commonJS = (cb, mod) => function __require() {
41
41
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3e764cf4-0852-44cc-8d6b-ec251e8167bb", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3e764cf4-0852-44cc-8d6b-ec251e8167bb", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "596", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19422", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10849480265", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1772ffc7344d3a8d0c3548779e1d7e808e3715ad", 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: "13209cc8437baad838a6c24edfe49d8efb9c5e8a1bac553f44235e521bad3ab6", 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--1726232130341-0.5095083111479979:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726232130134-0.2594445703114332:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726232103302-0.32296022442255934:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726232103112-0.3059228289535558:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_04df4529-8c4d-42a2-a153-f71776aa122f", INVOCATION_ID: "fa7a92a76bff4b4bbed2775a54b17c8d", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "670", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 259", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "1772ffc7344d3a8d0c3548779e1d7e808e3715ad", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_3e764cf4-0852-44cc-8d6b-ec251e8167bb", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3e764cf4-0852-44cc-8d6b-ec251e8167bb", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3e764cf4-0852-44cc-8d6b-ec251e8167bb" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e0bdbab7-b112-42b5-98c4-6b7daa069b10", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.10-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.20-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e0bdbab7-b112-42b5-98c4-6b7daa069b10", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.20-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18990", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.20-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10916945557", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", 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: "9fab33a4baf3b773cc76975b6479e7ba586b4e20690fc892078f51876bb2b8d8", 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--1726641890325-0.27237376005150304:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641890123-0.4112577750257449:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641864483-0.6107801977411564:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1726641864302-0.6057361361633993:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8754bda5-14c7-4824-a02e-12e1ca0902dc", INVOCATION_ID: "ba1abf96d96d49439c675220f67e7172", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "672", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 40", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.20-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e0bdbab7-b112-42b5-98c4-6b7daa069b10", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e0bdbab7-b112-42b5-98c4-6b7daa069b10", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e0bdbab7-b112-42b5-98c4-6b7daa069b10" };
111
111
  }
112
112
  });
113
113
 
@@ -2286,8 +2286,8 @@ var require_lodash = __commonJS({
2286
2286
  function createBind(func, bitmask, thisArg) {
2287
2287
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2288
2288
  function wrapper() {
2289
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2290
- return fn2.apply(isBind ? thisArg : this, arguments);
2289
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2290
+ return fn.apply(isBind ? thisArg : this, arguments);
2291
2291
  }
2292
2292
  return wrapper;
2293
2293
  }
@@ -2353,8 +2353,8 @@ var require_lodash = __commonJS({
2353
2353
  arity - length
2354
2354
  );
2355
2355
  }
2356
- var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2357
- return apply(fn2, this, args);
2356
+ var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2357
+ return apply(fn, this, args);
2358
2358
  }
2359
2359
  return wrapper;
2360
2360
  }
@@ -2442,7 +2442,7 @@ var require_lodash = __commonJS({
2442
2442
  arity - length
2443
2443
  );
2444
2444
  }
2445
- var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2445
+ var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2446
2446
  length = args.length;
2447
2447
  if (argPos) {
2448
2448
  args = reorder(args, argPos);
@@ -2453,9 +2453,9 @@ var require_lodash = __commonJS({
2453
2453
  args.length = ary2;
2454
2454
  }
2455
2455
  if (this && this !== root && this instanceof wrapper) {
2456
- fn2 = Ctor || createCtor(fn2);
2456
+ fn = Ctor || createCtor(fn);
2457
2457
  }
2458
- return fn2.apply(thisBinding, args);
2458
+ return fn.apply(thisBinding, args);
2459
2459
  }
2460
2460
  return wrapper;
2461
2461
  }
@@ -2512,14 +2512,14 @@ var require_lodash = __commonJS({
2512
2512
  function createPartial(func, bitmask, thisArg, partials) {
2513
2513
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2514
2514
  function wrapper() {
2515
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2515
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2516
2516
  while (++leftIndex < leftLength) {
2517
2517
  args[leftIndex] = partials[leftIndex];
2518
2518
  }
2519
2519
  while (argsLength--) {
2520
2520
  args[leftIndex++] = arguments[++argsIndex];
2521
2521
  }
2522
- return apply(fn2, isBind ? thisArg : this, args);
2522
+ return apply(fn, isBind ? thisArg : this, args);
2523
2523
  }
2524
2524
  return wrapper;
2525
2525
  }
@@ -5629,7 +5629,7 @@ var require_ua_parser = __commonJS({
5629
5629
  }
5630
5630
  };
5631
5631
  var rgxMapper = function(ua2, arrays) {
5632
- var i = 0, j2, k, p, q2, matches, match17;
5632
+ var i = 0, j2, k, p, q, matches, match17;
5633
5633
  while (i < arrays.length && !matches) {
5634
5634
  var regex = arrays[i], props = arrays[i + 1];
5635
5635
  j2 = k = 0;
@@ -5641,25 +5641,25 @@ var require_ua_parser = __commonJS({
5641
5641
  if (!!matches) {
5642
5642
  for (p = 0; p < props.length; p++) {
5643
5643
  match17 = matches[++k];
5644
- q2 = props[p];
5645
- if (typeof q2 === OBJ_TYPE && q2.length > 0) {
5646
- if (q2.length === 2) {
5647
- if (typeof q2[1] == FUNC_TYPE) {
5648
- this[q2[0]] = q2[1].call(this, match17);
5644
+ q = props[p];
5645
+ if (typeof q === OBJ_TYPE && q.length > 0) {
5646
+ if (q.length === 2) {
5647
+ if (typeof q[1] == FUNC_TYPE) {
5648
+ this[q[0]] = q[1].call(this, match17);
5649
5649
  } else {
5650
- this[q2[0]] = q2[1];
5650
+ this[q[0]] = q[1];
5651
5651
  }
5652
- } else if (q2.length === 3) {
5653
- if (typeof q2[1] === FUNC_TYPE && !(q2[1].exec && q2[1].test)) {
5654
- this[q2[0]] = match17 ? q2[1].call(this, match17, q2[2]) : undefined2;
5652
+ } else if (q.length === 3) {
5653
+ if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {
5654
+ this[q[0]] = match17 ? q[1].call(this, match17, q[2]) : undefined2;
5655
5655
  } else {
5656
- this[q2[0]] = match17 ? match17.replace(q2[1], q2[2]) : undefined2;
5656
+ this[q[0]] = match17 ? match17.replace(q[1], q[2]) : undefined2;
5657
5657
  }
5658
- } else if (q2.length === 4) {
5659
- this[q2[0]] = match17 ? q2[3].call(this, match17.replace(q2[1], q2[2])) : undefined2;
5658
+ } else if (q.length === 4) {
5659
+ this[q[0]] = match17 ? q[3].call(this, match17.replace(q[1], q[2])) : undefined2;
5660
5660
  }
5661
5661
  } else {
5662
- this[q2] = match17 ? match17 : undefined2;
5662
+ this[q] = match17 ? match17 : undefined2;
5663
5663
  }
5664
5664
  }
5665
5665
  }
@@ -8634,8 +8634,8 @@ var require_grammar = __commonJS({
8634
8634
  var require_parser = __commonJS({
8635
8635
  "../../node_modules/sdp-transform/lib/parser.js"(exports) {
8636
8636
  init_define_process_env();
8637
- var toIntIfInt = function(v2) {
8638
- return String(Number(v2)) === v2 ? Number(v2) : v2;
8637
+ var toIntIfInt = function(v) {
8638
+ return String(Number(v)) === v ? Number(v) : v;
8639
8639
  };
8640
8640
  var attachProperties = function(match17, location, names, rawName) {
8641
8641
  if (rawName && !names) {
@@ -8871,7 +8871,7 @@ var require_react_is_production_min = __commonJS({
8871
8871
  var c2 = b2 ? Symbol.for("react.element") : 60103;
8872
8872
  var d = b2 ? Symbol.for("react.portal") : 60106;
8873
8873
  var e = b2 ? Symbol.for("react.fragment") : 60107;
8874
- var f = b2 ? Symbol.for("react.strict_mode") : 60108;
8874
+ var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
8875
8875
  var g = b2 ? Symbol.for("react.profiler") : 60114;
8876
8876
  var h = b2 ? Symbol.for("react.provider") : 60109;
8877
8877
  var k = b2 ? Symbol.for("react.context") : 60110;
@@ -8879,14 +8879,14 @@ var require_react_is_production_min = __commonJS({
8879
8879
  var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
8880
8880
  var n = b2 ? Symbol.for("react.forward_ref") : 60112;
8881
8881
  var p = b2 ? Symbol.for("react.suspense") : 60113;
8882
- var q2 = b2 ? Symbol.for("react.suspense_list") : 60120;
8882
+ var q = b2 ? Symbol.for("react.suspense_list") : 60120;
8883
8883
  var r = b2 ? Symbol.for("react.memo") : 60115;
8884
8884
  var t = b2 ? Symbol.for("react.lazy") : 60116;
8885
- var v2 = b2 ? Symbol.for("react.block") : 60121;
8885
+ var v = b2 ? Symbol.for("react.block") : 60121;
8886
8886
  var w = b2 ? Symbol.for("react.fundamental") : 60117;
8887
8887
  var x = b2 ? Symbol.for("react.responder") : 60118;
8888
8888
  var y2 = b2 ? Symbol.for("react.scope") : 60119;
8889
- function z2(a2) {
8889
+ function z(a2) {
8890
8890
  if ("object" === typeof a2 && null !== a2) {
8891
8891
  var u = a2.$$typeof;
8892
8892
  switch (u) {
@@ -8896,7 +8896,7 @@ var require_react_is_production_min = __commonJS({
8896
8896
  case m2:
8897
8897
  case e:
8898
8898
  case g:
8899
- case f:
8899
+ case f2:
8900
8900
  case p:
8901
8901
  return a2;
8902
8902
  default:
@@ -8916,8 +8916,8 @@ var require_react_is_production_min = __commonJS({
8916
8916
  }
8917
8917
  }
8918
8918
  }
8919
- function A2(a2) {
8920
- return z2(a2) === m2;
8919
+ function A(a2) {
8920
+ return z(a2) === m2;
8921
8921
  }
8922
8922
  exports.AsyncMode = l2;
8923
8923
  exports.ConcurrentMode = m2;
@@ -8930,49 +8930,49 @@ var require_react_is_production_min = __commonJS({
8930
8930
  exports.Memo = r;
8931
8931
  exports.Portal = d;
8932
8932
  exports.Profiler = g;
8933
- exports.StrictMode = f;
8933
+ exports.StrictMode = f2;
8934
8934
  exports.Suspense = p;
8935
8935
  exports.isAsyncMode = function(a2) {
8936
- return A2(a2) || z2(a2) === l2;
8936
+ return A(a2) || z(a2) === l2;
8937
8937
  };
8938
- exports.isConcurrentMode = A2;
8938
+ exports.isConcurrentMode = A;
8939
8939
  exports.isContextConsumer = function(a2) {
8940
- return z2(a2) === k;
8940
+ return z(a2) === k;
8941
8941
  };
8942
8942
  exports.isContextProvider = function(a2) {
8943
- return z2(a2) === h;
8943
+ return z(a2) === h;
8944
8944
  };
8945
8945
  exports.isElement = function(a2) {
8946
8946
  return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
8947
8947
  };
8948
8948
  exports.isForwardRef = function(a2) {
8949
- return z2(a2) === n;
8949
+ return z(a2) === n;
8950
8950
  };
8951
8951
  exports.isFragment = function(a2) {
8952
- return z2(a2) === e;
8952
+ return z(a2) === e;
8953
8953
  };
8954
8954
  exports.isLazy = function(a2) {
8955
- return z2(a2) === t;
8955
+ return z(a2) === t;
8956
8956
  };
8957
8957
  exports.isMemo = function(a2) {
8958
- return z2(a2) === r;
8958
+ return z(a2) === r;
8959
8959
  };
8960
8960
  exports.isPortal = function(a2) {
8961
- return z2(a2) === d;
8961
+ return z(a2) === d;
8962
8962
  };
8963
8963
  exports.isProfiler = function(a2) {
8964
- return z2(a2) === g;
8964
+ return z(a2) === g;
8965
8965
  };
8966
8966
  exports.isStrictMode = function(a2) {
8967
- return z2(a2) === f;
8967
+ return z(a2) === f2;
8968
8968
  };
8969
8969
  exports.isSuspense = function(a2) {
8970
- return z2(a2) === p;
8970
+ return z(a2) === p;
8971
8971
  };
8972
8972
  exports.isValidElementType = function(a2) {
8973
- return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f || a2 === p || a2 === q2 || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v2);
8973
+ return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
8974
8974
  };
8975
- exports.typeOf = z2;
8975
+ exports.typeOf = z;
8976
8976
  }
8977
8977
  });
8978
8978
 
@@ -9359,7 +9359,7 @@ var require_factoryWithTypeCheckers = __commonJS({
9359
9359
  shape: createShapeTypeChecker,
9360
9360
  exact: createStrictShapeTypeChecker
9361
9361
  };
9362
- function is(x, y2) {
9362
+ function is2(x, y2) {
9363
9363
  if (x === y2) {
9364
9364
  return x !== 0 || 1 / x === 1 / y2;
9365
9365
  } else {
@@ -9502,7 +9502,7 @@ var require_factoryWithTypeCheckers = __commonJS({
9502
9502
  function validate(props, propName, componentName, location, propFullName) {
9503
9503
  var propValue = props[propName];
9504
9504
  for (var i = 0; i < expectedValues.length; i++) {
9505
- if (is(propValue, expectedValues[i])) {
9505
+ if (is2(propValue, expectedValues[i])) {
9506
9506
  return null;
9507
9507
  }
9508
9508
  }
@@ -12010,8 +12010,8 @@ function useBorderAudioLevel(audioTrackId) {
12010
12010
  });
12011
12011
  return ref;
12012
12012
  }
12013
- var sigmoid = (z2) => {
12014
- return 1 / (1 + Math.exp(-z2));
12013
+ var sigmoid = (z) => {
12014
+ return 1 / (1 + Math.exp(-z));
12015
12015
  };
12016
12016
 
12017
12017
  // src/AudioLevel/AudioLevel.tsx
@@ -13983,6 +13983,15 @@ var VBPlugin = class {
13983
13983
  this.effectsPlugin = void 0;
13984
13984
  this.hmsPlugin = void 0;
13985
13985
  };
13986
+ this.isBlurSupported = () => {
13987
+ if ((isSafari || isIOS) && this.hmsPlugin) {
13988
+ return false;
13989
+ }
13990
+ if (this.effectsPlugin) {
13991
+ return true;
13992
+ }
13993
+ return false;
13994
+ };
13986
13995
  this.isEffectsSupported = () => {
13987
13996
  var _a7, _b7;
13988
13997
  if (!isSafari) {
@@ -19507,7 +19516,7 @@ function shimGetUserMedia(window2, browserDetails) {
19507
19516
  if (typeof c2 !== "object" || c2.mandatory || c2.optional) {
19508
19517
  return c2;
19509
19518
  }
19510
- const cc = {};
19519
+ const cc2 = {};
19511
19520
  Object.keys(c2).forEach((key) => {
19512
19521
  if (key === "require" || key === "advanced" || key === "mediaSource") {
19513
19522
  return;
@@ -19523,35 +19532,35 @@ function shimGetUserMedia(window2, browserDetails) {
19523
19532
  return name === "deviceId" ? "sourceId" : name;
19524
19533
  };
19525
19534
  if (r.ideal !== void 0) {
19526
- cc.optional = cc.optional || [];
19535
+ cc2.optional = cc2.optional || [];
19527
19536
  let oc = {};
19528
19537
  if (typeof r.ideal === "number") {
19529
19538
  oc[oldname_("min", key)] = r.ideal;
19530
- cc.optional.push(oc);
19539
+ cc2.optional.push(oc);
19531
19540
  oc = {};
19532
19541
  oc[oldname_("max", key)] = r.ideal;
19533
- cc.optional.push(oc);
19542
+ cc2.optional.push(oc);
19534
19543
  } else {
19535
19544
  oc[oldname_("", key)] = r.ideal;
19536
- cc.optional.push(oc);
19545
+ cc2.optional.push(oc);
19537
19546
  }
19538
19547
  }
19539
19548
  if (r.exact !== void 0 && typeof r.exact !== "number") {
19540
- cc.mandatory = cc.mandatory || {};
19541
- cc.mandatory[oldname_("", key)] = r.exact;
19549
+ cc2.mandatory = cc2.mandatory || {};
19550
+ cc2.mandatory[oldname_("", key)] = r.exact;
19542
19551
  } else {
19543
19552
  ["min", "max"].forEach((mix) => {
19544
19553
  if (r[mix] !== void 0) {
19545
- cc.mandatory = cc.mandatory || {};
19546
- cc.mandatory[oldname_(mix, key)] = r[mix];
19554
+ cc2.mandatory = cc2.mandatory || {};
19555
+ cc2.mandatory[oldname_(mix, key)] = r[mix];
19547
19556
  }
19548
19557
  });
19549
19558
  }
19550
19559
  });
19551
19560
  if (c2.advanced) {
19552
- cc.optional = (cc.optional || []).concat(c2.advanced);
19561
+ cc2.optional = (cc2.optional || []).concat(c2.advanced);
19553
19562
  }
19554
- return cc;
19563
+ return cc2;
19555
19564
  };
19556
19565
  const shimConstraints_ = function(constraints, func) {
19557
19566
  if (browserDetails.version >= 61) {
@@ -19700,11 +19709,11 @@ function shimOnTrack(window2) {
19700
19709
  get() {
19701
19710
  return this._ontrack;
19702
19711
  },
19703
- set(f) {
19712
+ set(f2) {
19704
19713
  if (this._ontrack) {
19705
19714
  this.removeEventListener("track", this._ontrack);
19706
19715
  }
19707
- this.addEventListener("track", this._ontrack = f);
19716
+ this.addEventListener("track", this._ontrack = f2);
19708
19717
  },
19709
19718
  enumerable: true,
19710
19719
  configurable: true
@@ -20687,12 +20696,12 @@ function shimRemoteStreamsAPI(window2) {
20687
20696
  get() {
20688
20697
  return this._onaddstream;
20689
20698
  },
20690
- set(f) {
20699
+ set(f2) {
20691
20700
  if (this._onaddstream) {
20692
20701
  this.removeEventListener("addstream", this._onaddstream);
20693
20702
  this.removeEventListener("track", this._onaddstreampoly);
20694
20703
  }
20695
- this.addEventListener("addstream", this._onaddstream = f);
20704
+ this.addEventListener("addstream", this._onaddstream = f2);
20696
20705
  this.addEventListener("track", this._onaddstreampoly = (e) => {
20697
20706
  e.streams.forEach((stream) => {
20698
20707
  if (!this._remoteStreams) {
@@ -21367,39 +21376,39 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
21367
21376
  // ../hms-video-store/dist/index.js
21368
21377
  var import_lodash4 = __toESM(require_lodash2());
21369
21378
  import { v4 as Po } from "uuid";
21370
- import { v4 as Ao } from "uuid";
21379
+ import { v4 as Ro } from "uuid";
21371
21380
  import { v4 as wo } from "uuid";
21372
21381
  import { EventEmitter2 as Do } from "eventemitter2";
21373
21382
  var jt = __toESM(require_lib());
21374
21383
  import { EventEmitter2 as nn } from "eventemitter2";
21375
21384
  import { v4 as pn } from "uuid";
21376
21385
  import { EventEmitter2 as hn } from "eventemitter2";
21377
- import mn from "eventemitter2";
21378
- import { v4 as Sn } from "uuid";
21379
- import { v4 as fn } from "uuid";
21386
+ import Sn from "eventemitter2";
21387
+ import { v4 as gn } from "uuid";
21388
+ import { v4 as vn } from "uuid";
21380
21389
  var Xa = Object.defineProperty;
21381
21390
  var Za = Object.defineProperties;
21382
21391
  var eo = Object.getOwnPropertyDescriptors;
21383
21392
  var ti = Object.getOwnPropertySymbols;
21384
- var ns = Object.prototype.hasOwnProperty;
21385
- var cs = Object.prototype.propertyIsEnumerable;
21386
- var os = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21393
+ var os = Object.prototype.hasOwnProperty;
21394
+ var ns = Object.prototype.propertyIsEnumerable;
21395
+ var as = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21387
21396
  var m = (a2, e) => {
21388
21397
  for (var t in e || (e = {}))
21389
- ns.call(e, t) && os(a2, t, e[t]);
21398
+ os.call(e, t) && as(a2, t, e[t]);
21390
21399
  if (ti)
21391
21400
  for (var t of ti(e))
21392
- cs.call(e, t) && os(a2, t, e[t]);
21401
+ ns.call(e, t) && as(a2, t, e[t]);
21393
21402
  return a2;
21394
21403
  };
21395
- var M = (a2, e) => Za(a2, eo(e));
21404
+ var y = (a2, e) => Za(a2, eo(e));
21396
21405
  var gr = (a2, e) => {
21397
21406
  var t = {};
21398
21407
  for (var i in a2)
21399
- ns.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21408
+ os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21400
21409
  if (a2 != null && ti)
21401
21410
  for (var i of ti(a2))
21402
- e.indexOf(i) < 0 && cs.call(a2, i) && (t[i] = a2[i]);
21411
+ e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
21403
21412
  return t;
21404
21413
  };
21405
21414
  var ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
@@ -21419,14 +21428,14 @@ var c = (a2, e, t) => new Promise((i, r) => {
21419
21428
  }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21420
21429
  n((t = t.apply(a2, e)).next());
21421
21430
  });
21422
- var yr = ro((Dc, ho) => {
21423
- ho.exports = { version: "0.12.20-alpha.1", 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"] };
21431
+ var yr = ro((_c, ho) => {
21432
+ ho.exports = { version: "0.12.20-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21424
21433
  });
21425
21434
  var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
21426
21435
  var so = ((e) => (e.CHAT = "chat", e))(so || {});
21427
- var ds = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ds || {});
21436
+ var cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
21428
21437
  var fr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(fr || {});
21429
- var ls = ((t) => (t.audio = "audio", t.video = "video", t))(ls || {});
21438
+ var ds = ((t) => (t.audio = "audio", t.video = "video", t))(ds || {});
21430
21439
  function Ue(a2, e) {
21431
21440
  let t, i;
21432
21441
  if (e)
@@ -21451,7 +21460,7 @@ function si(a2) {
21451
21460
  function mt(a2) {
21452
21461
  return a2 && a2.source === "videoplaylist";
21453
21462
  }
21454
- function us(a2) {
21463
+ function ls(a2) {
21455
21464
  return a2 ? !!(a2 != null && a2.degraded) : false;
21456
21465
  }
21457
21466
  function je(a2, e) {
@@ -21462,7 +21471,7 @@ function St(a2) {
21462
21471
  let e = false, t = false, i = false;
21463
21472
  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 };
21464
21473
  }
21465
- var hs = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(hs || {});
21474
+ var ps = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ps || {});
21466
21475
  var oo = typeof window != "undefined" && typeof window.expect != "undefined";
21467
21476
  var l = class {
21468
21477
  static v(e, ...t) {
@@ -21532,17 +21541,17 @@ var l = class {
21532
21541
  l.level = oo ? 7 : 0;
21533
21542
  var he = new import_ua_parser_js.UAParser();
21534
21543
  var B = typeof window != "undefined";
21535
- var ms;
21536
- var Be = typeof window == "undefined" && !((ms = he.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
21544
+ var hs;
21545
+ var Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
21537
21546
  var co = () => !Be;
21538
- var nc = co();
21547
+ var cc = co();
21548
+ var ms;
21539
21549
  var Ss;
21550
+ var Ms = (Ss = (ms = he.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase().includes("safari");
21540
21551
  var gs;
21541
- var ys = (gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase().includes("safari");
21542
21552
  var Ts;
21543
- var fs;
21544
- var ks = ((fs = (Ts = he.getBrowser()) == null ? void 0 : Ts.name) == null ? void 0 : fs.toLowerCase()) === "firefox";
21545
- var Es = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Es || {});
21553
+ var ys = ((Ts = (gs = he.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
21554
+ var ks = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ks || {});
21546
21555
  function lo() {
21547
21556
  if (B && window) {
21548
21557
  let a2 = window.location.hostname;
@@ -21552,7 +21561,7 @@ function lo() {
21552
21561
  }
21553
21562
  var Qe = lo();
21554
21563
  var P4 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
21555
- var v = class a extends Error {
21564
+ var f = class a extends Error {
21556
21565
  constructor(t, i, r, s, o, n = false) {
21557
21566
  super(s);
21558
21567
  this.code = t;
@@ -21583,111 +21592,111 @@ var v = class a extends Error {
21583
21592
  };
21584
21593
  var uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21585
21594
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21586
- return new v(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21595
+ return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21587
21596
  }, WebSocketConnectionLost(a2, e = "") {
21588
- return new v(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21597
+ return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21589
21598
  }, AbnormalClose(a2, e = "") {
21590
- return new v(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21599
+ return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21591
21600
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21592
- return new v(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21601
+ return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21593
21602
  }, EndpointUnreachable(a2, e = "") {
21594
- return new v(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21603
+ return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21595
21604
  }, InvalidTokenFormat(a2, e = "") {
21596
- return new v(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21605
+ return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21597
21606
  }, InitConfigNotAvailable(a2, e = "") {
21598
- return new v(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21607
+ return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21599
21608
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21600
- return new v(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21609
+ return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21601
21610
  }, CantAccessCaptureDevice(a2, e, t = "") {
21602
- return new v(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21611
+ return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21603
21612
  }, DeviceNotAvailable(a2, e, t = "") {
21604
- return new v(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21613
+ return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21605
21614
  }, DeviceInUse(a2, e, t = "") {
21606
- return new v(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21615
+ return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21607
21616
  }, DeviceLostMidway(a2, e, t = "") {
21608
- return new v(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21617
+ return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21609
21618
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21610
- return new v(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21619
+ return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21611
21620
  }, InvalidVideoSettings(a2, e = "") {
21612
- return new v(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21621
+ return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21613
21622
  }, AutoplayBlocked(a2, e = "") {
21614
- return new v(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21623
+ return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21615
21624
  }, CodecChangeNotPermitted(a2, e = "") {
21616
- return new v(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21625
+ return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21617
21626
  }, OverConstrained(a2, e, t = "") {
21618
- return new v(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21627
+ return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21619
21628
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21620
- return new v(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21629
+ return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21621
21630
  }, SystemDeniedPermission(a2, e, t = "") {
21622
- return new v(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21631
+ return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21623
21632
  }, CurrentTabNotShared() {
21624
- return new v(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21633
+ return new f(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
21625
21634
  }, AudioPlaybackError(a2) {
21626
- return new v(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21635
+ return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21627
21636
  }, SelectedDeviceMissing(a2) {
21628
- return new v(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21637
+ return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21629
21638
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21630
- return new v(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21639
+ return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21631
21640
  }, CreateAnswerFailed(a2, e = "") {
21632
- return new v(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21641
+ return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21633
21642
  }, SetLocalDescriptionFailed(a2, e = "") {
21634
- return new v(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21643
+ return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21635
21644
  }, SetRemoteDescriptionFailed(a2, e = "") {
21636
- return new v(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21645
+ return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21637
21646
  }, ICEFailure(a2, e = "", t = false) {
21638
- return new v(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21647
+ return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21639
21648
  }, ICEDisconnected(a2, e = "") {
21640
- return new v(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21649
+ return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21641
21650
  }, StatsFailed(a2, e = "") {
21642
- return new v(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21651
+ return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21643
21652
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21644
- return new v(a2, "ServerErrors", e, t, t, uo.includes(e));
21653
+ return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
21645
21654
  }, AlreadyJoined(a2, e = "") {
21646
- return new v(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21655
+ return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21647
21656
  }, CannotJoinPreviewInProgress(a2, e = "") {
21648
- return new v(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21657
+ return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21649
21658
  } }, GenericErrors: { NotConnected(a2, e = "") {
21650
- return new v(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21659
+ return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21651
21660
  }, Signalling(a2, e) {
21652
- return new v(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21661
+ return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21653
21662
  }, Unknown(a2, e) {
21654
- return new v(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21663
+ return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21655
21664
  }, NotReady(a2, e = "") {
21656
- return new v(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21665
+ return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21657
21666
  }, JsonParsingFailed(a2, e, t = "") {
21658
- return new v(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21667
+ return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21659
21668
  }, TrackMetadataMissing(a2, e = "") {
21660
- return new v(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21669
+ return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21661
21670
  }, RTCTrackMissing(a2, e = "") {
21662
- return new v(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21671
+ return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21663
21672
  }, PeerMetadataMissing(a2, e = "") {
21664
- return new v(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21673
+ return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21665
21674
  }, ValidationFailed(a2, e) {
21666
- return new v(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21675
+ return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21667
21676
  }, InvalidRole(a2, e) {
21668
- return new v(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21677
+ return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21669
21678
  }, PreviewAlreadyInProgress(a2, e = "") {
21670
- return new v(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21679
+ return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21671
21680
  }, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
21672
- return new v(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21681
+ return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21673
21682
  }, MissingMediaDevices() {
21674
- return new v(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21683
+ return new f(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
21675
21684
  }, MissingRTCPeerConnection() {
21676
- return new v(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21685
+ return new f(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
21677
21686
  } }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
21678
- return new v(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21687
+ return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21679
21688
  }, InitFailed(a2, e = "") {
21680
- return new v(7002, "InitFailed", a2, "Plugin init failed", e);
21689
+ return new f(7002, "InitFailed", a2, "Plugin init failed", e);
21681
21690
  }, ProcessingFailed(a2, e = "") {
21682
- return new v(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
21691
+ return new f(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
21683
21692
  }, AddAlreadyInProgress(a2, e = "") {
21684
- return new v(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
21693
+ return new f(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
21685
21694
  }, DeviceNotSupported(a2, e = "") {
21686
- return new v(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21695
+ return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21687
21696
  } }, PlaylistErrors: { NoEntryToPlay(a2, e) {
21688
- return new v(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21697
+ return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21689
21698
  }, NoEntryPlaying(a2, e) {
21690
- return new v(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21699
+ return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21691
21700
  } } };
21692
21701
  var Mr = class {
21693
21702
  constructor() {
@@ -21714,7 +21723,7 @@ var Mr = class {
21714
21723
  return this.valuesMap.size;
21715
21724
  }
21716
21725
  };
21717
- var Ps = () => {
21726
+ var Es = () => {
21718
21727
  try {
21719
21728
  B && !localStorage && (window.localStorage = new Mr());
21720
21729
  } catch (a2) {
@@ -21728,7 +21737,7 @@ var me = class {
21728
21737
  }
21729
21738
  getStorage() {
21730
21739
  try {
21731
- return B && !this.storage && (Ps(), this.storage = window.localStorage), this.storage;
21740
+ return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
21732
21741
  } catch (e) {
21733
21742
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21734
21743
  }
@@ -21752,117 +21761,117 @@ var ai = () => {
21752
21761
  let a2, e = new me("hms-analytics-deviceId"), t = e.get();
21753
21762
  return t ? a2 = t : (a2 = po(), e.set(a2)), a2;
21754
21763
  };
21755
- function ne(a2) {
21764
+ function ce(a2) {
21756
21765
  return a2 != null;
21757
21766
  }
21758
21767
  var Is = yr().version;
21759
21768
  function vt(a2 = "prod", e) {
21760
21769
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21761
21770
  if (Be)
21762
- return Rs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21771
+ return As({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21763
21772
  let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr(`web_${r.name}`), d = r.version || "", u = kr(`${o.name}_${o.version}`), p = u;
21764
- return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), Rs({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21773
+ return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), As({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21765
21774
  }
21766
21775
  function kr(a2) {
21767
21776
  return a2.replace(/ /g, "_");
21768
21777
  }
21769
- var Rs = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21770
- var H = class {
21778
+ var As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21779
+ var C = class {
21771
21780
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21772
21781
  this.metadata = { peer: {}, userAgent: vt() };
21773
21782
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = mo(), this.device_id = ai();
21774
21783
  }
21775
21784
  toSignalParams() {
21776
- return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21785
+ return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21777
21786
  }
21778
21787
  };
21779
- var y = class {
21788
+ var E = class {
21780
21789
  static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
21781
- let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(M(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21782
- return new H({ name: o, level: n, properties: d });
21790
+ let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(y(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
21791
+ return new C({ name: o, level: n, properties: d });
21783
21792
  }
21784
21793
  static disconnect(e, t) {
21785
21794
  let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
21786
- return new H({ name: i, level: r, properties: s });
21795
+ return new C({ name: i, level: r, properties: s });
21787
21796
  }
21788
21797
  static preview(i) {
21789
21798
  var r = i, { error: e } = r, t = gr(r, ["error"]);
21790
21799
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21791
- return new H({ name: s, level: o, properties: n });
21800
+ return new C({ name: s, level: o, properties: n });
21792
21801
  }
21793
21802
  static join(i) {
21794
21803
  var r = i, { error: e } = r, t = gr(r, ["error"]);
21795
- let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21796
- return new H({ name: s, level: o, properties: n });
21804
+ let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21805
+ return new C({ name: s, level: o, properties: n });
21797
21806
  }
21798
21807
  static publish({ devices: e, settings: t, error: i }) {
21799
21808
  let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
21800
- return new H({ name: r, level: s, properties: o });
21809
+ return new C({ name: r, level: s, properties: o });
21801
21810
  }
21802
21811
  static hlsPlayerError(e) {
21803
- return new H({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
21812
+ return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
21804
21813
  }
21805
21814
  static subscribeFail(e) {
21806
21815
  let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
21807
- return new H({ name: t, level: i, properties: r });
21816
+ return new C({ name: t, level: i, properties: r });
21808
21817
  }
21809
21818
  static leave() {
21810
- return new H({ name: "leave", level: 1 });
21819
+ return new C({ name: "leave", level: 1 });
21811
21820
  }
21812
21821
  static autoplayError() {
21813
- return new H({ name: "autoplayError", level: 2 });
21822
+ return new C({ name: "autoplayError", level: 2 });
21814
21823
  }
21815
21824
  static audioPlaybackError(e) {
21816
- return new H({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21825
+ return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
21817
21826
  }
21818
21827
  static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
21819
21828
  let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
21820
- return new H({ name: o, level: n, properties: d });
21829
+ return new C({ name: o, level: n, properties: d });
21821
21830
  }
21822
21831
  static performance(e) {
21823
21832
  let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
21824
- return new H({ name: t, level: i, properties: r });
21833
+ return new C({ name: t, level: i, properties: r });
21825
21834
  }
21826
21835
  static rtcStats(e) {
21827
21836
  let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
21828
- return new H({ name: t, level: i, properties: r });
21837
+ return new C({ name: t, level: i, properties: r });
21829
21838
  }
21830
21839
  static rtcStatsFailed(e) {
21831
21840
  let t = "rtc.stats.failed", i = 2;
21832
- return new H({ name: t, level: i, properties: this.getErrorProperties(e) });
21841
+ return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
21833
21842
  }
21834
21843
  static degradationStats(e, t) {
21835
21844
  let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
21836
21845
  if (!t && e.degradedAt instanceof Date) {
21837
21846
  let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
21838
- s = M(m({}, s), { duration: n, restoredAt: o });
21847
+ s = y(m({}, s), { duration: n, restoredAt: o });
21839
21848
  }
21840
- return new H({ name: i, level: r, properties: s });
21849
+ return new C({ name: i, level: r, properties: s });
21841
21850
  }
21842
21851
  static audioDetectionFail(e, t) {
21843
21852
  let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
21844
- return new H({ name: s, level: r, properties: i });
21853
+ return new C({ name: s, level: r, properties: i });
21845
21854
  }
21846
21855
  static previewNetworkQuality(e) {
21847
- return new H({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
21856
+ return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
21848
21857
  }
21849
21858
  static publishStats(e) {
21850
- return new H({ name: "publisher.stats", level: 1, properties: e });
21859
+ return new C({ name: "publisher.stats", level: 1, properties: e });
21851
21860
  }
21852
21861
  static subscribeStats(e) {
21853
- return new H({ name: "subscriber.stats", level: 1, properties: e });
21862
+ return new C({ name: "subscriber.stats", level: 1, properties: e });
21854
21863
  }
21855
21864
  static getKrispUsage(e) {
21856
- return new H({ name: "krisp.usage", level: 1, properties: { duration: e } });
21865
+ return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
21857
21866
  }
21858
21867
  static krispStart() {
21859
- return new H({ name: "krisp.start", level: 1 });
21868
+ return new C({ name: "krisp.start", level: 1 });
21860
21869
  }
21861
21870
  static krispStop() {
21862
- return new H({ name: "krisp.stop", level: 1 });
21871
+ return new C({ name: "krisp.stop", level: 1 });
21863
21872
  }
21864
21873
  static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
21865
- return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
21874
+ return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
21866
21875
  }
21867
21876
  static eventNameFor(e, t) {
21868
21877
  return `${e}.${t ? "success" : "failed"}`;
@@ -21872,10 +21881,10 @@ var y = class {
21872
21881
  return e = m(m({}, i), e), e;
21873
21882
  }
21874
21883
  static getErrorProperties(e) {
21875
- return e ? e instanceof v ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21884
+ return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
21876
21885
  }
21877
21886
  };
21878
- y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21887
+ E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
21879
21888
  var Er = class {
21880
21889
  constructor() {
21881
21890
  this.storage = new me("hms-device-selection");
@@ -21910,7 +21919,7 @@ var Er = class {
21910
21919
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21911
21920
  }
21912
21921
  };
21913
- var J = new Er();
21922
+ var Y = new Er();
21914
21923
  var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21915
21924
  var br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
21916
21925
  function ci(a2, e = 300) {
@@ -21923,7 +21932,7 @@ function ci(a2, e = 300) {
21923
21932
  }, e);
21924
21933
  };
21925
21934
  }
21926
- var Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21935
+ var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
21927
21936
  var Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
21928
21937
  var ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
21929
21938
  var Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
@@ -21997,32 +22006,32 @@ var rt = class {
21997
22006
  rt.makePeerId = () => wo();
21998
22007
  var V = (a2) => a2.room;
21999
22008
  var _o = (a2) => a2.errors;
22000
- var Xh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
22001
- var Zh = createSelector(V, (a2) => a2.id);
22002
- var K = (a2) => a2.peers;
22009
+ var Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
22010
+ var em = createSelector(V, (a2) => a2.id);
22011
+ var j = (a2) => a2.peers;
22003
22012
  var Mi = (a2) => a2.messages.byID;
22004
22013
  var ea = (a2) => a2.messages.allIDs;
22005
22014
  var O = (a2) => a2.tracks;
22006
22015
  var Gr = (a2) => a2.appData;
22007
22016
  var No = (a2) => a2.speakers;
22008
22017
  var Oe = createSelector([V], (a2) => a2 && a2.isConnected);
22009
- var im = createSelector([Oe, 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));
22018
+ var rm = createSelector([Oe, 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));
22010
22019
  var Oo = (a2) => a2.hideLocalPeer;
22011
- var fe = createSelector([V, K, Oo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22020
+ var fe = createSelector([V, j, Oo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22012
22021
  var xo = createSelector(O, (a2) => Object.values(a2));
22013
- var ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
22022
+ var ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
22014
22023
  var Ee = createSelector(V, (a2) => a2.localPeer);
22015
- var rm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22016
- var sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22017
- var oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
22018
- var z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22024
+ var sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22025
+ var am = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22026
+ var ne = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
22027
+ var X = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22019
22028
  var Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22020
- var ia = createSelector([oe, z, Uo], (a2, e, t) => {
22029
+ var ia = createSelector([ne, X, Uo], (a2, e, t) => {
22021
22030
  let i = t ? [...t] : [];
22022
22031
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22023
22032
  });
22024
- var am = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
22025
- var om = createSelector(K, No, (a2, e) => {
22033
+ var om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
22034
+ var nm = createSelector(j, No, (a2, e) => {
22026
22035
  let t = Object.entries(e).sort((i, r) => {
22027
22036
  var n, d;
22028
22037
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -22039,7 +22048,7 @@ var $r = createSelector(ie, O, (a2, e) => {
22039
22048
  let { video: t, audio: i } = Ue(e, a2);
22040
22049
  return !!(t || i);
22041
22050
  });
22042
- var Bo = createSelector(K, O, (a2, e) => {
22051
+ var Bo = createSelector(j, O, (a2, e) => {
22043
22052
  let t;
22044
22053
  for (let i in a2) {
22045
22054
  let r = a2[i], { video: s, audio: o } = Ue(e, r);
@@ -22049,15 +22058,15 @@ var Bo = createSelector(K, O, (a2, e) => {
22049
22058
  }
22050
22059
  return t;
22051
22060
  });
22052
- var cm = createSelector(Bo, (a2) => !!a2);
22053
- var dm = createSelector(K, O, (a2, e) => {
22061
+ var dm = createSelector(Bo, (a2) => !!a2);
22062
+ var lm = createSelector(j, O, (a2, e) => {
22054
22063
  for (let t in a2) {
22055
22064
  let i = a2[t], { audio: r, video: s } = Ue(e, i);
22056
22065
  if (!s && r)
22057
22066
  return i;
22058
22067
  }
22059
22068
  });
22060
- var lm = createSelector(K, O, (a2, e) => {
22069
+ var um = createSelector(j, O, (a2, e) => {
22061
22070
  let t = [], i = [];
22062
22071
  for (let r in a2) {
22063
22072
  let s = a2[r], { video: o, audio: n } = Ue(e, s);
@@ -22065,65 +22074,65 @@ var lm = createSelector(K, O, (a2, e) => {
22065
22074
  }
22066
22075
  return t.concat(i);
22067
22076
  });
22068
- var um = createSelector(K, O, (a2, e) => {
22077
+ var pm = createSelector(j, O, (a2, e) => {
22069
22078
  for (let t in e) {
22070
22079
  let i = e[t];
22071
22080
  if (mt(i) && ht(i) && i.peerId)
22072
22081
  return a2[i.peerId];
22073
22082
  }
22074
22083
  });
22075
- var pm = createSelector(K, O, (a2, e) => {
22084
+ var hm = createSelector(j, O, (a2, e) => {
22076
22085
  for (let t in e) {
22077
22086
  let i = e[t];
22078
22087
  if (si(i) && i.peerId)
22079
22088
  return a2[i.peerId];
22080
22089
  }
22081
22090
  });
22082
- var hm = createSelector(xo, (a2) => a2.filter(us));
22083
- var mm = createSelector(ea, (a2) => a2.length);
22084
- var Sm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22085
- var At = createSelector(ea, Mi, (a2, e) => {
22091
+ var mm = createSelector(xo, (a2) => a2.filter(ls));
22092
+ var Sm = createSelector(ea, (a2) => a2.length);
22093
+ var gm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22094
+ var Rt = createSelector(ea, Mi, (a2, e) => {
22086
22095
  let t = [];
22087
22096
  return a2.forEach((i) => {
22088
22097
  t.push(e[i]);
22089
22098
  }), t;
22090
22099
  });
22091
- var Vo = createSelector(At, (a2) => a2.filter((e) => {
22100
+ var Vo = createSelector(Rt, (a2) => a2.filter((e) => {
22092
22101
  var t;
22093
22102
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22094
22103
  }));
22095
- var gm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
22104
+ var Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
22096
22105
  var re = createSelector([V], (a2) => a2 && a2.roomState);
22097
22106
  var sa = createSelector(re, (a2) => a2 === "Preview");
22098
- var Tm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22099
- var fm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22107
+ var fm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22108
+ var vm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22100
22109
  var ve = (a2) => a2.roles;
22101
- var vm = createSelector([ve], (a2) => Object.keys(a2));
22110
+ var Mm = createSelector([ve], (a2) => Object.keys(a2));
22102
22111
  var at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22103
22112
  var Fo = (a2) => {
22104
22113
  var e;
22105
22114
  return (e = a2.preview) == null ? void 0 : e.asRole;
22106
22115
  };
22107
22116
  var aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
22108
- var Mm = createSelector([at], (a2) => {
22117
+ var ym = createSelector([at], (a2) => {
22109
22118
  var e;
22110
22119
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22111
22120
  });
22112
22121
  var oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22113
- var ym = createSelector(V, (a2) => a2.recording);
22114
- var km = createSelector(V, (a2) => a2.rtmp);
22115
- var Em = createSelector(V, (a2) => a2.hls);
22116
- var Pm = createSelector(V, (a2) => a2.transcriptions);
22117
- var bm = createSelector(V, (a2) => a2.sessionId);
22118
- var Im = createSelector(V, (a2) => a2.startedAt);
22122
+ var km = createSelector(V, (a2) => a2.recording);
22123
+ var Em = createSelector(V, (a2) => a2.rtmp);
22124
+ var Pm = createSelector(V, (a2) => a2.hls);
22125
+ var bm = createSelector(V, (a2) => a2.transcriptions);
22126
+ var Im = createSelector(V, (a2) => a2.sessionId);
22127
+ var Am = createSelector(V, (a2) => a2.startedAt);
22119
22128
  var Rm = createSelector(V, (a2) => !!a2.isLargeRoom);
22120
- var Am = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22121
- var Hm = createSelector(V, (a2) => !!a2.isVBEnabled);
22122
- var Cm = createSelector(V, (a2) => a2.effectsKey);
22129
+ var Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22130
+ var Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
22131
+ var Lm = createSelector(V, (a2) => a2.effectsKey);
22123
22132
  var na = (a2) => a2.polls;
22124
- var _m = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
22133
+ var Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
22125
22134
  var Go = (a2) => a2.whiteboards;
22126
- var Nm = createSelector(Go, (a2) => Object.values(a2)[0]);
22135
+ var Om = createSelector(Go, (a2) => Object.values(a2)[0]);
22127
22136
  var da = (a2 = "audio") => (e) => e.playlist[a2].list;
22128
22137
  var Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22129
22138
  var la = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -22137,7 +22146,7 @@ var Sa = (a2 = "audio") => createSelector(da(a2), Kr(a2), (e, t) => {
22137
22146
  });
22138
22147
  var ga = { selection: Kr("audio"), progress: la("audio"), currentTime: ua("audio"), playbackRate: pa("audio"), volume: ha("audio"), list: ma("audio"), selectedItem: Sa("audio") };
22139
22148
  var Ta = { selection: Kr("video"), progress: la("video"), currentTime: ua("video"), playbackRate: pa("video"), volume: ha("video"), list: ma("video"), selectedItem: Sa("video") };
22140
- function A(a2) {
22149
+ function R(a2) {
22141
22150
  return (e) => (t) => a2(t, e);
22142
22151
  }
22143
22152
  var Ht = "HMS-Store:";
@@ -22212,7 +22221,7 @@ var Ct = (a2, e) => e;
22212
22221
  var fa = (a2, e) => e;
22213
22222
  var Wo = (a2, e) => e;
22214
22223
  var $o = (a2, e) => e;
22215
- var q = createSelector([K, qr], (a2, e) => e ? a2[e] : null);
22224
+ var J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
22216
22225
  var jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
22217
22226
  var Ko = createSelector([O, Ct], (a2, e) => {
22218
22227
  if (!e)
@@ -22239,100 +22248,100 @@ var Jo = createSelector([O, Ct], (a2, e) => {
22239
22248
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22240
22249
  });
22241
22250
  var Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
22242
- var Y = A(q);
22243
- var qm = A(createSelector([Gr, Wo], (a2, e) => {
22251
+ var Z = R(J);
22252
+ var jm = R(createSelector([Gr, Wo], (a2, e) => {
22244
22253
  if (a2)
22245
22254
  return e ? a2[e] : a2;
22246
22255
  }));
22247
- function jm(a2) {
22256
+ function Jm(a2) {
22248
22257
  return (e) => {
22249
22258
  if (e.sessionStore)
22250
22259
  return a2 ? e.sessionStore[a2] : e.sessionStore;
22251
22260
  };
22252
22261
  }
22253
- var Qm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22254
- var zm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22255
- var yi = A(jr);
22256
- var va = A(Ko);
22257
- var Ym = A(qo);
22258
- var Xm = A(jo);
22259
- var Zm = A(Jo);
22260
- var zo = A((a2, e) => {
22261
- let t = q(a2, e);
22262
+ var zm = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
22263
+ var Ym = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.type));
22264
+ var yi = R(jr);
22265
+ var va = R(Ko);
22266
+ var Xm = R(qo);
22267
+ var Zm = R(jo);
22268
+ var eS = R(Jo);
22269
+ var zo = R((a2, e) => {
22270
+ let t = J(a2, e);
22262
22271
  if (t && t.videoTrack && t.videoTrack !== "")
22263
22272
  return a2.tracks[t.videoTrack];
22264
22273
  });
22265
- var Yo = A((a2, e) => {
22266
- let t = q(a2, e);
22274
+ var Yo = R((a2, e) => {
22275
+ let t = J(a2, e);
22267
22276
  if (t && t.audioTrack && t.audioTrack !== "")
22268
22277
  return a2.tracks[t.audioTrack];
22269
22278
  });
22270
- var tS = A((a2, e) => {
22271
- let t = q(a2, e);
22279
+ var iS = R((a2, e) => {
22280
+ let t = J(a2, e);
22272
22281
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22273
22282
  });
22274
22283
  var Ma = (a2, e) => e ? a2.speakers[e] : null;
22275
- var iS = A(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22284
+ var rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22276
22285
  var Xo = (a2, e) => {
22277
22286
  let t = Yo(e)(a2);
22278
22287
  return Ma(a2, t == null ? void 0 : t.id);
22279
22288
  };
22280
- var rS = A(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22281
- var sS = A((a2, e) => {
22289
+ var sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22290
+ var aS = R((a2, e) => {
22282
22291
  if (e)
22283
22292
  return a2.connectionQualities[e];
22284
22293
  });
22285
- var aS = A((a2, e) => {
22286
- let t = q(a2, e);
22294
+ var oS = R((a2, e) => {
22295
+ let t = J(a2, e);
22287
22296
  if (t) {
22288
22297
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
22289
22298
  return i ? a2.tracks[i] : void 0;
22290
22299
  }
22291
22300
  });
22292
- var oS = A(createSelector(O, q, (a2, e) => {
22301
+ var nS = R(createSelector(O, J, (a2, e) => {
22293
22302
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22294
22303
  let r = a2[i];
22295
22304
  return mt(r) && ht(r);
22296
22305
  });
22297
22306
  return t ? a2[t] : void 0;
22298
22307
  }));
22299
- var nS = A(createSelector(O, q, (a2, e) => {
22308
+ var cS = R(createSelector(O, J, (a2, e) => {
22300
22309
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22301
22310
  let r = a2[i];
22302
22311
  return mt(r) && pt(r);
22303
22312
  });
22304
22313
  return t ? a2[t] : void 0;
22305
22314
  }));
22306
- var cS = A(createSelector(O, q, (a2, e) => {
22315
+ var dS = R(createSelector(O, J, (a2, e) => {
22307
22316
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22308
22317
  let r = a2[i];
22309
22318
  return si(r) && pt(r);
22310
22319
  });
22311
22320
  return t ? a2[t] : void 0;
22312
22321
  }));
22313
- var ya = A(createSelector(O, q, (a2, e) => Ue(a2, e)));
22322
+ var ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
22314
22323
  var ka = (a2) => createSelector(ya(a2), (e) => e.audio);
22315
- var lS = A((a2, e) => {
22316
- let t = q(a2, e);
22324
+ var uS = R((a2, e) => {
22325
+ let t = J(a2, e);
22317
22326
  return je(a2, t == null ? void 0 : t.audioTrack);
22318
22327
  });
22319
- var uS = A((a2, e) => {
22320
- let t = q(a2, e);
22328
+ var pS = R((a2, e) => {
22329
+ let t = J(a2, e);
22321
22330
  return je(a2, t == null ? void 0 : t.videoTrack);
22322
22331
  });
22323
- var Ea = A((a2, e) => {
22332
+ var Ea = R((a2, e) => {
22324
22333
  if (e && a2.tracks[e])
22325
22334
  return a2.tracks[e].volume === 0;
22326
22335
  });
22327
- var pS = A((a2, e) => {
22328
- let t = q(a2, e);
22336
+ var hS = R((a2, e) => {
22337
+ let t = J(a2, e);
22329
22338
  return Ea(t == null ? void 0 : t.audioTrack)(a2);
22330
22339
  });
22331
- var hS = A((a2, e) => {
22340
+ var mS = R((a2, e) => {
22332
22341
  let t = ka(e)(a2);
22333
22342
  return Ea(t == null ? void 0 : t.id)(a2);
22334
22343
  });
22335
- var Pa = A((a2, e) => {
22344
+ var Pa = R((a2, e) => {
22336
22345
  let t = jr(a2, e);
22337
22346
  if (t) {
22338
22347
  if (t.type !== "audio") {
@@ -22342,15 +22351,15 @@ var Pa = A((a2, e) => {
22342
22351
  return t.volume;
22343
22352
  }
22344
22353
  });
22345
- var mS = A((a2, e) => {
22346
- let t = q(a2, e);
22354
+ var SS = R((a2, e) => {
22355
+ let t = J(a2, e);
22347
22356
  return Pa(t == null ? void 0 : t.audioTrack)(a2);
22348
22357
  });
22349
- var SS = A((a2, e) => {
22358
+ var gS = R((a2, e) => {
22350
22359
  let t = ka(e)(a2);
22351
22360
  return Pa(t == null ? void 0 : t.id)(a2);
22352
22361
  });
22353
- var gS = A((a2, e) => {
22362
+ var TS = R((a2, e) => {
22354
22363
  let t = jr(a2, e);
22355
22364
  if (t) {
22356
22365
  if (t.type !== "video") {
@@ -22360,45 +22369,45 @@ var gS = A((a2, e) => {
22360
22369
  return t.layer;
22361
22370
  }
22362
22371
  });
22363
- var ba = createSelector([At, Ee, qr], (a2, e, t) => {
22372
+ var ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
22364
22373
  if (t)
22365
22374
  return a2.filter((i) => {
22366
22375
  var r;
22367
22376
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22368
22377
  });
22369
22378
  });
22370
- var Ia = createSelector([At, fa], (a2, e) => {
22379
+ var Ia = createSelector([Rt, fa], (a2, e) => {
22371
22380
  if (e)
22372
22381
  return a2.filter((t) => {
22373
22382
  var i, r;
22374
22383
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22375
22384
  });
22376
22385
  });
22377
- var Zo = createSelector(At, (a2) => a2.filter((e) => {
22386
+ var Zo = createSelector(Rt, (a2) => a2.filter((e) => {
22378
22387
  var t;
22379
22388
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22380
22389
  }));
22381
22390
  var en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22382
22391
  var tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22383
- var TS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
22384
- var fS = A(ba);
22385
- var vS = A(Ia);
22386
- var MS = A(en);
22387
- var yS = A(tn);
22388
- var Ra = A(Qo);
22389
- var DS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
22392
+ var fS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
22393
+ var vS = R(ba);
22394
+ var MS = R(Ia);
22395
+ var yS = R(en);
22396
+ var kS = R(tn);
22397
+ var Aa = R(Qo);
22398
+ var _S = createSelector([j, O], (a2, e) => Object.values(a2).map((i) => {
22390
22399
  var r;
22391
22400
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22392
22401
  }));
22393
22402
  var rn = (a2) => a2.roleChangeRequests[0] || null;
22394
- var _S = createSelector([rn, K, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22395
- var NS = createSelector([at], (a2) => St(a2));
22396
- var OS = createSelector([aa], (a2) => St(a2));
22397
- var an = createSelector([z, O], (a2, e) => {
22403
+ var NS = createSelector([rn, j, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22404
+ var OS = createSelector([at], (a2) => St(a2));
22405
+ var xS = createSelector([aa], (a2) => St(a2));
22406
+ var an = createSelector([X, O], (a2, e) => {
22398
22407
  let t = null;
22399
22408
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22400
22409
  });
22401
- var on = createSelector([oe, O], (a2, e) => {
22410
+ var on = createSelector([ne, O], (a2, e) => {
22402
22411
  let t = null;
22403
22412
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22404
22413
  });
@@ -22459,14 +22468,14 @@ var Vt = class {
22459
22468
  static sendFeedback(s) {
22460
22469
  return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
22461
22470
  l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
22462
- let o = new URL("v2/client/feedback", t), n = M(m({}, i), { payload: r });
22471
+ let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
22463
22472
  try {
22464
22473
  let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
22465
22474
  try {
22466
22475
  this.handleError(d);
22467
22476
  return;
22468
22477
  } catch (u) {
22469
- throw l.e(this.TAG, "error", u.message, d.status), u instanceof v ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
22478
+ throw l.e(this.TAG, "error", u.message, d.status), u instanceof f ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
22470
22479
  }
22471
22480
  } catch (d) {
22472
22481
  let u = d;
@@ -22476,65 +22485,65 @@ var Vt = class {
22476
22485
  }
22477
22486
  };
22478
22487
  Vt.TAG = "[FeedbackService]";
22479
- var j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22488
+ var Q = ((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))(Q || {});
22480
22489
  var sr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(sr || {});
22481
22490
  var lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
22482
- var An = (a2) => a2.localPeer.id;
22483
- var Hn = (a2) => a2.localPeer.audioTrack;
22484
- var Cn = (a2) => a2.localPeer.videoTrack;
22485
- var Ln = (a2, e) => e;
22491
+ var Hn = (a2) => a2.localPeer.id;
22492
+ var Cn = (a2) => a2.localPeer.audioTrack;
22493
+ var Ln = (a2) => a2.localPeer.videoTrack;
22494
+ var wn = (a2, e) => e;
22486
22495
  var za = (a2, e) => e;
22487
- var wn = (a2) => a2.remoteTrackStats;
22496
+ var Dn = (a2) => a2.remoteTrackStats;
22488
22497
  var Ya = (a2) => a2.peerStats;
22489
- var rs = (a2) => a2.localTrackStats;
22490
- var Re = createSelector([Ya, An], (a2, e) => a2[e]);
22491
- var Dn = createSelector(Re, (a2) => {
22498
+ var is = (a2) => a2.localTrackStats;
22499
+ var Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
22500
+ var _n = createSelector(Ae, (a2) => {
22492
22501
  var e;
22493
22502
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22494
22503
  });
22495
- var _n = createSelector(Re, (a2) => {
22504
+ var Nn = createSelector(Ae, (a2) => {
22496
22505
  var e;
22497
22506
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22498
22507
  });
22499
- var Nn = createSelector(Re, (a2) => {
22508
+ var On = createSelector(Ae, (a2) => {
22500
22509
  var e;
22501
22510
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22502
22511
  });
22503
- var On = createSelector(Re, (a2) => {
22512
+ var xn = createSelector(Ae, (a2) => {
22504
22513
  var e;
22505
22514
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22506
22515
  });
22507
- var xn = createSelector(Re, (a2) => {
22516
+ var Un = createSelector(Ae, (a2) => {
22508
22517
  var e;
22509
22518
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22510
22519
  });
22511
- var Un = createSelector(Re, (a2) => {
22520
+ var Bn = createSelector(Ae, (a2) => {
22512
22521
  var e;
22513
22522
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22514
22523
  });
22515
- var Bn = createSelector(Re, (a2) => {
22524
+ var Vn = createSelector(Ae, (a2) => {
22516
22525
  var e;
22517
22526
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22518
22527
  });
22519
- var Vn = createSelector(Re, (a2) => {
22528
+ var Fn = createSelector(Ae, (a2) => {
22520
22529
  var e;
22521
22530
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22522
22531
  });
22523
- var Fn = createSelector([Ya, Ln], (a2, e) => e ? a2[e] : void 0);
22524
- var Gn = createSelector([wn, za], (a2, e) => e ? a2[e] : void 0);
22525
- var ss = createSelector([rs, za], (a2, e) => e ? a2[e] : void 0);
22526
- var Wn = A(Fn);
22527
- var $n = A(Gn);
22528
- var Kn = createSelector([rs, Hn], (a2, e) => {
22532
+ var Gn = createSelector([Ya, wn], (a2, e) => e ? a2[e] : void 0);
22533
+ var Wn = createSelector([Dn, za], (a2, e) => e ? a2[e] : void 0);
22534
+ var rs = createSelector([is, za], (a2, e) => e ? a2[e] : void 0);
22535
+ var $n = R(Gn);
22536
+ var Kn = R(Wn);
22537
+ var qn = createSelector([is, Cn], (a2, e) => {
22529
22538
  var t;
22530
22539
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22531
22540
  });
22532
- var qn = A(createSelector(ss, (a2) => a2 == null ? void 0 : a2[0]));
22533
- var jn = createSelector([rs, Cn], (a2, e) => {
22541
+ var jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22542
+ var Jn = createSelector([is, Ln], (a2, e) => {
22534
22543
  var t;
22535
22544
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22536
22545
  });
22537
- var Jn = A(createSelector(ss, (a2) => a2));
22546
+ var Qn = R(createSelector(rs, (a2) => a2));
22538
22547
 
22539
22548
  // src/Prebuilt/components/Header/StreamActions.tsx
22540
22549
  import {
@@ -27478,7 +27487,7 @@ var Chat = () => {
27478
27487
  const listRef = useRef26(null);
27479
27488
  const hmsActions = useHMSActions42();
27480
27489
  const vanillaStore = useHMSVanillaStore11();
27481
- const { enabled: isChatEnabled = true } = useHMSStore61(jm("chatState" /* CHAT_STATE */)) || {};
27490
+ const { enabled: isChatEnabled = true } = useHMSStore61(Jm("chatState" /* CHAT_STATE */)) || {};
27482
27491
  const isMobile = useMedia20(config.media.md);
27483
27492
  const isMobileHLSStream = useMobileHLSStream();
27484
27493
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27568,7 +27577,7 @@ var NewMessageIndicator = ({
27568
27577
  scrollToBottom,
27569
27578
  listRef
27570
27579
  }) => {
27571
- const unreadCount = useHMSStore61(Sm);
27580
+ const unreadCount = useHMSStore61(gm);
27572
27581
  if (!unreadCount || !listRef.current) {
27573
27582
  return null;
27574
27583
  }
@@ -28575,7 +28584,7 @@ var VBCollection = ({
28575
28584
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28576
28585
  var iconDims = { height: "40px", width: "40px" };
28577
28586
  var VBPicker = ({ backgroundMedia = [] }) => {
28578
- var _a7;
28587
+ var _a7, _b7;
28579
28588
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
28580
28589
  const hmsActions = useHMSActions45();
28581
28590
  const localPeer = useHMSStore69(selectLocalPeer8);
@@ -28588,14 +28597,15 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28588
28597
  const roomState = useHMSStore69(selectRoomState5);
28589
28598
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
28590
28599
  const isEffectsSupported = VBHandler.isEffectsSupported();
28591
- const isEffectsEnabled = useHMSStore69(Am);
28592
- const effectsKey = useHMSStore69(Cm);
28600
+ const isEffectsEnabled = useHMSStore69(Hm);
28601
+ const effectsKey = useHMSStore69(Lm);
28593
28602
  const isMobile = useMedia24(config.media.md);
28594
28603
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
28595
28604
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28596
- const background = useHMSStore69(qm(APP_DATA.background));
28605
+ const background = useHMSStore69(jm(APP_DATA.background));
28597
28606
  const mediaList = backgroundMedia.map((media) => media.url || "");
28598
28607
  const pluginLoadingRef = useRef27(false);
28608
+ const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
28599
28609
  const inPreview = roomState === HMSRoomState5.Preview;
28600
28610
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28601
28611
  useEffect42(() => {
@@ -28717,13 +28727,13 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28717
28727
  yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
28718
28728
  hmsActions.setAppData(APP_DATA.background, HMSVirtualBackgroundTypes4.BLUR);
28719
28729
  }),
28720
- supported: isEffectsSupported && isEffectsEnabled
28730
+ supported: isBlurSupported
28721
28731
  }
28722
28732
  ],
28723
28733
  activeBackground: background
28724
28734
  }
28725
28735
  ),
28726
- /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isEffectsEnabled && effectsKey ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28736
+ /* @__PURE__ */ React131.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === HMSVirtualBackgroundTypes4.BLUR && isBlurSupported ? /* @__PURE__ */ React131.createElement(Box, null, /* @__PURE__ */ React131.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ React131.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ React131.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ React131.createElement(
28727
28737
  Slider,
28728
28738
  {
28729
28739
  showTooltip: false,
@@ -30977,7 +30987,7 @@ var useCloseScreenshareWhiteboard = () => {
30977
30987
  };
30978
30988
 
30979
30989
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30980
- var HLSView = React157.lazy(() => import("./HLSView-WY2KZLYW.js"));
30990
+ var HLSView = React157.lazy(() => import("./HLSView-YFTHW2VY.js"));
30981
30991
  var VideoStreamingSection = ({
30982
30992
  screenType,
30983
30993
  elements,
@@ -33060,7 +33070,7 @@ function Notifications() {
33060
33070
  }, []);
33061
33071
  useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33062
33072
  useEffect76(() => {
33063
- var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
33073
+ var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
33064
33074
  if (!notification || isNotificationDisabled) {
33065
33075
  return;
33066
33076
  }
@@ -33101,7 +33111,7 @@ function Notifications() {
33101
33111
  });
33102
33112
  break;
33103
33113
  case HMSNotificationTypes11.ROLE_UPDATED: {
33104
- if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
33114
+ if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
33105
33115
  ToastManager.addToast({
33106
33116
  title: `You are now a ${notification.data.roleName}`
33107
33117
  });
@@ -34673,4 +34683,4 @@ object-assign/index.js:
34673
34683
  @license MIT
34674
34684
  *)
34675
34685
  */
34676
- //# sourceMappingURL=chunk-I6M7HK22.js.map
34686
+ //# sourceMappingURL=chunk-Y3UYAB6J.js.map