@100mslive/roomkit-react 0.3.25-alpha.3 → 0.3.25-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +319 -319
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +333 -333
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +18 -18
- package/dist/meta.esbuild.json +18 -18
- package/package.json +8 -8
package/dist/index.js
CHANGED
@@ -34,8 +34,8 @@ var __objRest = (source, exclude) => {
|
|
34
34
|
}
|
35
35
|
return target;
|
36
36
|
};
|
37
|
-
var __esm = (
|
38
|
-
return
|
37
|
+
var __esm = (fn2, res) => function __init() {
|
38
|
+
return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
|
39
39
|
};
|
40
40
|
var __commonJS = (cb, mod) => function __require() {
|
41
41
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -44,13 +44,13 @@ var __export = (target, all) => {
|
|
44
44
|
for (var name in all)
|
45
45
|
__defProp(target, name, { get: all[name], enumerable: true });
|
46
46
|
};
|
47
|
-
var __copyProps = (
|
47
|
+
var __copyProps = (to, from, except, desc) => {
|
48
48
|
if (from && typeof from === "object" || typeof from === "function") {
|
49
49
|
for (let key of __getOwnPropNames(from))
|
50
|
-
if (!__hasOwnProp.call(
|
51
|
-
__defProp(
|
50
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
51
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
52
52
|
}
|
53
|
-
return
|
53
|
+
return to;
|
54
54
|
};
|
55
55
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
56
56
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_43a249dc-e96e-4982-a44b-84f05a54e464", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.15-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.25-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_43a249dc-e96e-4982-a44b-84f05a54e464", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.25-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", npm_package_dependencies_framer_motion: "^11.11.0", GRADLE_HOME: "/usr/share/gradle-8.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "600", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241112.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:19032", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.25-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11949287879", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "bd799986aa44ef7b924ee299beb69593a98d1dc4", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "32e9850bdb5a43ae2e73e5d06a899ff115b34d0f6cff24e765eec82dbd9ef9e0", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1732177430575-0.1978578902609236:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732177430380-0.4500659936536213:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732177404752-0.3056764496686428:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732177404573-0.12307517928394396:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_12b50675-efcf-4e39-95aa-2677269efe99", INVOCATION_ID: "50af11b19b9040ac831a30509d01ce64", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "704", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 41", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.25-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.25-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "bd799986aa44ef7b924ee299beb69593a98d1dc4", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_43a249dc-e96e-4982-a44b-84f05a54e464", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_43a249dc-e96e-4982-a44b-84f05a54e464", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_43a249dc-e96e-4982-a44b-84f05a54e464" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.15-alpha.4", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.5 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.25-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.5/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.25-alpha.4", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", npm_package_dependencies_framer_motion: "^11.11.0", GRADLE_HOME: "/usr/share/gradle-8.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "599", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241117.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.2-alpha.7", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:20612", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.25-alpha.4", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11970912212", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "3284601ad0a8e5f4e90c2115c46c632547e2e395", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "bf841fd387a2fed68a827c077d7d8a679a6e64b7415bddf8e299bd0825e704b7", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1732271632612-0.032213928529767566:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271632416-0.2244626654453752:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271606987-0.6440064265218712:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1732271606804-0.38358152889275354:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.5/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.5/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.5/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_10670c23-2c54-4950-a2b5-db647b82c5e8", INVOCATION_ID: "4b9cdfd511bb49a9905bbeaa7714eea7", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "705", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 246", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.25-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.25-alpha.4", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "3284601ad0a8e5f4e90c2115c46c632547e2e395", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c5ef0f74-f019-44f9-9bcb-c8c1ddbc9b03" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -2286,8 +2286,8 @@ var require_lodash = __commonJS({
|
|
2286
2286
|
function createBind(func, bitmask, thisArg) {
|
2287
2287
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2288
2288
|
function wrapper() {
|
2289
|
-
var
|
2290
|
-
return
|
2289
|
+
var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2290
|
+
return fn2.apply(isBind ? thisArg : this, arguments);
|
2291
2291
|
}
|
2292
2292
|
return wrapper;
|
2293
2293
|
}
|
@@ -2353,8 +2353,8 @@ var require_lodash = __commonJS({
|
|
2353
2353
|
arity - length
|
2354
2354
|
);
|
2355
2355
|
}
|
2356
|
-
var
|
2357
|
-
return apply(
|
2356
|
+
var fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2357
|
+
return apply(fn2, this, args);
|
2358
2358
|
}
|
2359
2359
|
return wrapper;
|
2360
2360
|
}
|
@@ -2442,7 +2442,7 @@ var require_lodash = __commonJS({
|
|
2442
2442
|
arity - length
|
2443
2443
|
);
|
2444
2444
|
}
|
2445
|
-
var thisBinding = isBind ? thisArg : this,
|
2445
|
+
var thisBinding = isBind ? thisArg : this, fn2 = isBindKey ? thisBinding[func] : func;
|
2446
2446
|
length = args.length;
|
2447
2447
|
if (argPos) {
|
2448
2448
|
args = reorder(args, argPos);
|
@@ -2453,9 +2453,9 @@ var require_lodash = __commonJS({
|
|
2453
2453
|
args.length = ary2;
|
2454
2454
|
}
|
2455
2455
|
if (this && this !== root && this instanceof wrapper) {
|
2456
|
-
|
2456
|
+
fn2 = Ctor || createCtor(fn2);
|
2457
2457
|
}
|
2458
|
-
return
|
2458
|
+
return fn2.apply(thisBinding, args);
|
2459
2459
|
}
|
2460
2460
|
return wrapper;
|
2461
2461
|
}
|
@@ -2512,14 +2512,14 @@ var require_lodash = __commonJS({
|
|
2512
2512
|
function createPartial(func, bitmask, thisArg, partials) {
|
2513
2513
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2514
2514
|
function wrapper() {
|
2515
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
2515
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn2 = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2516
2516
|
while (++leftIndex < leftLength) {
|
2517
2517
|
args[leftIndex] = partials[leftIndex];
|
2518
2518
|
}
|
2519
2519
|
while (argsLength--) {
|
2520
2520
|
args[leftIndex++] = arguments[++argsIndex];
|
2521
2521
|
}
|
2522
|
-
return apply(
|
2522
|
+
return apply(fn2, isBind ? thisArg : this, args);
|
2523
2523
|
}
|
2524
2524
|
return wrapper;
|
2525
2525
|
}
|
@@ -9193,25 +9193,25 @@ var require_object_assign = __commonJS({
|
|
9193
9193
|
}
|
9194
9194
|
module.exports = shouldUseNative() ? Object.assign : function(target, source) {
|
9195
9195
|
var from;
|
9196
|
-
var
|
9196
|
+
var to = toObject(target);
|
9197
9197
|
var symbols;
|
9198
9198
|
for (var s = 1; s < arguments.length; s++) {
|
9199
9199
|
from = Object(arguments[s]);
|
9200
9200
|
for (var key in from) {
|
9201
9201
|
if (hasOwnProperty.call(from, key)) {
|
9202
|
-
|
9202
|
+
to[key] = from[key];
|
9203
9203
|
}
|
9204
9204
|
}
|
9205
9205
|
if (getOwnPropertySymbols) {
|
9206
9206
|
symbols = getOwnPropertySymbols(from);
|
9207
9207
|
for (var i = 0; i < symbols.length; i++) {
|
9208
9208
|
if (propIsEnumerable.call(from, symbols[i])) {
|
9209
|
-
|
9209
|
+
to[symbols[i]] = from[symbols[i]];
|
9210
9210
|
}
|
9211
9211
|
}
|
9212
9212
|
}
|
9213
9213
|
}
|
9214
|
-
return
|
9214
|
+
return to;
|
9215
9215
|
};
|
9216
9216
|
}
|
9217
9217
|
});
|
@@ -12147,11 +12147,11 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
|
|
12147
12147
|
return "-";
|
12148
12148
|
}
|
12149
12149
|
const k2 = 1024;
|
12150
|
-
const
|
12150
|
+
const dm = decimals < 0 ? 0 : decimals;
|
12151
12151
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
12152
12152
|
let i = Math.floor(Math.log(bytes) / Math.log(k2));
|
12153
12153
|
i === 0 && i++;
|
12154
|
-
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
12154
|
+
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm))} ${sizes[i]}`;
|
12155
12155
|
};
|
12156
12156
|
|
12157
12157
|
// src/Stats/StyledStats.tsx
|
@@ -19356,8 +19356,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
19356
19356
|
// ../hms-video-store/dist/index.js
|
19357
19357
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
19358
19358
|
var import_lodash3 = __toESM(require_lodash2());
|
19359
|
-
import { v4 as
|
19360
|
-
import { v4 as
|
19359
|
+
import { v4 as Mo } from "uuid";
|
19360
|
+
import { v4 as fo } from "uuid";
|
19361
19361
|
|
19362
19362
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
19363
19363
|
init_define_process_env();
|
@@ -19728,8 +19728,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19728
19728
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
19729
19729
|
if (navigator2.mediaDevices.getUserMedia) {
|
19730
19730
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
19731
|
-
navigator2.mediaDevices.getUserMedia = function(
|
19732
|
-
return shimConstraints_(
|
19731
|
+
navigator2.mediaDevices.getUserMedia = function(cs2) {
|
19732
|
+
return shimConstraints_(cs2, (c2) => origGetUserMedia(c2).then((stream) => {
|
19733
19733
|
if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
|
19734
19734
|
stream.getTracks().forEach((track) => {
|
19735
19735
|
track.stop();
|
@@ -19849,20 +19849,20 @@ function shimOnTrack(window2) {
|
|
19849
19849
|
}
|
19850
19850
|
function shimGetSendersWithDtmf(window2) {
|
19851
19851
|
if (typeof window2 === "object" && window2.RTCPeerConnection && !("getSenders" in window2.RTCPeerConnection.prototype) && "createDTMFSender" in window2.RTCPeerConnection.prototype) {
|
19852
|
-
const shimSenderWithDtmf = function(
|
19852
|
+
const shimSenderWithDtmf = function(pc, track) {
|
19853
19853
|
return {
|
19854
19854
|
track,
|
19855
19855
|
get dtmf() {
|
19856
19856
|
if (this._dtmf === void 0) {
|
19857
19857
|
if (track.kind === "audio") {
|
19858
|
-
this._dtmf =
|
19858
|
+
this._dtmf = pc.createDTMFSender(track);
|
19859
19859
|
} else {
|
19860
19860
|
this._dtmf = null;
|
19861
19861
|
}
|
19862
19862
|
}
|
19863
19863
|
return this._dtmf;
|
19864
19864
|
},
|
19865
|
-
_pc:
|
19865
|
+
_pc: pc
|
19866
19866
|
};
|
19867
19867
|
};
|
19868
19868
|
if (!window2.RTCPeerConnection.prototype.getSenders) {
|
@@ -20217,11 +20217,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
|
|
20217
20217
|
}
|
20218
20218
|
return this.getSenders().find((s) => s.track === track);
|
20219
20219
|
};
|
20220
|
-
function replaceInternalStreamId(
|
20220
|
+
function replaceInternalStreamId(pc, description) {
|
20221
20221
|
let sdp2 = description.sdp;
|
20222
|
-
Object.keys(
|
20223
|
-
const externalStream =
|
20224
|
-
const internalStream =
|
20222
|
+
Object.keys(pc._reverseStreams || []).forEach((internalId) => {
|
20223
|
+
const externalStream = pc._reverseStreams[internalId];
|
20224
|
+
const internalStream = pc._streams[externalStream.id];
|
20225
20225
|
sdp2 = sdp2.replace(
|
20226
20226
|
new RegExp(internalStream.id, "g"),
|
20227
20227
|
externalStream.id
|
@@ -20232,11 +20232,11 @@ function shimAddTrackRemoveTrack(window2, browserDetails) {
|
|
20232
20232
|
sdp: sdp2
|
20233
20233
|
});
|
20234
20234
|
}
|
20235
|
-
function replaceExternalStreamId(
|
20235
|
+
function replaceExternalStreamId(pc, description) {
|
20236
20236
|
let sdp2 = description.sdp;
|
20237
|
-
Object.keys(
|
20238
|
-
const externalStream =
|
20239
|
-
const internalStream =
|
20237
|
+
Object.keys(pc._reverseStreams || []).forEach((internalId) => {
|
20238
|
+
const externalStream = pc._reverseStreams[internalId];
|
20239
|
+
const internalStream = pc._streams[externalStream.id];
|
20240
20240
|
sdp2 = sdp2.replace(
|
20241
20241
|
new RegExp(externalStream.id, "g"),
|
20242
20242
|
internalStream.id
|
@@ -20350,9 +20350,9 @@ function shimPeerConnection(window2, browserDetails) {
|
|
20350
20350
|
}
|
20351
20351
|
function fixNegotiationNeeded(window2, browserDetails) {
|
20352
20352
|
wrapPeerConnectionEvent(window2, "negotiationneeded", (e) => {
|
20353
|
-
const
|
20354
|
-
if (browserDetails.version < 72 ||
|
20355
|
-
if (
|
20353
|
+
const pc = e.target;
|
20354
|
+
if (browserDetails.version < 72 || pc.getConfiguration && pc.getConfiguration().sdpSemantics === "plan-b") {
|
20355
|
+
if (pc.signalingState !== "stable") {
|
20356
20356
|
return;
|
20357
20357
|
}
|
20358
20358
|
}
|
@@ -20799,24 +20799,24 @@ function shimRemoteStreamsAPI(window2) {
|
|
20799
20799
|
});
|
20800
20800
|
const origSetRemoteDescription = window2.RTCPeerConnection.prototype.setRemoteDescription;
|
20801
20801
|
window2.RTCPeerConnection.prototype.setRemoteDescription = function setRemoteDescription() {
|
20802
|
-
const
|
20802
|
+
const pc = this;
|
20803
20803
|
if (!this._onaddstreampoly) {
|
20804
20804
|
this.addEventListener("track", this._onaddstreampoly = function(e) {
|
20805
20805
|
e.streams.forEach((stream) => {
|
20806
|
-
if (!
|
20807
|
-
|
20806
|
+
if (!pc._remoteStreams) {
|
20807
|
+
pc._remoteStreams = [];
|
20808
20808
|
}
|
20809
|
-
if (
|
20809
|
+
if (pc._remoteStreams.indexOf(stream) >= 0) {
|
20810
20810
|
return;
|
20811
20811
|
}
|
20812
|
-
|
20812
|
+
pc._remoteStreams.push(stream);
|
20813
20813
|
const event = new Event("addstream");
|
20814
20814
|
event.stream = stream;
|
20815
|
-
|
20815
|
+
pc.dispatchEvent(event);
|
20816
20816
|
});
|
20817
20817
|
});
|
20818
20818
|
}
|
20819
|
-
return origSetRemoteDescription.apply(
|
20819
|
+
return origSetRemoteDescription.apply(pc, arguments);
|
20820
20820
|
};
|
20821
20821
|
}
|
20822
20822
|
}
|
@@ -21182,13 +21182,13 @@ function shimSendThrowTypeError(window2) {
|
|
21182
21182
|
if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
|
21183
21183
|
return;
|
21184
21184
|
}
|
21185
|
-
function wrapDcSend(dc,
|
21185
|
+
function wrapDcSend(dc, pc) {
|
21186
21186
|
const origDataChannelSend = dc.send;
|
21187
21187
|
dc.send = function send() {
|
21188
21188
|
const data3 = arguments[0];
|
21189
21189
|
const length = data3.length || data3.size || data3.byteLength;
|
21190
|
-
if (dc.readyState === "open" &&
|
21191
|
-
throw new TypeError("Message too large (can send a maximum of " +
|
21190
|
+
if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
|
21191
|
+
throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
|
21192
21192
|
}
|
21193
21193
|
return origDataChannelSend.apply(dc, arguments);
|
21194
21194
|
};
|
@@ -21246,11 +21246,11 @@ function shimConnectionState(window2) {
|
|
21246
21246
|
proto[method] = function() {
|
21247
21247
|
if (!this._connectionstatechangepoly) {
|
21248
21248
|
this._connectionstatechangepoly = (e) => {
|
21249
|
-
const
|
21250
|
-
if (
|
21251
|
-
|
21249
|
+
const pc = e.target;
|
21250
|
+
if (pc._lastConnectionState !== pc.connectionState) {
|
21251
|
+
pc._lastConnectionState = pc.connectionState;
|
21252
21252
|
const newEvent = new Event("connectionstatechange", e);
|
21253
|
-
|
21253
|
+
pc.dispatchEvent(newEvent);
|
21254
21254
|
}
|
21255
21255
|
return e;
|
21256
21256
|
};
|
@@ -21454,43 +21454,43 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21454
21454
|
|
21455
21455
|
// ../hms-video-store/dist/index.js
|
21456
21456
|
var import_lodash4 = __toESM(require_lodash2());
|
21457
|
-
import { v4 as
|
21458
|
-
import { v4 as
|
21459
|
-
import { v4 as
|
21460
|
-
import { EventEmitter2 as
|
21461
|
-
var
|
21462
|
-
import { EventEmitter2 as
|
21463
|
-
import { v4 as
|
21464
|
-
import { EventEmitter2 as
|
21465
|
-
import
|
21466
|
-
import { v4 as
|
21467
|
-
import { v4 as
|
21468
|
-
var
|
21469
|
-
var
|
21470
|
-
var
|
21471
|
-
var
|
21472
|
-
var
|
21473
|
-
var
|
21474
|
-
var
|
21457
|
+
import { v4 as Ho } from "uuid";
|
21458
|
+
import { v4 as wo } from "uuid";
|
21459
|
+
import { v4 as xo } from "uuid";
|
21460
|
+
import { EventEmitter2 as Uo } from "eventemitter2";
|
21461
|
+
var Qt = __toESM(require_lib());
|
21462
|
+
import { EventEmitter2 as pn } from "eventemitter2";
|
21463
|
+
import { v4 as Tn } from "uuid";
|
21464
|
+
import { EventEmitter2 as fn } from "eventemitter2";
|
21465
|
+
import Mn from "eventemitter2";
|
21466
|
+
import { v4 as yn } from "uuid";
|
21467
|
+
import { v4 as Pn } from "uuid";
|
21468
|
+
var so = Object.defineProperty;
|
21469
|
+
var ao = Object.defineProperties;
|
21470
|
+
var oo = Object.getOwnPropertyDescriptors;
|
21471
|
+
var ri = Object.getOwnPropertySymbols;
|
21472
|
+
var us = Object.prototype.hasOwnProperty;
|
21473
|
+
var ps = Object.prototype.propertyIsEnumerable;
|
21474
|
+
var ls = (a2, e, t) => e in a2 ? so(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21475
21475
|
var h = (a2, e) => {
|
21476
21476
|
for (var t in e || (e = {}))
|
21477
|
-
|
21478
|
-
if (
|
21479
|
-
for (var t of
|
21480
|
-
|
21477
|
+
us.call(e, t) && ls(a2, t, e[t]);
|
21478
|
+
if (ri)
|
21479
|
+
for (var t of ri(e))
|
21480
|
+
ps.call(e, t) && ls(a2, t, e[t]);
|
21481
21481
|
return a2;
|
21482
21482
|
};
|
21483
|
-
var M = (a2, e) =>
|
21484
|
-
var
|
21483
|
+
var M = (a2, e) => ao(a2, oo(e));
|
21484
|
+
var fr = (a2, e) => {
|
21485
21485
|
var t = {};
|
21486
21486
|
for (var i in a2)
|
21487
|
-
|
21488
|
-
if (a2 != null &&
|
21489
|
-
for (var i of
|
21490
|
-
e.indexOf(i) < 0 &&
|
21487
|
+
us.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21488
|
+
if (a2 != null && ri)
|
21489
|
+
for (var i of ri(a2))
|
21490
|
+
e.indexOf(i) < 0 && ps.call(a2, i) && (t[i] = a2[i]);
|
21491
21491
|
return t;
|
21492
21492
|
};
|
21493
|
-
var
|
21493
|
+
var lo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21494
21494
|
var c = (a2, e, t) => new Promise((i, r) => {
|
21495
21495
|
var s = (d) => {
|
21496
21496
|
try {
|
@@ -21507,20 +21507,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21507
21507
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21508
21508
|
n((t = t.apply(a2, e)).next());
|
21509
21509
|
});
|
21510
|
-
var
|
21511
|
-
|
21510
|
+
var Er = lo(($c, vo) => {
|
21511
|
+
vo.exports = { version: "0.12.25-alpha.4", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
21512
21512
|
});
|
21513
|
-
var
|
21514
|
-
var
|
21515
|
-
var
|
21516
|
-
var
|
21517
|
-
var
|
21513
|
+
var vr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(vr || {});
|
21514
|
+
var uo = ((e) => (e.CHAT = "chat", e))(uo || {});
|
21515
|
+
var hs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(hs || {});
|
21516
|
+
var Mr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Mr || {});
|
21517
|
+
var ms = ((t) => (t.audio = "audio", t.video = "video", t))(ms || {});
|
21518
21518
|
function Be(a2, e) {
|
21519
21519
|
let t, i;
|
21520
21520
|
if (e)
|
21521
21521
|
for (let r of e.auxiliaryTracks) {
|
21522
21522
|
let s = a2[r];
|
21523
|
-
|
21523
|
+
po(s) && (i = ht(s) ? s : i, t = mt(s) ? s : t);
|
21524
21524
|
}
|
21525
21525
|
return { video: t, audio: i };
|
21526
21526
|
}
|
@@ -21530,16 +21530,16 @@ function ht(a2) {
|
|
21530
21530
|
function mt(a2) {
|
21531
21531
|
return a2 && a2.type === "video";
|
21532
21532
|
}
|
21533
|
-
function
|
21533
|
+
function po(a2) {
|
21534
21534
|
return a2 && a2.source === "screen";
|
21535
21535
|
}
|
21536
|
-
function
|
21536
|
+
function oi(a2) {
|
21537
21537
|
return a2 && a2.source === "audioplaylist";
|
21538
21538
|
}
|
21539
21539
|
function St(a2) {
|
21540
21540
|
return a2 && a2.source === "videoplaylist";
|
21541
21541
|
}
|
21542
|
-
function
|
21542
|
+
function Ss(a2) {
|
21543
21543
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21544
21544
|
}
|
21545
21545
|
function Je(a2, e) {
|
@@ -21550,8 +21550,8 @@ function gt(a2) {
|
|
21550
21550
|
let e = false, t = false, i = false;
|
21551
21551
|
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 };
|
21552
21552
|
}
|
21553
|
-
var
|
21554
|
-
var
|
21553
|
+
var Ts = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(Ts || {});
|
21554
|
+
var ho = typeof window != "undefined" && typeof window.expect != "undefined";
|
21555
21555
|
var l = class {
|
21556
21556
|
static v(e, ...t) {
|
21557
21557
|
this.log(0, e, ...t);
|
@@ -21617,28 +21617,28 @@ var l = class {
|
|
21617
21617
|
}
|
21618
21618
|
}
|
21619
21619
|
};
|
21620
|
-
l.level =
|
21620
|
+
l.level = ho ? 7 : 0;
|
21621
21621
|
var me = new import_ua_parser_js.UAParser();
|
21622
21622
|
var B = typeof window != "undefined";
|
21623
|
-
var Ts;
|
21624
|
-
var Ve = typeof window == "undefined" && !((Ts = me.getBrowser().name) != null && Ts.toLowerCase().includes("electron"));
|
21625
|
-
var mo = () => !Ve;
|
21626
|
-
var pc = mo();
|
21627
21623
|
var fs;
|
21624
|
+
var Ve = typeof window == "undefined" && !((fs = me.getBrowser().name) != null && fs.toLowerCase().includes("electron"));
|
21625
|
+
var So = () => !Ve;
|
21626
|
+
var hc = So();
|
21628
21627
|
var vs;
|
21629
|
-
var Ps = (vs = (fs = me.getBrowser()) == null ? void 0 : fs.name) == null ? void 0 : vs.toLowerCase().includes("safari");
|
21630
21628
|
var Ms;
|
21629
|
+
var bs = (Ms = (vs = me.getBrowser()) == null ? void 0 : vs.name) == null ? void 0 : Ms.toLowerCase().includes("safari");
|
21631
21630
|
var ys;
|
21632
|
-
var
|
21633
|
-
var As = ((
|
21634
|
-
|
21631
|
+
var ks;
|
21632
|
+
var As = ((ks = (ys = me.getBrowser()) == null ? void 0 : ys.name) == null ? void 0 : ks.toLowerCase()) === "firefox";
|
21633
|
+
var Is = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Is || {});
|
21634
|
+
function go() {
|
21635
21635
|
if (B && window) {
|
21636
21636
|
let a2 = window.location.hostname;
|
21637
21637
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21638
21638
|
}
|
21639
21639
|
return "CUSTOM";
|
21640
21640
|
}
|
21641
|
-
var ze =
|
21641
|
+
var ze = go();
|
21642
21642
|
var P4 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014, NO_DATA: 3015 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
21643
21643
|
var k = class a extends Error {
|
21644
21644
|
constructor(t, i, r, s, o, n = false) {
|
@@ -21695,8 +21695,8 @@ var $ = class extends k {
|
|
21695
21695
|
}`;
|
21696
21696
|
}
|
21697
21697
|
};
|
21698
|
-
var
|
21699
|
-
var
|
21698
|
+
var Rs = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Rs || {});
|
21699
|
+
var To = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21700
21700
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21701
21701
|
return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21702
21702
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -21758,7 +21758,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21758
21758
|
}, StatsFailed(a2, e = "") {
|
21759
21759
|
return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21760
21760
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21761
|
-
return new k(a2, "ServerErrors", e, t, t,
|
21761
|
+
return new k(a2, "ServerErrors", e, t, t, To.includes(e));
|
21762
21762
|
}, AlreadyJoined(a2, e = "") {
|
21763
21763
|
return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21764
21764
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -21806,7 +21806,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21806
21806
|
}, NoEntryPlaying(a2, e) {
|
21807
21807
|
return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21808
21808
|
} } };
|
21809
|
-
var
|
21809
|
+
var kr = class {
|
21810
21810
|
constructor() {
|
21811
21811
|
this.valuesMap = /* @__PURE__ */ new Map();
|
21812
21812
|
}
|
@@ -21831,9 +21831,9 @@ var yr = class {
|
|
21831
21831
|
return this.valuesMap.size;
|
21832
21832
|
}
|
21833
21833
|
};
|
21834
|
-
var
|
21834
|
+
var Hs = () => {
|
21835
21835
|
try {
|
21836
|
-
B && !localStorage && (window.localStorage = new
|
21836
|
+
B && !localStorage && (window.localStorage = new kr());
|
21837
21837
|
} catch (a2) {
|
21838
21838
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21839
21839
|
}
|
@@ -21845,7 +21845,7 @@ var Se = class {
|
|
21845
21845
|
}
|
21846
21846
|
getStorage() {
|
21847
21847
|
try {
|
21848
|
-
return B && !this.storage && (
|
21848
|
+
return B && !this.storage && (Hs(), this.storage = window.localStorage), this.storage;
|
21849
21849
|
} catch (e) {
|
21850
21850
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21851
21851
|
}
|
@@ -21865,29 +21865,29 @@ var Se = class {
|
|
21865
21865
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21866
21866
|
}
|
21867
21867
|
};
|
21868
|
-
var
|
21868
|
+
var ni = () => {
|
21869
21869
|
let a2, e = new Se("hms-analytics-deviceId"), t = e.get();
|
21870
|
-
return t ? a2 = t : (a2 =
|
21870
|
+
return t ? a2 = t : (a2 = fo(), e.set(a2)), a2;
|
21871
21871
|
};
|
21872
21872
|
function le(a2) {
|
21873
21873
|
return a2 != null;
|
21874
21874
|
}
|
21875
|
-
var
|
21875
|
+
var Ds = Er().version;
|
21876
21876
|
function Mt(a2 = "prod", e) {
|
21877
21877
|
let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21878
21878
|
if (Ve)
|
21879
|
-
return
|
21880
|
-
let r = me.getOS(), s = me.getDevice(), o = me.getBrowser(), n =
|
21881
|
-
return s.type && (p = `${
|
21879
|
+
return ws({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Ds, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21880
|
+
let r = me.getOS(), s = me.getDevice(), o = me.getBrowser(), n = Pr(`web_${r.name}`), d = r.version || "", u = Pr(`${o.name}_${o.version}`), p = u;
|
21881
|
+
return s.type && (p = `${Pr(`${s.vendor}_${s.type}`)}/${u}`), ws({ os: n, os_version: d, sdk: t, sdk_version: Ds, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21882
21882
|
}
|
21883
|
-
function
|
21883
|
+
function Pr(a2) {
|
21884
21884
|
return a2.replace(/ /g, "_");
|
21885
21885
|
}
|
21886
|
-
var
|
21886
|
+
var ws = (a2, e = ",") => Object.keys(a2).filter((t) => le(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21887
21887
|
var C = class {
|
21888
21888
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21889
21889
|
this.metadata = { peer: {}, userAgent: Mt() };
|
21890
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
21890
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Mo(), this.device_id = ni();
|
21891
21891
|
}
|
21892
21892
|
toSignalParams() {
|
21893
21893
|
return { name: this.name, info: M(h({}, this.properties), { timestamp: this.timestamp, domain: ze }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21903,12 +21903,12 @@ var y = class {
|
|
21903
21903
|
return new C({ name: i, level: r, properties: s });
|
21904
21904
|
}
|
21905
21905
|
static preview(i) {
|
21906
|
-
var r = i, { error: e } = r, t =
|
21906
|
+
var r = i, { error: e } = r, t = fr(r, ["error"]);
|
21907
21907
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21908
21908
|
return new C({ name: s, level: o, properties: n });
|
21909
21909
|
}
|
21910
21910
|
static join(i) {
|
21911
|
-
var r = i, { error: e } = r, t =
|
21911
|
+
var r = i, { error: e } = r, t = fr(r, ["error"]);
|
21912
21912
|
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(h({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
21913
21913
|
return new C({ name: s, level: o, properties: n });
|
21914
21914
|
}
|
@@ -21996,7 +21996,7 @@ var y = class {
|
|
21996
21996
|
}
|
21997
21997
|
};
|
21998
21998
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21999
|
-
var
|
21999
|
+
var br = class {
|
22000
22000
|
constructor() {
|
22001
22001
|
this.storage = new Se("hms-device-selection");
|
22002
22002
|
this.remember = false;
|
@@ -22030,11 +22030,19 @@ var Pr = class {
|
|
22030
22030
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
22031
22031
|
}
|
22032
22032
|
};
|
22033
|
-
var X = new
|
22034
|
-
var
|
22035
|
-
var
|
22036
|
-
var
|
22037
|
-
|
22033
|
+
var X = new br();
|
22034
|
+
var Ar = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Ar || {});
|
22035
|
+
var Ir = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Ir || {});
|
22036
|
+
var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
|
22037
|
+
var _s = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(_s || {});
|
22038
|
+
var Ns = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Ns || {});
|
22039
|
+
var Os = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Os || {});
|
22040
|
+
var xs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(xs || {});
|
22041
|
+
var Us = ((e) => (e.CAPTION = "caption", e))(Us || {});
|
22042
|
+
var Hr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Hr || {});
|
22043
|
+
var Bs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Bs || {});
|
22044
|
+
var Dr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(Dr || {});
|
22045
|
+
function li(a2, e = 300) {
|
22038
22046
|
let t;
|
22039
22047
|
return function(...i) {
|
22040
22048
|
clearTimeout(t), t = void 0;
|
@@ -22044,15 +22052,7 @@ function di(a2, e = 300) {
|
|
22044
22052
|
}, e);
|
22045
22053
|
};
|
22046
22054
|
}
|
22047
|
-
var
|
22048
|
-
var Os = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Os || {});
|
22049
|
-
var xs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(xs || {});
|
22050
|
-
var Us = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Us || {});
|
22051
|
-
var Bs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Bs || {});
|
22052
|
-
var Vs = ((e) => (e.CAPTION = "caption", e))(Vs || {});
|
22053
|
-
var Dr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Dr || {});
|
22054
|
-
var Fs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Fs || {});
|
22055
|
-
var wr = class {
|
22055
|
+
var _r = class {
|
22056
22056
|
constructor() {
|
22057
22057
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
22058
22058
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22079,8 +22079,8 @@ var wr = class {
|
|
22079
22079
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
22080
22080
|
}
|
22081
22081
|
};
|
22082
|
-
var
|
22083
|
-
var
|
22082
|
+
var qs = new _r();
|
22083
|
+
var Nr = class {
|
22084
22084
|
constructor() {
|
22085
22085
|
this.TAG = "[HMSResizeObserverWrapper]";
|
22086
22086
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22093,7 +22093,7 @@ var _r = class {
|
|
22093
22093
|
(t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
|
22094
22094
|
};
|
22095
22095
|
this.createObserver = () => {
|
22096
|
-
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(
|
22096
|
+
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(li(this.handleResize, 300)));
|
22097
22097
|
};
|
22098
22098
|
this.handleResize = (e) => {
|
22099
22099
|
var t;
|
@@ -22107,43 +22107,43 @@ var _r = class {
|
|
22107
22107
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
22108
22108
|
}
|
22109
22109
|
};
|
22110
|
-
var
|
22111
|
-
var
|
22112
|
-
var
|
22113
|
-
var
|
22114
|
-
var
|
22115
|
-
var
|
22110
|
+
var js = new Nr();
|
22111
|
+
var Or = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Or || {});
|
22112
|
+
var xr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(xr || {});
|
22113
|
+
var zs = "https://event.100ms.live/v2/client/report";
|
22114
|
+
var Ys = "https://event-nonprod.100ms.live/v2/client/report";
|
22115
|
+
var At = Math.pow(2, 31) - 1;
|
22116
22116
|
var st = class {
|
22117
22117
|
};
|
22118
|
-
st.makePeerId = () =>
|
22118
|
+
st.makePeerId = () => xo();
|
22119
22119
|
var F = (a2) => a2.room;
|
22120
|
-
var
|
22121
|
-
var
|
22122
|
-
var
|
22120
|
+
var Bo = (a2) => a2.errors;
|
22121
|
+
var mm = createSelector(Bo, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22122
|
+
var Sm = createSelector(F, (a2) => a2.id);
|
22123
22123
|
var z = (a2) => a2.peers;
|
22124
|
-
var
|
22125
|
-
var
|
22124
|
+
var ki = (a2) => a2.messages.byID;
|
22125
|
+
var oa = (a2) => a2.messages.allIDs;
|
22126
22126
|
var O = (a2) => a2.tracks;
|
22127
|
-
var
|
22128
|
-
var
|
22127
|
+
var qr = (a2) => a2.appData;
|
22128
|
+
var Vo = (a2) => a2.speakers;
|
22129
22129
|
var xe = createSelector([F], (a2) => a2 && a2.isConnected);
|
22130
|
-
var
|
22131
|
-
var
|
22132
|
-
var ve = createSelector([F, z,
|
22133
|
-
var
|
22130
|
+
var fm = createSelector([xe, F], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
22131
|
+
var Fo = (a2) => a2.hideLocalPeer;
|
22132
|
+
var ve = createSelector([F, z, Fo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
22133
|
+
var Go = createSelector(O, (a2) => Object.values(a2));
|
22134
22134
|
var re = createSelector(F, z, (a2, e) => e[a2.localPeer]);
|
22135
22135
|
var Pe = createSelector(F, (a2) => a2.localPeer);
|
22136
|
-
var
|
22137
|
-
var
|
22136
|
+
var vm = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
|
22137
|
+
var Mm = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
|
22138
22138
|
var ce = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
22139
22139
|
var Z = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
22140
|
-
var
|
22141
|
-
var
|
22140
|
+
var Wo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22141
|
+
var ca = createSelector([ce, Z, Wo], (a2, e, t) => {
|
22142
22142
|
let i = t ? [...t] : [];
|
22143
22143
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22144
22144
|
});
|
22145
|
-
var
|
22146
|
-
var
|
22145
|
+
var ym = createSelector(ve, (a2) => a2.filter((e) => !e.isLocal));
|
22146
|
+
var km = createSelector(z, Vo, (a2, e) => {
|
22147
22147
|
let t = Object.entries(e).sort((i, r) => {
|
22148
22148
|
var n, d;
|
22149
22149
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22156,11 +22156,11 @@ var Tm = createSelector(z, Bo, (a2, e) => {
|
|
22156
22156
|
}
|
22157
22157
|
return null;
|
22158
22158
|
});
|
22159
|
-
var
|
22159
|
+
var Jr = createSelector(re, O, (a2, e) => {
|
22160
22160
|
let { video: t, audio: i } = Be(e, a2);
|
22161
22161
|
return !!(t || i);
|
22162
22162
|
});
|
22163
|
-
var
|
22163
|
+
var $o = createSelector(z, O, (a2, e) => {
|
22164
22164
|
let t;
|
22165
22165
|
for (let i in a2) {
|
22166
22166
|
let r = a2[i], { video: s, audio: o } = Be(e, r);
|
@@ -22170,15 +22170,15 @@ var Wo = createSelector(z, O, (a2, e) => {
|
|
22170
22170
|
}
|
22171
22171
|
return t;
|
22172
22172
|
});
|
22173
|
-
var
|
22174
|
-
var
|
22173
|
+
var Pm = createSelector($o, (a2) => !!a2);
|
22174
|
+
var bm = createSelector(z, O, (a2, e) => {
|
22175
22175
|
for (let t in a2) {
|
22176
22176
|
let i = a2[t], { audio: r, video: s } = Be(e, i);
|
22177
22177
|
if (!s && r)
|
22178
22178
|
return i;
|
22179
22179
|
}
|
22180
22180
|
});
|
22181
|
-
var
|
22181
|
+
var Am = createSelector(z, O, (a2, e) => {
|
22182
22182
|
let t = [], i = [];
|
22183
22183
|
for (let r in a2) {
|
22184
22184
|
let s = a2[r], { video: o, audio: n } = Be(e, s);
|
@@ -22186,82 +22186,82 @@ var ym = createSelector(z, O, (a2, e) => {
|
|
22186
22186
|
}
|
22187
22187
|
return t.concat(i);
|
22188
22188
|
});
|
22189
|
-
var
|
22189
|
+
var Im = createSelector(z, O, (a2, e) => {
|
22190
22190
|
for (let t in e) {
|
22191
22191
|
let i = e[t];
|
22192
22192
|
if (St(i) && mt(i) && i.peerId)
|
22193
22193
|
return a2[i.peerId];
|
22194
22194
|
}
|
22195
22195
|
});
|
22196
|
-
var
|
22196
|
+
var Rm = createSelector(z, O, (a2, e) => {
|
22197
22197
|
for (let t in e) {
|
22198
22198
|
let i = e[t];
|
22199
|
-
if (
|
22199
|
+
if (oi(i) && i.peerId)
|
22200
22200
|
return a2[i.peerId];
|
22201
22201
|
}
|
22202
22202
|
});
|
22203
|
-
var
|
22204
|
-
var
|
22205
|
-
var
|
22206
|
-
var
|
22203
|
+
var Hm = createSelector(Go, (a2) => a2.filter(Ss));
|
22204
|
+
var Cm = createSelector(oa, (a2) => a2.length);
|
22205
|
+
var Lm = createSelector(ki, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22206
|
+
var Ct = createSelector(oa, ki, (a2, e) => {
|
22207
22207
|
let t = [];
|
22208
22208
|
return a2.forEach((i) => {
|
22209
22209
|
t.push(e[i]);
|
22210
22210
|
}), t;
|
22211
22211
|
});
|
22212
|
-
var
|
22212
|
+
var Ko = createSelector(Ct, (a2) => a2.filter((e) => {
|
22213
22213
|
var t;
|
22214
22214
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22215
22215
|
}));
|
22216
|
-
var
|
22216
|
+
var Dm = createSelector(Ko, (a2) => a2.filter((e) => !e.read).length);
|
22217
22217
|
var se = createSelector([F], (a2) => a2 && a2.roomState);
|
22218
|
-
var
|
22219
|
-
var
|
22220
|
-
var
|
22218
|
+
var la = createSelector(se, (a2) => a2 === "Preview");
|
22219
|
+
var wm = createSelector(F, (a2) => a2.roomState !== "Disconnected");
|
22220
|
+
var _m = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22221
22221
|
var Me = (a2) => a2.roles;
|
22222
|
-
var
|
22222
|
+
var Nm = createSelector([Me], (a2) => Object.keys(a2));
|
22223
22223
|
var ot = createSelector([re, Me], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22224
|
-
var
|
22224
|
+
var qo = (a2) => {
|
22225
22225
|
var e;
|
22226
22226
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22227
22227
|
};
|
22228
|
-
var
|
22229
|
-
var
|
22228
|
+
var ua = createSelector([qo, Me], (a2, e) => a2 ? e[a2] : null);
|
22229
|
+
var Om = createSelector([ot], (a2) => {
|
22230
22230
|
var e;
|
22231
22231
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22232
22232
|
});
|
22233
|
-
var
|
22234
|
-
var
|
22235
|
-
var
|
22236
|
-
var
|
22237
|
-
var
|
22238
|
-
var
|
22239
|
-
var
|
22240
|
-
var
|
22241
|
-
var
|
22242
|
-
var
|
22243
|
-
var
|
22244
|
-
var
|
22245
|
-
var
|
22246
|
-
var
|
22247
|
-
var
|
22248
|
-
var
|
22249
|
-
var
|
22250
|
-
var
|
22251
|
-
var
|
22252
|
-
var
|
22253
|
-
var
|
22254
|
-
var
|
22255
|
-
var
|
22233
|
+
var pa = createSelector(ot, (a2) => a2 == null ? void 0 : a2.permissions);
|
22234
|
+
var xm = createSelector(F, (a2) => a2.recording);
|
22235
|
+
var Um = createSelector(F, (a2) => a2.rtmp);
|
22236
|
+
var Bm = createSelector(F, (a2) => a2.hls);
|
22237
|
+
var Vm = createSelector(F, (a2) => a2.transcriptions);
|
22238
|
+
var Fm = createSelector(F, (a2) => a2.sessionId);
|
22239
|
+
var Gm = createSelector(F, (a2) => a2.startedAt);
|
22240
|
+
var Wm = createSelector(F, (a2) => !!a2.isLargeRoom);
|
22241
|
+
var $m = createSelector(F, (a2) => !!a2.isEffectsEnabled);
|
22242
|
+
var Km = createSelector(F, (a2) => !!a2.isVBEnabled);
|
22243
|
+
var qm = createSelector(F, (a2) => a2.effectsKey);
|
22244
|
+
var ha = (a2) => a2.polls;
|
22245
|
+
var zm = createSelector(ve, (a2) => a2.filter((e) => e.isHandRaised));
|
22246
|
+
var jo = (a2) => a2.whiteboards;
|
22247
|
+
var Ym = createSelector(jo, (a2) => Object.values(a2)[0]);
|
22248
|
+
var Sa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22249
|
+
var Qr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22250
|
+
var ga = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22251
|
+
var Ta = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22252
|
+
var fa = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22253
|
+
var va = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22254
|
+
var Ma = (a2 = "audio") => createSelector(Sa(a2), (e) => Object.values(e));
|
22255
|
+
var ya = (a2 = "audio") => createSelector(Sa(a2), Qr(a2), (e, t) => {
|
22256
22256
|
if (t.id)
|
22257
22257
|
return e[t.id];
|
22258
22258
|
});
|
22259
|
-
var
|
22260
|
-
var
|
22259
|
+
var ka = { selection: Qr("audio"), progress: ga("audio"), currentTime: Ta("audio"), playbackRate: fa("audio"), volume: va("audio"), list: Ma("audio"), selectedItem: ya("audio") };
|
22260
|
+
var Ea = { selection: Qr("video"), progress: ga("video"), currentTime: Ta("video"), playbackRate: fa("video"), volume: va("video"), list: Ma("video"), selectedItem: ya("video") };
|
22261
22261
|
function H(a2) {
|
22262
22262
|
return (e) => (t) => a2(t, e);
|
22263
22263
|
}
|
22264
|
-
var
|
22264
|
+
var Lt = "HMS-Store:";
|
22265
22265
|
var b = class {
|
22266
22266
|
static v(e, ...t) {
|
22267
22267
|
this.log(0, e, ...t);
|
@@ -22291,23 +22291,23 @@ var b = class {
|
|
22291
22291
|
if (!(this.level.valueOf() > e.valueOf()))
|
22292
22292
|
switch (e) {
|
22293
22293
|
case 0: {
|
22294
|
-
console.log(
|
22294
|
+
console.log(Lt, ...t);
|
22295
22295
|
break;
|
22296
22296
|
}
|
22297
22297
|
case 1: {
|
22298
|
-
console.debug(
|
22298
|
+
console.debug(Lt, ...t);
|
22299
22299
|
break;
|
22300
22300
|
}
|
22301
22301
|
case 2: {
|
22302
|
-
console.info(
|
22302
|
+
console.info(Lt, ...t);
|
22303
22303
|
break;
|
22304
22304
|
}
|
22305
22305
|
case 3: {
|
22306
|
-
console.warn(
|
22306
|
+
console.warn(Lt, ...t);
|
22307
22307
|
break;
|
22308
22308
|
}
|
22309
22309
|
case 6: {
|
22310
|
-
console.error(
|
22310
|
+
console.error(Lt, ...t);
|
22311
22311
|
break;
|
22312
22312
|
}
|
22313
22313
|
case 4: {
|
@@ -22328,133 +22328,133 @@ var b = class {
|
|
22328
22328
|
}
|
22329
22329
|
};
|
22330
22330
|
b.level = 0;
|
22331
|
-
var
|
22332
|
-
var
|
22333
|
-
var
|
22334
|
-
var jo = (a2, e) => e;
|
22331
|
+
var zr = (a2, e) => e;
|
22332
|
+
var Dt = (a2, e) => e;
|
22333
|
+
var Pa = (a2, e) => e;
|
22335
22334
|
var Jo = (a2, e) => e;
|
22336
|
-
var
|
22337
|
-
var
|
22338
|
-
var
|
22335
|
+
var Qo = (a2, e) => e;
|
22336
|
+
var Y = createSelector([z, zr], (a2, e) => e ? a2[e] : null);
|
22337
|
+
var Yr = createSelector([O, Dt], (a2, e) => e ? a2[e] : null);
|
22338
|
+
var zo = createSelector([O, Dt], (a2, e) => {
|
22339
22339
|
if (!e)
|
22340
22340
|
return null;
|
22341
22341
|
let t = a2[e];
|
22342
22342
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22343
22343
|
});
|
22344
|
-
var
|
22344
|
+
var Yo = createSelector([O, Dt], (a2, e) => {
|
22345
22345
|
if (!e)
|
22346
22346
|
return null;
|
22347
22347
|
let t = a2[e];
|
22348
22348
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22349
22349
|
});
|
22350
|
-
var
|
22350
|
+
var Xo = createSelector([O, Dt], (a2, e) => {
|
22351
22351
|
if (!e)
|
22352
22352
|
return null;
|
22353
22353
|
let t = a2[e];
|
22354
22354
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22355
22355
|
});
|
22356
|
-
var
|
22356
|
+
var Zo = createSelector([O, Dt], (a2, e) => {
|
22357
22357
|
if (!e)
|
22358
22358
|
return null;
|
22359
22359
|
let t = a2[e];
|
22360
22360
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22361
22361
|
});
|
22362
|
-
var
|
22362
|
+
var en = createSelector([ha, Qo], (a2, e) => e ? a2[e] : null);
|
22363
22363
|
var ee = H(Y);
|
22364
|
-
var
|
22364
|
+
var cS = H(createSelector([qr, Jo], (a2, e) => {
|
22365
22365
|
if (a2)
|
22366
22366
|
return e ? a2[e] : a2;
|
22367
22367
|
}));
|
22368
|
-
function
|
22368
|
+
function dS(a2) {
|
22369
22369
|
return (e) => {
|
22370
22370
|
if (e.sessionStore)
|
22371
22371
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22372
22372
|
};
|
22373
22373
|
}
|
22374
|
-
var
|
22375
|
-
var
|
22376
|
-
var
|
22377
|
-
var
|
22378
|
-
var
|
22379
|
-
var
|
22380
|
-
var
|
22381
|
-
var
|
22374
|
+
var uS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.name));
|
22375
|
+
var pS = H(createSelector(Y, (a2) => a2 == null ? void 0 : a2.type));
|
22376
|
+
var Ei = H(Yr);
|
22377
|
+
var ba = H(zo);
|
22378
|
+
var hS = H(Yo);
|
22379
|
+
var mS = H(Xo);
|
22380
|
+
var SS = H(Zo);
|
22381
|
+
var tn = H((a2, e) => {
|
22382
22382
|
let t = Y(a2, e);
|
22383
22383
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22384
22384
|
return a2.tracks[t.videoTrack];
|
22385
22385
|
});
|
22386
|
-
var
|
22386
|
+
var rn = H((a2, e) => {
|
22387
22387
|
let t = Y(a2, e);
|
22388
22388
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22389
22389
|
return a2.tracks[t.audioTrack];
|
22390
22390
|
});
|
22391
|
-
var
|
22391
|
+
var TS = H((a2, e) => {
|
22392
22392
|
let t = Y(a2, e);
|
22393
22393
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22394
22394
|
});
|
22395
|
-
var
|
22396
|
-
var
|
22397
|
-
var
|
22398
|
-
let t =
|
22399
|
-
return
|
22400
|
-
};
|
22401
|
-
var
|
22402
|
-
var
|
22395
|
+
var Aa = (a2, e) => e ? a2.speakers[e] : null;
|
22396
|
+
var fS = H(createSelector(Aa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22397
|
+
var sn = (a2, e) => {
|
22398
|
+
let t = rn(e)(a2);
|
22399
|
+
return Aa(a2, t == null ? void 0 : t.id);
|
22400
|
+
};
|
22401
|
+
var vS = H(createSelector(sn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22402
|
+
var MS = H((a2, e) => {
|
22403
22403
|
if (e)
|
22404
22404
|
return a2.connectionQualities[e];
|
22405
22405
|
});
|
22406
|
-
var
|
22406
|
+
var yS = H((a2, e) => {
|
22407
22407
|
let t = Y(a2, e);
|
22408
22408
|
if (t) {
|
22409
22409
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ht(a2.tracks[r]));
|
22410
22410
|
return i ? a2.tracks[i] : void 0;
|
22411
22411
|
}
|
22412
22412
|
});
|
22413
|
-
var
|
22413
|
+
var kS = H(createSelector(O, Y, (a2, e) => {
|
22414
22414
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22415
22415
|
let r = a2[i];
|
22416
22416
|
return St(r) && mt(r);
|
22417
22417
|
});
|
22418
22418
|
return t ? a2[t] : void 0;
|
22419
22419
|
}));
|
22420
|
-
var
|
22420
|
+
var ES = H(createSelector(O, Y, (a2, e) => {
|
22421
22421
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22422
22422
|
let r = a2[i];
|
22423
22423
|
return St(r) && ht(r);
|
22424
22424
|
});
|
22425
22425
|
return t ? a2[t] : void 0;
|
22426
22426
|
}));
|
22427
|
-
var
|
22427
|
+
var PS = H(createSelector(O, Y, (a2, e) => {
|
22428
22428
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22429
22429
|
let r = a2[i];
|
22430
|
-
return
|
22430
|
+
return oi(r) && ht(r);
|
22431
22431
|
});
|
22432
22432
|
return t ? a2[t] : void 0;
|
22433
22433
|
}));
|
22434
|
-
var
|
22435
|
-
var
|
22436
|
-
var
|
22434
|
+
var Ia = H(createSelector(O, Y, (a2, e) => Be(a2, e)));
|
22435
|
+
var Ra = (a2) => createSelector(Ia(a2), (e) => e.audio);
|
22436
|
+
var AS = H((a2, e) => {
|
22437
22437
|
let t = Y(a2, e);
|
22438
22438
|
return Je(a2, t == null ? void 0 : t.audioTrack);
|
22439
22439
|
});
|
22440
|
-
var
|
22440
|
+
var IS = H((a2, e) => {
|
22441
22441
|
let t = Y(a2, e);
|
22442
22442
|
return Je(a2, t == null ? void 0 : t.videoTrack);
|
22443
22443
|
});
|
22444
|
-
var
|
22444
|
+
var Ha = H((a2, e) => {
|
22445
22445
|
if (e && a2.tracks[e])
|
22446
22446
|
return a2.tracks[e].volume === 0;
|
22447
22447
|
});
|
22448
|
-
var
|
22448
|
+
var RS = H((a2, e) => {
|
22449
22449
|
let t = Y(a2, e);
|
22450
|
-
return
|
22450
|
+
return Ha(t == null ? void 0 : t.audioTrack)(a2);
|
22451
22451
|
});
|
22452
|
-
var
|
22453
|
-
let t =
|
22454
|
-
return
|
22452
|
+
var HS = H((a2, e) => {
|
22453
|
+
let t = Ra(e)(a2);
|
22454
|
+
return Ha(t == null ? void 0 : t.id)(a2);
|
22455
22455
|
});
|
22456
|
-
var
|
22457
|
-
let t =
|
22456
|
+
var Ca = H((a2, e) => {
|
22457
|
+
let t = Yr(a2, e);
|
22458
22458
|
if (t) {
|
22459
22459
|
if (t.type !== "audio") {
|
22460
22460
|
b.w("Please pass audio track here");
|
@@ -22463,16 +22463,16 @@ var Ha = H((a2, e) => {
|
|
22463
22463
|
return t.volume;
|
22464
22464
|
}
|
22465
22465
|
});
|
22466
|
-
var
|
22466
|
+
var CS = H((a2, e) => {
|
22467
22467
|
let t = Y(a2, e);
|
22468
|
-
return
|
22468
|
+
return Ca(t == null ? void 0 : t.audioTrack)(a2);
|
22469
22469
|
});
|
22470
|
-
var
|
22471
|
-
let t =
|
22472
|
-
return
|
22470
|
+
var LS = H((a2, e) => {
|
22471
|
+
let t = Ra(e)(a2);
|
22472
|
+
return Ca(t == null ? void 0 : t.id)(a2);
|
22473
22473
|
});
|
22474
|
-
var
|
22475
|
-
let t =
|
22474
|
+
var DS = H((a2, e) => {
|
22475
|
+
let t = Yr(a2, e);
|
22476
22476
|
if (t) {
|
22477
22477
|
if (t.type !== "video") {
|
22478
22478
|
b.w("Please pass video track here");
|
@@ -22481,50 +22481,50 @@ var IS = H((a2, e) => {
|
|
22481
22481
|
return t.layer;
|
22482
22482
|
}
|
22483
22483
|
});
|
22484
|
-
var
|
22484
|
+
var La = createSelector([Ct, Pe, zr], (a2, e, t) => {
|
22485
22485
|
if (t)
|
22486
22486
|
return a2.filter((i) => {
|
22487
22487
|
var r;
|
22488
22488
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22489
22489
|
});
|
22490
22490
|
});
|
22491
|
-
var
|
22491
|
+
var Da = createSelector([Ct, Pa], (a2, e) => {
|
22492
22492
|
if (e)
|
22493
22493
|
return a2.filter((t) => {
|
22494
22494
|
var i, r;
|
22495
22495
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22496
22496
|
});
|
22497
22497
|
});
|
22498
|
-
var
|
22498
|
+
var an = createSelector(Ct, (a2) => a2.filter((e) => {
|
22499
22499
|
var t;
|
22500
22500
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22501
22501
|
}));
|
22502
|
-
var
|
22503
|
-
var
|
22504
|
-
var
|
22505
|
-
var
|
22506
|
-
var
|
22507
|
-
var
|
22508
|
-
var
|
22509
|
-
var
|
22510
|
-
var
|
22502
|
+
var on = createSelector([Da, Pa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22503
|
+
var nn = createSelector([La, zr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22504
|
+
var wS = createSelector(an, (a2) => a2.filter((e) => !e.read).length);
|
22505
|
+
var _S = H(La);
|
22506
|
+
var NS = H(Da);
|
22507
|
+
var OS = H(on);
|
22508
|
+
var xS = H(nn);
|
22509
|
+
var wa = H(en);
|
22510
|
+
var QS = createSelector([z, O], (a2, e) => Object.values(a2).map((i) => {
|
22511
22511
|
var r;
|
22512
22512
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22513
22513
|
}));
|
22514
|
-
var
|
22515
|
-
var
|
22516
|
-
var
|
22517
|
-
var
|
22518
|
-
var
|
22514
|
+
var cn = (a2) => a2.roleChangeRequests[0] || null;
|
22515
|
+
var zS = createSelector([cn, z, Me], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22516
|
+
var YS = createSelector([ot], (a2) => gt(a2));
|
22517
|
+
var XS = createSelector([ua], (a2) => gt(a2));
|
22518
|
+
var ln = createSelector([Z, O], (a2, e) => {
|
22519
22519
|
let t = null;
|
22520
22520
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22521
22521
|
});
|
22522
|
-
var
|
22522
|
+
var un = createSelector([ce, O], (a2, e) => {
|
22523
22523
|
let t = null;
|
22524
22524
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22525
22525
|
});
|
22526
|
-
var
|
22527
|
-
var
|
22526
|
+
var mn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(mn || {});
|
22527
|
+
var is = class {
|
22528
22528
|
constructor() {
|
22529
22529
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22530
22530
|
this.failedEvents = new Se("client-events");
|
@@ -22543,7 +22543,7 @@ var ts = class {
|
|
22543
22543
|
this.addEventToStorage(e);
|
22544
22544
|
return;
|
22545
22545
|
}
|
22546
|
-
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" ?
|
22546
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? zs : Ys;
|
22547
22547
|
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) => {
|
22548
22548
|
if (r.status === 401) {
|
22549
22549
|
this.removeFromStorage(e);
|
@@ -22569,8 +22569,8 @@ var ts = class {
|
|
22569
22569
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22570
22570
|
}
|
22571
22571
|
};
|
22572
|
-
var Ae = new
|
22573
|
-
var
|
22572
|
+
var Ae = new is();
|
22573
|
+
var Gt = class {
|
22574
22574
|
static handleError(e) {
|
22575
22575
|
if (e.status === 404)
|
22576
22576
|
throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
|
@@ -22596,67 +22596,67 @@ var Ft = class {
|
|
22596
22596
|
});
|
22597
22597
|
}
|
22598
22598
|
};
|
22599
|
-
|
22600
|
-
var
|
22601
|
-
var
|
22602
|
-
var
|
22599
|
+
Gt.TAG = "[FeedbackService]";
|
22600
|
+
var rs = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(rs || {});
|
22601
|
+
var Q = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(Q || {});
|
22602
|
+
var or = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(or || {});
|
22603
22603
|
var ut = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ut || {});
|
22604
|
-
var
|
22605
|
-
var
|
22606
|
-
var
|
22607
|
-
var
|
22608
|
-
var
|
22609
|
-
var
|
22610
|
-
var
|
22611
|
-
var
|
22612
|
-
var Re = createSelector([
|
22613
|
-
var
|
22604
|
+
var _n = (a2) => a2.localPeer.id;
|
22605
|
+
var Nn = (a2) => a2.localPeer.audioTrack;
|
22606
|
+
var On = (a2) => a2.localPeer.videoTrack;
|
22607
|
+
var xn = (a2, e) => e;
|
22608
|
+
var io = (a2, e) => e;
|
22609
|
+
var Un = (a2) => a2.remoteTrackStats;
|
22610
|
+
var ro = (a2) => a2.peerStats;
|
22611
|
+
var ns = (a2) => a2.localTrackStats;
|
22612
|
+
var Re = createSelector([ro, _n], (a2, e) => a2[e]);
|
22613
|
+
var Bn = createSelector(Re, (a2) => {
|
22614
22614
|
var e;
|
22615
22615
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22616
22616
|
});
|
22617
|
-
var
|
22617
|
+
var Vn = createSelector(Re, (a2) => {
|
22618
22618
|
var e;
|
22619
22619
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22620
22620
|
});
|
22621
|
-
var
|
22621
|
+
var Fn = createSelector(Re, (a2) => {
|
22622
22622
|
var e;
|
22623
22623
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22624
22624
|
});
|
22625
|
-
var
|
22625
|
+
var Gn = createSelector(Re, (a2) => {
|
22626
22626
|
var e;
|
22627
22627
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22628
22628
|
});
|
22629
|
-
var
|
22629
|
+
var Wn = createSelector(Re, (a2) => {
|
22630
22630
|
var e;
|
22631
22631
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22632
22632
|
});
|
22633
|
-
var
|
22633
|
+
var $n = createSelector(Re, (a2) => {
|
22634
22634
|
var e;
|
22635
22635
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22636
22636
|
});
|
22637
|
-
var
|
22637
|
+
var Kn = createSelector(Re, (a2) => {
|
22638
22638
|
var e;
|
22639
22639
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22640
22640
|
});
|
22641
|
-
var
|
22641
|
+
var qn = createSelector(Re, (a2) => {
|
22642
22642
|
var e;
|
22643
22643
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22644
22644
|
});
|
22645
|
-
var
|
22646
|
-
var
|
22647
|
-
var
|
22648
|
-
var Jn = H(qn);
|
22645
|
+
var jn = createSelector([ro, xn], (a2, e) => e ? a2[e] : void 0);
|
22646
|
+
var Jn = createSelector([Un, io], (a2, e) => e ? a2[e] : void 0);
|
22647
|
+
var cs = createSelector([ns, io], (a2, e) => e ? a2[e] : void 0);
|
22649
22648
|
var Qn = H(jn);
|
22650
|
-
var zn =
|
22649
|
+
var zn = H(Jn);
|
22650
|
+
var Yn = createSelector([ns, Nn], (a2, e) => {
|
22651
22651
|
var t;
|
22652
22652
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22653
22653
|
});
|
22654
|
-
var
|
22655
|
-
var
|
22654
|
+
var Xn = H(createSelector(cs, (a2) => a2 == null ? void 0 : a2[0]));
|
22655
|
+
var Zn = createSelector([ns, On], (a2, e) => {
|
22656
22656
|
var t;
|
22657
22657
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22658
22658
|
});
|
22659
|
-
var
|
22659
|
+
var ec = H(createSelector(cs, (a2) => a2));
|
22660
22660
|
|
22661
22661
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22662
22662
|
import {
|
@@ -22775,7 +22775,7 @@ var RecordingStatus = () => {
|
|
22775
22775
|
};
|
22776
22776
|
var RecordingPauseStatus = () => {
|
22777
22777
|
const recording = useHMSStore29(selectRecordingState2);
|
22778
|
-
if (recording.hls && recording.hls.state ===
|
22778
|
+
if (recording.hls && recording.hls.state === _s.PAUSED) {
|
22779
22779
|
return /* @__PURE__ */ React64.createElement(
|
22780
22780
|
Tooltip,
|
22781
22781
|
{
|
@@ -27615,7 +27615,7 @@ var Chat = () => {
|
|
27615
27615
|
const listRef = useRef26(null);
|
27616
27616
|
const hmsActions = useHMSActions43();
|
27617
27617
|
const vanillaStore = useHMSVanillaStore11();
|
27618
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
27618
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(dS("chatState" /* CHAT_STATE */)) || {};
|
27619
27619
|
const isMobile = useMedia21(config.media.md);
|
27620
27620
|
const isMobileHLSStream = useMobileHLSStream();
|
27621
27621
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27705,7 +27705,7 @@ var NewMessageIndicator = ({
|
|
27705
27705
|
scrollToBottom,
|
27706
27706
|
listRef
|
27707
27707
|
}) => {
|
27708
|
-
const unreadCount = useHMSStore61(
|
27708
|
+
const unreadCount = useHMSStore61(Lm);
|
27709
27709
|
if (!unreadCount || !listRef.current) {
|
27710
27710
|
return null;
|
27711
27711
|
}
|
@@ -28727,12 +28727,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28727
28727
|
const roomState = useHMSStore69(selectRoomState5);
|
28728
28728
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
28729
28729
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28730
|
-
const isEffectsEnabled = useHMSStore69(
|
28731
|
-
const effectsKey = useHMSStore69(
|
28730
|
+
const isEffectsEnabled = useHMSStore69($m);
|
28731
|
+
const effectsKey = useHMSStore69(qm);
|
28732
28732
|
const isMobile = useMedia25(config.media.md);
|
28733
28733
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28734
28734
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
28735
|
-
const background = useHMSStore69(
|
28735
|
+
const background = useHMSStore69(cS(APP_DATA.background));
|
28736
28736
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28737
28737
|
const pluginLoadingRef = useRef27(false);
|
28738
28738
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -34577,8 +34577,8 @@ import { useEffect as useEffect76 } from "react";
|
|
34577
34577
|
import { useAwayNotifications as useAwayNotifications5, useHMSNotifications as useHMSNotifications8, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
|
34578
34578
|
var MessageNotifications = () => {
|
34579
34579
|
var _a7, _b7;
|
34580
|
-
const notification = useHMSNotifications8(
|
34581
|
-
const amIScreenSharing = useHMSStore92(
|
34580
|
+
const notification = useHMSNotifications8(Mr.NEW_MESSAGE);
|
34581
|
+
const amIScreenSharing = useHMSStore92(Jr);
|
34582
34582
|
const logoURL = (_b7 = (_a7 = useRoomLayout()) == null ? void 0 : _a7.logo) == null ? void 0 : _b7.url;
|
34583
34583
|
const { pipWindow } = usePIPWindow();
|
34584
34584
|
const { showNotification } = useAwayNotifications5();
|