@100mslive/roomkit-react 0.3.20-alpha.1 → 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-KVYOXQXT.css → HLSView-KKVZM355.css} +3 -3
- package/dist/{HLSView-KVYOXQXT.css.map → HLSView-KKVZM355.css.map} +1 -1
- package/dist/{HLSView-WY2KZLYW.js → HLSView-YFTHW2VY.js} +2 -2
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +1 -0
- package/dist/{chunk-I6M7HK22.js → chunk-Y3UYAB6J.js} +331 -321
- package/dist/chunk-Y3UYAB6J.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +328 -318
- 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 +27 -27
- package/dist/meta.esbuild.json +37 -37
- package/package.json +7 -7
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +13 -1
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -2
- package/dist/chunk-I6M7HK22.js.map +0 -7
- /package/dist/{HLSView-WY2KZLYW.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_3e764cf4-0852-44cc-8d6b-ec251e8167bb", 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.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.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.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3e764cf4-0852-44cc-8d6b-ec251e8167bb", 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.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.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: "596", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_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:19422", 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.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10849480265", 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: "1772ffc7344d3a8d0c3548779e1d7e808e3715ad", 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: "13209cc8437baad838a6c24edfe49d8efb9c5e8a1bac553f44235e521bad3ab6", 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--1726232130341-0.5095083111479979:/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--1726232130134-0.2594445703114332:/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--1726232103302-0.32296022442255934:/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--1726232103112-0.3059228289535558:/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_04df4529-8c4d-42a2-a153-f71776aa122f", INVOCATION_ID: "fa7a92a76bff4b4bbed2775a54b17c8d", 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: "670", 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 259", 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.1", 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.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "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: "1772ffc7344d3a8d0c3548779e1d7e808e3715ad", 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_3e764cf4-0852-44cc-8d6b-ec251e8167bb", 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_3e764cf4-0852-44cc-8d6b-ec251e8167bb", 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_3e764cf4-0852-44cc-8d6b-ec251e8167bb" };
|
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
|
}
|
@@ -10395,6 +10395,15 @@ var init_VBHandler = __esm({
|
|
10395
10395
|
this.effectsPlugin = void 0;
|
10396
10396
|
this.hmsPlugin = void 0;
|
10397
10397
|
};
|
10398
|
+
this.isBlurSupported = () => {
|
10399
|
+
if ((isSafari || isIOS) && this.hmsPlugin) {
|
10400
|
+
return false;
|
10401
|
+
}
|
10402
|
+
if (this.effectsPlugin) {
|
10403
|
+
return true;
|
10404
|
+
}
|
10405
|
+
return false;
|
10406
|
+
};
|
10398
10407
|
this.isEffectsSupported = () => {
|
10399
10408
|
var _a7, _b7;
|
10400
10409
|
if (!isSafari) {
|
@@ -16145,7 +16154,7 @@ var require_ua_parser = __commonJS({
|
|
16145
16154
|
}
|
16146
16155
|
};
|
16147
16156
|
var rgxMapper = function(ua2, arrays) {
|
16148
|
-
var i = 0, j2, k, p,
|
16157
|
+
var i = 0, j2, k, p, q, matches, match18;
|
16149
16158
|
while (i < arrays.length && !matches) {
|
16150
16159
|
var regex = arrays[i], props = arrays[i + 1];
|
16151
16160
|
j2 = k = 0;
|
@@ -16157,25 +16166,25 @@ var require_ua_parser = __commonJS({
|
|
16157
16166
|
if (!!matches) {
|
16158
16167
|
for (p = 0; p < props.length; p++) {
|
16159
16168
|
match18 = matches[++k];
|
16160
|
-
|
16161
|
-
if (typeof
|
16162
|
-
if (
|
16163
|
-
if (typeof
|
16164
|
-
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);
|
16165
16174
|
} else {
|
16166
|
-
this[
|
16175
|
+
this[q[0]] = q[1];
|
16167
16176
|
}
|
16168
|
-
} else if (
|
16169
|
-
if (typeof
|
16170
|
-
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;
|
16171
16180
|
} else {
|
16172
|
-
this[
|
16181
|
+
this[q[0]] = match18 ? match18.replace(q[1], q[2]) : undefined2;
|
16173
16182
|
}
|
16174
|
-
} else if (
|
16175
|
-
this[
|
16183
|
+
} else if (q.length === 4) {
|
16184
|
+
this[q[0]] = match18 ? q[3].call(this, match18.replace(q[1], q[2])) : undefined2;
|
16176
16185
|
}
|
16177
16186
|
} else {
|
16178
|
-
this[
|
16187
|
+
this[q] = match18 ? match18 : undefined2;
|
16179
16188
|
}
|
16180
16189
|
}
|
16181
16190
|
}
|
@@ -18281,7 +18290,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
18281
18290
|
if (typeof c2 !== "object" || c2.mandatory || c2.optional) {
|
18282
18291
|
return c2;
|
18283
18292
|
}
|
18284
|
-
const
|
18293
|
+
const cc2 = {};
|
18285
18294
|
Object.keys(c2).forEach((key) => {
|
18286
18295
|
if (key === "require" || key === "advanced" || key === "mediaSource") {
|
18287
18296
|
return;
|
@@ -18297,35 +18306,35 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
18297
18306
|
return name === "deviceId" ? "sourceId" : name;
|
18298
18307
|
};
|
18299
18308
|
if (r.ideal !== void 0) {
|
18300
|
-
|
18309
|
+
cc2.optional = cc2.optional || [];
|
18301
18310
|
let oc = {};
|
18302
18311
|
if (typeof r.ideal === "number") {
|
18303
18312
|
oc[oldname_("min", key)] = r.ideal;
|
18304
|
-
|
18313
|
+
cc2.optional.push(oc);
|
18305
18314
|
oc = {};
|
18306
18315
|
oc[oldname_("max", key)] = r.ideal;
|
18307
|
-
|
18316
|
+
cc2.optional.push(oc);
|
18308
18317
|
} else {
|
18309
18318
|
oc[oldname_("", key)] = r.ideal;
|
18310
|
-
|
18319
|
+
cc2.optional.push(oc);
|
18311
18320
|
}
|
18312
18321
|
}
|
18313
18322
|
if (r.exact !== void 0 && typeof r.exact !== "number") {
|
18314
|
-
|
18315
|
-
|
18323
|
+
cc2.mandatory = cc2.mandatory || {};
|
18324
|
+
cc2.mandatory[oldname_("", key)] = r.exact;
|
18316
18325
|
} else {
|
18317
18326
|
["min", "max"].forEach((mix) => {
|
18318
18327
|
if (r[mix] !== void 0) {
|
18319
|
-
|
18320
|
-
|
18328
|
+
cc2.mandatory = cc2.mandatory || {};
|
18329
|
+
cc2.mandatory[oldname_(mix, key)] = r[mix];
|
18321
18330
|
}
|
18322
18331
|
});
|
18323
18332
|
}
|
18324
18333
|
});
|
18325
18334
|
if (c2.advanced) {
|
18326
|
-
|
18335
|
+
cc2.optional = (cc2.optional || []).concat(c2.advanced);
|
18327
18336
|
}
|
18328
|
-
return
|
18337
|
+
return cc2;
|
18329
18338
|
};
|
18330
18339
|
const shimConstraints_ = function(constraints, func) {
|
18331
18340
|
if (browserDetails.version >= 61) {
|
@@ -18502,11 +18511,11 @@ function shimOnTrack(window2) {
|
|
18502
18511
|
get() {
|
18503
18512
|
return this._ontrack;
|
18504
18513
|
},
|
18505
|
-
set(
|
18514
|
+
set(f2) {
|
18506
18515
|
if (this._ontrack) {
|
18507
18516
|
this.removeEventListener("track", this._ontrack);
|
18508
18517
|
}
|
18509
|
-
this.addEventListener("track", this._ontrack =
|
18518
|
+
this.addEventListener("track", this._ontrack = f2);
|
18510
18519
|
},
|
18511
18520
|
enumerable: true,
|
18512
18521
|
configurable: true
|
@@ -19514,12 +19523,12 @@ function shimRemoteStreamsAPI(window2) {
|
|
19514
19523
|
get() {
|
19515
19524
|
return this._onaddstream;
|
19516
19525
|
},
|
19517
|
-
set(
|
19526
|
+
set(f2) {
|
19518
19527
|
if (this._onaddstream) {
|
19519
19528
|
this.removeEventListener("addstream", this._onaddstream);
|
19520
19529
|
this.removeEventListener("track", this._onaddstreampoly);
|
19521
19530
|
}
|
19522
|
-
this.addEventListener("addstream", this._onaddstream =
|
19531
|
+
this.addEventListener("addstream", this._onaddstream = f2);
|
19523
19532
|
this.addEventListener("track", this._onaddstreampoly = (e) => {
|
19524
19533
|
e.streams.forEach((stream) => {
|
19525
19534
|
if (!this._remoteStreams) {
|
@@ -21310,8 +21319,8 @@ var require_grammar = __commonJS({
|
|
21310
21319
|
var require_parser = __commonJS({
|
21311
21320
|
"../../node_modules/sdp-transform/lib/parser.js"(exports) {
|
21312
21321
|
init_define_process_env();
|
21313
|
-
var toIntIfInt = function(
|
21314
|
-
return String(Number(
|
21322
|
+
var toIntIfInt = function(v) {
|
21323
|
+
return String(Number(v)) === v ? Number(v) : v;
|
21315
21324
|
};
|
21316
21325
|
var attachProperties = function(match18, location, names, rawName) {
|
21317
21326
|
if (rawName && !names) {
|
@@ -21563,7 +21572,7 @@ function si(a2) {
|
|
21563
21572
|
function mt(a2) {
|
21564
21573
|
return a2 && a2.source === "videoplaylist";
|
21565
21574
|
}
|
21566
|
-
function
|
21575
|
+
function ls(a2) {
|
21567
21576
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21568
21577
|
}
|
21569
21578
|
function je(a2, e) {
|
@@ -21581,15 +21590,15 @@ function lo() {
|
|
21581
21590
|
}
|
21582
21591
|
return "CUSTOM";
|
21583
21592
|
}
|
21584
|
-
function
|
21593
|
+
function ce(a2) {
|
21585
21594
|
return a2 != null;
|
21586
21595
|
}
|
21587
21596
|
function vt(a2 = "prod", e) {
|
21588
21597
|
let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21589
21598
|
if (Be)
|
21590
|
-
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 });
|
21591
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;
|
21592
|
-
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 });
|
21593
21602
|
}
|
21594
21603
|
function kr(a2) {
|
21595
21604
|
return a2.replace(/ /g, "_");
|
@@ -21604,16 +21613,16 @@ function ci(a2, e = 300) {
|
|
21604
21613
|
}, e);
|
21605
21614
|
};
|
21606
21615
|
}
|
21607
|
-
function
|
21616
|
+
function R(a2) {
|
21608
21617
|
return (e) => (t) => a2(t, e);
|
21609
21618
|
}
|
21610
|
-
function
|
21619
|
+
function Jm(a2) {
|
21611
21620
|
return (e) => {
|
21612
21621
|
if (e.sessionStore)
|
21613
21622
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
21614
21623
|
};
|
21615
21624
|
}
|
21616
|
-
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;
|
21617
21626
|
var init_dist = __esm({
|
21618
21627
|
"../hms-video-store/dist/index.js"() {
|
21619
21628
|
"use strict";
|
@@ -21645,25 +21654,25 @@ var init_dist = __esm({
|
|
21645
21654
|
Za = Object.defineProperties;
|
21646
21655
|
eo = Object.getOwnPropertyDescriptors;
|
21647
21656
|
ti = Object.getOwnPropertySymbols;
|
21648
|
-
|
21649
|
-
|
21650
|
-
|
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;
|
21651
21660
|
m = (a2, e) => {
|
21652
21661
|
for (var t in e || (e = {}))
|
21653
|
-
|
21662
|
+
os.call(e, t) && as(a2, t, e[t]);
|
21654
21663
|
if (ti)
|
21655
21664
|
for (var t of ti(e))
|
21656
|
-
|
21665
|
+
ns.call(e, t) && as(a2, t, e[t]);
|
21657
21666
|
return a2;
|
21658
21667
|
};
|
21659
|
-
|
21668
|
+
y = (a2, e) => Za(a2, eo(e));
|
21660
21669
|
gr = (a2, e) => {
|
21661
21670
|
var t = {};
|
21662
21671
|
for (var i in a2)
|
21663
|
-
|
21672
|
+
os.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21664
21673
|
if (a2 != null && ti)
|
21665
21674
|
for (var i of ti(a2))
|
21666
|
-
e.indexOf(i) < 0 &&
|
21675
|
+
e.indexOf(i) < 0 && ns.call(a2, i) && (t[i] = a2[i]);
|
21667
21676
|
return t;
|
21668
21677
|
};
|
21669
21678
|
ro = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
@@ -21683,15 +21692,15 @@ var init_dist = __esm({
|
|
21683
21692
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21684
21693
|
n((t = t.apply(a2, e)).next());
|
21685
21694
|
});
|
21686
|
-
yr = ro((
|
21687
|
-
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"] };
|
21688
21697
|
});
|
21689
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 || {});
|
21690
21699
|
so = ((e) => (e.CHAT = "chat", e))(so || {});
|
21691
|
-
|
21700
|
+
cs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(cs || {});
|
21692
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 || {});
|
21693
|
-
|
21694
|
-
|
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 || {});
|
21695
21704
|
oo = typeof window != "undefined" && typeof window.expect != "undefined";
|
21696
21705
|
l = class {
|
21697
21706
|
static v(e, ...t) {
|
@@ -21761,15 +21770,15 @@ var init_dist = __esm({
|
|
21761
21770
|
l.level = oo ? 7 : 0;
|
21762
21771
|
he = new import_ua_parser_js.UAParser();
|
21763
21772
|
B = typeof window != "undefined";
|
21764
|
-
Be = typeof window == "undefined" && !((
|
21773
|
+
Be = typeof window == "undefined" && !((hs = he.getBrowser().name) != null && hs.toLowerCase().includes("electron"));
|
21765
21774
|
co = () => !Be;
|
21766
|
-
|
21767
|
-
|
21768
|
-
|
21769
|
-
|
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 || {});
|
21770
21779
|
Qe = lo();
|
21771
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 } };
|
21772
|
-
|
21781
|
+
f = class a extends Error {
|
21773
21782
|
constructor(t, i, r, s, o, n = false) {
|
21774
21783
|
super(s);
|
21775
21784
|
this.code = t;
|
@@ -21800,111 +21809,111 @@ var init_dist = __esm({
|
|
21800
21809
|
};
|
21801
21810
|
uo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21802
21811
|
S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21803
|
-
return new
|
21812
|
+
return new f(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21804
21813
|
}, WebSocketConnectionLost(a2, e = "") {
|
21805
|
-
return new
|
21814
|
+
return new f(P4.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a2, "Network connection lost", e);
|
21806
21815
|
}, AbnormalClose(a2, e = "") {
|
21807
|
-
return new
|
21816
|
+
return new f(P4.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a2, "Websocket closed abnormally", e);
|
21808
21817
|
} }, APIErrors: { ServerErrors(a2, e, t = "", i = true) {
|
21809
|
-
return new
|
21818
|
+
return new f(a2, "ServerErrors", e, `[${e}]: Server error ${t}`, t, i);
|
21810
21819
|
}, EndpointUnreachable(a2, e = "") {
|
21811
|
-
return new
|
21820
|
+
return new f(P4.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a2, `Endpoint is not reachable - ${e}`, e);
|
21812
21821
|
}, InvalidTokenFormat(a2, e = "") {
|
21813
|
-
return new
|
21822
|
+
return new f(P4.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a2, `Token is not in proper JWT format - ${e}`, e, true);
|
21814
21823
|
}, InitConfigNotAvailable(a2, e = "") {
|
21815
|
-
return new
|
21824
|
+
return new f(P4.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a2, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
21816
21825
|
} }, TracksErrors: { GenericTrack(a2, e = "") {
|
21817
|
-
return new
|
21826
|
+
return new f(P4.TracksErrors.GENERIC_TRACK, "GenericTrack", a2, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
21818
21827
|
}, CantAccessCaptureDevice(a2, e, t = "") {
|
21819
|
-
return new
|
21828
|
+
return new f(P4.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a2, `User denied permission to access capture device - ${e}`, t);
|
21820
21829
|
}, DeviceNotAvailable(a2, e, t = "") {
|
21821
|
-
return new
|
21830
|
+
return new f(P4.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a2, `[TRACK]: Capture device is no longer available - ${e}`, t);
|
21822
21831
|
}, DeviceInUse(a2, e, t = "") {
|
21823
|
-
return new
|
21832
|
+
return new f(P4.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a2, `[TRACK]: Capture device is in use by another application - ${e}`, t);
|
21824
21833
|
}, DeviceLostMidway(a2, e, t = "") {
|
21825
|
-
return new
|
21834
|
+
return new f(P4.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a2, `Lost access to capture device midway - ${e}`, t);
|
21826
21835
|
}, NothingToReturn(a2, e = "", t = "There is no media to return. Please select either video or audio or both.") {
|
21827
|
-
return new
|
21836
|
+
return new f(P4.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a2, t, e);
|
21828
21837
|
}, InvalidVideoSettings(a2, e = "") {
|
21829
|
-
return new
|
21838
|
+
return new f(P4.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a2, "Cannot enable simulcast when no video settings are provided", e);
|
21830
21839
|
}, AutoplayBlocked(a2, e = "") {
|
21831
|
-
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);
|
21832
21841
|
}, CodecChangeNotPermitted(a2, e = "") {
|
21833
|
-
return new
|
21842
|
+
return new f(P4.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a2, "Codec can't be changed mid call.", e);
|
21834
21843
|
}, OverConstrained(a2, e, t = "") {
|
21835
|
-
return new
|
21844
|
+
return new f(P4.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a2, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t);
|
21836
21845
|
}, NoAudioDetected(a2, e = "Please check the mic or use another audio input") {
|
21837
|
-
return new
|
21846
|
+
return new f(P4.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a2, "No audio input detected from microphone", e);
|
21838
21847
|
}, SystemDeniedPermission(a2, e, t = "") {
|
21839
|
-
return new
|
21848
|
+
return new f(P4.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a2, `Operating System denied permission to access capture device - ${e}`, t);
|
21840
21849
|
}, CurrentTabNotShared() {
|
21841
|
-
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");
|
21842
21851
|
}, AudioPlaybackError(a2) {
|
21843
|
-
return new
|
21852
|
+
return new f(P4.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a2, a2);
|
21844
21853
|
}, SelectedDeviceMissing(a2) {
|
21845
|
-
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);
|
21846
21855
|
} }, WebrtcErrors: { CreateOfferFailed(a2, e = "") {
|
21847
|
-
return new
|
21856
|
+
return new f(P4.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a2, `[${a2.toString()}]: Failed to create offer. `, e);
|
21848
21857
|
}, CreateAnswerFailed(a2, e = "") {
|
21849
|
-
return new
|
21858
|
+
return new f(P4.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a2, `[${a2.toString()}]: Failed to create answer. `, e);
|
21850
21859
|
}, SetLocalDescriptionFailed(a2, e = "") {
|
21851
|
-
return new
|
21860
|
+
return new f(P4.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a2, `[${a2.toString()}]: Failed to set offer. `, e);
|
21852
21861
|
}, SetRemoteDescriptionFailed(a2, e = "") {
|
21853
|
-
return new
|
21862
|
+
return new f(P4.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a2, `[${a2.toString()}]: Failed to set answer. `, e, true);
|
21854
21863
|
}, ICEFailure(a2, e = "", t = false) {
|
21855
|
-
return new
|
21864
|
+
return new f(P4.WebrtcErrors.ICE_FAILURE, "ICEFailure", a2, `[${a2.toString()}]: Ice connection state FAILED`, e, t);
|
21856
21865
|
}, ICEDisconnected(a2, e = "") {
|
21857
|
-
return new
|
21866
|
+
return new f(P4.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a2, `[${a2.toString()}]: Ice connection state DISCONNECTED`, e);
|
21858
21867
|
}, StatsFailed(a2, e = "") {
|
21859
|
-
return new
|
21868
|
+
return new f(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21860
21869
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21861
|
-
return new
|
21870
|
+
return new f(a2, "ServerErrors", e, t, t, uo.includes(e));
|
21862
21871
|
}, AlreadyJoined(a2, e = "") {
|
21863
|
-
return new
|
21872
|
+
return new f(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21864
21873
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
21865
|
-
return new
|
21874
|
+
return new f(P4.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a2, "[JOIN]: Cannot join if preview is in progress", e);
|
21866
21875
|
} }, GenericErrors: { NotConnected(a2, e = "") {
|
21867
|
-
return new
|
21876
|
+
return new f(P4.GenericErrors.NOT_CONNECTED, "NotConnected", a2, "Client is not connected", e);
|
21868
21877
|
}, Signalling(a2, e) {
|
21869
|
-
return new
|
21878
|
+
return new f(P4.GenericErrors.SIGNALLING, "Signalling", a2, `Unknown signalling error: ${a2.toString()} ${e} `, e);
|
21870
21879
|
}, Unknown(a2, e) {
|
21871
|
-
return new
|
21880
|
+
return new f(P4.GenericErrors.UNKNOWN, "Unknown", a2, `Unknown exception: ${e}`, e);
|
21872
21881
|
}, NotReady(a2, e = "") {
|
21873
|
-
return new
|
21882
|
+
return new f(P4.GenericErrors.NOT_READY, "NotReady", a2, e, e);
|
21874
21883
|
}, JsonParsingFailed(a2, e, t = "") {
|
21875
|
-
return new
|
21884
|
+
return new f(P4.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a2, `Failed to parse JSON message - ${e}`, t);
|
21876
21885
|
}, TrackMetadataMissing(a2, e = "") {
|
21877
|
-
return new
|
21886
|
+
return new f(P4.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a2, "Track Metadata Missing", e);
|
21878
21887
|
}, RTCTrackMissing(a2, e = "") {
|
21879
|
-
return new
|
21888
|
+
return new f(P4.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a2, "RTC Track missing", e);
|
21880
21889
|
}, PeerMetadataMissing(a2, e = "") {
|
21881
|
-
return new
|
21890
|
+
return new f(P4.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a2, "Peer Metadata Missing", e);
|
21882
21891
|
}, ValidationFailed(a2, e) {
|
21883
|
-
return new
|
21892
|
+
return new f(P4.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a2, e ? JSON.stringify(e) : "");
|
21884
21893
|
}, InvalidRole(a2, e) {
|
21885
|
-
return new
|
21894
|
+
return new f(P4.GenericErrors.INVALID_ROLE, "InvalidRole", a2, "Invalid role. Join with valid role", e, true);
|
21886
21895
|
}, PreviewAlreadyInProgress(a2, e = "") {
|
21887
|
-
return new
|
21896
|
+
return new f(P4.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a2, "[Preview]: Cannot join if preview is in progress", e);
|
21888
21897
|
}, LocalStorageAccessDenied(a2 = "Access to localStorage has been denied") {
|
21889
|
-
return new
|
21898
|
+
return new f(P4.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a2);
|
21890
21899
|
}, MissingMediaDevices() {
|
21891
|
-
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);
|
21892
21901
|
}, MissingRTCPeerConnection() {
|
21893
|
-
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);
|
21894
21903
|
} }, MediaPluginErrors: { PlatformNotSupported(a2, e = "") {
|
21895
|
-
return new
|
21904
|
+
return new f(7001, "PlatformNotSupported", a2, "Check HMS Docs to see the list of supported platforms", e);
|
21896
21905
|
}, InitFailed(a2, e = "") {
|
21897
|
-
return new
|
21906
|
+
return new f(7002, "InitFailed", a2, "Plugin init failed", e);
|
21898
21907
|
}, ProcessingFailed(a2, e = "") {
|
21899
|
-
return new
|
21908
|
+
return new f(7003, "ProcessingFailed", a2, "Plugin processing failed", e);
|
21900
21909
|
}, AddAlreadyInProgress(a2, e = "") {
|
21901
|
-
return new
|
21910
|
+
return new f(7004, "AddAlreadyInProgress", a2, "Plugin add already in progress", e);
|
21902
21911
|
}, DeviceNotSupported(a2, e = "") {
|
21903
|
-
return new
|
21912
|
+
return new f(7005, "DeviceNotSupported", a2, "Check HMS Docs to see the list of supported devices", e);
|
21904
21913
|
} }, PlaylistErrors: { NoEntryToPlay(a2, e) {
|
21905
|
-
return new
|
21914
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a2, "Reached end of playlist", e);
|
21906
21915
|
}, NoEntryPlaying(a2, e) {
|
21907
|
-
return new
|
21916
|
+
return new f(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21908
21917
|
} } };
|
21909
21918
|
Mr = class {
|
21910
21919
|
constructor() {
|
@@ -21931,7 +21940,7 @@ var init_dist = __esm({
|
|
21931
21940
|
return this.valuesMap.size;
|
21932
21941
|
}
|
21933
21942
|
};
|
21934
|
-
|
21943
|
+
Es = () => {
|
21935
21944
|
try {
|
21936
21945
|
B && !localStorage && (window.localStorage = new Mr());
|
21937
21946
|
} catch (a2) {
|
@@ -21945,7 +21954,7 @@ var init_dist = __esm({
|
|
21945
21954
|
}
|
21946
21955
|
getStorage() {
|
21947
21956
|
try {
|
21948
|
-
return B && !this.storage && (
|
21957
|
+
return B && !this.storage && (Es(), this.storage = window.localStorage), this.storage;
|
21949
21958
|
} catch (e) {
|
21950
21959
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21951
21960
|
}
|
@@ -21970,103 +21979,103 @@ var init_dist = __esm({
|
|
21970
21979
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21971
21980
|
};
|
21972
21981
|
Is = yr().version;
|
21973
|
-
|
21974
|
-
|
21982
|
+
As = (a2, e = ",") => Object.keys(a2).filter((t) => ce(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21983
|
+
C = class {
|
21975
21984
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21976
21985
|
this.metadata = { peer: {}, userAgent: vt() };
|
21977
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();
|
21978
21987
|
}
|
21979
21988
|
toSignalParams() {
|
21980
|
-
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() };
|
21981
21990
|
}
|
21982
21991
|
};
|
21983
|
-
|
21992
|
+
E = class {
|
21984
21993
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
21985
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, d = this.getPropertiesWithError(
|
21986
|
-
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 });
|
21987
21996
|
}
|
21988
21997
|
static disconnect(e, t) {
|
21989
21998
|
let i = "disconnected", r = e ? 2 : 1, s = this.getPropertiesWithError(t, e);
|
21990
|
-
return new
|
21999
|
+
return new C({ name: i, level: r, properties: s });
|
21991
22000
|
}
|
21992
22001
|
static preview(i) {
|
21993
22002
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
21994
22003
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21995
|
-
return new
|
22004
|
+
return new C({ name: s, level: o, properties: n });
|
21996
22005
|
}
|
21997
22006
|
static join(i) {
|
21998
22007
|
var r = i, { error: e } = r, t = gr(r, ["error"]);
|
21999
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(
|
22000
|
-
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 });
|
22001
22010
|
}
|
22002
22011
|
static publish({ devices: e, settings: t, error: i }) {
|
22003
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);
|
22004
|
-
return new
|
22013
|
+
return new C({ name: r, level: s, properties: o });
|
22005
22014
|
}
|
22006
22015
|
static hlsPlayerError(e) {
|
22007
|
-
return new
|
22016
|
+
return new C({ name: "hlsPlayerError", level: 2, properties: this.getErrorProperties(e) });
|
22008
22017
|
}
|
22009
22018
|
static subscribeFail(e) {
|
22010
22019
|
let t = this.eventNameFor("subscribe", false), i = 2, r = this.getErrorProperties(e);
|
22011
|
-
return new
|
22020
|
+
return new C({ name: t, level: i, properties: r });
|
22012
22021
|
}
|
22013
22022
|
static leave() {
|
22014
|
-
return new
|
22023
|
+
return new C({ name: "leave", level: 1 });
|
22015
22024
|
}
|
22016
22025
|
static autoplayError() {
|
22017
|
-
return new
|
22026
|
+
return new C({ name: "autoplayError", level: 2 });
|
22018
22027
|
}
|
22019
22028
|
static audioPlaybackError(e) {
|
22020
|
-
return new
|
22029
|
+
return new C({ name: "audioPlaybackError", level: 2, properties: this.getErrorProperties(e) });
|
22021
22030
|
}
|
22022
22031
|
static deviceChange({ isUserSelection: e, selection: t, type: i, devices: r, error: s }) {
|
22023
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);
|
22024
|
-
return new
|
22033
|
+
return new C({ name: o, level: n, properties: d });
|
22025
22034
|
}
|
22026
22035
|
static performance(e) {
|
22027
22036
|
let t = "perf.stats", i = 1, r = e.toAnalyticsProperties();
|
22028
|
-
return new
|
22037
|
+
return new C({ name: t, level: i, properties: r });
|
22029
22038
|
}
|
22030
22039
|
static rtcStats(e) {
|
22031
22040
|
let t = "rtc.stats", i = 1, r = e.toAnalyticsProperties();
|
22032
|
-
return new
|
22041
|
+
return new C({ name: t, level: i, properties: r });
|
22033
22042
|
}
|
22034
22043
|
static rtcStatsFailed(e) {
|
22035
22044
|
let t = "rtc.stats.failed", i = 2;
|
22036
|
-
return new
|
22045
|
+
return new C({ name: t, level: i, properties: this.getErrorProperties(e) });
|
22037
22046
|
}
|
22038
22047
|
static degradationStats(e, t) {
|
22039
22048
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
22040
22049
|
if (!t && e.degradedAt instanceof Date) {
|
22041
22050
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
22042
|
-
s =
|
22051
|
+
s = y(m({}, s), { duration: n, restoredAt: o });
|
22043
22052
|
}
|
22044
|
-
return new
|
22053
|
+
return new C({ name: i, level: r, properties: s });
|
22045
22054
|
}
|
22046
22055
|
static audioDetectionFail(e, t) {
|
22047
22056
|
let i = this.getPropertiesWithError({ device: t }, e), r = 2, s = "audiopresence.failed";
|
22048
|
-
return new
|
22057
|
+
return new C({ name: s, level: r, properties: i });
|
22049
22058
|
}
|
22050
22059
|
static previewNetworkQuality(e) {
|
22051
|
-
return new
|
22060
|
+
return new C({ name: "perf.networkquality.preview", level: e.error ? 2 : 1, properties: e });
|
22052
22061
|
}
|
22053
22062
|
static publishStats(e) {
|
22054
|
-
return new
|
22063
|
+
return new C({ name: "publisher.stats", level: 1, properties: e });
|
22055
22064
|
}
|
22056
22065
|
static subscribeStats(e) {
|
22057
|
-
return new
|
22066
|
+
return new C({ name: "subscriber.stats", level: 1, properties: e });
|
22058
22067
|
}
|
22059
22068
|
static getKrispUsage(e) {
|
22060
|
-
return new
|
22069
|
+
return new C({ name: "krisp.usage", level: 1, properties: { duration: e } });
|
22061
22070
|
}
|
22062
22071
|
static krispStart() {
|
22063
|
-
return new
|
22072
|
+
return new C({ name: "krisp.start", level: 1 });
|
22064
22073
|
}
|
22065
22074
|
static krispStop() {
|
22066
|
-
return new
|
22075
|
+
return new C({ name: "krisp.stop", level: 1 });
|
22067
22076
|
}
|
22068
22077
|
static interruption({ started: e, type: t, reason: i, deviceInfo: r }) {
|
22069
|
-
return new
|
22078
|
+
return new C({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ reason: i, type: t }, r) });
|
22070
22079
|
}
|
22071
22080
|
static eventNameFor(e, t) {
|
22072
22081
|
return `${e}.${t ? "success" : "failed"}`;
|
@@ -22076,10 +22085,10 @@ var init_dist = __esm({
|
|
22076
22085
|
return e = m(m({}, i), e), e;
|
22077
22086
|
}
|
22078
22087
|
static getErrorProperties(e) {
|
22079
|
-
return e ? e instanceof
|
22088
|
+
return e ? e instanceof f ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
22080
22089
|
}
|
22081
22090
|
};
|
22082
|
-
|
22091
|
+
E.KEY_REQUESTED_AT = "requested_at", E.KEY_RESPONDED_AT = "responded_at";
|
22083
22092
|
Er = class {
|
22084
22093
|
constructor() {
|
22085
22094
|
this.storage = new me("hms-device-selection");
|
@@ -22114,10 +22123,10 @@ var init_dist = __esm({
|
|
22114
22123
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
22115
22124
|
}
|
22116
22125
|
};
|
22117
|
-
|
22126
|
+
Y = new Er();
|
22118
22127
|
Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
|
22119
22128
|
br = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(br || {});
|
22120
|
-
|
22129
|
+
Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
|
22121
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 || {});
|
22122
22131
|
ws = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(ws || {});
|
22123
22132
|
Ds = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ds || {});
|
@@ -22191,32 +22200,32 @@ var init_dist = __esm({
|
|
22191
22200
|
rt.makePeerId = () => (0, import_uuid7.v4)();
|
22192
22201
|
V = (a2) => a2.room;
|
22193
22202
|
_o = (a2) => a2.errors;
|
22194
|
-
|
22195
|
-
|
22196
|
-
|
22203
|
+
Zh = createSelector(_o, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22204
|
+
em = createSelector(V, (a2) => a2.id);
|
22205
|
+
j = (a2) => a2.peers;
|
22197
22206
|
Mi = (a2) => a2.messages.byID;
|
22198
22207
|
ea = (a2) => a2.messages.allIDs;
|
22199
22208
|
O = (a2) => a2.tracks;
|
22200
22209
|
Gr = (a2) => a2.appData;
|
22201
22210
|
No = (a2) => a2.speakers;
|
22202
22211
|
Oe = createSelector([V], (a2) => a2 && a2.isConnected);
|
22203
|
-
|
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));
|
22204
22213
|
Oo = (a2) => a2.hideLocalPeer;
|
22205
|
-
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]));
|
22206
22215
|
xo = createSelector(O, (a2) => Object.values(a2));
|
22207
|
-
ie = createSelector(V,
|
22216
|
+
ie = createSelector(V, j, (a2, e) => e[a2.localPeer]);
|
22208
22217
|
Ee = createSelector(V, (a2) => a2.localPeer);
|
22209
|
-
|
22210
|
-
|
22211
|
-
|
22212
|
-
|
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);
|
22213
22222
|
Uo = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22214
|
-
ia = createSelector([
|
22223
|
+
ia = createSelector([ne, X, Uo], (a2, e, t) => {
|
22215
22224
|
let i = t ? [...t] : [];
|
22216
22225
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22217
22226
|
});
|
22218
|
-
|
22219
|
-
|
22227
|
+
om = createSelector(fe, (a2) => a2.filter((e) => !e.isLocal));
|
22228
|
+
nm = createSelector(j, No, (a2, e) => {
|
22220
22229
|
let t = Object.entries(e).sort((i, r) => {
|
22221
22230
|
var n, d;
|
22222
22231
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22233,7 +22242,7 @@ var init_dist = __esm({
|
|
22233
22242
|
let { video: t, audio: i } = Ue(e, a2);
|
22234
22243
|
return !!(t || i);
|
22235
22244
|
});
|
22236
|
-
Bo = createSelector(
|
22245
|
+
Bo = createSelector(j, O, (a2, e) => {
|
22237
22246
|
let t;
|
22238
22247
|
for (let i in a2) {
|
22239
22248
|
let r = a2[i], { video: s, audio: o } = Ue(e, r);
|
@@ -22243,15 +22252,15 @@ var init_dist = __esm({
|
|
22243
22252
|
}
|
22244
22253
|
return t;
|
22245
22254
|
});
|
22246
|
-
|
22247
|
-
|
22255
|
+
dm = createSelector(Bo, (a2) => !!a2);
|
22256
|
+
lm = createSelector(j, O, (a2, e) => {
|
22248
22257
|
for (let t in a2) {
|
22249
22258
|
let i = a2[t], { audio: r, video: s } = Ue(e, i);
|
22250
22259
|
if (!s && r)
|
22251
22260
|
return i;
|
22252
22261
|
}
|
22253
22262
|
});
|
22254
|
-
|
22263
|
+
um = createSelector(j, O, (a2, e) => {
|
22255
22264
|
let t = [], i = [];
|
22256
22265
|
for (let r in a2) {
|
22257
22266
|
let s = a2[r], { video: o, audio: n } = Ue(e, s);
|
@@ -22259,65 +22268,65 @@ var init_dist = __esm({
|
|
22259
22268
|
}
|
22260
22269
|
return t.concat(i);
|
22261
22270
|
});
|
22262
|
-
|
22271
|
+
pm = createSelector(j, O, (a2, e) => {
|
22263
22272
|
for (let t in e) {
|
22264
22273
|
let i = e[t];
|
22265
22274
|
if (mt(i) && ht(i) && i.peerId)
|
22266
22275
|
return a2[i.peerId];
|
22267
22276
|
}
|
22268
22277
|
});
|
22269
|
-
|
22278
|
+
hm = createSelector(j, O, (a2, e) => {
|
22270
22279
|
for (let t in e) {
|
22271
22280
|
let i = e[t];
|
22272
22281
|
if (si(i) && i.peerId)
|
22273
22282
|
return a2[i.peerId];
|
22274
22283
|
}
|
22275
22284
|
});
|
22276
|
-
|
22277
|
-
|
22278
|
-
|
22279
|
-
|
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) => {
|
22280
22289
|
let t = [];
|
22281
22290
|
return a2.forEach((i) => {
|
22282
22291
|
t.push(e[i]);
|
22283
22292
|
}), t;
|
22284
22293
|
});
|
22285
|
-
Vo = createSelector(
|
22294
|
+
Vo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22286
22295
|
var t;
|
22287
22296
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22288
22297
|
}));
|
22289
|
-
|
22298
|
+
Tm = createSelector(Vo, (a2) => a2.filter((e) => !e.read).length);
|
22290
22299
|
re = createSelector([V], (a2) => a2 && a2.roomState);
|
22291
22300
|
sa = createSelector(re, (a2) => a2 === "Preview");
|
22292
|
-
|
22293
|
-
|
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"));
|
22294
22303
|
ve = (a2) => a2.roles;
|
22295
|
-
|
22304
|
+
Mm = createSelector([ve], (a2) => Object.keys(a2));
|
22296
22305
|
at = createSelector([ie, ve], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22297
22306
|
Fo = (a2) => {
|
22298
22307
|
var e;
|
22299
22308
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22300
22309
|
};
|
22301
22310
|
aa = createSelector([Fo, ve], (a2, e) => a2 ? e[a2] : null);
|
22302
|
-
|
22311
|
+
ym = createSelector([at], (a2) => {
|
22303
22312
|
var e;
|
22304
22313
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22305
22314
|
});
|
22306
22315
|
oa = createSelector(at, (a2) => a2 == null ? void 0 : a2.permissions);
|
22307
|
-
|
22308
|
-
|
22309
|
-
|
22310
|
-
|
22311
|
-
|
22312
|
-
|
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);
|
22313
22322
|
Rm = createSelector(V, (a2) => !!a2.isLargeRoom);
|
22314
|
-
|
22315
|
-
|
22316
|
-
|
22323
|
+
Hm = createSelector(V, (a2) => !!a2.isEffectsEnabled);
|
22324
|
+
Cm = createSelector(V, (a2) => !!a2.isVBEnabled);
|
22325
|
+
Lm = createSelector(V, (a2) => a2.effectsKey);
|
22317
22326
|
na = (a2) => a2.polls;
|
22318
|
-
|
22327
|
+
Nm = createSelector(fe, (a2) => a2.filter((e) => e.isHandRaised));
|
22319
22328
|
Go = (a2) => a2.whiteboards;
|
22320
|
-
|
22329
|
+
Om = createSelector(Go, (a2) => Object.values(a2)[0]);
|
22321
22330
|
da = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22322
22331
|
Kr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22323
22332
|
la = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -22403,7 +22412,7 @@ var init_dist = __esm({
|
|
22403
22412
|
fa = (a2, e) => e;
|
22404
22413
|
Wo = (a2, e) => e;
|
22405
22414
|
$o = (a2, e) => e;
|
22406
|
-
|
22415
|
+
J = createSelector([j, qr], (a2, e) => e ? a2[e] : null);
|
22407
22416
|
jr = createSelector([O, Ct], (a2, e) => e ? a2[e] : null);
|
22408
22417
|
Ko = createSelector([O, Ct], (a2, e) => {
|
22409
22418
|
if (!e)
|
@@ -22430,94 +22439,94 @@ var init_dist = __esm({
|
|
22430
22439
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22431
22440
|
});
|
22432
22441
|
Qo = createSelector([na, $o], (a2, e) => e ? a2[e] : null);
|
22433
|
-
|
22434
|
-
|
22442
|
+
Z = R(J);
|
22443
|
+
jm = R(createSelector([Gr, Wo], (a2, e) => {
|
22435
22444
|
if (a2)
|
22436
22445
|
return e ? a2[e] : a2;
|
22437
22446
|
}));
|
22438
|
-
|
22439
|
-
|
22440
|
-
yi =
|
22441
|
-
va =
|
22442
|
-
|
22443
|
-
|
22444
|
-
|
22445
|
-
zo =
|
22446
|
-
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);
|
22447
22456
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22448
22457
|
return a2.tracks[t.videoTrack];
|
22449
22458
|
});
|
22450
|
-
Yo =
|
22451
|
-
let t =
|
22459
|
+
Yo = R((a2, e) => {
|
22460
|
+
let t = J(a2, e);
|
22452
22461
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22453
22462
|
return a2.tracks[t.audioTrack];
|
22454
22463
|
});
|
22455
|
-
|
22456
|
-
let t =
|
22464
|
+
iS = R((a2, e) => {
|
22465
|
+
let t = J(a2, e);
|
22457
22466
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22458
22467
|
});
|
22459
22468
|
Ma = (a2, e) => e ? a2.speakers[e] : null;
|
22460
|
-
|
22469
|
+
rS = R(createSelector(Ma, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22461
22470
|
Xo = (a2, e) => {
|
22462
22471
|
let t = Yo(e)(a2);
|
22463
22472
|
return Ma(a2, t == null ? void 0 : t.id);
|
22464
22473
|
};
|
22465
|
-
|
22466
|
-
|
22474
|
+
sS = R(createSelector(Xo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22475
|
+
aS = R((a2, e) => {
|
22467
22476
|
if (e)
|
22468
22477
|
return a2.connectionQualities[e];
|
22469
22478
|
});
|
22470
|
-
|
22471
|
-
let t =
|
22479
|
+
oS = R((a2, e) => {
|
22480
|
+
let t = J(a2, e);
|
22472
22481
|
if (t) {
|
22473
22482
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => pt(a2.tracks[r]));
|
22474
22483
|
return i ? a2.tracks[i] : void 0;
|
22475
22484
|
}
|
22476
22485
|
});
|
22477
|
-
|
22486
|
+
nS = R(createSelector(O, J, (a2, e) => {
|
22478
22487
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22479
22488
|
let r = a2[i];
|
22480
22489
|
return mt(r) && ht(r);
|
22481
22490
|
});
|
22482
22491
|
return t ? a2[t] : void 0;
|
22483
22492
|
}));
|
22484
|
-
|
22493
|
+
cS = R(createSelector(O, J, (a2, e) => {
|
22485
22494
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22486
22495
|
let r = a2[i];
|
22487
22496
|
return mt(r) && pt(r);
|
22488
22497
|
});
|
22489
22498
|
return t ? a2[t] : void 0;
|
22490
22499
|
}));
|
22491
|
-
|
22500
|
+
dS = R(createSelector(O, J, (a2, e) => {
|
22492
22501
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22493
22502
|
let r = a2[i];
|
22494
22503
|
return si(r) && pt(r);
|
22495
22504
|
});
|
22496
22505
|
return t ? a2[t] : void 0;
|
22497
22506
|
}));
|
22498
|
-
ya =
|
22507
|
+
ya = R(createSelector(O, J, (a2, e) => Ue(a2, e)));
|
22499
22508
|
ka = (a2) => createSelector(ya(a2), (e) => e.audio);
|
22500
|
-
|
22501
|
-
let t =
|
22509
|
+
uS = R((a2, e) => {
|
22510
|
+
let t = J(a2, e);
|
22502
22511
|
return je(a2, t == null ? void 0 : t.audioTrack);
|
22503
22512
|
});
|
22504
|
-
|
22505
|
-
let t =
|
22513
|
+
pS = R((a2, e) => {
|
22514
|
+
let t = J(a2, e);
|
22506
22515
|
return je(a2, t == null ? void 0 : t.videoTrack);
|
22507
22516
|
});
|
22508
|
-
Ea =
|
22517
|
+
Ea = R((a2, e) => {
|
22509
22518
|
if (e && a2.tracks[e])
|
22510
22519
|
return a2.tracks[e].volume === 0;
|
22511
22520
|
});
|
22512
|
-
|
22513
|
-
let t =
|
22521
|
+
hS = R((a2, e) => {
|
22522
|
+
let t = J(a2, e);
|
22514
22523
|
return Ea(t == null ? void 0 : t.audioTrack)(a2);
|
22515
22524
|
});
|
22516
|
-
|
22525
|
+
mS = R((a2, e) => {
|
22517
22526
|
let t = ka(e)(a2);
|
22518
22527
|
return Ea(t == null ? void 0 : t.id)(a2);
|
22519
22528
|
});
|
22520
|
-
Pa =
|
22529
|
+
Pa = R((a2, e) => {
|
22521
22530
|
let t = jr(a2, e);
|
22522
22531
|
if (t) {
|
22523
22532
|
if (t.type !== "audio") {
|
@@ -22527,15 +22536,15 @@ var init_dist = __esm({
|
|
22527
22536
|
return t.volume;
|
22528
22537
|
}
|
22529
22538
|
});
|
22530
|
-
|
22531
|
-
let t =
|
22539
|
+
SS = R((a2, e) => {
|
22540
|
+
let t = J(a2, e);
|
22532
22541
|
return Pa(t == null ? void 0 : t.audioTrack)(a2);
|
22533
22542
|
});
|
22534
|
-
|
22543
|
+
gS = R((a2, e) => {
|
22535
22544
|
let t = ka(e)(a2);
|
22536
22545
|
return Pa(t == null ? void 0 : t.id)(a2);
|
22537
22546
|
});
|
22538
|
-
|
22547
|
+
TS = R((a2, e) => {
|
22539
22548
|
let t = jr(a2, e);
|
22540
22549
|
if (t) {
|
22541
22550
|
if (t.type !== "video") {
|
@@ -22545,45 +22554,45 @@ var init_dist = __esm({
|
|
22545
22554
|
return t.layer;
|
22546
22555
|
}
|
22547
22556
|
});
|
22548
|
-
ba = createSelector([
|
22557
|
+
ba = createSelector([Rt, Ee, qr], (a2, e, t) => {
|
22549
22558
|
if (t)
|
22550
22559
|
return a2.filter((i) => {
|
22551
22560
|
var r;
|
22552
22561
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22553
22562
|
});
|
22554
22563
|
});
|
22555
|
-
Ia = createSelector([
|
22564
|
+
Ia = createSelector([Rt, fa], (a2, e) => {
|
22556
22565
|
if (e)
|
22557
22566
|
return a2.filter((t) => {
|
22558
22567
|
var i, r;
|
22559
22568
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22560
22569
|
});
|
22561
22570
|
});
|
22562
|
-
Zo = createSelector(
|
22571
|
+
Zo = createSelector(Rt, (a2) => a2.filter((e) => {
|
22563
22572
|
var t;
|
22564
22573
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22565
22574
|
}));
|
22566
22575
|
en = createSelector([Ia, fa], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22567
22576
|
tn = createSelector([ba, qr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22568
|
-
|
22569
|
-
|
22570
|
-
|
22571
|
-
|
22572
|
-
|
22573
|
-
|
22574
|
-
|
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) => {
|
22575
22584
|
var r;
|
22576
22585
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22577
22586
|
}));
|
22578
22587
|
rn = (a2) => a2.roleChangeRequests[0] || null;
|
22579
|
-
|
22580
|
-
|
22581
|
-
|
22582
|
-
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) => {
|
22583
22592
|
let t = null;
|
22584
22593
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22585
22594
|
});
|
22586
|
-
on = createSelector([
|
22595
|
+
on = createSelector([ne, O], (a2, e) => {
|
22587
22596
|
let t = null;
|
22588
22597
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22589
22598
|
});
|
@@ -22644,14 +22653,14 @@ var init_dist = __esm({
|
|
22644
22653
|
static sendFeedback(s) {
|
22645
22654
|
return c(this, arguments, function* ({ token: e, eventEndpoint: t = "https://event.100ms.live", info: i, feedback: r }) {
|
22646
22655
|
l.d(this.TAG, `sendFeedback: feedbackEndpoint=${t} peerId=${i.peer.peer_id} session=${i.peer.session_id} `);
|
22647
|
-
let o = new URL("v2/client/feedback", t), n =
|
22656
|
+
let o = new URL("v2/client/feedback", t), n = y(m({}, i), { payload: r });
|
22648
22657
|
try {
|
22649
22658
|
let d = yield fetch(o, { headers: { Authorization: `Bearer ${e}` }, body: JSON.stringify(n), method: "POST" });
|
22650
22659
|
try {
|
22651
22660
|
this.handleError(d);
|
22652
22661
|
return;
|
22653
22662
|
} catch (u) {
|
22654
|
-
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);
|
22655
22664
|
}
|
22656
22665
|
} catch (d) {
|
22657
22666
|
let u = d;
|
@@ -22661,65 +22670,65 @@ var init_dist = __esm({
|
|
22661
22670
|
}
|
22662
22671
|
};
|
22663
22672
|
Vt.TAG = "[FeedbackService]";
|
22664
|
-
|
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 || {});
|
22665
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 || {});
|
22666
22675
|
lt = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lt || {});
|
22667
|
-
|
22668
|
-
|
22669
|
-
|
22670
|
-
|
22676
|
+
Hn = (a2) => a2.localPeer.id;
|
22677
|
+
Cn = (a2) => a2.localPeer.audioTrack;
|
22678
|
+
Ln = (a2) => a2.localPeer.videoTrack;
|
22679
|
+
wn = (a2, e) => e;
|
22671
22680
|
za = (a2, e) => e;
|
22672
|
-
|
22681
|
+
Dn = (a2) => a2.remoteTrackStats;
|
22673
22682
|
Ya = (a2) => a2.peerStats;
|
22674
|
-
|
22675
|
-
|
22676
|
-
|
22683
|
+
is = (a2) => a2.localTrackStats;
|
22684
|
+
Ae = createSelector([Ya, Hn], (a2, e) => a2[e]);
|
22685
|
+
_n = createSelector(Ae, (a2) => {
|
22677
22686
|
var e;
|
22678
22687
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22679
22688
|
});
|
22680
|
-
|
22689
|
+
Nn = createSelector(Ae, (a2) => {
|
22681
22690
|
var e;
|
22682
22691
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22683
22692
|
});
|
22684
|
-
|
22693
|
+
On = createSelector(Ae, (a2) => {
|
22685
22694
|
var e;
|
22686
22695
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22687
22696
|
});
|
22688
|
-
|
22697
|
+
xn = createSelector(Ae, (a2) => {
|
22689
22698
|
var e;
|
22690
22699
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22691
22700
|
});
|
22692
|
-
|
22701
|
+
Un = createSelector(Ae, (a2) => {
|
22693
22702
|
var e;
|
22694
22703
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22695
22704
|
});
|
22696
|
-
|
22705
|
+
Bn = createSelector(Ae, (a2) => {
|
22697
22706
|
var e;
|
22698
22707
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22699
22708
|
});
|
22700
|
-
|
22709
|
+
Vn = createSelector(Ae, (a2) => {
|
22701
22710
|
var e;
|
22702
22711
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22703
22712
|
});
|
22704
|
-
|
22713
|
+
Fn = createSelector(Ae, (a2) => {
|
22705
22714
|
var e;
|
22706
22715
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22707
22716
|
});
|
22708
|
-
|
22709
|
-
|
22710
|
-
|
22711
|
-
|
22712
|
-
|
22713
|
-
|
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) => {
|
22714
22723
|
var t;
|
22715
22724
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22716
22725
|
});
|
22717
|
-
|
22718
|
-
|
22726
|
+
jn = R(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
|
22727
|
+
Jn = createSelector([is, Ln], (a2, e) => {
|
22719
22728
|
var t;
|
22720
22729
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22721
22730
|
});
|
22722
|
-
|
22731
|
+
Qn = R(createSelector(rs, (a2) => a2));
|
22723
22732
|
}
|
22724
22733
|
});
|
22725
22734
|
|
@@ -28252,7 +28261,7 @@ var init_Chat = __esm({
|
|
28252
28261
|
const listRef = (0, import_react153.useRef)(null);
|
28253
28262
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
28254
28263
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
28255
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
28264
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Jm("chatState" /* CHAT_STATE */)) || {};
|
28256
28265
|
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
28257
28266
|
const isMobileHLSStream = useMobileHLSStream();
|
28258
28267
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -28342,7 +28351,7 @@ var init_Chat = __esm({
|
|
28342
28351
|
scrollToBottom,
|
28343
28352
|
listRef
|
28344
28353
|
}) => {
|
28345
|
-
const unreadCount = (0, import_react_sdk74.useHMSStore)(
|
28354
|
+
const unreadCount = (0, import_react_sdk74.useHMSStore)(gm);
|
28346
28355
|
if (!unreadCount || !listRef.current) {
|
28347
28356
|
return null;
|
28348
28357
|
}
|
@@ -29433,7 +29442,7 @@ var init_VBPicker = __esm({
|
|
29433
29442
|
init_constants();
|
29434
29443
|
iconDims = { height: "40px", width: "40px" };
|
29435
29444
|
VBPicker = ({ backgroundMedia = [] }) => {
|
29436
|
-
var _a7;
|
29445
|
+
var _a7, _b7;
|
29437
29446
|
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
29438
29447
|
const hmsActions = (0, import_react_sdk82.useHMSActions)();
|
29439
29448
|
const localPeer = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeer);
|
@@ -29446,14 +29455,15 @@ var init_VBPicker = __esm({
|
|
29446
29455
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
29447
29456
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
29448
29457
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
29449
|
-
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(
|
29450
|
-
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);
|
29451
29460
|
const isMobile = (0, import_react_use32.useMedia)(config.media.md);
|
29452
29461
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
29453
29462
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
29454
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
29463
|
+
const background = (0, import_react_sdk82.useHMSStore)(jm(APP_DATA.background));
|
29455
29464
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
29456
29465
|
const pluginLoadingRef = (0, import_react163.useRef)(false);
|
29466
|
+
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
29457
29467
|
const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
|
29458
29468
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
29459
29469
|
(0, import_react163.useEffect)(() => {
|
@@ -29575,13 +29585,13 @@ var init_VBPicker = __esm({
|
|
29575
29585
|
yield (_a8 = VBHandler) == null ? void 0 : _a8.setBlur(blurAmount);
|
29576
29586
|
hmsActions.setAppData(APP_DATA.background, import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR);
|
29577
29587
|
}),
|
29578
|
-
supported:
|
29588
|
+
supported: isBlurSupported
|
29579
29589
|
}
|
29580
29590
|
],
|
29581
29591
|
activeBackground: background
|
29582
29592
|
}
|
29583
29593
|
),
|
29584
|
-
/* @__PURE__ */ import_react163.default.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR &&
|
29594
|
+
/* @__PURE__ */ import_react163.default.createElement(Flex, { direction: "column", css: { w: "100%", gap: "$8", mt: "$8" } }, background === import_hmsvbplugin4.HMSVirtualBackgroundTypes.BLUR && isBlurSupported ? /* @__PURE__ */ import_react163.default.createElement(Box, null, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_high", fontWeight: "$semiBold", mb: "$4" } }, "Blur intensity"), /* @__PURE__ */ import_react163.default.createElement(Flex, { css: { w: "100%", justifyContent: "space-between", alignItems: "center", gap: "$4" } }, /* @__PURE__ */ import_react163.default.createElement(Text, { variant: "caption", css: { fontWeight: "$medium", color: "$on_surface_medium" } }, "Low"), /* @__PURE__ */ import_react163.default.createElement(
|
29585
29595
|
Slider,
|
29586
29596
|
{
|
29587
29597
|
showTooltip: false,
|
@@ -31386,9 +31396,9 @@ var init_ScreenshareLayout = __esm({
|
|
31386
31396
|
}
|
31387
31397
|
});
|
31388
31398
|
|
31389
|
-
// ../../../../../../../tmp/tmp-
|
31390
|
-
var
|
31391
|
-
"../../../../../../../tmp/tmp-
|
31399
|
+
// ../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css
|
31400
|
+
var init_e065fc0 = __esm({
|
31401
|
+
"../../../../../../../tmp/tmp-2877-Dm5GIFAJD1V4/19203e065fc0/index.css"() {
|
31392
31402
|
}
|
31393
31403
|
});
|
31394
31404
|
|
@@ -31410,7 +31420,7 @@ var init_WhiteboardLayout = __esm({
|
|
31410
31420
|
init_ProminenceLayout();
|
31411
31421
|
init_useUISettings();
|
31412
31422
|
init_constants();
|
31413
|
-
|
31423
|
+
init_e065fc0();
|
31414
31424
|
WhiteboardEmbed = () => {
|
31415
31425
|
const isMobile = (0, import_react_use44.useMedia)(config.media.md);
|
31416
31426
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk95.useWhiteboard)(isMobile);
|
@@ -36204,7 +36214,7 @@ function Notifications() {
|
|
36204
36214
|
}, []);
|
36205
36215
|
(0, import_react_sdk123.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
36206
36216
|
(0, import_react234.useEffect)(() => {
|
36207
|
-
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;
|
36208
36218
|
if (!notification || isNotificationDisabled) {
|
36209
36219
|
return;
|
36210
36220
|
}
|
@@ -36245,7 +36255,7 @@ function Notifications() {
|
|
36245
36255
|
});
|
36246
36256
|
break;
|
36247
36257
|
case import_react_sdk123.HMSNotificationTypes.ROLE_UPDATED: {
|
36248
|
-
if (((
|
36258
|
+
if (((_m = notification.data) == null ? void 0 : _m.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
|
36249
36259
|
ToastManager.addToast({
|
36250
36260
|
title: `You are now a ${notification.data.roleName}`
|
36251
36261
|
});
|
@@ -37139,7 +37149,7 @@ var require_react_is_production_min = __commonJS({
|
|
37139
37149
|
var c2 = b2 ? Symbol.for("react.element") : 60103;
|
37140
37150
|
var d = b2 ? Symbol.for("react.portal") : 60106;
|
37141
37151
|
var e = b2 ? Symbol.for("react.fragment") : 60107;
|
37142
|
-
var
|
37152
|
+
var f2 = b2 ? Symbol.for("react.strict_mode") : 60108;
|
37143
37153
|
var g = b2 ? Symbol.for("react.profiler") : 60114;
|
37144
37154
|
var h = b2 ? Symbol.for("react.provider") : 60109;
|
37145
37155
|
var k = b2 ? Symbol.for("react.context") : 60110;
|
@@ -37147,14 +37157,14 @@ var require_react_is_production_min = __commonJS({
|
|
37147
37157
|
var m2 = b2 ? Symbol.for("react.concurrent_mode") : 60111;
|
37148
37158
|
var n = b2 ? Symbol.for("react.forward_ref") : 60112;
|
37149
37159
|
var p = b2 ? Symbol.for("react.suspense") : 60113;
|
37150
|
-
var
|
37160
|
+
var q = b2 ? Symbol.for("react.suspense_list") : 60120;
|
37151
37161
|
var r = b2 ? Symbol.for("react.memo") : 60115;
|
37152
37162
|
var t = b2 ? Symbol.for("react.lazy") : 60116;
|
37153
|
-
var
|
37163
|
+
var v = b2 ? Symbol.for("react.block") : 60121;
|
37154
37164
|
var w = b2 ? Symbol.for("react.fundamental") : 60117;
|
37155
37165
|
var x = b2 ? Symbol.for("react.responder") : 60118;
|
37156
37166
|
var y2 = b2 ? Symbol.for("react.scope") : 60119;
|
37157
|
-
function
|
37167
|
+
function z(a2) {
|
37158
37168
|
if ("object" === typeof a2 && null !== a2) {
|
37159
37169
|
var u = a2.$$typeof;
|
37160
37170
|
switch (u) {
|
@@ -37164,7 +37174,7 @@ var require_react_is_production_min = __commonJS({
|
|
37164
37174
|
case m2:
|
37165
37175
|
case e:
|
37166
37176
|
case g:
|
37167
|
-
case
|
37177
|
+
case f2:
|
37168
37178
|
case p:
|
37169
37179
|
return a2;
|
37170
37180
|
default:
|
@@ -37184,8 +37194,8 @@ var require_react_is_production_min = __commonJS({
|
|
37184
37194
|
}
|
37185
37195
|
}
|
37186
37196
|
}
|
37187
|
-
function
|
37188
|
-
return
|
37197
|
+
function A(a2) {
|
37198
|
+
return z(a2) === m2;
|
37189
37199
|
}
|
37190
37200
|
exports.AsyncMode = l2;
|
37191
37201
|
exports.ConcurrentMode = m2;
|
@@ -37198,49 +37208,49 @@ var require_react_is_production_min = __commonJS({
|
|
37198
37208
|
exports.Memo = r;
|
37199
37209
|
exports.Portal = d;
|
37200
37210
|
exports.Profiler = g;
|
37201
|
-
exports.StrictMode =
|
37211
|
+
exports.StrictMode = f2;
|
37202
37212
|
exports.Suspense = p;
|
37203
37213
|
exports.isAsyncMode = function(a2) {
|
37204
|
-
return
|
37214
|
+
return A(a2) || z(a2) === l2;
|
37205
37215
|
};
|
37206
|
-
exports.isConcurrentMode =
|
37216
|
+
exports.isConcurrentMode = A;
|
37207
37217
|
exports.isContextConsumer = function(a2) {
|
37208
|
-
return
|
37218
|
+
return z(a2) === k;
|
37209
37219
|
};
|
37210
37220
|
exports.isContextProvider = function(a2) {
|
37211
|
-
return
|
37221
|
+
return z(a2) === h;
|
37212
37222
|
};
|
37213
37223
|
exports.isElement = function(a2) {
|
37214
37224
|
return "object" === typeof a2 && null !== a2 && a2.$$typeof === c2;
|
37215
37225
|
};
|
37216
37226
|
exports.isForwardRef = function(a2) {
|
37217
|
-
return
|
37227
|
+
return z(a2) === n;
|
37218
37228
|
};
|
37219
37229
|
exports.isFragment = function(a2) {
|
37220
|
-
return
|
37230
|
+
return z(a2) === e;
|
37221
37231
|
};
|
37222
37232
|
exports.isLazy = function(a2) {
|
37223
|
-
return
|
37233
|
+
return z(a2) === t;
|
37224
37234
|
};
|
37225
37235
|
exports.isMemo = function(a2) {
|
37226
|
-
return
|
37236
|
+
return z(a2) === r;
|
37227
37237
|
};
|
37228
37238
|
exports.isPortal = function(a2) {
|
37229
|
-
return
|
37239
|
+
return z(a2) === d;
|
37230
37240
|
};
|
37231
37241
|
exports.isProfiler = function(a2) {
|
37232
|
-
return
|
37242
|
+
return z(a2) === g;
|
37233
37243
|
};
|
37234
37244
|
exports.isStrictMode = function(a2) {
|
37235
|
-
return
|
37245
|
+
return z(a2) === f2;
|
37236
37246
|
};
|
37237
37247
|
exports.isSuspense = function(a2) {
|
37238
|
-
return
|
37248
|
+
return z(a2) === p;
|
37239
37249
|
};
|
37240
37250
|
exports.isValidElementType = function(a2) {
|
37241
|
-
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);
|
37242
37252
|
};
|
37243
|
-
exports.typeOf =
|
37253
|
+
exports.typeOf = z;
|
37244
37254
|
}
|
37245
37255
|
});
|
37246
37256
|
|
@@ -37627,7 +37637,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
37627
37637
|
shape: createShapeTypeChecker,
|
37628
37638
|
exact: createStrictShapeTypeChecker
|
37629
37639
|
};
|
37630
|
-
function
|
37640
|
+
function is2(x, y2) {
|
37631
37641
|
if (x === y2) {
|
37632
37642
|
return x !== 0 || 1 / x === 1 / y2;
|
37633
37643
|
} else {
|
@@ -37770,7 +37780,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
37770
37780
|
function validate(props, propName, componentName, location, propFullName) {
|
37771
37781
|
var propValue = props[propName];
|
37772
37782
|
for (var i = 0; i < expectedValues.length; i++) {
|
37773
|
-
if (
|
37783
|
+
if (is2(propValue, expectedValues[i])) {
|
37774
37784
|
return null;
|
37775
37785
|
}
|
37776
37786
|
}
|