@100mslive/roomkit-react 0.2.3-alpha.0 → 0.2.3-alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +53 -0
- package/dist/{HLSView-CVRPVOXD.js → HLSView-7HBO24NV.js} +2 -2
- package/dist/{chunk-5W4IGFZA.js → chunk-U5FEFLCO.js} +856 -152
- package/dist/chunk-U5FEFLCO.js.map +7 -0
- package/dist/index.cjs.js +843 -139
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +33 -9
- package/dist/meta.esbuild.json +40 -16
- package/package.json +6 -6
- package/dist/chunk-5W4IGFZA.js.map +0 -7
- /package/dist/{HLSView-CVRPVOXD.js.map → HLSView-7HBO24NV.js.map} +0 -0
@@ -43,13 +43,13 @@ var __export = (target, all) => {
|
|
43
43
|
for (var name in all)
|
44
44
|
__defProp(target, name, { get: all[name], enumerable: true });
|
45
45
|
};
|
46
|
-
var __copyProps = (
|
46
|
+
var __copyProps = (to2, from, except, desc) => {
|
47
47
|
if (from && typeof from === "object" || typeof from === "function") {
|
48
48
|
for (let key of __getOwnPropNames(from))
|
49
|
-
if (!__hasOwnProp.call(
|
50
|
-
__defProp(
|
49
|
+
if (!__hasOwnProp.call(to2, key) && key !== except)
|
50
|
+
__defProp(to2, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
51
51
|
}
|
52
|
-
return
|
52
|
+
return to2;
|
53
53
|
};
|
54
54
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
55
55
|
// If the importer is in node compatibility mode or this is not an ESM
|
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_319f06f9-b39e-4116-a20b-1490d00fe3d8", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.3-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_319f06f9-b39e-4116-a20b-1490d00fe3d8", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.12.3-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.6", 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.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "594", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.13/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.6/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240122.3.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", 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_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:20621", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.3-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7709679716", 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_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: "d3d81cbff3a76e9db81ceb754ba3d0aa0a8ae3c0", 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: "3c64f4f663af1c013c2646ee8a063bfad0e90199ec438fa8332fb7f9647aad88", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", 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--1706610348614-0.8130608074510421:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610348415-0.7781503871909203:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610326277-0.3779794154043836:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706610326099-0.9238653629022453:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8cda47be-2115-467c-a396-ff0af511e489", INVOCATION_ID: "7d4a5249b3e548b7be1491aaf5aec454", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "417", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 484", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.3-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.3-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "d3d81cbff3a76e9db81ceb754ba3d0aa0a8ae3c0", 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/main", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_319f06f9-b39e-4116-a20b-1490d00fe3d8", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.10.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_319f06f9-b39e-4116-a20b-1490d00fe3d8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_319f06f9-b39e-4116-a20b-1490d00fe3d8" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_27c0e60a-50c9-42d7-af0c-279538701f26", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.3-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_27c0e60a-50c9-42d7-af0c-279538701f26", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.0/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.12.3-alpha.2", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.6", 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.5", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.1.10909125", 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: "595", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.13/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.6/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240126.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", 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_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:19587", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.3-alpha.2", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "7739901470", 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_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: "4f1741f9e77533d1e1af8b7e8fc18d0832fc9c4c", 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: "54c9f74dbb2fa3a40566533528e222811843a9d97116119b8660cc13f7a6e1da", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1706783857118-0.2948517689567245:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783856923-0.32903463309540704:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783834785-0.29970586778202324:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1706783834609-0.5327789712955502:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e1779918-4cb4-42e3-8018-ac9fe9e391c9", INVOCATION_ID: "2e7a9f5bbbed42c2ac6b0476f252b27c", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", 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: "419", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 302", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.3-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.3-alpha.2", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "4f1741f9e77533d1e1af8b7e8fc18d0832fc9c4c", 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: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", 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_27c0e60a-50c9-42d7-af0c-279538701f26", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.0-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_27c0e60a-50c9-42d7-af0c-279538701f26", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_27c0e60a-50c9-42d7-af0c-279538701f26" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -6845,6 +6845,708 @@ var require_ua_parser = __commonJS({
|
|
6845
6845
|
}
|
6846
6846
|
});
|
6847
6847
|
|
6848
|
+
// ../../node_modules/lodash.isequal/index.js
|
6849
|
+
var require_lodash2 = __commonJS({
|
6850
|
+
"../../node_modules/lodash.isequal/index.js"(exports, module) {
|
6851
|
+
init_define_process_env();
|
6852
|
+
var LARGE_ARRAY_SIZE = 200;
|
6853
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
6854
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
6855
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
6856
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
6857
|
+
var argsTag = "[object Arguments]";
|
6858
|
+
var arrayTag = "[object Array]";
|
6859
|
+
var asyncTag = "[object AsyncFunction]";
|
6860
|
+
var boolTag = "[object Boolean]";
|
6861
|
+
var dateTag = "[object Date]";
|
6862
|
+
var errorTag = "[object Error]";
|
6863
|
+
var funcTag = "[object Function]";
|
6864
|
+
var genTag = "[object GeneratorFunction]";
|
6865
|
+
var mapTag = "[object Map]";
|
6866
|
+
var numberTag = "[object Number]";
|
6867
|
+
var nullTag = "[object Null]";
|
6868
|
+
var objectTag = "[object Object]";
|
6869
|
+
var promiseTag = "[object Promise]";
|
6870
|
+
var proxyTag = "[object Proxy]";
|
6871
|
+
var regexpTag = "[object RegExp]";
|
6872
|
+
var setTag = "[object Set]";
|
6873
|
+
var stringTag = "[object String]";
|
6874
|
+
var symbolTag = "[object Symbol]";
|
6875
|
+
var undefinedTag = "[object Undefined]";
|
6876
|
+
var weakMapTag = "[object WeakMap]";
|
6877
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
6878
|
+
var dataViewTag = "[object DataView]";
|
6879
|
+
var float32Tag = "[object Float32Array]";
|
6880
|
+
var float64Tag = "[object Float64Array]";
|
6881
|
+
var int8Tag = "[object Int8Array]";
|
6882
|
+
var int16Tag = "[object Int16Array]";
|
6883
|
+
var int32Tag = "[object Int32Array]";
|
6884
|
+
var uint8Tag = "[object Uint8Array]";
|
6885
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
6886
|
+
var uint16Tag = "[object Uint16Array]";
|
6887
|
+
var uint32Tag = "[object Uint32Array]";
|
6888
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
6889
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
6890
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
6891
|
+
var typedArrayTags = {};
|
6892
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
6893
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
6894
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
6895
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
6896
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
6897
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
6898
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
6899
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
6900
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
6901
|
+
var nodeUtil = function() {
|
6902
|
+
try {
|
6903
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
6904
|
+
} catch (e) {
|
6905
|
+
}
|
6906
|
+
}();
|
6907
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
6908
|
+
function arrayFilter(array, predicate) {
|
6909
|
+
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
6910
|
+
while (++index < length) {
|
6911
|
+
var value = array[index];
|
6912
|
+
if (predicate(value, index, array)) {
|
6913
|
+
result[resIndex++] = value;
|
6914
|
+
}
|
6915
|
+
}
|
6916
|
+
return result;
|
6917
|
+
}
|
6918
|
+
function arrayPush(array, values) {
|
6919
|
+
var index = -1, length = values.length, offset = array.length;
|
6920
|
+
while (++index < length) {
|
6921
|
+
array[offset + index] = values[index];
|
6922
|
+
}
|
6923
|
+
return array;
|
6924
|
+
}
|
6925
|
+
function arraySome(array, predicate) {
|
6926
|
+
var index = -1, length = array == null ? 0 : array.length;
|
6927
|
+
while (++index < length) {
|
6928
|
+
if (predicate(array[index], index, array)) {
|
6929
|
+
return true;
|
6930
|
+
}
|
6931
|
+
}
|
6932
|
+
return false;
|
6933
|
+
}
|
6934
|
+
function baseTimes(n, iteratee) {
|
6935
|
+
var index = -1, result = Array(n);
|
6936
|
+
while (++index < n) {
|
6937
|
+
result[index] = iteratee(index);
|
6938
|
+
}
|
6939
|
+
return result;
|
6940
|
+
}
|
6941
|
+
function baseUnary(func) {
|
6942
|
+
return function(value) {
|
6943
|
+
return func(value);
|
6944
|
+
};
|
6945
|
+
}
|
6946
|
+
function cacheHas(cache, key) {
|
6947
|
+
return cache.has(key);
|
6948
|
+
}
|
6949
|
+
function getValue(object, key) {
|
6950
|
+
return object == null ? void 0 : object[key];
|
6951
|
+
}
|
6952
|
+
function mapToArray(map) {
|
6953
|
+
var index = -1, result = Array(map.size);
|
6954
|
+
map.forEach(function(value, key) {
|
6955
|
+
result[++index] = [key, value];
|
6956
|
+
});
|
6957
|
+
return result;
|
6958
|
+
}
|
6959
|
+
function overArg(func, transform) {
|
6960
|
+
return function(arg) {
|
6961
|
+
return func(transform(arg));
|
6962
|
+
};
|
6963
|
+
}
|
6964
|
+
function setToArray(set) {
|
6965
|
+
var index = -1, result = Array(set.size);
|
6966
|
+
set.forEach(function(value) {
|
6967
|
+
result[++index] = value;
|
6968
|
+
});
|
6969
|
+
return result;
|
6970
|
+
}
|
6971
|
+
var arrayProto = Array.prototype;
|
6972
|
+
var funcProto = Function.prototype;
|
6973
|
+
var objectProto = Object.prototype;
|
6974
|
+
var coreJsData = root["__core-js_shared__"];
|
6975
|
+
var funcToString = funcProto.toString;
|
6976
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
6977
|
+
var maskSrcKey = function() {
|
6978
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
6979
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
6980
|
+
}();
|
6981
|
+
var nativeObjectToString = objectProto.toString;
|
6982
|
+
var reIsNative = RegExp(
|
6983
|
+
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
6984
|
+
);
|
6985
|
+
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
6986
|
+
var Symbol2 = root.Symbol;
|
6987
|
+
var Uint8Array2 = root.Uint8Array;
|
6988
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
6989
|
+
var splice = arrayProto.splice;
|
6990
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
6991
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
6992
|
+
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
6993
|
+
var nativeKeys = overArg(Object.keys, Object);
|
6994
|
+
var DataView = getNative(root, "DataView");
|
6995
|
+
var Map2 = getNative(root, "Map");
|
6996
|
+
var Promise2 = getNative(root, "Promise");
|
6997
|
+
var Set2 = getNative(root, "Set");
|
6998
|
+
var WeakMap2 = getNative(root, "WeakMap");
|
6999
|
+
var nativeCreate = getNative(Object, "create");
|
7000
|
+
var dataViewCtorString = toSource(DataView);
|
7001
|
+
var mapCtorString = toSource(Map2);
|
7002
|
+
var promiseCtorString = toSource(Promise2);
|
7003
|
+
var setCtorString = toSource(Set2);
|
7004
|
+
var weakMapCtorString = toSource(WeakMap2);
|
7005
|
+
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
7006
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
7007
|
+
function Hash(entries) {
|
7008
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
7009
|
+
this.clear();
|
7010
|
+
while (++index < length) {
|
7011
|
+
var entry = entries[index];
|
7012
|
+
this.set(entry[0], entry[1]);
|
7013
|
+
}
|
7014
|
+
}
|
7015
|
+
function hashClear() {
|
7016
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
7017
|
+
this.size = 0;
|
7018
|
+
}
|
7019
|
+
function hashDelete(key) {
|
7020
|
+
var result = this.has(key) && delete this.__data__[key];
|
7021
|
+
this.size -= result ? 1 : 0;
|
7022
|
+
return result;
|
7023
|
+
}
|
7024
|
+
function hashGet(key) {
|
7025
|
+
var data3 = this.__data__;
|
7026
|
+
if (nativeCreate) {
|
7027
|
+
var result = data3[key];
|
7028
|
+
return result === HASH_UNDEFINED ? void 0 : result;
|
7029
|
+
}
|
7030
|
+
return hasOwnProperty.call(data3, key) ? data3[key] : void 0;
|
7031
|
+
}
|
7032
|
+
function hashHas(key) {
|
7033
|
+
var data3 = this.__data__;
|
7034
|
+
return nativeCreate ? data3[key] !== void 0 : hasOwnProperty.call(data3, key);
|
7035
|
+
}
|
7036
|
+
function hashSet(key, value) {
|
7037
|
+
var data3 = this.__data__;
|
7038
|
+
this.size += this.has(key) ? 0 : 1;
|
7039
|
+
data3[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
7040
|
+
return this;
|
7041
|
+
}
|
7042
|
+
Hash.prototype.clear = hashClear;
|
7043
|
+
Hash.prototype["delete"] = hashDelete;
|
7044
|
+
Hash.prototype.get = hashGet;
|
7045
|
+
Hash.prototype.has = hashHas;
|
7046
|
+
Hash.prototype.set = hashSet;
|
7047
|
+
function ListCache(entries) {
|
7048
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
7049
|
+
this.clear();
|
7050
|
+
while (++index < length) {
|
7051
|
+
var entry = entries[index];
|
7052
|
+
this.set(entry[0], entry[1]);
|
7053
|
+
}
|
7054
|
+
}
|
7055
|
+
function listCacheClear() {
|
7056
|
+
this.__data__ = [];
|
7057
|
+
this.size = 0;
|
7058
|
+
}
|
7059
|
+
function listCacheDelete(key) {
|
7060
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
7061
|
+
if (index < 0) {
|
7062
|
+
return false;
|
7063
|
+
}
|
7064
|
+
var lastIndex = data3.length - 1;
|
7065
|
+
if (index == lastIndex) {
|
7066
|
+
data3.pop();
|
7067
|
+
} else {
|
7068
|
+
splice.call(data3, index, 1);
|
7069
|
+
}
|
7070
|
+
--this.size;
|
7071
|
+
return true;
|
7072
|
+
}
|
7073
|
+
function listCacheGet(key) {
|
7074
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
7075
|
+
return index < 0 ? void 0 : data3[index][1];
|
7076
|
+
}
|
7077
|
+
function listCacheHas(key) {
|
7078
|
+
return assocIndexOf(this.__data__, key) > -1;
|
7079
|
+
}
|
7080
|
+
function listCacheSet(key, value) {
|
7081
|
+
var data3 = this.__data__, index = assocIndexOf(data3, key);
|
7082
|
+
if (index < 0) {
|
7083
|
+
++this.size;
|
7084
|
+
data3.push([key, value]);
|
7085
|
+
} else {
|
7086
|
+
data3[index][1] = value;
|
7087
|
+
}
|
7088
|
+
return this;
|
7089
|
+
}
|
7090
|
+
ListCache.prototype.clear = listCacheClear;
|
7091
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
7092
|
+
ListCache.prototype.get = listCacheGet;
|
7093
|
+
ListCache.prototype.has = listCacheHas;
|
7094
|
+
ListCache.prototype.set = listCacheSet;
|
7095
|
+
function MapCache(entries) {
|
7096
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
7097
|
+
this.clear();
|
7098
|
+
while (++index < length) {
|
7099
|
+
var entry = entries[index];
|
7100
|
+
this.set(entry[0], entry[1]);
|
7101
|
+
}
|
7102
|
+
}
|
7103
|
+
function mapCacheClear() {
|
7104
|
+
this.size = 0;
|
7105
|
+
this.__data__ = {
|
7106
|
+
"hash": new Hash(),
|
7107
|
+
"map": new (Map2 || ListCache)(),
|
7108
|
+
"string": new Hash()
|
7109
|
+
};
|
7110
|
+
}
|
7111
|
+
function mapCacheDelete(key) {
|
7112
|
+
var result = getMapData(this, key)["delete"](key);
|
7113
|
+
this.size -= result ? 1 : 0;
|
7114
|
+
return result;
|
7115
|
+
}
|
7116
|
+
function mapCacheGet(key) {
|
7117
|
+
return getMapData(this, key).get(key);
|
7118
|
+
}
|
7119
|
+
function mapCacheHas(key) {
|
7120
|
+
return getMapData(this, key).has(key);
|
7121
|
+
}
|
7122
|
+
function mapCacheSet(key, value) {
|
7123
|
+
var data3 = getMapData(this, key), size = data3.size;
|
7124
|
+
data3.set(key, value);
|
7125
|
+
this.size += data3.size == size ? 0 : 1;
|
7126
|
+
return this;
|
7127
|
+
}
|
7128
|
+
MapCache.prototype.clear = mapCacheClear;
|
7129
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
7130
|
+
MapCache.prototype.get = mapCacheGet;
|
7131
|
+
MapCache.prototype.has = mapCacheHas;
|
7132
|
+
MapCache.prototype.set = mapCacheSet;
|
7133
|
+
function SetCache(values) {
|
7134
|
+
var index = -1, length = values == null ? 0 : values.length;
|
7135
|
+
this.__data__ = new MapCache();
|
7136
|
+
while (++index < length) {
|
7137
|
+
this.add(values[index]);
|
7138
|
+
}
|
7139
|
+
}
|
7140
|
+
function setCacheAdd(value) {
|
7141
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
7142
|
+
return this;
|
7143
|
+
}
|
7144
|
+
function setCacheHas(value) {
|
7145
|
+
return this.__data__.has(value);
|
7146
|
+
}
|
7147
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
7148
|
+
SetCache.prototype.has = setCacheHas;
|
7149
|
+
function Stack(entries) {
|
7150
|
+
var data3 = this.__data__ = new ListCache(entries);
|
7151
|
+
this.size = data3.size;
|
7152
|
+
}
|
7153
|
+
function stackClear() {
|
7154
|
+
this.__data__ = new ListCache();
|
7155
|
+
this.size = 0;
|
7156
|
+
}
|
7157
|
+
function stackDelete(key) {
|
7158
|
+
var data3 = this.__data__, result = data3["delete"](key);
|
7159
|
+
this.size = data3.size;
|
7160
|
+
return result;
|
7161
|
+
}
|
7162
|
+
function stackGet(key) {
|
7163
|
+
return this.__data__.get(key);
|
7164
|
+
}
|
7165
|
+
function stackHas(key) {
|
7166
|
+
return this.__data__.has(key);
|
7167
|
+
}
|
7168
|
+
function stackSet(key, value) {
|
7169
|
+
var data3 = this.__data__;
|
7170
|
+
if (data3 instanceof ListCache) {
|
7171
|
+
var pairs = data3.__data__;
|
7172
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
7173
|
+
pairs.push([key, value]);
|
7174
|
+
this.size = ++data3.size;
|
7175
|
+
return this;
|
7176
|
+
}
|
7177
|
+
data3 = this.__data__ = new MapCache(pairs);
|
7178
|
+
}
|
7179
|
+
data3.set(key, value);
|
7180
|
+
this.size = data3.size;
|
7181
|
+
return this;
|
7182
|
+
}
|
7183
|
+
Stack.prototype.clear = stackClear;
|
7184
|
+
Stack.prototype["delete"] = stackDelete;
|
7185
|
+
Stack.prototype.get = stackGet;
|
7186
|
+
Stack.prototype.has = stackHas;
|
7187
|
+
Stack.prototype.set = stackSet;
|
7188
|
+
function arrayLikeKeys(value, inherited) {
|
7189
|
+
var isArr = isArray2(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
|
7190
|
+
for (var key in value) {
|
7191
|
+
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
7192
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
7193
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
7194
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
7195
|
+
isIndex(key, length)))) {
|
7196
|
+
result.push(key);
|
7197
|
+
}
|
7198
|
+
}
|
7199
|
+
return result;
|
7200
|
+
}
|
7201
|
+
function assocIndexOf(array, key) {
|
7202
|
+
var length = array.length;
|
7203
|
+
while (length--) {
|
7204
|
+
if (eq(array[length][0], key)) {
|
7205
|
+
return length;
|
7206
|
+
}
|
7207
|
+
}
|
7208
|
+
return -1;
|
7209
|
+
}
|
7210
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
7211
|
+
var result = keysFunc(object);
|
7212
|
+
return isArray2(object) ? result : arrayPush(result, symbolsFunc(object));
|
7213
|
+
}
|
7214
|
+
function baseGetTag(value) {
|
7215
|
+
if (value == null) {
|
7216
|
+
return value === void 0 ? undefinedTag : nullTag;
|
7217
|
+
}
|
7218
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
7219
|
+
}
|
7220
|
+
function baseIsArguments(value) {
|
7221
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
7222
|
+
}
|
7223
|
+
function baseIsEqual(value, other, bitmask, customizer2, stack) {
|
7224
|
+
if (value === other) {
|
7225
|
+
return true;
|
7226
|
+
}
|
7227
|
+
if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
|
7228
|
+
return value !== value && other !== other;
|
7229
|
+
}
|
7230
|
+
return baseIsEqualDeep(value, other, bitmask, customizer2, baseIsEqual, stack);
|
7231
|
+
}
|
7232
|
+
function baseIsEqualDeep(object, other, bitmask, customizer2, equalFunc, stack) {
|
7233
|
+
var objIsArr = isArray2(object), othIsArr = isArray2(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
|
7234
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
7235
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
7236
|
+
var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
|
7237
|
+
if (isSameTag && isBuffer(object)) {
|
7238
|
+
if (!isBuffer(other)) {
|
7239
|
+
return false;
|
7240
|
+
}
|
7241
|
+
objIsArr = true;
|
7242
|
+
objIsObj = false;
|
7243
|
+
}
|
7244
|
+
if (isSameTag && !objIsObj) {
|
7245
|
+
stack || (stack = new Stack());
|
7246
|
+
return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer2, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer2, equalFunc, stack);
|
7247
|
+
}
|
7248
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
7249
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
7250
|
+
if (objIsWrapped || othIsWrapped) {
|
7251
|
+
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
7252
|
+
stack || (stack = new Stack());
|
7253
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer2, stack);
|
7254
|
+
}
|
7255
|
+
}
|
7256
|
+
if (!isSameTag) {
|
7257
|
+
return false;
|
7258
|
+
}
|
7259
|
+
stack || (stack = new Stack());
|
7260
|
+
return equalObjects(object, other, bitmask, customizer2, equalFunc, stack);
|
7261
|
+
}
|
7262
|
+
function baseIsNative(value) {
|
7263
|
+
if (!isObject2(value) || isMasked(value)) {
|
7264
|
+
return false;
|
7265
|
+
}
|
7266
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
7267
|
+
return pattern.test(toSource(value));
|
7268
|
+
}
|
7269
|
+
function baseIsTypedArray(value) {
|
7270
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
7271
|
+
}
|
7272
|
+
function baseKeys(object) {
|
7273
|
+
if (!isPrototype(object)) {
|
7274
|
+
return nativeKeys(object);
|
7275
|
+
}
|
7276
|
+
var result = [];
|
7277
|
+
for (var key in Object(object)) {
|
7278
|
+
if (hasOwnProperty.call(object, key) && key != "constructor") {
|
7279
|
+
result.push(key);
|
7280
|
+
}
|
7281
|
+
}
|
7282
|
+
return result;
|
7283
|
+
}
|
7284
|
+
function equalArrays(array, other, bitmask, customizer2, equalFunc, stack) {
|
7285
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
|
7286
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
7287
|
+
return false;
|
7288
|
+
}
|
7289
|
+
var stacked = stack.get(array);
|
7290
|
+
if (stacked && stack.get(other)) {
|
7291
|
+
return stacked == other;
|
7292
|
+
}
|
7293
|
+
var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;
|
7294
|
+
stack.set(array, other);
|
7295
|
+
stack.set(other, array);
|
7296
|
+
while (++index < arrLength) {
|
7297
|
+
var arrValue = array[index], othValue = other[index];
|
7298
|
+
if (customizer2) {
|
7299
|
+
var compared = isPartial ? customizer2(othValue, arrValue, index, other, array, stack) : customizer2(arrValue, othValue, index, array, other, stack);
|
7300
|
+
}
|
7301
|
+
if (compared !== void 0) {
|
7302
|
+
if (compared) {
|
7303
|
+
continue;
|
7304
|
+
}
|
7305
|
+
result = false;
|
7306
|
+
break;
|
7307
|
+
}
|
7308
|
+
if (seen) {
|
7309
|
+
if (!arraySome(other, function(othValue2, othIndex) {
|
7310
|
+
if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer2, stack))) {
|
7311
|
+
return seen.push(othIndex);
|
7312
|
+
}
|
7313
|
+
})) {
|
7314
|
+
result = false;
|
7315
|
+
break;
|
7316
|
+
}
|
7317
|
+
} else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer2, stack))) {
|
7318
|
+
result = false;
|
7319
|
+
break;
|
7320
|
+
}
|
7321
|
+
}
|
7322
|
+
stack["delete"](array);
|
7323
|
+
stack["delete"](other);
|
7324
|
+
return result;
|
7325
|
+
}
|
7326
|
+
function equalByTag(object, other, tag, bitmask, customizer2, equalFunc, stack) {
|
7327
|
+
switch (tag) {
|
7328
|
+
case dataViewTag:
|
7329
|
+
if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
|
7330
|
+
return false;
|
7331
|
+
}
|
7332
|
+
object = object.buffer;
|
7333
|
+
other = other.buffer;
|
7334
|
+
case arrayBufferTag:
|
7335
|
+
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
|
7336
|
+
return false;
|
7337
|
+
}
|
7338
|
+
return true;
|
7339
|
+
case boolTag:
|
7340
|
+
case dateTag:
|
7341
|
+
case numberTag:
|
7342
|
+
return eq(+object, +other);
|
7343
|
+
case errorTag:
|
7344
|
+
return object.name == other.name && object.message == other.message;
|
7345
|
+
case regexpTag:
|
7346
|
+
case stringTag:
|
7347
|
+
return object == other + "";
|
7348
|
+
case mapTag:
|
7349
|
+
var convert = mapToArray;
|
7350
|
+
case setTag:
|
7351
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
7352
|
+
convert || (convert = setToArray);
|
7353
|
+
if (object.size != other.size && !isPartial) {
|
7354
|
+
return false;
|
7355
|
+
}
|
7356
|
+
var stacked = stack.get(object);
|
7357
|
+
if (stacked) {
|
7358
|
+
return stacked == other;
|
7359
|
+
}
|
7360
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
7361
|
+
stack.set(object, other);
|
7362
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer2, equalFunc, stack);
|
7363
|
+
stack["delete"](object);
|
7364
|
+
return result;
|
7365
|
+
case symbolTag:
|
7366
|
+
if (symbolValueOf) {
|
7367
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
7368
|
+
}
|
7369
|
+
}
|
7370
|
+
return false;
|
7371
|
+
}
|
7372
|
+
function equalObjects(object, other, bitmask, customizer2, equalFunc, stack) {
|
7373
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
|
7374
|
+
if (objLength != othLength && !isPartial) {
|
7375
|
+
return false;
|
7376
|
+
}
|
7377
|
+
var index = objLength;
|
7378
|
+
while (index--) {
|
7379
|
+
var key = objProps[index];
|
7380
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
7381
|
+
return false;
|
7382
|
+
}
|
7383
|
+
}
|
7384
|
+
var stacked = stack.get(object);
|
7385
|
+
if (stacked && stack.get(other)) {
|
7386
|
+
return stacked == other;
|
7387
|
+
}
|
7388
|
+
var result = true;
|
7389
|
+
stack.set(object, other);
|
7390
|
+
stack.set(other, object);
|
7391
|
+
var skipCtor = isPartial;
|
7392
|
+
while (++index < objLength) {
|
7393
|
+
key = objProps[index];
|
7394
|
+
var objValue = object[key], othValue = other[key];
|
7395
|
+
if (customizer2) {
|
7396
|
+
var compared = isPartial ? customizer2(othValue, objValue, key, other, object, stack) : customizer2(objValue, othValue, key, object, other, stack);
|
7397
|
+
}
|
7398
|
+
if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer2, stack) : compared)) {
|
7399
|
+
result = false;
|
7400
|
+
break;
|
7401
|
+
}
|
7402
|
+
skipCtor || (skipCtor = key == "constructor");
|
7403
|
+
}
|
7404
|
+
if (result && !skipCtor) {
|
7405
|
+
var objCtor = object.constructor, othCtor = other.constructor;
|
7406
|
+
if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
|
7407
|
+
result = false;
|
7408
|
+
}
|
7409
|
+
}
|
7410
|
+
stack["delete"](object);
|
7411
|
+
stack["delete"](other);
|
7412
|
+
return result;
|
7413
|
+
}
|
7414
|
+
function getAllKeys(object) {
|
7415
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
7416
|
+
}
|
7417
|
+
function getMapData(map, key) {
|
7418
|
+
var data3 = map.__data__;
|
7419
|
+
return isKeyable(key) ? data3[typeof key == "string" ? "string" : "hash"] : data3.map;
|
7420
|
+
}
|
7421
|
+
function getNative(object, key) {
|
7422
|
+
var value = getValue(object, key);
|
7423
|
+
return baseIsNative(value) ? value : void 0;
|
7424
|
+
}
|
7425
|
+
function getRawTag(value) {
|
7426
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
7427
|
+
try {
|
7428
|
+
value[symToStringTag] = void 0;
|
7429
|
+
var unmasked = true;
|
7430
|
+
} catch (e) {
|
7431
|
+
}
|
7432
|
+
var result = nativeObjectToString.call(value);
|
7433
|
+
if (unmasked) {
|
7434
|
+
if (isOwn) {
|
7435
|
+
value[symToStringTag] = tag;
|
7436
|
+
} else {
|
7437
|
+
delete value[symToStringTag];
|
7438
|
+
}
|
7439
|
+
}
|
7440
|
+
return result;
|
7441
|
+
}
|
7442
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
7443
|
+
if (object == null) {
|
7444
|
+
return [];
|
7445
|
+
}
|
7446
|
+
object = Object(object);
|
7447
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
7448
|
+
return propertyIsEnumerable.call(object, symbol);
|
7449
|
+
});
|
7450
|
+
};
|
7451
|
+
var getTag = baseGetTag;
|
7452
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
|
7453
|
+
getTag = function(value) {
|
7454
|
+
var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
7455
|
+
if (ctorString) {
|
7456
|
+
switch (ctorString) {
|
7457
|
+
case dataViewCtorString:
|
7458
|
+
return dataViewTag;
|
7459
|
+
case mapCtorString:
|
7460
|
+
return mapTag;
|
7461
|
+
case promiseCtorString:
|
7462
|
+
return promiseTag;
|
7463
|
+
case setCtorString:
|
7464
|
+
return setTag;
|
7465
|
+
case weakMapCtorString:
|
7466
|
+
return weakMapTag;
|
7467
|
+
}
|
7468
|
+
}
|
7469
|
+
return result;
|
7470
|
+
};
|
7471
|
+
}
|
7472
|
+
function isIndex(value, length) {
|
7473
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
7474
|
+
return !!length && (typeof value == "number" || reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
7475
|
+
}
|
7476
|
+
function isKeyable(value) {
|
7477
|
+
var type = typeof value;
|
7478
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
7479
|
+
}
|
7480
|
+
function isMasked(func) {
|
7481
|
+
return !!maskSrcKey && maskSrcKey in func;
|
7482
|
+
}
|
7483
|
+
function isPrototype(value) {
|
7484
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
7485
|
+
return value === proto;
|
7486
|
+
}
|
7487
|
+
function objectToString(value) {
|
7488
|
+
return nativeObjectToString.call(value);
|
7489
|
+
}
|
7490
|
+
function toSource(func) {
|
7491
|
+
if (func != null) {
|
7492
|
+
try {
|
7493
|
+
return funcToString.call(func);
|
7494
|
+
} catch (e) {
|
7495
|
+
}
|
7496
|
+
try {
|
7497
|
+
return func + "";
|
7498
|
+
} catch (e) {
|
7499
|
+
}
|
7500
|
+
}
|
7501
|
+
return "";
|
7502
|
+
}
|
7503
|
+
function eq(value, other) {
|
7504
|
+
return value === other || value !== value && other !== other;
|
7505
|
+
}
|
7506
|
+
var isArguments = baseIsArguments(function() {
|
7507
|
+
return arguments;
|
7508
|
+
}()) ? baseIsArguments : function(value) {
|
7509
|
+
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
7510
|
+
};
|
7511
|
+
var isArray2 = Array.isArray;
|
7512
|
+
function isArrayLike(value) {
|
7513
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
7514
|
+
}
|
7515
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
7516
|
+
function isEqual(value, other) {
|
7517
|
+
return baseIsEqual(value, other);
|
7518
|
+
}
|
7519
|
+
function isFunction(value) {
|
7520
|
+
if (!isObject2(value)) {
|
7521
|
+
return false;
|
7522
|
+
}
|
7523
|
+
var tag = baseGetTag(value);
|
7524
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
7525
|
+
}
|
7526
|
+
function isLength(value) {
|
7527
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
7528
|
+
}
|
7529
|
+
function isObject2(value) {
|
7530
|
+
var type = typeof value;
|
7531
|
+
return value != null && (type == "object" || type == "function");
|
7532
|
+
}
|
7533
|
+
function isObjectLike(value) {
|
7534
|
+
return value != null && typeof value == "object";
|
7535
|
+
}
|
7536
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
7537
|
+
function keys(object) {
|
7538
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
7539
|
+
}
|
7540
|
+
function stubArray() {
|
7541
|
+
return [];
|
7542
|
+
}
|
7543
|
+
function stubFalse() {
|
7544
|
+
return false;
|
7545
|
+
}
|
7546
|
+
module.exports = isEqual;
|
7547
|
+
}
|
7548
|
+
});
|
7549
|
+
|
6848
7550
|
// ../../node_modules/sdp/sdp.js
|
6849
7551
|
var require_sdp = __commonJS({
|
6850
7552
|
"../../node_modules/sdp/sdp.js"(exports, module) {
|
@@ -10461,11 +11163,11 @@ var formatBytes = (bytes, unit = "B", decimals = 2) => {
|
|
10461
11163
|
return "-";
|
10462
11164
|
}
|
10463
11165
|
const k2 = 1024;
|
10464
|
-
const
|
11166
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
10465
11167
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
10466
11168
|
let i = Math.floor(Math.log(bytes) / Math.log(k2));
|
10467
11169
|
i === 0 && i++;
|
10468
|
-
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
11170
|
+
return `${parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2))} ${sizes[i]}`;
|
10469
11171
|
};
|
10470
11172
|
|
10471
11173
|
// src/Stats/StyledStats.tsx
|
@@ -14613,10 +15315,10 @@ var formatBytes2 = (bytes, unit = "B", decimals = 2) => {
|
|
14613
15315
|
if (bytes === 0)
|
14614
15316
|
return "0 " + unit;
|
14615
15317
|
const k2 = 1024;
|
14616
|
-
const
|
15318
|
+
const dm2 = decimals < 0 ? 0 : decimals;
|
14617
15319
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
14618
15320
|
const i = Math.floor(Math.log(bytes) / Math.log(k2));
|
14619
|
-
return parseFloat((bytes / Math.pow(k2, i)).toFixed(
|
15321
|
+
return parseFloat((bytes / Math.pow(k2, i)).toFixed(dm2)) + " " + sizes[i];
|
14620
15322
|
};
|
14621
15323
|
|
14622
15324
|
// src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx
|
@@ -15159,6 +15861,7 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
15159
15861
|
|
15160
15862
|
// ../hms-video-store/dist/index.js
|
15161
15863
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
15864
|
+
var import_lodash3 = __toESM(require_lodash2());
|
15162
15865
|
import { v4 as Ba } from "uuid";
|
15163
15866
|
import { v4 as Ua } from "uuid";
|
15164
15867
|
|
@@ -16985,15 +17688,15 @@ function shimSendThrowTypeError(window2) {
|
|
16985
17688
|
if (!(window2.RTCPeerConnection && "createDataChannel" in window2.RTCPeerConnection.prototype)) {
|
16986
17689
|
return;
|
16987
17690
|
}
|
16988
|
-
function wrapDcSend(
|
16989
|
-
const origDataChannelSend =
|
16990
|
-
|
17691
|
+
function wrapDcSend(dc, pc) {
|
17692
|
+
const origDataChannelSend = dc.send;
|
17693
|
+
dc.send = function send() {
|
16991
17694
|
const data3 = arguments[0];
|
16992
17695
|
const length = data3.length || data3.size || data3.byteLength;
|
16993
|
-
if (
|
17696
|
+
if (dc.readyState === "open" && pc.sctp && length > pc.sctp.maxMessageSize) {
|
16994
17697
|
throw new TypeError("Message too large (can send a maximum of " + pc.sctp.maxMessageSize + " bytes)");
|
16995
17698
|
}
|
16996
|
-
return origDataChannelSend.apply(
|
17699
|
+
return origDataChannelSend.apply(dc, arguments);
|
16997
17700
|
};
|
16998
17701
|
}
|
16999
17702
|
const origCreateDataChannel = window2.RTCPeerConnection.prototype.createDataChannel;
|
@@ -17256,17 +17959,18 @@ function adapterFactory({ window: window2 } = {}, options = {
|
|
17256
17959
|
var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 : window });
|
17257
17960
|
|
17258
17961
|
// ../hms-video-store/dist/index.js
|
17259
|
-
|
17260
|
-
import { v4 as
|
17261
|
-
import { v4 as
|
17262
|
-
import {
|
17962
|
+
var import_lodash4 = __toESM(require_lodash2());
|
17963
|
+
import { v4 as Ya } from "uuid";
|
17964
|
+
import { v4 as to } from "uuid";
|
17965
|
+
import { v4 as ao } from "uuid";
|
17966
|
+
import { EventEmitter2 as oo } from "eventemitter2";
|
17263
17967
|
var It = __toESM(require_lib());
|
17264
|
-
import { EventEmitter2 as
|
17265
|
-
import { v4 as
|
17266
|
-
import { EventEmitter2 as
|
17267
|
-
import
|
17268
|
-
import { v4 as
|
17269
|
-
import { v4 as
|
17968
|
+
import { EventEmitter2 as Ao } from "eventemitter2";
|
17969
|
+
import { v4 as Io } from "uuid";
|
17970
|
+
import { EventEmitter2 as Ho } from "eventemitter2";
|
17971
|
+
import Co from "eventemitter2";
|
17972
|
+
import { v4 as Lo } from "uuid";
|
17973
|
+
import { v4 as _o } from "uuid";
|
17270
17974
|
var ga = Object.defineProperty;
|
17271
17975
|
var Ta = Object.defineProperties;
|
17272
17976
|
var fa = Object.getOwnPropertyDescriptors;
|
@@ -17274,7 +17978,7 @@ var Ot = Object.getOwnPropertySymbols;
|
|
17274
17978
|
var Fr = Object.prototype.hasOwnProperty;
|
17275
17979
|
var Gr = Object.prototype.propertyIsEnumerable;
|
17276
17980
|
var Br = (a2, e, t) => e in a2 ? ga(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
17277
|
-
var
|
17981
|
+
var m = (a2, e) => {
|
17278
17982
|
for (var t in e || (e = {}))
|
17279
17983
|
Fr.call(e, t) && Br(a2, t, e[t]);
|
17280
17984
|
if (Ot)
|
@@ -17293,8 +17997,8 @@ var Qi = (a2, e) => {
|
|
17293
17997
|
return t;
|
17294
17998
|
};
|
17295
17999
|
var ya = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
17296
|
-
var nr = ya((
|
17297
|
-
Va.exports = { version: "0.11.3-alpha.
|
18000
|
+
var nr = ya((Qc, Va) => {
|
18001
|
+
Va.exports = { version: "0.11.3-alpha.2", 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"] };
|
17298
18002
|
});
|
17299
18003
|
var zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(zi || {});
|
17300
18004
|
var ka = ((e) => (e.CHAT = "chat", e))(ka || {});
|
@@ -17338,8 +18042,8 @@ function it(a2) {
|
|
17338
18042
|
}
|
17339
18043
|
var U = (a2) => a2.room;
|
17340
18044
|
var Ea = (a2) => a2.errors;
|
17341
|
-
var
|
17342
|
-
var
|
18045
|
+
var Pn = createSelector(Ea, (a2) => a2.length === 0 ? null : a2.at(-1));
|
18046
|
+
var En = createSelector(U, (a2) => a2.id);
|
17343
18047
|
var G = (a2) => a2.peers;
|
17344
18048
|
var Bt = (a2) => a2.messages.byID;
|
17345
18049
|
var jr = (a2) => a2.messages.allIDs;
|
@@ -17347,14 +18051,14 @@ var w = (a2) => a2.tracks;
|
|
17347
18051
|
var Xi = (a2) => a2.appData;
|
17348
18052
|
var Aa = (a2) => a2.speakers;
|
17349
18053
|
var ye = createSelector([U], (a2) => a2 && a2.isConnected);
|
17350
|
-
var
|
18054
|
+
var Rn = createSelector([ye, U], (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));
|
17351
18055
|
var ba = (a2) => a2.hideLocalPeer;
|
17352
18056
|
var ae = createSelector([U, G, ba], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
17353
18057
|
var Ra = createSelector(w, (a2) => Object.values(a2));
|
17354
18058
|
var Q = createSelector(U, G, (a2, e) => e[a2.localPeer]);
|
17355
18059
|
var ue = createSelector(U, (a2) => a2.localPeer);
|
17356
|
-
var
|
17357
|
-
var
|
18060
|
+
var In = createSelector(Q, (a2) => a2 == null ? void 0 : a2.name);
|
18061
|
+
var Hn = createSelector(Q, (a2) => a2 == null ? void 0 : a2.roleName);
|
17358
18062
|
var Z = createSelector(Q, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
17359
18063
|
var K = createSelector(Q, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
17360
18064
|
var Ia = createSelector(Q, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
@@ -17362,8 +18066,8 @@ var Qr = createSelector([Z, K, Ia], (a2, e, t) => {
|
|
17362
18066
|
let i = t ? [...t] : [];
|
17363
18067
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
17364
18068
|
});
|
17365
|
-
var
|
17366
|
-
var
|
18069
|
+
var Cn = createSelector(ae, (a2) => a2.filter((e) => !e.isLocal));
|
18070
|
+
var Ln = createSelector(G, Aa, (a2, e) => {
|
17367
18071
|
let t = Object.entries(e).sort((i, r) => {
|
17368
18072
|
var n, l;
|
17369
18073
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -17390,15 +18094,15 @@ var Ha = createSelector(G, w, (a2, e) => {
|
|
17390
18094
|
}
|
17391
18095
|
return t;
|
17392
18096
|
});
|
17393
|
-
var
|
17394
|
-
var
|
18097
|
+
var Dn = createSelector(Ha, (a2) => !!a2);
|
18098
|
+
var _n = createSelector(G, w, (a2, e) => {
|
17395
18099
|
for (let t in a2) {
|
17396
18100
|
let i = a2[t], { audio: r, video: s } = Ie(e, i);
|
17397
18101
|
if (!s && r)
|
17398
18102
|
return i;
|
17399
18103
|
}
|
17400
18104
|
});
|
17401
|
-
var
|
18105
|
+
var Nn = createSelector(G, w, (a2, e) => {
|
17402
18106
|
let t = [], i = [];
|
17403
18107
|
for (let r in a2) {
|
17404
18108
|
let s = a2[r], { video: o, audio: n } = Ie(e, s);
|
@@ -17406,23 +18110,23 @@ var Dn = createSelector(G, w, (a2, e) => {
|
|
17406
18110
|
}
|
17407
18111
|
return t.concat(i);
|
17408
18112
|
});
|
17409
|
-
var
|
18113
|
+
var On = createSelector(G, w, (a2, e) => {
|
17410
18114
|
for (let t in e) {
|
17411
18115
|
let i = e[t];
|
17412
18116
|
if (tt(i) && et(i) && i.peerId)
|
17413
18117
|
return a2[i.peerId];
|
17414
18118
|
}
|
17415
18119
|
});
|
17416
|
-
var
|
18120
|
+
var xn = createSelector(G, w, (a2, e) => {
|
17417
18121
|
for (let t in e) {
|
17418
18122
|
let i = e[t];
|
17419
18123
|
if (Vt(i) && i.peerId)
|
17420
18124
|
return a2[i.peerId];
|
17421
18125
|
}
|
17422
18126
|
});
|
17423
|
-
var
|
17424
|
-
var
|
17425
|
-
var
|
18127
|
+
var Un = createSelector(Ra, (a2) => a2.filter(Kr));
|
18128
|
+
var Vn = createSelector(jr, (a2) => a2.length);
|
18129
|
+
var Bn = createSelector(Bt, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
17426
18130
|
var rt = createSelector(jr, Bt, (a2, e) => {
|
17427
18131
|
let t = [];
|
17428
18132
|
return a2.forEach((i) => {
|
@@ -17433,35 +18137,35 @@ var Ca = createSelector(rt, (a2) => a2.filter((e) => {
|
|
17433
18137
|
var t;
|
17434
18138
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
17435
18139
|
}));
|
17436
|
-
var
|
18140
|
+
var Fn = createSelector(Ca, (a2) => a2.filter((e) => !e.read).length);
|
17437
18141
|
var z = createSelector([U], (a2) => a2 && a2.roomState);
|
17438
18142
|
var Yr = createSelector(z, (a2) => a2 === "Preview");
|
17439
|
-
var
|
18143
|
+
var Gn = createSelector(U, (a2) => a2.roomState !== "Disconnected");
|
17440
18144
|
var oe = (a2) => a2.roles;
|
17441
|
-
var
|
18145
|
+
var $n = createSelector([oe], (a2) => Object.keys(a2));
|
17442
18146
|
var Ft = createSelector([Q, oe], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
17443
18147
|
var La = (a2) => {
|
17444
18148
|
var e;
|
17445
18149
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
17446
18150
|
};
|
17447
18151
|
var Xr = createSelector([La, oe], (a2, e) => a2 ? e[a2] : null);
|
17448
|
-
var
|
18152
|
+
var Wn = createSelector([Ft], (a2) => {
|
17449
18153
|
var e;
|
17450
18154
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
17451
18155
|
});
|
17452
18156
|
var Zr = createSelector(Ft, (a2) => a2 == null ? void 0 : a2.permissions);
|
17453
|
-
var
|
17454
|
-
var
|
17455
|
-
var
|
17456
|
-
var
|
17457
|
-
var
|
17458
|
-
var
|
17459
|
-
var
|
17460
|
-
var
|
18157
|
+
var Kn = createSelector(U, (a2) => a2.recording);
|
18158
|
+
var qn = createSelector(U, (a2) => a2.rtmp);
|
18159
|
+
var jn = createSelector(U, (a2) => a2.hls);
|
18160
|
+
var Jn = createSelector(U, (a2) => a2.sessionId);
|
18161
|
+
var Qn = createSelector(U, (a2) => a2.startedAt);
|
18162
|
+
var zn = createSelector(U, (a2) => !!a2.isLargeRoom);
|
18163
|
+
var Yn = createSelector(U, (a2) => !!a2.isEffectsEnabled);
|
18164
|
+
var Xn = createSelector(U, (a2) => a2.effectsKey);
|
17461
18165
|
var es = (a2) => a2.polls;
|
17462
|
-
var
|
18166
|
+
var ic = createSelector(ae, (a2) => a2.filter((e) => e.isHandRaised));
|
17463
18167
|
var wa = (a2) => a2.whiteboards;
|
17464
|
-
var
|
18168
|
+
var rc = createSelector(wa, (a2) => Object.values(a2)[0]);
|
17465
18169
|
var is = (a2 = "audio") => (e) => e.playlist[a2].list;
|
17466
18170
|
var tr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
17467
18171
|
var rs = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
@@ -17551,10 +18255,10 @@ var N = typeof window != "undefined";
|
|
17551
18255
|
var ps;
|
17552
18256
|
var He = typeof window == "undefined" && !((ps = pe.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
|
17553
18257
|
var Na = () => !He;
|
17554
|
-
var
|
18258
|
+
var uc = Na();
|
17555
18259
|
var hs;
|
17556
|
-
var
|
17557
|
-
var gs = ((
|
18260
|
+
var ms;
|
18261
|
+
var gs = ((ms = (hs = pe.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
|
17558
18262
|
function Oa() {
|
17559
18263
|
if (N && window) {
|
17560
18264
|
let a2 = window.location.hostname;
|
@@ -17785,12 +18489,12 @@ var I = class {
|
|
17785
18489
|
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Ba(), this.device_id = fs();
|
17786
18490
|
}
|
17787
18491
|
toSignalParams() {
|
17788
|
-
return { name: this.name, info: k(
|
18492
|
+
return { name: this.name, info: k(m({}, this.properties), { timestamp: this.timestamp, domain: Ue }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
17789
18493
|
}
|
17790
18494
|
};
|
17791
18495
|
var M = class {
|
17792
18496
|
static connect(e, t, i = /* @__PURE__ */ new Date(), r = /* @__PURE__ */ new Date(), s) {
|
17793
|
-
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(k(
|
18497
|
+
let o = this.eventNameFor("connect", e === void 0), n = e ? 2 : 1, l = this.getPropertiesWithError(k(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);
|
17794
18498
|
return new I({ name: o, level: n, properties: l });
|
17795
18499
|
}
|
17796
18500
|
static disconnect(e, t) {
|
@@ -17804,7 +18508,7 @@ var M = class {
|
|
17804
18508
|
}
|
17805
18509
|
static join(i) {
|
17806
18510
|
var r = i, { error: e } = r, t = Qi(r, ["error"]);
|
17807
|
-
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(k(
|
18511
|
+
let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(k(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
|
17808
18512
|
return new I({ name: s, level: o, properties: n });
|
17809
18513
|
}
|
17810
18514
|
static publish({ devices: e, settings: t, error: i }) {
|
@@ -17847,7 +18551,7 @@ var M = class {
|
|
17847
18551
|
let i = "video.degradation.stats", r = 1, s = { degradedAt: e.degradedAt, trackId: e.trackId };
|
17848
18552
|
if (!t && e.degradedAt instanceof Date) {
|
17849
18553
|
let o = /* @__PURE__ */ new Date(), n = o.valueOf() - e.degradedAt.valueOf();
|
17850
|
-
s = k(
|
18554
|
+
s = k(m({}, s), { duration: n, restoredAt: o });
|
17851
18555
|
}
|
17852
18556
|
return new I({ name: i, level: r, properties: s });
|
17853
18557
|
}
|
@@ -17869,7 +18573,7 @@ var M = class {
|
|
17869
18573
|
}
|
17870
18574
|
static getPropertiesWithError(e, t) {
|
17871
18575
|
let i = this.getErrorProperties(t);
|
17872
|
-
return e =
|
18576
|
+
return e = m(m({}, i), e), e;
|
17873
18577
|
}
|
17874
18578
|
static getErrorProperties(e) {
|
17875
18579
|
return e ? e instanceof T ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
@@ -17981,13 +18685,13 @@ var hr = class {
|
|
17981
18685
|
}
|
17982
18686
|
};
|
17983
18687
|
var Ls = new hr();
|
17984
|
-
var
|
17985
|
-
var
|
18688
|
+
var mr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(mr || {});
|
18689
|
+
var Sr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Sr || {});
|
17986
18690
|
var _s = "https://event.100ms.live/v2/client/report";
|
17987
18691
|
var Ns = "https://event-nonprod.100ms.live/v2/client/report";
|
17988
18692
|
var qe = class {
|
17989
18693
|
};
|
17990
|
-
qe.makePeerId = () =>
|
18694
|
+
qe.makePeerId = () => ao();
|
17991
18695
|
var ht = "HMS-Store:";
|
17992
18696
|
var y = class {
|
17993
18697
|
static v(e, ...t) {
|
@@ -18056,101 +18760,101 @@ var y = class {
|
|
18056
18760
|
};
|
18057
18761
|
y.level = 0;
|
18058
18762
|
var Ar = (a2, e) => e;
|
18059
|
-
var
|
18763
|
+
var mt = (a2, e) => e;
|
18060
18764
|
var Gs = (a2, e) => e;
|
18061
|
-
var
|
18062
|
-
var
|
18765
|
+
var no = (a2, e) => e;
|
18766
|
+
var co = (a2, e) => e;
|
18063
18767
|
var j = createSelector([G, Ar], (a2, e) => e ? a2[e] : null);
|
18064
|
-
var br = createSelector([w,
|
18065
|
-
var
|
18768
|
+
var br = createSelector([w, mt], (a2, e) => e ? a2[e] : null);
|
18769
|
+
var lo = createSelector([w, mt], (a2, e) => {
|
18066
18770
|
if (!e)
|
18067
18771
|
return null;
|
18068
18772
|
let t = a2[e];
|
18069
18773
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
18070
18774
|
});
|
18071
|
-
var
|
18775
|
+
var uo = createSelector([w, mt], (a2, e) => {
|
18072
18776
|
if (!e)
|
18073
18777
|
return null;
|
18074
18778
|
let t = a2[e];
|
18075
18779
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
18076
18780
|
});
|
18077
|
-
var
|
18781
|
+
var po = createSelector([w, mt], (a2, e) => {
|
18078
18782
|
if (!e)
|
18079
18783
|
return null;
|
18080
18784
|
let t = a2[e];
|
18081
18785
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
18082
18786
|
});
|
18083
|
-
var
|
18787
|
+
var ho = createSelector([w, mt], (a2, e) => {
|
18084
18788
|
if (!e)
|
18085
18789
|
return null;
|
18086
18790
|
let t = a2[e];
|
18087
18791
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
18088
18792
|
});
|
18089
|
-
var
|
18793
|
+
var mo = createSelector([es, co], (a2, e) => e ? a2[e] : null);
|
18090
18794
|
var J = A(j);
|
18091
|
-
var
|
18795
|
+
var Qh = A(createSelector([Xi, no], (a2, e) => {
|
18092
18796
|
if (a2)
|
18093
18797
|
return e ? a2[e] : a2;
|
18094
18798
|
}));
|
18095
|
-
function
|
18799
|
+
function zh(a2) {
|
18096
18800
|
return (e) => {
|
18097
18801
|
if (e.sessionStore)
|
18098
18802
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
18099
18803
|
};
|
18100
18804
|
}
|
18101
|
-
var
|
18805
|
+
var Xh = A(createSelector(j, (a2) => a2 == null ? void 0 : a2.name));
|
18102
18806
|
var si = A(br);
|
18103
|
-
var $s = A(
|
18104
|
-
var
|
18105
|
-
var
|
18106
|
-
var
|
18107
|
-
var
|
18807
|
+
var $s = A(lo);
|
18808
|
+
var Zh = A(uo);
|
18809
|
+
var em = A(po);
|
18810
|
+
var tm = A(ho);
|
18811
|
+
var So = A((a2, e) => {
|
18108
18812
|
let t = j(a2, e);
|
18109
18813
|
if (t && t.videoTrack && t.videoTrack !== "")
|
18110
18814
|
return a2.tracks[t.videoTrack];
|
18111
18815
|
});
|
18112
|
-
var
|
18816
|
+
var go = A((a2, e) => {
|
18113
18817
|
let t = j(a2, e);
|
18114
18818
|
if (t && t.audioTrack && t.audioTrack !== "")
|
18115
18819
|
return a2.tracks[t.audioTrack];
|
18116
18820
|
});
|
18117
|
-
var
|
18821
|
+
var rm = A((a2, e) => {
|
18118
18822
|
let t = j(a2, e);
|
18119
18823
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
18120
18824
|
});
|
18121
18825
|
var Ws = (a2, e) => e ? a2.speakers[e] : null;
|
18122
|
-
var
|
18123
|
-
var
|
18124
|
-
let t =
|
18826
|
+
var sm = A(createSelector(Ws, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
18827
|
+
var To = (a2, e) => {
|
18828
|
+
let t = go(e)(a2);
|
18125
18829
|
return Ws(a2, t == null ? void 0 : t.id);
|
18126
18830
|
};
|
18127
|
-
var
|
18128
|
-
var
|
18831
|
+
var am = A(createSelector(To, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
18832
|
+
var om = A((a2, e) => {
|
18129
18833
|
if (e)
|
18130
18834
|
return a2.connectionQualities[e];
|
18131
18835
|
});
|
18132
|
-
var
|
18836
|
+
var nm = A((a2, e) => {
|
18133
18837
|
let t = j(a2, e);
|
18134
18838
|
if (t) {
|
18135
18839
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => Ze(a2.tracks[r]));
|
18136
18840
|
return i ? a2.tracks[i] : void 0;
|
18137
18841
|
}
|
18138
18842
|
});
|
18139
|
-
var
|
18843
|
+
var cm = A(createSelector(w, j, (a2, e) => {
|
18140
18844
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18141
18845
|
let r = a2[i];
|
18142
18846
|
return tt(r) && et(r);
|
18143
18847
|
});
|
18144
18848
|
return t ? a2[t] : void 0;
|
18145
18849
|
}));
|
18146
|
-
var
|
18850
|
+
var dm = A(createSelector(w, j, (a2, e) => {
|
18147
18851
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18148
18852
|
let r = a2[i];
|
18149
18853
|
return tt(r) && Ze(r);
|
18150
18854
|
});
|
18151
18855
|
return t ? a2[t] : void 0;
|
18152
18856
|
}));
|
18153
|
-
var
|
18857
|
+
var lm = A(createSelector(w, j, (a2, e) => {
|
18154
18858
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
18155
18859
|
let r = a2[i];
|
18156
18860
|
return Vt(r) && Ze(r);
|
@@ -18159,11 +18863,11 @@ var oS = A(createSelector(w, j, (a2, e) => {
|
|
18159
18863
|
}));
|
18160
18864
|
var Ks = A(createSelector(w, j, (a2, e) => Ie(a2, e)));
|
18161
18865
|
var qs = (a2) => createSelector(Ks(a2), (e) => e.audio);
|
18162
|
-
var
|
18866
|
+
var pm = A((a2, e) => {
|
18163
18867
|
let t = j(a2, e);
|
18164
18868
|
return Oe(a2, t == null ? void 0 : t.audioTrack);
|
18165
18869
|
});
|
18166
|
-
var
|
18870
|
+
var hm = A((a2, e) => {
|
18167
18871
|
let t = j(a2, e);
|
18168
18872
|
return Oe(a2, t == null ? void 0 : t.videoTrack);
|
18169
18873
|
});
|
@@ -18171,11 +18875,11 @@ var js = A((a2, e) => {
|
|
18171
18875
|
if (e && a2.tracks[e])
|
18172
18876
|
return a2.tracks[e].volume === 0;
|
18173
18877
|
});
|
18174
|
-
var
|
18878
|
+
var mm = A((a2, e) => {
|
18175
18879
|
let t = j(a2, e);
|
18176
18880
|
return js(t == null ? void 0 : t.audioTrack)(a2);
|
18177
18881
|
});
|
18178
|
-
var
|
18882
|
+
var Sm = A((a2, e) => {
|
18179
18883
|
let t = qs(e)(a2);
|
18180
18884
|
return js(t == null ? void 0 : t.id)(a2);
|
18181
18885
|
});
|
@@ -18189,15 +18893,15 @@ var Js = A((a2, e) => {
|
|
18189
18893
|
return t.volume;
|
18190
18894
|
}
|
18191
18895
|
});
|
18192
|
-
var
|
18896
|
+
var gm = A((a2, e) => {
|
18193
18897
|
let t = j(a2, e);
|
18194
18898
|
return Js(t == null ? void 0 : t.audioTrack)(a2);
|
18195
18899
|
});
|
18196
|
-
var
|
18900
|
+
var Tm = A((a2, e) => {
|
18197
18901
|
let t = qs(e)(a2);
|
18198
18902
|
return Js(t == null ? void 0 : t.id)(a2);
|
18199
18903
|
});
|
18200
|
-
var
|
18904
|
+
var fm = A((a2, e) => {
|
18201
18905
|
let t = br(a2, e);
|
18202
18906
|
if (t) {
|
18203
18907
|
if (t.type !== "video") {
|
@@ -18221,31 +18925,31 @@ var zs = createSelector([rt, Gs], (a2, e) => {
|
|
18221
18925
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
18222
18926
|
});
|
18223
18927
|
});
|
18224
|
-
var
|
18928
|
+
var fo = createSelector(rt, (a2) => a2.filter((e) => {
|
18225
18929
|
var t;
|
18226
18930
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
18227
18931
|
}));
|
18228
|
-
var
|
18229
|
-
var
|
18230
|
-
var
|
18231
|
-
var
|
18232
|
-
var
|
18233
|
-
var
|
18234
|
-
var
|
18235
|
-
var Ys = A(
|
18236
|
-
var
|
18932
|
+
var vo = createSelector([zs, Gs], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
18933
|
+
var Mo = createSelector([Qs, Ar], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
18934
|
+
var vm = createSelector(fo, (a2) => a2.filter((e) => !e.read).length);
|
18935
|
+
var Mm = A(Qs);
|
18936
|
+
var ym = A(zs);
|
18937
|
+
var km = A(vo);
|
18938
|
+
var Pm = A(Mo);
|
18939
|
+
var Ys = A(mo);
|
18940
|
+
var _m = createSelector([G, w], (a2, e) => Object.values(a2).map((i) => {
|
18237
18941
|
var r;
|
18238
18942
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
18239
18943
|
}));
|
18240
|
-
var
|
18241
|
-
var
|
18242
|
-
var
|
18243
|
-
var
|
18244
|
-
var
|
18944
|
+
var yo = (a2) => a2.roleChangeRequests[0] || null;
|
18945
|
+
var Nm = createSelector([yo, G, oe], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
18946
|
+
var Om = createSelector([Ft], (a2) => it(a2));
|
18947
|
+
var xm = createSelector([Xr], (a2) => it(a2));
|
18948
|
+
var Po = createSelector([K, w], (a2, e) => {
|
18245
18949
|
let t = null;
|
18246
18950
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
18247
18951
|
});
|
18248
|
-
var
|
18952
|
+
var Eo = createSelector([Z, w], (a2, e) => {
|
18249
18953
|
let t = null;
|
18250
18954
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
18251
18955
|
});
|
@@ -18298,62 +19002,62 @@ var fe = new Lr();
|
|
18298
19002
|
var $ = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))($ || {});
|
18299
19003
|
var xi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(xi || {});
|
18300
19004
|
var Ki = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Ki || {});
|
18301
|
-
var
|
18302
|
-
var
|
18303
|
-
var
|
18304
|
-
var
|
18305
|
-
var
|
18306
|
-
var
|
18307
|
-
var
|
19005
|
+
var Wo = (a2) => a2.localPeer.id;
|
19006
|
+
var Ko = (a2) => a2.localPeer.audioTrack;
|
19007
|
+
var qo = (a2) => a2.localPeer.videoTrack;
|
19008
|
+
var jo = (a2, e) => e;
|
19009
|
+
var ma = (a2, e) => e;
|
19010
|
+
var Jo = (a2) => a2.remoteTrackStats;
|
19011
|
+
var Sa = (a2) => a2.peerStats;
|
18308
19012
|
var xr = (a2) => a2.localTrackStats;
|
18309
|
-
var Me = createSelector([
|
18310
|
-
var
|
19013
|
+
var Me = createSelector([Sa, Wo], (a2, e) => a2[e]);
|
19014
|
+
var Qo = createSelector(Me, (a2) => {
|
18311
19015
|
var e;
|
18312
19016
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
18313
19017
|
});
|
18314
|
-
var
|
19018
|
+
var zo = createSelector(Me, (a2) => {
|
18315
19019
|
var e;
|
18316
19020
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
18317
19021
|
});
|
18318
|
-
var
|
19022
|
+
var Yo = createSelector(Me, (a2) => {
|
18319
19023
|
var e;
|
18320
19024
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
18321
19025
|
});
|
18322
|
-
var
|
19026
|
+
var Xo = createSelector(Me, (a2) => {
|
18323
19027
|
var e;
|
18324
19028
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
18325
19029
|
});
|
18326
|
-
var
|
19030
|
+
var Zo = createSelector(Me, (a2) => {
|
18327
19031
|
var e;
|
18328
19032
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
18329
19033
|
});
|
18330
|
-
var
|
19034
|
+
var en = createSelector(Me, (a2) => {
|
18331
19035
|
var e;
|
18332
19036
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
18333
19037
|
});
|
18334
|
-
var
|
19038
|
+
var tn = createSelector(Me, (a2) => {
|
18335
19039
|
var e;
|
18336
19040
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
18337
19041
|
});
|
18338
|
-
var
|
19042
|
+
var rn = createSelector(Me, (a2) => {
|
18339
19043
|
var e;
|
18340
19044
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
18341
19045
|
});
|
18342
|
-
var
|
18343
|
-
var
|
18344
|
-
var Ur = createSelector([xr,
|
18345
|
-
var
|
18346
|
-
var
|
18347
|
-
var
|
19046
|
+
var sn = createSelector([Sa, jo], (a2, e) => e ? a2[e] : void 0);
|
19047
|
+
var an = createSelector([Jo, ma], (a2, e) => e ? a2[e] : void 0);
|
19048
|
+
var Ur = createSelector([xr, ma], (a2, e) => e ? a2[e] : void 0);
|
19049
|
+
var on = A(sn);
|
19050
|
+
var nn = A(an);
|
19051
|
+
var cn = createSelector([xr, Ko], (a2, e) => {
|
18348
19052
|
var t;
|
18349
19053
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
18350
19054
|
});
|
18351
|
-
var
|
18352
|
-
var
|
19055
|
+
var dn = A(createSelector(Ur, (a2) => a2 == null ? void 0 : a2[0]));
|
19056
|
+
var ln = createSelector([xr, qo], (a2, e) => {
|
18353
19057
|
var t;
|
18354
19058
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
18355
19059
|
});
|
18356
|
-
var
|
19060
|
+
var un = A(createSelector(Ur, (a2) => a2));
|
18357
19061
|
|
18358
19062
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
18359
19063
|
import {
|
@@ -23877,7 +24581,7 @@ var Chat = () => {
|
|
23877
24581
|
const listRef = useRef20(null);
|
23878
24582
|
const hmsActions = useHMSActions37();
|
23879
24583
|
const vanillaStore = useHMSVanillaStore10();
|
23880
|
-
const { enabled: isChatEnabled = true } = useHMSStore53(
|
24584
|
+
const { enabled: isChatEnabled = true } = useHMSStore53(zh("chatState" /* CHAT_STATE */)) || {};
|
23881
24585
|
const isMobile = useMedia16(config.media.md);
|
23882
24586
|
const scrollToBottom = useCallback28(
|
23883
24587
|
(unreadCount = 0) => {
|
@@ -23915,7 +24619,7 @@ var NewMessageIndicator = ({
|
|
23915
24619
|
scrollToBottom,
|
23916
24620
|
listRef
|
23917
24621
|
}) => {
|
23918
|
-
const unreadCount = useHMSStore53(
|
24622
|
+
const unreadCount = useHMSStore53(Bn);
|
23919
24623
|
if (!unreadCount || !listRef.current) {
|
23920
24624
|
return null;
|
23921
24625
|
}
|
@@ -24999,8 +25703,8 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
24999
25703
|
const [blurAmount, setBlurAmount] = useState51(VBHandler.getBlurAmount() || 0.5);
|
25000
25704
|
const roomState = useHMSStore60(selectRoomState4);
|
25001
25705
|
const isLargeRoom = useHMSStore60(selectIsLargeRoom3);
|
25002
|
-
const isEffectsEnabled = useHMSStore60(
|
25003
|
-
const effectsKey = useHMSStore60(
|
25706
|
+
const isEffectsEnabled = useHMSStore60(Yn);
|
25707
|
+
const effectsKey = useHMSStore60(Xn);
|
25004
25708
|
const isPluginAdded = useHMSStore60(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
25005
25709
|
const [activeBackground, setActiveBackground] = useState51(
|
25006
25710
|
((_b7 = VBHandler) == null ? void 0 : _b7.getBackground()) || HMSVirtualBackgroundTypes3.NONE
|
@@ -26820,7 +27524,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
26820
27524
|
};
|
26821
27525
|
|
26822
27526
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
26823
|
-
var HLSView = React147.lazy(() => import("./HLSView-
|
27527
|
+
var HLSView = React147.lazy(() => import("./HLSView-7HBO24NV.js"));
|
26824
27528
|
var VideoStreamingSection = ({
|
26825
27529
|
screenType,
|
26826
27530
|
elements,
|
@@ -28314,7 +29018,7 @@ function Notifications() {
|
|
28314
29018
|
}, []);
|
28315
29019
|
useCustomEvent4({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
|
28316
29020
|
useEffect62(() => {
|
28317
|
-
var _a8, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l,
|
29021
|
+
var _a8, _b7, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p, _q;
|
28318
29022
|
if (!notification || isNotificationDisabled) {
|
28319
29023
|
return;
|
28320
29024
|
}
|
@@ -28363,11 +29067,11 @@ function Notifications() {
|
|
28363
29067
|
if (!subscribedNotifications.ERROR)
|
28364
29068
|
return;
|
28365
29069
|
ToastManager.addToast({
|
28366
|
-
title: `Error: ${(_l = notification.data) == null ? void 0 : _l.message} - ${(
|
29070
|
+
title: `Error: ${(_l = notification.data) == null ? void 0 : _l.message} - ${(_m2 = notification.data) == null ? void 0 : _m2.description}`
|
28367
29071
|
});
|
28368
29072
|
break;
|
28369
29073
|
case HMSNotificationTypes10.ROLE_UPDATED: {
|
28370
|
-
if (((_n2 = notification.data) == null ? void 0 : _n2.isLocal) && ((
|
29074
|
+
if (((_n2 = notification.data) == null ? void 0 : _n2.isLocal) && ((_o2 = notification.data) == null ? void 0 : _o2.roleName)) {
|
28371
29075
|
ToastManager.addToast({
|
28372
29076
|
title: `You are now a ${notification.data.roleName}`
|
28373
29077
|
});
|
@@ -29029,4 +29733,4 @@ lodash/lodash.js:
|
|
29029
29733
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
29030
29734
|
*)
|
29031
29735
|
*/
|
29032
|
-
//# sourceMappingURL=chunk-
|
29736
|
+
//# sourceMappingURL=chunk-U5FEFLCO.js.map
|