@100mslive/roomkit-react 0.3.20-alpha.2 → 0.3.20-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-6UIKXBYL.css → HLSView-KKVZM355.css} +3 -3
- package/dist/{HLSView-6UIKXBYL.css.map → HLSView-KKVZM355.css.map} +1 -1
- package/dist/{HLSView-3MZRLTM4.js → HLSView-YFTHW2VY.js} +2 -2
- package/dist/{chunk-ZVQJMV44.js → chunk-Y3UYAB6J.js} +318 -318
- package/dist/{chunk-ZVQJMV44.js.map → chunk-Y3UYAB6J.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +315 -315
- 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 +1 -1
- package/dist/meta.cjs.json +23 -23
- package/dist/meta.esbuild.json +33 -33
- package/package.json +7 -7
- /package/dist/{HLSView-3MZRLTM4.js.map → HLSView-YFTHW2VY.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -35,8 +35,8 @@ var __objRest = (source, exclude) => {
|
|
35
35
|
}
|
36
36
|
return target;
|
37
37
|
};
|
38
|
-
var __esm = (
|
39
|
-
return
|
38
|
+
var __esm = (fn, res) => function __init() {
|
39
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
40
40
|
};
|
41
41
|
var __commonJS = (cb, mod) => function __require() {
|
42
42
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
109
109
|
var define_process_env_default;
|
110
110
|
var init_define_process_env = __esm({
|
111
111
|
"<define:process.env>"() {
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.10-alpha.2", 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.20-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.20-alpha.2", 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.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", 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: "602", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.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.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20512", 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.20-alpha.2", 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: "10849904308", 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: "af10282af58c6f480c9727a88a434aabfcb7f3c6", 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: "732f3e2f747eefed9d759401c9eedd334724e0749fe923f16fc6404a44c7f348", 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--1726233716409-0.6084418377623888:/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--1726233716219-0.030380637235246866:/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--1726233690771-0.8239940001672474:/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--1726233690567-0.8244189350058768:/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_7357e856-45e2-40aa-ae38-b03828373576", INVOCATION_ID: "0345ae1e36454a4da1c9f5dabbc38131", 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: "671", 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 477", 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.1.12297006", 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.20-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-alpha.2", 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: "af10282af58c6f480c9727a88a434aabfcb7f3c6", 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_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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_34501c7f-df66-4eff-a559-9c1ceb3565f4", 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.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_34501c7f-df66-4eff-a559-9c1ceb3565f4" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.10-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.20-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.20-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.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", 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: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240908.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.7/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18990", 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.20-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: "10916945557", 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: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", 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: "9fab33a4baf3b773cc76975b6479e7ba586b4e20690fc892078f51876bb2b8d8", 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--1726641890325-0.27237376005150304:/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--1726641890123-0.4112577750257449:/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--1726641864483-0.6107801977411564:/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--1726641864302-0.6057361361633993:/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_8754bda5-14c7-4824-a02e-12e1ca0902dc", INVOCATION_ID: "ba1abf96d96d49439c675220f67e7172", 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: "672", 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 40", 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.1.12297006", 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.20-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.20-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: "7432edcc726ca36bf1ffeab7e0ab8ab16f461ac3", 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_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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_e0bdbab7-b112-42b5-98c4-6b7daa069b10", 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.1.12297006", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e0bdbab7-b112-42b5-98c4-6b7daa069b10" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -2644,8 +2644,8 @@ var init_useBorderAudioLevel = __esm({
|
|
2644
2644
|
import_react19 = require("react");
|
2645
2645
|
import_react_sdk3 = require("@100mslive/react-sdk");
|
2646
2646
|
init_Theme();
|
2647
|
-
sigmoid = (
|
2648
|
-
return 1 / (1 + Math.exp(-
|
2647
|
+
sigmoid = (z) => {
|
2648
|
+
return 1 / (1 + Math.exp(-z));
|
2649
2649
|
};
|
2650
2650
|
}
|
2651
2651
|
});
|
@@ -6311,8 +6311,8 @@ var require_lodash = __commonJS({
|
|
6311
6311
|
function createBind(func, bitmask, thisArg) {
|
6312
6312
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
6313
6313
|
function wrapper() {
|
6314
|
-
var
|
6315
|
-
return
|
6314
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
6315
|
+
return fn.apply(isBind ? thisArg : this, arguments);
|
6316
6316
|
}
|
6317
6317
|
return wrapper;
|
6318
6318
|
}
|
@@ -6378,8 +6378,8 @@ var require_lodash = __commonJS({
|
|
6378
6378
|
arity - length
|
6379
6379
|
);
|
6380
6380
|
}
|
6381
|
-
var
|
6382
|
-
return apply(
|
6381
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
6382
|
+
return apply(fn, this, args);
|
6383
6383
|
}
|
6384
6384
|
return wrapper;
|
6385
6385
|
}
|
@@ -6467,7 +6467,7 @@ var require_lodash = __commonJS({
|
|
6467
6467
|
arity - length
|
6468
6468
|
);
|
6469
6469
|
}
|
6470
|
-
var thisBinding = isBind ? thisArg : this,
|
6470
|
+
var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
|
6471
6471
|
length = args.length;
|
6472
6472
|
if (argPos) {
|
6473
6473
|
args = reorder(args, argPos);
|
@@ -6478,9 +6478,9 @@ var require_lodash = __commonJS({
|
|
6478
6478
|
args.length = ary2;
|
6479
6479
|
}
|
6480
6480
|
if (this && this !== root && this instanceof wrapper) {
|
6481
|
-
|
6481
|
+
fn = Ctor || createCtor(fn);
|
6482
6482
|
}
|
6483
|
-
return
|
6483
|
+
return fn.apply(thisBinding, args);
|
6484
6484
|
}
|
6485
6485
|
return wrapper;
|
6486
6486
|
}
|
@@ -6537,14 +6537,14 @@ var require_lodash = __commonJS({
|
|
6537
6537
|
function createPartial(func, bitmask, thisArg, partials) {
|
6538
6538
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
6539
6539
|
function wrapper() {
|
6540
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
6540
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
6541
6541
|
while (++leftIndex < leftLength) {
|
6542
6542
|
args[leftIndex] = partials[leftIndex];
|
6543
6543
|
}
|
6544
6544
|
while (argsLength--) {
|
6545
6545
|
args[leftIndex++] = arguments[++argsIndex];
|
6546
6546
|
}
|
6547
|
-
return apply(
|
6547
|
+
return apply(fn, isBind ? thisArg : this, args);
|
6548
6548
|
}
|
6549
6549
|
return wrapper;
|
6550
6550
|
}
|
@@ -16154,7 +16154,7 @@ var require_ua_parser = __commonJS({
|
|
16154
16154
|
}
|
16155
16155
|
};
|
16156
16156
|
var rgxMapper = function(ua2, arrays) {
|
16157
|
-
var i = 0, j2, k, p,
|
16157
|
+
var i = 0, j2, k, p, q, matches, match18;
|
16158
16158
|
while (i < arrays.length && !matches) {
|
16159
16159
|
var regex = arrays[i], props = arrays[i + 1];
|
16160
16160
|
j2 = k = 0;
|
@@ -16166,25 +16166,25 @@ var require_ua_parser = __commonJS({
|
|
16166
16166
|
if (!!matches) {
|
16167
16167
|
for (p = 0; p < props.length; p++) {
|
16168
16168
|
match18 = matches[++k];
|
16169
|
-
|
16170
|
-
if (typeof
|
16171
|
-
if (
|
16172
|
-
if (typeof
|
16173
|
-
this[
|
16169
|
+
q = props[p];
|
16170
|
+
if (typeof q === OBJ_TYPE && q.length > 0) {
|
16171
|
+
if (q.length === 2) {
|
16172
|
+
if (typeof q[1] == FUNC_TYPE) {
|
16173
|
+
this[q[0]] = q[1].call(this, match18);
|
16174
16174
|
} else {
|
16175
|
-
this[
|
16175
|
+
this[q[0]] = q[1];
|
16176
16176
|
}
|
16177
|
-
} else if (
|
16178
|
-
if (typeof
|
16179
|
-
this[
|
16177
|
+
} else if (q.length === 3) {
|
16178
|
+
if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {
|
16179
|
+
this[q[0]] = match18 ? q[1].call(this, match18, q[2]) : undefined2;
|
16180
16180
|
} else {
|
16181
|
-
this[
|
16181
|
+
this[q[0]] = match18 ? match18.replace(q[1], q[2]) : undefined2;
|
16182
16182
|
}
|
16183
|
-
} else if (
|
16184
|
-
this[
|
16183
|
+
} else if (q.length === 4) {
|
16184
|
+
this[q[0]] = match18 ? q[3].call(this, match18.replace(q[1], q[2])) : undefined2;
|
16185
16185
|
}
|
16186
16186
|
} else {
|
16187
|
-
this[
|
16187
|
+
this[q] = match18 ? match18 : undefined2;
|
16188
16188
|
}
|
16189
16189
|
}
|
16190
16190
|
}
|
@@ -18290,7 +18290,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
18290
18290
|
if (typeof c2 !== "object" || c2.mandatory || c2.optional) {
|
18291
18291
|
return c2;
|
18292
18292
|
}
|
18293
|
-
const
|
18293
|
+
const cc2 = {};
|
18294
18294
|
Object.keys(c2).forEach((key) => {
|
18295
18295
|
if (key === "require" || key === "advanced" || key === "mediaSource") {
|
18296
18296
|
return;
|
@@ -18306,35 +18306,35 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
18306
18306
|
return name === "deviceId" ? "sourceId" : name;
|
18307
18307
|
};
|
18308
18308
|
if (r.ideal !== void 0) {
|
18309
|
-
|
18309
|
+
cc2.optional = cc2.optional || [];
|
18310
18310
|
let oc = {};
|
18311
18311
|
if (typeof r.ideal === "number") {
|
18312
18312
|
oc[oldname_("min", key)] = r.ideal;
|
18313
|
-
|
18313
|
+
cc2.optional.push(oc);
|
18314
18314
|
oc = {};
|
18315
18315
|
oc[oldname_("max", key)] = r.ideal;
|
18316
|
-
|
18316
|
+
cc2.optional.push(oc);
|
18317
18317
|
} else {
|
18318
18318
|
oc[oldname_("", key)] = r.ideal;
|
18319
|
-
|
18319
|
+
cc2.optional.push(oc);
|
18320
18320
|
}
|
18321
18321
|
}
|
18322
18322
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
18323
|
-
|
18324
|
-
|
18323
|
+
cc2.mandatory = cc2.mandatory || {};
|
18324
|
+
cc2.mandatory[oldname_("", key)] = r.exact;
|
18325
18325
|
} else {
|
18326
18326
|
["min", "max"].forEach((mix) => {
|
18327
18327
|
if (r[mix] !== void 0) {
|
18328
|
-
|
18329
|
-
|
18328
|
+
cc2.mandatory = cc2.mandatory || {};
|
18329
|
+
cc2.mandatory[oldname_(mix, key)] = r[mix];
|
18330
18330
|
}
|
18331
18331
|
});
|
18332
18332
|
}
|
18333
18333
|
});
|
18334
18334
|
if (c2.advanced) {
|
18335
|
-
|
18335
|
+
cc2.optional = (cc2.optional || []).concat(c2.advanced);
|
18336
18336
|
}
|
18337
|
-
return
|
18337
|
+
return cc2;
|
18338
18338
|
};
|
18339
18339
|
const shimConstraints_ = function(constraints, func) {
|
18340
18340
|
if (browserDetails.version >= 61) {
|
@@ -18511,11 +18511,11 @@ function shimOnTrack(window2) {
|
|
18511
18511
|
get() {
|
18512
18512
|
return this._ontrack;
|
18513
18513
|
},
|
18514
|
-
set(
|
18514
|
+
set(f2) {
|
18515
18515
|
if (this._ontrack) {
|
18516
18516
|
this.removeEventListener("track", this._ontrack);
|
18517
18517
|
}
|
18518
|
-
this.addEventListener("track", this._ontrack =
|
18518
|
+
this.addEventListener("track", this._ontrack = f2);
|
18519
18519
|
},
|
18520
18520
|
enumerable: true,
|
18521
18521
|
configurable: true
|
@@ -19523,12 +19523,12 @@ function shimRemoteStreamsAPI(window2) {
|
|
19523
19523
|
get() {
|
19524
19524
|
return this._onaddstream;
|
19525
19525
|
},
|
19526
|
-
set(
|
19526
|
+
set(f2) {
|
19527
19527
|
if (this._onaddstream) {
|
19528
19528
|
this.removeEventListener("addstream", this._onaddstream);
|
19529
19529
|
this.removeEventListener("track", this._onaddstreampoly);
|
19530
19530
|
}
|
19531
|
-
this.addEventListener("addstream", this._onaddstream =
|
19531
|
+
this.addEventListener("addstream", this._onaddstream = f2);
|
19532
19532
|
this.addEventListener("track", this._onaddstreampoly = (e) => {
|
19533
19533
|
e.streams.forEach((stream) => {
|
19534
19534
|
if (!this._remoteStreams) {
|
@@ -21319,8 +21319,8 @@ var require_grammar = __commonJS({
|
|
21319
21319
|
var require_parser = __commonJS({
|
21320
21320
|
"../../node_modules/sdp-transform/lib/parser.js"(exports) {
|
21321
21321
|
init_define_process_env();
|
21322
|
-
var toIntIfInt = function(
|
21323
|
-
return String(Number(
|
21322
|
+
var toIntIfInt = function(v) {
|
21323
|
+
return String(Number(v)) === v ? Number(v) : v;
|
21324
21324
|
};
|
21325
21325
|
var attachProperties = function(match18, location, names, rawName) {
|
21326
21326
|
if (rawName && !names) {
|
@@ -21572,7 +21572,7 @@ function si(a2) {
|
|
21572
21572
|
function mt(a2) {
|
21573
21573
|
return a2 && a2.source === "videoplaylist";
|
21574
21574
|
}
|
21575
|
-
function
|
21575
|
+
function ls(a2) {
|
21576
21576
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21577
21577
|
}
|
21578
21578
|
function je(a2, e) {
|
@@ -21590,15 +21590,15 @@ function lo() {
|
|
21590
21590
|
}
|
21591
21591
|
return "CUSTOM";
|
21592
21592
|
}
|
21593
|
-
function
|
21593
|
+
function ce(a2) {
|
21594
21594
|
return a2 != null;
|
21595
21595
|
}
|
21596
21596
|
function vt(a2 = "prod", e) {
|
21597
21597
|
let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21598
21598
|
if (Be)
|
21599
|
-
return
|
21599
|
+
return As({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Is, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21600
21600
|
let r = he.getOS(), s = he.getDevice(), o = he.getBrowser(), n = kr(`web_${r.name}`), d = r.version || "", u = kr(`${o.name}_${o.version}`), p = u;
|
21601
|
-
return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`),
|
21601
|
+
return s.type && (p = `${kr(`${s.vendor}_${s.type}`)}/${u}`), As({ os: n, os_version: d, sdk: t, sdk_version: Is, device_model: p, env: i, domain: Qe, 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 });
|
21602
21602
|
}
|
21603
21603
|
function kr(a2) {
|
21604
21604
|
return a2.replace(/ /g, "_");
|
@@ -21613,16 +21613,16 @@ function ci(a2, e = 300) {
|
|
21613
21613
|
}, e);
|
21614
21614
|
};
|
21615
21615
|
}
|
21616
|
-
function
|
21616
|
+
function R(a2) {
|
21617
21617
|
return (e) => (t) => a2(t, e);
|
21618
21618
|
}
|
21619
|
-
function
|
21619
|
+
function Jm(a2) {
|
21620
21620
|
return (e) => {
|
21621
21621
|
if (e.sessionStore)
|
21622
21622
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
21623
21623
|
};
|
21624
21624
|
}
|
21625
|
-
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, jt, import_eventemitter24, import_uuid9, import_uuid10, Xa, Za, eo, ti,
|
21625
|
+
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, jt, import_eventemitter24, import_uuid9, import_uuid10, Xa, Za, eo, ti, os, ns, as, m, y, gr, ro, c, yr, Tr, so, cs, fr, ds, ps, oo, l, he, B, hs, Be, co, cc, ms, Ss, Ms, gs, Ts, ys, ks, Qe, P4, f, uo, S, Mr, Es, me, ai, Is, As, C, E, Er, Y, Pr, br, Rr, Ls, ws, Ds, _s, Ns, Hr, Os, Cr, Vs, Lr, Fs, wr, Dr, $s, Ks, Pt, rt, V, _o, Zh, em, j, Mi, ea, O, Gr, No, Oe, rm, Oo, fe, xo, ie, Ee, sm, am, ne, X, Uo, ia, om, nm, $r, Bo, dm, lm, um, pm, hm, mm, Sm, gm, Rt, Vo, Tm, re, sa, fm, vm, ve, Mm, at, Fo, aa, ym, oa, km, Em, Pm, bm, Im, Am, Rm, Hm, Cm, Lm, na, Nm, Go, Om, da, Kr, la, ua, pa, ha, ma, Sa, ga, Ta, Ht, b, qr, Ct, fa, Wo, $o, J, jr, Ko, qo, jo, Jo, Qo, Z, jm, zm, Ym, yi, va, Xm, Zm, eS, zo, Yo, iS, Ma, rS, Xo, sS, aS, oS, nS, cS, dS, ya, ka, uS, pS, Ea, hS, mS, Pa, SS, gS, TS, ba, Ia, Zo, en, tn, fS, vS, MS, yS, kS, Aa, _S, rn, NS, OS, xS, an, on, dn, Xr, be, Vt, Q, sr, lt, Hn, Cn, Ln, wn, za, Dn, Ya, is, Ae, _n, Nn, On, xn, Un, Bn, Vn, Fn, Gn, Wn, rs, $n, Kn, qn, jn, Jn, Qn;
|
21626
21626
|
var init_dist = __esm({
|
21627
21627
|
"../hms-video-store/dist/index.js"() {
|
21628
21628
|
"use strict";
|
@@ -21654,25 +21654,25 @@ var init_dist = __esm({
|
|
21654
21654
|
Za = Object.defineProperties;
|
21655
21655
|
eo = Object.getOwnPropertyDescriptors;
|
21656
21656
|
ti = Object.getOwnPropertySymbols;
|
21657
|
-
|
21658
|
-
|
21659
|
-
|
21657
|
+
os = Object.prototype.hasOwnProperty;
|
21658
|
+
ns = Object.prototype.propertyIsEnumerable;
|
21659
|
+
as = (a2, e, t) => e in a2 ? Xa(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21660
21660
|
m = (a2, e) => {
|
21661
21661
|
for (var t in e || (e = {}))
|
21662
|
-
|
21662
|
+
os.call(e, t) && as(a2, t, e[t]);
|
21663
21663
|
if (ti)
|
21664
21664
|
for (var t of ti(e))
|
21665
|
-
|
21665
|
+
ns.call(e, t) && as(a2, t, e[t]);
|
21666
21666
|
return a2;
|
21667
21667
|
};
|
21668
|
-
|
21668
|
+
y = (a2, e) => Za(a2, eo(e));
|
21669
21669
|
gr = (a2, e) => {
|
21670
21670
|
var t = {};
|
21671
21671
|
for (var i in a2)
|
21672
|
-
|
21672
|
+
os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21673
21673
|
if (a2 != null && ti)
|
21674
21674
|
for (var i of ti(a2))
|
21675
|
-
e.indexOf(i) < 0 &&
|
21675
|
+
e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
|
21676
21676
|
return t;
|
21677
21677
|
};
|
21678
21678
|
ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
@@ -21692,15 +21692,15 @@ var init_dist = __esm({
|
|
21692
21692
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21693
21693
|
n((t = t.apply(a2, e)).next());
|
21694
21694
|
});
|
21695
|
-
yr = ro((
|
21696
|
-
ho.exports = { version: "0.12.20-alpha.
|
21695
|
+
yr = ro((_c, ho) => {
|
21696
|
+
ho.exports = { version: "0.12.20-alpha.3", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
21697
21697
|
});
|
21698
21698
|
Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
|
21699
21699
|
so = ((e) => (e.CHAT = "chat", e))(so || {});
|
21700
|
-
|
21700
|
+
cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
|
21701
21701
|
fr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(fr || {});
|
21702
|
-
|
21703
|
-
|
21702
|
+
ds = ((t) => (t.audio = "audio", t.video = "video", t))(ds || {});
|
21703
|
+
ps = ((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))(ps || {});
|
21704
21704
|
oo = typeof window != "undefined" && typeof window.expect != "undefined";
|
21705
21705
|
l = class {
|
21706
21706
|
static v(e, ...t) {
|
@@ -21770,15 +21770,15 @@ var init_dist = __esm({
|
|
21770
21770
|
l.level = oo ? 7 : 0;
|
21771
21771
|
he = new import_ua_parser_js.UAParser();
|
21772
21772
|
B = typeof window != "undefined";
|
21773
|
-
Be = typeof window == "undefined" && !((
|
21773
|
+
Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
|
21774
21774
|
co = () => !Be;
|
21775
|
-
|
21776
|
-
|
21777
|
-
|
21778
|
-
|
21775
|
+
cc = co();
|
21776
|
+
Ms = (Ss = (ms = he.getBrowser()) == null ? void 0 : ms.name) == null ? void 0 : Ss.toLowerCase().includes("safari");
|
21777
|
+
ys = ((Ts = (gs = he.getBrowser()) == null ? void 0 : gs.name) == null ? void 0 : Ts.toLowerCase()) === "firefox";
|
21778
|
+
ks = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(ks || {});
|
21779
21779
|
Qe = lo();
|
21780
21780
|
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 }, 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 } };
|
21781
|
-
|
21781
|
+
f = class a extends Error {
|
21782
21782
|
constructor(t, i, r, s, o, n = false) {
|
21783
21783
|
super(s);
|
21784
21784
|
this.code = t;
|
@@ -21809,111 +21809,111 @@ var init_dist = __esm({
|
|
21809
21809
|
};
|
21810
21810
|
uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21811
21811
|
S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21812
|
-
return new
|
21812
|
+
return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21813
21813
|
}, WebSocketConnectionLost(a2, e = "") {
|
21814
|
-
return new
|
21814
|
+
return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21815
21815
|
}, AbnormalClose(a2, e = "") {
|
21816
|
-
return new
|
21816
|
+
return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21817
21817
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21818
|
-
return new
|
21818
|
+
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21819
21819
|
}, EndpointUnreachable(a2, e = "") {
|
21820
|
-
return new
|
21820
|
+
return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21821
21821
|
}, InvalidTokenFormat(a2, e = "") {
|
21822
|
-
return new
|
21822
|
+
return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21823
21823
|
}, InitConfigNotAvailable(a2, e = "") {
|
21824
|
-
return new
|
21824
|
+
return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21825
21825
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21826
|
-
return new
|
21826
|
+
return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21827
21827
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21828
|
-
return new
|
21828
|
+
return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21829
21829
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21830
|
-
return new
|
21830
|
+
return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21831
21831
|
}, DeviceInUse(a2, e, t = "") {
|
21832
|
-
return new
|
21832
|
+
return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21833
21833
|
}, DeviceLostMidway(a2, e, t = "") {
|
21834
|
-
return new
|
21834
|
+
return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21835
21835
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21836
|
-
return new
|
21836
|
+
return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21837
21837
|
}, InvalidVideoSettings(a2, e = "") {
|
21838
|
-
return new
|
21838
|
+
return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21839
21839
|
}, AutoplayBlocked(a2, e = "") {
|
21840
|
-
return new
|
21840
|
+
return new f(P4.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a2, "Autoplay blocked because the user didn't interact with the document first", e);
|
21841
21841
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21842
|
-
return new
|
21842
|
+
return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21843
21843
|
}, OverConstrained(a2, e, t = "") {
|
21844
|
-
return new
|
21844
|
+
return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21845
21845
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21846
|
-
return new
|
21846
|
+
return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21847
21847
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21848
|
-
return new
|
21848
|
+
return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21849
21849
|
}, CurrentTabNotShared() {
|
21850
|
-
return new
|
21850
|
+
return new f(P4.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
21851
21851
|
}, AudioPlaybackError(a2) {
|
21852
|
-
return new
|
21852
|
+
return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21853
21853
|
}, SelectedDeviceMissing(a2) {
|
21854
|
-
return new
|
21854
|
+
return new f(P4.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a2} device`, `Please check connection to the ${a2} device`, false);
|
21855
21855
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21856
|
-
return new
|
21856
|
+
return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21857
21857
|
}, CreateAnswerFailed(a2, e = "") {
|
21858
|
-
return new
|
21858
|
+
return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21859
21859
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21860
|
-
return new
|
21860
|
+
return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21861
21861
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21862
|
-
return new
|
21862
|
+
return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21863
21863
|
}, ICEFailure(a2, e = "", t = false) {
|
21864
|
-
return new
|
21864
|
+
return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21865
21865
|
}, ICEDisconnected(a2, e = "") {
|
21866
|
-
return new
|
21866
|
+
return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21867
21867
|
}, StatsFailed(a2, e = "") {
|
21868
|
-
return new
|
21868
|
+
return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21869
21869
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21870
|
-
return new
|
21870
|
+
return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
|
21871
21871
|
}, AlreadyJoined(a2, e = "") {
|
21872
|
-
return new
|
21872
|
+
return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21873
21873
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21874
|
-
return new
|
21874
|
+
return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21875
21875
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21876
|
-
return new
|
21876
|
+
return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21877
21877
|
}, Signalling(a2, e) {
|
21878
|
-
return new
|
21878
|
+
return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21879
21879
|
}, Unknown(a2, e) {
|
21880
|
-
return new
|
21880
|
+
return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21881
21881
|
}, NotReady(a2, e = "") {
|
21882
|
-
return new
|
21882
|
+
return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21883
21883
|
}, JsonParsingFailed(a2, e, t = "") {
|
21884
|
-
return new
|
21884
|
+
return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21885
21885
|
}, TrackMetadataMissing(a2, e = "") {
|
21886
|
-
return new
|
21886
|
+
return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21887
21887
|
}, RTCTrackMissing(a2, e = "") {
|
21888
|
-
return new
|
21888
|
+
return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21889
21889
|
}, PeerMetadataMissing(a2, e = "") {
|
21890
|
-
return new
|
21890
|
+
return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21891
21891
|
}, ValidationFailed(a2, e) {
|
21892
|
-
return new
|
21892
|
+
return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21893
21893
|
}, InvalidRole(a2, e) {
|
21894
|
-
return new
|
21894
|
+
return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21895
21895
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21896
|
-
return new
|
21896
|
+
return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21897
21897
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21898
|
-
return new
|
21898
|
+
return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21899
21899
|
}, MissingMediaDevices() {
|
21900
|
-
return new
|
21900
|
+
return new f(P4.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
21901
21901
|
}, MissingRTCPeerConnection() {
|
21902
|
-
return new
|
21902
|
+
return new f(P4.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
21903
21903
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21904
|
-
return new
|
21904
|
+
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21905
21905
|
}, InitFailed(a2, e = "") {
|
21906
|
-
return new
|
21906
|
+
return new f(7002, "InitFailed", a2, "Plugin init failed", e);
|
21907
21907
|
}, ProcessingFailed(a2, e = "") {
|
21908
|
-
return new
|
21908
|
+
return new f(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
|
21909
21909
|
}, AddAlreadyInProgress(a2, e = "") {
|
21910
|
-
return new
|
21910
|
+
return new f(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
|
21911
21911
|
}, DeviceNotSupported(a2, e = "") {
|
21912
|
-
return new
|
21912
|
+
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21913
21913
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21914
|
-
return new
|
21914
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21915
21915
|
}, NoEntryPlaying(a2, e) {
|
21916
|
-
return new
|
21916
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21917
21917
|
} } };
|
21918
21918
|
Mr = class {
|
21919
21919
|
constructor() {
|
@@ -21940,7 +21940,7 @@ var init_dist = __esm({
|
|
21940
21940
|
return this.valuesMap.size;
|
21941
21941
|
}
|
21942
21942
|
};
|
21943
|
-
|
21943
|
+
Es = () => {
|
21944
21944
|
try {
|
21945
21945
|
B && !localStorage && (window.localStorage = new Mr());
|
21946
21946
|
} catch (a2) {
|
@@ -21954,7 +21954,7 @@ var init_dist = __esm({
|
|
21954
21954
|
}
|
21955
21955
|
getStorage() {
|
21956
21956
|
try {
|
21957
|
-
return B && !this.storage && (
|
21957
|
+
return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
|
21958
21958
|
} catch (e) {
|
21959
21959
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21960
21960
|
}
|
@@ -21979,103 +21979,103 @@ var init_dist = __esm({
|
|
21979
21979
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21980
21980
|
};
|
21981
21981
|
Is = yr().version;
|
21982
|
-
|
21983
|
-
|
21982
|
+
As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21983
|
+
C = class {
|
21984
21984
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21985
21985
|
this.metadata = { peer: {}, userAgent: vt() };
|
21986
21986
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = ai();
|
21987
21987
|
}
|
21988
21988
|
toSignalParams() {
|
21989
|
-
return { name: this.name, info:
|
21989
|
+
return { name: this.name, info: y(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
21990
21990
|
}
|
21991
21991
|
};
|
21992
|
-
|
21992
|
+
E = class {
|
21993
21993
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
21994
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(
|
21995
|
-
return new
|
21994
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(y(m({}, t), { [this.KEY_REQUESTED_AT]: i == null ? void 0 : i.getTime(), [this.KEY_RESPONDED_AT]: r == null ? void 0 : r.getTime(), endpoint: s }), e);
|
21995
|
+
return new C({ name: o, level: n, properties: d });
|
21996
21996
|
}
|
21997
21997
|
static disconnect(e, t) {
|
21998
21998
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
21999
|
-
return new
|
21999
|
+
return new C({ name: i, level: r, properties: s });
|
22000
22000
|
}
|
22001
22001
|
static preview(i) {
|
22002
22002
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
22003
22003
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
22004
|
-
return new
|
22004
|
+
return new C({ name: s, level: o, properties: n });
|
22005
22005
|
}
|
22006
22006
|
static join(i) {
|
22007
22007
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
22008
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(
|
22009
|
-
return new
|
22008
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(y(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
22009
|
+
return new C({ name: s, level: o, properties: n });
|
22010
22010
|
}
|
22011
22011
|
static publish({ devices: e, settings: t, error: i }) {
|
22012
22012
|
let r = this.eventNameFor("publish", i === void 0), s = i ? 2 : 1, o = this.getPropertiesWithError({ devices: e, audio: t == null ? void 0 : t.audio, video: t == null ? void 0 : t.video }, i);
|
22013
|
-
return new
|
22013
|
+
return new C({ name: r, level: s, properties: o });
|
22014
22014
|
}
|
22015
22015
|
static hlsPlayerError(e) {
|
22016
|
-
return new
|
22016
|
+
return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
|
22017
22017
|
}
|
22018
22018
|
static subscribeFail(e) {
|
22019
22019
|
let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
|
22020
|
-
return new
|
22020
|
+
return new C({ name: t, level: i, properties: r });
|
22021
22021
|
}
|
22022
22022
|
static leave() {
|
22023
|
-
return new
|
22023
|
+
return new C({ name: "leave", level: 1 });
|
22024
22024
|
}
|
22025
22025
|
static autoplayError() {
|
22026
|
-
return new
|
22026
|
+
return new C({ name: "autoplayError", level: 2 });
|
22027
22027
|
}
|
22028
22028
|
static audioPlaybackError(e) {
|
22029
|
-
return new
|
22029
|
+
return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
22030
22030
|
}
|
22031
22031
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
22032
22032
|
let o = this.eventNameFor(s ? "publish" : `device.${i}`, s === void 0), n = s ? 2 : 1, d = this.getPropertiesWithError({ selection: t, devices: r, isUserSelection: e }, s);
|
22033
|
-
return new
|
22033
|
+
return new C({ name: o, level: n, properties: d });
|
22034
22034
|
}
|
22035
22035
|
static performance(e) {
|
22036
22036
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
22037
|
-
return new
|
22037
|
+
return new C({ name: t, level: i, properties: r });
|
22038
22038
|
}
|
22039
22039
|
static rtcStats(e) {
|
22040
22040
|
let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
|
22041
|
-
return new
|
22041
|
+
return new C({ name: t, level: i, properties: r });
|
22042
22042
|
}
|
22043
22043
|
static rtcStatsFailed(e) {
|
22044
22044
|
let t = "rtc.stats.failed", i = 2;
|
22045
|
-
return new
|
22045
|
+
return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
|
22046
22046
|
}
|
22047
22047
|
static degradationStats(e, t) {
|
22048
22048
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
22049
22049
|
if (!t && e.degradedAt instanceof Date) {
|
22050
22050
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
22051
|
-
s =
|
22051
|
+
s = y(m({}, s), { duration: n, restoredAt: o });
|
22052
22052
|
}
|
22053
|
-
return new
|
22053
|
+
return new C({ name: i, level: r, properties: s });
|
22054
22054
|
}
|
22055
22055
|
static audioDetectionFail(e, t) {
|
22056
22056
|
let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
|
22057
|
-
return new
|
22057
|
+
return new C({ name: s, level: r, properties: i });
|
22058
22058
|
}
|
22059
22059
|
static previewNetworkQuality(e) {
|
22060
|
-
return new
|
22060
|
+
return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
|
22061
22061
|
}
|
22062
22062
|
static publishStats(e) {
|
22063
|
-
return new
|
22063
|
+
return new C({ name: "publisher.stats", level: 1, properties: e });
|
22064
22064
|
}
|
22065
22065
|
static subscribeStats(e) {
|
22066
|
-
return new
|
22066
|
+
return new C({ name: "subscriber.stats", level: 1, properties: e });
|
22067
22067
|
}
|
22068
22068
|
static getKrispUsage(e) {
|
22069
|
-
return new
|
22069
|
+
return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
|
22070
22070
|
}
|
22071
22071
|
static krispStart() {
|
22072
|
-
return new
|
22072
|
+
return new C({ name: "krisp.start", level: 1 });
|
22073
22073
|
}
|
22074
22074
|
static krispStop() {
|
22075
|
-
return new
|
22075
|
+
return new C({ name: "krisp.stop", level: 1 });
|
22076
22076
|
}
|
22077
22077
|
static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
|
22078
|
-
return new
|
22078
|
+
return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
|
22079
22079
|
}
|
22080
22080
|
static eventNameFor(e, t) {
|
22081
22081
|
return `${e}.${t ? "success" : "failed"}`;
|
@@ -22085,10 +22085,10 @@ var init_dist = __esm({
|
|
22085
22085
|
return e = m(m({}, i), e), e;
|
22086
22086
|
}
|
22087
22087
|
static getErrorProperties(e) {
|
22088
|
-
return e ? e instanceof
|
22088
|
+
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
22089
22089
|
}
|
22090
22090
|
};
|
22091
|
-
|
22091
|
+
E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
|
22092
22092
|
Er = class {
|
22093
22093
|
constructor() {
|
22094
22094
|
this.storage = new me("hms-device-selection");
|
@@ -22123,10 +22123,10 @@ var init_dist = __esm({
|
|
22123
22123
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
22124
22124
|
}
|
22125
22125
|
};
|
22126
|
-
|
22126
|
+
Y = new Er();
|
22127
22127
|
Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
|
22128
22128
|
br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
|
22129
|
-
|
22129
|
+
Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
|
22130
22130
|
Ls = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Ls || {});
|
22131
22131
|
ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
|
22132
22132
|
Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
|
@@ -22200,32 +22200,32 @@ var init_dist = __esm({
|
|
22200
22200
|
rt.makePeerId = () => (0, import_uuid7.v4)();
|
22201
22201
|
V = (a2) => a2.room;
|
22202
22202
|
_o = (a2) => a2.errors;
|
22203
|
-
|
22204
|
-
|
22205
|
-
|
22203
|
+
Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22204
|
+
em = createSelector(V, (a2) => a2.id);
|
22205
|
+
j = (a2) => a2.peers;
|
22206
22206
|
Mi = (a2) => a2.messages.byID;
|
22207
22207
|
ea = (a2) => a2.messages.allIDs;
|
22208
22208
|
O = (a2) => a2.tracks;
|
22209
22209
|
Gr = (a2) => a2.appData;
|
22210
22210
|
No = (a2) => a2.speakers;
|
22211
22211
|
Oe = createSelector([V], (a2) => a2 && a2.isConnected);
|
22212
|
-
|
22212
|
+
rm = createSelector([Oe, V], (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));
|
22213
22213
|
Oo = (a2) => a2.hideLocalPeer;
|
22214
|
-
fe = createSelector([V,
|
22214
|
+
fe = createSelector([V, j, Oo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
22215
22215
|
xo = createSelector(O, (a2) => Object.values(a2));
|
22216
|
-
ie = createSelector(V,
|
22216
|
+
ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
|
22217
22217
|
Ee = createSelector(V, (a2) => a2.localPeer);
|
22218
|
-
|
22219
|
-
|
22220
|
-
|
22221
|
-
|
22218
|
+
sm = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
|
22219
|
+
am = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
|
22220
|
+
ne = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
22221
|
+
X = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
22222
22222
|
Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22223
|
-
ia = createSelector([
|
22223
|
+
ia = createSelector([ne, X, Uo], (a2, e, t) => {
|
22224
22224
|
let i = t ? [...t] : [];
|
22225
22225
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22226
22226
|
});
|
22227
|
-
|
22228
|
-
|
22227
|
+
om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
|
22228
|
+
nm = createSelector(j, No, (a2, e) => {
|
22229
22229
|
let t = Object.entries(e).sort((i, r) => {
|
22230
22230
|
var n, d;
|
22231
22231
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22242,7 +22242,7 @@ var init_dist = __esm({
|
|
22242
22242
|
let { video: t, audio: i } = Ue(e, a2);
|
22243
22243
|
return !!(t || i);
|
22244
22244
|
});
|
22245
|
-
Bo = createSelector(
|
22245
|
+
Bo = createSelector(j, O, (a2, e) => {
|
22246
22246
|
let t;
|
22247
22247
|
for (let i in a2) {
|
22248
22248
|
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
@@ -22252,15 +22252,15 @@ var init_dist = __esm({
|
|
22252
22252
|
}
|
22253
22253
|
return t;
|
22254
22254
|
});
|
22255
|
-
|
22256
|
-
|
22255
|
+
dm = createSelector(Bo, (a2) => !!a2);
|
22256
|
+
lm = createSelector(j, O, (a2, e) => {
|
22257
22257
|
for (let t in a2) {
|
22258
22258
|
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
22259
22259
|
if (!s && r)
|
22260
22260
|
return i;
|
22261
22261
|
}
|
22262
22262
|
});
|
22263
|
-
|
22263
|
+
um = createSelector(j, O, (a2, e) => {
|
22264
22264
|
let t = [], i = [];
|
22265
22265
|
for (let r in a2) {
|
22266
22266
|
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
@@ -22268,65 +22268,65 @@ var init_dist = __esm({
|
|
22268
22268
|
}
|
22269
22269
|
return t.concat(i);
|
22270
22270
|
});
|
22271
|
-
|
22271
|
+
pm = createSelector(j, O, (a2, e) => {
|
22272
22272
|
for (let t in e) {
|
22273
22273
|
let i = e[t];
|
22274
22274
|
if (mt(i) && ht(i) && i.peerId)
|
22275
22275
|
return a2[i.peerId];
|
22276
22276
|
}
|
22277
22277
|
});
|
22278
|
-
|
22278
|
+
hm = createSelector(j, O, (a2, e) => {
|
22279
22279
|
for (let t in e) {
|
22280
22280
|
let i = e[t];
|
22281
22281
|
if (si(i) && i.peerId)
|
22282
22282
|
return a2[i.peerId];
|
22283
22283
|
}
|
22284
22284
|
});
|
22285
|
-
|
22286
|
-
|
22287
|
-
|
22288
|
-
|
22285
|
+
mm = createSelector(xo, (a2) => a2.filter(ls));
|
22286
|
+
Sm = createSelector(ea, (a2) => a2.length);
|
22287
|
+
gm = createSelector(Mi, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22288
|
+
Rt = createSelector(ea, Mi, (a2, e) => {
|
22289
22289
|
let t = [];
|
22290
22290
|
return a2.forEach((i) => {
|
22291
22291
|
t.push(e[i]);
|
22292
22292
|
}), t;
|
22293
22293
|
});
|
22294
|
-
Vo = createSelector(
|
22294
|
+
Vo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22295
22295
|
var t;
|
22296
22296
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22297
22297
|
}));
|
22298
|
-
|
22298
|
+
Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
|
22299
22299
|
re = createSelector([V], (a2) => a2 && a2.roomState);
|
22300
22300
|
sa = createSelector(re, (a2) => a2 === "Preview");
|
22301
|
-
|
22302
|
-
|
22301
|
+
fm = createSelector(V, (a2) => a2.roomState !== "Disconnected");
|
22302
|
+
vm = createSelector(V, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22303
22303
|
ve = (a2) => a2.roles;
|
22304
|
-
|
22304
|
+
Mm = createSelector([ve], (a2) => Object.keys(a2));
|
22305
22305
|
at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22306
22306
|
Fo = (a2) => {
|
22307
22307
|
var e;
|
22308
22308
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22309
22309
|
};
|
22310
22310
|
aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
|
22311
|
-
|
22311
|
+
ym = createSelector([at], (a2) => {
|
22312
22312
|
var e;
|
22313
22313
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22314
22314
|
});
|
22315
22315
|
oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
|
22316
|
-
|
22317
|
-
|
22318
|
-
|
22319
|
-
|
22320
|
-
|
22321
|
-
|
22316
|
+
km = createSelector(V, (a2) => a2.recording);
|
22317
|
+
Em = createSelector(V, (a2) => a2.rtmp);
|
22318
|
+
Pm = createSelector(V, (a2) => a2.hls);
|
22319
|
+
bm = createSelector(V, (a2) => a2.transcriptions);
|
22320
|
+
Im = createSelector(V, (a2) => a2.sessionId);
|
22321
|
+
Am = createSelector(V, (a2) => a2.startedAt);
|
22322
22322
|
Rm = createSelector(V, (a2) => !!a2.isLargeRoom);
|
22323
|
-
|
22324
|
-
|
22325
|
-
|
22323
|
+
Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
|
22324
|
+
Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
|
22325
|
+
Lm = createSelector(V, (a2) => a2.effectsKey);
|
22326
22326
|
na = (a2) => a2.polls;
|
22327
|
-
|
22327
|
+
Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
|
22328
22328
|
Go = (a2) => a2.whiteboards;
|
22329
|
-
|
22329
|
+
Om = createSelector(Go, (a2) => Object.values(a2)[0]);
|
22330
22330
|
da = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22331
22331
|
Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22332
22332
|
la = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -22412,7 +22412,7 @@ var init_dist = __esm({
|
|
22412
22412
|
fa = (a2, e) => e;
|
22413
22413
|
Wo = (a2, e) => e;
|
22414
22414
|
$o = (a2, e) => e;
|
22415
|
-
|
22415
|
+
J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
|
22416
22416
|
jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
|
22417
22417
|
Ko = createSelector([O, Ct], (a2, e) => {
|
22418
22418
|
if (!e)
|
@@ -22439,94 +22439,94 @@ var init_dist = __esm({
|
|
22439
22439
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22440
22440
|
});
|
22441
22441
|
Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
|
22442
|
-
|
22443
|
-
|
22442
|
+
Z = R(J);
|
22443
|
+
jm = R(createSelector([Gr, Wo], (a2, e) => {
|
22444
22444
|
if (a2)
|
22445
22445
|
return e ? a2[e] : a2;
|
22446
22446
|
}));
|
22447
|
-
|
22448
|
-
|
22449
|
-
yi =
|
22450
|
-
va =
|
22451
|
-
|
22452
|
-
|
22453
|
-
|
22454
|
-
zo =
|
22455
|
-
let t =
|
22447
|
+
zm = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.name));
|
22448
|
+
Ym = R(createSelector(J, (a2) => a2 == null ? void 0 : a2.type));
|
22449
|
+
yi = R(jr);
|
22450
|
+
va = R(Ko);
|
22451
|
+
Xm = R(qo);
|
22452
|
+
Zm = R(jo);
|
22453
|
+
eS = R(Jo);
|
22454
|
+
zo = R((a2, e) => {
|
22455
|
+
let t = J(a2, e);
|
22456
22456
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22457
22457
|
return a2.tracks[t.videoTrack];
|
22458
22458
|
});
|
22459
|
-
Yo =
|
22460
|
-
let t =
|
22459
|
+
Yo = R((a2, e) => {
|
22460
|
+
let t = J(a2, e);
|
22461
22461
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22462
22462
|
return a2.tracks[t.audioTrack];
|
22463
22463
|
});
|
22464
|
-
|
22465
|
-
let t =
|
22464
|
+
iS = R((a2, e) => {
|
22465
|
+
let t = J(a2, e);
|
22466
22466
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22467
22467
|
});
|
22468
22468
|
Ma = (a2, e) => e ? a2.speakers[e] : null;
|
22469
|
-
|
22469
|
+
rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22470
22470
|
Xo = (a2, e) => {
|
22471
22471
|
let t = Yo(e)(a2);
|
22472
22472
|
return Ma(a2, t == null ? void 0 : t.id);
|
22473
22473
|
};
|
22474
|
-
|
22475
|
-
|
22474
|
+
sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22475
|
+
aS = R((a2, e) => {
|
22476
22476
|
if (e)
|
22477
22477
|
return a2.connectionQualities[e];
|
22478
22478
|
});
|
22479
|
-
|
22480
|
-
let t =
|
22479
|
+
oS = R((a2, e) => {
|
22480
|
+
let t = J(a2, e);
|
22481
22481
|
if (t) {
|
22482
22482
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
|
22483
22483
|
return i ? a2.tracks[i] : void 0;
|
22484
22484
|
}
|
22485
22485
|
});
|
22486
|
-
|
22486
|
+
nS = R(createSelector(O, J, (a2, e) => {
|
22487
22487
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22488
22488
|
let r = a2[i];
|
22489
22489
|
return mt(r) && ht(r);
|
22490
22490
|
});
|
22491
22491
|
return t ? a2[t] : void 0;
|
22492
22492
|
}));
|
22493
|
-
|
22493
|
+
cS = R(createSelector(O, J, (a2, e) => {
|
22494
22494
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22495
22495
|
let r = a2[i];
|
22496
22496
|
return mt(r) && pt(r);
|
22497
22497
|
});
|
22498
22498
|
return t ? a2[t] : void 0;
|
22499
22499
|
}));
|
22500
|
-
|
22500
|
+
dS = R(createSelector(O, J, (a2, e) => {
|
22501
22501
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22502
22502
|
let r = a2[i];
|
22503
22503
|
return si(r) && pt(r);
|
22504
22504
|
});
|
22505
22505
|
return t ? a2[t] : void 0;
|
22506
22506
|
}));
|
22507
|
-
ya =
|
22507
|
+
ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
|
22508
22508
|
ka = (a2) => createSelector(ya(a2), (e) => e.audio);
|
22509
|
-
|
22510
|
-
let t =
|
22509
|
+
uS = R((a2, e) => {
|
22510
|
+
let t = J(a2, e);
|
22511
22511
|
return je(a2, t == null ? void 0 : t.audioTrack);
|
22512
22512
|
});
|
22513
|
-
|
22514
|
-
let t =
|
22513
|
+
pS = R((a2, e) => {
|
22514
|
+
let t = J(a2, e);
|
22515
22515
|
return je(a2, t == null ? void 0 : t.videoTrack);
|
22516
22516
|
});
|
22517
|
-
Ea =
|
22517
|
+
Ea = R((a2, e) => {
|
22518
22518
|
if (e && a2.tracks[e])
|
22519
22519
|
return a2.tracks[e].volume === 0;
|
22520
22520
|
});
|
22521
|
-
|
22522
|
-
let t =
|
22521
|
+
hS = R((a2, e) => {
|
22522
|
+
let t = J(a2, e);
|
22523
22523
|
return Ea(t == null ? void 0 : t.audioTrack)(a2);
|
22524
22524
|
});
|
22525
|
-
|
22525
|
+
mS = R((a2, e) => {
|
22526
22526
|
let t = ka(e)(a2);
|
22527
22527
|
return Ea(t == null ? void 0 : t.id)(a2);
|
22528
22528
|
});
|
22529
|
-
Pa =
|
22529
|
+
Pa = R((a2, e) => {
|
22530
22530
|
let t = jr(a2, e);
|
22531
22531
|
if (t) {
|
22532
22532
|
if (t.type !== "audio") {
|
@@ -22536,15 +22536,15 @@ var init_dist = __esm({
|
|
22536
22536
|
return t.volume;
|
22537
22537
|
}
|
22538
22538
|
});
|
22539
|
-
|
22540
|
-
let t =
|
22539
|
+
SS = R((a2, e) => {
|
22540
|
+
let t = J(a2, e);
|
22541
22541
|
return Pa(t == null ? void 0 : t.audioTrack)(a2);
|
22542
22542
|
});
|
22543
|
-
|
22543
|
+
gS = R((a2, e) => {
|
22544
22544
|
let t = ka(e)(a2);
|
22545
22545
|
return Pa(t == null ? void 0 : t.id)(a2);
|
22546
22546
|
});
|
22547
|
-
|
22547
|
+
TS = R((a2, e) => {
|
22548
22548
|
let t = jr(a2, e);
|
22549
22549
|
if (t) {
|
22550
22550
|
if (t.type !== "video") {
|
@@ -22554,45 +22554,45 @@ var init_dist = __esm({
|
|
22554
22554
|
return t.layer;
|
22555
22555
|
}
|
22556
22556
|
});
|
22557
|
-
ba = createSelector([
|
22557
|
+
ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
|
22558
22558
|
if (t)
|
22559
22559
|
return a2.filter((i) => {
|
22560
22560
|
var r;
|
22561
22561
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22562
22562
|
});
|
22563
22563
|
});
|
22564
|
-
Ia = createSelector([
|
22564
|
+
Ia = createSelector([Rt, fa], (a2, e) => {
|
22565
22565
|
if (e)
|
22566
22566
|
return a2.filter((t) => {
|
22567
22567
|
var i, r;
|
22568
22568
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22569
22569
|
});
|
22570
22570
|
});
|
22571
|
-
Zo = createSelector(
|
22571
|
+
Zo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22572
22572
|
var t;
|
22573
22573
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22574
22574
|
}));
|
22575
22575
|
en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22576
22576
|
tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22577
|
-
|
22578
|
-
|
22579
|
-
|
22580
|
-
|
22581
|
-
|
22582
|
-
|
22583
|
-
|
22577
|
+
fS = createSelector(Zo, (a2) => a2.filter((e) => !e.read).length);
|
22578
|
+
vS = R(ba);
|
22579
|
+
MS = R(Ia);
|
22580
|
+
yS = R(en);
|
22581
|
+
kS = R(tn);
|
22582
|
+
Aa = R(Qo);
|
22583
|
+
_S = createSelector([j, O], (a2, e) => Object.values(a2).map((i) => {
|
22584
22584
|
var r;
|
22585
22585
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22586
22586
|
}));
|
22587
22587
|
rn = (a2) => a2.roleChangeRequests[0] || null;
|
22588
|
-
|
22589
|
-
|
22590
|
-
|
22591
|
-
an = createSelector([
|
22588
|
+
NS = createSelector([rn, j, ve], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22589
|
+
OS = createSelector([at], (a2) => St(a2));
|
22590
|
+
xS = createSelector([aa], (a2) => St(a2));
|
22591
|
+
an = createSelector([X, O], (a2, e) => {
|
22592
22592
|
let t = null;
|
22593
22593
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22594
22594
|
});
|
22595
|
-
on = createSelector([
|
22595
|
+
on = createSelector([ne, O], (a2, e) => {
|
22596
22596
|
let t = null;
|
22597
22597
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22598
22598
|
});
|
@@ -22653,14 +22653,14 @@ var init_dist = __esm({
|
|
22653
22653
|
static sendFeedback(s) {
|
22654
22654
|
return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
|
22655
22655
|
l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
|
22656
|
-
let o = new URL("v2/client/feedback", t), n =
|
22656
|
+
let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
|
22657
22657
|
try {
|
22658
22658
|
let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
|
22659
22659
|
try {
|
22660
22660
|
this.handleError(d);
|
22661
22661
|
return;
|
22662
22662
|
} catch (u) {
|
22663
|
-
throw l.e(this.TAG, "error", u.message, d.status), u instanceof
|
22663
|
+
throw l.e(this.TAG, "error", u.message, d.status), u instanceof f ? u : S.APIErrors.ServerErrors(d.status, "FEEDBACK", u.message);
|
22664
22664
|
}
|
22665
22665
|
} catch (d) {
|
22666
22666
|
let u = d;
|
@@ -22670,65 +22670,65 @@ var init_dist = __esm({
|
|
22670
22670
|
}
|
22671
22671
|
};
|
22672
22672
|
Vt.TAG = "[FeedbackService]";
|
22673
|
-
|
22673
|
+
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 || {});
|
22674
22674
|
sr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(sr || {});
|
22675
22675
|
lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
|
22676
|
-
|
22677
|
-
|
22678
|
-
|
22679
|
-
|
22676
|
+
Hn = (a2) => a2.localPeer.id;
|
22677
|
+
Cn = (a2) => a2.localPeer.audioTrack;
|
22678
|
+
Ln = (a2) => a2.localPeer.videoTrack;
|
22679
|
+
wn = (a2, e) => e;
|
22680
22680
|
za = (a2, e) => e;
|
22681
|
-
|
22681
|
+
Dn = (a2) => a2.remoteTrackStats;
|
22682
22682
|
Ya = (a2) => a2.peerStats;
|
22683
|
-
|
22684
|
-
|
22685
|
-
|
22683
|
+
is = (a2) => a2.localTrackStats;
|
22684
|
+
Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
|
22685
|
+
_n = createSelector(Ae, (a2) => {
|
22686
22686
|
var e;
|
22687
22687
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22688
22688
|
});
|
22689
|
-
|
22689
|
+
Nn = createSelector(Ae, (a2) => {
|
22690
22690
|
var e;
|
22691
22691
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22692
22692
|
});
|
22693
|
-
|
22693
|
+
On = createSelector(Ae, (a2) => {
|
22694
22694
|
var e;
|
22695
22695
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22696
22696
|
});
|
22697
|
-
|
22697
|
+
xn = createSelector(Ae, (a2) => {
|
22698
22698
|
var e;
|
22699
22699
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22700
22700
|
});
|
22701
|
-
|
22701
|
+
Un = createSelector(Ae, (a2) => {
|
22702
22702
|
var e;
|
22703
22703
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22704
22704
|
});
|
22705
|
-
|
22705
|
+
Bn = createSelector(Ae, (a2) => {
|
22706
22706
|
var e;
|
22707
22707
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22708
22708
|
});
|
22709
|
-
|
22709
|
+
Vn = createSelector(Ae, (a2) => {
|
22710
22710
|
var e;
|
22711
22711
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22712
22712
|
});
|
22713
|
-
|
22713
|
+
Fn = createSelector(Ae, (a2) => {
|
22714
22714
|
var e;
|
22715
22715
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22716
22716
|
});
|
22717
|
-
|
22718
|
-
|
22719
|
-
|
22720
|
-
|
22721
|
-
|
22722
|
-
|
22717
|
+
Gn = createSelector([Ya, wn], (a2, e) => e ? a2[e] : void 0);
|
22718
|
+
Wn = createSelector([Dn, za], (a2, e) => e ? a2[e] : void 0);
|
22719
|
+
rs = createSelector([is, za], (a2, e) => e ? a2[e] : void 0);
|
22720
|
+
$n = R(Gn);
|
22721
|
+
Kn = R(Wn);
|
22722
|
+
qn = createSelector([is, Cn], (a2, e) => {
|
22723
22723
|
var t;
|
22724
22724
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22725
22725
|
});
|
22726
|
-
|
22727
|
-
|
22726
|
+
jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
|
22727
|
+
Jn = createSelector([is, Ln], (a2, e) => {
|
22728
22728
|
var t;
|
22729
22729
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22730
22730
|
});
|
22731
|
-
|
22731
|
+
Qn = R(createSelector(rs, (a2) => a2));
|
22732
22732
|
}
|
22733
22733
|
});
|
22734
22734
|
|
@@ -28261,7 +28261,7 @@ var init_Chat = __esm({
|
|
28261
28261
|
const listRef = (0, import_react153.useRef)(null);
|
28262
28262
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
28263
28263
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
28264
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
28264
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Jm("chatState" /* CHAT_STATE */)) || {};
|
28265
28265
|
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
28266
28266
|
const isMobileHLSStream = useMobileHLSStream();
|
28267
28267
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -28351,7 +28351,7 @@ var init_Chat = __esm({
|
|
28351
28351
|
scrollToBottom,
|
28352
28352
|
listRef
|
28353
28353
|
}) => {
|
28354
|
-
const unreadCount = (0, import_react_sdk74.useHMSStore)(
|
28354
|
+
const unreadCount = (0, import_react_sdk74.useHMSStore)(gm);
|
28355
28355
|
if (!unreadCount || !listRef.current) {
|
28356
28356
|
return null;
|
28357
28357
|
}
|
@@ -29455,12 +29455,12 @@ var init_VBPicker = __esm({
|
|
29455
29455
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
29456
29456
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
29457
29457
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
29458
|
-
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(
|
29459
|
-
const effectsKey = (0, import_react_sdk82.useHMSStore)(
|
29458
|
+
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(Hm);
|
29459
|
+
const effectsKey = (0, import_react_sdk82.useHMSStore)(Lm);
|
29460
29460
|
const isMobile = (0, import_react_use32.useMedia)(config.media.md);
|
29461
29461
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
29462
29462
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
29463
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
29463
|
+
const background = (0, import_react_sdk82.useHMSStore)(jm(APP_DATA.background));
|
29464
29464
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
29465
29465
|
const pluginLoadingRef = (0, import_react163.useRef)(false);
|
29466
29466
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -31396,9 +31396,9 @@ var init_ScreenshareLayout = __esm({
|
|
31396
31396
|
}
|
31397
31397
|
});
|
31398
31398
|
|
31399
|
-
// ../../../../../../../tmp/tmp-
|
31400
|
-
var
|
31401
|
-
"../../../../../../../tmp/tmp-
|
31399
|
+
// ../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css
|
31400
|
+
var init_e065fc0 = __esm({
|
31401
|
+
"../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css"() {
|
31402
31402
|
}
|
31403
31403
|
});
|
31404
31404
|
|
@@ -31420,7 +31420,7 @@ var init_WhiteboardLayout = __esm({
|
|
31420
31420
|
init_ProminenceLayout();
|
31421
31421
|
init_useUISettings();
|
31422
31422
|
init_constants();
|
31423
|
-
|
31423
|
+
init_e065fc0();
|
31424
31424
|
WhiteboardEmbed = () => {
|
31425
31425
|
const isMobile = (0, import_react_use44.useMedia)(config.media.md);
|
31426
31426
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk95.useWhiteboard)(isMobile);
|
@@ -36214,7 +36214,7 @@ function Notifications() {
|
|
36214
36214
|
}, []);
|
36215
36215
|
(0, import_react_sdk123.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
36216
36216
|
(0, import_react234.useEffect)(() => {
|
36217
|
-
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
36217
|
+
var _a8, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n2, _o2, _p, _q;
|
36218
36218
|
if (!notification || isNotificationDisabled) {
|
36219
36219
|
return;
|
36220
36220
|
}
|
@@ -36255,7 +36255,7 @@ function Notifications() {
|
|
36255
36255
|
});
|
36256
36256
|
break;
|
36257
36257
|
case import_react_sdk123.HMSNotificationTypes.ROLE_UPDATED: {
|
36258
|
-
if (((
|
36258
|
+
if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
36259
36259
|
ToastManager.addToast({
|
36260
36260
|
title: `You are now a ${notification.data.roleName}`
|
36261
36261
|
});
|
@@ -37149,7 +37149,7 @@ var require_react_is_production_min = __commonJS({
|
|
37149
37149
|
var c2 = b2 ? Symbol.for("react.element") : 60103;
|
37150
37150
|
var d = b2 ? Symbol.for("react.portal") : 60106;
|
37151
37151
|
var e = b2 ? Symbol.for("react.fragment") : 60107;
|
37152
|
-
var
|
37152
|
+
var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
|
37153
37153
|
var g = b2 ? Symbol.for("react.profiler") : 60114;
|
37154
37154
|
var h = b2 ? Symbol.for("react.provider") : 60109;
|
37155
37155
|
var k = b2 ? Symbol.for("react.context") : 60110;
|
@@ -37157,14 +37157,14 @@ var require_react_is_production_min = __commonJS({
|
|
37157
37157
|
var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
|
37158
37158
|
var n = b2 ? Symbol.for("react.forward_ref") : 60112;
|
37159
37159
|
var p = b2 ? Symbol.for("react.suspense") : 60113;
|
37160
|
-
var
|
37160
|
+
var q = b2 ? Symbol.for("react.suspense_list") : 60120;
|
37161
37161
|
var r = b2 ? Symbol.for("react.memo") : 60115;
|
37162
37162
|
var t = b2 ? Symbol.for("react.lazy") : 60116;
|
37163
|
-
var
|
37163
|
+
var v = b2 ? Symbol.for("react.block") : 60121;
|
37164
37164
|
var w = b2 ? Symbol.for("react.fundamental") : 60117;
|
37165
37165
|
var x = b2 ? Symbol.for("react.responder") : 60118;
|
37166
37166
|
var y2 = b2 ? Symbol.for("react.scope") : 60119;
|
37167
|
-
function
|
37167
|
+
function z(a2) {
|
37168
37168
|
if ("object" === typeof a2 && null !== a2) {
|
37169
37169
|
var u = a2.$$typeof;
|
37170
37170
|
switch (u) {
|
@@ -37174,7 +37174,7 @@ var require_react_is_production_min = __commonJS({
|
|
37174
37174
|
case m2:
|
37175
37175
|
case e:
|
37176
37176
|
case g:
|
37177
|
-
case
|
37177
|
+
case f2:
|
37178
37178
|
case p:
|
37179
37179
|
return a2;
|
37180
37180
|
default:
|
@@ -37194,8 +37194,8 @@ var require_react_is_production_min = __commonJS({
|
|
37194
37194
|
}
|
37195
37195
|
}
|
37196
37196
|
}
|
37197
|
-
function
|
37198
|
-
return
|
37197
|
+
function A(a2) {
|
37198
|
+
return z(a2) === m2;
|
37199
37199
|
}
|
37200
37200
|
exports.AsyncMode = l2;
|
37201
37201
|
exports.ConcurrentMode = m2;
|
@@ -37208,49 +37208,49 @@ var require_react_is_production_min = __commonJS({
|
|
37208
37208
|
exports.Memo = r;
|
37209
37209
|
exports.Portal = d;
|
37210
37210
|
exports.Profiler = g;
|
37211
|
-
exports.StrictMode =
|
37211
|
+
exports.StrictMode = f2;
|
37212
37212
|
exports.Suspense = p;
|
37213
37213
|
exports.isAsyncMode = function(a2) {
|
37214
|
-
return
|
37214
|
+
return A(a2) || z(a2) === l2;
|
37215
37215
|
};
|
37216
|
-
exports.isConcurrentMode =
|
37216
|
+
exports.isConcurrentMode = A;
|
37217
37217
|
exports.isContextConsumer = function(a2) {
|
37218
|
-
return
|
37218
|
+
return z(a2) === k;
|
37219
37219
|
};
|
37220
37220
|
exports.isContextProvider = function(a2) {
|
37221
|
-
return
|
37221
|
+
return z(a2) === h;
|
37222
37222
|
};
|
37223
37223
|
exports.isElement = function(a2) {
|
37224
37224
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
|
37225
37225
|
};
|
37226
37226
|
exports.isForwardRef = function(a2) {
|
37227
|
-
return
|
37227
|
+
return z(a2) === n;
|
37228
37228
|
};
|
37229
37229
|
exports.isFragment = function(a2) {
|
37230
|
-
return
|
37230
|
+
return z(a2) === e;
|
37231
37231
|
};
|
37232
37232
|
exports.isLazy = function(a2) {
|
37233
|
-
return
|
37233
|
+
return z(a2) === t;
|
37234
37234
|
};
|
37235
37235
|
exports.isMemo = function(a2) {
|
37236
|
-
return
|
37236
|
+
return z(a2) === r;
|
37237
37237
|
};
|
37238
37238
|
exports.isPortal = function(a2) {
|
37239
|
-
return
|
37239
|
+
return z(a2) === d;
|
37240
37240
|
};
|
37241
37241
|
exports.isProfiler = function(a2) {
|
37242
|
-
return
|
37242
|
+
return z(a2) === g;
|
37243
37243
|
};
|
37244
37244
|
exports.isStrictMode = function(a2) {
|
37245
|
-
return
|
37245
|
+
return z(a2) === f2;
|
37246
37246
|
};
|
37247
37247
|
exports.isSuspense = function(a2) {
|
37248
|
-
return
|
37248
|
+
return z(a2) === p;
|
37249
37249
|
};
|
37250
37250
|
exports.isValidElementType = function(a2) {
|
37251
|
-
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 ===
|
37251
|
+
return "string" === typeof a2 || "function" === typeof a2 || a2 === e || a2 === m2 || a2 === g || a2 === f2 || a2 === p || a2 === q || "object" === typeof a2 && null !== a2 && (a2.$$typeof === t || a2.$$typeof === r || a2.$$typeof === h || a2.$$typeof === k || a2.$$typeof === n || a2.$$typeof === w || a2.$$typeof === x || a2.$$typeof === y2 || a2.$$typeof === v);
|
37252
37252
|
};
|
37253
|
-
exports.typeOf =
|
37253
|
+
exports.typeOf = z;
|
37254
37254
|
}
|
37255
37255
|
});
|
37256
37256
|
|
@@ -37637,7 +37637,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
37637
37637
|
shape: createShapeTypeChecker,
|
37638
37638
|
exact: createStrictShapeTypeChecker
|
37639
37639
|
};
|
37640
|
-
function
|
37640
|
+
function is2(x, y2) {
|
37641
37641
|
if (x === y2) {
|
37642
37642
|
return x !== 0 || 1 / x === 1 / y2;
|
37643
37643
|
} else {
|
@@ -37780,7 +37780,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
37780
37780
|
function validate(props, propName, componentName, location, propFullName) {
|
37781
37781
|
var propValue = props[propName];
|
37782
37782
|
for (var i = 0; i < expectedValues.length; i++) {
|
37783
|
-
if (
|
37783
|
+
if (is2(propValue, expectedValues[i])) {
|
37784
37784
|
return null;
|
37785
37785
|
}
|
37786
37786
|
}
|