@100mslive/roomkit-react 0.3.15-alpha.5 → 0.3.15-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6d15ef35-3d15-4d8c-96ab-ecf08f46fca2", 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.5-alpha.5", 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.3 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.15-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6d15ef35-3d15-4d8c-96ab-ecf08f46fca2", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/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.15-alpha.5", 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.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "586", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240630.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.4/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19026", 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.15-alpha.5", 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: "9834360848", 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: "3e504fe9d0637a79ce342d651b599498cb0b1f16", 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: "f7e22e17414067ecf268073c95378d544d248ed5be54e7ee5c56cdfe125c4c6f", 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--1720418744575-0.3068465903034676:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720418744382-0.32303720100521693:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720418718838-0.9570559831603851:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720418718658-0.8436413662778883:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/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.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_50931d2a-edb5-41d9-b580-1ff5908ea958", INVOCATION_ID: "d11d7c46133d4bc0a5c27bc136257a0b", 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: "598", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 325", 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/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.15-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.15-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "3e504fe9d0637a79ce342d651b599498cb0b1f16", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6d15ef35-3d15-4d8c-96ab-ecf08f46fca2", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6d15ef35-3d15-4d8c-96ab-ecf08f46fca2", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6d15ef35-3d15-4d8c-96ab-ecf08f46fca2" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_fe7e8218-6120-4791-83f4-c473f2e3f82b", 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.5-alpha.7", 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.3 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.15-alpha.7", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_fe7e8218-6120-4791-83f4-c473f2e3f82b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/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.15-alpha.7", 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.9", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "589", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240630.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.4/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17340", 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.15-alpha.7", 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: "9869434392", 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: "222311e6823402739b7714ff23be95cb1dacf840", 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: "4749e67a1ea3e70a41f1026fb3080184e830581dd93e0915253f71dd64a566e9", 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--1720594036612-0.10113101465177832:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720594036412-0.06528828087758409:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720594011123-0.6321311470959503:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1720594010943-0.6758302921081323:/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.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/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.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_30e3f105-6ff2-4644-a37c-de7686600649", INVOCATION_ID: "4593f125e40d4ea2a0e43f8bbccc007f", 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: "600", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 347", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.15-alpha.7", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.15-alpha.7", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "222311e6823402739b7714ff23be95cb1dacf840", GITHUB_RUN_ATTEMPT: "2", 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: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_fe7e8218-6120-4791-83f4-c473f2e3f82b", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_fe7e8218-6120-4791-83f4-c473f2e3f82b", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_fe7e8218-6120-4791-83f4-c473f2e3f82b" };
111
111
  }
112
112
  });
113
113
 
@@ -4149,7 +4149,7 @@ var require_lodash = __commonJS({
4149
4149
  function eq(value, other) {
4150
4150
  return value === other || value !== value && other !== other;
4151
4151
  }
4152
- var gt = createRelationalOperation(baseGt);
4152
+ var gt2 = createRelationalOperation(baseGt);
4153
4153
  var gte = createRelationalOperation(function(value, other) {
4154
4154
  return value >= other;
4155
4155
  });
@@ -4291,7 +4291,7 @@ var require_lodash = __commonJS({
4291
4291
  function isWeakSet(value) {
4292
4292
  return isObjectLike(value) && baseGetTag(value) == weakSetTag;
4293
4293
  }
4294
- var lt = createRelationalOperation(baseLt);
4294
+ var lt2 = createRelationalOperation(baseLt);
4295
4295
  var lte = createRelationalOperation(function(value, other) {
4296
4296
  return value <= other;
4297
4297
  });
@@ -4373,7 +4373,7 @@ var require_lodash = __commonJS({
4373
4373
  var assignWith = createAssigner(function(object, source, srcIndex, customizer2) {
4374
4374
  copyObject(source, keys(source), object, customizer2);
4375
4375
  });
4376
- var at2 = flatRest(baseAt);
4376
+ var at = flatRest(baseAt);
4377
4377
  function create(prototype, properties) {
4378
4378
  var result2 = baseCreate(prototype);
4379
4379
  return properties == null ? result2 : baseAssign(result2, properties);
@@ -5107,7 +5107,7 @@ var require_lodash = __commonJS({
5107
5107
  lodash.assignIn = assignIn;
5108
5108
  lodash.assignInWith = assignInWith;
5109
5109
  lodash.assignWith = assignWith;
5110
- lodash.at = at2;
5110
+ lodash.at = at;
5111
5111
  lodash.before = before;
5112
5112
  lodash.bind = bind;
5113
5113
  lodash.bindAll = bindAll;
@@ -5288,7 +5288,7 @@ var require_lodash = __commonJS({
5288
5288
  lodash.forOwn = forOwn;
5289
5289
  lodash.forOwnRight = forOwnRight;
5290
5290
  lodash.get = get;
5291
- lodash.gt = gt;
5291
+ lodash.gt = gt2;
5292
5292
  lodash.gte = gte;
5293
5293
  lodash.has = has;
5294
5294
  lodash.hasIn = hasIn;
@@ -5341,7 +5341,7 @@ var require_lodash = __commonJS({
5341
5341
  lodash.lastIndexOf = lastIndexOf;
5342
5342
  lodash.lowerCase = lowerCase;
5343
5343
  lodash.lowerFirst = lowerFirst;
5344
- lodash.lt = lt;
5344
+ lodash.lt = lt2;
5345
5345
  lodash.lte = lte;
5346
5346
  lodash.max = max;
5347
5347
  lodash.maxBy = maxBy;
@@ -19890,25 +19890,26 @@ import { v4 as vo } from "uuid";
19890
19890
  import { v4 as Po } from "uuid";
19891
19891
  import { v4 as Io } from "uuid";
19892
19892
  import { EventEmitter2 as Ao } from "eventemitter2";
19893
- var $t = __toESM(require_lib());
19893
+ var Wt = __toESM(require_lib());
19894
19894
  import { EventEmitter2 as tn } from "eventemitter2";
19895
19895
  import { v4 as nn } from "uuid";
19896
19896
  import { EventEmitter2 as cn } from "eventemitter2";
19897
+ import { EventEmitter2 as Tn } from "eventemitter2";
19897
19898
  import dn from "eventemitter2";
19898
19899
  import { v4 as ln } from "uuid";
19899
19900
  import { v4 as hn } from "uuid";
19900
19901
  var ja = Object.defineProperty;
19901
19902
  var Ja = Object.defineProperties;
19902
19903
  var Qa = Object.getOwnPropertyDescriptors;
19903
- var Zt = Object.getOwnPropertySymbols;
19904
+ var Xt = Object.getOwnPropertySymbols;
19904
19905
  var rs = Object.prototype.hasOwnProperty;
19905
19906
  var ss = Object.prototype.propertyIsEnumerable;
19906
19907
  var is = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
19907
19908
  var m = (a2, e) => {
19908
19909
  for (var t in e || (e = {}))
19909
19910
  rs.call(e, t) && is(a2, t, e[t]);
19910
- if (Zt)
19911
- for (var t of Zt(e))
19911
+ if (Xt)
19912
+ for (var t of Xt(e))
19912
19913
  ss.call(e, t) && is(a2, t, e[t]);
19913
19914
  return a2;
19914
19915
  };
@@ -19917,14 +19918,14 @@ var mr = (a2, e) => {
19917
19918
  var t = {};
19918
19919
  for (var i in a2)
19919
19920
  rs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
19920
- if (a2 != null && Zt)
19921
- for (var i of Zt(a2))
19921
+ if (a2 != null && Xt)
19922
+ for (var i of Xt(a2))
19922
19923
  e.indexOf(i) < 0 && ss.call(a2, i) && (t[i] = a2[i]);
19923
19924
  return t;
19924
19925
  };
19925
19926
  var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19926
- var Mr = Xa((Fc, no) => {
19927
- no.exports = { version: "0.12.15-alpha.5", 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"] };
19927
+ var Mr = Xa((Gc, no) => {
19928
+ no.exports = { version: "0.12.15-alpha.7", 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"] };
19928
19929
  });
19929
19930
  var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
19930
19931
  var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
@@ -19936,23 +19937,23 @@ function xe(a2, e) {
19936
19937
  if (e)
19937
19938
  for (let r of e.auxiliaryTracks) {
19938
19939
  let s = a2[r];
19939
- eo(s) && (i = ut(s) ? s : i, t = pt(s) ? s : t);
19940
+ eo(s) && (i = lt(s) ? s : i, t = ut(s) ? s : t);
19940
19941
  }
19941
19942
  return { video: t, audio: i };
19942
19943
  }
19943
- function ut(a2) {
19944
+ function lt(a2) {
19944
19945
  return a2 && a2.type === "audio";
19945
19946
  }
19946
- function pt(a2) {
19947
+ function ut(a2) {
19947
19948
  return a2 && a2.type === "video";
19948
19949
  }
19949
19950
  function eo(a2) {
19950
19951
  return a2 && a2.source === "screen";
19951
19952
  }
19952
- function ii(a2) {
19953
+ function ti(a2) {
19953
19954
  return a2 && a2.source === "audioplaylist";
19954
19955
  }
19955
- function ht(a2) {
19956
+ function pt(a2) {
19956
19957
  return a2 && a2.source === "videoplaylist";
19957
19958
  }
19958
19959
  function ns(a2) {
@@ -19961,7 +19962,7 @@ function ns(a2) {
19961
19962
  function je(a2, e) {
19962
19963
  return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
19963
19964
  }
19964
- function mt(a2) {
19965
+ function ht(a2) {
19965
19966
  var r;
19966
19967
  let e = false, t = false, i = false;
19967
19968
  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 };
@@ -20039,7 +20040,7 @@ var O = typeof window != "undefined";
20039
20040
  var ls;
20040
20041
  var Ue = typeof window == "undefined" && !((ls = ge.getBrowser().name) != null && ls.toLowerCase().includes("electron"));
20041
20042
  var ro = () => !Ue;
20042
- var ic = ro();
20043
+ var rc = ro();
20043
20044
  var us;
20044
20045
  var ps;
20045
20046
  var ms = ((ps = (us = ge.getBrowser()) == null ? void 0 : us.name) == null ? void 0 : ps.toLowerCase()) === "firefox";
@@ -20257,7 +20258,7 @@ function oe(a2) {
20257
20258
  return a2 != null;
20258
20259
  }
20259
20260
  var vs = Mr().version;
20260
- function Tt(a2 = "prod", e) {
20261
+ function gt(a2 = "prod", e) {
20261
20262
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
20262
20263
  if (Ue)
20263
20264
  return Ms({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: vs, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
@@ -20270,7 +20271,7 @@ function yr(a2) {
20270
20271
  var Ms = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
20271
20272
  var H = class {
20272
20273
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
20273
- this.metadata = { peer: {}, userAgent: Tt() };
20274
+ this.metadata = { peer: {}, userAgent: gt() };
20274
20275
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = Ts();
20275
20276
  }
20276
20277
  toSignalParams() {
@@ -20411,7 +20412,7 @@ var kr = class {
20411
20412
  var Q = new kr();
20412
20413
  var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
20413
20414
  var Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
20414
- function ai(a2, e = 300) {
20415
+ function si(a2, e = 300) {
20415
20416
  let t;
20416
20417
  return function(...i) {
20417
20418
  clearTimeout(t), t = void 0;
@@ -20470,7 +20471,7 @@ var Ar = class {
20470
20471
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
20471
20472
  };
20472
20473
  this.createObserver = () => {
20473
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
20474
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(si(this.handleResize, 300)));
20474
20475
  };
20475
20476
  this.handleResize = (e) => {
20476
20477
  var t;
@@ -20489,14 +20490,14 @@ var Hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Hr || {}
20489
20490
  var Cr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Cr || {});
20490
20491
  var Bs = "https://event.100ms.live/v2/client/report";
20491
20492
  var Vs = "https://event-nonprod.100ms.live/v2/client/report";
20492
- var kt = Math.pow(2, 31) - 1;
20493
- var rt = class {
20493
+ var yt = Math.pow(2, 31) - 1;
20494
+ var it = class {
20494
20495
  };
20495
- rt.makePeerId = () => Io();
20496
+ it.makePeerId = () => Io();
20496
20497
  var B = (a2) => a2.room;
20497
20498
  var Ho = (a2) => a2.errors;
20498
- var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
20499
- var qh = createSelector(B, (a2) => a2.id);
20499
+ var qh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
20500
+ var jh = createSelector(B, (a2) => a2.id);
20500
20501
  var K = (a2) => a2.peers;
20501
20502
  var Ti = (a2) => a2.messages.byID;
20502
20503
  var Qs = (a2) => a2.messages.allIDs;
@@ -20504,14 +20505,14 @@ var N = (a2) => a2.tracks;
20504
20505
  var Br = (a2) => a2.appData;
20505
20506
  var Co = (a2) => a2.speakers;
20506
20507
  var _e = createSelector([B], (a2) => a2 && a2.isConnected);
20507
- var Qh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
20508
+ var zh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
20508
20509
  var Lo = (a2) => a2.hideLocalPeer;
20509
20510
  var me = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
20510
20511
  var Do = createSelector(N, (a2) => Object.values(a2));
20511
20512
  var te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
20512
20513
  var ye = createSelector(B, (a2) => a2.localPeer);
20513
- var zh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
20514
- var Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
20514
+ var Yh = createSelector(te, (a2) => a2 == null ? void 0 : a2.name);
20515
+ var Xh = createSelector(te, (a2) => a2 == null ? void 0 : a2.roleName);
20515
20516
  var ae = createSelector(te, (a2) => a2 == null ? void 0 : a2.audioTrack);
20516
20517
  var Y = createSelector(te, (a2) => a2 == null ? void 0 : a2.videoTrack);
20517
20518
  var wo = createSelector(te, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
@@ -20519,8 +20520,8 @@ var Ys = createSelector([ae, Y, wo], (a2, e, t) => {
20519
20520
  let i = t ? [...t] : [];
20520
20521
  return a2 && i.unshift(a2), e && i.unshift(e), i;
20521
20522
  });
20522
- var Xh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
20523
- var Zh = createSelector(K, Co, (a2, e) => {
20523
+ var Zh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
20524
+ var em = createSelector(K, Co, (a2, e) => {
20524
20525
  let t = Object.entries(e).sort((i, r) => {
20525
20526
  var n, l;
20526
20527
  let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
@@ -20547,15 +20548,15 @@ var _o = createSelector(K, N, (a2, e) => {
20547
20548
  }
20548
20549
  return t;
20549
20550
  });
20550
- var tm = createSelector(_o, (a2) => !!a2);
20551
- var im = createSelector(K, N, (a2, e) => {
20551
+ var im = createSelector(_o, (a2) => !!a2);
20552
+ var rm = createSelector(K, N, (a2, e) => {
20552
20553
  for (let t in a2) {
20553
20554
  let i = a2[t], { audio: r, video: s } = xe(e, i);
20554
20555
  if (!s && r)
20555
20556
  return i;
20556
20557
  }
20557
20558
  });
20558
- var rm = createSelector(K, N, (a2, e) => {
20559
+ var sm = createSelector(K, N, (a2, e) => {
20559
20560
  let t = [], i = [];
20560
20561
  for (let r in a2) {
20561
20562
  let s = a2[r], { video: o, audio: n } = xe(e, s);
@@ -20563,64 +20564,64 @@ var rm = createSelector(K, N, (a2, e) => {
20563
20564
  }
20564
20565
  return t.concat(i);
20565
20566
  });
20566
- var sm = createSelector(K, N, (a2, e) => {
20567
+ var am = createSelector(K, N, (a2, e) => {
20567
20568
  for (let t in e) {
20568
20569
  let i = e[t];
20569
- if (ht(i) && pt(i) && i.peerId)
20570
+ if (pt(i) && ut(i) && i.peerId)
20570
20571
  return a2[i.peerId];
20571
20572
  }
20572
20573
  });
20573
- var am = createSelector(K, N, (a2, e) => {
20574
+ var om = createSelector(K, N, (a2, e) => {
20574
20575
  for (let t in e) {
20575
20576
  let i = e[t];
20576
- if (ii(i) && i.peerId)
20577
+ if (ti(i) && i.peerId)
20577
20578
  return a2[i.peerId];
20578
20579
  }
20579
20580
  });
20580
- var om = createSelector(Do, (a2) => a2.filter(ns));
20581
- var nm = createSelector(Qs, (a2) => a2.length);
20582
- var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
20583
- var Rt = createSelector(Qs, Ti, (a2, e) => {
20581
+ var nm = createSelector(Do, (a2) => a2.filter(ns));
20582
+ var cm = createSelector(Qs, (a2) => a2.length);
20583
+ var dm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
20584
+ var bt = createSelector(Qs, Ti, (a2, e) => {
20584
20585
  let t = [];
20585
20586
  return a2.forEach((i) => {
20586
20587
  t.push(e[i]);
20587
20588
  }), t;
20588
20589
  });
20589
- var No = createSelector(Rt, (a2) => a2.filter((e) => {
20590
+ var No = createSelector(bt, (a2) => a2.filter((e) => {
20590
20591
  var t;
20591
20592
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
20592
20593
  }));
20593
- var dm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
20594
+ var lm = createSelector(No, (a2) => a2.filter((e) => !e.read).length);
20594
20595
  var ie = createSelector([B], (a2) => a2 && a2.roomState);
20595
20596
  var Zs = createSelector(ie, (a2) => a2 === "Preview");
20596
- var lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
20597
- var um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
20597
+ var um = createSelector(B, (a2) => a2.roomState !== "Disconnected");
20598
+ var pm = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
20598
20599
  var Se = (a2) => a2.roles;
20599
- var pm = createSelector([Se], (a2) => Object.keys(a2));
20600
- var at = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
20600
+ var hm = createSelector([Se], (a2) => Object.keys(a2));
20601
+ var st = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
20601
20602
  var Oo = (a2) => {
20602
20603
  var e;
20603
20604
  return (e = a2.preview) == null ? void 0 : e.asRole;
20604
20605
  };
20605
20606
  var ea = createSelector([Oo, Se], (a2, e) => a2 ? e[a2] : null);
20606
- var hm = createSelector([at], (a2) => {
20607
+ var mm = createSelector([st], (a2) => {
20607
20608
  var e;
20608
20609
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
20609
20610
  });
20610
- var ta = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
20611
- var mm = createSelector(B, (a2) => a2.recording);
20612
- var Sm = createSelector(B, (a2) => a2.rtmp);
20613
- var gm = createSelector(B, (a2) => a2.hls);
20614
- var Tm = createSelector(B, (a2) => a2.transcriptions);
20615
- var fm = createSelector(B, (a2) => a2.sessionId);
20616
- var vm = createSelector(B, (a2) => a2.startedAt);
20617
- var Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
20618
- var ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
20619
- var km = createSelector(B, (a2) => a2.effectsKey);
20611
+ var ta = createSelector(st, (a2) => a2 == null ? void 0 : a2.permissions);
20612
+ var Sm = createSelector(B, (a2) => a2.recording);
20613
+ var gm = createSelector(B, (a2) => a2.rtmp);
20614
+ var Tm = createSelector(B, (a2) => a2.hls);
20615
+ var fm = createSelector(B, (a2) => a2.transcriptions);
20616
+ var vm = createSelector(B, (a2) => a2.sessionId);
20617
+ var Mm = createSelector(B, (a2) => a2.startedAt);
20618
+ var ym = createSelector(B, (a2) => !!a2.isLargeRoom);
20619
+ var km = createSelector(B, (a2) => !!a2.isEffectsEnabled);
20620
+ var Pm = createSelector(B, (a2) => a2.effectsKey);
20620
20621
  var ia = (a2) => a2.polls;
20621
- var Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
20622
+ var Im = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
20622
20623
  var xo = (a2) => a2.whiteboards;
20623
- var Im = createSelector(xo, (a2) => Object.values(a2)[0]);
20624
+ var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
20624
20625
  var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
20625
20626
  var Gr = (a2 = "audio") => (e) => e.playlist[a2].selection;
20626
20627
  var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
@@ -20637,7 +20638,7 @@ var pa = { selection: Gr("video"), progress: aa("video"), currentTime: oa("video
20637
20638
  function A(a2) {
20638
20639
  return (e) => (t) => a2(t, e);
20639
20640
  }
20640
- var It = "HMS-Store:";
20641
+ var Rt = "HMS-Store:";
20641
20642
  var b = class {
20642
20643
  static v(e, ...t) {
20643
20644
  this.log(0, e, ...t);
@@ -20667,23 +20668,23 @@ var b = class {
20667
20668
  if (!(this.level.valueOf() > e.valueOf()))
20668
20669
  switch (e) {
20669
20670
  case 0: {
20670
- console.log(It, ...t);
20671
+ console.log(Rt, ...t);
20671
20672
  break;
20672
20673
  }
20673
20674
  case 1: {
20674
- console.debug(It, ...t);
20675
+ console.debug(Rt, ...t);
20675
20676
  break;
20676
20677
  }
20677
20678
  case 2: {
20678
- console.info(It, ...t);
20679
+ console.info(Rt, ...t);
20679
20680
  break;
20680
20681
  }
20681
20682
  case 3: {
20682
- console.warn(It, ...t);
20683
+ console.warn(Rt, ...t);
20683
20684
  break;
20684
20685
  }
20685
20686
  case 6: {
20686
- console.error(It, ...t);
20687
+ console.error(Rt, ...t);
20687
20688
  break;
20688
20689
  }
20689
20690
  case 4: {
@@ -20705,31 +20706,31 @@ var b = class {
20705
20706
  };
20706
20707
  b.level = 0;
20707
20708
  var Wr = (a2, e) => e;
20708
- var At = (a2, e) => e;
20709
+ var It = (a2, e) => e;
20709
20710
  var ha = (a2, e) => e;
20710
20711
  var Uo = (a2, e) => e;
20711
20712
  var Bo = (a2, e) => e;
20712
20713
  var q = createSelector([K, Wr], (a2, e) => e ? a2[e] : null);
20713
- var $r = createSelector([N, At], (a2, e) => e ? a2[e] : null);
20714
- var Vo = createSelector([N, At], (a2, e) => {
20714
+ var $r = createSelector([N, It], (a2, e) => e ? a2[e] : null);
20715
+ var Vo = createSelector([N, It], (a2, e) => {
20715
20716
  if (!e)
20716
20717
  return null;
20717
20718
  let t = a2[e];
20718
20719
  return (t == null ? void 0 : t.type) === "video" ? t : null;
20719
20720
  });
20720
- var Fo = createSelector([N, At], (a2, e) => {
20721
+ var Fo = createSelector([N, It], (a2, e) => {
20721
20722
  if (!e)
20722
20723
  return null;
20723
20724
  let t = a2[e];
20724
20725
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
20725
20726
  });
20726
- var Go = createSelector([N, At], (a2, e) => {
20727
+ var Go = createSelector([N, It], (a2, e) => {
20727
20728
  if (!e)
20728
20729
  return null;
20729
20730
  let t = a2[e];
20730
20731
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
20731
20732
  });
20732
- var Wo = createSelector([N, At], (a2, e) => {
20733
+ var Wo = createSelector([N, It], (a2, e) => {
20733
20734
  if (!e)
20734
20735
  return null;
20735
20736
  let t = a2[e];
@@ -20737,23 +20738,23 @@ var Wo = createSelector([N, At], (a2, e) => {
20737
20738
  });
20738
20739
  var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
20739
20740
  var X = A(q);
20740
- var Um = A(createSelector([Br, Uo], (a2, e) => {
20741
+ var Bm = A(createSelector([Br, Uo], (a2, e) => {
20741
20742
  if (a2)
20742
20743
  return e ? a2[e] : a2;
20743
20744
  }));
20744
- function Bm(a2) {
20745
+ function Vm(a2) {
20745
20746
  return (e) => {
20746
20747
  if (e.sessionStore)
20747
20748
  return a2 ? e.sessionStore[a2] : e.sessionStore;
20748
20749
  };
20749
20750
  }
20750
- var Fm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
20751
- var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
20751
+ var Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
20752
+ var Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
20752
20753
  var fi = A($r);
20753
20754
  var ma = A(Vo);
20754
- var Wm = A(Fo);
20755
- var $m = A(Go);
20756
- var Km = A(Wo);
20755
+ var $m = A(Fo);
20756
+ var Km = A(Go);
20757
+ var qm = A(Wo);
20757
20758
  var Ko = A((a2, e) => {
20758
20759
  let t = q(a2, e);
20759
20760
  if (t && t.videoTrack && t.videoTrack !== "")
@@ -20764,56 +20765,56 @@ var qo = A((a2, e) => {
20764
20765
  if (t && t.audioTrack && t.audioTrack !== "")
20765
20766
  return a2.tracks[t.audioTrack];
20766
20767
  });
20767
- var jm = A((a2, e) => {
20768
+ var Jm = A((a2, e) => {
20768
20769
  let t = q(a2, e);
20769
20770
  return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
20770
20771
  });
20771
20772
  var Sa = (a2, e) => e ? a2.speakers[e] : null;
20772
- var Jm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20773
+ var Qm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20773
20774
  var jo = (a2, e) => {
20774
20775
  let t = qo(e)(a2);
20775
20776
  return Sa(a2, t == null ? void 0 : t.id);
20776
20777
  };
20777
- var Qm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20778
- var zm = A((a2, e) => {
20778
+ var zm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
20779
+ var Ym = A((a2, e) => {
20779
20780
  if (e)
20780
20781
  return a2.connectionQualities[e];
20781
20782
  });
20782
- var Ym = A((a2, e) => {
20783
+ var Xm = A((a2, e) => {
20783
20784
  let t = q(a2, e);
20784
20785
  if (t) {
20785
- let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
20786
+ let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => lt(a2.tracks[r]));
20786
20787
  return i ? a2.tracks[i] : void 0;
20787
20788
  }
20788
20789
  });
20789
- var Xm = A(createSelector(N, q, (a2, e) => {
20790
+ var Zm = A(createSelector(N, q, (a2, e) => {
20790
20791
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20791
20792
  let r = a2[i];
20792
- return ht(r) && pt(r);
20793
+ return pt(r) && ut(r);
20793
20794
  });
20794
20795
  return t ? a2[t] : void 0;
20795
20796
  }));
20796
- var Zm = A(createSelector(N, q, (a2, e) => {
20797
+ var eS = A(createSelector(N, q, (a2, e) => {
20797
20798
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20798
20799
  let r = a2[i];
20799
- return ht(r) && ut(r);
20800
+ return pt(r) && lt(r);
20800
20801
  });
20801
20802
  return t ? a2[t] : void 0;
20802
20803
  }));
20803
- var eS = A(createSelector(N, q, (a2, e) => {
20804
+ var tS = A(createSelector(N, q, (a2, e) => {
20804
20805
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
20805
20806
  let r = a2[i];
20806
- return ii(r) && ut(r);
20807
+ return ti(r) && lt(r);
20807
20808
  });
20808
20809
  return t ? a2[t] : void 0;
20809
20810
  }));
20810
20811
  var ga = A(createSelector(N, q, (a2, e) => xe(a2, e)));
20811
20812
  var Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
20812
- var iS = A((a2, e) => {
20813
+ var rS = A((a2, e) => {
20813
20814
  let t = q(a2, e);
20814
20815
  return je(a2, t == null ? void 0 : t.audioTrack);
20815
20816
  });
20816
- var rS = A((a2, e) => {
20817
+ var sS = A((a2, e) => {
20817
20818
  let t = q(a2, e);
20818
20819
  return je(a2, t == null ? void 0 : t.videoTrack);
20819
20820
  });
@@ -20821,11 +20822,11 @@ var fa = A((a2, e) => {
20821
20822
  if (e && a2.tracks[e])
20822
20823
  return a2.tracks[e].volume === 0;
20823
20824
  });
20824
- var sS = A((a2, e) => {
20825
+ var aS = A((a2, e) => {
20825
20826
  let t = q(a2, e);
20826
20827
  return fa(t == null ? void 0 : t.audioTrack)(a2);
20827
20828
  });
20828
- var aS = A((a2, e) => {
20829
+ var oS = A((a2, e) => {
20829
20830
  let t = Ta(e)(a2);
20830
20831
  return fa(t == null ? void 0 : t.id)(a2);
20831
20832
  });
@@ -20839,15 +20840,15 @@ var va = A((a2, e) => {
20839
20840
  return t.volume;
20840
20841
  }
20841
20842
  });
20842
- var oS = A((a2, e) => {
20843
+ var nS = A((a2, e) => {
20843
20844
  let t = q(a2, e);
20844
20845
  return va(t == null ? void 0 : t.audioTrack)(a2);
20845
20846
  });
20846
- var nS = A((a2, e) => {
20847
+ var cS = A((a2, e) => {
20847
20848
  let t = Ta(e)(a2);
20848
20849
  return va(t == null ? void 0 : t.id)(a2);
20849
20850
  });
20850
- var cS = A((a2, e) => {
20851
+ var dS = A((a2, e) => {
20851
20852
  let t = $r(a2, e);
20852
20853
  if (t) {
20853
20854
  if (t.type !== "video") {
@@ -20857,40 +20858,40 @@ var cS = A((a2, e) => {
20857
20858
  return t.layer;
20858
20859
  }
20859
20860
  });
20860
- var Ma = createSelector([Rt, ye, Wr], (a2, e, t) => {
20861
+ var Ma = createSelector([bt, ye, Wr], (a2, e, t) => {
20861
20862
  if (t)
20862
20863
  return a2.filter((i) => {
20863
20864
  var r;
20864
20865
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
20865
20866
  });
20866
20867
  });
20867
- var ya = createSelector([Rt, ha], (a2, e) => {
20868
+ var ya = createSelector([bt, ha], (a2, e) => {
20868
20869
  if (e)
20869
20870
  return a2.filter((t) => {
20870
20871
  var i, r;
20871
20872
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
20872
20873
  });
20873
20874
  });
20874
- var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
20875
+ var Jo = createSelector(bt, (a2) => a2.filter((e) => {
20875
20876
  var t;
20876
20877
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
20877
20878
  }));
20878
20879
  var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20879
20880
  var zo = createSelector([Ma, Wr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
20880
- var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
20881
- var lS = A(Ma);
20882
- var uS = A(ya);
20883
- var pS = A(Qo);
20884
- var hS = A(zo);
20881
+ var lS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
20882
+ var uS = A(Ma);
20883
+ var pS = A(ya);
20884
+ var hS = A(Qo);
20885
+ var mS = A(zo);
20885
20886
  var ka = A($o);
20886
- var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
20887
+ var RS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
20887
20888
  var r;
20888
20889
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
20889
20890
  }));
20890
20891
  var Yo = (a2) => a2.roleChangeRequests[0] || null;
20891
- var RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20892
- var IS = createSelector([at], (a2) => mt(a2));
20893
- var AS = createSelector([ea], (a2) => mt(a2));
20892
+ var IS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
20893
+ var AS = createSelector([st], (a2) => ht(a2));
20894
+ var HS = createSelector([ea], (a2) => ht(a2));
20894
20895
  var Zo = createSelector([Y, N], (a2, e) => {
20895
20896
  let t = null;
20896
20897
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
@@ -20949,62 +20950,62 @@ var Pe = new Qr();
20949
20950
  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 || {});
20950
20951
  var tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
20951
20952
  var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
20952
- var Pn = (a2) => a2.localPeer.id;
20953
- var En = (a2) => a2.localPeer.audioTrack;
20954
- var bn = (a2) => a2.localPeer.videoTrack;
20955
- var Rn = (a2, e) => e;
20953
+ var En = (a2) => a2.localPeer.id;
20954
+ var bn = (a2) => a2.localPeer.audioTrack;
20955
+ var Rn = (a2) => a2.localPeer.videoTrack;
20956
+ var In = (a2, e) => e;
20956
20957
  var Ka = (a2, e) => e;
20957
- var In = (a2) => a2.remoteTrackStats;
20958
+ var An = (a2) => a2.remoteTrackStats;
20958
20959
  var qa = (a2) => a2.peerStats;
20959
20960
  var es = (a2) => a2.localTrackStats;
20960
- var be = createSelector([qa, Pn], (a2, e) => a2[e]);
20961
- var An = createSelector(be, (a2) => {
20961
+ var be = createSelector([qa, En], (a2, e) => a2[e]);
20962
+ var Hn = createSelector(be, (a2) => {
20962
20963
  var e;
20963
20964
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
20964
20965
  });
20965
- var Hn = createSelector(be, (a2) => {
20966
+ var Cn = createSelector(be, (a2) => {
20966
20967
  var e;
20967
20968
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
20968
20969
  });
20969
- var Cn = createSelector(be, (a2) => {
20970
+ var Ln = createSelector(be, (a2) => {
20970
20971
  var e;
20971
20972
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
20972
20973
  });
20973
- var Ln = createSelector(be, (a2) => {
20974
+ var Dn = createSelector(be, (a2) => {
20974
20975
  var e;
20975
20976
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
20976
20977
  });
20977
- var Dn = createSelector(be, (a2) => {
20978
+ var wn = createSelector(be, (a2) => {
20978
20979
  var e;
20979
20980
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
20980
20981
  });
20981
- var wn = createSelector(be, (a2) => {
20982
+ var _n = createSelector(be, (a2) => {
20982
20983
  var e;
20983
20984
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
20984
20985
  });
20985
- var _n = createSelector(be, (a2) => {
20986
+ var Nn = createSelector(be, (a2) => {
20986
20987
  var e;
20987
20988
  return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
20988
20989
  });
20989
- var Nn = createSelector(be, (a2) => {
20990
+ var On = createSelector(be, (a2) => {
20990
20991
  var e;
20991
20992
  return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
20992
20993
  });
20993
- var On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
20994
- var xn = createSelector([In, Ka], (a2, e) => e ? a2[e] : void 0);
20994
+ var xn = createSelector([qa, In], (a2, e) => e ? a2[e] : void 0);
20995
+ var Un = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
20995
20996
  var ts = createSelector([es, Ka], (a2, e) => e ? a2[e] : void 0);
20996
- var Un = A(On);
20997
20997
  var Bn = A(xn);
20998
- var Vn = createSelector([es, En], (a2, e) => {
20998
+ var Vn = A(Un);
20999
+ var Fn = createSelector([es, bn], (a2, e) => {
20999
21000
  var t;
21000
21001
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
21001
21002
  });
21002
- var Fn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
21003
- var Gn = createSelector([es, bn], (a2, e) => {
21003
+ var Gn = A(createSelector(ts, (a2) => a2 == null ? void 0 : a2[0]));
21004
+ var Wn = createSelector([es, Rn], (a2, e) => {
21004
21005
  var t;
21005
21006
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
21006
21007
  });
21007
- var Wn = A(createSelector(ts, (a2) => a2));
21008
+ var $n = A(createSelector(ts, (a2) => a2));
21008
21009
 
21009
21010
  // src/Prebuilt/components/Header/StreamActions.tsx
21010
21011
  import {
@@ -26777,7 +26778,7 @@ var Chat = () => {
26777
26778
  const listRef = useRef24(null);
26778
26779
  const hmsActions = useHMSActions40();
26779
26780
  const vanillaStore = useHMSVanillaStore10();
26780
- const { enabled: isChatEnabled = true } = useHMSStore61(Bm("chatState" /* CHAT_STATE */)) || {};
26781
+ const { enabled: isChatEnabled = true } = useHMSStore61(Vm("chatState" /* CHAT_STATE */)) || {};
26781
26782
  const isMobile = useMedia19(config.media.md);
26782
26783
  const isMobileHLSStream = useMobileHLSStream();
26783
26784
  const isLandscapeStream = useLandscapeHLSStream();
@@ -26867,7 +26868,7 @@ var NewMessageIndicator = ({
26867
26868
  scrollToBottom,
26868
26869
  listRef
26869
26870
  }) => {
26870
- const unreadCount = useHMSStore61(cm);
26871
+ const unreadCount = useHMSStore61(dm);
26871
26872
  if (!unreadCount || !listRef.current) {
26872
26873
  return null;
26873
26874
  }
@@ -27978,7 +27979,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
27978
27979
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
27979
27980
  const hmsActions = useHMSActions43();
27980
27981
  const localPeer = useHMSStore69(selectLocalPeer8);
27981
- const role = useHMSStore69(at);
27982
+ const role = useHMSStore69(st);
27982
27983
  const isVideoOn = useHMSStore69(selectIsLocalVideoEnabled6);
27983
27984
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
27984
27985
  const trackSelector = selectVideoTrackByID4(localPeer == null ? void 0 : localPeer.videoTrack);
@@ -27986,12 +27987,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
27986
27987
  const [blurAmount, setBlurAmount] = useState56(VBHandler.getBlurAmount() || 0.5);
27987
27988
  const roomState = useHMSStore69(selectRoomState4);
27988
27989
  const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
27989
- const isEffectsEnabled = useHMSStore69(ym);
27990
- const effectsKey = useHMSStore69(km);
27990
+ const isEffectsEnabled = useHMSStore69(km);
27991
+ const effectsKey = useHMSStore69(Pm);
27991
27992
  const isMobile = useMedia23(config.media.md);
27992
27993
  const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
27993
27994
  const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
27994
- const background = useHMSStore69(Um(APP_DATA.background));
27995
+ const background = useHMSStore69(Bm(APP_DATA.background));
27995
27996
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
27996
27997
  const inPreview = roomState === HMSRoomState4.Preview;
27997
27998
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
@@ -30366,7 +30367,7 @@ var useCloseScreenshareWhiteboard = () => {
30366
30367
  };
30367
30368
 
30368
30369
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30369
- var HLSView = React155.lazy(() => import("./HLSView-OMPUMOW4.js"));
30370
+ var HLSView = React155.lazy(() => import("./HLSView-D3TQO2XI.js"));
30370
30371
  var VideoStreamingSection = ({
30371
30372
  screenType,
30372
30373
  elements,
@@ -33639,4 +33640,4 @@ object-assign/index.js:
33639
33640
  @license MIT
33640
33641
  *)
33641
33642
  */
33642
- //# sourceMappingURL=chunk-WN7XPMBC.js.map
33643
+ //# sourceMappingURL=chunk-4TONYGVD.js.map