@100mslive/roomkit-react 0.3.19-alpha.1 → 0.3.19-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -45,13 +45,13 @@ var __export = (target, all) => {
45
45
  for (var name in all)
46
46
  __defProp(target, name, { get: all[name], enumerable: true });
47
47
  };
48
- var __copyProps = (to2, from, except, desc) => {
48
+ var __copyProps = (to, from, except, desc) => {
49
49
  if (from && typeof from === "object" || typeof from === "function") {
50
50
  for (let key of __getOwnPropNames(from))
51
- if (!__hasOwnProp.call(to2, key) && key !== except)
52
- __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
51
+ if (!__hasOwnProp.call(to, key) && key !== except)
52
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
53
53
  }
54
- return to2;
54
+ return to;
55
55
  };
56
56
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
57
57
  // If the importer is in node compatibility mode or this is not an ESM
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
109
109
  var define_process_env_default;
110
110
  var init_define_process_env = __esm({
111
111
  "<define:process.env>"() {
112
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6cea5802-ce23-4c1e-97a2-70076471882b", 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.9-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.19-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6cea5802-ce23-4c1e-97a2-70076471882b", 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.19-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.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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: "20240811.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.6/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:1821", 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.19-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: "10472637880", 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: "4e76816ac6791d45d6099d5ecf81b9b730bbb9db", 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: "6790174dc36e26c3b589aa85cb1ac4b030a9489d29e85bee676df9058a07e5f4", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1724160935532-0.7852344527720556:/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--1724160935303-0.6284305740362575:/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--1724160908813-0.14105343274938886:/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--1724160908629-0.46815752240870667:/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_05bd7fdb-bfbd-48f1-a2d1-f746c00dddb2", INVOCATION_ID: "297196c99e914941bba85b21184f9190", 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: "644", 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 92", 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.0.12077973", 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.19-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.19-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: "4e76816ac6791d45d6099d5ecf81b9b730bbb9db", 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_6cea5802-ce23-4c1e-97a2-70076471882b", 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_6cea5802-ce23-4c1e-97a2-70076471882b", 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.0.12077973", 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.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6cea5802-ce23-4c1e-97a2-70076471882b" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8e80bbea-1ccb-4925-b28b-fa461606c676", 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.9-alpha.2", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.19-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8e80bbea-1ccb-4925-b28b-fa461606c676", 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.19-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", 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.0.12077973", 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: "601", 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: "20240825.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.6/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:17225", 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.19-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10592524676", 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: "88c8ac68235961d5352322c7be3efedad27f6d92", 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: "a2abe29da55815a39e288ff49ea5cd8828252bca80913f4baf1e0a3db3791b87", 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--1724831759242-0.1595028060328194:/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--1724831759048-0.21877242189553248:/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--1724831733657-0.21061851403670917:/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--1724831733475-0.416211556167259:/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_67d6c53f-3cdd-439a-80c8-c2c4c7b862ae", INVOCATION_ID: "ef7e228817de496190ba8acc4bdd30f3", 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: "645", 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 347", 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.0.12077973", 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.19-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.19-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "88c8ac68235961d5352322c7be3efedad27f6d92", 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_8e80bbea-1ccb-4925-b28b-fa461606c676", 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_8e80bbea-1ccb-4925-b28b-fa461606c676", 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.0.12077973", 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.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_8e80bbea-1ccb-4925-b28b-fa461606c676" };
113
113
  }
114
114
  });
115
115
 
@@ -2490,7 +2490,7 @@ var init_Video = __esm({
2490
2490
  Video = (_a7) => {
2491
2491
  var _b7 = _a7, { trackId, attach } = _b7, props = __objRest(_b7, ["trackId", "attach"]);
2492
2492
  const { videoRef } = (0, import_react_sdk2.useVideo)({ trackId, attach });
2493
- return /* @__PURE__ */ import_react18.default.createElement(StyledVideo, __spreadValues({ autoPlay: true, muted: true, playsInline: true, controls: false, ref: videoRef }, props));
2493
+ return /* @__PURE__ */ import_react18.default.createElement(StyledVideo, __spreadValues({ ref: videoRef }, props));
2494
2494
  };
2495
2495
  }
2496
2496
  });
@@ -8165,7 +8165,7 @@ var require_lodash = __commonJS({
8165
8165
  function eq(value, other) {
8166
8166
  return value === other || value !== value && other !== other;
8167
8167
  }
8168
- var gt2 = createRelationalOperation(baseGt);
8168
+ var gt = createRelationalOperation(baseGt);
8169
8169
  var gte = createRelationalOperation(function(value, other) {
8170
8170
  return value >= other;
8171
8171
  });
@@ -8307,7 +8307,7 @@ var require_lodash = __commonJS({
8307
8307
  function isWeakSet(value) {
8308
8308
  return isObjectLike(value) && baseGetTag(value) == weakSetTag;
8309
8309
  }
8310
- var lt = createRelationalOperation(baseLt);
8310
+ var lt2 = createRelationalOperation(baseLt);
8311
8311
  var lte = createRelationalOperation(function(value, other) {
8312
8312
  return value <= other;
8313
8313
  });
@@ -8389,7 +8389,7 @@ var require_lodash = __commonJS({
8389
8389
  var assignWith = createAssigner(function(object, source, srcIndex, customizer2) {
8390
8390
  copyObject(source, keys(source), object, customizer2);
8391
8391
  });
8392
- var at = flatRest(baseAt);
8392
+ var at2 = flatRest(baseAt);
8393
8393
  function create(prototype, properties) {
8394
8394
  var result2 = baseCreate(prototype);
8395
8395
  return properties == null ? result2 : baseAssign(result2, properties);
@@ -9123,7 +9123,7 @@ var require_lodash = __commonJS({
9123
9123
  lodash.assignIn = assignIn;
9124
9124
  lodash.assignInWith = assignInWith;
9125
9125
  lodash.assignWith = assignWith;
9126
- lodash.at = at;
9126
+ lodash.at = at2;
9127
9127
  lodash.before = before;
9128
9128
  lodash.bind = bind;
9129
9129
  lodash.bindAll = bindAll;
@@ -9304,7 +9304,7 @@ var require_lodash = __commonJS({
9304
9304
  lodash.forOwn = forOwn;
9305
9305
  lodash.forOwnRight = forOwnRight;
9306
9306
  lodash.get = get;
9307
- lodash.gt = gt2;
9307
+ lodash.gt = gt;
9308
9308
  lodash.gte = gte;
9309
9309
  lodash.has = has;
9310
9310
  lodash.hasIn = hasIn;
@@ -9357,7 +9357,7 @@ var require_lodash = __commonJS({
9357
9357
  lodash.lastIndexOf = lastIndexOf;
9358
9358
  lodash.lowerCase = lowerCase;
9359
9359
  lodash.lowerFirst = lowerFirst;
9360
- lodash.lt = lt;
9360
+ lodash.lt = lt2;
9361
9361
  lodash.lte = lte;
9362
9362
  lodash.max = max;
9363
9363
  lodash.maxBy = maxBy;
@@ -10545,8 +10545,8 @@ var init_PIPManager = __esm({
10545
10545
  /**
10546
10546
  * @private {boolean} on - whether pip is on/off
10547
10547
  */
10548
- this.callListeners = (on) => {
10549
- this.listeners.forEach((listener) => listener == null ? void 0 : listener(on));
10548
+ this.callListeners = (on2) => {
10549
+ this.listeners.forEach((listener) => listener == null ? void 0 : listener(on2));
10550
10550
  };
10551
10551
  this.reset();
10552
10552
  }
@@ -18266,16 +18266,16 @@ function shimGetUserMedia(window2, browserDetails) {
18266
18266
  };
18267
18267
  if (r.ideal !== void 0) {
18268
18268
  cc.optional = cc.optional || [];
18269
- let oc = {};
18269
+ let oc2 = {};
18270
18270
  if (typeof r.ideal === "number") {
18271
- oc[oldname_("min", key)] = r.ideal;
18272
- cc.optional.push(oc);
18273
- oc = {};
18274
- oc[oldname_("max", key)] = r.ideal;
18275
- cc.optional.push(oc);
18271
+ oc2[oldname_("min", key)] = r.ideal;
18272
+ cc.optional.push(oc2);
18273
+ oc2 = {};
18274
+ oc2[oldname_("max", key)] = r.ideal;
18275
+ cc.optional.push(oc2);
18276
18276
  } else {
18277
- oc[oldname_("", key)] = r.ideal;
18278
- cc.optional.push(oc);
18277
+ oc2[oldname_("", key)] = r.ideal;
18278
+ cc.optional.push(oc2);
18279
18279
  }
18280
18280
  }
18281
18281
  if (r.exact !== void 0 && typeof r.exact !== "number") {
@@ -19837,12 +19837,12 @@ var require_sdp = __commonJS({
19837
19837
  return parsed;
19838
19838
  };
19839
19839
  SDPUtils2.writeRtpMap = function(codec) {
19840
- let pt = codec.payloadType;
19840
+ let pt2 = codec.payloadType;
19841
19841
  if (codec.preferredPayloadType !== void 0) {
19842
- pt = codec.preferredPayloadType;
19842
+ pt2 = codec.preferredPayloadType;
19843
19843
  }
19844
19844
  const channels = codec.channels || codec.numChannels || 1;
19845
- return "a=rtpmap:" + pt + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
19845
+ return "a=rtpmap:" + pt2 + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
19846
19846
  };
19847
19847
  SDPUtils2.parseExtmap = function(line) {
19848
19848
  const parts = line.substring(9).split(" ");
@@ -19868,9 +19868,9 @@ var require_sdp = __commonJS({
19868
19868
  };
19869
19869
  SDPUtils2.writeFmtp = function(codec) {
19870
19870
  let line = "";
19871
- let pt = codec.payloadType;
19871
+ let pt2 = codec.payloadType;
19872
19872
  if (codec.preferredPayloadType !== void 0) {
19873
- pt = codec.preferredPayloadType;
19873
+ pt2 = codec.preferredPayloadType;
19874
19874
  }
19875
19875
  if (codec.parameters && Object.keys(codec.parameters).length) {
19876
19876
  const params = [];
@@ -19881,7 +19881,7 @@ var require_sdp = __commonJS({
19881
19881
  params.push(param);
19882
19882
  }
19883
19883
  });
19884
- line += "a=fmtp:" + pt + " " + params.join(";") + "\r\n";
19884
+ line += "a=fmtp:" + pt2 + " " + params.join(";") + "\r\n";
19885
19885
  }
19886
19886
  return line;
19887
19887
  };
@@ -19894,13 +19894,13 @@ var require_sdp = __commonJS({
19894
19894
  };
19895
19895
  SDPUtils2.writeRtcpFb = function(codec) {
19896
19896
  let lines = "";
19897
- let pt = codec.payloadType;
19897
+ let pt2 = codec.payloadType;
19898
19898
  if (codec.preferredPayloadType !== void 0) {
19899
- pt = codec.preferredPayloadType;
19899
+ pt2 = codec.preferredPayloadType;
19900
19900
  }
19901
19901
  if (codec.rtcpFeedback && codec.rtcpFeedback.length) {
19902
19902
  codec.rtcpFeedback.forEach((fb) => {
19903
- lines += "a=rtcp-fb:" + pt + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
19903
+ lines += "a=rtcp-fb:" + pt2 + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
19904
19904
  });
19905
19905
  }
19906
19906
  return lines;
@@ -20028,21 +20028,21 @@ var require_sdp = __commonJS({
20028
20028
  const mline = lines[0].split(" ");
20029
20029
  description.profile = mline[2];
20030
20030
  for (let i = 3; i < mline.length; i++) {
20031
- const pt = mline[i];
20031
+ const pt2 = mline[i];
20032
20032
  const rtpmapline = SDPUtils2.matchPrefix(
20033
20033
  mediaSection,
20034
- "a=rtpmap:" + pt + " "
20034
+ "a=rtpmap:" + pt2 + " "
20035
20035
  )[0];
20036
20036
  if (rtpmapline) {
20037
20037
  const codec = SDPUtils2.parseRtpMap(rtpmapline);
20038
20038
  const fmtps = SDPUtils2.matchPrefix(
20039
20039
  mediaSection,
20040
- "a=fmtp:" + pt + " "
20040
+ "a=fmtp:" + pt2 + " "
20041
20041
  );
20042
20042
  codec.parameters = fmtps.length ? SDPUtils2.parseFmtp(fmtps[0]) : {};
20043
20043
  codec.rtcpFeedback = SDPUtils2.matchPrefix(
20044
20044
  mediaSection,
20045
- "a=rtcp-fb:" + pt + " "
20045
+ "a=rtcp-fb:" + pt2 + " "
20046
20046
  ).map(SDPUtils2.parseRtcpFb);
20047
20047
  description.codecs.push(codec);
20048
20048
  switch (codec.name.toUpperCase()) {
@@ -21507,42 +21507,42 @@ var require_lib = __commonJS({
21507
21507
  });
21508
21508
 
21509
21509
  // ../hms-video-store/dist/index.js
21510
- function Be(a2, e) {
21510
+ function Ue(a2, e) {
21511
21511
  let t, i;
21512
21512
  if (e)
21513
21513
  for (let r of e.auxiliaryTracks) {
21514
21514
  let s = a2[r];
21515
- to(s) && (i = ht(s) ? s : i, t = mt(s) ? s : t);
21515
+ so(s) && (i = pt(s) ? s : i, t = ht(s) ? s : t);
21516
21516
  }
21517
21517
  return { video: t, audio: i };
21518
21518
  }
21519
- function ht(a2) {
21519
+ function pt(a2) {
21520
21520
  return a2 && a2.type === "audio";
21521
21521
  }
21522
- function mt(a2) {
21522
+ function ht(a2) {
21523
21523
  return a2 && a2.type === "video";
21524
21524
  }
21525
- function to(a2) {
21525
+ function so(a2) {
21526
21526
  return a2 && a2.source === "screen";
21527
21527
  }
21528
21528
  function ri(a2) {
21529
21529
  return a2 && a2.source === "audioplaylist";
21530
21530
  }
21531
- function St(a2) {
21531
+ function mt(a2) {
21532
21532
  return a2 && a2.source === "videoplaylist";
21533
21533
  }
21534
21534
  function ds(a2) {
21535
21535
  return a2 ? !!(a2 != null && a2.degraded) : false;
21536
21536
  }
21537
- function Je(a2, e) {
21537
+ function je(a2, e) {
21538
21538
  return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
21539
21539
  }
21540
- function gt(a2) {
21540
+ function St(a2) {
21541
21541
  var r;
21542
21542
  let e = false, t = false, i = false;
21543
21543
  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 };
21544
21544
  }
21545
- function ao() {
21545
+ function co() {
21546
21546
  if (B && window) {
21547
21547
  let a2 = window.location.hostname;
21548
21548
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
@@ -21553,11 +21553,11 @@ function ne(a2) {
21553
21553
  return a2 != null;
21554
21554
  }
21555
21555
  function vt(a2 = "prod", e) {
21556
- let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21557
- if (Ve)
21558
- return Ps({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ks, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21559
- let r = ve.getOS(), s = ve.getDevice(), o = ve.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21560
- return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Ps({ os: n, os_version: d, sdk: t, sdk_version: ks, device_model: p, env: i, domain: ze, 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 });
21556
+ let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21557
+ if (Be)
21558
+ return Is({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: bs, 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 });
21559
+ let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21560
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), Is({ os: n, os_version: d, sdk: t, sdk_version: bs, 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 });
21561
21561
  }
21562
21562
  function Mr(a2) {
21563
21563
  return a2.replace(/ /g, "_");
@@ -21575,13 +21575,13 @@ function oi(a2, e = 300) {
21575
21575
  function A(a2) {
21576
21576
  return (e) => (t) => a2(t, e);
21577
21577
  }
21578
- function Fm(a2) {
21578
+ function qm(a2) {
21579
21579
  return (e) => {
21580
21580
  if (e.sessionStore)
21581
21581
  return a2 ? e.sessionStore[a2] : e.sessionStore;
21582
21582
  };
21583
21583
  }
21584
- var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, qt, import_eventemitter24, import_uuid9, import_uuid10, Ja, Qa, za, ei, as, os, ss, h, M, mr, Za, vr, Sr, eo, ns, gr, cs, us, io, l, ve, B, ps, Ve, so, rc, hs, ms, Ts, fs, ze, E, f, oo, S, fr, vs, he, Ms, ks, Ps, H, y, yr, J, kr, Pr, Ir, Rs, As, Hs, Cs, Ls, Rr, ws, Ar, Os, Hr, xs, Cr, Lr, Vs, Fs, Et, st, V, Co, qh, jh, K, fi, zs, O, Vr, Lo, xe, zh, wo, Te, Do, ie, Ee, Yh, Xh, oe, z, _o, Xs, Zh, em, Gr, No, im, rm, sm, am, om, nm, cm, dm, At, Oo, lm, re, ea, um, pm, fe, hm, ot, xo, ta, mm, ia, Sm, gm, Tm, fm, vm, Mm, ym, km, Pm, Em, ra, Am, Uo, Hm, aa, Wr, oa, na, ca, da, la, ua, pa, ha, Ht, b, $r, Ct, ma, Bo, Vo, q, Kr, Fo, Go, Wo, $o, Ko, Y, Vm, Wm, $m, vi, Sa, Km, qm, jm, qo, jo, Qm, ga, zm, Jo, Ym, Xm, Zm, eS, tS, iS, Ta, fa, sS, aS, va, oS, nS, Ma, cS, dS, lS, ya, ka, Qo, zo, Yo, uS, pS, hS, mS, SS, Pa, RS, Xo, AS, HS, CS, en, tn, an, zr, Ie, j, ir, ut, En, bn, In, Rn, qa, An, ja, ts, Ae, Hn, Cn, Ln, wn, Dn, _n, Nn, On, xn, Un, is, Bn, Vn, Fn, Gn, Wn, $n;
21584
+ var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, qt, import_eventemitter24, import_uuid9, import_uuid10, Ya, Xa, Za, ei, as, os, ss, h, M, mr, io, vr, Sr, ro, ns, gr, cs, us, ao, l, he, B, ps, Be, no, oc, hs, ms, vs, Ss, gs, Ms, ys, Qe, P4, f, lo, S, fr, ks, me, Es, bs, Is, H, y, yr, J, kr, Er, Ir, Cs, Ls, ws, Ds, _s, Rr, Ns, Ar, Bs, Hr, Vs, Cr, Lr, Ws, $s, Pt, rt, V, Do, Yh, Xh, K, fi, Zs, O, Vr, _o, Oe, tm, No, fe, Oo, ie, Ee, im, rm, oe, z, xo, ta, sm, am, Gr, Uo, nm, cm, dm, lm, um, pm, hm, mm, At, Bo, Sm, re, ra, gm, Tm, ve, fm, at, Vo, sa, vm, aa, Mm, ym, km, Em, Pm, bm, Im, Rm, Am, Hm, oa, Dm, Fo, _m, ca, Wr, da, la, ua, pa, ha, ma, Sa, ga, Ht, b, $r, Ct, Ta, Go, Wo, q, Kr, $o, Ko, qo, jo, Jo, Y, Km, Jm, Qm, vi, fa, zm, Ym, Xm, Qo, zo, eS, va, tS, Yo, iS, rS, sS, aS, oS, nS, Ma, ya, dS, lS, ka, uS, pS, Ea, hS, mS, SS, Pa, ba, Xo, Zo, en, gS, TS, fS, vS, MS, Ia, wS, tn, DS, _S, NS, sn, an, cn, zr, be, j, ir, lt, Rn, An, Hn, Cn, Qa, Ln, za, ts, Re, wn, Dn, _n, Nn, On, xn, Un, Bn, Vn, Fn, is, Gn, Wn, $n, Kn, qn, jn;
21585
21585
  var init_dist = __esm({
21586
21586
  "../hms-video-store/dist/index.js"() {
21587
21587
  "use strict";
@@ -21609,13 +21609,13 @@ var init_dist = __esm({
21609
21609
  import_uuid9 = require("uuid");
21610
21610
  import_uuid10 = require("uuid");
21611
21611
  init_es();
21612
- Ja = Object.defineProperty;
21613
- Qa = Object.defineProperties;
21614
- za = Object.getOwnPropertyDescriptors;
21612
+ Ya = Object.defineProperty;
21613
+ Xa = Object.defineProperties;
21614
+ Za = Object.getOwnPropertyDescriptors;
21615
21615
  ei = Object.getOwnPropertySymbols;
21616
21616
  as = Object.prototype.hasOwnProperty;
21617
21617
  os = Object.prototype.propertyIsEnumerable;
21618
- ss = (a2, e, t) => e in a2 ? Ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21618
+ ss = (a2, e, t) => e in a2 ? Ya(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21619
21619
  h = (a2, e) => {
21620
21620
  for (var t in e || (e = {}))
21621
21621
  as.call(e, t) && ss(a2, t, e[t]);
@@ -21624,7 +21624,7 @@ var init_dist = __esm({
21624
21624
  os.call(e, t) && ss(a2, t, e[t]);
21625
21625
  return a2;
21626
21626
  };
21627
- M = (a2, e) => Qa(a2, za(e));
21627
+ M = (a2, e) => Xa(a2, Za(e));
21628
21628
  mr = (a2, e) => {
21629
21629
  var t = {};
21630
21630
  for (var i in a2)
@@ -21634,17 +21634,17 @@ var init_dist = __esm({
21634
21634
  e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21635
21635
  return t;
21636
21636
  };
21637
- Za = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21638
- vr = Za((Hc, co) => {
21639
- co.exports = { version: "0.12.19-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"] };
21637
+ io = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21638
+ vr = io((wc, po) => {
21639
+ po.exports = { version: "0.12.19-alpha.2", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21640
21640
  });
21641
21641
  Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21642
- eo = ((e) => (e.CHAT = "chat", e))(eo || {});
21642
+ ro = ((e) => (e.CHAT = "chat", e))(ro || {});
21643
21643
  ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21644
21644
  gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21645
21645
  cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21646
21646
  us = ((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))(us || {});
21647
- io = typeof window != "undefined" && typeof window.expect != "undefined";
21647
+ ao = typeof window != "undefined" && typeof window.expect != "undefined";
21648
21648
  l = class {
21649
21649
  static v(e, ...t) {
21650
21650
  this.log(0, e, ...t);
@@ -21710,16 +21710,17 @@ var init_dist = __esm({
21710
21710
  }
21711
21711
  }
21712
21712
  };
21713
- l.level = io ? 7 : 0;
21714
- ve = new import_ua_parser_js.UAParser();
21713
+ l.level = ao ? 7 : 0;
21714
+ he = new import_ua_parser_js.UAParser();
21715
21715
  B = typeof window != "undefined";
21716
- Ve = typeof window == "undefined" && !((ps = ve.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21717
- so = () => !Ve;
21718
- rc = so();
21719
- Ts = ((ms = (hs = ve.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21720
- fs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(fs || {});
21721
- ze = ao();
21722
- E = { 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 } };
21716
+ Be = typeof window == "undefined" && !((ps = he.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21717
+ no = () => !Be;
21718
+ oc = no();
21719
+ vs = ((ms = (hs = he.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "safari";
21720
+ Ms = ((gs = (Ss = he.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase()) === "firefox";
21721
+ ys = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ys || {});
21722
+ Qe = co();
21723
+ 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 } };
21723
21724
  f = class a extends Error {
21724
21725
  constructor(t, i, r, s, o, n = false) {
21725
21726
  super(s);
@@ -21749,99 +21750,99 @@ var init_dist = __esm({
21749
21750
  }`;
21750
21751
  }
21751
21752
  };
21752
- oo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21753
+ lo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21753
21754
  S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21754
- return new f(E.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21755
+ return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21755
21756
  }, WebSocketConnectionLost(a2, e = "") {
21756
- return new f(E.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21757
+ return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
21757
21758
  }, AbnormalClose(a2, e = "") {
21758
- return new f(E.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21759
+ return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
21759
21760
  } }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
21760
21761
  return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
21761
21762
  }, EndpointUnreachable(a2, e = "") {
21762
- return new f(E.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21763
+ return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
21763
21764
  }, InvalidTokenFormat(a2, e = "") {
21764
- return new f(E.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21765
+ return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
21765
21766
  }, InitConfigNotAvailable(a2, e = "") {
21766
- return new f(E.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21767
+ return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
21767
21768
  } }, TracksErrors: { GenericTrack(a2, e = "") {
21768
- return new f(E.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21769
+ return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
21769
21770
  }, CantAccessCaptureDevice(a2, e, t = "") {
21770
- return new f(E.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21771
+ return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
21771
21772
  }, DeviceNotAvailable(a2, e, t = "") {
21772
- return new f(E.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21773
+ return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
21773
21774
  }, DeviceInUse(a2, e, t = "") {
21774
- return new f(E.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21775
+ return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
21775
21776
  }, DeviceLostMidway(a2, e, t = "") {
21776
- return new f(E.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21777
+ return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
21777
21778
  }, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
21778
- return new f(E.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21779
+ return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
21779
21780
  }, InvalidVideoSettings(a2, e = "") {
21780
- return new f(E.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21781
+ return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
21781
21782
  }, AutoplayBlocked(a2, e = "") {
21782
- return new f(E.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21783
+ return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
21783
21784
  }, CodecChangeNotPermitted(a2, e = "") {
21784
- return new f(E.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21785
+ return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
21785
21786
  }, OverConstrained(a2, e, t = "") {
21786
- return new f(E.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21787
+ return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
21787
21788
  }, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
21788
- return new f(E.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21789
+ return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
21789
21790
  }, SystemDeniedPermission(a2, e, t = "") {
21790
- return new f(E.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21791
+ return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
21791
21792
  }, CurrentTabNotShared() {
21792
- return new f(E.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");
21793
+ 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");
21793
21794
  }, AudioPlaybackError(a2) {
21794
- return new f(E.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21795
+ return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
21795
21796
  }, SelectedDeviceMissing(a2) {
21796
- return new f(E.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21797
+ return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
21797
21798
  } }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
21798
- return new f(E.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21799
+ return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
21799
21800
  }, CreateAnswerFailed(a2, e = "") {
21800
- return new f(E.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21801
+ return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
21801
21802
  }, SetLocalDescriptionFailed(a2, e = "") {
21802
- return new f(E.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21803
+ return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
21803
21804
  }, SetRemoteDescriptionFailed(a2, e = "") {
21804
- return new f(E.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21805
+ return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
21805
21806
  }, ICEFailure(a2, e = "", t = false) {
21806
- return new f(E.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21807
+ return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
21807
21808
  }, ICEDisconnected(a2, e = "") {
21808
- return new f(E.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21809
+ return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
21809
21810
  }, StatsFailed(a2, e = "") {
21810
- return new f(E.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21811
+ return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21811
21812
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21812
- return new f(a2, "ServerErrors", e, t, t, oo.includes(e));
21813
+ return new f(a2, "ServerErrors", e, t, t, lo.includes(e));
21813
21814
  }, AlreadyJoined(a2, e = "") {
21814
- return new f(E.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21815
+ return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21815
21816
  }, CannotJoinPreviewInProgress(a2, e = "") {
21816
- return new f(E.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21817
+ return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
21817
21818
  } }, GenericErrors: { NotConnected(a2, e = "") {
21818
- return new f(E.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21819
+ return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
21819
21820
  }, Signalling(a2, e) {
21820
- return new f(E.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21821
+ return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
21821
21822
  }, Unknown(a2, e) {
21822
- return new f(E.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21823
+ return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
21823
21824
  }, NotReady(a2, e = "") {
21824
- return new f(E.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21825
+ return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
21825
21826
  }, JsonParsingFailed(a2, e, t = "") {
21826
- return new f(E.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21827
+ return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
21827
21828
  }, TrackMetadataMissing(a2, e = "") {
21828
- return new f(E.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21829
+ return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
21829
21830
  }, RTCTrackMissing(a2, e = "") {
21830
- return new f(E.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21831
+ return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
21831
21832
  }, PeerMetadataMissing(a2, e = "") {
21832
- return new f(E.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21833
+ return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
21833
21834
  }, ValidationFailed(a2, e) {
21834
- return new f(E.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21835
+ return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
21835
21836
  }, InvalidRole(a2, e) {
21836
- return new f(E.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21837
+ return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
21837
21838
  }, PreviewAlreadyInProgress(a2, e = "") {
21838
- return new f(E.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21839
+ return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
21839
21840
  }, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
21840
- return new f(E.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21841
+ return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
21841
21842
  }, MissingMediaDevices() {
21842
- return new f(E.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);
21843
+ 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);
21843
21844
  }, MissingRTCPeerConnection() {
21844
- return new f(E.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);
21845
+ 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);
21845
21846
  } }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
21846
21847
  return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
21847
21848
  }, InitFailed(a2, e = "") {
@@ -21853,9 +21854,9 @@ var init_dist = __esm({
21853
21854
  }, DeviceNotSupported(a2, e = "") {
21854
21855
  return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
21855
21856
  } }, PlaylistErrors: { NoEntryToPlay(a2, e) {
21856
- return new f(E.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21857
+ return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
21857
21858
  }, NoEntryPlaying(a2, e) {
21858
- return new f(E.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21859
+ return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21859
21860
  } } };
21860
21861
  fr = class {
21861
21862
  constructor() {
@@ -21882,21 +21883,21 @@ var init_dist = __esm({
21882
21883
  return this.valuesMap.size;
21883
21884
  }
21884
21885
  };
21885
- vs = () => {
21886
+ ks = () => {
21886
21887
  try {
21887
21888
  B && !localStorage && (window.localStorage = new fr());
21888
21889
  } catch (a2) {
21889
21890
  l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21890
21891
  }
21891
21892
  };
21892
- he = class {
21893
+ me = class {
21893
21894
  constructor(e) {
21894
21895
  this.key = e;
21895
21896
  this.storage = null;
21896
21897
  }
21897
21898
  getStorage() {
21898
21899
  try {
21899
- return B && !this.storage && (vs(), this.storage = window.localStorage), this.storage;
21900
+ return B && !this.storage && (ks(), this.storage = window.localStorage), this.storage;
21900
21901
  } catch (e) {
21901
21902
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21902
21903
  }
@@ -21916,19 +21917,19 @@ var init_dist = __esm({
21916
21917
  (e = this.getStorage()) == null || e.removeItem(this.key);
21917
21918
  }
21918
21919
  };
21919
- Ms = () => {
21920
- let a2, e = new he("hms-analytics-deviceId"), t = e.get();
21920
+ Es = () => {
21921
+ let a2, e = new me("hms-analytics-deviceId"), t = e.get();
21921
21922
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21922
21923
  };
21923
- ks = vr().version;
21924
- Ps = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21924
+ bs = vr().version;
21925
+ Is = (a2, e = ",") => Object.keys(a2).filter((t) => ne(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21925
21926
  H = class {
21926
21927
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21927
21928
  this.metadata = { peer: {}, userAgent: vt() };
21928
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Ms();
21929
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = Es();
21929
21930
  }
21930
21931
  toSignalParams() {
21931
- return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21932
+ return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
21932
21933
  }
21933
21934
  };
21934
21935
  y = class {
@@ -22016,8 +22017,8 @@ var init_dist = __esm({
22016
22017
  static krispStop() {
22017
22018
  return new H({ name: "krisp.stop", level: 1 });
22018
22019
  }
22019
- static interruption(e, t, i) {
22020
- return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ type: t }, i) });
22020
+ static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
22021
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: h({ reason: i, type: t }, r) });
22021
22022
  }
22022
22023
  static eventNameFor(e, t) {
22023
22024
  return `${e}.${t ? "success" : "failed"}`;
@@ -22033,7 +22034,7 @@ var init_dist = __esm({
22033
22034
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
22034
22035
  yr = class {
22035
22036
  constructor() {
22036
- this.storage = new he("hms-device-selection");
22037
+ this.storage = new me("hms-device-selection");
22037
22038
  this.remember = false;
22038
22039
  this.TAG = "[HMSDeviceStorage]";
22039
22040
  }
@@ -22067,15 +22068,15 @@ var init_dist = __esm({
22067
22068
  };
22068
22069
  J = new yr();
22069
22070
  kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
22070
- Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
22071
+ Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
22071
22072
  Ir = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ir || {});
22072
- Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
22073
- As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
22074
- Hs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Hs || {});
22075
- Cs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Cs || {});
22076
- Ls = ((e) => (e.CAPTION = "caption", e))(Ls || {});
22073
+ Cs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Cs || {});
22074
+ Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
22075
+ ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(ws || {});
22076
+ Ds = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Ds || {});
22077
+ _s = ((e) => (e.CAPTION = "caption", e))(_s || {});
22077
22078
  Rr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Rr || {});
22078
- ws = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(ws || {});
22079
+ Ns = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ns || {});
22079
22080
  Ar = class {
22080
22081
  constructor() {
22081
22082
  this.TAG = "[HMSIntersectionObserverWrapper]";
@@ -22103,7 +22104,7 @@ var init_dist = __esm({
22103
22104
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
22104
22105
  }
22105
22106
  };
22106
- Os = new Ar();
22107
+ Bs = new Ar();
22107
22108
  Hr = class {
22108
22109
  constructor() {
22109
22110
  this.TAG = "[HMSResizeObserverWrapper]";
@@ -22131,43 +22132,43 @@ var init_dist = __esm({
22131
22132
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
22132
22133
  }
22133
22134
  };
22134
- xs = new Hr();
22135
+ Vs = new Hr();
22135
22136
  Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
22136
22137
  Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
22137
- Vs = "https://event.100ms.live/v2/client/report";
22138
- Fs = "https://event-nonprod.100ms.live/v2/client/report";
22139
- Et = Math.pow(2, 31) - 1;
22140
- st = class {
22138
+ Ws = "https://event.100ms.live/v2/client/report";
22139
+ $s = "https://event-nonprod.100ms.live/v2/client/report";
22140
+ Pt = Math.pow(2, 31) - 1;
22141
+ rt = class {
22141
22142
  };
22142
- st.makePeerId = () => (0, import_uuid7.v4)();
22143
+ rt.makePeerId = () => (0, import_uuid7.v4)();
22143
22144
  V = (a2) => a2.room;
22144
- Co = (a2) => a2.errors;
22145
- qh = createSelector(Co, (a2) => a2.length === 0 ? null : a2.at(-1));
22146
- jh = createSelector(V, (a2) => a2.id);
22145
+ Do = (a2) => a2.errors;
22146
+ Yh = createSelector(Do, (a2) => a2.length === 0 ? null : a2.at(-1));
22147
+ Xh = createSelector(V, (a2) => a2.id);
22147
22148
  K = (a2) => a2.peers;
22148
22149
  fi = (a2) => a2.messages.byID;
22149
- zs = (a2) => a2.messages.allIDs;
22150
+ Zs = (a2) => a2.messages.allIDs;
22150
22151
  O = (a2) => a2.tracks;
22151
22152
  Vr = (a2) => a2.appData;
22152
- Lo = (a2) => a2.speakers;
22153
- xe = createSelector([V], (a2) => a2 && a2.isConnected);
22154
- zh = createSelector([xe, 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));
22155
- wo = (a2) => a2.hideLocalPeer;
22156
- Te = createSelector([V, K, wo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22157
- Do = createSelector(O, (a2) => Object.values(a2));
22153
+ _o = (a2) => a2.speakers;
22154
+ Oe = createSelector([V], (a2) => a2 && a2.isConnected);
22155
+ tm = 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));
22156
+ No = (a2) => a2.hideLocalPeer;
22157
+ fe = createSelector([V, K, No], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
22158
+ Oo = createSelector(O, (a2) => Object.values(a2));
22158
22159
  ie = createSelector(V, K, (a2, e) => e[a2.localPeer]);
22159
22160
  Ee = createSelector(V, (a2) => a2.localPeer);
22160
- Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22161
- Xh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22161
+ im = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
22162
+ rm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
22162
22163
  oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
22163
22164
  z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
22164
- _o = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22165
- Xs = createSelector([oe, z, _o], (a2, e, t) => {
22165
+ xo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
22166
+ ta = createSelector([oe, z, xo], (a2, e, t) => {
22166
22167
  let i = t ? [...t] : [];
22167
22168
  return a2 && i.unshift(a2), e && i.unshift(e), i;
22168
22169
  });
22169
- Zh = createSelector(Te, (a2) => a2.filter((e) => !e.isLocal));
22170
- em = createSelector(K, Lo, (a2, e) => {
22170
+ sm = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
22171
+ am = createSelector(K, _o, (a2, e) => {
22171
22172
  let t = Object.entries(e).sort((i, r) => {
22172
22173
  var n, d;
22173
22174
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -22181,107 +22182,107 @@ var init_dist = __esm({
22181
22182
  return null;
22182
22183
  });
22183
22184
  Gr = createSelector(ie, O, (a2, e) => {
22184
- let { video: t, audio: i } = Be(e, a2);
22185
+ let { video: t, audio: i } = Ue(e, a2);
22185
22186
  return !!(t || i);
22186
22187
  });
22187
- No = createSelector(K, O, (a2, e) => {
22188
+ Uo = createSelector(K, O, (a2, e) => {
22188
22189
  let t;
22189
22190
  for (let i in a2) {
22190
- let r = a2[i], { video: s, audio: o } = Be(e, r);
22191
+ let r = a2[i], { video: s, audio: o } = Ue(e, r);
22191
22192
  if (s)
22192
22193
  return r;
22193
22194
  o && !t && (t = r);
22194
22195
  }
22195
22196
  return t;
22196
22197
  });
22197
- im = createSelector(No, (a2) => !!a2);
22198
- rm = createSelector(K, O, (a2, e) => {
22198
+ nm = createSelector(Uo, (a2) => !!a2);
22199
+ cm = createSelector(K, O, (a2, e) => {
22199
22200
  for (let t in a2) {
22200
- let i = a2[t], { audio: r, video: s } = Be(e, i);
22201
+ let i = a2[t], { audio: r, video: s } = Ue(e, i);
22201
22202
  if (!s && r)
22202
22203
  return i;
22203
22204
  }
22204
22205
  });
22205
- sm = createSelector(K, O, (a2, e) => {
22206
+ dm = createSelector(K, O, (a2, e) => {
22206
22207
  let t = [], i = [];
22207
22208
  for (let r in a2) {
22208
- let s = a2[r], { video: o, audio: n } = Be(e, s);
22209
+ let s = a2[r], { video: o, audio: n } = Ue(e, s);
22209
22210
  o ? t.push(s) : n && i.push(s);
22210
22211
  }
22211
22212
  return t.concat(i);
22212
22213
  });
22213
- am = createSelector(K, O, (a2, e) => {
22214
+ lm = createSelector(K, O, (a2, e) => {
22214
22215
  for (let t in e) {
22215
22216
  let i = e[t];
22216
- if (St(i) && mt(i) && i.peerId)
22217
+ if (mt(i) && ht(i) && i.peerId)
22217
22218
  return a2[i.peerId];
22218
22219
  }
22219
22220
  });
22220
- om = createSelector(K, O, (a2, e) => {
22221
+ um = createSelector(K, O, (a2, e) => {
22221
22222
  for (let t in e) {
22222
22223
  let i = e[t];
22223
22224
  if (ri(i) && i.peerId)
22224
22225
  return a2[i.peerId];
22225
22226
  }
22226
22227
  });
22227
- nm = createSelector(Do, (a2) => a2.filter(ds));
22228
- cm = createSelector(zs, (a2) => a2.length);
22229
- dm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22230
- At = createSelector(zs, fi, (a2, e) => {
22228
+ pm = createSelector(Oo, (a2) => a2.filter(ds));
22229
+ hm = createSelector(Zs, (a2) => a2.length);
22230
+ mm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22231
+ At = createSelector(Zs, fi, (a2, e) => {
22231
22232
  let t = [];
22232
22233
  return a2.forEach((i) => {
22233
22234
  t.push(e[i]);
22234
22235
  }), t;
22235
22236
  });
22236
- Oo = createSelector(At, (a2) => a2.filter((e) => {
22237
+ Bo = createSelector(At, (a2) => a2.filter((e) => {
22237
22238
  var t;
22238
22239
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22239
22240
  }));
22240
- lm = createSelector(Oo, (a2) => a2.filter((e) => !e.read).length);
22241
+ Sm = createSelector(Bo, (a2) => a2.filter((e) => !e.read).length);
22241
22242
  re = createSelector([V], (a2) => a2 && a2.roomState);
22242
- ea = createSelector(re, (a2) => a2 === "Preview");
22243
- um = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22244
- pm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22245
- fe = (a2) => a2.roles;
22246
- hm = createSelector([fe], (a2) => Object.keys(a2));
22247
- ot = createSelector([ie, fe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22248
- xo = (a2) => {
22243
+ ra = createSelector(re, (a2) => a2 === "Preview");
22244
+ gm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
22245
+ Tm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22246
+ ve = (a2) => a2.roles;
22247
+ fm = createSelector([ve], (a2) => Object.keys(a2));
22248
+ at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22249
+ Vo = (a2) => {
22249
22250
  var e;
22250
22251
  return (e = a2.preview) == null ? void 0 : e.asRole;
22251
22252
  };
22252
- ta = createSelector([xo, fe], (a2, e) => a2 ? e[a2] : null);
22253
- mm = createSelector([ot], (a2) => {
22253
+ sa = createSelector([Vo, ve], (a2, e) => a2 ? e[a2] : null);
22254
+ vm = createSelector([at], (a2) => {
22254
22255
  var e;
22255
22256
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22256
22257
  });
22257
- ia = createSelector(ot, (a2) => a2 == null ? void 0 : a2.permissions);
22258
- Sm = createSelector(V, (a2) => a2.recording);
22259
- gm = createSelector(V, (a2) => a2.rtmp);
22260
- Tm = createSelector(V, (a2) => a2.hls);
22261
- fm = createSelector(V, (a2) => a2.transcriptions);
22262
- vm = createSelector(V, (a2) => a2.sessionId);
22263
- Mm = createSelector(V, (a2) => a2.startedAt);
22264
- ym = createSelector(V, (a2) => !!a2.isLargeRoom);
22265
- km = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22266
- Pm = createSelector(V, (a2) => !!a2.isVBEnabled);
22267
- Em = createSelector(V, (a2) => a2.effectsKey);
22268
- ra = (a2) => a2.polls;
22269
- Am = createSelector(Te, (a2) => a2.filter((e) => e.isHandRaised));
22270
- Uo = (a2) => a2.whiteboards;
22271
- Hm = createSelector(Uo, (a2) => Object.values(a2)[0]);
22272
- aa = (a2 = "audio") => (e) => e.playlist[a2].list;
22258
+ aa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
22259
+ Mm = createSelector(V, (a2) => a2.recording);
22260
+ ym = createSelector(V, (a2) => a2.rtmp);
22261
+ km = createSelector(V, (a2) => a2.hls);
22262
+ Em = createSelector(V, (a2) => a2.transcriptions);
22263
+ Pm = createSelector(V, (a2) => a2.sessionId);
22264
+ bm = createSelector(V, (a2) => a2.startedAt);
22265
+ Im = createSelector(V, (a2) => !!a2.isLargeRoom);
22266
+ Rm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
22267
+ Am = createSelector(V, (a2) => !!a2.isVBEnabled);
22268
+ Hm = createSelector(V, (a2) => a2.effectsKey);
22269
+ oa = (a2) => a2.polls;
22270
+ Dm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
22271
+ Fo = (a2) => a2.whiteboards;
22272
+ _m = createSelector(Fo, (a2) => Object.values(a2)[0]);
22273
+ ca = (a2 = "audio") => (e) => e.playlist[a2].list;
22273
22274
  Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22274
- oa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22275
- na = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22276
- ca = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22277
- da = (a2 = "audio") => (e) => e.playlist[a2].volume;
22278
- la = (a2 = "audio") => createSelector(aa(a2), (e) => Object.values(e));
22279
- ua = (a2 = "audio") => createSelector(aa(a2), Wr(a2), (e, t) => {
22275
+ da = (a2 = "audio") => (e) => e.playlist[a2].progress;
22276
+ la = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22277
+ ua = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22278
+ pa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22279
+ ha = (a2 = "audio") => createSelector(ca(a2), (e) => Object.values(e));
22280
+ ma = (a2 = "audio") => createSelector(ca(a2), Wr(a2), (e, t) => {
22280
22281
  if (t.id)
22281
22282
  return e[t.id];
22282
22283
  });
22283
- pa = { selection: Wr("audio"), progress: oa("audio"), currentTime: na("audio"), playbackRate: ca("audio"), volume: da("audio"), list: la("audio"), selectedItem: ua("audio") };
22284
- ha = { selection: Wr("video"), progress: oa("video"), currentTime: na("video"), playbackRate: ca("video"), volume: da("video"), list: la("video"), selectedItem: ua("video") };
22284
+ Sa = { selection: Wr("audio"), progress: da("audio"), currentTime: la("audio"), playbackRate: ua("audio"), volume: pa("audio"), list: ha("audio"), selectedItem: ma("audio") };
22285
+ ga = { selection: Wr("video"), progress: da("video"), currentTime: la("video"), playbackRate: ua("video"), volume: pa("video"), list: ha("video"), selectedItem: ma("video") };
22285
22286
  Ht = "HMS-Store:";
22286
22287
  b = class {
22287
22288
  static v(e, ...t) {
@@ -22351,124 +22352,124 @@ var init_dist = __esm({
22351
22352
  b.level = 0;
22352
22353
  $r = (a2, e) => e;
22353
22354
  Ct = (a2, e) => e;
22354
- ma = (a2, e) => e;
22355
- Bo = (a2, e) => e;
22356
- Vo = (a2, e) => e;
22355
+ Ta = (a2, e) => e;
22356
+ Go = (a2, e) => e;
22357
+ Wo = (a2, e) => e;
22357
22358
  q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
22358
22359
  Kr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
22359
- Fo = createSelector([O, Ct], (a2, e) => {
22360
+ $o = createSelector([O, Ct], (a2, e) => {
22360
22361
  if (!e)
22361
22362
  return null;
22362
22363
  let t = a2[e];
22363
22364
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22364
22365
  });
22365
- Go = createSelector([O, Ct], (a2, e) => {
22366
+ Ko = createSelector([O, Ct], (a2, e) => {
22366
22367
  if (!e)
22367
22368
  return null;
22368
22369
  let t = a2[e];
22369
22370
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22370
22371
  });
22371
- Wo = createSelector([O, Ct], (a2, e) => {
22372
+ qo = createSelector([O, Ct], (a2, e) => {
22372
22373
  if (!e)
22373
22374
  return null;
22374
22375
  let t = a2[e];
22375
22376
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22376
22377
  });
22377
- $o = createSelector([O, Ct], (a2, e) => {
22378
+ jo = createSelector([O, Ct], (a2, e) => {
22378
22379
  if (!e)
22379
22380
  return null;
22380
22381
  let t = a2[e];
22381
22382
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22382
22383
  });
22383
- Ko = createSelector([ra, Vo], (a2, e) => e ? a2[e] : null);
22384
+ Jo = createSelector([oa, Wo], (a2, e) => e ? a2[e] : null);
22384
22385
  Y = A(q);
22385
- Vm = A(createSelector([Vr, Bo], (a2, e) => {
22386
+ Km = A(createSelector([Vr, Go], (a2, e) => {
22386
22387
  if (a2)
22387
22388
  return e ? a2[e] : a2;
22388
22389
  }));
22389
- Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22390
- $m = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22390
+ Jm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
22391
+ Qm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
22391
22392
  vi = A(Kr);
22392
- Sa = A(Fo);
22393
- Km = A(Go);
22394
- qm = A(Wo);
22395
- jm = A($o);
22396
- qo = A((a2, e) => {
22393
+ fa = A($o);
22394
+ zm = A(Ko);
22395
+ Ym = A(qo);
22396
+ Xm = A(jo);
22397
+ Qo = A((a2, e) => {
22397
22398
  let t = q(a2, e);
22398
22399
  if (t && t.videoTrack && t.videoTrack !== "")
22399
22400
  return a2.tracks[t.videoTrack];
22400
22401
  });
22401
- jo = A((a2, e) => {
22402
+ zo = A((a2, e) => {
22402
22403
  let t = q(a2, e);
22403
22404
  if (t && t.audioTrack && t.audioTrack !== "")
22404
22405
  return a2.tracks[t.audioTrack];
22405
22406
  });
22406
- Qm = A((a2, e) => {
22407
+ eS = A((a2, e) => {
22407
22408
  let t = q(a2, e);
22408
22409
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22409
22410
  });
22410
- ga = (a2, e) => e ? a2.speakers[e] : null;
22411
- zm = A(createSelector(ga, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22412
- Jo = (a2, e) => {
22413
- let t = jo(e)(a2);
22414
- return ga(a2, t == null ? void 0 : t.id);
22415
- };
22416
- Ym = A(createSelector(Jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22417
- Xm = A((a2, e) => {
22411
+ va = (a2, e) => e ? a2.speakers[e] : null;
22412
+ tS = A(createSelector(va, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22413
+ Yo = (a2, e) => {
22414
+ let t = zo(e)(a2);
22415
+ return va(a2, t == null ? void 0 : t.id);
22416
+ };
22417
+ iS = A(createSelector(Yo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22418
+ rS = A((a2, e) => {
22418
22419
  if (e)
22419
22420
  return a2.connectionQualities[e];
22420
22421
  });
22421
- Zm = A((a2, e) => {
22422
+ sS = A((a2, e) => {
22422
22423
  let t = q(a2, e);
22423
22424
  if (t) {
22424
- let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ht(a2.tracks[r]));
22425
+ let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
22425
22426
  return i ? a2.tracks[i] : void 0;
22426
22427
  }
22427
22428
  });
22428
- eS = A(createSelector(O, q, (a2, e) => {
22429
+ aS = A(createSelector(O, q, (a2, e) => {
22429
22430
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22430
22431
  let r = a2[i];
22431
- return St(r) && mt(r);
22432
+ return mt(r) && ht(r);
22432
22433
  });
22433
22434
  return t ? a2[t] : void 0;
22434
22435
  }));
22435
- tS = A(createSelector(O, q, (a2, e) => {
22436
+ oS = A(createSelector(O, q, (a2, e) => {
22436
22437
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22437
22438
  let r = a2[i];
22438
- return St(r) && ht(r);
22439
+ return mt(r) && pt(r);
22439
22440
  });
22440
22441
  return t ? a2[t] : void 0;
22441
22442
  }));
22442
- iS = A(createSelector(O, q, (a2, e) => {
22443
+ nS = A(createSelector(O, q, (a2, e) => {
22443
22444
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22444
22445
  let r = a2[i];
22445
- return ri(r) && ht(r);
22446
+ return ri(r) && pt(r);
22446
22447
  });
22447
22448
  return t ? a2[t] : void 0;
22448
22449
  }));
22449
- Ta = A(createSelector(O, q, (a2, e) => Be(a2, e)));
22450
- fa = (a2) => createSelector(Ta(a2), (e) => e.audio);
22451
- sS = A((a2, e) => {
22450
+ Ma = A(createSelector(O, q, (a2, e) => Ue(a2, e)));
22451
+ ya = (a2) => createSelector(Ma(a2), (e) => e.audio);
22452
+ dS = A((a2, e) => {
22452
22453
  let t = q(a2, e);
22453
- return Je(a2, t == null ? void 0 : t.audioTrack);
22454
+ return je(a2, t == null ? void 0 : t.audioTrack);
22454
22455
  });
22455
- aS = A((a2, e) => {
22456
+ lS = A((a2, e) => {
22456
22457
  let t = q(a2, e);
22457
- return Je(a2, t == null ? void 0 : t.videoTrack);
22458
+ return je(a2, t == null ? void 0 : t.videoTrack);
22458
22459
  });
22459
- va = A((a2, e) => {
22460
+ ka = A((a2, e) => {
22460
22461
  if (e && a2.tracks[e])
22461
22462
  return a2.tracks[e].volume === 0;
22462
22463
  });
22463
- oS = A((a2, e) => {
22464
+ uS = A((a2, e) => {
22464
22465
  let t = q(a2, e);
22465
- return va(t == null ? void 0 : t.audioTrack)(a2);
22466
+ return ka(t == null ? void 0 : t.audioTrack)(a2);
22466
22467
  });
22467
- nS = A((a2, e) => {
22468
- let t = fa(e)(a2);
22469
- return va(t == null ? void 0 : t.id)(a2);
22468
+ pS = A((a2, e) => {
22469
+ let t = ya(e)(a2);
22470
+ return ka(t == null ? void 0 : t.id)(a2);
22470
22471
  });
22471
- Ma = A((a2, e) => {
22472
+ Ea = A((a2, e) => {
22472
22473
  let t = Kr(a2, e);
22473
22474
  if (t) {
22474
22475
  if (t.type !== "audio") {
@@ -22478,15 +22479,15 @@ var init_dist = __esm({
22478
22479
  return t.volume;
22479
22480
  }
22480
22481
  });
22481
- cS = A((a2, e) => {
22482
+ hS = A((a2, e) => {
22482
22483
  let t = q(a2, e);
22483
- return Ma(t == null ? void 0 : t.audioTrack)(a2);
22484
+ return Ea(t == null ? void 0 : t.audioTrack)(a2);
22484
22485
  });
22485
- dS = A((a2, e) => {
22486
- let t = fa(e)(a2);
22487
- return Ma(t == null ? void 0 : t.id)(a2);
22486
+ mS = A((a2, e) => {
22487
+ let t = ya(e)(a2);
22488
+ return Ea(t == null ? void 0 : t.id)(a2);
22488
22489
  });
22489
- lS = A((a2, e) => {
22490
+ SS = A((a2, e) => {
22490
22491
  let t = Kr(a2, e);
22491
22492
  if (t) {
22492
22493
  if (t.type !== "video") {
@@ -22496,53 +22497,53 @@ var init_dist = __esm({
22496
22497
  return t.layer;
22497
22498
  }
22498
22499
  });
22499
- ya = createSelector([At, Ee, $r], (a2, e, t) => {
22500
+ Pa = createSelector([At, Ee, $r], (a2, e, t) => {
22500
22501
  if (t)
22501
22502
  return a2.filter((i) => {
22502
22503
  var r;
22503
22504
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22504
22505
  });
22505
22506
  });
22506
- ka = createSelector([At, ma], (a2, e) => {
22507
+ ba = createSelector([At, Ta], (a2, e) => {
22507
22508
  if (e)
22508
22509
  return a2.filter((t) => {
22509
22510
  var i, r;
22510
22511
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22511
22512
  });
22512
22513
  });
22513
- Qo = createSelector(At, (a2) => a2.filter((e) => {
22514
+ Xo = createSelector(At, (a2) => a2.filter((e) => {
22514
22515
  var t;
22515
22516
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22516
22517
  }));
22517
- zo = createSelector([ka, ma], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22518
- Yo = createSelector([ya, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22519
- uS = createSelector(Qo, (a2) => a2.filter((e) => !e.read).length);
22520
- pS = A(ya);
22521
- hS = A(ka);
22522
- mS = A(zo);
22523
- SS = A(Yo);
22524
- Pa = A(Ko);
22525
- RS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
22518
+ Zo = createSelector([ba, Ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22519
+ en = createSelector([Pa, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22520
+ gS = createSelector(Xo, (a2) => a2.filter((e) => !e.read).length);
22521
+ TS = A(Pa);
22522
+ fS = A(ba);
22523
+ vS = A(Zo);
22524
+ MS = A(en);
22525
+ Ia = A(Jo);
22526
+ wS = createSelector([K, O], (a2, e) => Object.values(a2).map((i) => {
22526
22527
  var r;
22527
22528
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22528
22529
  }));
22529
- Xo = (a2) => a2.roleChangeRequests[0] || null;
22530
- AS = createSelector([Xo, K, fe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22531
- HS = createSelector([ot], (a2) => gt(a2));
22532
- CS = createSelector([ta], (a2) => gt(a2));
22533
- en = createSelector([z, O], (a2, e) => {
22530
+ tn = (a2) => a2.roleChangeRequests[0] || null;
22531
+ DS = createSelector([tn, K, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22532
+ _S = createSelector([at], (a2) => St(a2));
22533
+ NS = createSelector([sa], (a2) => St(a2));
22534
+ sn = createSelector([z, O], (a2, e) => {
22534
22535
  let t = null;
22535
22536
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22536
22537
  });
22537
- tn = createSelector([oe, O], (a2, e) => {
22538
+ an = createSelector([oe, O], (a2, e) => {
22538
22539
  let t = null;
22539
22540
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22540
22541
  });
22541
- an = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(an || {});
22542
+ cn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(cn || {});
22542
22543
  zr = class {
22543
22544
  constructor() {
22544
22545
  this.TAG = "[HTTPAnalyticsTransport]";
22545
- this.failedEvents = new he("client-events");
22546
+ this.failedEvents = new me("client-events");
22546
22547
  this.isConnected = true;
22547
22548
  this.env = null;
22548
22549
  this.websocketURL = "";
@@ -22558,7 +22559,7 @@ var init_dist = __esm({
22558
22559
  this.addEventToStorage(e);
22559
22560
  return;
22560
22561
  }
22561
- let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
22562
+ let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Ws : $s;
22562
22563
  fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
22563
22564
  if (r.status === 401) {
22564
22565
  this.removeFromStorage(e);
@@ -22584,66 +22585,66 @@ var init_dist = __esm({
22584
22585
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22585
22586
  }
22586
22587
  };
22587
- Ie = new zr();
22588
+ be = new zr();
22588
22589
  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 || {});
22589
22590
  ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
22590
- ut = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ut || {});
22591
- En = (a2) => a2.localPeer.id;
22592
- bn = (a2) => a2.localPeer.audioTrack;
22593
- In = (a2) => a2.localPeer.videoTrack;
22594
- Rn = (a2, e) => e;
22595
- qa = (a2, e) => e;
22596
- An = (a2) => a2.remoteTrackStats;
22597
- ja = (a2) => a2.peerStats;
22591
+ lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
22592
+ Rn = (a2) => a2.localPeer.id;
22593
+ An = (a2) => a2.localPeer.audioTrack;
22594
+ Hn = (a2) => a2.localPeer.videoTrack;
22595
+ Cn = (a2, e) => e;
22596
+ Qa = (a2, e) => e;
22597
+ Ln = (a2) => a2.remoteTrackStats;
22598
+ za = (a2) => a2.peerStats;
22598
22599
  ts = (a2) => a2.localTrackStats;
22599
- Ae = createSelector([ja, En], (a2, e) => a2[e]);
22600
- Hn = createSelector(Ae, (a2) => {
22600
+ Re = createSelector([za, Rn], (a2, e) => a2[e]);
22601
+ wn = createSelector(Re, (a2) => {
22601
22602
  var e;
22602
22603
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22603
22604
  });
22604
- Cn = createSelector(Ae, (a2) => {
22605
+ Dn = createSelector(Re, (a2) => {
22605
22606
  var e;
22606
22607
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22607
22608
  });
22608
- Ln = createSelector(Ae, (a2) => {
22609
+ _n = createSelector(Re, (a2) => {
22609
22610
  var e;
22610
22611
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22611
22612
  });
22612
- wn = createSelector(Ae, (a2) => {
22613
+ Nn = createSelector(Re, (a2) => {
22613
22614
  var e;
22614
22615
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22615
22616
  });
22616
- Dn = createSelector(Ae, (a2) => {
22617
+ On = createSelector(Re, (a2) => {
22617
22618
  var e;
22618
22619
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22619
22620
  });
22620
- _n = createSelector(Ae, (a2) => {
22621
+ xn = createSelector(Re, (a2) => {
22621
22622
  var e;
22622
22623
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22623
22624
  });
22624
- Nn = createSelector(Ae, (a2) => {
22625
+ Un = createSelector(Re, (a2) => {
22625
22626
  var e;
22626
22627
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22627
22628
  });
22628
- On = createSelector(Ae, (a2) => {
22629
+ Bn = createSelector(Re, (a2) => {
22629
22630
  var e;
22630
22631
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22631
22632
  });
22632
- xn = createSelector([ja, Rn], (a2, e) => e ? a2[e] : void 0);
22633
- Un = createSelector([An, qa], (a2, e) => e ? a2[e] : void 0);
22634
- is = createSelector([ts, qa], (a2, e) => e ? a2[e] : void 0);
22635
- Bn = A(xn);
22636
- Vn = A(Un);
22637
- Fn = createSelector([ts, bn], (a2, e) => {
22633
+ Vn = createSelector([za, Cn], (a2, e) => e ? a2[e] : void 0);
22634
+ Fn = createSelector([Ln, Qa], (a2, e) => e ? a2[e] : void 0);
22635
+ is = createSelector([ts, Qa], (a2, e) => e ? a2[e] : void 0);
22636
+ Gn = A(Vn);
22637
+ Wn = A(Fn);
22638
+ $n = createSelector([ts, An], (a2, e) => {
22638
22639
  var t;
22639
22640
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22640
22641
  });
22641
- Gn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22642
- Wn = createSelector([ts, In], (a2, e) => {
22642
+ Kn = A(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22643
+ qn = createSelector([ts, Hn], (a2, e) => {
22643
22644
  var t;
22644
22645
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22645
22646
  });
22646
- $n = A(createSelector(is, (a2) => a2));
22647
+ jn = A(createSelector(is, (a2) => a2));
22647
22648
  }
22648
22649
  });
22649
22650
 
@@ -22768,7 +22769,7 @@ var init_StreamActions = __esm({
22768
22769
  };
22769
22770
  RecordingPauseStatus = () => {
22770
22771
  const recording = (0, import_react_sdk40.useHMSStore)(import_react_sdk40.selectRecordingState);
22771
- if (recording.hls && recording.hls.state === Rs.PAUSED) {
22772
+ if (recording.hls && recording.hls.state === Cs.PAUSED) {
22772
22773
  return /* @__PURE__ */ import_react88.default.createElement(
22773
22774
  Tooltip,
22774
22775
  {
@@ -28166,7 +28167,7 @@ var init_Chat = __esm({
28166
28167
  const listRef = (0, import_react153.useRef)(null);
28167
28168
  const hmsActions = (0, import_react_sdk73.useHMSActions)();
28168
28169
  const vanillaStore = (0, import_react_sdk73.useHMSVanillaStore)();
28169
- const { enabled: isChatEnabled = true } = (0, import_react_sdk73.useHMSStore)(Fm("chatState" /* CHAT_STATE */)) || {};
28170
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk73.useHMSStore)(qm("chatState" /* CHAT_STATE */)) || {};
28170
28171
  const isMobile = (0, import_react_use26.useMedia)(config.media.md);
28171
28172
  const isMobileHLSStream = useMobileHLSStream();
28172
28173
  const isLandscapeStream = useLandscapeHLSStream();
@@ -28256,7 +28257,7 @@ var init_Chat = __esm({
28256
28257
  scrollToBottom,
28257
28258
  listRef
28258
28259
  }) => {
28259
- const unreadCount = (0, import_react_sdk73.useHMSStore)(dm);
28260
+ const unreadCount = (0, import_react_sdk73.useHMSStore)(mm);
28260
28261
  if (!unreadCount || !listRef.current) {
28261
28262
  return null;
28262
28263
  }
@@ -29366,7 +29367,7 @@ var init_VBPicker = __esm({
29366
29367
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
29367
29368
  const hmsActions = (0, import_react_sdk82.useHMSActions)();
29368
29369
  const localPeer = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeer);
29369
- const role = (0, import_react_sdk82.useHMSStore)(ot);
29370
+ const role = (0, import_react_sdk82.useHMSStore)(at);
29370
29371
  const isVideoOn = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLocalVideoEnabled);
29371
29372
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
29372
29373
  const trackSelector = (0, import_react_sdk82.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -29375,12 +29376,12 @@ var init_VBPicker = __esm({
29375
29376
  const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
29376
29377
  const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
29377
29378
  const [isBlurSupported, setIsBlurSupported] = (0, import_react163.useState)(false);
29378
- const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(km);
29379
- const effectsKey = (0, import_react_sdk82.useHMSStore)(Em);
29379
+ const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(Rm);
29380
+ const effectsKey = (0, import_react_sdk82.useHMSStore)(Hm);
29380
29381
  const isMobile = (0, import_react_use32.useMedia)(config.media.md);
29381
29382
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
29382
29383
  const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
29383
- const background = (0, import_react_sdk82.useHMSStore)(Vm(APP_DATA.background));
29384
+ const background = (0, import_react_sdk82.useHMSStore)(Km(APP_DATA.background));
29384
29385
  const mediaList = backgroundMedia.map((media) => media.url || "");
29385
29386
  const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
29386
29387
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -31308,9 +31309,9 @@ var init_ScreenshareLayout = __esm({
31308
31309
  }
31309
31310
  });
31310
31311
 
31311
- // ../../../../../../../tmp/tmp-2875-MdD3EtZA4DrU/1917000088a2/index.css
31312
- var init_a2 = __esm({
31313
- "../../../../../../../tmp/tmp-2875-MdD3EtZA4DrU/1917000088a2/index.css"() {
31312
+ // ../../../../../../../tmp/tmp-2790-UYZDfK0Vw0WG/19197fbfd7f1/index.css
31313
+ var init_fbfd7f1 = __esm({
31314
+ "../../../../../../../tmp/tmp-2790-UYZDfK0Vw0WG/19197fbfd7f1/index.css"() {
31314
31315
  }
31315
31316
  });
31316
31317
 
@@ -31332,7 +31333,7 @@ var init_WhiteboardLayout = __esm({
31332
31333
  init_ProminenceLayout();
31333
31334
  init_useUISettings();
31334
31335
  init_constants();
31335
- init_a2();
31336
+ init_fbfd7f1();
31336
31337
  WhiteboardEmbed = () => {
31337
31338
  const isMobile = (0, import_react_use44.useMedia)(config.media.md);
31338
31339
  const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
@@ -35608,7 +35609,7 @@ function Notifications() {
35608
35609
  }, []);
35609
35610
  (0, import_react_sdk121.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
35610
35611
  (0, import_react231.useEffect)(() => {
35611
- var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
35612
+ var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
35612
35613
  if (!notification || isNotificationDisabled) {
35613
35614
  return;
35614
35615
  }
@@ -35649,7 +35650,7 @@ function Notifications() {
35649
35650
  });
35650
35651
  break;
35651
35652
  case import_react_sdk121.HMSNotificationTypes.ROLE_UPDATED: {
35652
- if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
35653
+ if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
35653
35654
  ToastManager.addToast({
35654
35655
  title: `You are now a ${notification.data.roleName}`
35655
35656
  });
@@ -36863,25 +36864,25 @@ var require_object_assign = __commonJS({
36863
36864
  }
36864
36865
  module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
36865
36866
  var from;
36866
- var to2 = toObject(target);
36867
+ var to = toObject(target);
36867
36868
  var symbols;
36868
36869
  for (var s = 1; s < arguments.length; s++) {
36869
36870
  from = Object(arguments[s]);
36870
36871
  for (var key in from) {
36871
36872
  if (hasOwnProperty.call(from, key)) {
36872
- to2[key] = from[key];
36873
+ to[key] = from[key];
36873
36874
  }
36874
36875
  }
36875
36876
  if (getOwnPropertySymbols) {
36876
36877
  symbols = getOwnPropertySymbols(from);
36877
36878
  for (var i = 0; i < symbols.length; i++) {
36878
36879
  if (propIsEnumerable.call(from, symbols[i])) {
36879
- to2[symbols[i]] = from[symbols[i]];
36880
+ to[symbols[i]] = from[symbols[i]];
36880
36881
  }
36881
36882
  }
36882
36883
  }
36883
36884
  }
36884
- return to2;
36885
+ return to;
36885
36886
  };
36886
36887
  }
36887
36888
  });