@100mslive/roomkit-react 0.3.10-alpha.8 → 0.3.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,13 +14,13 @@ var __export = (target, all) => {
14
14
  for (var name in all)
15
15
  __defProp(target, name, { get: all[name], enumerable: true });
16
16
  };
17
- var __copyProps = (to, from, except, desc) => {
17
+ var __copyProps = (to2, from, except, desc) => {
18
18
  if (from && typeof from === "object" || typeof from === "function") {
19
19
  for (let key of __getOwnPropNames(from))
20
- if (!__hasOwnProp.call(to, key) && key !== except)
21
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
+ if (!__hasOwnProp.call(to2, key) && key !== except)
21
+ __defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
22
  }
23
- return to;
23
+ return to2;
24
24
  };
25
25
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
26
  // If the importer is in node compatibility mode or this is not an ESM
@@ -35,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
35
35
  var define_process_env_default;
36
36
  var init_define_process_env = __esm({
37
37
  "<define:process.env>"() {
38
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_19de13ee-e652-4252-9d83-134924d04185", 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.0-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.2 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.10-alpha.8", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_19de13ee-e652-4252-9d83-134924d04185", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.10-alpha.8", 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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "585", 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.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240422.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.2/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:20529", 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.10-alpha.8", 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: "9013624750", 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: "c505099f3f09dd37edce123bf35726aeb76e92a4", 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: "aa652fdd8aa7906f7c73bd39174a446838a70653cbc419124fca491c2592c90a", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/feat/hms-whiteboard", 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--1715237902780-0.4297817639714707:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715237902560-0.4003214149116143:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715237877268-0.019359051415985595:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715237877088-0.5483593938349085:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_cd7ef8ff-80b9-4d65-914d-e98df1378691", INVOCATION_ID: "b4925d4ca205450eba0f510305f1b673", 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: "534", GITHUB_TRIGGERING_ACTOR: "raviteja83", 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_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 4", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "feat/hms-whiteboard", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.10-alpha.8", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.10-alpha.8", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", 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: "c505099f3f09dd37edce123bf35726aeb76e92a4", 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/feat/hms-whiteboard", GITHUB_ACTOR: "raviteja83", 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_19de13ee-e652-4252-9d83-134924d04185", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", 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_19de13ee-e652-4252-9d83-134924d04185", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_19de13ee-e652-4252-9d83-134924d04185" };
38
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f2d4d8fa-69de-4013-b47e-dfd0d99d0445", 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.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.2 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.10", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f2d4d8fa-69de-4013-b47e-dfd0d99d0445", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.10", 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.8", 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.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.10/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240516.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.3/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:19727", 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.10", 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: "9128205545", 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: "391cefe10a5dd5c200c59c577eb46741b5476d8f", 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: "e8fb67942d765b3866b063925aaa12cbc9eb9c9f5ecb12d82107757c7457cdc7", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1715948978310-0.7846134304356533:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715948978114-0.05450964240104339:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715948952915-0.2912634530001694:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1715948952733-0.5043715639662745:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_72f7fc5d-cadd-47f9-a5f2-95001b4fa72c", INVOCATION_ID: "7cb1435e682d49c4a1d59825d2b5a40e", 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: "545", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 57", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.10", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.10", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "391cefe10a5dd5c200c59c577eb46741b5476d8f", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f2d4d8fa-69de-4013-b47e-dfd0d99d0445", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f2d4d8fa-69de-4013-b47e-dfd0d99d0445", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f2d4d8fa-69de-4013-b47e-dfd0d99d0445" };
39
39
  }
40
40
  });
41
41
 
@@ -15169,7 +15169,7 @@ var RoleChangeContent = ({
15169
15169
  isMobile = false
15170
15170
  }) => {
15171
15171
  const roles = useHMSStore15(selectAvailableRoleNames3).filter(
15172
- (role) => role !== peer?.roleName || role !== "__internal_recorder"
15172
+ (role) => role !== peer?.roleName && role !== "__internal_recorder"
15173
15173
  );
15174
15174
  const [selectedRole, setRole] = useState16(roles.filter((role) => role !== peer?.roleName)?.[0] || peer?.roleName);
15175
15175
  const hmsActions = useHMSActions11();
@@ -16316,8 +16316,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
16316
16316
  // ../hms-video-store/dist/index.js
16317
16317
  var import_ua_parser_js = __toESM(require_ua_parser());
16318
16318
  var import_lodash3 = __toESM(require_lodash2());
16319
- import { v4 as $a } from "uuid";
16320
- import { v4 as Ga } from "uuid";
16319
+ import { v4 as Ka } from "uuid";
16320
+ import { v4 as Wa } from "uuid";
16321
16321
 
16322
16322
  // ../../node_modules/webrtc-adapter/src/js/adapter_core.js
16323
16323
  init_define_process_env();
@@ -18414,24 +18414,24 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
18414
18414
 
18415
18415
  // ../hms-video-store/dist/index.js
18416
18416
  var import_lodash4 = __toESM(require_lodash2());
18417
- import { v4 as eo } from "uuid";
18418
- import { v4 as so } from "uuid";
18419
- import { v4 as co } from "uuid";
18420
- import { EventEmitter2 as lo } from "eventemitter2";
18421
- var wt = __toESM(require_lib());
18422
- import { EventEmitter2 as xo } from "eventemitter2";
18423
- import { v4 as Vo } from "uuid";
18424
- import { EventEmitter2 as Fo } from "eventemitter2";
18425
- import Go from "eventemitter2";
18426
- import { v4 as Wo } from "uuid";
18427
- import { v4 as qo } from "uuid";
18428
- var Ha = Object.defineProperty;
18429
- var Ca = Object.defineProperties;
18430
- var La = Object.getOwnPropertyDescriptors;
18417
+ import { v4 as to } from "uuid";
18418
+ import { v4 as ao } from "uuid";
18419
+ import { v4 as lo } from "uuid";
18420
+ import { EventEmitter2 as uo } from "eventemitter2";
18421
+ var Dt = __toESM(require_lib());
18422
+ import { EventEmitter2 as Uo } from "eventemitter2";
18423
+ import { v4 as Fo } from "uuid";
18424
+ import { EventEmitter2 as Go } from "eventemitter2";
18425
+ import Wo from "eventemitter2";
18426
+ import { v4 as $o } from "uuid";
18427
+ import { v4 as jo } from "uuid";
18428
+ var Ca = Object.defineProperty;
18429
+ var La = Object.defineProperties;
18430
+ var wa = Object.getOwnPropertyDescriptors;
18431
18431
  var Ft = Object.getOwnPropertySymbols;
18432
18432
  var Kr = Object.prototype.hasOwnProperty;
18433
18433
  var qr = Object.prototype.propertyIsEnumerable;
18434
- var $r = (a2, e, t) => e in a2 ? Ha(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18434
+ var $r = (a2, e, t) => e in a2 ? Ca(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
18435
18435
  var S = (a2, e) => {
18436
18436
  for (var t in e || (e = {}))
18437
18437
  Kr.call(e, t) && $r(a2, t, e[t]);
@@ -18440,7 +18440,7 @@ var S = (a2, e) => {
18440
18440
  qr.call(e, t) && $r(a2, t, e[t]);
18441
18441
  return a2;
18442
18442
  };
18443
- var M = (a2, e) => Ca(a2, La(e));
18443
+ var M = (a2, e) => La(a2, wa(e));
18444
18444
  var Zi = (a2, e) => {
18445
18445
  var t = {};
18446
18446
  for (var i in a2)
@@ -18450,21 +18450,21 @@ var Zi = (a2, e) => {
18450
18450
  e.indexOf(i) < 0 && qr.call(a2, i) && (t[i] = a2[i]);
18451
18451
  return t;
18452
18452
  };
18453
- var _a = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18454
- var nr = _a((yc, Wa) => {
18455
- Wa.exports = { version: "0.12.10-alpha.8", 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"] };
18453
+ var Na = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18454
+ var nr = Na((kc, $a) => {
18455
+ $a.exports = { version: "0.12.10", 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"] };
18456
18456
  });
18457
18457
  var er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
18458
- var Na = ((e) => (e.CHAT = "chat", e))(Na || {});
18458
+ var Oa = ((e) => (e.CHAT = "chat", e))(Oa || {});
18459
18459
  var jr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(jr || {});
18460
- var tr = ((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))(tr || {});
18460
+ var tr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w))(tr || {});
18461
18461
  var Jr = ((t) => (t.audio = "audio", t.video = "video", t))(Jr || {});
18462
18462
  function He(a2, e) {
18463
18463
  let t, i;
18464
18464
  if (e)
18465
18465
  for (let r of e.auxiliaryTracks) {
18466
18466
  let s = a2[r];
18467
- Oa(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18467
+ xa(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
18468
18468
  }
18469
18469
  return { video: t, audio: i };
18470
18470
  }
@@ -18474,7 +18474,7 @@ function tt(a2) {
18474
18474
  function it(a2) {
18475
18475
  return a2 && a2.type === "video";
18476
18476
  }
18477
- function Oa(a2) {
18477
+ function xa(a2) {
18478
18478
  return a2 && a2.source === "screen";
18479
18479
  }
18480
18480
  function $t(a2) {
@@ -18495,7 +18495,7 @@ function st(a2) {
18495
18495
  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 };
18496
18496
  }
18497
18497
  var Yr = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(Yr || {});
18498
- var xa = typeof window != "undefined" && typeof window.expect != "undefined";
18498
+ var Ua = typeof window != "undefined" && typeof window.expect != "undefined";
18499
18499
  var d = class {
18500
18500
  static v(e, ...t) {
18501
18501
  this.log(0, e, ...t);
@@ -18561,25 +18561,25 @@ var d = class {
18561
18561
  }
18562
18562
  }
18563
18563
  };
18564
- d.level = xa ? 7 : 0;
18564
+ d.level = Ua ? 7 : 0;
18565
18565
  var pe = new import_ua_parser_js.UAParser();
18566
18566
  var N = typeof window != "undefined";
18567
18567
  var Xr;
18568
18568
  var Ce = typeof window == "undefined" && !((Xr = pe.getBrowser().name) != null && Xr.toLowerCase().includes("electron"));
18569
- var Ba = () => !Ce;
18570
- var On = Ba();
18569
+ var Va = () => !Ce;
18570
+ var xn = Va();
18571
18571
  var Zr;
18572
18572
  var es;
18573
18573
  var is = ((es = (Zr = pe.getBrowser()) == null ? void 0 : Zr.name) == null ? void 0 : es.toLowerCase()) === "firefox";
18574
18574
  var rs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(rs || {});
18575
- function Va() {
18575
+ function Fa() {
18576
18576
  if (N && window) {
18577
18577
  let a2 = window.location.hostname;
18578
18578
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
18579
18579
  }
18580
18580
  return "CUSTOM";
18581
18581
  }
18582
- var Ve = Va();
18582
+ var Ve = Fa();
18583
18583
  var y = { 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 } };
18584
18584
  var f = class a extends Error {
18585
18585
  constructor(t, i, r, s, o, n = false) {
@@ -18610,7 +18610,7 @@ var f = class a extends Error {
18610
18610
  }`;
18611
18611
  }
18612
18612
  };
18613
- var Fa = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18613
+ var Ga = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
18614
18614
  var m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18615
18615
  return new f(y.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
18616
18616
  }, WebSocketConnectionLost(a2, e = "") {
@@ -18670,7 +18670,7 @@ var m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
18670
18670
  }, StatsFailed(a2, e = "") {
18671
18671
  return new f(y.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
18672
18672
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
18673
- return new f(a2, "ServerErrors", e, t, t, Fa.includes(e));
18673
+ return new f(a2, "ServerErrors", e, t, t, Ga.includes(e));
18674
18674
  }, AlreadyJoined(a2, e = "") {
18675
18675
  return new f(y.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
18676
18676
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -18779,7 +18779,7 @@ var ne = class {
18779
18779
  };
18780
18780
  var as = () => {
18781
18781
  let a2, e = new ne("hms-analytics-deviceId"), t = e.get();
18782
- return t ? a2 = t : (a2 = Ga(), e.set(a2)), a2;
18782
+ return t ? a2 = t : (a2 = Wa(), e.set(a2)), a2;
18783
18783
  };
18784
18784
  function re(a2) {
18785
18785
  return a2 != null;
@@ -18799,7 +18799,7 @@ var cs = (a2, e = ",") => Object.keys(a2).filter((t) => re(a2[t])).map((t) => `$
18799
18799
  var H = class {
18800
18800
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
18801
18801
  this.metadata = { peer: {}, userAgent: at() };
18802
- this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = $a(), this.device_id = as();
18802
+ this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ka(), this.device_id = as();
18803
18803
  }
18804
18804
  toSignalParams() {
18805
18805
  return { name: this.name, info: M(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -19013,35 +19013,35 @@ var Rs = "https://event-nonprod.100ms.live/v2/client/report";
19013
19013
  var ut = Math.pow(2, 31) - 1;
19014
19014
  var Qe = class {
19015
19015
  };
19016
- Qe.makePeerId = () => co();
19016
+ Qe.makePeerId = () => lo();
19017
19017
  var B = (a2) => a2.room;
19018
- var uo = (a2) => a2.errors;
19019
- var kh = createSelector(uo, (a2) => a2.length === 0 ? null : a2.at(-1));
19020
- var Eh = createSelector(B, (a2) => a2.id);
19018
+ var po = (a2) => a2.errors;
19019
+ var Eh = createSelector(po, (a2) => a2.length === 0 ? null : a2.at(-1));
19020
+ var Ph = createSelector(B, (a2) => a2.id);
19021
19021
  var G = (a2) => a2.peers;
19022
19022
  var ai = (a2) => a2.messages.byID;
19023
19023
  var xs = (a2) => a2.messages.allIDs;
19024
- var w = (a2) => a2.tracks;
19024
+ var D = (a2) => a2.tracks;
19025
19025
  var br = (a2) => a2.appData;
19026
- var po = (a2) => a2.speakers;
19026
+ var ho = (a2) => a2.speakers;
19027
19027
  var Re = createSelector([B], (a2) => a2 && a2.isConnected);
19028
- var bh = createSelector([Re, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19029
- var ho = (a2) => a2.hideLocalPeer;
19030
- var le = createSelector([B, G, ho], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19031
- var mo = createSelector(w, (a2) => Object.values(a2));
19028
+ var Ih = createSelector([Re, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
19029
+ var mo = (a2) => a2.hideLocalPeer;
19030
+ var le = createSelector([B, G, mo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
19031
+ var So = createSelector(D, (a2) => Object.values(a2));
19032
19032
  var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
19033
19033
  var Te = createSelector(B, (a2) => a2.localPeer);
19034
- var Ih = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19035
- var Rh = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19034
+ var Rh = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
19035
+ var Hh = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
19036
19036
  var te = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
19037
19037
  var J = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
19038
- var So = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19039
- var Bs = createSelector([te, J, So], (a2, e, t) => {
19038
+ var go = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
19039
+ var Bs = createSelector([te, J, go], (a2, e, t) => {
19040
19040
  let i = t ? [...t] : [];
19041
19041
  return a2 && i.unshift(a2), e && i.unshift(e), i;
19042
19042
  });
19043
- var Hh = createSelector(le, (a2) => a2.filter((e) => !e.isLocal));
19044
- var Ch = createSelector(G, po, (a2, e) => {
19043
+ var Ch = createSelector(le, (a2) => a2.filter((e) => !e.isLocal));
19044
+ var Lh = createSelector(G, ho, (a2, e) => {
19045
19045
  let t = Object.entries(e).sort((i, r) => {
19046
19046
  var n, l;
19047
19047
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -19054,11 +19054,11 @@ var Ch = createSelector(G, po, (a2, e) => {
19054
19054
  }
19055
19055
  return null;
19056
19056
  });
19057
- var Rr = createSelector(z, w, (a2, e) => {
19057
+ var Rr = createSelector(z, D, (a2, e) => {
19058
19058
  let { video: t, audio: i } = He(e, a2);
19059
19059
  return !!(t || i);
19060
19060
  });
19061
- var go = createSelector(G, w, (a2, e) => {
19061
+ var To = createSelector(G, D, (a2, e) => {
19062
19062
  let t;
19063
19063
  for (let i in a2) {
19064
19064
  let r = a2[i], { video: s, audio: o } = He(e, r);
@@ -19068,15 +19068,15 @@ var go = createSelector(G, w, (a2, e) => {
19068
19068
  }
19069
19069
  return t;
19070
19070
  });
19071
- var Dh = createSelector(go, (a2) => !!a2);
19072
- var wh = createSelector(G, w, (a2, e) => {
19071
+ var Dh = createSelector(To, (a2) => !!a2);
19072
+ var _h = createSelector(G, D, (a2, e) => {
19073
19073
  for (let t in a2) {
19074
19074
  let i = a2[t], { audio: r, video: s } = He(e, i);
19075
19075
  if (!s && r)
19076
19076
  return i;
19077
19077
  }
19078
19078
  });
19079
- var _h = createSelector(G, w, (a2, e) => {
19079
+ var Nh = createSelector(G, D, (a2, e) => {
19080
19080
  let t = [], i = [];
19081
19081
  for (let r in a2) {
19082
19082
  let s = a2[r], { video: o, audio: n } = He(e, s);
@@ -19084,63 +19084,63 @@ var _h = createSelector(G, w, (a2, e) => {
19084
19084
  }
19085
19085
  return t.concat(i);
19086
19086
  });
19087
- var Nh = createSelector(G, w, (a2, e) => {
19087
+ var Oh = createSelector(G, D, (a2, e) => {
19088
19088
  for (let t in e) {
19089
19089
  let i = e[t];
19090
19090
  if (rt(i) && it(i) && i.peerId)
19091
19091
  return a2[i.peerId];
19092
19092
  }
19093
19093
  });
19094
- var Oh = createSelector(G, w, (a2, e) => {
19094
+ var xh = createSelector(G, D, (a2, e) => {
19095
19095
  for (let t in e) {
19096
19096
  let i = e[t];
19097
19097
  if ($t(i) && i.peerId)
19098
19098
  return a2[i.peerId];
19099
19099
  }
19100
19100
  });
19101
- var xh = createSelector(mo, (a2) => a2.filter(Qr));
19102
- var Uh = createSelector(xs, (a2) => a2.length);
19103
- var Bh = createSelector(ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
19101
+ var Uh = createSelector(So, (a2) => a2.filter(Qr));
19102
+ var Bh = createSelector(xs, (a2) => a2.length);
19103
+ var Vh = createSelector(ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
19104
19104
  var St = createSelector(xs, ai, (a2, e) => {
19105
19105
  let t = [];
19106
19106
  return a2.forEach((i) => {
19107
19107
  t.push(e[i]);
19108
19108
  }), t;
19109
19109
  });
19110
- var To = createSelector(St, (a2) => a2.filter((e) => {
19110
+ var fo = createSelector(St, (a2) => a2.filter((e) => {
19111
19111
  var t;
19112
19112
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
19113
19113
  }));
19114
- var Vh = createSelector(To, (a2) => a2.filter((e) => !e.read).length);
19114
+ var Fh = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
19115
19115
  var Y = createSelector([B], (a2) => a2 && a2.roomState);
19116
19116
  var Fs = createSelector(Y, (a2) => a2 === "Preview");
19117
- var Fh = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19118
- var Gh = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
19117
+ var Gh = createSelector(B, (a2) => a2.roomState !== "Disconnected");
19118
+ var Wh = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
19119
19119
  var ue = (a2) => a2.roles;
19120
- var Wh = createSelector([ue], (a2) => Object.keys(a2));
19120
+ var $h = createSelector([ue], (a2) => Object.keys(a2));
19121
19121
  var oi = createSelector([z, ue], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
19122
- var fo = (a2) => {
19122
+ var vo = (a2) => {
19123
19123
  var e;
19124
19124
  return (e = a2.preview) == null ? void 0 : e.asRole;
19125
19125
  };
19126
- var Gs = createSelector([fo, ue], (a2, e) => a2 ? e[a2] : null);
19127
- var $h = createSelector([oi], (a2) => {
19126
+ var Gs = createSelector([vo, ue], (a2, e) => a2 ? e[a2] : null);
19127
+ var Kh = createSelector([oi], (a2) => {
19128
19128
  var e;
19129
19129
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
19130
19130
  });
19131
19131
  var Ws = createSelector(oi, (a2) => a2 == null ? void 0 : a2.permissions);
19132
- var Kh = createSelector(B, (a2) => a2.recording);
19133
- var qh = createSelector(B, (a2) => a2.rtmp);
19134
- var jh = createSelector(B, (a2) => a2.hls);
19135
- var Jh = createSelector(B, (a2) => a2.sessionId);
19136
- var Qh = createSelector(B, (a2) => a2.startedAt);
19137
- var zh = createSelector(B, (a2) => !!a2.isLargeRoom);
19138
- var Yh = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19139
- var Xh = createSelector(B, (a2) => a2.effectsKey);
19132
+ var qh = createSelector(B, (a2) => a2.recording);
19133
+ var jh = createSelector(B, (a2) => a2.rtmp);
19134
+ var Jh = createSelector(B, (a2) => a2.hls);
19135
+ var Qh = createSelector(B, (a2) => a2.sessionId);
19136
+ var zh = createSelector(B, (a2) => a2.startedAt);
19137
+ var Yh = createSelector(B, (a2) => !!a2.isLargeRoom);
19138
+ var Xh = createSelector(B, (a2) => !!a2.isEffectsEnabled);
19139
+ var Zh = createSelector(B, (a2) => a2.effectsKey);
19140
19140
  var $s = (a2) => a2.polls;
19141
- var im = createSelector(le, (a2) => a2.filter((e) => e.isHandRaised));
19142
- var vo = (a2) => a2.whiteboards;
19143
- var rm = createSelector(vo, (a2) => Object.values(a2)[0]);
19141
+ var rm = createSelector(le, (a2) => a2.filter((e) => e.isHandRaised));
19142
+ var Mo = (a2) => a2.whiteboards;
19143
+ var sm = createSelector(Mo, (a2) => Object.values(a2)[0]);
19144
19144
  var qs = (a2 = "audio") => (e) => e.playlist[a2].list;
19145
19145
  var Hr = (a2 = "audio") => (e) => e.playlist[a2].selection;
19146
19146
  var js = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -19227,113 +19227,113 @@ E.level = 0;
19227
19227
  var Cr = (a2, e) => e;
19228
19228
  var Tt = (a2, e) => e;
19229
19229
  var ta = (a2, e) => e;
19230
- var Mo = (a2, e) => e;
19231
19230
  var yo = (a2, e) => e;
19231
+ var ko = (a2, e) => e;
19232
19232
  var W = createSelector([G, Cr], (a2, e) => e ? a2[e] : null);
19233
- var Lr = createSelector([w, Tt], (a2, e) => e ? a2[e] : null);
19234
- var ko = createSelector([w, Tt], (a2, e) => {
19233
+ var Lr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
19234
+ var Eo = createSelector([D, Tt], (a2, e) => {
19235
19235
  if (!e)
19236
19236
  return null;
19237
19237
  let t = a2[e];
19238
19238
  return (t == null ? void 0 : t.type) === "video" ? t : null;
19239
19239
  });
19240
- var Eo = createSelector([w, Tt], (a2, e) => {
19240
+ var Po = createSelector([D, Tt], (a2, e) => {
19241
19241
  if (!e)
19242
19242
  return null;
19243
19243
  let t = a2[e];
19244
19244
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
19245
19245
  });
19246
- var Po = createSelector([w, Tt], (a2, e) => {
19246
+ var Ao = createSelector([D, Tt], (a2, e) => {
19247
19247
  if (!e)
19248
19248
  return null;
19249
19249
  let t = a2[e];
19250
19250
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19251
19251
  });
19252
- var Ao = createSelector([w, Tt], (a2, e) => {
19252
+ var bo = createSelector([D, Tt], (a2, e) => {
19253
19253
  if (!e)
19254
19254
  return null;
19255
19255
  let t = a2[e];
19256
19256
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
19257
19257
  });
19258
- var bo = createSelector([$s, yo], (a2, e) => e ? a2[e] : null);
19258
+ var Io = createSelector([$s, ko], (a2, e) => e ? a2[e] : null);
19259
19259
  var Q = b(W);
19260
- var mm = b(createSelector([br, Mo], (a2, e) => {
19260
+ var Sm = b(createSelector([br, yo], (a2, e) => {
19261
19261
  if (a2)
19262
19262
  return e ? a2[e] : a2;
19263
19263
  }));
19264
- function Sm(a2) {
19264
+ function gm(a2) {
19265
19265
  return (e) => {
19266
19266
  if (e.sessionStore)
19267
19267
  return a2 ? e.sessionStore[a2] : e.sessionStore;
19268
19268
  };
19269
19269
  }
19270
- var Tm = b(createSelector(W, (a2) => a2 == null ? void 0 : a2.name));
19271
- var fm = b(createSelector(W, (a2) => a2 == null ? void 0 : a2.type));
19270
+ var fm = b(createSelector(W, (a2) => a2 == null ? void 0 : a2.name));
19271
+ var vm = b(createSelector(W, (a2) => a2 == null ? void 0 : a2.type));
19272
19272
  var ni = b(Lr);
19273
- var ia = b(ko);
19274
- var vm = b(Eo);
19273
+ var ia = b(Eo);
19275
19274
  var Mm = b(Po);
19276
19275
  var ym = b(Ao);
19277
- var Io = b((a2, e) => {
19276
+ var km = b(bo);
19277
+ var Ro = b((a2, e) => {
19278
19278
  let t = W(a2, e);
19279
19279
  if (t && t.videoTrack && t.videoTrack !== "")
19280
19280
  return a2.tracks[t.videoTrack];
19281
19281
  });
19282
- var Ro = b((a2, e) => {
19282
+ var Ho = b((a2, e) => {
19283
19283
  let t = W(a2, e);
19284
19284
  if (t && t.audioTrack && t.audioTrack !== "")
19285
19285
  return a2.tracks[t.audioTrack];
19286
19286
  });
19287
- var Em = b((a2, e) => {
19287
+ var Pm = b((a2, e) => {
19288
19288
  let t = W(a2, e);
19289
19289
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
19290
19290
  });
19291
19291
  var ra = (a2, e) => e ? a2.speakers[e] : null;
19292
- var Pm = b(createSelector(ra, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19293
- var Ho = (a2, e) => {
19294
- let t = Ro(e)(a2);
19292
+ var Am = b(createSelector(ra, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19293
+ var Co = (a2, e) => {
19294
+ let t = Ho(e)(a2);
19295
19295
  return ra(a2, t == null ? void 0 : t.id);
19296
19296
  };
19297
- var Am = b(createSelector(Ho, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19298
- var bm = b((a2, e) => {
19297
+ var bm = b(createSelector(Co, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
19298
+ var Im = b((a2, e) => {
19299
19299
  if (e)
19300
19300
  return a2.connectionQualities[e];
19301
19301
  });
19302
- var Im = b((a2, e) => {
19302
+ var Rm = b((a2, e) => {
19303
19303
  let t = W(a2, e);
19304
19304
  if (t) {
19305
19305
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
19306
19306
  return i ? a2.tracks[i] : void 0;
19307
19307
  }
19308
19308
  });
19309
- var Rm = b(createSelector(w, W, (a2, e) => {
19309
+ var Hm = b(createSelector(D, W, (a2, e) => {
19310
19310
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19311
19311
  let r = a2[i];
19312
19312
  return rt(r) && it(r);
19313
19313
  });
19314
19314
  return t ? a2[t] : void 0;
19315
19315
  }));
19316
- var Hm = b(createSelector(w, W, (a2, e) => {
19316
+ var Cm = b(createSelector(D, W, (a2, e) => {
19317
19317
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19318
19318
  let r = a2[i];
19319
19319
  return rt(r) && tt(r);
19320
19320
  });
19321
19321
  return t ? a2[t] : void 0;
19322
19322
  }));
19323
- var Cm = b(createSelector(w, W, (a2, e) => {
19323
+ var Lm = b(createSelector(D, W, (a2, e) => {
19324
19324
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
19325
19325
  let r = a2[i];
19326
19326
  return $t(r) && tt(r);
19327
19327
  });
19328
19328
  return t ? a2[t] : void 0;
19329
19329
  }));
19330
- var sa = b(createSelector(w, W, (a2, e) => He(a2, e)));
19330
+ var sa = b(createSelector(D, W, (a2, e) => He(a2, e)));
19331
19331
  var aa = (a2) => createSelector(sa(a2), (e) => e.audio);
19332
19332
  var Dm = b((a2, e) => {
19333
19333
  let t = W(a2, e);
19334
19334
  return Ue(a2, t == null ? void 0 : t.audioTrack);
19335
19335
  });
19336
- var wm = b((a2, e) => {
19336
+ var _m = b((a2, e) => {
19337
19337
  let t = W(a2, e);
19338
19338
  return Ue(a2, t == null ? void 0 : t.videoTrack);
19339
19339
  });
@@ -19341,11 +19341,11 @@ var oa = b((a2, e) => {
19341
19341
  if (e && a2.tracks[e])
19342
19342
  return a2.tracks[e].volume === 0;
19343
19343
  });
19344
- var _m = b((a2, e) => {
19344
+ var Nm = b((a2, e) => {
19345
19345
  let t = W(a2, e);
19346
19346
  return oa(t == null ? void 0 : t.audioTrack)(a2);
19347
19347
  });
19348
- var Nm = b((a2, e) => {
19348
+ var Om = b((a2, e) => {
19349
19349
  let t = aa(e)(a2);
19350
19350
  return oa(t == null ? void 0 : t.id)(a2);
19351
19351
  });
@@ -19359,15 +19359,15 @@ var na = b((a2, e) => {
19359
19359
  return t.volume;
19360
19360
  }
19361
19361
  });
19362
- var Om = b((a2, e) => {
19362
+ var xm = b((a2, e) => {
19363
19363
  let t = W(a2, e);
19364
19364
  return na(t == null ? void 0 : t.audioTrack)(a2);
19365
19365
  });
19366
- var xm = b((a2, e) => {
19366
+ var Um = b((a2, e) => {
19367
19367
  let t = aa(e)(a2);
19368
19368
  return na(t == null ? void 0 : t.id)(a2);
19369
19369
  });
19370
- var Um = b((a2, e) => {
19370
+ var Bm = b((a2, e) => {
19371
19371
  let t = Lr(a2, e);
19372
19372
  if (t) {
19373
19373
  if (t.type !== "video") {
@@ -19391,31 +19391,31 @@ var da = createSelector([St, ta], (a2, e) => {
19391
19391
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
19392
19392
  });
19393
19393
  });
19394
- var Co = createSelector(St, (a2) => a2.filter((e) => {
19394
+ var Lo = createSelector(St, (a2) => a2.filter((e) => {
19395
19395
  var t;
19396
19396
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
19397
19397
  }));
19398
- var Lo = createSelector([da, ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19398
+ var wo = createSelector([da, ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19399
19399
  var Do = createSelector([ca, Cr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
19400
- var Bm = createSelector(Co, (a2) => a2.filter((e) => !e.read).length);
19401
- var Vm = b(ca);
19402
- var Fm = b(da);
19403
- var Gm = b(Lo);
19404
- var Wm = b(Do);
19405
- var la = b(bo);
19406
- var eS = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
19400
+ var Vm = createSelector(Lo, (a2) => a2.filter((e) => !e.read).length);
19401
+ var Fm = b(ca);
19402
+ var Gm = b(da);
19403
+ var Wm = b(wo);
19404
+ var $m = b(Do);
19405
+ var la = b(Io);
19406
+ var tS = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
19407
19407
  var r;
19408
19408
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
19409
19409
  }));
19410
- var wo = (a2) => a2.roleChangeRequests[0] || null;
19411
- var tS = createSelector([wo, G, ue], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19412
- var iS = createSelector([oi], (a2) => st(a2));
19413
- var rS = createSelector([Gs], (a2) => st(a2));
19414
- var No = createSelector([J, w], (a2, e) => {
19410
+ var _o = (a2) => a2.roleChangeRequests[0] || null;
19411
+ var iS = createSelector([_o, G, ue], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
19412
+ var rS = createSelector([oi], (a2) => st(a2));
19413
+ var sS = createSelector([Gs], (a2) => st(a2));
19414
+ var Oo = createSelector([J, D], (a2, e) => {
19415
19415
  let t = null;
19416
19416
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19417
19417
  });
19418
- var Oo = createSelector([te, w], (a2, e) => {
19418
+ var xo = createSelector([te, D], (a2, e) => {
19419
19419
  let t = null;
19420
19420
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
19421
19421
  });
@@ -19468,62 +19468,62 @@ var ve = new Or();
19468
19468
  var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
19469
19469
  var Vi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Vi || {});
19470
19470
  var Qi = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Qi || {});
19471
- var rn = (a2) => a2.localPeer.id;
19472
- var sn = (a2) => a2.localPeer.audioTrack;
19473
- var an = (a2) => a2.localPeer.videoTrack;
19474
- var on = (a2, e) => e;
19475
- var Ia = (a2, e) => e;
19476
- var nn = (a2) => a2.remoteTrackStats;
19477
- var Ra = (a2) => a2.peerStats;
19471
+ var sn = (a2) => a2.localPeer.id;
19472
+ var an = (a2) => a2.localPeer.audioTrack;
19473
+ var on = (a2) => a2.localPeer.videoTrack;
19474
+ var nn = (a2, e) => e;
19475
+ var Ra = (a2, e) => e;
19476
+ var cn = (a2) => a2.remoteTrackStats;
19477
+ var Ha = (a2) => a2.peerStats;
19478
19478
  var Fr = (a2) => a2.localTrackStats;
19479
- var ye = createSelector([Ra, rn], (a2, e) => a2[e]);
19480
- var cn = createSelector(ye, (a2) => {
19479
+ var ye = createSelector([Ha, sn], (a2, e) => a2[e]);
19480
+ var dn = createSelector(ye, (a2) => {
19481
19481
  var e;
19482
19482
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
19483
19483
  });
19484
- var dn = createSelector(ye, (a2) => {
19484
+ var ln = createSelector(ye, (a2) => {
19485
19485
  var e;
19486
19486
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
19487
19487
  });
19488
- var ln = createSelector(ye, (a2) => {
19488
+ var un = createSelector(ye, (a2) => {
19489
19489
  var e;
19490
19490
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
19491
19491
  });
19492
- var un = createSelector(ye, (a2) => {
19492
+ var pn = createSelector(ye, (a2) => {
19493
19493
  var e;
19494
19494
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
19495
19495
  });
19496
- var pn = createSelector(ye, (a2) => {
19496
+ var hn = createSelector(ye, (a2) => {
19497
19497
  var e;
19498
19498
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
19499
19499
  });
19500
- var hn = createSelector(ye, (a2) => {
19500
+ var mn = createSelector(ye, (a2) => {
19501
19501
  var e;
19502
19502
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
19503
19503
  });
19504
- var mn = createSelector(ye, (a2) => {
19504
+ var Sn = createSelector(ye, (a2) => {
19505
19505
  var e;
19506
19506
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
19507
19507
  });
19508
- var Sn = createSelector(ye, (a2) => {
19508
+ var gn = createSelector(ye, (a2) => {
19509
19509
  var e;
19510
19510
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
19511
19511
  });
19512
- var gn = createSelector([Ra, on], (a2, e) => e ? a2[e] : void 0);
19513
- var Tn = createSelector([nn, Ia], (a2, e) => e ? a2[e] : void 0);
19514
- var Gr = createSelector([Fr, Ia], (a2, e) => e ? a2[e] : void 0);
19515
- var fn = b(gn);
19512
+ var Tn = createSelector([Ha, nn], (a2, e) => e ? a2[e] : void 0);
19513
+ var fn = createSelector([cn, Ra], (a2, e) => e ? a2[e] : void 0);
19514
+ var Gr = createSelector([Fr, Ra], (a2, e) => e ? a2[e] : void 0);
19516
19515
  var vn = b(Tn);
19517
- var Mn = createSelector([Fr, sn], (a2, e) => {
19516
+ var Mn = b(fn);
19517
+ var yn = createSelector([Fr, an], (a2, e) => {
19518
19518
  var t;
19519
19519
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19520
19520
  });
19521
- var yn = b(createSelector(Gr, (a2) => a2 == null ? void 0 : a2[0]));
19522
- var kn = createSelector([Fr, an], (a2, e) => {
19521
+ var kn = b(createSelector(Gr, (a2) => a2 == null ? void 0 : a2[0]));
19522
+ var En = createSelector([Fr, on], (a2, e) => {
19523
19523
  var t;
19524
19524
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
19525
19525
  });
19526
- var En = b(createSelector(Gr, (a2) => a2));
19526
+ var Pn = b(createSelector(Gr, (a2) => a2));
19527
19527
 
19528
19528
  // src/Prebuilt/components/Header/StreamActions.tsx
19529
19529
  import {
@@ -25281,7 +25281,7 @@ var Chat = () => {
25281
25281
  const listRef = useRef23(null);
25282
25282
  const hmsActions = useHMSActions40();
25283
25283
  const vanillaStore = useHMSVanillaStore10();
25284
- const { enabled: isChatEnabled = true } = useHMSStore62(Sm("chatState" /* CHAT_STATE */)) || {};
25284
+ const { enabled: isChatEnabled = true } = useHMSStore62(gm("chatState" /* CHAT_STATE */)) || {};
25285
25285
  const isMobile = useMedia18(config.media.md);
25286
25286
  const isMobileHLSStream = useMobileHLSStream();
25287
25287
  const isLandscapeStream = useLandscapeHLSStream();
@@ -25362,7 +25362,7 @@ var NewMessageIndicator = ({
25362
25362
  scrollToBottom,
25363
25363
  listRef
25364
25364
  }) => {
25365
- const unreadCount = useHMSStore62(Bh);
25365
+ const unreadCount = useHMSStore62(Vh);
25366
25366
  if (!unreadCount || !listRef.current) {
25367
25367
  return null;
25368
25368
  }
@@ -26469,12 +26469,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
26469
26469
  const [blurAmount, setBlurAmount] = useState55(VBHandler.getBlurAmount() || 0.5);
26470
26470
  const roomState = useHMSStore70(selectRoomState4);
26471
26471
  const isLargeRoom = useHMSStore70(selectIsLargeRoom3);
26472
- const isEffectsEnabled = useHMSStore70(Yh);
26473
- const effectsKey = useHMSStore70(Xh);
26472
+ const isEffectsEnabled = useHMSStore70(Xh);
26473
+ const effectsKey = useHMSStore70(Zh);
26474
26474
  const isMobile = useMedia22(config.media.md);
26475
26475
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
26476
26476
  const isPluginAdded = useHMSStore70(selectIsLocalVideoPluginPresent(VBHandler?.getName() || ""));
26477
- const background = useHMSStore70(mm(APP_DATA.background));
26477
+ const background = useHMSStore70(Sm(APP_DATA.background));
26478
26478
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
26479
26479
  const inPreview = roomState === HMSRoomState4.Preview;
26480
26480
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -27507,10 +27507,10 @@ var useTileLayout = ({
27507
27507
  tileHeight = maxRowHeight;
27508
27508
  const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
27509
27509
  tileWidth = 0;
27510
- for (const w2 of calcWidths) {
27511
- if (w2 < width) {
27512
- if (tileWidth < w2) {
27513
- tileWidth = w2;
27510
+ for (const w of calcWidths) {
27511
+ if (w < width) {
27512
+ if (tileWidth < w) {
27513
+ tileWidth = w;
27514
27514
  }
27515
27515
  }
27516
27516
  }
@@ -28799,7 +28799,7 @@ var useCloseScreenshareWhiteboard = () => {
28799
28799
  };
28800
28800
 
28801
28801
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28802
- var HLSView = React153.lazy(() => import("./HLSView-YMIX54N5.js"));
28802
+ var HLSView = React153.lazy(() => import("./HLSView-PF44ZBXN.js"));
28803
28803
  var VideoStreamingSection = ({
28804
28804
  screenType,
28805
28805
  elements,
@@ -31109,4 +31109,4 @@ lodash/lodash.js:
31109
31109
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
31110
31110
  *)
31111
31111
  */
31112
- //# sourceMappingURL=chunk-Q3R5AOJF.js.map
31112
+ //# sourceMappingURL=chunk-TUSCTU6T.js.map