@100mslive/roomkit-react 0.3.25-alpha.3 → 0.3.25-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs.js CHANGED
@@ -35,8 +35,8 @@ var __objRest = (source, exclude) => {
35
35
  }
36
36
  return target;
37
37
  };
38
- var __esm = (fn, res) => function __init() {
39
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
38
+ var __esm = (fn2, res) => function __init() {
39
+ return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
40
40
  };
41
41
  var __commonJS = (cb, mod) => function __require() {
42
42
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
@@ -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_43a249dc-e96e-4982-a44b-84f05a54e464", 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.15-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.25-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_43a249dc-e96e-4982-a44b-84f05a54e464", 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.25-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", 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", npm_package_dependencies_framer_motion: "^11.11.0", GRADLE_HOME: "/usr/share/gradle-8.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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: "600", 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", 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: "20241112.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.9/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:19032", 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.25-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11949287879", 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: "bd799986aa44ef7b924ee299beb69593a98d1dc4", 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: "32e9850bdb5a43ae2e73e5d06a899ff115b34d0f6cff24e765eec82dbd9ef9e0", 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--1732177430575-0.1978578902609236:/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--1732177430380-0.4500659936536213:/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--1732177404752-0.3056764496686428:/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--1732177404573-0.12307517928394396:/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_12b50675-efcf-4e39-95aa-2677269efe99", INVOCATION_ID: "50af11b19b9040ac831a30509d01ce64", 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: "704", 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 41", 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.2.12479018", 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.25-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.25-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "bd799986aa44ef7b924ee299beb69593a98d1dc4", 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_43a249dc-e96e-4982-a44b-84f05a54e464", 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_43a249dc-e96e-4982-a44b-84f05a54e464", 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.2.12479018", 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://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/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.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_43a249dc-e96e-4982-a44b-84f05a54e464" };
112
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", 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.15-alpha.4", 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.5 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.25-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.5/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.25-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", 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", npm_package_dependencies_framer_motion: "^11.11.0", GRADLE_HOME: "/usr/share/gradle-8.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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: "599", 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", 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: "20241117.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.9/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.2-alpha.7", 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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:20612", 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.25-alpha.4", 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: "11970912212", 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: "3284601ad0a8e5f4e90c2115c46c632547e2e395", 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: "bf841fd387a2fed68a827c077d7d8a679a6e64b7415bddf8e299bd0825e704b7", 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--1732271632612-0.032213928529767566:/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.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271632416-0.2244626654453752:/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.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271606987-0.6440064265218712:/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.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271606804-0.38358152889275354:/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.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/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.5/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_10670c23-2c54-4950-a2b5-db647b82c5e8", INVOCATION_ID: "4b9cdfd511bb49a9905bbeaa7714eea7", 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: "705", 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 246", 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.2.12479018", 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.25-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.25-alpha.4", 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: "3284601ad0a8e5f4e90c2115c46c632547e2e395", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", 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_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", 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_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", 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.2.12479018", 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://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/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.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03" };
113
113
  }
114
114
  });
115
115
 
@@ -2288,8 +2288,8 @@ var require_lodash = __commonJS({
2288
2288
  function createBind(func, bitmask, thisArg) {
2289
2289
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2290
2290
  function wrapper() {
2291
- var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2292
- return fn.apply(isBind ? thisArg : this, arguments);
2291
+ var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2292
+ return fn2.apply(isBind ? thisArg : this, arguments);
2293
2293
  }
2294
2294
  return wrapper;
2295
2295
  }
@@ -2355,8 +2355,8 @@ var require_lodash = __commonJS({
2355
2355
  arity - length
2356
2356
  );
2357
2357
  }
2358
- var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2359
- return apply(fn, this, args);
2358
+ var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2359
+ return apply(fn2, this, args);
2360
2360
  }
2361
2361
  return wrapper;
2362
2362
  }
@@ -2444,7 +2444,7 @@ var require_lodash = __commonJS({
2444
2444
  arity - length
2445
2445
  );
2446
2446
  }
2447
- var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
2447
+ var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
2448
2448
  length = args.length;
2449
2449
  if (argPos) {
2450
2450
  args = reorder(args, argPos);
@@ -2455,9 +2455,9 @@ var require_lodash = __commonJS({
2455
2455
  args.length = ary2;
2456
2456
  }
2457
2457
  if (this && this !== root && this instanceof wrapper) {
2458
- fn = Ctor || createCtor(fn);
2458
+ fn2 = Ctor || createCtor(fn2);
2459
2459
  }
2460
- return fn.apply(thisBinding, args);
2460
+ return fn2.apply(thisBinding, args);
2461
2461
  }
2462
2462
  return wrapper;
2463
2463
  }
@@ -2514,14 +2514,14 @@ var require_lodash = __commonJS({
2514
2514
  function createPartial(func, bitmask, thisArg, partials) {
2515
2515
  var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
2516
2516
  function wrapper() {
2517
- var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
2517
+ var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
2518
2518
  while (++leftIndex < leftLength) {
2519
2519
  args[leftIndex] = partials[leftIndex];
2520
2520
  }
2521
2521
  while (argsLength--) {
2522
2522
  args[leftIndex++] = arguments[++argsIndex];
2523
2523
  }
2524
- return apply(fn, isBind ? thisArg : this, args);
2524
+ return apply(fn2, isBind ? thisArg : this, args);
2525
2525
  }
2526
2526
  return wrapper;
2527
2527
  }
@@ -9195,25 +9195,25 @@ var require_object_assign = __commonJS({
9195
9195
  }
9196
9196
  module2.exports = shouldUseNative() ? Object.assign : function(target, source) {
9197
9197
  var from;
9198
- var to2 = toObject(target);
9198
+ var to = toObject(target);
9199
9199
  var symbols;
9200
9200
  for (var s = 1; s < arguments.length; s++) {
9201
9201
  from = Object(arguments[s]);
9202
9202
  for (var key in from) {
9203
9203
  if (hasOwnProperty.call(from, key)) {
9204
- to2[key] = from[key];
9204
+ to[key] = from[key];
9205
9205
  }
9206
9206
  }
9207
9207
  if (getOwnPropertySymbols) {
9208
9208
  symbols = getOwnPropertySymbols(from);
9209
9209
  for (var i = 0; i < symbols.length; i++) {
9210
9210
  if (propIsEnumerable.call(from, symbols[i])) {
9211
- to2[symbols[i]] = from[symbols[i]];
9211
+ to[symbols[i]] = from[symbols[i]];
9212
9212
  }
9213
9213
  }
9214
9214
  }
9215
9215
  }
9216
- return to2;
9216
+ return to;
9217
9217
  };
9218
9218
  }
9219
9219
  });
@@ -12198,11 +12198,11 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
12198
12198
  return "-";
12199
12199
  }
12200
12200
  const k2 = 1024;
12201
- const dm2 = decimals < 0 ? 0 : decimals;
12201
+ const dm = decimals < 0 ? 0 : decimals;
12202
12202
  const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
12203
12203
  let i = Math.floor(Math.log(bytes) / Math.log(k2));
12204
12204
  i === 0 && i++;
12205
- return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
12205
+ return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm))} ${sizes[i]}`;
12206
12206
  };
12207
12207
 
12208
12208
  // src/Stats/StyledStats.tsx
@@ -19580,8 +19580,8 @@ function shimGetUserMedia(window2, browserDetails) {
19580
19580
  navigator2.getUserMedia = getUserMedia_.bind(navigator2);
19581
19581
  if (navigator2.mediaDevices.getUserMedia) {
19582
19582
  const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
19583
- navigator2.mediaDevices.getUserMedia = function(cs) {
19584
- return shimConstraints_(cs, (c2) => origGetUserMedia(c2).then((stream) => {
19583
+ navigator2.mediaDevices.getUserMedia = function(cs2) {
19584
+ return shimConstraints_(cs2, (c2) => origGetUserMedia(c2).then((stream) => {
19585
19585
  if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
19586
19586
  stream.getTracks().forEach((track) => {
19587
19587
  track.stop();
@@ -19701,20 +19701,20 @@ function shimOnTrack(window2) {
19701
19701
  }
19702
19702
  function shimGetSendersWithDtmf(window2) {
19703
19703
  if (typeof window2 === "object" && window2.RTCPeerConnection && !("getSenders" in window2.RTCPeerConnection.prototype) && "createDTMFSender" in window2.RTCPeerConnection.prototype) {
19704
- const shimSenderWithDtmf = function(pc2, track) {
19704
+ const shimSenderWithDtmf = function(pc, track) {
19705
19705
  return {
19706
19706
  track,
19707
19707
  get dtmf() {
19708
19708
  if (this._dtmf === void 0) {
19709
19709
  if (track.kind === "audio") {
19710
- this._dtmf = pc2.createDTMFSender(track);
19710
+ this._dtmf = pc.createDTMFSender(track);
19711
19711
  } else {
19712
19712
  this._dtmf = null;
19713
19713
  }
19714
19714
  }
19715
19715
  return this._dtmf;
19716
19716
  },
19717
- _pc: pc2
19717
+ _pc: pc
19718
19718
  };
19719
19719
  };
19720
19720
  if (!window2.RTCPeerConnection.prototype.getSenders) {
@@ -20069,11 +20069,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
20069
20069
  }
20070
20070
  return this.getSenders().find((s) => s.track === track);
20071
20071
  };
20072
- function replaceInternalStreamId(pc2, description) {
20072
+ function replaceInternalStreamId(pc, description) {
20073
20073
  let sdp2 = description.sdp;
20074
- Object.keys(pc2._reverseStreams || []).forEach((internalId) => {
20075
- const externalStream = pc2._reverseStreams[internalId];
20076
- const internalStream = pc2._streams[externalStream.id];
20074
+ Object.keys(pc._reverseStreams || []).forEach((internalId) => {
20075
+ const externalStream = pc._reverseStreams[internalId];
20076
+ const internalStream = pc._streams[externalStream.id];
20077
20077
  sdp2 = sdp2.replace(
20078
20078
  new RegExp(internalStream.id, "g"),
20079
20079
  externalStream.id
@@ -20084,11 +20084,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
20084
20084
  sdp: sdp2
20085
20085
  });
20086
20086
  }
20087
- function replaceExternalStreamId(pc2, description) {
20087
+ function replaceExternalStreamId(pc, description) {
20088
20088
  let sdp2 = description.sdp;
20089
- Object.keys(pc2._reverseStreams || []).forEach((internalId) => {
20090
- const externalStream = pc2._reverseStreams[internalId];
20091
- const internalStream = pc2._streams[externalStream.id];
20089
+ Object.keys(pc._reverseStreams || []).forEach((internalId) => {
20090
+ const externalStream = pc._reverseStreams[internalId];
20091
+ const internalStream = pc._streams[externalStream.id];
20092
20092
  sdp2 = sdp2.replace(
20093
20093
  new RegExp(externalStream.id, "g"),
20094
20094
  internalStream.id
@@ -20202,9 +20202,9 @@ function shimPeerConnection(window2, browserDetails) {
20202
20202
  }
20203
20203
  function fixNegotiationNeeded(window2, browserDetails) {
20204
20204
  wrapPeerConnectionEvent(window2, "negotiationneeded", (e) => {
20205
- const pc2 = e.target;
20206
- if (browserDetails.version < 72 || pc2.getConfiguration && pc2.getConfiguration().sdpSemantics === "plan-b") {
20207
- if (pc2.signalingState !== "stable") {
20205
+ const pc = e.target;
20206
+ if (browserDetails.version < 72 || pc.getConfiguration && pc.getConfiguration().sdpSemantics === "plan-b") {
20207
+ if (pc.signalingState !== "stable") {
20208
20208
  return;
20209
20209
  }
20210
20210
  }
@@ -20651,24 +20651,24 @@ function shimRemoteStreamsAPI(window2) {
20651
20651
  });
20652
20652
  const origSetRemoteDescription = window2.RTCPeerConnection.prototype.setRemoteDescription;
20653
20653
  window2.RTCPeerConnection.prototype.setRemoteDescription = function setRemoteDescription() {
20654
- const pc2 = this;
20654
+ const pc = this;
20655
20655
  if (!this._onaddstreampoly) {
20656
20656
  this.addEventListener("track", this._onaddstreampoly = function(e) {
20657
20657
  e.streams.forEach((stream) => {
20658
- if (!pc2._remoteStreams) {
20659
- pc2._remoteStreams = [];
20658
+ if (!pc._remoteStreams) {
20659
+ pc._remoteStreams = [];
20660
20660
  }
20661
- if (pc2._remoteStreams.indexOf(stream) >= 0) {
20661
+ if (pc._remoteStreams.indexOf(stream) >= 0) {
20662
20662
  return;
20663
20663
  }
20664
- pc2._remoteStreams.push(stream);
20664
+ pc._remoteStreams.push(stream);
20665
20665
  const event = new Event("addstream");
20666
20666
  event.stream = stream;
20667
- pc2.dispatchEvent(event);
20667
+ pc.dispatchEvent(event);
20668
20668
  });
20669
20669
  });
20670
20670
  }
20671
- return origSetRemoteDescription.apply(pc2, arguments);
20671
+ return origSetRemoteDescription.apply(pc, arguments);
20672
20672
  };
20673
20673
  }
20674
20674
  }
@@ -21034,13 +21034,13 @@ function shimSendThrowTypeError(window2) {
21034
21034
  if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
21035
21035
  return;
21036
21036
  }
21037
- function wrapDcSend(dc, pc2) {
21037
+ function wrapDcSend(dc, pc) {
21038
21038
  const origDataChannelSend = dc.send;
21039
21039
  dc.send = function send() {
21040
21040
  const data3 = arguments[0];
21041
21041
  const length = data3.length || data3.size || data3.byteLength;
21042
- if (dc.readyState === "open" && pc2.sctp && length > pc2.sctp.maxMessageSize) {
21043
- throw new TypeError("Message too large (can send a maximum of " + pc2.sctp.maxMessageSize + " bytes)");
21042
+ if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
21043
+ throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
21044
21044
  }
21045
21045
  return origDataChannelSend.apply(dc, arguments);
21046
21046
  };
@@ -21098,11 +21098,11 @@ function shimConnectionState(window2) {
21098
21098
  proto[method] = function() {
21099
21099
  if (!this._connectionstatechangepoly) {
21100
21100
  this._connectionstatechangepoly = (e) => {
21101
- const pc2 = e.target;
21102
- if (pc2._lastConnectionState !== pc2.connectionState) {
21103
- pc2._lastConnectionState = pc2.connectionState;
21101
+ const pc = e.target;
21102
+ if (pc._lastConnectionState !== pc.connectionState) {
21103
+ pc._lastConnectionState = pc.connectionState;
21104
21104
  const newEvent = new Event("connectionstatechange", e);
21105
- pc2.dispatchEvent(newEvent);
21105
+ pc.dispatchEvent(newEvent);
21106
21106
  }
21107
21107
  return e;
21108
21108
  };
@@ -21313,36 +21313,36 @@ var import_eventemitter2 = require("eventemitter2");
21313
21313
  var import_eventemitter22 = require("eventemitter2");
21314
21314
  var import_uuid8 = require("uuid");
21315
21315
  var import_eventemitter23 = require("eventemitter2");
21316
- var Jt = __toESM(require_lib());
21316
+ var Qt = __toESM(require_lib());
21317
21317
  var import_eventemitter24 = __toESM(require("eventemitter2"));
21318
21318
  var import_uuid9 = require("uuid");
21319
21319
  var import_uuid10 = require("uuid");
21320
- var ro = Object.defineProperty;
21321
- var so = Object.defineProperties;
21322
- var ao = Object.getOwnPropertyDescriptors;
21323
- var ii = Object.getOwnPropertySymbols;
21324
- var ls = Object.prototype.hasOwnProperty;
21325
- var us = Object.prototype.propertyIsEnumerable;
21326
- var ds = (a2, e, t) => e in a2 ? ro(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21320
+ var so = Object.defineProperty;
21321
+ var ao = Object.defineProperties;
21322
+ var oo = Object.getOwnPropertyDescriptors;
21323
+ var ri = Object.getOwnPropertySymbols;
21324
+ var us = Object.prototype.hasOwnProperty;
21325
+ var ps = Object.prototype.propertyIsEnumerable;
21326
+ var ls = (a2, e, t) => e in a2 ? so(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21327
21327
  var h = (a2, e) => {
21328
21328
  for (var t in e || (e = {}))
21329
- ls.call(e, t) && ds(a2, t, e[t]);
21330
- if (ii)
21331
- for (var t of ii(e))
21332
- us.call(e, t) && ds(a2, t, e[t]);
21329
+ us.call(e, t) && ls(a2, t, e[t]);
21330
+ if (ri)
21331
+ for (var t of ri(e))
21332
+ ps.call(e, t) && ls(a2, t, e[t]);
21333
21333
  return a2;
21334
21334
  };
21335
- var M = (a2, e) => so(a2, ao(e));
21336
- var Tr = (a2, e) => {
21335
+ var M = (a2, e) => ao(a2, oo(e));
21336
+ var fr = (a2, e) => {
21337
21337
  var t = {};
21338
21338
  for (var i in a2)
21339
- ls.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21340
- if (a2 != null && ii)
21341
- for (var i of ii(a2))
21342
- e.indexOf(i) < 0 && us.call(a2, i) && (t[i] = a2[i]);
21339
+ us.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21340
+ if (a2 != null && ri)
21341
+ for (var i of ri(a2))
21342
+ e.indexOf(i) < 0 && ps.call(a2, i) && (t[i] = a2[i]);
21343
21343
  return t;
21344
21344
  };
21345
- var co = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21345
+ var lo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21346
21346
  var c = (a2, e, t) => new Promise((i, r) => {
21347
21347
  var s = (d) => {
21348
21348
  try {
@@ -21359,20 +21359,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
21359
21359
  }, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
21360
21360
  n((t = t.apply(a2, e)).next());
21361
21361
  });
21362
- var kr = co((Wc, fo) => {
21363
- fo.exports = { version: "0.12.25-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
21362
+ var Er = lo(($c, vo) => {
21363
+ vo.exports = { version: "0.12.25-alpha.4", 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"] };
21364
21364
  });
21365
- var fr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(fr || {});
21366
- var lo = ((e) => (e.CHAT = "chat", e))(lo || {});
21367
- var ps = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ps || {});
21368
- var vr = ((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.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(vr || {});
21369
- var hs = ((t) => (t.audio = "audio", t.video = "video", t))(hs || {});
21365
+ var vr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(vr || {});
21366
+ var uo = ((e) => (e.CHAT = "chat", e))(uo || {});
21367
+ var hs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(hs || {});
21368
+ var Mr = ((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.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Mr || {});
21369
+ var ms = ((t) => (t.audio = "audio", t.video = "video", t))(ms || {});
21370
21370
  function Be(a2, e) {
21371
21371
  let t, i;
21372
21372
  if (e)
21373
21373
  for (let r of e.auxiliaryTracks) {
21374
21374
  let s = a2[r];
21375
- uo(s) && (i = ht(s) ? s : i, t = mt(s) ? s : t);
21375
+ po(s) && (i = ht(s) ? s : i, t = mt(s) ? s : t);
21376
21376
  }
21377
21377
  return { video: t, audio: i };
21378
21378
  }
@@ -21382,16 +21382,16 @@ function ht(a2) {
21382
21382
  function mt(a2) {
21383
21383
  return a2 && a2.type === "video";
21384
21384
  }
21385
- function uo(a2) {
21385
+ function po(a2) {
21386
21386
  return a2 && a2.source === "screen";
21387
21387
  }
21388
- function ai(a2) {
21388
+ function oi(a2) {
21389
21389
  return a2 && a2.source === "audioplaylist";
21390
21390
  }
21391
21391
  function St(a2) {
21392
21392
  return a2 && a2.source === "videoplaylist";
21393
21393
  }
21394
- function ms(a2) {
21394
+ function Ss(a2) {
21395
21395
  return a2 ? !!(a2 != null && a2.degraded) : false;
21396
21396
  }
21397
21397
  function Je(a2, e) {
@@ -21402,8 +21402,8 @@ function gt(a2) {
21402
21402
  let e = false, t = false, i = false;
21403
21403
  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 };
21404
21404
  }
21405
- var gs = ((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))(gs || {});
21406
- var po = typeof window != "undefined" && typeof window.expect != "undefined";
21405
+ var Ts = ((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))(Ts || {});
21406
+ var ho = typeof window != "undefined" && typeof window.expect != "undefined";
21407
21407
  var l = class {
21408
21408
  static v(e, ...t) {
21409
21409
  this.log(0, e, ...t);
@@ -21469,28 +21469,28 @@ var l = class {
21469
21469
  }
21470
21470
  }
21471
21471
  };
21472
- l.level = po ? 7 : 0;
21472
+ l.level = ho ? 7 : 0;
21473
21473
  var me = new import_ua_parser_js.UAParser();
21474
21474
  var B = typeof window != "undefined";
21475
- var Ts;
21476
- var Ve = typeof window == "undefined" && !((Ts = me.getBrowser().name) != null && Ts.toLowerCase().includes("electron"));
21477
- var mo = () => !Ve;
21478
- var pc = mo();
21479
21475
  var fs;
21476
+ var Ve = typeof window == "undefined" && !((fs = me.getBrowser().name) != null && fs.toLowerCase().includes("electron"));
21477
+ var So = () => !Ve;
21478
+ var hc = So();
21480
21479
  var vs;
21481
- var Ps = (vs = (fs = me.getBrowser()) == null ? void 0 : fs.name) == null ? void 0 : vs.toLowerCase().includes("safari");
21482
21480
  var Ms;
21481
+ var bs = (Ms = (vs = me.getBrowser()) == null ? void 0 : vs.name) == null ? void 0 : Ms.toLowerCase().includes("safari");
21483
21482
  var ys;
21484
- var bs = ((ys = (Ms = me.getBrowser()) == null ? void 0 : Ms.name) == null ? void 0 : ys.toLowerCase()) === "firefox";
21485
- var As = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(As || {});
21486
- function So() {
21483
+ var ks;
21484
+ var As = ((ks = (ys = me.getBrowser()) == null ? void 0 : ys.name) == null ? void 0 : ks.toLowerCase()) === "firefox";
21485
+ var Is = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Is || {});
21486
+ function go() {
21487
21487
  if (B && window) {
21488
21488
  let a2 = window.location.hostname;
21489
21489
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21490
21490
  }
21491
21491
  return "CUSTOM";
21492
21492
  }
21493
- var ze = So();
21493
+ var ze = go();
21494
21494
  var P4 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014, NO_DATA: 3015 }, 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 } };
21495
21495
  var k = class a extends Error {
21496
21496
  constructor(t, i, r, s, o, n = false) {
@@ -21547,8 +21547,8 @@ var $ = class extends k {
21547
21547
  }`;
21548
21548
  }
21549
21549
  };
21550
- var Is = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Is || {});
21551
- var go = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21550
+ var Rs = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Rs || {});
21551
+ var To = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
21552
21552
  var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21553
21553
  return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
21554
21554
  }, WebSocketConnectionLost(a2, e = "") {
@@ -21610,7 +21610,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21610
21610
  }, StatsFailed(a2, e = "") {
21611
21611
  return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
21612
21612
  } }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
21613
- return new k(a2, "ServerErrors", e, t, t, go.includes(e));
21613
+ return new k(a2, "ServerErrors", e, t, t, To.includes(e));
21614
21614
  }, AlreadyJoined(a2, e = "") {
21615
21615
  return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
21616
21616
  }, CannotJoinPreviewInProgress(a2, e = "") {
@@ -21658,7 +21658,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21658
21658
  }, NoEntryPlaying(a2, e) {
21659
21659
  return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21660
21660
  } } };
21661
- var yr = class {
21661
+ var kr = class {
21662
21662
  constructor() {
21663
21663
  this.valuesMap = /* @__PURE__ */ new Map();
21664
21664
  }
@@ -21683,9 +21683,9 @@ var yr = class {
21683
21683
  return this.valuesMap.size;
21684
21684
  }
21685
21685
  };
21686
- var Rs = () => {
21686
+ var Hs = () => {
21687
21687
  try {
21688
- B && !localStorage && (window.localStorage = new yr());
21688
+ B && !localStorage && (window.localStorage = new kr());
21689
21689
  } catch (a2) {
21690
21690
  l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21691
21691
  }
@@ -21697,7 +21697,7 @@ var Se = class {
21697
21697
  }
21698
21698
  getStorage() {
21699
21699
  try {
21700
- return B && !this.storage && (Rs(), this.storage = window.localStorage), this.storage;
21700
+ return B && !this.storage && (Hs(), this.storage = window.localStorage), this.storage;
21701
21701
  } catch (e) {
21702
21702
  return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21703
21703
  }
@@ -21717,29 +21717,29 @@ var Se = class {
21717
21717
  (e = this.getStorage()) == null || e.removeItem(this.key);
21718
21718
  }
21719
21719
  };
21720
- var oi = () => {
21720
+ var ni = () => {
21721
21721
  let a2, e = new Se("hms-analytics-deviceId"), t = e.get();
21722
21722
  return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
21723
21723
  };
21724
21724
  function le(a2) {
21725
21725
  return a2 != null;
21726
21726
  }
21727
- var Ls = kr().version;
21727
+ var Ds = Er().version;
21728
21728
  function Mt(a2 = "prod", e) {
21729
21729
  let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21730
21730
  if (Ve)
21731
- return Ds({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ls, 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 });
21732
- let r = me.getOS(), s = me.getDevice(), o = me.getBrowser(), n = Er(`web_${r.name}`), d = r.version || "", u = Er(`${o.name}_${o.version}`), p = u;
21733
- return s.type && (p = `${Er(`${s.vendor}_${s.type}`)}/${u}`), Ds({ os: n, os_version: d, sdk: t, sdk_version: Ls, 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 });
21731
+ return ws({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ds, 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 });
21732
+ let r = me.getOS(), s = me.getDevice(), o = me.getBrowser(), n = Pr(`web_${r.name}`), d = r.version || "", u = Pr(`${o.name}_${o.version}`), p = u;
21733
+ return s.type && (p = `${Pr(`${s.vendor}_${s.type}`)}/${u}`), ws({ os: n, os_version: d, sdk: t, sdk_version: Ds, 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 });
21734
21734
  }
21735
- function Er(a2) {
21735
+ function Pr(a2) {
21736
21736
  return a2.replace(/ /g, "_");
21737
21737
  }
21738
- var Ds = (a2, e = ",") => Object.keys(a2).filter((t) => le(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21738
+ var ws = (a2, e = ",") => Object.keys(a2).filter((t) => le(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21739
21739
  var C = class {
21740
21740
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21741
21741
  this.metadata = { peer: {}, userAgent: Mt() };
21742
- 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 = oi();
21742
+ 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 = ni();
21743
21743
  }
21744
21744
  toSignalParams() {
21745
21745
  return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
@@ -21755,12 +21755,12 @@ var y = class {
21755
21755
  return new C({ name: i, level: r, properties: s });
21756
21756
  }
21757
21757
  static preview(i) {
21758
- var r = i, { error: e } = r, t = Tr(r, ["error"]);
21758
+ var r = i, { error: e } = r, t = fr(r, ["error"]);
21759
21759
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21760
21760
  return new C({ name: s, level: o, properties: n });
21761
21761
  }
21762
21762
  static join(i) {
21763
- var r = i, { error: e } = r, t = Tr(r, ["error"]);
21763
+ var r = i, { error: e } = r, t = fr(r, ["error"]);
21764
21764
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
21765
21765
  return new C({ name: s, level: o, properties: n });
21766
21766
  }
@@ -21848,7 +21848,7 @@ var y = class {
21848
21848
  }
21849
21849
  };
21850
21850
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21851
- var Pr = class {
21851
+ var br = class {
21852
21852
  constructor() {
21853
21853
  this.storage = new Se("hms-device-selection");
21854
21854
  this.remember = false;
@@ -21882,11 +21882,19 @@ var Pr = class {
21882
21882
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21883
21883
  }
21884
21884
  };
21885
- var X = new Pr();
21886
- var br = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(br || {});
21887
- var Ar = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ar || {});
21888
- var Hr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(Hr || {});
21889
- function di(a2, e = 300) {
21885
+ var X = new br();
21886
+ var Ar = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Ar || {});
21887
+ var Ir = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ir || {});
21888
+ var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
21889
+ var _s = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(_s || {});
21890
+ var Ns = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ns || {});
21891
+ var Os = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Os || {});
21892
+ var xs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(xs || {});
21893
+ var Us = ((e) => (e.CAPTION = "caption", e))(Us || {});
21894
+ var Hr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Hr || {});
21895
+ var Bs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Bs || {});
21896
+ var Dr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(Dr || {});
21897
+ function li(a2, e = 300) {
21890
21898
  let t;
21891
21899
  return function(...i) {
21892
21900
  clearTimeout(t), t = void 0;
@@ -21896,15 +21904,7 @@ function di(a2, e = 300) {
21896
21904
  }, e);
21897
21905
  };
21898
21906
  }
21899
- var Lr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Lr || {});
21900
- var Os = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Os || {});
21901
- var xs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(xs || {});
21902
- var Us = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Us || {});
21903
- var Bs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Bs || {});
21904
- var Vs = ((e) => (e.CAPTION = "caption", e))(Vs || {});
21905
- var Dr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Dr || {});
21906
- var Fs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Fs || {});
21907
- var wr = class {
21907
+ var _r = class {
21908
21908
  constructor() {
21909
21909
  this.TAG = "[HMSIntersectionObserverWrapper]";
21910
21910
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21931,8 +21931,8 @@ var wr = class {
21931
21931
  return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21932
21932
  }
21933
21933
  };
21934
- var Ks = new wr();
21935
- var _r = class {
21934
+ var qs = new _r();
21935
+ var Nr = class {
21936
21936
  constructor() {
21937
21937
  this.TAG = "[HMSResizeObserverWrapper]";
21938
21938
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21945,7 +21945,7 @@ var _r = class {
21945
21945
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
21946
21946
  };
21947
21947
  this.createObserver = () => {
21948
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(di(this.handleResize, 300)));
21948
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(li(this.handleResize, 300)));
21949
21949
  };
21950
21950
  this.handleResize = (e) => {
21951
21951
  var t;
@@ -21959,43 +21959,43 @@ var _r = class {
21959
21959
  return e || l.w(this.TAG, "Resize Observer is not supported"), e;
21960
21960
  }
21961
21961
  };
21962
- var qs = new _r();
21963
- var Nr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Nr || {});
21964
- var Or = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Or || {});
21965
- var Qs = "https://event.100ms.live/v2/client/report";
21966
- var zs = "https://event-nonprod.100ms.live/v2/client/report";
21967
- var bt = Math.pow(2, 31) - 1;
21962
+ var js = new Nr();
21963
+ var Or = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Or || {});
21964
+ var xr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(xr || {});
21965
+ var zs = "https://event.100ms.live/v2/client/report";
21966
+ var Ys = "https://event-nonprod.100ms.live/v2/client/report";
21967
+ var At = Math.pow(2, 31) - 1;
21968
21968
  var st = class {
21969
21969
  };
21970
21970
  st.makePeerId = () => (0, import_uuid7.v4)();
21971
21971
  var F = (a2) => a2.room;
21972
- var Uo = (a2) => a2.errors;
21973
- var dm = createSelector(Uo, (a2) => a2.length === 0 ? null : a2.at(-1));
21974
- var lm = createSelector(F, (a2) => a2.id);
21972
+ var Bo = (a2) => a2.errors;
21973
+ var mm = createSelector(Bo, (a2) => a2.length === 0 ? null : a2.at(-1));
21974
+ var Sm = createSelector(F, (a2) => a2.id);
21975
21975
  var z = (a2) => a2.peers;
21976
- var yi = (a2) => a2.messages.byID;
21977
- var aa = (a2) => a2.messages.allIDs;
21976
+ var ki = (a2) => a2.messages.byID;
21977
+ var oa = (a2) => a2.messages.allIDs;
21978
21978
  var O = (a2) => a2.tracks;
21979
- var Kr = (a2) => a2.appData;
21980
- var Bo = (a2) => a2.speakers;
21979
+ var qr = (a2) => a2.appData;
21980
+ var Vo = (a2) => a2.speakers;
21981
21981
  var xe = createSelector([F], (a2) => a2 && a2.isConnected);
21982
- var hm = createSelector([xe, F], (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));
21983
- var Vo = (a2) => a2.hideLocalPeer;
21984
- var ve = createSelector([F, z, Vo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21985
- var Fo = createSelector(O, (a2) => Object.values(a2));
21982
+ var fm = createSelector([xe, F], (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));
21983
+ var Fo = (a2) => a2.hideLocalPeer;
21984
+ var ve = createSelector([F, z, Fo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21985
+ var Go = createSelector(O, (a2) => Object.values(a2));
21986
21986
  var re = createSelector(F, z, (a2, e) => e[a2.localPeer]);
21987
21987
  var Pe = createSelector(F, (a2) => a2.localPeer);
21988
- var mm = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
21989
- var Sm = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
21988
+ var vm = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
21989
+ var Mm = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
21990
21990
  var ce = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
21991
21991
  var Z = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
21992
- var Go = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21993
- var na = createSelector([ce, Z, Go], (a2, e, t) => {
21992
+ var Wo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
21993
+ var ca = createSelector([ce, Z, Wo], (a2, e, t) => {
21994
21994
  let i = t ? [...t] : [];
21995
21995
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21996
21996
  });
21997
- var gm = createSelector(ve, (a2) => a2.filter((e) => !e.isLocal));
21998
- var Tm = createSelector(z, Bo, (a2, e) => {
21997
+ var ym = createSelector(ve, (a2) => a2.filter((e) => !e.isLocal));
21998
+ var km = createSelector(z, Vo, (a2, e) => {
21999
21999
  let t = Object.entries(e).sort((i, r) => {
22000
22000
  var n, d;
22001
22001
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -22008,11 +22008,11 @@ var Tm = createSelector(z, Bo, (a2, e) => {
22008
22008
  }
22009
22009
  return null;
22010
22010
  });
22011
- var jr = createSelector(re, O, (a2, e) => {
22011
+ var Jr = createSelector(re, O, (a2, e) => {
22012
22012
  let { video: t, audio: i } = Be(e, a2);
22013
22013
  return !!(t || i);
22014
22014
  });
22015
- var Wo = createSelector(z, O, (a2, e) => {
22015
+ var $o = createSelector(z, O, (a2, e) => {
22016
22016
  let t;
22017
22017
  for (let i in a2) {
22018
22018
  let r = a2[i], { video: s, audio: o } = Be(e, r);
@@ -22022,15 +22022,15 @@ var Wo = createSelector(z, O, (a2, e) => {
22022
22022
  }
22023
22023
  return t;
22024
22024
  });
22025
- var vm = createSelector(Wo, (a2) => !!a2);
22026
- var Mm = createSelector(z, O, (a2, e) => {
22025
+ var Pm = createSelector($o, (a2) => !!a2);
22026
+ var bm = createSelector(z, O, (a2, e) => {
22027
22027
  for (let t in a2) {
22028
22028
  let i = a2[t], { audio: r, video: s } = Be(e, i);
22029
22029
  if (!s && r)
22030
22030
  return i;
22031
22031
  }
22032
22032
  });
22033
- var ym = createSelector(z, O, (a2, e) => {
22033
+ var Am = createSelector(z, O, (a2, e) => {
22034
22034
  let t = [], i = [];
22035
22035
  for (let r in a2) {
22036
22036
  let s = a2[r], { video: o, audio: n } = Be(e, s);
@@ -22038,82 +22038,82 @@ var ym = createSelector(z, O, (a2, e) => {
22038
22038
  }
22039
22039
  return t.concat(i);
22040
22040
  });
22041
- var km = createSelector(z, O, (a2, e) => {
22041
+ var Im = createSelector(z, O, (a2, e) => {
22042
22042
  for (let t in e) {
22043
22043
  let i = e[t];
22044
22044
  if (St(i) && mt(i) && i.peerId)
22045
22045
  return a2[i.peerId];
22046
22046
  }
22047
22047
  });
22048
- var Em = createSelector(z, O, (a2, e) => {
22048
+ var Rm = createSelector(z, O, (a2, e) => {
22049
22049
  for (let t in e) {
22050
22050
  let i = e[t];
22051
- if (ai(i) && i.peerId)
22051
+ if (oi(i) && i.peerId)
22052
22052
  return a2[i.peerId];
22053
22053
  }
22054
22054
  });
22055
- var Pm = createSelector(Fo, (a2) => a2.filter(ms));
22056
- var bm = createSelector(aa, (a2) => a2.length);
22057
- var Am = createSelector(yi, (a2) => Object.values(a2).filter((e) => !e.read).length);
22058
- var Ht = createSelector(aa, yi, (a2, e) => {
22055
+ var Hm = createSelector(Go, (a2) => a2.filter(Ss));
22056
+ var Cm = createSelector(oa, (a2) => a2.length);
22057
+ var Lm = createSelector(ki, (a2) => Object.values(a2).filter((e) => !e.read).length);
22058
+ var Ct = createSelector(oa, ki, (a2, e) => {
22059
22059
  let t = [];
22060
22060
  return a2.forEach((i) => {
22061
22061
  t.push(e[i]);
22062
22062
  }), t;
22063
22063
  });
22064
- var $o = createSelector(Ht, (a2) => a2.filter((e) => {
22064
+ var Ko = createSelector(Ct, (a2) => a2.filter((e) => {
22065
22065
  var t;
22066
22066
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
22067
22067
  }));
22068
- var Im = createSelector($o, (a2) => a2.filter((e) => !e.read).length);
22068
+ var Dm = createSelector(Ko, (a2) => a2.filter((e) => !e.read).length);
22069
22069
  var se = createSelector([F], (a2) => a2 && a2.roomState);
22070
- var da = createSelector(se, (a2) => a2 === "Preview");
22071
- var Rm = createSelector(F, (a2) => a2.roomState !== "Disconnected");
22072
- var Hm = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22070
+ var la = createSelector(se, (a2) => a2 === "Preview");
22071
+ var wm = createSelector(F, (a2) => a2.roomState !== "Disconnected");
22072
+ var _m = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
22073
22073
  var Me = (a2) => a2.roles;
22074
- var Cm = createSelector([Me], (a2) => Object.keys(a2));
22074
+ var Nm = createSelector([Me], (a2) => Object.keys(a2));
22075
22075
  var ot = createSelector([re, Me], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
22076
- var Ko = (a2) => {
22076
+ var qo = (a2) => {
22077
22077
  var e;
22078
22078
  return (e = a2.preview) == null ? void 0 : e.asRole;
22079
22079
  };
22080
- var la = createSelector([Ko, Me], (a2, e) => a2 ? e[a2] : null);
22081
- var Lm = createSelector([ot], (a2) => {
22080
+ var ua = createSelector([qo, Me], (a2, e) => a2 ? e[a2] : null);
22081
+ var Om = createSelector([ot], (a2) => {
22082
22082
  var e;
22083
22083
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
22084
22084
  });
22085
- var ua = createSelector(ot, (a2) => a2 == null ? void 0 : a2.permissions);
22086
- var Dm = createSelector(F, (a2) => a2.recording);
22087
- var wm = createSelector(F, (a2) => a2.rtmp);
22088
- var _m = createSelector(F, (a2) => a2.hls);
22089
- var Nm = createSelector(F, (a2) => a2.transcriptions);
22090
- var Om = createSelector(F, (a2) => a2.sessionId);
22091
- var xm = createSelector(F, (a2) => a2.startedAt);
22092
- var Um = createSelector(F, (a2) => !!a2.isLargeRoom);
22093
- var Bm = createSelector(F, (a2) => !!a2.isEffectsEnabled);
22094
- var Vm = createSelector(F, (a2) => !!a2.isVBEnabled);
22095
- var Fm = createSelector(F, (a2) => a2.effectsKey);
22096
- var pa = (a2) => a2.polls;
22097
- var Km = createSelector(ve, (a2) => a2.filter((e) => e.isHandRaised));
22098
- var qo = (a2) => a2.whiteboards;
22099
- var qm = createSelector(qo, (a2) => Object.values(a2)[0]);
22100
- var ma = (a2 = "audio") => (e) => e.playlist[a2].list;
22101
- var Jr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22102
- var Sa = (a2 = "audio") => (e) => e.playlist[a2].progress;
22103
- var ga = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22104
- var Ta = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22105
- var fa = (a2 = "audio") => (e) => e.playlist[a2].volume;
22106
- var va = (a2 = "audio") => createSelector(ma(a2), (e) => Object.values(e));
22107
- var Ma = (a2 = "audio") => createSelector(ma(a2), Jr(a2), (e, t) => {
22085
+ var pa = createSelector(ot, (a2) => a2 == null ? void 0 : a2.permissions);
22086
+ var xm = createSelector(F, (a2) => a2.recording);
22087
+ var Um = createSelector(F, (a2) => a2.rtmp);
22088
+ var Bm = createSelector(F, (a2) => a2.hls);
22089
+ var Vm = createSelector(F, (a2) => a2.transcriptions);
22090
+ var Fm = createSelector(F, (a2) => a2.sessionId);
22091
+ var Gm = createSelector(F, (a2) => a2.startedAt);
22092
+ var Wm = createSelector(F, (a2) => !!a2.isLargeRoom);
22093
+ var $m = createSelector(F, (a2) => !!a2.isEffectsEnabled);
22094
+ var Km = createSelector(F, (a2) => !!a2.isVBEnabled);
22095
+ var qm = createSelector(F, (a2) => a2.effectsKey);
22096
+ var ha = (a2) => a2.polls;
22097
+ var zm = createSelector(ve, (a2) => a2.filter((e) => e.isHandRaised));
22098
+ var jo = (a2) => a2.whiteboards;
22099
+ var Ym = createSelector(jo, (a2) => Object.values(a2)[0]);
22100
+ var Sa = (a2 = "audio") => (e) => e.playlist[a2].list;
22101
+ var Qr = (a2 = "audio") => (e) => e.playlist[a2].selection;
22102
+ var ga = (a2 = "audio") => (e) => e.playlist[a2].progress;
22103
+ var Ta = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
22104
+ var fa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
22105
+ var va = (a2 = "audio") => (e) => e.playlist[a2].volume;
22106
+ var Ma = (a2 = "audio") => createSelector(Sa(a2), (e) => Object.values(e));
22107
+ var ya = (a2 = "audio") => createSelector(Sa(a2), Qr(a2), (e, t) => {
22108
22108
  if (t.id)
22109
22109
  return e[t.id];
22110
22110
  });
22111
- var ya = { selection: Jr("audio"), progress: Sa("audio"), currentTime: ga("audio"), playbackRate: Ta("audio"), volume: fa("audio"), list: va("audio"), selectedItem: Ma("audio") };
22112
- var ka = { selection: Jr("video"), progress: Sa("video"), currentTime: ga("video"), playbackRate: Ta("video"), volume: fa("video"), list: va("video"), selectedItem: Ma("video") };
22111
+ var ka = { selection: Qr("audio"), progress: ga("audio"), currentTime: Ta("audio"), playbackRate: fa("audio"), volume: va("audio"), list: Ma("audio"), selectedItem: ya("audio") };
22112
+ var Ea = { selection: Qr("video"), progress: ga("video"), currentTime: Ta("video"), playbackRate: fa("video"), volume: va("video"), list: Ma("video"), selectedItem: ya("video") };
22113
22113
  function H(a2) {
22114
22114
  return (e) => (t) => a2(t, e);
22115
22115
  }
22116
- var Ct = "HMS-Store:";
22116
+ var Lt = "HMS-Store:";
22117
22117
  var b = class {
22118
22118
  static v(e, ...t) {
22119
22119
  this.log(0, e, ...t);
@@ -22143,23 +22143,23 @@ var b = class {
22143
22143
  if (!(this.level.valueOf() > e.valueOf()))
22144
22144
  switch (e) {
22145
22145
  case 0: {
22146
- console.log(Ct, ...t);
22146
+ console.log(Lt, ...t);
22147
22147
  break;
22148
22148
  }
22149
22149
  case 1: {
22150
- console.debug(Ct, ...t);
22150
+ console.debug(Lt, ...t);
22151
22151
  break;
22152
22152
  }
22153
22153
  case 2: {
22154
- console.info(Ct, ...t);
22154
+ console.info(Lt, ...t);
22155
22155
  break;
22156
22156
  }
22157
22157
  case 3: {
22158
- console.warn(Ct, ...t);
22158
+ console.warn(Lt, ...t);
22159
22159
  break;
22160
22160
  }
22161
22161
  case 6: {
22162
- console.error(Ct, ...t);
22162
+ console.error(Lt, ...t);
22163
22163
  break;
22164
22164
  }
22165
22165
  case 4: {
@@ -22180,133 +22180,133 @@ var b = class {
22180
22180
  }
22181
22181
  };
22182
22182
  b.level = 0;
22183
- var Qr = (a2, e) => e;
22184
- var Lt = (a2, e) => e;
22185
- var Ea = (a2, e) => e;
22186
- var jo = (a2, e) => e;
22183
+ var zr = (a2, e) => e;
22184
+ var Dt = (a2, e) => e;
22185
+ var Pa = (a2, e) => e;
22187
22186
  var Jo = (a2, e) => e;
22188
- var Y = createSelector([z, Qr], (a2, e) => e ? a2[e] : null);
22189
- var zr = createSelector([O, Lt], (a2, e) => e ? a2[e] : null);
22190
- var Qo = createSelector([O, Lt], (a2, e) => {
22187
+ var Qo = (a2, e) => e;
22188
+ var Y = createSelector([z, zr], (a2, e) => e ? a2[e] : null);
22189
+ var Yr = createSelector([O, Dt], (a2, e) => e ? a2[e] : null);
22190
+ var zo = createSelector([O, Dt], (a2, e) => {
22191
22191
  if (!e)
22192
22192
  return null;
22193
22193
  let t = a2[e];
22194
22194
  return (t == null ? void 0 : t.type) === "video" ? t : null;
22195
22195
  });
22196
- var zo = createSelector([O, Lt], (a2, e) => {
22196
+ var Yo = createSelector([O, Dt], (a2, e) => {
22197
22197
  if (!e)
22198
22198
  return null;
22199
22199
  let t = a2[e];
22200
22200
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
22201
22201
  });
22202
- var Yo = createSelector([O, Lt], (a2, e) => {
22202
+ var Xo = createSelector([O, Dt], (a2, e) => {
22203
22203
  if (!e)
22204
22204
  return null;
22205
22205
  let t = a2[e];
22206
22206
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22207
22207
  });
22208
- var Xo = createSelector([O, Lt], (a2, e) => {
22208
+ var Zo = createSelector([O, Dt], (a2, e) => {
22209
22209
  if (!e)
22210
22210
  return null;
22211
22211
  let t = a2[e];
22212
22212
  return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
22213
22213
  });
22214
- var Zo = createSelector([pa, Jo], (a2, e) => e ? a2[e] : null);
22214
+ var en = createSelector([ha, Qo], (a2, e) => e ? a2[e] : null);
22215
22215
  var ee = H(Y);
22216
- var rS = H(createSelector([Kr, jo], (a2, e) => {
22216
+ var cS = H(createSelector([qr, Jo], (a2, e) => {
22217
22217
  if (a2)
22218
22218
  return e ? a2[e] : a2;
22219
22219
  }));
22220
- function sS(a2) {
22220
+ function dS(a2) {
22221
22221
  return (e) => {
22222
22222
  if (e.sessionStore)
22223
22223
  return a2 ? e.sessionStore[a2] : e.sessionStore;
22224
22224
  };
22225
22225
  }
22226
- var oS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.name));
22227
- var nS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.type));
22228
- var ki = H(zr);
22229
- var Pa = H(Qo);
22230
- var cS = H(zo);
22231
- var dS = H(Yo);
22232
- var lS = H(Xo);
22233
- var en = H((a2, e) => {
22226
+ var uS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.name));
22227
+ var pS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.type));
22228
+ var Ei = H(Yr);
22229
+ var ba = H(zo);
22230
+ var hS = H(Yo);
22231
+ var mS = H(Xo);
22232
+ var SS = H(Zo);
22233
+ var tn = H((a2, e) => {
22234
22234
  let t = Y(a2, e);
22235
22235
  if (t && t.videoTrack && t.videoTrack !== "")
22236
22236
  return a2.tracks[t.videoTrack];
22237
22237
  });
22238
- var tn = H((a2, e) => {
22238
+ var rn = H((a2, e) => {
22239
22239
  let t = Y(a2, e);
22240
22240
  if (t && t.audioTrack && t.audioTrack !== "")
22241
22241
  return a2.tracks[t.audioTrack];
22242
22242
  });
22243
- var pS = H((a2, e) => {
22243
+ var TS = H((a2, e) => {
22244
22244
  let t = Y(a2, e);
22245
22245
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
22246
22246
  });
22247
- var ba = (a2, e) => e ? a2.speakers[e] : null;
22248
- var hS = H(createSelector(ba, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22249
- var rn = (a2, e) => {
22250
- let t = tn(e)(a2);
22251
- return ba(a2, t == null ? void 0 : t.id);
22252
- };
22253
- var mS = H(createSelector(rn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22254
- var SS = H((a2, e) => {
22247
+ var Aa = (a2, e) => e ? a2.speakers[e] : null;
22248
+ var fS = H(createSelector(Aa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22249
+ var sn = (a2, e) => {
22250
+ let t = rn(e)(a2);
22251
+ return Aa(a2, t == null ? void 0 : t.id);
22252
+ };
22253
+ var vS = H(createSelector(sn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
22254
+ var MS = H((a2, e) => {
22255
22255
  if (e)
22256
22256
  return a2.connectionQualities[e];
22257
22257
  });
22258
- var gS = H((a2, e) => {
22258
+ var yS = H((a2, e) => {
22259
22259
  let t = Y(a2, e);
22260
22260
  if (t) {
22261
22261
  let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ht(a2.tracks[r]));
22262
22262
  return i ? a2.tracks[i] : void 0;
22263
22263
  }
22264
22264
  });
22265
- var TS = H(createSelector(O, Y, (a2, e) => {
22265
+ var kS = H(createSelector(O, Y, (a2, e) => {
22266
22266
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22267
22267
  let r = a2[i];
22268
22268
  return St(r) && mt(r);
22269
22269
  });
22270
22270
  return t ? a2[t] : void 0;
22271
22271
  }));
22272
- var fS = H(createSelector(O, Y, (a2, e) => {
22272
+ var ES = H(createSelector(O, Y, (a2, e) => {
22273
22273
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22274
22274
  let r = a2[i];
22275
22275
  return St(r) && ht(r);
22276
22276
  });
22277
22277
  return t ? a2[t] : void 0;
22278
22278
  }));
22279
- var vS = H(createSelector(O, Y, (a2, e) => {
22279
+ var PS = H(createSelector(O, Y, (a2, e) => {
22280
22280
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22281
22281
  let r = a2[i];
22282
- return ai(r) && ht(r);
22282
+ return oi(r) && ht(r);
22283
22283
  });
22284
22284
  return t ? a2[t] : void 0;
22285
22285
  }));
22286
- var Aa = H(createSelector(O, Y, (a2, e) => Be(a2, e)));
22287
- var Ia = (a2) => createSelector(Aa(a2), (e) => e.audio);
22288
- var yS = H((a2, e) => {
22286
+ var Ia = H(createSelector(O, Y, (a2, e) => Be(a2, e)));
22287
+ var Ra = (a2) => createSelector(Ia(a2), (e) => e.audio);
22288
+ var AS = H((a2, e) => {
22289
22289
  let t = Y(a2, e);
22290
22290
  return Je(a2, t == null ? void 0 : t.audioTrack);
22291
22291
  });
22292
- var kS = H((a2, e) => {
22292
+ var IS = H((a2, e) => {
22293
22293
  let t = Y(a2, e);
22294
22294
  return Je(a2, t == null ? void 0 : t.videoTrack);
22295
22295
  });
22296
- var Ra = H((a2, e) => {
22296
+ var Ha = H((a2, e) => {
22297
22297
  if (e && a2.tracks[e])
22298
22298
  return a2.tracks[e].volume === 0;
22299
22299
  });
22300
- var ES = H((a2, e) => {
22300
+ var RS = H((a2, e) => {
22301
22301
  let t = Y(a2, e);
22302
- return Ra(t == null ? void 0 : t.audioTrack)(a2);
22302
+ return Ha(t == null ? void 0 : t.audioTrack)(a2);
22303
22303
  });
22304
- var PS = H((a2, e) => {
22305
- let t = Ia(e)(a2);
22306
- return Ra(t == null ? void 0 : t.id)(a2);
22304
+ var HS = H((a2, e) => {
22305
+ let t = Ra(e)(a2);
22306
+ return Ha(t == null ? void 0 : t.id)(a2);
22307
22307
  });
22308
- var Ha = H((a2, e) => {
22309
- let t = zr(a2, e);
22308
+ var Ca = H((a2, e) => {
22309
+ let t = Yr(a2, e);
22310
22310
  if (t) {
22311
22311
  if (t.type !== "audio") {
22312
22312
  b.w("Please pass audio track here");
@@ -22315,16 +22315,16 @@ var Ha = H((a2, e) => {
22315
22315
  return t.volume;
22316
22316
  }
22317
22317
  });
22318
- var bS = H((a2, e) => {
22318
+ var CS = H((a2, e) => {
22319
22319
  let t = Y(a2, e);
22320
- return Ha(t == null ? void 0 : t.audioTrack)(a2);
22320
+ return Ca(t == null ? void 0 : t.audioTrack)(a2);
22321
22321
  });
22322
- var AS = H((a2, e) => {
22323
- let t = Ia(e)(a2);
22324
- return Ha(t == null ? void 0 : t.id)(a2);
22322
+ var LS = H((a2, e) => {
22323
+ let t = Ra(e)(a2);
22324
+ return Ca(t == null ? void 0 : t.id)(a2);
22325
22325
  });
22326
- var IS = H((a2, e) => {
22327
- let t = zr(a2, e);
22326
+ var DS = H((a2, e) => {
22327
+ let t = Yr(a2, e);
22328
22328
  if (t) {
22329
22329
  if (t.type !== "video") {
22330
22330
  b.w("Please pass video track here");
@@ -22333,50 +22333,50 @@ var IS = H((a2, e) => {
22333
22333
  return t.layer;
22334
22334
  }
22335
22335
  });
22336
- var Ca = createSelector([Ht, Pe, Qr], (a2, e, t) => {
22336
+ var La = createSelector([Ct, Pe, zr], (a2, e, t) => {
22337
22337
  if (t)
22338
22338
  return a2.filter((i) => {
22339
22339
  var r;
22340
22340
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22341
22341
  });
22342
22342
  });
22343
- var La = createSelector([Ht, Ea], (a2, e) => {
22343
+ var Da = createSelector([Ct, Pa], (a2, e) => {
22344
22344
  if (e)
22345
22345
  return a2.filter((t) => {
22346
22346
  var i, r;
22347
22347
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22348
22348
  });
22349
22349
  });
22350
- var sn = createSelector(Ht, (a2) => a2.filter((e) => {
22350
+ var an = createSelector(Ct, (a2) => a2.filter((e) => {
22351
22351
  var t;
22352
22352
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22353
22353
  }));
22354
- var an = createSelector([La, Ea], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22355
- var on = createSelector([Ca, Qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22356
- var RS = createSelector(sn, (a2) => a2.filter((e) => !e.read).length);
22357
- var HS = H(Ca);
22358
- var CS = H(La);
22359
- var LS = H(an);
22360
- var DS = H(on);
22361
- var Da = H(Zo);
22362
- var $S = createSelector([z, O], (a2, e) => Object.values(a2).map((i) => {
22354
+ var on = createSelector([Da, Pa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22355
+ var nn = createSelector([La, zr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22356
+ var wS = createSelector(an, (a2) => a2.filter((e) => !e.read).length);
22357
+ var _S = H(La);
22358
+ var NS = H(Da);
22359
+ var OS = H(on);
22360
+ var xS = H(nn);
22361
+ var wa = H(en);
22362
+ var QS = createSelector([z, O], (a2, e) => Object.values(a2).map((i) => {
22363
22363
  var r;
22364
22364
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22365
22365
  }));
22366
- var nn = (a2) => a2.roleChangeRequests[0] || null;
22367
- var KS = createSelector([nn, z, Me], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22368
- var qS = createSelector([ot], (a2) => gt(a2));
22369
- var jS = createSelector([la], (a2) => gt(a2));
22370
- var dn = createSelector([Z, O], (a2, e) => {
22366
+ var cn = (a2) => a2.roleChangeRequests[0] || null;
22367
+ var zS = createSelector([cn, z, Me], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22368
+ var YS = createSelector([ot], (a2) => gt(a2));
22369
+ var XS = createSelector([ua], (a2) => gt(a2));
22370
+ var ln = createSelector([Z, O], (a2, e) => {
22371
22371
  let t = null;
22372
22372
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22373
22373
  });
22374
- var ln = createSelector([ce, O], (a2, e) => {
22374
+ var un = createSelector([ce, O], (a2, e) => {
22375
22375
  let t = null;
22376
22376
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22377
22377
  });
22378
- var hn = ((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))(hn || {});
22379
- var ts = class {
22378
+ var mn = ((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))(mn || {});
22379
+ var is = class {
22380
22380
  constructor() {
22381
22381
  this.TAG = "[HTTPAnalyticsTransport]";
22382
22382
  this.failedEvents = new Se("client-events");
@@ -22395,7 +22395,7 @@ var ts = class {
22395
22395
  this.addEventToStorage(e);
22396
22396
  return;
22397
22397
  }
22398
- 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" ? Qs : zs;
22398
+ 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" ? zs : Ys;
22399
22399
  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) => {
22400
22400
  if (r.status === 401) {
22401
22401
  this.removeFromStorage(e);
@@ -22421,8 +22421,8 @@ var ts = class {
22421
22421
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22422
22422
  }
22423
22423
  };
22424
- var Ae = new ts();
22425
- var Ft = class {
22424
+ var Ae = new is();
22425
+ var Gt = class {
22426
22426
  static handleError(e) {
22427
22427
  if (e.status === 404)
22428
22428
  throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
@@ -22448,67 +22448,67 @@ var Ft = class {
22448
22448
  });
22449
22449
  }
22450
22450
  };
22451
- Ft.TAG = "[FeedbackService]";
22452
- var is = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(is || {});
22453
- var J = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(J || {});
22454
- var ar = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ar || {});
22451
+ Gt.TAG = "[FeedbackService]";
22452
+ var rs = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(rs || {});
22453
+ var Q = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(Q || {});
22454
+ var or = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(or || {});
22455
22455
  var ut = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ut || {});
22456
- var wn = (a2) => a2.localPeer.id;
22457
- var _n = (a2) => a2.localPeer.audioTrack;
22458
- var Nn = (a2) => a2.localPeer.videoTrack;
22459
- var On = (a2, e) => e;
22460
- var to = (a2, e) => e;
22461
- var xn = (a2) => a2.remoteTrackStats;
22462
- var io = (a2) => a2.peerStats;
22463
- var os = (a2) => a2.localTrackStats;
22464
- var Re = createSelector([io, wn], (a2, e) => a2[e]);
22465
- var Un = createSelector(Re, (a2) => {
22456
+ var _n = (a2) => a2.localPeer.id;
22457
+ var Nn = (a2) => a2.localPeer.audioTrack;
22458
+ var On = (a2) => a2.localPeer.videoTrack;
22459
+ var xn = (a2, e) => e;
22460
+ var io = (a2, e) => e;
22461
+ var Un = (a2) => a2.remoteTrackStats;
22462
+ var ro = (a2) => a2.peerStats;
22463
+ var ns = (a2) => a2.localTrackStats;
22464
+ var Re = createSelector([ro, _n], (a2, e) => a2[e]);
22465
+ var Bn = createSelector(Re, (a2) => {
22466
22466
  var e;
22467
22467
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
22468
22468
  });
22469
- var Bn = createSelector(Re, (a2) => {
22469
+ var Vn = createSelector(Re, (a2) => {
22470
22470
  var e;
22471
22471
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
22472
22472
  });
22473
- var Vn = createSelector(Re, (a2) => {
22473
+ var Fn = createSelector(Re, (a2) => {
22474
22474
  var e;
22475
22475
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
22476
22476
  });
22477
- var Fn = createSelector(Re, (a2) => {
22477
+ var Gn = createSelector(Re, (a2) => {
22478
22478
  var e;
22479
22479
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
22480
22480
  });
22481
- var Gn = createSelector(Re, (a2) => {
22481
+ var Wn = createSelector(Re, (a2) => {
22482
22482
  var e;
22483
22483
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
22484
22484
  });
22485
- var Wn = createSelector(Re, (a2) => {
22485
+ var $n = createSelector(Re, (a2) => {
22486
22486
  var e;
22487
22487
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
22488
22488
  });
22489
- var $n = createSelector(Re, (a2) => {
22489
+ var Kn = createSelector(Re, (a2) => {
22490
22490
  var e;
22491
22491
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
22492
22492
  });
22493
- var Kn = createSelector(Re, (a2) => {
22493
+ var qn = createSelector(Re, (a2) => {
22494
22494
  var e;
22495
22495
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
22496
22496
  });
22497
- var qn = createSelector([io, On], (a2, e) => e ? a2[e] : void 0);
22498
- var jn = createSelector([xn, to], (a2, e) => e ? a2[e] : void 0);
22499
- var ns = createSelector([os, to], (a2, e) => e ? a2[e] : void 0);
22500
- var Jn = H(qn);
22497
+ var jn = createSelector([ro, xn], (a2, e) => e ? a2[e] : void 0);
22498
+ var Jn = createSelector([Un, io], (a2, e) => e ? a2[e] : void 0);
22499
+ var cs = createSelector([ns, io], (a2, e) => e ? a2[e] : void 0);
22501
22500
  var Qn = H(jn);
22502
- var zn = createSelector([os, _n], (a2, e) => {
22501
+ var zn = H(Jn);
22502
+ var Yn = createSelector([ns, Nn], (a2, e) => {
22503
22503
  var t;
22504
22504
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22505
22505
  });
22506
- var Yn = H(createSelector(ns, (a2) => a2 == null ? void 0 : a2[0]));
22507
- var Xn = createSelector([os, Nn], (a2, e) => {
22506
+ var Xn = H(createSelector(cs, (a2) => a2 == null ? void 0 : a2[0]));
22507
+ var Zn = createSelector([ns, On], (a2, e) => {
22508
22508
  var t;
22509
22509
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22510
22510
  });
22511
- var Zn = H(createSelector(ns, (a2) => a2));
22511
+ var ec = H(createSelector(cs, (a2) => a2));
22512
22512
 
22513
22513
  // src/Prebuilt/components/Header/StreamActions.tsx
22514
22514
  var import_react_sdk41 = require("@100mslive/react-sdk");
@@ -22617,7 +22617,7 @@ var RecordingStatus = () => {
22617
22617
  };
22618
22618
  var RecordingPauseStatus = () => {
22619
22619
  const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
22620
- if (recording.hls && recording.hls.state === Os.PAUSED) {
22620
+ if (recording.hls && recording.hls.state === _s.PAUSED) {
22621
22621
  return /* @__PURE__ */ import_react88.default.createElement(
22622
22622
  Tooltip,
22623
22623
  {
@@ -27367,7 +27367,7 @@ var Chat = () => {
27367
27367
  const listRef = (0, import_react153.useRef)(null);
27368
27368
  const hmsActions = (0, import_react_sdk74.useHMSActions)();
27369
27369
  const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
27370
- const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(sS("chatState" /* CHAT_STATE */)) || {};
27370
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(dS("chatState" /* CHAT_STATE */)) || {};
27371
27371
  const isMobile = (0, import_react_use27.useMedia)(config.media.md);
27372
27372
  const isMobileHLSStream = useMobileHLSStream();
27373
27373
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27457,7 +27457,7 @@ var NewMessageIndicator = ({
27457
27457
  scrollToBottom,
27458
27458
  listRef
27459
27459
  }) => {
27460
- const unreadCount = (0, import_react_sdk74.useHMSStore)(Am);
27460
+ const unreadCount = (0, import_react_sdk74.useHMSStore)(Lm);
27461
27461
  if (!unreadCount || !listRef.current) {
27462
27462
  return null;
27463
27463
  }
@@ -28423,12 +28423,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
28423
28423
  const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
28424
28424
  const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
28425
28425
  const isEffectsSupported = VBHandler.isEffectsSupported();
28426
- const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(Bm);
28427
- const effectsKey = (0, import_react_sdk82.useHMSStore)(Fm);
28426
+ const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)($m);
28427
+ const effectsKey = (0, import_react_sdk82.useHMSStore)(qm);
28428
28428
  const isMobile = (0, import_react_use33.useMedia)(config.media.md);
28429
28429
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
28430
28430
  const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
28431
- const background = (0, import_react_sdk82.useHMSStore)(rS(APP_DATA.background));
28431
+ const background = (0, import_react_sdk82.useHMSStore)(cS(APP_DATA.background));
28432
28432
  const mediaList = backgroundMedia.map((media) => media.url || "");
28433
28433
  const pluginLoadingRef = (0, import_react163.useRef)(false);
28434
28434
  const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
@@ -34180,8 +34180,8 @@ var import_react230 = require("react");
34180
34180
  var import_react_sdk118 = require("@100mslive/react-sdk");
34181
34181
  var MessageNotifications = () => {
34182
34182
  var _a7, _b7;
34183
- const notification = (0, import_react_sdk118.useHMSNotifications)(vr.NEW_MESSAGE);
34184
- const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(jr);
34183
+ const notification = (0, import_react_sdk118.useHMSNotifications)(Mr.NEW_MESSAGE);
34184
+ const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(Jr);
34185
34185
  const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
34186
34186
  const { pipWindow } = usePIPWindow();
34187
34187
  const { showNotification } = (0, import_react_sdk118.useAwayNotifications)();