@100mslive/roomkit-react 0.3.33-alpha.0 → 0.3.33-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +320 -320
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +334 -334
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +21 -21
- package/dist/meta.esbuild.json +21 -21
- package/package.json +7 -7
- package/src/Prebuilt/components/ConferenceScreen.tsx +2 -2
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 = (
|
39
|
-
return
|
38
|
+
var __esm = (fn, res) => function __init() {
|
39
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 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;
|
@@ -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_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", 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.23-alpha.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.7 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.33-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.33-alpha.0", 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", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "837", 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: "20250309.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.12/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.7/x64", JOURNAL_STREAM: "8:5970", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.33-alpha.0", 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: "13835418634", 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: "1392df67cf015eea9bd472b463264d98d1c51c52", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "4be62e976e08a4ff403d3131416e4e2587c27e48f73030d93074f71f9b996dc6", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/chore/fix-media-channel-issue", 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--1741871522494-0.29798369194242147:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871522308-0.8686436007807559:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871496993-0.6025293844702695:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741871496822-0.9185672941055487:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_74793236-03fb-4f0d-afc1-459796203762", INVOCATION_ID: "4831f6fdb89649359affa25ffa9a4380", 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: "743", 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: "^19.6.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 207", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "chore/fix-media-channel-issue", 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.33-alpha.0", 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.33-alpha.0", 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: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "1392df67cf015eea9bd472b463264d98d1c51c52", 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/chore/fix-media-channel-issue", 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", 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_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_0d6d0b4e-bece-4b8c-902e-2ca00a070c73", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", 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_0d6d0b4e-bece-4b8c-902e-2ca00a070c73" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5e84d6f9-986f-4848-aa52-474836c6c48d", 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.23-alpha.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.7 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.33-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5e84d6f9-986f-4848-aa52-474836c6c48d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.33-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.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", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "830", 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: "20250309.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.12/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.7/x64", JOURNAL_STREAM: "8:9308", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.33-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13894653949", 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: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f0c27a81afd31747c0991dc526c77144f3b8e9eb4b54e8ec97ab719889d88941", 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--1742199630844-0.9679064358698519:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199630637-0.05987160159077409:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199605058-0.7174050912653267:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199604887-0.46920419967569305:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4b2e87e1-af59-4ff4-bfaa-073447cb0c8a", INVOCATION_ID: "b4a663950ebd41958fdc0fe9f3c40721", 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: "745", 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: "^19.6.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 485", 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.33-alpha.1", 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.33-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", 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: "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", 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_5e84d6f9-986f-4848-aa52-474836c6c48d", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5e84d6f9-986f-4848-aa52-474836c6c48d", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", 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_5e84d6f9-986f-4848-aa52-474836c6c48d" };
|
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
|
2292
|
-
return
|
2291
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2292
|
+
return fn.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
|
2359
|
-
return apply(
|
2358
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2359
|
+
return apply(fn, 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,
|
2447
|
+
var thisBinding = isBind ? thisArg : this, fn = 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
|
-
|
2458
|
+
fn = Ctor || createCtor(fn);
|
2459
2459
|
}
|
2460
|
-
return
|
2460
|
+
return fn.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),
|
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;
|
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(
|
2524
|
+
return apply(fn, isBind ? thisArg : this, args);
|
2525
2525
|
}
|
2526
2526
|
return wrapper;
|
2527
2527
|
}
|
@@ -5630,16 +5630,16 @@ var require_ua_parser = __commonJS({
|
|
5630
5630
|
return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
|
5631
5631
|
}
|
5632
5632
|
};
|
5633
|
-
var rgxMapper = function(
|
5634
|
-
var i = 0,
|
5633
|
+
var rgxMapper = function(ua, arrays) {
|
5634
|
+
var i = 0, j2, k2, p, q, matches, match18;
|
5635
5635
|
while (i < arrays.length && !matches) {
|
5636
5636
|
var regex = arrays[i], props = arrays[i + 1];
|
5637
|
-
|
5638
|
-
while (
|
5639
|
-
if (!regex[
|
5637
|
+
j2 = k2 = 0;
|
5638
|
+
while (j2 < regex.length && !matches) {
|
5639
|
+
if (!regex[j2]) {
|
5640
5640
|
break;
|
5641
5641
|
}
|
5642
|
-
matches = regex[
|
5642
|
+
matches = regex[j2++].exec(ua);
|
5643
5643
|
if (!!matches) {
|
5644
5644
|
for (p = 0; p < props.length; p++) {
|
5645
5645
|
match18 = matches[++k2];
|
@@ -5671,8 +5671,8 @@ var require_ua_parser = __commonJS({
|
|
5671
5671
|
}, strMapper = function(str, map) {
|
5672
5672
|
for (var i in map) {
|
5673
5673
|
if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
|
5674
|
-
for (var
|
5675
|
-
if (has(map[i][
|
5674
|
+
for (var j2 = 0; j2 < map[i].length; j2++) {
|
5675
|
+
if (has(map[i][j2], str)) {
|
5676
5676
|
return i === UNKNOWN ? undefined2 : i;
|
5677
5677
|
}
|
5678
5678
|
}
|
@@ -6728,16 +6728,16 @@ var require_ua_parser = __commonJS({
|
|
6728
6728
|
[NAME, VERSION]
|
6729
6729
|
]
|
6730
6730
|
};
|
6731
|
-
var UAParser = function(
|
6732
|
-
if (typeof
|
6733
|
-
extensions =
|
6734
|
-
|
6731
|
+
var UAParser = function(ua, extensions) {
|
6732
|
+
if (typeof ua === OBJ_TYPE) {
|
6733
|
+
extensions = ua;
|
6734
|
+
ua = undefined2;
|
6735
6735
|
}
|
6736
6736
|
if (!(this instanceof UAParser)) {
|
6737
|
-
return new UAParser(
|
6737
|
+
return new UAParser(ua, extensions).getResult();
|
6738
6738
|
}
|
6739
6739
|
var _navigator = typeof window2 !== UNDEF_TYPE && window2.navigator ? window2.navigator : undefined2;
|
6740
|
-
var _ua =
|
6740
|
+
var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
|
6741
6741
|
var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined2;
|
6742
6742
|
var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
|
6743
6743
|
var _isSelfNav = _navigator && _navigator.userAgent == _ua;
|
@@ -6803,8 +6803,8 @@ var require_ua_parser = __commonJS({
|
|
6803
6803
|
this.getUA = function() {
|
6804
6804
|
return _ua;
|
6805
6805
|
};
|
6806
|
-
this.setUA = function(
|
6807
|
-
_ua = typeof
|
6806
|
+
this.setUA = function(ua2) {
|
6807
|
+
_ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;
|
6808
6808
|
return this;
|
6809
6809
|
};
|
6810
6810
|
this.setUA(_ua);
|
@@ -6836,8 +6836,8 @@ var require_ua_parser = __commonJS({
|
|
6836
6836
|
$.ua.get = function() {
|
6837
6837
|
return parser.getUA();
|
6838
6838
|
};
|
6839
|
-
$.ua.set = function(
|
6840
|
-
parser.setUA(
|
6839
|
+
$.ua.set = function(ua) {
|
6840
|
+
parser.setUA(ua);
|
6841
6841
|
var result = parser.getResult();
|
6842
6842
|
for (var prop in result) {
|
6843
6843
|
$.ua[prop] = result[prop];
|
@@ -7696,8 +7696,8 @@ var require_sdp = __commonJS({
|
|
7696
7696
|
const parsed = {};
|
7697
7697
|
let kv;
|
7698
7698
|
const parts = line.substring(line.indexOf(" ") + 1).split(";");
|
7699
|
-
for (let
|
7700
|
-
kv = parts[
|
7699
|
+
for (let j2 = 0; j2 < parts.length; j2++) {
|
7700
|
+
kv = parts[j2].trim().split("=");
|
7701
7701
|
parsed[kv[0].trim()] = kv[1];
|
7702
7702
|
}
|
7703
7703
|
return parsed;
|
@@ -8677,8 +8677,8 @@ var require_parser = __commonJS({
|
|
8677
8677
|
media.push({ rtp: [], fmtp: [] });
|
8678
8678
|
location = media[media.length - 1];
|
8679
8679
|
}
|
8680
|
-
for (var
|
8681
|
-
var obj = grammar[type][
|
8680
|
+
for (var j2 = 0; j2 < (grammar[type] || []).length; j2 += 1) {
|
8681
|
+
var obj = grammar[type][j2];
|
8682
8682
|
if (obj.reg.test(content)) {
|
8683
8683
|
return parseReg(obj, location, content);
|
8684
8684
|
}
|
@@ -9361,7 +9361,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9361
9361
|
shape: createShapeTypeChecker,
|
9362
9362
|
exact: createStrictShapeTypeChecker
|
9363
9363
|
};
|
9364
|
-
function
|
9364
|
+
function is(x, y2) {
|
9365
9365
|
if (x === y2) {
|
9366
9366
|
return x !== 0 || 1 / x === 1 / y2;
|
9367
9367
|
} else {
|
@@ -9504,7 +9504,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9504
9504
|
function validate(props, propName, componentName, location, propFullName) {
|
9505
9505
|
var propValue = props[propName];
|
9506
9506
|
for (var i = 0; i < expectedValues.length; i++) {
|
9507
|
-
if (
|
9507
|
+
if (is(propValue, expectedValues[i])) {
|
9508
9508
|
return null;
|
9509
9509
|
}
|
9510
9510
|
}
|
@@ -19582,8 +19582,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19582
19582
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
19583
19583
|
if (navigator2.mediaDevices.getUserMedia) {
|
19584
19584
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
19585
|
-
navigator2.mediaDevices.getUserMedia = function(
|
19586
|
-
return shimConstraints_(
|
19585
|
+
navigator2.mediaDevices.getUserMedia = function(cs) {
|
19586
|
+
return shimConstraints_(cs, (c2) => origGetUserMedia(c2).then((stream) => {
|
19587
19587
|
if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
|
19588
19588
|
stream.getTracks().forEach((track) => {
|
19589
19589
|
track.stop();
|
@@ -21315,36 +21315,36 @@ var import_eventemitter2 = require("eventemitter2");
|
|
21315
21315
|
var import_eventemitter22 = require("eventemitter2");
|
21316
21316
|
var import_uuid8 = require("uuid");
|
21317
21317
|
var import_eventemitter23 = require("eventemitter2");
|
21318
|
-
var
|
21318
|
+
var Yt = __toESM(require_lib());
|
21319
21319
|
var import_eventemitter24 = __toESM(require("eventemitter2"));
|
21320
21320
|
var import_uuid9 = require("uuid");
|
21321
21321
|
var import_uuid10 = require("uuid");
|
21322
|
-
var
|
21323
|
-
var
|
21324
|
-
var
|
21325
|
-
var
|
21326
|
-
var
|
21327
|
-
var
|
21328
|
-
var
|
21322
|
+
var co = Object.defineProperty;
|
21323
|
+
var lo = Object.defineProperties;
|
21324
|
+
var uo = Object.getOwnPropertyDescriptors;
|
21325
|
+
var ai = Object.getOwnPropertySymbols;
|
21326
|
+
var gs = Object.prototype.hasOwnProperty;
|
21327
|
+
var Ts = Object.prototype.propertyIsEnumerable;
|
21328
|
+
var Ss = (a2, e, t) => e in a2 ? co(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21329
21329
|
var m = (a2, e) => {
|
21330
21330
|
for (var t in e || (e = {}))
|
21331
|
-
|
21332
|
-
if (
|
21333
|
-
for (var t of
|
21334
|
-
|
21331
|
+
gs.call(e, t) && Ss(a2, t, e[t]);
|
21332
|
+
if (ai)
|
21333
|
+
for (var t of ai(e))
|
21334
|
+
Ts.call(e, t) && Ss(a2, t, e[t]);
|
21335
21335
|
return a2;
|
21336
21336
|
};
|
21337
|
-
var M = (a2, e) =>
|
21338
|
-
var
|
21337
|
+
var M = (a2, e) => lo(a2, uo(e));
|
21338
|
+
var kr = (a2, e) => {
|
21339
21339
|
var t = {};
|
21340
21340
|
for (var i in a2)
|
21341
|
-
|
21342
|
-
if (a2 != null &&
|
21343
|
-
for (var i of
|
21344
|
-
e.indexOf(i) < 0 &&
|
21341
|
+
gs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21342
|
+
if (a2 != null && ai)
|
21343
|
+
for (var i of ai(a2))
|
21344
|
+
e.indexOf(i) < 0 && Ts.call(a2, i) && (t[i] = a2[i]);
|
21345
21345
|
return t;
|
21346
21346
|
};
|
21347
|
-
var
|
21347
|
+
var mo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21348
21348
|
var c = (a2, e, t) => new Promise((i, r) => {
|
21349
21349
|
var s = (d) => {
|
21350
21350
|
try {
|
@@ -21361,20 +21361,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21361
21361
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21362
21362
|
n((t = t.apply(a2, e)).next());
|
21363
21363
|
});
|
21364
|
-
var
|
21365
|
-
|
21364
|
+
var Ir = mo((Jc, Eo) => {
|
21365
|
+
Eo.exports = { version: "0.12.33-alpha.1", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
21366
21366
|
});
|
21367
|
-
var
|
21368
|
-
var
|
21369
|
-
var
|
21370
|
-
var
|
21371
|
-
var
|
21367
|
+
var Er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Er || {});
|
21368
|
+
var So = ((e) => (e.CHAT = "chat", e))(So || {});
|
21369
|
+
var fs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(fs || {});
|
21370
|
+
var Pr = ((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))(Pr || {});
|
21371
|
+
var vs = ((t) => (t.audio = "audio", t.video = "video", t))(vs || {});
|
21372
21372
|
function Fe(a2, e) {
|
21373
21373
|
let t, i;
|
21374
21374
|
if (e)
|
21375
21375
|
for (let r of e.auxiliaryTracks) {
|
21376
21376
|
let s = a2[r];
|
21377
|
-
|
21377
|
+
go(s) && (i = gt(s) ? s : i, t = Tt(s) ? s : t);
|
21378
21378
|
}
|
21379
21379
|
return { video: t, audio: i };
|
21380
21380
|
}
|
@@ -21384,16 +21384,16 @@ function gt(a2) {
|
|
21384
21384
|
function Tt(a2) {
|
21385
21385
|
return a2 && a2.type === "video";
|
21386
21386
|
}
|
21387
|
-
function
|
21387
|
+
function go(a2) {
|
21388
21388
|
return a2 && a2.source === "screen";
|
21389
21389
|
}
|
21390
|
-
function
|
21390
|
+
function ci(a2) {
|
21391
21391
|
return a2 && a2.source === "audioplaylist";
|
21392
21392
|
}
|
21393
21393
|
function ft(a2) {
|
21394
21394
|
return a2 && a2.source === "videoplaylist";
|
21395
21395
|
}
|
21396
|
-
function
|
21396
|
+
function Ms(a2) {
|
21397
21397
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21398
21398
|
}
|
21399
21399
|
function ze(a2, e) {
|
@@ -21404,8 +21404,8 @@ function vt(a2) {
|
|
21404
21404
|
let e = false, t = false, i = false;
|
21405
21405
|
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 };
|
21406
21406
|
}
|
21407
|
-
var
|
21408
|
-
var
|
21407
|
+
var ks = ((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))(ks || {});
|
21408
|
+
var To = typeof window != "undefined" && typeof window.expect != "undefined";
|
21409
21409
|
var l = class {
|
21410
21410
|
static v(e, ...t) {
|
21411
21411
|
this.log(0, e, ...t);
|
@@ -21471,28 +21471,28 @@ var l = class {
|
|
21471
21471
|
}
|
21472
21472
|
}
|
21473
21473
|
};
|
21474
|
-
l.level =
|
21474
|
+
l.level = To ? 7 : 0;
|
21475
21475
|
var Te = new import_ua_parser_js.UAParser();
|
21476
21476
|
var U = typeof window != "undefined";
|
21477
|
+
var Es;
|
21478
|
+
var Ge = typeof window == "undefined" && !((Es = Te.getBrowser().name) != null && Es.toLowerCase().includes("electron"));
|
21479
|
+
var vo = () => !Ge;
|
21480
|
+
var Tc = vo();
|
21477
21481
|
var Ps;
|
21478
|
-
var Ge = typeof window == "undefined" && !((Ps = Te.getBrowser().name) != null && Ps.toLowerCase().includes("electron"));
|
21479
|
-
var Mo = () => !Ge;
|
21480
|
-
var fc = Mo();
|
21481
21482
|
var bs;
|
21483
|
+
var Cs = (bs = (Ps = Te.getBrowser()) == null ? void 0 : Ps.name) == null ? void 0 : bs.toLowerCase().includes("safari");
|
21482
21484
|
var As;
|
21483
|
-
var Ls = (As = (bs = Te.getBrowser()) == null ? void 0 : bs.name) == null ? void 0 : As.toLowerCase().includes("safari");
|
21484
21485
|
var Is;
|
21485
|
-
var
|
21486
|
-
var
|
21487
|
-
|
21488
|
-
function yo() {
|
21486
|
+
var di = ((Is = (As = Te.getBrowser()) == null ? void 0 : As.name) == null ? void 0 : Is.toLowerCase()) === "firefox";
|
21487
|
+
var Ls = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ls || {});
|
21488
|
+
function Mo() {
|
21489
21489
|
if (U && window) {
|
21490
21490
|
let a2 = window.location.hostname;
|
21491
21491
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21492
21492
|
}
|
21493
21493
|
return "CUSTOM";
|
21494
21494
|
}
|
21495
|
-
var Xe =
|
21495
|
+
var Xe = Mo();
|
21496
21496
|
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 } };
|
21497
21497
|
var k = class a extends Error {
|
21498
21498
|
constructor(t, i, r, s, o, n = false) {
|
@@ -21549,8 +21549,8 @@ var W = class extends k {
|
|
21549
21549
|
}`;
|
21550
21550
|
}
|
21551
21551
|
};
|
21552
|
-
var
|
21553
|
-
var
|
21552
|
+
var Ds = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Ds || {});
|
21553
|
+
var yo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21554
21554
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21555
21555
|
return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21556
21556
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -21612,7 +21612,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21612
21612
|
}, StatsFailed(a2, e = "") {
|
21613
21613
|
return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21614
21614
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21615
|
-
return new k(a2, "ServerErrors", e, t, t,
|
21615
|
+
return new k(a2, "ServerErrors", e, t, t, yo.includes(e));
|
21616
21616
|
}, AlreadyJoined(a2, e = "") {
|
21617
21617
|
return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21618
21618
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -21660,7 +21660,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21660
21660
|
}, NoEntryPlaying(a2, e) {
|
21661
21661
|
return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21662
21662
|
} } };
|
21663
|
-
var
|
21663
|
+
var Ar = class {
|
21664
21664
|
constructor() {
|
21665
21665
|
this.valuesMap = /* @__PURE__ */ new Map();
|
21666
21666
|
}
|
@@ -21685,9 +21685,9 @@ var Ir = class {
|
|
21685
21685
|
return this.valuesMap.size;
|
21686
21686
|
}
|
21687
21687
|
};
|
21688
|
-
var
|
21688
|
+
var ws = () => {
|
21689
21689
|
try {
|
21690
|
-
U && !localStorage && (window.localStorage = new
|
21690
|
+
U && !localStorage && (window.localStorage = new Ar());
|
21691
21691
|
} catch (a2) {
|
21692
21692
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21693
21693
|
}
|
@@ -21699,7 +21699,7 @@ var fe = class {
|
|
21699
21699
|
}
|
21700
21700
|
getStorage() {
|
21701
21701
|
try {
|
21702
|
-
return U && !this.storage && (
|
21702
|
+
return U && !this.storage && (ws(), this.storage = window.localStorage), this.storage;
|
21703
21703
|
} catch (e) {
|
21704
21704
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21705
21705
|
}
|
@@ -21719,29 +21719,29 @@ var fe = class {
|
|
21719
21719
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21720
21720
|
}
|
21721
21721
|
};
|
21722
|
-
var
|
21722
|
+
var li = () => {
|
21723
21723
|
let a2, e = new fe("hms-analytics-deviceId"), t = e.get();
|
21724
21724
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21725
21725
|
};
|
21726
21726
|
function he(a2) {
|
21727
21727
|
return a2 != null;
|
21728
21728
|
}
|
21729
|
-
var
|
21729
|
+
var Os = Ir().version;
|
21730
21730
|
function Et(a2 = "prod", e) {
|
21731
21731
|
let t = "web", i = Xe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21732
21732
|
if (Ge)
|
21733
|
-
return
|
21734
|
-
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n =
|
21735
|
-
return s.type && (p = `${
|
21733
|
+
return xs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Os, env: i, domain: Xe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21734
|
+
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n = Rr(`web_${r.name}`), d = r.version || "", u = Rr(`${o.name}_${o.version}`), p = u;
|
21735
|
+
return s.type && (p = `${Rr(`${s.vendor}_${s.type}`)}/${u}`), xs({ os: n, os_version: d, sdk: t, sdk_version: Os, device_model: p, env: i, domain: Xe, 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 });
|
21736
21736
|
}
|
21737
|
-
function
|
21737
|
+
function Rr(a2) {
|
21738
21738
|
return a2.replace(/ /g, "_");
|
21739
21739
|
}
|
21740
|
-
var
|
21740
|
+
var xs = (a2, e = ",") => Object.keys(a2).filter((t) => he(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21741
21741
|
var C = class {
|
21742
21742
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21743
21743
|
this.metadata = { peer: {}, userAgent: Et() };
|
21744
|
-
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 =
|
21744
|
+
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 = li();
|
21745
21745
|
}
|
21746
21746
|
toSignalParams() {
|
21747
21747
|
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Xe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21757,12 +21757,12 @@ var y = class {
|
|
21757
21757
|
return new C({ name: i, level: r, properties: s });
|
21758
21758
|
}
|
21759
21759
|
static preview(i) {
|
21760
|
-
var r = i, { error: e } = r, t =
|
21760
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21761
21761
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21762
21762
|
return new C({ name: s, level: o, properties: n });
|
21763
21763
|
}
|
21764
21764
|
static join(i) {
|
21765
|
-
var r = i, { error: e } = r, t =
|
21765
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21766
21766
|
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
21767
21767
|
return new C({ name: s, level: o, properties: n });
|
21768
21768
|
}
|
@@ -21853,7 +21853,7 @@ var y = class {
|
|
21853
21853
|
}
|
21854
21854
|
};
|
21855
21855
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21856
|
-
var
|
21856
|
+
var Hr = class {
|
21857
21857
|
constructor() {
|
21858
21858
|
this.storage = new fe("hms-device-selection");
|
21859
21859
|
this.remember = false;
|
@@ -21887,19 +21887,11 @@ var Cr = class {
|
|
21887
21887
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
21888
21888
|
}
|
21889
21889
|
};
|
21890
|
-
var
|
21891
|
-
var
|
21892
|
-
var
|
21893
|
-
var
|
21894
|
-
|
21895
|
-
var Vs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Vs || {});
|
21896
|
-
var Fs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Fs || {});
|
21897
|
-
var Gs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Gs || {});
|
21898
|
-
var Ws = ((e) => (e.CAPTION = "caption", e))(Ws || {});
|
21899
|
-
var _r = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(_r || {});
|
21900
|
-
var $s = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))($s || {});
|
21901
|
-
var xr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(xr || {});
|
21902
|
-
function Si(a2, e = 300) {
|
21890
|
+
var Y = new Hr();
|
21891
|
+
var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
21892
|
+
var Lr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Lr || {});
|
21893
|
+
var _r = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(_r || {});
|
21894
|
+
function mi(a2, e = 300) {
|
21903
21895
|
let t;
|
21904
21896
|
return function(...i) {
|
21905
21897
|
clearTimeout(t), t = void 0;
|
@@ -21909,7 +21901,15 @@ function Si(a2, e = 300) {
|
|
21909
21901
|
}, e);
|
21910
21902
|
};
|
21911
21903
|
}
|
21912
|
-
var
|
21904
|
+
var Or = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Or || {});
|
21905
|
+
var Fs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Fs || {});
|
21906
|
+
var Gs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Gs || {});
|
21907
|
+
var Ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ws || {});
|
21908
|
+
var $s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))($s || {});
|
21909
|
+
var Ks = ((e) => (e.CAPTION = "caption", e))(Ks || {});
|
21910
|
+
var xr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(xr || {});
|
21911
|
+
var qs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(qs || {});
|
21912
|
+
var Ur = class {
|
21913
21913
|
constructor() {
|
21914
21914
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
21915
21915
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21936,8 +21936,8 @@ var Br = class {
|
|
21936
21936
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21937
21937
|
}
|
21938
21938
|
};
|
21939
|
-
var
|
21940
|
-
var
|
21939
|
+
var zs = new Ur();
|
21940
|
+
var Br = class {
|
21941
21941
|
constructor() {
|
21942
21942
|
this.TAG = "[HMSResizeObserverWrapper]";
|
21943
21943
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21950,7 +21950,7 @@ var Vr = class {
|
|
21950
21950
|
(t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
|
21951
21951
|
};
|
21952
21952
|
this.createObserver = () => {
|
21953
|
-
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(
|
21953
|
+
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(mi(this.handleResize, 300)));
|
21954
21954
|
};
|
21955
21955
|
this.handleResize = (e) => {
|
21956
21956
|
var t;
|
@@ -21964,43 +21964,43 @@ var Vr = class {
|
|
21964
21964
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
21965
21965
|
}
|
21966
21966
|
};
|
21967
|
-
var
|
21968
|
-
var
|
21969
|
-
var
|
21970
|
-
var
|
21971
|
-
var
|
21972
|
-
var
|
21967
|
+
var Ys = new Br();
|
21968
|
+
var Vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Vr || {});
|
21969
|
+
var Fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Fr || {});
|
21970
|
+
var ea = "https://event.100ms.live/v2/client/report";
|
21971
|
+
var ta = "https://event-nonprod.100ms.live/v2/client/report";
|
21972
|
+
var Rt = Math.pow(2, 31) - 1;
|
21973
21973
|
var ot = class {
|
21974
21974
|
};
|
21975
21975
|
ot.makePeerId = () => (0, import_uuid7.v4)();
|
21976
21976
|
var F = (a2) => a2.room;
|
21977
|
-
var
|
21978
|
-
var
|
21979
|
-
var
|
21980
|
-
var
|
21981
|
-
var
|
21982
|
-
var
|
21977
|
+
var Go = (a2) => a2.errors;
|
21978
|
+
var Tm = createSelector(Go, (a2) => a2.length === 0 ? null : a2.at(-1));
|
21979
|
+
var fm = createSelector(F, (a2) => a2.id);
|
21980
|
+
var Q = (a2) => a2.peers;
|
21981
|
+
var Ai = (a2) => a2.messages.byID;
|
21982
|
+
var la = (a2) => a2.messages.allIDs;
|
21983
21983
|
var N = (a2) => a2.tracks;
|
21984
|
-
var
|
21985
|
-
var
|
21984
|
+
var zr = (a2) => a2.appData;
|
21985
|
+
var Wo = (a2) => a2.speakers;
|
21986
21986
|
var Be = createSelector([F], (a2) => a2 && a2.isConnected);
|
21987
|
-
var
|
21988
|
-
var
|
21989
|
-
var ke = createSelector([F,
|
21990
|
-
var
|
21991
|
-
var re = createSelector(F,
|
21987
|
+
var ym = createSelector([Be, 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));
|
21988
|
+
var $o = (a2) => a2.hideLocalPeer;
|
21989
|
+
var ke = createSelector([F, Q, $o], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
21990
|
+
var Ko = createSelector(N, (a2) => Object.values(a2));
|
21991
|
+
var re = createSelector(F, Q, (a2, e) => e[a2.localPeer]);
|
21992
21992
|
var Ie = createSelector(F, (a2) => a2.localPeer);
|
21993
|
-
var
|
21994
|
-
var
|
21993
|
+
var km = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
|
21994
|
+
var Em = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
|
21995
21995
|
var le = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
21996
|
-
var
|
21997
|
-
var
|
21998
|
-
var
|
21996
|
+
var X = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
21997
|
+
var qo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
21998
|
+
var pa = createSelector([le, X, qo], (a2, e, t) => {
|
21999
21999
|
let i = t ? [...t] : [];
|
22000
22000
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22001
22001
|
});
|
22002
|
-
var
|
22003
|
-
var
|
22002
|
+
var Pm = createSelector(ke, (a2) => a2.filter((e) => !e.isLocal));
|
22003
|
+
var bm = createSelector(Q, Wo, (a2, e) => {
|
22004
22004
|
let t = Object.entries(e).sort((i, r) => {
|
22005
22005
|
var n, d;
|
22006
22006
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22013,11 +22013,11 @@ var Cm = createSelector(z, $o, (a2, e) => {
|
|
22013
22013
|
}
|
22014
22014
|
return null;
|
22015
22015
|
});
|
22016
|
-
var
|
22016
|
+
var Xr = createSelector(re, N, (a2, e) => {
|
22017
22017
|
let { video: t, audio: i } = Fe(e, a2);
|
22018
22018
|
return !!(t || i);
|
22019
22019
|
});
|
22020
|
-
var
|
22020
|
+
var jo = createSelector(Q, N, (a2, e) => {
|
22021
22021
|
let t;
|
22022
22022
|
for (let i in a2) {
|
22023
22023
|
let r = a2[i], { video: s, audio: o } = Fe(e, r);
|
@@ -22027,15 +22027,15 @@ var Jo = createSelector(z, N, (a2, e) => {
|
|
22027
22027
|
}
|
22028
22028
|
return t;
|
22029
22029
|
});
|
22030
|
-
var
|
22031
|
-
var
|
22030
|
+
var Im = createSelector(jo, (a2) => !!a2);
|
22031
|
+
var Rm = createSelector(Q, N, (a2, e) => {
|
22032
22032
|
for (let t in a2) {
|
22033
22033
|
let i = a2[t], { audio: r, video: s } = Fe(e, i);
|
22034
22034
|
if (!s && r)
|
22035
22035
|
return i;
|
22036
22036
|
}
|
22037
22037
|
});
|
22038
|
-
var
|
22038
|
+
var Hm = createSelector(Q, N, (a2, e) => {
|
22039
22039
|
let t = [], i = [];
|
22040
22040
|
for (let r in a2) {
|
22041
22041
|
let s = a2[r], { video: o, audio: n } = Fe(e, s);
|
@@ -22043,82 +22043,82 @@ var _m = createSelector(z, N, (a2, e) => {
|
|
22043
22043
|
}
|
22044
22044
|
return t.concat(i);
|
22045
22045
|
});
|
22046
|
-
var
|
22046
|
+
var Cm = createSelector(Q, N, (a2, e) => {
|
22047
22047
|
for (let t in e) {
|
22048
22048
|
let i = e[t];
|
22049
22049
|
if (ft(i) && Tt(i) && i.peerId)
|
22050
22050
|
return a2[i.peerId];
|
22051
22051
|
}
|
22052
22052
|
});
|
22053
|
-
var
|
22053
|
+
var Lm = createSelector(Q, N, (a2, e) => {
|
22054
22054
|
for (let t in e) {
|
22055
22055
|
let i = e[t];
|
22056
|
-
if (
|
22056
|
+
if (ci(i) && i.peerId)
|
22057
22057
|
return a2[i.peerId];
|
22058
22058
|
}
|
22059
22059
|
});
|
22060
|
-
var
|
22061
|
-
var
|
22062
|
-
var
|
22063
|
-
var
|
22060
|
+
var Dm = createSelector(Ko, (a2) => a2.filter(Ms));
|
22061
|
+
var wm = createSelector(la, (a2) => a2.length);
|
22062
|
+
var _m = createSelector(Ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22063
|
+
var Dt = createSelector(la, Ai, (a2, e) => {
|
22064
22064
|
let t = [];
|
22065
22065
|
return a2.forEach((i) => {
|
22066
22066
|
t.push(e[i]);
|
22067
22067
|
}), t;
|
22068
22068
|
});
|
22069
|
-
var
|
22069
|
+
var Jo = createSelector(Dt, (a2) => a2.filter((e) => {
|
22070
22070
|
var t;
|
22071
22071
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22072
22072
|
}));
|
22073
|
-
var
|
22073
|
+
var Nm = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22074
22074
|
var se = createSelector([F], (a2) => a2 && a2.roomState);
|
22075
|
-
var
|
22076
|
-
var
|
22077
|
-
var
|
22075
|
+
var ma = createSelector(se, (a2) => a2 === "Preview");
|
22076
|
+
var Om = createSelector(F, (a2) => a2.roomState !== "Disconnected");
|
22077
|
+
var xm = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22078
22078
|
var Ee = (a2) => a2.roles;
|
22079
|
-
var
|
22079
|
+
var Um = createSelector([Ee], (a2) => Object.keys(a2));
|
22080
22080
|
var ct = createSelector([re, Ee], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22081
|
-
var
|
22081
|
+
var Qo = (a2) => {
|
22082
22082
|
var e;
|
22083
22083
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22084
22084
|
};
|
22085
|
-
var
|
22086
|
-
var
|
22085
|
+
var Sa = createSelector([Qo, Ee], (a2, e) => a2 ? e[a2] : null);
|
22086
|
+
var Bm = createSelector([ct], (a2) => {
|
22087
22087
|
var e;
|
22088
22088
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22089
22089
|
});
|
22090
|
-
var
|
22091
|
-
var
|
22092
|
-
var
|
22093
|
-
var
|
22094
|
-
var
|
22095
|
-
var
|
22096
|
-
var
|
22097
|
-
var
|
22098
|
-
var
|
22099
|
-
var
|
22100
|
-
var
|
22101
|
-
var
|
22102
|
-
var
|
22103
|
-
var
|
22104
|
-
var
|
22105
|
-
var
|
22106
|
-
var
|
22107
|
-
var
|
22108
|
-
var
|
22109
|
-
var
|
22110
|
-
var
|
22111
|
-
var
|
22112
|
-
var
|
22090
|
+
var ga = createSelector(ct, (a2) => a2 == null ? void 0 : a2.permissions);
|
22091
|
+
var Vm = createSelector(F, (a2) => a2.recording);
|
22092
|
+
var Fm = createSelector(F, (a2) => a2.rtmp);
|
22093
|
+
var Gm = createSelector(F, (a2) => a2.hls);
|
22094
|
+
var Wm = createSelector(F, (a2) => a2.transcriptions);
|
22095
|
+
var $m = createSelector(F, (a2) => a2.sessionId);
|
22096
|
+
var Km = createSelector(F, (a2) => a2.startedAt);
|
22097
|
+
var qm = createSelector(F, (a2) => !!a2.isLargeRoom);
|
22098
|
+
var jm = createSelector(F, (a2) => !!a2.isEffectsEnabled);
|
22099
|
+
var Jm = createSelector(F, (a2) => !!a2.isVBEnabled);
|
22100
|
+
var Qm = createSelector(F, (a2) => a2.effectsKey);
|
22101
|
+
var Ta = (a2) => a2.polls;
|
22102
|
+
var Zm = createSelector(ke, (a2) => a2.filter((e) => e.isHandRaised));
|
22103
|
+
var zo = (a2) => a2.whiteboards;
|
22104
|
+
var eS = createSelector(zo, (a2) => Object.values(a2)[0]);
|
22105
|
+
var va = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22106
|
+
var Zr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22107
|
+
var Ma = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22108
|
+
var ya = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22109
|
+
var ka = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22110
|
+
var Ea = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22111
|
+
var Pa = (a2 = "audio") => createSelector(va(a2), (e) => Object.values(e));
|
22112
|
+
var ba = (a2 = "audio") => createSelector(va(a2), Zr(a2), (e, t) => {
|
22113
22113
|
if (t.id)
|
22114
22114
|
return e[t.id];
|
22115
22115
|
});
|
22116
|
-
var
|
22117
|
-
var
|
22116
|
+
var Aa = { selection: Zr("audio"), progress: Ma("audio"), currentTime: ya("audio"), playbackRate: ka("audio"), volume: Ea("audio"), list: Pa("audio"), selectedItem: ba("audio") };
|
22117
|
+
var Ia = { selection: Zr("video"), progress: Ma("video"), currentTime: ya("video"), playbackRate: ka("video"), volume: Ea("video"), list: Pa("video"), selectedItem: ba("video") };
|
22118
22118
|
function H(a2) {
|
22119
22119
|
return (e) => (t) => a2(t, e);
|
22120
22120
|
}
|
22121
|
-
var
|
22121
|
+
var wt = "HMS-Store:";
|
22122
22122
|
var b = class {
|
22123
22123
|
static v(e, ...t) {
|
22124
22124
|
this.log(0, e, ...t);
|
@@ -22148,23 +22148,23 @@ var b = class {
|
|
22148
22148
|
if (!(this.level.valueOf() > e.valueOf()))
|
22149
22149
|
switch (e) {
|
22150
22150
|
case 0: {
|
22151
|
-
console.log(
|
22151
|
+
console.log(wt, ...t);
|
22152
22152
|
break;
|
22153
22153
|
}
|
22154
22154
|
case 1: {
|
22155
|
-
console.debug(
|
22155
|
+
console.debug(wt, ...t);
|
22156
22156
|
break;
|
22157
22157
|
}
|
22158
22158
|
case 2: {
|
22159
|
-
console.info(
|
22159
|
+
console.info(wt, ...t);
|
22160
22160
|
break;
|
22161
22161
|
}
|
22162
22162
|
case 3: {
|
22163
|
-
console.warn(
|
22163
|
+
console.warn(wt, ...t);
|
22164
22164
|
break;
|
22165
22165
|
}
|
22166
22166
|
case 6: {
|
22167
|
-
console.error(
|
22167
|
+
console.error(wt, ...t);
|
22168
22168
|
break;
|
22169
22169
|
}
|
22170
22170
|
case 4: {
|
@@ -22185,133 +22185,133 @@ var b = class {
|
|
22185
22185
|
}
|
22186
22186
|
};
|
22187
22187
|
b.level = 0;
|
22188
|
-
var
|
22189
|
-
var
|
22190
|
-
var
|
22188
|
+
var es = (a2, e) => e;
|
22189
|
+
var _t = (a2, e) => e;
|
22190
|
+
var Ra = (a2, e) => e;
|
22191
|
+
var Yo = (a2, e) => e;
|
22191
22192
|
var Xo = (a2, e) => e;
|
22192
|
-
var
|
22193
|
-
var
|
22194
|
-
var
|
22195
|
-
var en = createSelector([N, Nt], (a2, e) => {
|
22193
|
+
var z = createSelector([Q, es], (a2, e) => e ? a2[e] : null);
|
22194
|
+
var ts = createSelector([N, _t], (a2, e) => e ? a2[e] : null);
|
22195
|
+
var Zo = createSelector([N, _t], (a2, e) => {
|
22196
22196
|
if (!e)
|
22197
22197
|
return null;
|
22198
22198
|
let t = a2[e];
|
22199
22199
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22200
22200
|
});
|
22201
|
-
var
|
22201
|
+
var en = createSelector([N, _t], (a2, e) => {
|
22202
22202
|
if (!e)
|
22203
22203
|
return null;
|
22204
22204
|
let t = a2[e];
|
22205
22205
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22206
22206
|
});
|
22207
|
-
var
|
22207
|
+
var tn = createSelector([N, _t], (a2, e) => {
|
22208
22208
|
if (!e)
|
22209
22209
|
return null;
|
22210
22210
|
let t = a2[e];
|
22211
22211
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22212
22212
|
});
|
22213
|
-
var
|
22213
|
+
var rn = createSelector([N, _t], (a2, e) => {
|
22214
22214
|
if (!e)
|
22215
22215
|
return null;
|
22216
22216
|
let t = a2[e];
|
22217
22217
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22218
22218
|
});
|
22219
|
-
var
|
22220
|
-
var
|
22221
|
-
var
|
22219
|
+
var sn = createSelector([Ta, Xo], (a2, e) => e ? a2[e] : null);
|
22220
|
+
var Z = H(z);
|
22221
|
+
var uS = H(createSelector([zr, Yo], (a2, e) => {
|
22222
22222
|
if (a2)
|
22223
22223
|
return e ? a2[e] : a2;
|
22224
22224
|
}));
|
22225
|
-
function
|
22225
|
+
function pS(a2) {
|
22226
22226
|
return (e) => {
|
22227
22227
|
if (e.sessionStore)
|
22228
22228
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22229
22229
|
};
|
22230
22230
|
}
|
22231
|
-
var
|
22232
|
-
var
|
22233
|
-
var
|
22234
|
-
var
|
22235
|
-
var
|
22236
|
-
var
|
22237
|
-
var
|
22238
|
-
var
|
22239
|
-
let t =
|
22231
|
+
var mS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.name));
|
22232
|
+
var SS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.type));
|
22233
|
+
var Ii = H(ts);
|
22234
|
+
var Ha = H(Zo);
|
22235
|
+
var gS = H(en);
|
22236
|
+
var TS = H(tn);
|
22237
|
+
var fS = H(rn);
|
22238
|
+
var an = H((a2, e) => {
|
22239
|
+
let t = z(a2, e);
|
22240
22240
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22241
22241
|
return a2.tracks[t.videoTrack];
|
22242
22242
|
});
|
22243
|
-
var
|
22244
|
-
let t =
|
22243
|
+
var on = H((a2, e) => {
|
22244
|
+
let t = z(a2, e);
|
22245
22245
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22246
22246
|
return a2.tracks[t.audioTrack];
|
22247
22247
|
});
|
22248
|
-
var
|
22249
|
-
let t =
|
22248
|
+
var MS = H((a2, e) => {
|
22249
|
+
let t = z(a2, e);
|
22250
22250
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22251
22251
|
});
|
22252
|
-
var
|
22253
|
-
var
|
22254
|
-
var
|
22255
|
-
let t =
|
22256
|
-
return
|
22257
|
-
};
|
22258
|
-
var
|
22259
|
-
var
|
22252
|
+
var Ca = (a2, e) => e ? a2.speakers[e] : null;
|
22253
|
+
var yS = H(createSelector(Ca, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22254
|
+
var nn = (a2, e) => {
|
22255
|
+
let t = on(e)(a2);
|
22256
|
+
return Ca(a2, t == null ? void 0 : t.id);
|
22257
|
+
};
|
22258
|
+
var kS = H(createSelector(nn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22259
|
+
var ES = H((a2, e) => {
|
22260
22260
|
if (e)
|
22261
22261
|
return a2.connectionQualities[e];
|
22262
22262
|
});
|
22263
|
-
var
|
22264
|
-
let t =
|
22263
|
+
var PS = H((a2, e) => {
|
22264
|
+
let t = z(a2, e);
|
22265
22265
|
if (t) {
|
22266
22266
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => gt(a2.tracks[r]));
|
22267
22267
|
return i ? a2.tracks[i] : void 0;
|
22268
22268
|
}
|
22269
22269
|
});
|
22270
|
-
var
|
22270
|
+
var bS = H(createSelector(N, z, (a2, e) => {
|
22271
22271
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22272
22272
|
let r = a2[i];
|
22273
22273
|
return ft(r) && Tt(r);
|
22274
22274
|
});
|
22275
22275
|
return t ? a2[t] : void 0;
|
22276
22276
|
}));
|
22277
|
-
var
|
22277
|
+
var AS = H(createSelector(N, z, (a2, e) => {
|
22278
22278
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22279
22279
|
let r = a2[i];
|
22280
22280
|
return ft(r) && gt(r);
|
22281
22281
|
});
|
22282
22282
|
return t ? a2[t] : void 0;
|
22283
22283
|
}));
|
22284
|
-
var
|
22284
|
+
var IS = H(createSelector(N, z, (a2, e) => {
|
22285
22285
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22286
22286
|
let r = a2[i];
|
22287
|
-
return
|
22287
|
+
return ci(r) && gt(r);
|
22288
22288
|
});
|
22289
22289
|
return t ? a2[t] : void 0;
|
22290
22290
|
}));
|
22291
|
-
var
|
22292
|
-
var
|
22293
|
-
var
|
22294
|
-
let t =
|
22291
|
+
var La = H(createSelector(N, z, (a2, e) => Fe(a2, e)));
|
22292
|
+
var Da = (a2) => createSelector(La(a2), (e) => e.audio);
|
22293
|
+
var HS = H((a2, e) => {
|
22294
|
+
let t = z(a2, e);
|
22295
22295
|
return ze(a2, t == null ? void 0 : t.audioTrack);
|
22296
22296
|
});
|
22297
|
-
var
|
22298
|
-
let t =
|
22297
|
+
var CS = H((a2, e) => {
|
22298
|
+
let t = z(a2, e);
|
22299
22299
|
return ze(a2, t == null ? void 0 : t.videoTrack);
|
22300
22300
|
});
|
22301
|
-
var
|
22301
|
+
var wa = H((a2, e) => {
|
22302
22302
|
if (e && a2.tracks[e])
|
22303
22303
|
return a2.tracks[e].volume === 0;
|
22304
22304
|
});
|
22305
|
-
var
|
22306
|
-
let t =
|
22307
|
-
return
|
22305
|
+
var LS = H((a2, e) => {
|
22306
|
+
let t = z(a2, e);
|
22307
|
+
return wa(t == null ? void 0 : t.audioTrack)(a2);
|
22308
22308
|
});
|
22309
|
-
var
|
22310
|
-
let t =
|
22311
|
-
return
|
22309
|
+
var DS = H((a2, e) => {
|
22310
|
+
let t = Da(e)(a2);
|
22311
|
+
return wa(t == null ? void 0 : t.id)(a2);
|
22312
22312
|
});
|
22313
|
-
var
|
22314
|
-
let t =
|
22313
|
+
var _a7 = H((a2, e) => {
|
22314
|
+
let t = ts(a2, e);
|
22315
22315
|
if (t) {
|
22316
22316
|
if (t.type !== "audio") {
|
22317
22317
|
b.w("Please pass audio track here");
|
@@ -22320,16 +22320,16 @@ var Na = H((a2, e) => {
|
|
22320
22320
|
return t.volume;
|
22321
22321
|
}
|
22322
22322
|
});
|
22323
|
-
var
|
22324
|
-
let t =
|
22325
|
-
return
|
22323
|
+
var wS = H((a2, e) => {
|
22324
|
+
let t = z(a2, e);
|
22325
|
+
return _a7(t == null ? void 0 : t.audioTrack)(a2);
|
22326
22326
|
});
|
22327
|
-
var
|
22328
|
-
let t =
|
22329
|
-
return
|
22327
|
+
var _S = H((a2, e) => {
|
22328
|
+
let t = Da(e)(a2);
|
22329
|
+
return _a7(t == null ? void 0 : t.id)(a2);
|
22330
22330
|
});
|
22331
|
-
var
|
22332
|
-
let t =
|
22331
|
+
var NS = H((a2, e) => {
|
22332
|
+
let t = ts(a2, e);
|
22333
22333
|
if (t) {
|
22334
22334
|
if (t.type !== "video") {
|
22335
22335
|
b.w("Please pass video track here");
|
@@ -22338,50 +22338,50 @@ var VS = H((a2, e) => {
|
|
22338
22338
|
return t.layer;
|
22339
22339
|
}
|
22340
22340
|
});
|
22341
|
-
var
|
22341
|
+
var Na = createSelector([Dt, Ie, es], (a2, e, t) => {
|
22342
22342
|
if (t)
|
22343
22343
|
return a2.filter((i) => {
|
22344
22344
|
var r;
|
22345
22345
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22346
22346
|
});
|
22347
22347
|
});
|
22348
|
-
var
|
22348
|
+
var Oa = createSelector([Dt, Ra], (a2, e) => {
|
22349
22349
|
if (e)
|
22350
22350
|
return a2.filter((t) => {
|
22351
22351
|
var i, r;
|
22352
22352
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22353
22353
|
});
|
22354
22354
|
});
|
22355
|
-
var
|
22355
|
+
var cn = createSelector(Dt, (a2) => a2.filter((e) => {
|
22356
22356
|
var t;
|
22357
22357
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22358
22358
|
}));
|
22359
|
-
var
|
22360
|
-
var
|
22361
|
-
var
|
22362
|
-
var
|
22363
|
-
var
|
22364
|
-
var
|
22365
|
-
var
|
22366
|
-
var
|
22367
|
-
var
|
22359
|
+
var dn = createSelector([Oa, Ra], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22360
|
+
var ln = createSelector([Na, es], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22361
|
+
var OS = createSelector(cn, (a2) => a2.filter((e) => !e.read).length);
|
22362
|
+
var xS = H(Na);
|
22363
|
+
var US = H(Oa);
|
22364
|
+
var BS = H(dn);
|
22365
|
+
var VS = H(ln);
|
22366
|
+
var xa = H(sn);
|
22367
|
+
var XS = createSelector([Q, N], (a2, e) => Object.values(a2).map((i) => {
|
22368
22368
|
var r;
|
22369
22369
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22370
22370
|
}));
|
22371
|
-
var
|
22372
|
-
var
|
22373
|
-
var
|
22374
|
-
var
|
22375
|
-
var
|
22371
|
+
var un = (a2) => a2.roleChangeRequests[0] || null;
|
22372
|
+
var ZS = createSelector([un, Q, Ee], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22373
|
+
var eg = createSelector([ct], (a2) => vt(a2));
|
22374
|
+
var tg = createSelector([Sa], (a2) => vt(a2));
|
22375
|
+
var hn = createSelector([X, N], (a2, e) => {
|
22376
22376
|
let t = null;
|
22377
22377
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22378
22378
|
});
|
22379
|
-
var
|
22379
|
+
var mn = createSelector([le, N], (a2, e) => {
|
22380
22380
|
let t = null;
|
22381
22381
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22382
22382
|
});
|
22383
|
-
var
|
22384
|
-
var
|
22383
|
+
var Tn = ((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))(Tn || {});
|
22384
|
+
var os = class {
|
22385
22385
|
constructor() {
|
22386
22386
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22387
22387
|
this.failedEvents = new fe("client-events");
|
@@ -22400,7 +22400,7 @@ var ns = class {
|
|
22400
22400
|
this.addEventToStorage(e);
|
22401
22401
|
return;
|
22402
22402
|
}
|
22403
|
-
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" ?
|
22403
|
+
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" ? ea : ta;
|
22404
22404
|
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) => {
|
22405
22405
|
if (r.status === 401) {
|
22406
22406
|
this.removeFromStorage(e);
|
@@ -22426,8 +22426,8 @@ var ns = class {
|
|
22426
22426
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22427
22427
|
}
|
22428
22428
|
};
|
22429
|
-
var He = new
|
22430
|
-
var
|
22429
|
+
var He = new os();
|
22430
|
+
var $t = class {
|
22431
22431
|
static handleError(e) {
|
22432
22432
|
if (e.status === 404)
|
22433
22433
|
throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
|
@@ -22453,67 +22453,67 @@ var Kt = class {
|
|
22453
22453
|
});
|
22454
22454
|
}
|
22455
22455
|
};
|
22456
|
-
|
22457
|
-
var
|
22458
|
-
var
|
22459
|
-
var
|
22456
|
+
$t.TAG = "[FeedbackService]";
|
22457
|
+
var ns = ((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))(ns || {});
|
22458
|
+
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 || {});
|
22459
|
+
var lr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(lr || {});
|
22460
22460
|
var ht = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ht || {});
|
22461
|
-
var
|
22462
|
-
var
|
22463
|
-
var
|
22464
|
-
var
|
22465
|
-
var
|
22466
|
-
var
|
22467
|
-
var
|
22468
|
-
var
|
22469
|
-
var Le = createSelector([
|
22470
|
-
var
|
22461
|
+
var Un = (a2) => a2.localPeer.id;
|
22462
|
+
var Bn = (a2) => a2.localPeer.audioTrack;
|
22463
|
+
var Vn = (a2) => a2.localPeer.videoTrack;
|
22464
|
+
var Fn = (a2, e) => e;
|
22465
|
+
var oo = (a2, e) => e;
|
22466
|
+
var Gn = (a2) => a2.remoteTrackStats;
|
22467
|
+
var no = (a2) => a2.peerStats;
|
22468
|
+
var us = (a2) => a2.localTrackStats;
|
22469
|
+
var Le = createSelector([no, Un], (a2, e) => a2[e]);
|
22470
|
+
var Wn = createSelector(Le, (a2) => {
|
22471
22471
|
var e;
|
22472
22472
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22473
22473
|
});
|
22474
|
-
var
|
22474
|
+
var $n = createSelector(Le, (a2) => {
|
22475
22475
|
var e;
|
22476
22476
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22477
22477
|
});
|
22478
|
-
var
|
22478
|
+
var Kn = createSelector(Le, (a2) => {
|
22479
22479
|
var e;
|
22480
22480
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22481
22481
|
});
|
22482
|
-
var
|
22482
|
+
var qn = createSelector(Le, (a2) => {
|
22483
22483
|
var e;
|
22484
22484
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22485
22485
|
});
|
22486
|
-
var
|
22486
|
+
var jn = createSelector(Le, (a2) => {
|
22487
22487
|
var e;
|
22488
22488
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22489
22489
|
});
|
22490
|
-
var
|
22490
|
+
var Jn = createSelector(Le, (a2) => {
|
22491
22491
|
var e;
|
22492
22492
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22493
22493
|
});
|
22494
|
-
var
|
22494
|
+
var Qn = createSelector(Le, (a2) => {
|
22495
22495
|
var e;
|
22496
22496
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22497
22497
|
});
|
22498
|
-
var
|
22498
|
+
var zn = createSelector(Le, (a2) => {
|
22499
22499
|
var e;
|
22500
22500
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22501
22501
|
});
|
22502
|
-
var
|
22503
|
-
var
|
22504
|
-
var
|
22502
|
+
var Yn = createSelector([no, Fn], (a2, e) => e ? a2[e] : void 0);
|
22503
|
+
var Xn = createSelector([Gn, oo], (a2, e) => e ? a2[e] : void 0);
|
22504
|
+
var ps = createSelector([us, oo], (a2, e) => e ? a2[e] : void 0);
|
22505
|
+
var Zn = H(Yn);
|
22505
22506
|
var ec = H(Xn);
|
22506
|
-
var tc =
|
22507
|
-
var ic = createSelector([ps, Vn], (a2, e) => {
|
22507
|
+
var tc = createSelector([us, Bn], (a2, e) => {
|
22508
22508
|
var t;
|
22509
22509
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22510
22510
|
});
|
22511
|
-
var
|
22512
|
-
var
|
22511
|
+
var ic = H(createSelector(ps, (a2) => a2 == null ? void 0 : a2[0]));
|
22512
|
+
var rc = createSelector([us, Vn], (a2, e) => {
|
22513
22513
|
var t;
|
22514
22514
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22515
22515
|
});
|
22516
|
-
var
|
22516
|
+
var sc = H(createSelector(ps, (a2) => a2));
|
22517
22517
|
|
22518
22518
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22519
22519
|
var import_react_sdk41 = require("@100mslive/react-sdk");
|
@@ -22622,7 +22622,7 @@ var RecordingStatus = () => {
|
|
22622
22622
|
};
|
22623
22623
|
var RecordingPauseStatus = () => {
|
22624
22624
|
const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
|
22625
|
-
if (recording.hls && recording.hls.state ===
|
22625
|
+
if (recording.hls && recording.hls.state === Fs.PAUSED) {
|
22626
22626
|
return /* @__PURE__ */ import_react88.default.createElement(
|
22627
22627
|
Tooltip,
|
22628
22628
|
{
|
@@ -27383,7 +27383,7 @@ var Chat = () => {
|
|
27383
27383
|
const listRef = (0, import_react153.useRef)(null);
|
27384
27384
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
27385
27385
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
27386
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
27386
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(pS("chatState" /* CHAT_STATE */)) || {};
|
27387
27387
|
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
27388
27388
|
const isMobileHLSStream = useMobileHLSStream();
|
27389
27389
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27473,7 +27473,7 @@ var NewMessageIndicator = ({
|
|
27473
27473
|
scrollToBottom,
|
27474
27474
|
listRef
|
27475
27475
|
}) => {
|
27476
|
-
const unreadCount = (0, import_react_sdk74.useHMSStore)(
|
27476
|
+
const unreadCount = (0, import_react_sdk74.useHMSStore)(_m);
|
27477
27477
|
if (!unreadCount || !listRef.current) {
|
27478
27478
|
return null;
|
27479
27479
|
}
|
@@ -28439,12 +28439,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28439
28439
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
28440
28440
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
28441
28441
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28442
|
-
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(
|
28443
|
-
const effectsKey = (0, import_react_sdk82.useHMSStore)(
|
28442
|
+
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(jm);
|
28443
|
+
const effectsKey = (0, import_react_sdk82.useHMSStore)(Qm);
|
28444
28444
|
const isMobile = (0, import_react_use32.useMedia)(config.media.md);
|
28445
28445
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28446
28446
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28447
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
28447
|
+
const background = (0, import_react_sdk82.useHMSStore)(uS(APP_DATA.background));
|
28448
28448
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28449
28449
|
const pluginLoadingRef = (0, import_react163.useRef)(false);
|
28450
28450
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -29512,7 +29512,7 @@ var useTileLayout = ({
|
|
29512
29512
|
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
29513
29513
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
29514
29514
|
const rowElements = [];
|
29515
|
-
for (let
|
29515
|
+
for (let j2 = 0; j2 < numCols; j2++) {
|
29516
29516
|
if (index < page.length) {
|
29517
29517
|
rowElements.push(page[index++]);
|
29518
29518
|
}
|
@@ -32755,8 +32755,8 @@ var ConferenceScreen = () => {
|
|
32755
32755
|
initEndpoint: endpoints == null ? void 0 : endpoints.init,
|
32756
32756
|
rememberDeviceSelection: true,
|
32757
32757
|
settings: {
|
32758
|
-
|
32759
|
-
|
32758
|
+
isAudioMuted: !isPreviewScreenEnabled,
|
32759
|
+
isVideoMuted: !isPreviewScreenEnabled,
|
32760
32760
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
32761
32761
|
}
|
32762
32762
|
}).then(() => requestPermission()).catch(console.error);
|
@@ -34197,8 +34197,8 @@ var import_react230 = require("react");
|
|
34197
34197
|
var import_react_sdk118 = require("@100mslive/react-sdk");
|
34198
34198
|
var MessageNotifications = () => {
|
34199
34199
|
var _a8, _b7;
|
34200
|
-
const notification = (0, import_react_sdk118.useHMSNotifications)(
|
34201
|
-
const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(
|
34200
|
+
const notification = (0, import_react_sdk118.useHMSNotifications)(Pr.NEW_MESSAGE);
|
34201
|
+
const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(Xr);
|
34202
34202
|
const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
|
34203
34203
|
const { pipWindow } = usePIPWindow();
|
34204
34204
|
const { showNotification } = (0, import_react_sdk118.useAwayNotifications)();
|