@100mslive/roomkit-react 0.3.3-alpha.5 → 0.3.3-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-W72TK3BE.js → HLSView-UJVFWWXD.js} +2 -2
- package/dist/{chunk-HTFCZ4D6.js → chunk-D73DSBZU.js} +340 -377
- package/dist/{chunk-HTFCZ4D6.js.map → chunk-D73DSBZU.js.map} +4 -4
- package/dist/index.cjs.js +327 -364
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +23 -23
- package/dist/meta.esbuild.json +29 -29
- package/package.json +7 -7
- /package/dist/{HLSView-W72TK3BE.js.map → HLSView-UJVFWWXD.js.map} +0 -0
@@ -9,18 +9,18 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
10
10
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
11
11
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
12
|
-
var __spreadValues = (a2,
|
13
|
-
for (var prop in
|
14
|
-
if (__hasOwnProp.call(
|
15
|
-
__defNormalProp(a2, prop,
|
12
|
+
var __spreadValues = (a2, b2) => {
|
13
|
+
for (var prop in b2 || (b2 = {}))
|
14
|
+
if (__hasOwnProp.call(b2, prop))
|
15
|
+
__defNormalProp(a2, prop, b2[prop]);
|
16
16
|
if (__getOwnPropSymbols)
|
17
|
-
for (var prop of __getOwnPropSymbols(
|
18
|
-
if (__propIsEnum.call(
|
19
|
-
__defNormalProp(a2, prop,
|
17
|
+
for (var prop of __getOwnPropSymbols(b2)) {
|
18
|
+
if (__propIsEnum.call(b2, prop))
|
19
|
+
__defNormalProp(a2, prop, b2[prop]);
|
20
20
|
}
|
21
21
|
return a2;
|
22
22
|
};
|
23
|
-
var __spreadProps = (a2,
|
23
|
+
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
24
24
|
var __objRest = (source, exclude) => {
|
25
25
|
var target = {};
|
26
26
|
for (var prop in source)
|
@@ -43,13 +43,13 @@ var __export = (target, all) => {
|
|
43
43
|
for (var name in all)
|
44
44
|
__defProp(target, name, { get: all[name], enumerable: true });
|
45
45
|
};
|
46
|
-
var __copyProps = (
|
46
|
+
var __copyProps = (to, from, except, desc) => {
|
47
47
|
if (from && typeof from === "object" || typeof from === "function") {
|
48
48
|
for (let key of __getOwnPropNames(from))
|
49
|
-
if (!__hasOwnProp.call(
|
50
|
-
__defProp(
|
49
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
50
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
51
51
|
}
|
52
|
-
return
|
52
|
+
return to;
|
53
53
|
};
|
54
54
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
55
55
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.3-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d1851b75-ded9-411c-8b39-0cc99e52e88e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-alpha.5", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", 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_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:19840", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.5", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8359425530", 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: "3496c48ec04f96f057590bfec0bb8182011a0b02", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "0c4e67d72e7d88c99856fdea969aa038f48122782b4c0fc552af7a5194061e66", 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--1710940063175-0.49561585595909774:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940062978-0.7197615174263523:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040538-0.7382228335634688:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710940040357-0.7458450753432382:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d39a5906-941b-4c2d-9239-7d62fbd8b4c5", INVOCATION_ID: "67e126525aec44e1b45f7bf6bdeb6a00", 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: "486", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 100", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "3496c48ec04f96f057590bfec0bb8182011a0b02", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d1851b75-ded9-411c-8b39-0cc99e52e88e", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d1851b75-ded9-411c-8b39-0cc99e52e88e", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d1851b75-ded9-411c-8b39-0cc99e52e88e" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_982bccf4-4a1d-4bbc-a221-8df3c0a06073", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.3-alpha.7", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_982bccf4-4a1d-4bbc-a221-8df3c0a06073", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-alpha.7", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "596", 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_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.5", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18303", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.3-alpha.7", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8370062100", 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: "cc984a3923cf9dc6fee242eb9623eba3be5a4a99", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "0fe496c7fcffac636bbdcdda640112924f50d36dfc6f256fa30b9a22068c0a8e", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1710998331677-0.3398687830452809:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998331480-0.20783780522037532:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998309881-0.4873148825741791:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710998309703-0.9607485933227449:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_2a93d5c7-c2c0-4a02-bfa3-96891b012ecf", INVOCATION_ID: "31720a793c77488283603c8927940eb5", 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: "489", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 194", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.3-alpha.7", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.7", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "cc984a3923cf9dc6fee242eb9623eba3be5a4a99", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_982bccf4-4a1d-4bbc-a221-8df3c0a06073", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_982bccf4-4a1d-4bbc-a221-8df3c0a06073", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_982bccf4-4a1d-4bbc-a221-8df3c0a06073" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -801,7 +801,7 @@ var require_lodash = __commonJS({
|
|
801
801
|
return string.match(reUnicodeWord) || [];
|
802
802
|
}
|
803
803
|
var runInContext = function runInContext2(context) {
|
804
|
-
context = context == null ? root :
|
804
|
+
context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
|
805
805
|
var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
|
806
806
|
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
|
807
807
|
var coreJsData = context["__core-js_shared__"];
|
@@ -4148,7 +4148,7 @@ var require_lodash = __commonJS({
|
|
4148
4148
|
function eq(value, other) {
|
4149
4149
|
return value === other || value !== value && other !== other;
|
4150
4150
|
}
|
4151
|
-
var
|
4151
|
+
var gt2 = createRelationalOperation(baseGt);
|
4152
4152
|
var gte = createRelationalOperation(function(value, other) {
|
4153
4153
|
return value >= other;
|
4154
4154
|
});
|
@@ -5287,7 +5287,7 @@ var require_lodash = __commonJS({
|
|
5287
5287
|
lodash.forOwn = forOwn;
|
5288
5288
|
lodash.forOwnRight = forOwnRight;
|
5289
5289
|
lodash.get = get;
|
5290
|
-
lodash.gt =
|
5290
|
+
lodash.gt = gt2;
|
5291
5291
|
lodash.gte = gte;
|
5292
5292
|
lodash.has = has;
|
5293
5293
|
lodash.hasIn = hasIn;
|
@@ -5575,17 +5575,17 @@ var require_lodash = __commonJS({
|
|
5575
5575
|
}
|
5576
5576
|
return lodash;
|
5577
5577
|
};
|
5578
|
-
var
|
5578
|
+
var _ = runInContext();
|
5579
5579
|
if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
|
5580
|
-
root._ =
|
5580
|
+
root._ = _;
|
5581
5581
|
define(function() {
|
5582
|
-
return
|
5582
|
+
return _;
|
5583
5583
|
});
|
5584
5584
|
} else if (freeModule) {
|
5585
|
-
(freeModule.exports =
|
5586
|
-
freeExports._ =
|
5585
|
+
(freeModule.exports = _)._ = _;
|
5586
|
+
freeExports._ = _;
|
5587
5587
|
} else {
|
5588
|
-
root._ =
|
5588
|
+
root._ = _;
|
5589
5589
|
}
|
5590
5590
|
}).call(exports);
|
5591
5591
|
}
|
@@ -7670,12 +7670,12 @@ var require_sdp = __commonJS({
|
|
7670
7670
|
return parsed;
|
7671
7671
|
};
|
7672
7672
|
SDPUtils2.writeRtpMap = function(codec) {
|
7673
|
-
let
|
7673
|
+
let pt2 = codec.payloadType;
|
7674
7674
|
if (codec.preferredPayloadType !== void 0) {
|
7675
|
-
|
7675
|
+
pt2 = codec.preferredPayloadType;
|
7676
7676
|
}
|
7677
7677
|
const channels = codec.channels || codec.numChannels || 1;
|
7678
|
-
return "a=rtpmap:" +
|
7678
|
+
return "a=rtpmap:" + pt2 + " " + codec.name + "/" + codec.clockRate + (channels !== 1 ? "/" + channels : "") + "\r\n";
|
7679
7679
|
};
|
7680
7680
|
SDPUtils2.parseExtmap = function(line) {
|
7681
7681
|
const parts = line.substring(9).split(" ");
|
@@ -7701,9 +7701,9 @@ var require_sdp = __commonJS({
|
|
7701
7701
|
};
|
7702
7702
|
SDPUtils2.writeFmtp = function(codec) {
|
7703
7703
|
let line = "";
|
7704
|
-
let
|
7704
|
+
let pt2 = codec.payloadType;
|
7705
7705
|
if (codec.preferredPayloadType !== void 0) {
|
7706
|
-
|
7706
|
+
pt2 = codec.preferredPayloadType;
|
7707
7707
|
}
|
7708
7708
|
if (codec.parameters && Object.keys(codec.parameters).length) {
|
7709
7709
|
const params = [];
|
@@ -7714,7 +7714,7 @@ var require_sdp = __commonJS({
|
|
7714
7714
|
params.push(param);
|
7715
7715
|
}
|
7716
7716
|
});
|
7717
|
-
line += "a=fmtp:" +
|
7717
|
+
line += "a=fmtp:" + pt2 + " " + params.join(";") + "\r\n";
|
7718
7718
|
}
|
7719
7719
|
return line;
|
7720
7720
|
};
|
@@ -7727,13 +7727,13 @@ var require_sdp = __commonJS({
|
|
7727
7727
|
};
|
7728
7728
|
SDPUtils2.writeRtcpFb = function(codec) {
|
7729
7729
|
let lines = "";
|
7730
|
-
let
|
7730
|
+
let pt2 = codec.payloadType;
|
7731
7731
|
if (codec.preferredPayloadType !== void 0) {
|
7732
|
-
|
7732
|
+
pt2 = codec.preferredPayloadType;
|
7733
7733
|
}
|
7734
7734
|
if (codec.rtcpFeedback && codec.rtcpFeedback.length) {
|
7735
7735
|
codec.rtcpFeedback.forEach((fb) => {
|
7736
|
-
lines += "a=rtcp-fb:" +
|
7736
|
+
lines += "a=rtcp-fb:" + pt2 + " " + fb.type + (fb.parameter && fb.parameter.length ? " " + fb.parameter : "") + "\r\n";
|
7737
7737
|
});
|
7738
7738
|
}
|
7739
7739
|
return lines;
|
@@ -7861,21 +7861,21 @@ var require_sdp = __commonJS({
|
|
7861
7861
|
const mline = lines[0].split(" ");
|
7862
7862
|
description.profile = mline[2];
|
7863
7863
|
for (let i = 3; i < mline.length; i++) {
|
7864
|
-
const
|
7864
|
+
const pt2 = mline[i];
|
7865
7865
|
const rtpmapline = SDPUtils2.matchPrefix(
|
7866
7866
|
mediaSection,
|
7867
|
-
"a=rtpmap:" +
|
7867
|
+
"a=rtpmap:" + pt2 + " "
|
7868
7868
|
)[0];
|
7869
7869
|
if (rtpmapline) {
|
7870
7870
|
const codec = SDPUtils2.parseRtpMap(rtpmapline);
|
7871
7871
|
const fmtps = SDPUtils2.matchPrefix(
|
7872
7872
|
mediaSection,
|
7873
|
-
"a=fmtp:" +
|
7873
|
+
"a=fmtp:" + pt2 + " "
|
7874
7874
|
);
|
7875
7875
|
codec.parameters = fmtps.length ? SDPUtils2.parseFmtp(fmtps[0]) : {};
|
7876
7876
|
codec.rtcpFeedback = SDPUtils2.matchPrefix(
|
7877
7877
|
mediaSection,
|
7878
|
-
"a=rtcp-fb:" +
|
7878
|
+
"a=rtcp-fb:" + pt2 + " "
|
7879
7879
|
).map(SDPUtils2.parseRtcpFb);
|
7880
7880
|
description.codecs.push(codec);
|
7881
7881
|
switch (codec.name.toUpperCase()) {
|
@@ -11051,7 +11051,7 @@ import { selectTrackAudioByID, useHMSVanillaStore } from "@100mslive/react-sdk";
|
|
11051
11051
|
var audio_level_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAABABAMAAAAHc7SNAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAtUExURQAAAP///////////////////////////////////////////////////////6FIq5sAAAAOdFJOUwA/QJqbnJ2euLnc3d7+2IFKrQAAAa9JREFUaN7dmcFRxDAMRXNgW4AbV24ZSkgrlAAFUAqlpITtgT0QnB22BnY3iWXHSlYz5H/NoJNO8bP8JTlyVW1k923/MveYdnc623PuUe3jsux37tEDcN24eFR7HJb9TD2qvQ/LfqUexR7a41Xx7bDsMfWo2j+NlnpU7TsBiOKdAOqoeCcAUTwFYFK8pn0GgFLttWVxAEq1pwJo1Z4KoFV7KoBW7YEAT0uK729pfxuAZcX/3Fr2TwAx05cVDwWIu11RPBQg7lZ0XlR7JIDsdkXxCIDp5GXf2v0GBxBP3pTfAIB48qb83h7AWtlhANbKDgOwVnYYgLWywwCsn/u/AO5HMIqwcwOovdNwLESNG8BQioNfKa52YwBsakC04/MF9C1Rw4HdjhU1SCyKqOCvZCGLhXgMgKgGiUWRI9hr+aSG+bU8sP4LyliIxwW4xOI1j8pKZlB/Tjt794ANpKzdAzOgaOzdAzKiCVpmkACWM4MEIFVCyQzfQWXnPao9eA+rG+dxfXB8L1jNB4pN+bCfd4re59Gqoz9alflQ+zzb7ZROwTWlUziEIO8UZCs7hc1+AbiVW6XSE8knAAAAAElFTkSuQmCC";
|
11052
11052
|
|
11053
11053
|
// src/AudioLevel/AudioLevel.tsx
|
11054
|
-
var positionValues = new Array(101).fill(0).reduce((acc,
|
11054
|
+
var positionValues = new Array(101).fill(0).reduce((acc, _, index) => {
|
11055
11055
|
acc[index] = Math.round(index / 100 * 4) / 4;
|
11056
11056
|
return acc;
|
11057
11057
|
}, {});
|
@@ -12418,12 +12418,12 @@ var formatTime = (timeInSeconds) => {
|
|
12418
12418
|
const hour = hours !== 0 ? `${hours < 10 ? "0" : ""}${hours}:` : "";
|
12419
12419
|
return `${hour}${minutes < 10 ? "0" : ""}${minutes}:${seconds < 10 ? "0" : ""}${seconds}`;
|
12420
12420
|
};
|
12421
|
-
var compareArrays = (a2,
|
12422
|
-
if (a2.length !==
|
12421
|
+
var compareArrays = (a2, b2) => {
|
12422
|
+
if (a2.length !== b2.length)
|
12423
12423
|
return false;
|
12424
12424
|
else {
|
12425
12425
|
for (var i = 0; i < a2.length; i++) {
|
12426
|
-
if (a2[i] !==
|
12426
|
+
if (a2[i] !== b2[i]) {
|
12427
12427
|
return false;
|
12428
12428
|
}
|
12429
12429
|
}
|
@@ -16270,8 +16270,8 @@ init_define_process_env();
|
|
16270
16270
|
|
16271
16271
|
// ../../node_modules/reselect/es/index.js
|
16272
16272
|
init_define_process_env();
|
16273
|
-
function defaultEqualityCheck(a2,
|
16274
|
-
return a2 ===
|
16273
|
+
function defaultEqualityCheck(a2, b2) {
|
16274
|
+
return a2 === b2;
|
16275
16275
|
}
|
16276
16276
|
function areArgumentsShallowlyEqual(equalityCheck, prev, next) {
|
16277
16277
|
if (prev === null || next === null || prev.length !== next.length) {
|
@@ -16348,8 +16348,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
16348
16348
|
// ../hms-video-store/dist/index.js
|
16349
16349
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
16350
16350
|
var import_lodash3 = __toESM(require_lodash2());
|
16351
|
-
import { v4 as
|
16352
|
-
import { v4 as
|
16351
|
+
import { v4 as qa } from "uuid";
|
16352
|
+
import { v4 as Wa } from "uuid";
|
16353
16353
|
|
16354
16354
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
16355
16355
|
init_define_process_env();
|
@@ -16639,9 +16639,9 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16639
16639
|
}
|
16640
16640
|
constraints = JSON.parse(JSON.stringify(constraints));
|
16641
16641
|
if (constraints && typeof constraints.audio === "object") {
|
16642
|
-
const remap = function(obj, a2,
|
16643
|
-
if (a2 in obj && !(
|
16644
|
-
obj[
|
16642
|
+
const remap = function(obj, a2, b2) {
|
16643
|
+
if (a2 in obj && !(b2 in obj)) {
|
16644
|
+
obj[b2] = obj[a2];
|
16645
16645
|
delete obj[a2];
|
16646
16646
|
}
|
16647
16647
|
};
|
@@ -17383,9 +17383,9 @@ function shimGetUserMedia2(window2, browserDetails) {
|
|
17383
17383
|
navigator2.mediaDevices.getUserMedia(constraints).then(onSuccess, onError);
|
17384
17384
|
};
|
17385
17385
|
if (!(browserDetails.version > 55 && "autoGainControl" in navigator2.mediaDevices.getSupportedConstraints())) {
|
17386
|
-
const remap = function(obj, a2,
|
17387
|
-
if (a2 in obj && !(
|
17388
|
-
obj[
|
17386
|
+
const remap = function(obj, a2, b2) {
|
17387
|
+
if (a2 in obj && !(b2 in obj)) {
|
17388
|
+
obj[b2] = obj[a2];
|
17389
17389
|
delete obj[a2];
|
17390
17390
|
}
|
17391
17391
|
};
|
@@ -18174,15 +18174,15 @@ function shimSendThrowTypeError(window2) {
|
|
18174
18174
|
if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
|
18175
18175
|
return;
|
18176
18176
|
}
|
18177
|
-
function wrapDcSend(
|
18178
|
-
const origDataChannelSend =
|
18179
|
-
|
18177
|
+
function wrapDcSend(dc, pc) {
|
18178
|
+
const origDataChannelSend = dc.send;
|
18179
|
+
dc.send = function send() {
|
18180
18180
|
const data3 = arguments[0];
|
18181
18181
|
const length = data3.length || data3.size || data3.byteLength;
|
18182
|
-
if (
|
18182
|
+
if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
|
18183
18183
|
throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
|
18184
18184
|
}
|
18185
|
-
return origDataChannelSend.apply(
|
18185
|
+
return origDataChannelSend.apply(dc, arguments);
|
18186
18186
|
};
|
18187
18187
|
}
|
18188
18188
|
const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
|
@@ -18446,114 +18446,114 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
18446
18446
|
|
18447
18447
|
// ../hms-video-store/dist/index.js
|
18448
18448
|
var import_lodash4 = __toESM(require_lodash2());
|
18449
|
-
import { v4 as
|
18450
|
-
import { v4 as
|
18451
|
-
import { v4 as
|
18452
|
-
import { EventEmitter2 as
|
18449
|
+
import { v4 as io } from "uuid";
|
18450
|
+
import { v4 as oo } from "uuid";
|
18451
|
+
import { v4 as uo } from "uuid";
|
18452
|
+
import { EventEmitter2 as po } from "eventemitter2";
|
18453
18453
|
var Dt = __toESM(require_lib());
|
18454
|
-
import { EventEmitter2 as
|
18455
|
-
import { v4 as
|
18456
|
-
import { EventEmitter2 as
|
18457
|
-
import
|
18458
|
-
import { v4 as
|
18459
|
-
import { v4 as
|
18460
|
-
var
|
18461
|
-
var
|
18462
|
-
var
|
18454
|
+
import { EventEmitter2 as Co } from "eventemitter2";
|
18455
|
+
import { v4 as wo } from "uuid";
|
18456
|
+
import { EventEmitter2 as _o } from "eventemitter2";
|
18457
|
+
import No from "eventemitter2";
|
18458
|
+
import { v4 as Oo } from "uuid";
|
18459
|
+
import { v4 as Bo } from "uuid";
|
18460
|
+
var ka = Object.defineProperty;
|
18461
|
+
var Pa = Object.defineProperties;
|
18462
|
+
var Ea = Object.getOwnPropertyDescriptors;
|
18463
18463
|
var Vt = Object.getOwnPropertySymbols;
|
18464
|
-
var
|
18465
|
-
var
|
18466
|
-
var
|
18467
|
-
var
|
18464
|
+
var $r = Object.prototype.hasOwnProperty;
|
18465
|
+
var Wr = Object.prototype.propertyIsEnumerable;
|
18466
|
+
var Gr = (a2, e, t) => e in a2 ? ka(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
18467
|
+
var S = (a2, e) => {
|
18468
18468
|
for (var t in e || (e = {}))
|
18469
|
-
|
18469
|
+
$r.call(e, t) && Gr(a2, t, e[t]);
|
18470
18470
|
if (Vt)
|
18471
18471
|
for (var t of Vt(e))
|
18472
|
-
|
18472
|
+
Wr.call(e, t) && Gr(a2, t, e[t]);
|
18473
18473
|
return a2;
|
18474
18474
|
};
|
18475
|
-
var v = (a2, e) =>
|
18475
|
+
var v = (a2, e) => Pa(a2, Ea(e));
|
18476
18476
|
var Xi = (a2, e) => {
|
18477
18477
|
var t = {};
|
18478
18478
|
for (var i in a2)
|
18479
|
-
|
18479
|
+
$r.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
18480
18480
|
if (a2 != null && Vt)
|
18481
18481
|
for (var i of Vt(a2))
|
18482
|
-
e.indexOf(i) < 0 &&
|
18482
|
+
e.indexOf(i) < 0 && Wr.call(a2, i) && (t[i] = a2[i]);
|
18483
18483
|
return t;
|
18484
18484
|
};
|
18485
|
-
var
|
18486
|
-
var lr =
|
18487
|
-
|
18485
|
+
var Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18486
|
+
var lr = Ia((td, Ka) => {
|
18487
|
+
Ka.exports = { version: "0.12.3-alpha.7", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
18488
18488
|
});
|
18489
18489
|
var Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
|
18490
|
-
var
|
18491
|
-
var
|
18490
|
+
var Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
|
18491
|
+
var Kr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(Kr || {});
|
18492
18492
|
var er = ((C) => (C.PEER_JOINED = "PEER_JOINED", C.PEER_LEFT = "PEER_LEFT", C.PEER_LIST = "PEER_LIST", C.NEW_MESSAGE = "NEW_MESSAGE", C.ERROR = "ERROR", C.RECONNECTING = "RECONNECTING", C.RECONNECTED = "RECONNECTED", C.TRACK_ADDED = "TRACK_ADDED", C.TRACK_REMOVED = "TRACK_REMOVED", C.TRACK_MUTED = "TRACK_MUTED", C.TRACK_UNMUTED = "TRACK_UNMUTED", C.TRACK_DEGRADED = "TRACK_DEGRADED", C.TRACK_RESTORED = "TRACK_RESTORED", C.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", C.ROLE_UPDATED = "ROLE_UPDATED", C.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", C.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", C.ROOM_ENDED = "ROOM_ENDED", C.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", C.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", C.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", C.NAME_UPDATED = "NAME_UPDATED", C.METADATA_UPDATED = "METADATA_UPDATED", C.POLL_CREATED = "POLL_CREATED", C.POLL_STARTED = "POLL_STARTED", C.POLL_STOPPED = "POLL_STOPPED", C.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", C.POLLS_LIST = "POLLS_LIST", C.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", C))(er || {});
|
18493
|
-
var
|
18493
|
+
var qr = ((t) => (t.audio = "audio", t.video = "video", t))(qr || {});
|
18494
18494
|
function He(a2, e) {
|
18495
18495
|
let t, i;
|
18496
18496
|
if (e)
|
18497
18497
|
for (let r of e.auxiliaryTracks) {
|
18498
18498
|
let s = a2[r];
|
18499
|
-
|
18499
|
+
Ha(s) && (i = tt(s) ? s : i, t = it(s) ? s : t);
|
18500
18500
|
}
|
18501
18501
|
return { video: t, audio: i };
|
18502
18502
|
}
|
18503
|
-
function
|
18503
|
+
function tt(a2) {
|
18504
18504
|
return a2 && a2.type === "audio";
|
18505
18505
|
}
|
18506
|
-
function
|
18506
|
+
function it(a2) {
|
18507
18507
|
return a2 && a2.type === "video";
|
18508
18508
|
}
|
18509
|
-
function
|
18509
|
+
function Ha(a2) {
|
18510
18510
|
return a2 && a2.source === "screen";
|
18511
18511
|
}
|
18512
18512
|
function $t(a2) {
|
18513
18513
|
return a2 && a2.source === "audioplaylist";
|
18514
18514
|
}
|
18515
|
-
function
|
18515
|
+
function rt(a2) {
|
18516
18516
|
return a2 && a2.source === "videoplaylist";
|
18517
18517
|
}
|
18518
|
-
function
|
18518
|
+
function jr(a2) {
|
18519
18519
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
18520
18520
|
}
|
18521
18521
|
function Ue(a2, e) {
|
18522
18522
|
return e && a2.tracks[e] ? a2.tracks[e].enabled : false;
|
18523
18523
|
}
|
18524
|
-
function
|
18524
|
+
function st(a2) {
|
18525
18525
|
var r;
|
18526
18526
|
let e = false, t = false, i = false;
|
18527
18527
|
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 };
|
18528
18528
|
}
|
18529
18529
|
var B = (a2) => a2.room;
|
18530
|
-
var
|
18531
|
-
var
|
18532
|
-
var
|
18530
|
+
var Ca = (a2) => a2.errors;
|
18531
|
+
var Rn = createSelector(Ca, (a2) => a2.length === 0 ? null : a2.at(-1));
|
18532
|
+
var Hn = createSelector(B, (a2) => a2.id);
|
18533
18533
|
var G = (a2) => a2.peers;
|
18534
18534
|
var Wt = (a2) => a2.messages.byID;
|
18535
|
-
var
|
18536
|
-
var
|
18535
|
+
var Qr = (a2) => a2.messages.allIDs;
|
18536
|
+
var D = (a2) => a2.tracks;
|
18537
18537
|
var tr = (a2) => a2.appData;
|
18538
|
-
var
|
18538
|
+
var La = (a2) => a2.speakers;
|
18539
18539
|
var ye = createSelector([B], (a2) => a2 && a2.isConnected);
|
18540
|
-
var
|
18541
|
-
var
|
18542
|
-
var oe = createSelector([B, G,
|
18543
|
-
var
|
18540
|
+
var Dn = createSelector([ye, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
18541
|
+
var Da = (a2) => a2.hideLocalPeer;
|
18542
|
+
var oe = createSelector([B, G, Da], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
18543
|
+
var wa = createSelector(D, (a2) => Object.values(a2));
|
18544
18544
|
var z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
18545
18545
|
var ue = createSelector(B, (a2) => a2.localPeer);
|
18546
|
-
var
|
18547
|
-
var
|
18546
|
+
var wn = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
18547
|
+
var _n = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
18548
18548
|
var Z = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
18549
18549
|
var K = createSelector(z, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
18550
|
-
var
|
18551
|
-
var
|
18550
|
+
var _a7 = createSelector(z, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
18551
|
+
var Yr = createSelector([Z, K, _a7], (a2, e, t) => {
|
18552
18552
|
let i = t ? [...t] : [];
|
18553
18553
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
18554
18554
|
});
|
18555
|
-
var
|
18556
|
-
var
|
18555
|
+
var Nn = createSelector(oe, (a2) => a2.filter((e) => !e.isLocal));
|
18556
|
+
var On = createSelector(G, La, (a2, e) => {
|
18557
18557
|
let t = Object.entries(e).sort((i, r) => {
|
18558
18558
|
var n, l;
|
18559
18559
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -18566,11 +18566,11 @@ var xn = createSelector(G, Da, (a2, e) => {
|
|
18566
18566
|
}
|
18567
18567
|
return null;
|
18568
18568
|
});
|
18569
|
-
var rr = createSelector(z,
|
18569
|
+
var rr = createSelector(z, D, (a2, e) => {
|
18570
18570
|
let { video: t, audio: i } = He(e, a2);
|
18571
18571
|
return !!(t || i);
|
18572
18572
|
});
|
18573
|
-
var
|
18573
|
+
var Na = createSelector(G, D, (a2, e) => {
|
18574
18574
|
let t;
|
18575
18575
|
for (let i in a2) {
|
18576
18576
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -18580,15 +18580,15 @@ var Oa = createSelector(G, w, (a2, e) => {
|
|
18580
18580
|
}
|
18581
18581
|
return t;
|
18582
18582
|
});
|
18583
|
-
var
|
18584
|
-
var
|
18583
|
+
var Un = createSelector(Na, (a2) => !!a2);
|
18584
|
+
var Bn = createSelector(G, D, (a2, e) => {
|
18585
18585
|
for (let t in a2) {
|
18586
18586
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
18587
18587
|
if (!s && r)
|
18588
18588
|
return i;
|
18589
18589
|
}
|
18590
18590
|
});
|
18591
|
-
var
|
18591
|
+
var Vn = createSelector(G, D, (a2, e) => {
|
18592
18592
|
let t = [], i = [];
|
18593
18593
|
for (let r in a2) {
|
18594
18594
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -18596,80 +18596,80 @@ var Fn = createSelector(G, w, (a2, e) => {
|
|
18596
18596
|
}
|
18597
18597
|
return t.concat(i);
|
18598
18598
|
});
|
18599
|
-
var
|
18599
|
+
var Fn = createSelector(G, D, (a2, e) => {
|
18600
18600
|
for (let t in e) {
|
18601
18601
|
let i = e[t];
|
18602
|
-
if (
|
18602
|
+
if (rt(i) && it(i) && i.peerId)
|
18603
18603
|
return a2[i.peerId];
|
18604
18604
|
}
|
18605
18605
|
});
|
18606
|
-
var
|
18606
|
+
var Gn = createSelector(G, D, (a2, e) => {
|
18607
18607
|
for (let t in e) {
|
18608
18608
|
let i = e[t];
|
18609
18609
|
if ($t(i) && i.peerId)
|
18610
18610
|
return a2[i.peerId];
|
18611
18611
|
}
|
18612
18612
|
});
|
18613
|
-
var
|
18614
|
-
var
|
18615
|
-
var
|
18616
|
-
var
|
18613
|
+
var $n = createSelector(wa, (a2) => a2.filter(jr));
|
18614
|
+
var Wn = createSelector(Qr, (a2) => a2.length);
|
18615
|
+
var Kn = createSelector(Wt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
18616
|
+
var at = createSelector(Qr, Wt, (a2, e) => {
|
18617
18617
|
let t = [];
|
18618
18618
|
return a2.forEach((i) => {
|
18619
18619
|
t.push(e[i]);
|
18620
18620
|
}), t;
|
18621
18621
|
});
|
18622
|
-
var
|
18622
|
+
var Oa = createSelector(at, (a2) => a2.filter((e) => {
|
18623
18623
|
var t;
|
18624
18624
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
18625
18625
|
}));
|
18626
|
-
var
|
18626
|
+
var qn = createSelector(Oa, (a2) => a2.filter((e) => !e.read).length);
|
18627
18627
|
var Y = createSelector([B], (a2) => a2 && a2.roomState);
|
18628
|
-
var
|
18629
|
-
var
|
18628
|
+
var Zr = createSelector(Y, (a2) => a2 === "Preview");
|
18629
|
+
var jn = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
18630
18630
|
var ne = (a2) => a2.roles;
|
18631
|
-
var
|
18631
|
+
var Jn = createSelector([ne], (a2) => Object.keys(a2));
|
18632
18632
|
var Kt = createSelector([z, ne], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
18633
|
-
var
|
18633
|
+
var xa = (a2) => {
|
18634
18634
|
var e;
|
18635
18635
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
18636
18636
|
};
|
18637
|
-
var
|
18638
|
-
var
|
18637
|
+
var es = createSelector([xa, ne], (a2, e) => a2 ? e[a2] : null);
|
18638
|
+
var Qn = createSelector([Kt], (a2) => {
|
18639
18639
|
var e;
|
18640
18640
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
18641
18641
|
});
|
18642
|
-
var
|
18643
|
-
var
|
18644
|
-
var
|
18645
|
-
var
|
18646
|
-
var
|
18647
|
-
var
|
18648
|
-
var
|
18649
|
-
var
|
18650
|
-
var
|
18651
|
-
var
|
18652
|
-
var
|
18653
|
-
var
|
18654
|
-
var
|
18655
|
-
var
|
18642
|
+
var ts = createSelector(Kt, (a2) => a2 == null ? void 0 : a2.permissions);
|
18643
|
+
var zn = createSelector(B, (a2) => a2.recording);
|
18644
|
+
var Yn = createSelector(B, (a2) => a2.rtmp);
|
18645
|
+
var Xn = createSelector(B, (a2) => a2.hls);
|
18646
|
+
var Zn = createSelector(B, (a2) => a2.sessionId);
|
18647
|
+
var ec = createSelector(B, (a2) => a2.startedAt);
|
18648
|
+
var tc = createSelector(B, (a2) => !!a2.isLargeRoom);
|
18649
|
+
var ic = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
18650
|
+
var rc = createSelector(B, (a2) => a2.effectsKey);
|
18651
|
+
var is = (a2) => a2.polls;
|
18652
|
+
var nc = createSelector(oe, (a2) => a2.filter((e) => e.isHandRaised));
|
18653
|
+
var Ua = (a2) => a2.whiteboards;
|
18654
|
+
var cc = createSelector(Ua, (a2) => Object.values(a2)[0]);
|
18655
|
+
var ss = (a2 = "audio") => (e) => e.playlist[a2].list;
|
18656
18656
|
var sr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
18657
|
-
var
|
18658
|
-
var
|
18659
|
-
var
|
18660
|
-
var
|
18661
|
-
var
|
18662
|
-
var
|
18657
|
+
var as = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
18658
|
+
var os = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
18659
|
+
var ns = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
18660
|
+
var cs = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
18661
|
+
var ds = (a2 = "audio") => createSelector(ss(a2), (e) => Object.values(e));
|
18662
|
+
var ls = (a2 = "audio") => createSelector(ss(a2), sr(a2), (e, t) => {
|
18663
18663
|
if (t.id)
|
18664
18664
|
return e[t.id];
|
18665
18665
|
});
|
18666
|
-
var
|
18667
|
-
var
|
18668
|
-
function
|
18666
|
+
var us = { selection: sr("audio"), progress: as("audio"), currentTime: os("audio"), playbackRate: ns("audio"), volume: cs("audio"), list: ds("audio"), selectedItem: ls("audio") };
|
18667
|
+
var ps = { selection: sr("video"), progress: as("video"), currentTime: os("video"), playbackRate: ns("video"), volume: cs("video"), list: ds("video"), selectedItem: ls("video") };
|
18668
|
+
function b(a2) {
|
18669
18669
|
return (e) => (t) => a2(t, e);
|
18670
18670
|
}
|
18671
|
-
var
|
18672
|
-
var
|
18671
|
+
var hs = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(hs || {});
|
18672
|
+
var Ba = typeof window != "undefined" && typeof window.expect != "undefined";
|
18673
18673
|
var d = class {
|
18674
18674
|
static v(e, ...t) {
|
18675
18675
|
this.log(0, e, ...t);
|
@@ -18735,25 +18735,25 @@ var d = class {
|
|
18735
18735
|
}
|
18736
18736
|
}
|
18737
18737
|
};
|
18738
|
-
d.level =
|
18738
|
+
d.level = Ba ? 7 : 0;
|
18739
18739
|
var pe = new import_ua_parser_js.UAParser();
|
18740
|
-
var
|
18740
|
+
var w = typeof window != "undefined";
|
18741
|
+
var ms;
|
18742
|
+
var Ce = typeof window == "undefined" && !((ms = pe.getBrowser().name) != null && ms.toLowerCase().includes("electron"));
|
18743
|
+
var Fa = () => !Ce;
|
18744
|
+
var gc = Fa();
|
18741
18745
|
var Ss;
|
18742
|
-
var Ce = typeof window == "undefined" && !((Ss = pe.getBrowser().name) != null && Ss.toLowerCase().includes("electron"));
|
18743
|
-
var Ga = () => !Ce;
|
18744
|
-
var Tc = Ga();
|
18745
18746
|
var gs;
|
18746
|
-
var
|
18747
|
-
var vs = ((
|
18748
|
-
|
18749
|
-
|
18750
|
-
if (_ && window) {
|
18747
|
+
var fs = ((gs = (Ss = pe.getBrowser()) == null ? void 0 : Ss.name) == null ? void 0 : gs.toLowerCase()) === "firefox";
|
18748
|
+
var vs = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(vs || {});
|
18749
|
+
function Ga() {
|
18750
|
+
if (w && window) {
|
18751
18751
|
let a2 = window.location.hostname;
|
18752
18752
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
18753
18753
|
}
|
18754
18754
|
return "CUSTOM";
|
18755
18755
|
}
|
18756
|
-
var Ve =
|
18756
|
+
var Ve = Ga();
|
18757
18757
|
var M = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
18758
18758
|
var f = class a extends Error {
|
18759
18759
|
constructor(t, i, r, s, o, n = false) {
|
@@ -18784,8 +18784,8 @@ var f = class a extends Error {
|
|
18784
18784
|
}`;
|
18785
18785
|
}
|
18786
18786
|
};
|
18787
|
-
var
|
18788
|
-
var
|
18787
|
+
var $a = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
18788
|
+
var m = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
18789
18789
|
return new f(M.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
18790
18790
|
}, WebSocketConnectionLost(a2, e = "") {
|
18791
18791
|
return new f(M.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost ", e);
|
@@ -18844,7 +18844,7 @@ var h = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
18844
18844
|
}, StatsFailed(a2, e = "") {
|
18845
18845
|
return new f(M.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
18846
18846
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
18847
|
-
return new f(a2, "ServerErrors", e, t, t,
|
18847
|
+
return new f(a2, "ServerErrors", e, t, t, $a.includes(e));
|
18848
18848
|
}, AlreadyJoined(a2, e = "") {
|
18849
18849
|
return new f(M.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
18850
18850
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -18917,11 +18917,11 @@ var nr = class {
|
|
18917
18917
|
return this.valuesMap.size;
|
18918
18918
|
}
|
18919
18919
|
};
|
18920
|
-
var
|
18920
|
+
var Ms = () => {
|
18921
18921
|
try {
|
18922
|
-
|
18922
|
+
w && !localStorage && (window.localStorage = new nr());
|
18923
18923
|
} catch (a2) {
|
18924
|
-
d.e("Error initialising localStorage",
|
18924
|
+
d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
|
18925
18925
|
}
|
18926
18926
|
};
|
18927
18927
|
var ce = class {
|
@@ -18931,9 +18931,9 @@ var ce = class {
|
|
18931
18931
|
}
|
18932
18932
|
getStorage() {
|
18933
18933
|
try {
|
18934
|
-
return
|
18934
|
+
return w && !this.storage && (Ms(), this.storage = window.localStorage), this.storage;
|
18935
18935
|
} catch (e) {
|
18936
|
-
return d.e("Error initialising localStorage",
|
18936
|
+
return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
|
18937
18937
|
}
|
18938
18938
|
}
|
18939
18939
|
get() {
|
@@ -18951,70 +18951,37 @@ var ce = class {
|
|
18951
18951
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
18952
18952
|
}
|
18953
18953
|
};
|
18954
|
-
var
|
18954
|
+
var ys = () => {
|
18955
18955
|
let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
|
18956
|
-
return t ? a2 = t : (a2 =
|
18956
|
+
return t ? a2 = t : (a2 = Wa(), e.set(a2)), a2;
|
18957
18957
|
};
|
18958
18958
|
function ie(a2) {
|
18959
18959
|
return a2 != null;
|
18960
18960
|
}
|
18961
|
-
var
|
18962
|
-
function
|
18961
|
+
var Ps = lr().version;
|
18962
|
+
function ot(a2 = "prod", e) {
|
18963
18963
|
let t = "web", i = Ve !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
18964
18964
|
if (Ce)
|
18965
|
-
return
|
18965
|
+
return Es({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ps, env: i, domain: Ve, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
18966
18966
|
let r = pe.getOS(), s = pe.getDevice(), o = pe.getBrowser(), n = ur(`web_${r.name}`), l = r.version || "", u = ur(`${o.name}_${o.version}`), p = u;
|
18967
|
-
return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`),
|
18967
|
+
return s.type && (p = `${ur(`${s.vendor}_${s.type}`)}/${u}`), Es({ os: n, os_version: l, sdk: t, sdk_version: Ps, device_model: p, env: i, domain: Ve, 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 });
|
18968
18968
|
}
|
18969
18969
|
function ur(a2) {
|
18970
18970
|
return a2.replace(/ /g, "_");
|
18971
18971
|
}
|
18972
|
-
var
|
18972
|
+
var Es = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
18973
18973
|
var R = class {
|
18974
18974
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
18975
|
-
this.metadata = { peer: {}, userAgent:
|
18976
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
18975
|
+
this.metadata = { peer: {}, userAgent: ot() };
|
18976
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = qa(), this.device_id = ys();
|
18977
18977
|
}
|
18978
18978
|
toSignalParams() {
|
18979
|
-
return { name: this.name, info: v(
|
18980
|
-
}
|
18981
|
-
};
|
18982
|
-
var pr = class {
|
18983
|
-
constructor() {
|
18984
|
-
this.pluginUsage = /* @__PURE__ */ new Map();
|
18985
|
-
this.pluginLastAddedAt = /* @__PURE__ */ new Map();
|
18986
|
-
this.getPluginUsage = (e, t) => {
|
18987
|
-
let i = `${t}-${e}`;
|
18988
|
-
if (this.pluginUsage.has(i) || this.pluginUsage.set(i, 0), this.pluginLastAddedAt.has(i)) {
|
18989
|
-
let r = this.pluginLastAddedAt.get(i) || 0, s = r ? Date.now() - r : 0;
|
18990
|
-
this.pluginUsage.set(i, (this.pluginUsage.get(i) || 0) + s), this.pluginLastAddedAt.delete(i);
|
18991
|
-
}
|
18992
|
-
return this.pluginUsage.get(i);
|
18993
|
-
};
|
18994
|
-
this.updatePluginUsageData = (e, t) => {
|
18995
|
-
if (e.name === "transport.leave") {
|
18996
|
-
this.cleanup(t);
|
18997
|
-
return;
|
18998
|
-
}
|
18999
|
-
let i = e.properties.plugin_name, r = `${t}-${i}`;
|
19000
|
-
if (e.name === "mediaPlugin.added") {
|
19001
|
-
let s = e.properties.added_at;
|
19002
|
-
this.pluginLastAddedAt.set(r, s);
|
19003
|
-
} else if (e.name === "mediaPlugin.stats") {
|
19004
|
-
let s = e.properties.duration;
|
19005
|
-
s > 0 && (this.pluginUsage.set(r, (this.pluginUsage.get(r) || 0) + s * 1e3), this.pluginLastAddedAt.delete(r));
|
19006
|
-
}
|
19007
|
-
};
|
19008
|
-
this.cleanup = (e) => {
|
19009
|
-
for (let t of this.pluginUsage.keys())
|
19010
|
-
e.length && t.includes(e) && (this.pluginUsage.delete(t), this.pluginLastAddedAt.delete(t));
|
19011
|
-
};
|
18979
|
+
return { name: this.name, info: v(S({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
19012
18980
|
}
|
19013
18981
|
};
|
19014
|
-
var Fe = new pr();
|
19015
18982
|
var y = class {
|
19016
18983
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
19017
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(
|
18984
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(v(S({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
19018
18985
|
return new R({ name: o, level: n, properties: l });
|
19019
18986
|
}
|
19020
18987
|
static disconnect(e, t) {
|
@@ -19028,7 +18995,7 @@ var y = class {
|
|
19028
18995
|
}
|
19029
18996
|
static join(i) {
|
19030
18997
|
var r = i, { error: e } = r, t = Xi(r, ["error"]);
|
19031
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(
|
18998
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(v(S({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
19032
18999
|
return new R({ name: s, level: o, properties: n });
|
19033
19000
|
}
|
19034
19001
|
static publish({ devices: e, settings: t, error: i }) {
|
@@ -19071,7 +19038,7 @@ var y = class {
|
|
19071
19038
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
19072
19039
|
if (!t && e.degradedAt instanceof Date) {
|
19073
19040
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
19074
|
-
s = v(
|
19041
|
+
s = v(S({}, s), { duration: n, restoredAt: o });
|
19075
19042
|
}
|
19076
19043
|
return new R({ name: i, level: r, properties: s });
|
19077
19044
|
}
|
@@ -19089,25 +19056,21 @@ var y = class {
|
|
19089
19056
|
return new R({ name: "subscriber.stats", level: 1, properties: e });
|
19090
19057
|
}
|
19091
19058
|
static getKrispUsage(e) {
|
19092
|
-
|
19093
|
-
return new R({ name: "krisp.usage", level: 1, properties: { duration: t } });
|
19094
|
-
}
|
19095
|
-
static transportLeave() {
|
19096
|
-
return new R({ name: "transport.leave", level: 1, properties: {} });
|
19059
|
+
return new R({ name: "krisp.usage", level: 1, properties: { duration: e } });
|
19097
19060
|
}
|
19098
19061
|
static eventNameFor(e, t) {
|
19099
19062
|
return `${e}.${t ? "success" : "failed"}`;
|
19100
19063
|
}
|
19101
19064
|
static getPropertiesWithError(e, t) {
|
19102
19065
|
let i = this.getErrorProperties(t);
|
19103
|
-
return e =
|
19066
|
+
return e = S(S({}, i), e), e;
|
19104
19067
|
}
|
19105
19068
|
static getErrorProperties(e) {
|
19106
19069
|
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
19107
19070
|
}
|
19108
19071
|
};
|
19109
19072
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
19110
|
-
var
|
19073
|
+
var pr = class {
|
19111
19074
|
constructor() {
|
19112
19075
|
this.storage = new ce("hms-device-selection");
|
19113
19076
|
this.remember = false;
|
@@ -19141,9 +19104,9 @@ var hr = class {
|
|
19141
19104
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
19142
19105
|
}
|
19143
19106
|
};
|
19144
|
-
var q = new
|
19145
|
-
var
|
19146
|
-
var
|
19107
|
+
var q = new pr();
|
19108
|
+
var hr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(hr || {});
|
19109
|
+
var mr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(mr || {});
|
19147
19110
|
function Jt(a2, e = 300) {
|
19148
19111
|
let t;
|
19149
19112
|
return function(...i) {
|
@@ -19154,10 +19117,10 @@ function Jt(a2, e = 300) {
|
|
19154
19117
|
}, e);
|
19155
19118
|
};
|
19156
19119
|
}
|
19157
|
-
var
|
19158
|
-
var
|
19159
|
-
var
|
19160
|
-
var
|
19120
|
+
var Cs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Cs || {});
|
19121
|
+
var Ls = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ls || {});
|
19122
|
+
var Ds = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ds || {});
|
19123
|
+
var Sr = class {
|
19161
19124
|
constructor() {
|
19162
19125
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
19163
19126
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -19180,12 +19143,12 @@ var gr = class {
|
|
19180
19143
|
this.createObserver();
|
19181
19144
|
}
|
19182
19145
|
isSupported() {
|
19183
|
-
let e =
|
19146
|
+
let e = w && typeof window.IntersectionObserver != "undefined";
|
19184
19147
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
19185
19148
|
}
|
19186
19149
|
};
|
19187
|
-
var
|
19188
|
-
var
|
19150
|
+
var Os = new Sr();
|
19151
|
+
var gr = class {
|
19189
19152
|
constructor() {
|
19190
19153
|
this.TAG = "[HMSResizeObserverWrapper]";
|
19191
19154
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -19208,20 +19171,20 @@ var Tr = class {
|
|
19208
19171
|
this.createObserver();
|
19209
19172
|
}
|
19210
19173
|
isSupported() {
|
19211
|
-
let e =
|
19174
|
+
let e = w && typeof window.ResizeObserver != "undefined";
|
19212
19175
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
19213
19176
|
}
|
19214
19177
|
};
|
19215
|
-
var
|
19216
|
-
var
|
19217
|
-
var
|
19218
|
-
var
|
19219
|
-
var
|
19220
|
-
var
|
19221
|
-
var
|
19222
|
-
};
|
19223
|
-
|
19224
|
-
var
|
19178
|
+
var xs = new gr();
|
19179
|
+
var Tr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Tr || {});
|
19180
|
+
var fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(fr || {});
|
19181
|
+
var Vs = "https://event.100ms.live/v2/client/report";
|
19182
|
+
var Fs = "https://event-nonprod.100ms.live/v2/client/report";
|
19183
|
+
var pt = Math.pow(2, 31) - 1;
|
19184
|
+
var Qe = class {
|
19185
|
+
};
|
19186
|
+
Qe.makePeerId = () => uo();
|
19187
|
+
var gt = "HMS-Store:";
|
19225
19188
|
var k = class {
|
19226
19189
|
static v(e, ...t) {
|
19227
19190
|
this.log(0, e, ...t);
|
@@ -19251,23 +19214,23 @@ var k = class {
|
|
19251
19214
|
if (!(this.level.valueOf() > e.valueOf()))
|
19252
19215
|
switch (e) {
|
19253
19216
|
case 0: {
|
19254
|
-
console.log(
|
19217
|
+
console.log(gt, ...t);
|
19255
19218
|
break;
|
19256
19219
|
}
|
19257
19220
|
case 1: {
|
19258
|
-
console.debug(
|
19221
|
+
console.debug(gt, ...t);
|
19259
19222
|
break;
|
19260
19223
|
}
|
19261
19224
|
case 2: {
|
19262
|
-
console.info(
|
19225
|
+
console.info(gt, ...t);
|
19263
19226
|
break;
|
19264
19227
|
}
|
19265
19228
|
case 3: {
|
19266
|
-
console.warn(
|
19229
|
+
console.warn(gt, ...t);
|
19267
19230
|
break;
|
19268
19231
|
}
|
19269
19232
|
case 6: {
|
19270
|
-
console.error(
|
19233
|
+
console.error(gt, ...t);
|
19271
19234
|
break;
|
19272
19235
|
}
|
19273
19236
|
case 4: {
|
@@ -19288,132 +19251,132 @@ var k = class {
|
|
19288
19251
|
}
|
19289
19252
|
};
|
19290
19253
|
k.level = 0;
|
19291
|
-
var
|
19292
|
-
var
|
19293
|
-
var
|
19254
|
+
var Rr = (a2, e) => e;
|
19255
|
+
var Tt = (a2, e) => e;
|
19256
|
+
var Js = (a2, e) => e;
|
19257
|
+
var ho = (a2, e) => e;
|
19294
19258
|
var mo = (a2, e) => e;
|
19295
|
-
var
|
19296
|
-
var
|
19297
|
-
var
|
19298
|
-
var go = createSelector([w, ft], (a2, e) => {
|
19259
|
+
var J = createSelector([G, Rr], (a2, e) => e ? a2[e] : null);
|
19260
|
+
var Hr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
|
19261
|
+
var So = createSelector([D, Tt], (a2, e) => {
|
19299
19262
|
if (!e)
|
19300
19263
|
return null;
|
19301
19264
|
let t = a2[e];
|
19302
19265
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
19303
19266
|
});
|
19304
|
-
var
|
19267
|
+
var go = createSelector([D, Tt], (a2, e) => {
|
19305
19268
|
if (!e)
|
19306
19269
|
return null;
|
19307
19270
|
let t = a2[e];
|
19308
19271
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
19309
19272
|
});
|
19310
|
-
var
|
19273
|
+
var To = createSelector([D, Tt], (a2, e) => {
|
19311
19274
|
if (!e)
|
19312
19275
|
return null;
|
19313
19276
|
let t = a2[e];
|
19314
19277
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19315
19278
|
});
|
19316
|
-
var
|
19279
|
+
var fo = createSelector([D, Tt], (a2, e) => {
|
19317
19280
|
if (!e)
|
19318
19281
|
return null;
|
19319
19282
|
let t = a2[e];
|
19320
19283
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19321
19284
|
});
|
19322
|
-
var
|
19323
|
-
var Q =
|
19324
|
-
var
|
19285
|
+
var vo = createSelector([is, mo], (a2, e) => e ? a2[e] : null);
|
19286
|
+
var Q = b(J);
|
19287
|
+
var rm = b(createSelector([tr, ho], (a2, e) => {
|
19325
19288
|
if (a2)
|
19326
19289
|
return e ? a2[e] : a2;
|
19327
19290
|
}));
|
19328
|
-
function
|
19291
|
+
function sm(a2) {
|
19329
19292
|
return (e) => {
|
19330
19293
|
if (e.sessionStore)
|
19331
19294
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19332
19295
|
};
|
19333
19296
|
}
|
19334
|
-
var
|
19335
|
-
var oi =
|
19336
|
-
var
|
19337
|
-
var
|
19338
|
-
var
|
19339
|
-
var
|
19340
|
-
var
|
19297
|
+
var om = b(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
|
19298
|
+
var oi = b(Hr);
|
19299
|
+
var Qs = b(So);
|
19300
|
+
var nm = b(go);
|
19301
|
+
var cm = b(To);
|
19302
|
+
var dm = b(fo);
|
19303
|
+
var Mo = b((a2, e) => {
|
19341
19304
|
let t = J(a2, e);
|
19342
19305
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19343
19306
|
return a2.tracks[t.videoTrack];
|
19344
19307
|
});
|
19345
|
-
var
|
19308
|
+
var yo = b((a2, e) => {
|
19346
19309
|
let t = J(a2, e);
|
19347
19310
|
if (t && t.audioTrack && t.audioTrack !== "")
|
19348
19311
|
return a2.tracks[t.audioTrack];
|
19349
19312
|
});
|
19350
|
-
var
|
19313
|
+
var um = b((a2, e) => {
|
19351
19314
|
let t = J(a2, e);
|
19352
19315
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
19353
19316
|
});
|
19354
|
-
var
|
19355
|
-
var
|
19356
|
-
var
|
19357
|
-
let t =
|
19358
|
-
return
|
19359
|
-
};
|
19360
|
-
var
|
19361
|
-
var
|
19317
|
+
var zs = (a2, e) => e ? a2.speakers[e] : null;
|
19318
|
+
var pm = b(createSelector(zs, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19319
|
+
var ko = (a2, e) => {
|
19320
|
+
let t = yo(e)(a2);
|
19321
|
+
return zs(a2, t == null ? void 0 : t.id);
|
19322
|
+
};
|
19323
|
+
var hm = b(createSelector(ko, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
19324
|
+
var mm = b((a2, e) => {
|
19362
19325
|
if (e)
|
19363
19326
|
return a2.connectionQualities[e];
|
19364
19327
|
});
|
19365
|
-
var
|
19328
|
+
var Sm = b((a2, e) => {
|
19366
19329
|
let t = J(a2, e);
|
19367
19330
|
if (t) {
|
19368
|
-
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) =>
|
19331
|
+
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
|
19369
19332
|
return i ? a2.tracks[i] : void 0;
|
19370
19333
|
}
|
19371
19334
|
});
|
19372
|
-
var
|
19335
|
+
var gm = b(createSelector(D, J, (a2, e) => {
|
19373
19336
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19374
19337
|
let r = a2[i];
|
19375
|
-
return
|
19338
|
+
return rt(r) && it(r);
|
19376
19339
|
});
|
19377
19340
|
return t ? a2[t] : void 0;
|
19378
19341
|
}));
|
19379
|
-
var
|
19342
|
+
var Tm = b(createSelector(D, J, (a2, e) => {
|
19380
19343
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19381
19344
|
let r = a2[i];
|
19382
|
-
return
|
19345
|
+
return rt(r) && tt(r);
|
19383
19346
|
});
|
19384
19347
|
return t ? a2[t] : void 0;
|
19385
19348
|
}));
|
19386
|
-
var
|
19349
|
+
var fm = b(createSelector(D, J, (a2, e) => {
|
19387
19350
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19388
19351
|
let r = a2[i];
|
19389
|
-
return $t(r) &&
|
19352
|
+
return $t(r) && tt(r);
|
19390
19353
|
});
|
19391
19354
|
return t ? a2[t] : void 0;
|
19392
19355
|
}));
|
19393
|
-
var
|
19394
|
-
var
|
19395
|
-
var
|
19356
|
+
var Ys = b(createSelector(D, J, (a2, e) => He(a2, e)));
|
19357
|
+
var Xs = (a2) => createSelector(Ys(a2), (e) => e.audio);
|
19358
|
+
var Mm = b((a2, e) => {
|
19396
19359
|
let t = J(a2, e);
|
19397
19360
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
19398
19361
|
});
|
19399
|
-
var
|
19362
|
+
var ym = b((a2, e) => {
|
19400
19363
|
let t = J(a2, e);
|
19401
19364
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
19402
19365
|
});
|
19403
|
-
var
|
19366
|
+
var Zs = b((a2, e) => {
|
19404
19367
|
if (e && a2.tracks[e])
|
19405
19368
|
return a2.tracks[e].volume === 0;
|
19406
19369
|
});
|
19407
|
-
var
|
19370
|
+
var km = b((a2, e) => {
|
19408
19371
|
let t = J(a2, e);
|
19409
|
-
return
|
19372
|
+
return Zs(t == null ? void 0 : t.audioTrack)(a2);
|
19410
19373
|
});
|
19411
|
-
var
|
19412
|
-
let t =
|
19413
|
-
return
|
19374
|
+
var Pm = b((a2, e) => {
|
19375
|
+
let t = Xs(e)(a2);
|
19376
|
+
return Zs(t == null ? void 0 : t.id)(a2);
|
19414
19377
|
});
|
19415
|
-
var
|
19416
|
-
let t =
|
19378
|
+
var ea = b((a2, e) => {
|
19379
|
+
let t = Hr(a2, e);
|
19417
19380
|
if (t) {
|
19418
19381
|
if (t.type !== "audio") {
|
19419
19382
|
k.w("Please pass audio track here");
|
@@ -19422,16 +19385,16 @@ var ta = A((a2, e) => {
|
|
19422
19385
|
return t.volume;
|
19423
19386
|
}
|
19424
19387
|
});
|
19425
|
-
var
|
19388
|
+
var Em = b((a2, e) => {
|
19426
19389
|
let t = J(a2, e);
|
19427
|
-
return
|
19390
|
+
return ea(t == null ? void 0 : t.audioTrack)(a2);
|
19428
19391
|
});
|
19429
|
-
var
|
19430
|
-
let t =
|
19431
|
-
return
|
19392
|
+
var bm = b((a2, e) => {
|
19393
|
+
let t = Xs(e)(a2);
|
19394
|
+
return ea(t == null ? void 0 : t.id)(a2);
|
19432
19395
|
});
|
19433
|
-
var
|
19434
|
-
let t =
|
19396
|
+
var Am = b((a2, e) => {
|
19397
|
+
let t = Hr(a2, e);
|
19435
19398
|
if (t) {
|
19436
19399
|
if (t.type !== "video") {
|
19437
19400
|
k.w("Please pass video track here");
|
@@ -19440,49 +19403,49 @@ var Lm = A((a2, e) => {
|
|
19440
19403
|
return t.layer;
|
19441
19404
|
}
|
19442
19405
|
});
|
19443
|
-
var
|
19406
|
+
var ta = createSelector([at, ue, Rr], (a2, e, t) => {
|
19444
19407
|
if (t)
|
19445
19408
|
return a2.filter((i) => {
|
19446
19409
|
var r;
|
19447
19410
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
19448
19411
|
});
|
19449
19412
|
});
|
19450
|
-
var
|
19413
|
+
var ia = createSelector([at, Js], (a2, e) => {
|
19451
19414
|
if (e)
|
19452
19415
|
return a2.filter((t) => {
|
19453
19416
|
var i, r;
|
19454
19417
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
19455
19418
|
});
|
19456
19419
|
});
|
19457
|
-
var
|
19420
|
+
var Po = createSelector(at, (a2) => a2.filter((e) => {
|
19458
19421
|
var t;
|
19459
19422
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
19460
19423
|
}));
|
19461
|
-
var
|
19462
|
-
var
|
19463
|
-
var
|
19464
|
-
var
|
19465
|
-
var
|
19466
|
-
var
|
19467
|
-
var
|
19468
|
-
var
|
19469
|
-
var
|
19424
|
+
var Eo = createSelector([ia, Js], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19425
|
+
var bo = createSelector([ta, Rr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
19426
|
+
var Im = createSelector(Po, (a2) => a2.filter((e) => !e.read).length);
|
19427
|
+
var Rm = b(ta);
|
19428
|
+
var Hm = b(ia);
|
19429
|
+
var Cm = b(Eo);
|
19430
|
+
var Lm = b(bo);
|
19431
|
+
var ra = b(vo);
|
19432
|
+
var Gm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
19470
19433
|
var r;
|
19471
19434
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
19472
19435
|
}));
|
19473
|
-
var
|
19474
|
-
var
|
19475
|
-
var
|
19476
|
-
var
|
19477
|
-
var
|
19436
|
+
var Ao = (a2) => a2.roleChangeRequests[0] || null;
|
19437
|
+
var $m = createSelector([Ao, G, ne], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
19438
|
+
var Wm = createSelector([Kt], (a2) => st(a2));
|
19439
|
+
var Km = createSelector([es], (a2) => st(a2));
|
19440
|
+
var Ro = createSelector([K, D], (a2, e) => {
|
19478
19441
|
let t = null;
|
19479
19442
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19480
19443
|
});
|
19481
|
-
var
|
19444
|
+
var Ho = createSelector([Z, D], (a2, e) => {
|
19482
19445
|
let t = null;
|
19483
19446
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
19484
19447
|
});
|
19485
|
-
var
|
19448
|
+
var _r = class {
|
19486
19449
|
constructor() {
|
19487
19450
|
this.TAG = "[HTTPAnalyticsTransport]";
|
19488
19451
|
this.failedEvents = new ce("client-events");
|
@@ -19501,7 +19464,7 @@ var Nr = class {
|
|
19501
19464
|
this.addEventToStorage(e);
|
19502
19465
|
return;
|
19503
19466
|
}
|
19504
|
-
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" ?
|
19467
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? Vs : Fs;
|
19505
19468
|
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) => {
|
19506
19469
|
if (r.status === 401) {
|
19507
19470
|
this.removeFromStorage(e);
|
@@ -19527,66 +19490,66 @@ var Nr = class {
|
|
19527
19490
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
19528
19491
|
}
|
19529
19492
|
};
|
19530
|
-
var Te = new
|
19493
|
+
var Te = new _r();
|
19531
19494
|
var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
|
19532
19495
|
var Bi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Bi || {});
|
19533
19496
|
var Ji = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ji || {});
|
19534
|
-
var
|
19535
|
-
var
|
19536
|
-
var
|
19537
|
-
var
|
19538
|
-
var
|
19539
|
-
var
|
19540
|
-
var
|
19541
|
-
var
|
19542
|
-
var ve = createSelector([
|
19543
|
-
var
|
19497
|
+
var Qo = (a2) => a2.localPeer.id;
|
19498
|
+
var zo = (a2) => a2.localPeer.audioTrack;
|
19499
|
+
var Yo = (a2) => a2.localPeer.videoTrack;
|
19500
|
+
var Xo = (a2, e) => e;
|
19501
|
+
var Ma = (a2, e) => e;
|
19502
|
+
var Zo = (a2) => a2.remoteTrackStats;
|
19503
|
+
var ya = (a2) => a2.peerStats;
|
19504
|
+
var Br = (a2) => a2.localTrackStats;
|
19505
|
+
var ve = createSelector([ya, Qo], (a2, e) => a2[e]);
|
19506
|
+
var en = createSelector(ve, (a2) => {
|
19544
19507
|
var e;
|
19545
19508
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
19546
19509
|
});
|
19547
|
-
var
|
19510
|
+
var tn = createSelector(ve, (a2) => {
|
19548
19511
|
var e;
|
19549
19512
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
19550
19513
|
});
|
19551
|
-
var
|
19514
|
+
var rn = createSelector(ve, (a2) => {
|
19552
19515
|
var e;
|
19553
19516
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
19554
19517
|
});
|
19555
|
-
var
|
19518
|
+
var sn = createSelector(ve, (a2) => {
|
19556
19519
|
var e;
|
19557
19520
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
19558
19521
|
});
|
19559
|
-
var
|
19522
|
+
var an = createSelector(ve, (a2) => {
|
19560
19523
|
var e;
|
19561
19524
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
19562
19525
|
});
|
19563
|
-
var
|
19526
|
+
var on = createSelector(ve, (a2) => {
|
19564
19527
|
var e;
|
19565
19528
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
19566
19529
|
});
|
19567
|
-
var
|
19530
|
+
var nn = createSelector(ve, (a2) => {
|
19568
19531
|
var e;
|
19569
19532
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
19570
19533
|
});
|
19571
|
-
var
|
19534
|
+
var cn = createSelector(ve, (a2) => {
|
19572
19535
|
var e;
|
19573
19536
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19574
19537
|
});
|
19575
|
-
var
|
19576
|
-
var
|
19577
|
-
var
|
19578
|
-
var
|
19579
|
-
var
|
19580
|
-
var
|
19538
|
+
var dn = createSelector([ya, Xo], (a2, e) => e ? a2[e] : void 0);
|
19539
|
+
var ln = createSelector([Zo, Ma], (a2, e) => e ? a2[e] : void 0);
|
19540
|
+
var Vr = createSelector([Br, Ma], (a2, e) => e ? a2[e] : void 0);
|
19541
|
+
var un = b(dn);
|
19542
|
+
var pn = b(ln);
|
19543
|
+
var hn = createSelector([Br, zo], (a2, e) => {
|
19581
19544
|
var t;
|
19582
19545
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19583
19546
|
});
|
19584
|
-
var
|
19585
|
-
var
|
19547
|
+
var mn = b(createSelector(Vr, (a2) => a2 == null ? void 0 : a2[0]));
|
19548
|
+
var Sn = createSelector([Br, Yo], (a2, e) => {
|
19586
19549
|
var t;
|
19587
19550
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
19588
19551
|
});
|
19589
|
-
var
|
19552
|
+
var gn = b(createSelector(Vr, (a2) => a2));
|
19590
19553
|
|
19591
19554
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
19592
19555
|
import {
|
@@ -19856,7 +19819,7 @@ var RecordingStatus = () => {
|
|
19856
19819
|
};
|
19857
19820
|
var RecordingPauseStatus = () => {
|
19858
19821
|
const recording = useHMSStore25(selectRecordingState);
|
19859
|
-
if (recording.hls && recording.hls.state ===
|
19822
|
+
if (recording.hls && recording.hls.state === Cs.PAUSED) {
|
19860
19823
|
return /* @__PURE__ */ React54.createElement(
|
19861
19824
|
Tooltip,
|
19862
19825
|
{
|
@@ -22378,10 +22341,10 @@ var PrevMenu = () => {
|
|
22378
22341
|
const sortedPolls = useMemo5(
|
22379
22342
|
() => {
|
22380
22343
|
var _a8;
|
22381
|
-
return (_a8 = polls == null ? void 0 : polls.sort((a2,
|
22344
|
+
return (_a8 = polls == null ? void 0 : polls.sort((a2, b2) => {
|
22382
22345
|
var _a9, _b7;
|
22383
|
-
return (((_a9 =
|
22384
|
-
})) == null ? void 0 : _a8.sort((a2,
|
22346
|
+
return (((_a9 = b2.createdAt) == null ? void 0 : _a9.getTime()) || 0) - (((_b7 = a2.createdAt) == null ? void 0 : _b7.getTime()) || 0);
|
22347
|
+
})) == null ? void 0 : _a8.sort((a2, b2) => (b2.state === "started" ? 1 : 0) - (a2.state === "started" ? 1 : 0));
|
22385
22348
|
},
|
22386
22349
|
[polls]
|
22387
22350
|
);
|
@@ -23883,7 +23846,7 @@ var usePinnedMessages = () => {
|
|
23883
23846
|
if (pinnedMessages[indexToRemove]) {
|
23884
23847
|
yield hmsActions.sessionStore.set(
|
23885
23848
|
"pinnedMessages" /* PINNED_MESSAGES */,
|
23886
|
-
pinnedMessages.filter((
|
23849
|
+
pinnedMessages.filter((_, index) => index !== indexToRemove)
|
23887
23850
|
).catch((err) => ToastManager.addToast({ title: err.description }));
|
23888
23851
|
}
|
23889
23852
|
}),
|
@@ -25246,7 +25209,7 @@ var StickIndicator = ({ total, index }) => {
|
|
25246
25209
|
if (total < 2) {
|
25247
25210
|
return null;
|
25248
25211
|
}
|
25249
|
-
return /* @__PURE__ */ React114.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((
|
25212
|
+
return /* @__PURE__ */ React114.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ React114.createElement(
|
25250
25213
|
Box,
|
25251
25214
|
{
|
25252
25215
|
css: {
|
@@ -25381,7 +25344,7 @@ var Chat = () => {
|
|
25381
25344
|
const listRef = useRef21(null);
|
25382
25345
|
const hmsActions = useHMSActions39();
|
25383
25346
|
const vanillaStore = useHMSVanillaStore10();
|
25384
|
-
const { enabled: isChatEnabled = true } = useHMSStore60(
|
25347
|
+
const { enabled: isChatEnabled = true } = useHMSStore60(sm("chatState" /* CHAT_STATE */)) || {};
|
25385
25348
|
const isMobile = useMedia18(config.media.md);
|
25386
25349
|
const isMobileHLSStream = useMobileHLSStream();
|
25387
25350
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -25465,7 +25428,7 @@ var NewMessageIndicator = ({
|
|
25465
25428
|
scrollToBottom,
|
25466
25429
|
listRef
|
25467
25430
|
}) => {
|
25468
|
-
const unreadCount = useHMSStore60(
|
25431
|
+
const unreadCount = useHMSStore60(Kn);
|
25469
25432
|
if (!unreadCount || !listRef.current) {
|
25470
25433
|
return null;
|
25471
25434
|
}
|
@@ -26553,10 +26516,10 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26553
26516
|
const [blurAmount, setBlurAmount] = useState55(VBHandler.getBlurAmount() || 0.5);
|
26554
26517
|
const roomState = useHMSStore68(selectRoomState4);
|
26555
26518
|
const isLargeRoom = useHMSStore68(selectIsLargeRoom3);
|
26556
|
-
const isEffectsEnabled = useHMSStore68(
|
26557
|
-
const effectsKey = useHMSStore68(
|
26519
|
+
const isEffectsEnabled = useHMSStore68(ic);
|
26520
|
+
const effectsKey = useHMSStore68(rc);
|
26558
26521
|
const isPluginAdded = useHMSStore68(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
26559
|
-
const background = useHMSStore68(
|
26522
|
+
const background = useHMSStore68(rm(APP_DATA.background));
|
26560
26523
|
const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
|
26561
26524
|
const inPreview = roomState === HMSRoomState4.Preview;
|
26562
26525
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
@@ -27012,7 +26975,7 @@ var PreviewJoin = ({
|
|
27012
26975
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
27013
26976
|
},
|
27014
26977
|
captureNetworkQualityInPreview: true,
|
27015
|
-
handleError: (
|
26978
|
+
handleError: (_, method) => {
|
27016
26979
|
if (method === "preview") {
|
27017
26980
|
setPreviewError(true);
|
27018
26981
|
}
|
@@ -27426,7 +27389,7 @@ var Pagination = ({
|
|
27426
27389
|
if (numPages <= 1) {
|
27427
27390
|
return null;
|
27428
27391
|
}
|
27429
|
-
return /* @__PURE__ */ React136.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React136.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React136.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React136.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((
|
27392
|
+
return /* @__PURE__ */ React136.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ React136.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ React136.createElement(ChevronLeftIcon7, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ React136.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_, i) => /* @__PURE__ */ React136.createElement(
|
27430
27393
|
StyledPagination.Dot,
|
27431
27394
|
{
|
27432
27395
|
key: i,
|
@@ -27533,7 +27496,7 @@ var useTileLayout = ({
|
|
27533
27496
|
}
|
27534
27497
|
const maxRows = Math.ceil(noOfTilesInPage / maxCols);
|
27535
27498
|
let index = 0;
|
27536
|
-
const matrix = new Array(maxRows).fill(null).map((
|
27499
|
+
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
27537
27500
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
27538
27501
|
const rowElements = [];
|
27539
27502
|
for (let j = 0; j < numCols; j++) {
|
@@ -27554,10 +27517,10 @@ var useTileLayout = ({
|
|
27554
27517
|
tileHeight = maxRowHeight;
|
27555
27518
|
} else {
|
27556
27519
|
const calcHeights = aspectRatios.map((aR) => tileWidth / aR);
|
27557
|
-
for (const
|
27558
|
-
if (
|
27559
|
-
if (tileHeight <
|
27560
|
-
tileHeight =
|
27520
|
+
for (const h of calcHeights) {
|
27521
|
+
if (h < maxRowHeight) {
|
27522
|
+
if (tileHeight < h) {
|
27523
|
+
tileHeight = h;
|
27561
27524
|
}
|
27562
27525
|
}
|
27563
27526
|
}
|
@@ -28260,7 +28223,7 @@ var PeersSorter = class {
|
|
28260
28223
|
this.speaker = void 0;
|
28261
28224
|
this.tilesPerPage = tilesPerPage;
|
28262
28225
|
const peerIds = new Set(peers.map((peer) => peer.id));
|
28263
|
-
this.peers.forEach((
|
28226
|
+
this.peers.forEach((_, key) => {
|
28264
28227
|
if (!peerIds.has(key)) {
|
28265
28228
|
this.peers.delete(key);
|
28266
28229
|
}
|
@@ -28665,7 +28628,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28665
28628
|
};
|
28666
28629
|
|
28667
28630
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28668
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28631
|
+
var HLSView = React151.lazy(() => import("./HLSView-UJVFWWXD.js"));
|
28669
28632
|
var VideoStreamingSection = ({
|
28670
28633
|
screenType,
|
28671
28634
|
elements,
|
@@ -29657,7 +29620,7 @@ import {
|
|
29657
29620
|
PeopleRemoveIcon as PeopleRemoveIcon4,
|
29658
29621
|
PoorConnectivityIcon as PoorConnectivityIcon2
|
29659
29622
|
} from "@100mslive/react-icons";
|
29660
|
-
var ChatAction = React163.forwardRef((
|
29623
|
+
var ChatAction = React163.forwardRef((_, ref) => {
|
29661
29624
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
29662
29625
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
29663
29626
|
if (isChatOpen) {
|
@@ -30272,7 +30235,7 @@ function Notifications() {
|
|
30272
30235
|
}, []);
|
30273
30236
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
30274
30237
|
useEffect65(() => {
|
30275
|
-
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
30238
|
+
var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p;
|
30276
30239
|
if (!notification || isNotificationDisabled) {
|
30277
30240
|
return;
|
30278
30241
|
}
|
@@ -30313,7 +30276,7 @@ function Notifications() {
|
|
30313
30276
|
});
|
30314
30277
|
break;
|
30315
30278
|
case HMSNotificationTypes10.ROLE_UPDATED: {
|
30316
|
-
if (((
|
30279
|
+
if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
30317
30280
|
ToastManager.addToast({
|
30318
30281
|
title: `You are now a ${notification.data.roleName}`
|
30319
30282
|
});
|
@@ -31030,4 +30993,4 @@ lodash/lodash.js:
|
|
31030
30993
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31031
30994
|
*)
|
31032
30995
|
*/
|
31033
|
-
//# sourceMappingURL=chunk-
|
30996
|
+
//# sourceMappingURL=chunk-D73DSBZU.js.map
|