@100mslive/roomkit-react 0.3.14-alpha.10 → 0.3.14-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HLSView-PL2BEA32.js → HLSView-72D4HXOZ.js} +2 -2
- package/dist/{HLSView-TAAU7UCF.css → HLSView-X4TA7M5M.css} +3 -3
- package/dist/{HLSView-TAAU7UCF.css.map → HLSView-X4TA7M5M.css.map} +1 -1
- package/dist/{chunk-EKH2S2VL.js → chunk-OZVDS5TG.js} +188 -189
- package/dist/{chunk-EKH2S2VL.js.map → chunk-OZVDS5TG.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +191 -192
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +12 -12
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- /package/dist/{HLSView-PL2BEA32.js.map → HLSView-72D4HXOZ.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
109
109
|
var define_process_env_default;
|
|
110
110
|
var init_define_process_env = __esm({
|
|
111
111
|
"<define:process.env>"() {
|
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bf2e4ace-f294-4966-8ff3-314a76330d44", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.4-alpha.10", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.14-alpha.10", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_bf2e4ace-f294-4966-8ff3-314a76330d44", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.14-alpha.10", 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.9", 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.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "593", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240616.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.4/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18100", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.14-alpha.10", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "9658212048", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "fe81328f37cd2b5f85c060577475ca0ba7c111cc", 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: "2b9b62f0160d3b7c351c72036b92b990b2e14fc97b485f09ab2b844b1172af4f", 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--1719300390008-0.7476238373969768:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719300389814-0.32598272856202226:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719300364561-0.3803029000598863:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719300364379-0.5521449080842729:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b9f27e68-715e-4f39-96e3-57563729aae5", INVOCATION_ID: "38531dc36d1c43d8a325863691c12187", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "587", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 469", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.14-alpha.10", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.14-alpha.10", 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", GITHUB_SHA: "fe81328f37cd2b5f85c060577475ca0ba7c111cc", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_bf2e4ace-f294-4966-8ff3-314a76330d44", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_bf2e4ace-f294-4966-8ff3-314a76330d44", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__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_bf2e4ace-f294-4966-8ff3-314a76330d44" };
|
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_16192327-a2a2-40a7-abb2-79c0094cbaf1", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.4-alpha.11", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.3 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.14-alpha.11", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_16192327-a2a2-40a7-abb2-79c0094cbaf1", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.14-alpha.11", 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.9", 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.8", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", 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: "585", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.11/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240616.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.4/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20504", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.14-alpha.11", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "9660740752", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f1a483cba1ff7bfacde92aaf3a37a04cb665c7ad", 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: "15219ee8bd39b3822f16a80359565dbe79360d5853b967a8f8d28e09fd15a149", 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--1719311146504-0.9538199475215898:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719311146307-0.8075643836992763:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719311120930-0.8492030328752149:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1719311120753-0.1875659140674153:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.3/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.3/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_56b91b7f-c832-4233-8d0f-f25d3bda4804", INVOCATION_ID: "7bfb809c340d4529aedcda2660d67a9f", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "588", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 340", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.14-alpha.11", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.14-alpha.11", 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", GITHUB_SHA: "f1a483cba1ff7bfacde92aaf3a37a04cb665c7ad", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_16192327-a2a2-40a7-abb2-79c0094cbaf1", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_16192327-a2a2-40a7-abb2-79c0094cbaf1", 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.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__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_16192327-a2a2-40a7-abb2-79c0094cbaf1" };
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -2790,12 +2790,12 @@ var init_formatBytes = __esm({
|
|
|
2790
2790
|
if (!bytes) {
|
|
2791
2791
|
return "-";
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const k3 = 1024;
|
|
2794
2794
|
const dm2 = decimals < 0 ? 0 : decimals;
|
|
2795
2795
|
const sizes = ["", "K", "M", "G", "T", "P", "E", "Z", "Y"].map((size) => size + unit);
|
|
2796
|
-
let i2 = Math.floor(Math.log(bytes) / Math.log(
|
|
2796
|
+
let i2 = Math.floor(Math.log(bytes) / Math.log(k3));
|
|
2797
2797
|
i2 === 0 && i2++;
|
|
2798
|
-
return `${parseFloat((bytes / Math.pow(
|
|
2798
|
+
return `${parseFloat((bytes / Math.pow(k3, i2)).toFixed(dm2))} ${sizes[i2]}`;
|
|
2799
2799
|
};
|
|
2800
2800
|
}
|
|
2801
2801
|
});
|
|
@@ -14519,10 +14519,10 @@ var require_ua_parser = __commonJS({
|
|
|
14519
14519
|
}
|
|
14520
14520
|
};
|
|
14521
14521
|
var rgxMapper = function(ua2, arrays) {
|
|
14522
|
-
var i2 = 0, j3,
|
|
14522
|
+
var i2 = 0, j3, k3, p2, q3, matches, match18;
|
|
14523
14523
|
while (i2 < arrays.length && !matches) {
|
|
14524
14524
|
var regex = arrays[i2], props = arrays[i2 + 1];
|
|
14525
|
-
j3 =
|
|
14525
|
+
j3 = k3 = 0;
|
|
14526
14526
|
while (j3 < regex.length && !matches) {
|
|
14527
14527
|
if (!regex[j3]) {
|
|
14528
14528
|
break;
|
|
@@ -14530,7 +14530,7 @@ var require_ua_parser = __commonJS({
|
|
|
14530
14530
|
matches = regex[j3++].exec(ua2);
|
|
14531
14531
|
if (!!matches) {
|
|
14532
14532
|
for (p2 = 0; p2 < props.length; p2++) {
|
|
14533
|
-
match18 = matches[++
|
|
14533
|
+
match18 = matches[++k3];
|
|
14534
14534
|
q3 = props[p2];
|
|
14535
14535
|
if (typeof q3 === OBJ_TYPE && q3.length > 0) {
|
|
14536
14536
|
if (q3.length === 2) {
|
|
@@ -16876,11 +16876,11 @@ function shimOnTrack(window2) {
|
|
|
16876
16876
|
get() {
|
|
16877
16877
|
return this._ontrack;
|
|
16878
16878
|
},
|
|
16879
|
-
set(
|
|
16879
|
+
set(f3) {
|
|
16880
16880
|
if (this._ontrack) {
|
|
16881
16881
|
this.removeEventListener("track", this._ontrack);
|
|
16882
16882
|
}
|
|
16883
|
-
this.addEventListener("track", this._ontrack =
|
|
16883
|
+
this.addEventListener("track", this._ontrack = f3);
|
|
16884
16884
|
},
|
|
16885
16885
|
enumerable: true,
|
|
16886
16886
|
configurable: true
|
|
@@ -17888,12 +17888,12 @@ function shimRemoteStreamsAPI(window2) {
|
|
|
17888
17888
|
get() {
|
|
17889
17889
|
return this._onaddstream;
|
|
17890
17890
|
},
|
|
17891
|
-
set(
|
|
17891
|
+
set(f3) {
|
|
17892
17892
|
if (this._onaddstream) {
|
|
17893
17893
|
this.removeEventListener("addstream", this._onaddstream);
|
|
17894
17894
|
this.removeEventListener("track", this._onaddstreampoly);
|
|
17895
17895
|
}
|
|
17896
|
-
this.addEventListener("addstream", this._onaddstream =
|
|
17896
|
+
this.addEventListener("addstream", this._onaddstream = f3);
|
|
17897
17897
|
this.addEventListener("track", this._onaddstreampoly = (e) => {
|
|
17898
17898
|
e.streams.forEach((stream) => {
|
|
17899
17899
|
if (!this._remoteStreams) {
|
|
@@ -19343,14 +19343,14 @@ function M(n2, r2, t2) {
|
|
|
19343
19343
|
}
|
|
19344
19344
|
return e.o;
|
|
19345
19345
|
}
|
|
19346
|
-
function A(e, i2, o2, a11, c3, s2,
|
|
19346
|
+
function A(e, i2, o2, a11, c3, s2, v2) {
|
|
19347
19347
|
if ("production" !== define_process_env_default.NODE_ENV && c3 === o2 && n(5), r(c3)) {
|
|
19348
19348
|
var p2 = M(e, c3, s2 && i2 && 3 !== i2.i && !u(i2.R, a11) ? s2.concat(a11) : void 0);
|
|
19349
19349
|
if (f(o2, a11, p2), !r(p2))
|
|
19350
19350
|
return;
|
|
19351
19351
|
e.m = false;
|
|
19352
19352
|
} else
|
|
19353
|
-
|
|
19353
|
+
v2 && o2.add(c3);
|
|
19354
19354
|
if (t(c3) && !y(c3)) {
|
|
19355
19355
|
if (!e.h.D && e._ < 1)
|
|
19356
19356
|
return;
|
|
@@ -19383,8 +19383,8 @@ function N(n2, r2, t2) {
|
|
|
19383
19383
|
var e = s(r2) ? b("MapSet").F(r2, t2) : v(r2) ? b("MapSet").T(r2, t2) : n2.O ? function(n3, r3) {
|
|
19384
19384
|
var t3 = Array.isArray(n3), e2 = { i: t3 ? 1 : 0, A: r3 ? r3.A : _(), P: false, I: false, R: {}, l: r3, t: n3, k: null, o: null, j: null, C: false }, i2 = e2, o2 = en;
|
|
19385
19385
|
t3 && (i2 = [e2], o2 = on);
|
|
19386
|
-
var u2 = Proxy.revocable(i2, o2), a11 = u2.revoke,
|
|
19387
|
-
return e2.k =
|
|
19386
|
+
var u2 = Proxy.revocable(i2, o2), a11 = u2.revoke, f3 = u2.proxy;
|
|
19387
|
+
return e2.k = f3, e2.j = a11, f3;
|
|
19388
19388
|
}(r2, t2) : b("ES5").J(r2, t2);
|
|
19389
19389
|
return (t2 ? t2.A : _()).p.push(e), e;
|
|
19390
19390
|
}
|
|
@@ -19519,26 +19519,26 @@ var init_immer_esm = __esm({
|
|
|
19519
19519
|
});
|
|
19520
19520
|
};
|
|
19521
19521
|
}
|
|
19522
|
-
var
|
|
19522
|
+
var f3;
|
|
19523
19523
|
if ("function" != typeof i3 && n(6), void 0 !== o2 && "function" != typeof o2 && n(7), t(r3)) {
|
|
19524
|
-
var c3 = w(e2), s2 = N(e2, r3, void 0),
|
|
19524
|
+
var c3 = w(e2), s2 = N(e2, r3, void 0), v2 = true;
|
|
19525
19525
|
try {
|
|
19526
|
-
|
|
19526
|
+
f3 = i3(s2), v2 = false;
|
|
19527
19527
|
} finally {
|
|
19528
|
-
|
|
19528
|
+
v2 ? g(c3) : O(c3);
|
|
19529
19529
|
}
|
|
19530
|
-
return "undefined" != typeof Promise &&
|
|
19530
|
+
return "undefined" != typeof Promise && f3 instanceof Promise ? f3.then(function(n2) {
|
|
19531
19531
|
return j(c3, o2), P3(n2, c3);
|
|
19532
19532
|
}, function(n2) {
|
|
19533
19533
|
throw g(c3), n2;
|
|
19534
|
-
}) : (j(c3, o2), P3(
|
|
19534
|
+
}) : (j(c3, o2), P3(f3, c3));
|
|
19535
19535
|
}
|
|
19536
19536
|
if (!r3 || "object" != typeof r3) {
|
|
19537
|
-
if (void 0 === (
|
|
19537
|
+
if (void 0 === (f3 = i3(r3)) && (f3 = r3), f3 === H && (f3 = void 0), e2.D && d(f3, true), o2) {
|
|
19538
19538
|
var p2 = [], l2 = [];
|
|
19539
|
-
b("Patches").M(r3,
|
|
19539
|
+
b("Patches").M(r3, f3, p2, l2), o2(p2, l2);
|
|
19540
19540
|
}
|
|
19541
|
-
return
|
|
19541
|
+
return f3;
|
|
19542
19542
|
}
|
|
19543
19543
|
n(21, r3);
|
|
19544
19544
|
}, this.produceWithPatches = function(n2, r3) {
|
|
@@ -20144,8 +20144,8 @@ var require_grammar = __commonJS({
|
|
|
20144
20144
|
var require_parser = __commonJS({
|
|
20145
20145
|
"../../node_modules/sdp-transform/lib/parser.js"(exports) {
|
|
20146
20146
|
init_define_process_env();
|
|
20147
|
-
var toIntIfInt = function(
|
|
20148
|
-
return String(Number(
|
|
20147
|
+
var toIntIfInt = function(v2) {
|
|
20148
|
+
return String(Number(v2)) === v2 ? Number(v2) : v2;
|
|
20149
20149
|
};
|
|
20150
20150
|
var attachProperties = function(match18, location, names, rawName) {
|
|
20151
20151
|
if (rawName && !names) {
|
|
@@ -20606,7 +20606,7 @@ function pr(a11) {
|
|
|
20606
20606
|
throw S2.APIErrors.InvalidTokenFormat("INIT", `couldn't parse to json - ${i2.message}`);
|
|
20607
20607
|
}
|
|
20608
20608
|
}
|
|
20609
|
-
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, $t, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, za, is, rs, Ya, ts, m, M2, mr, Xa, J, c2, Mr, Sr, ei, ti, Za, ss, gr, as, cs, to, d2, Je, ge, O2, ds, Ue, ro, ic, Te, ps, Tr, ls, us, hs, ri, Re, Ie, ms, Qe,
|
|
20609
|
+
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, $t, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, za, is, rs, Ya, ts, m, M2, mr, Xa, J, c2, Mr, Sr, ei, ti, Za, ss, gr, as, cs, to, d2, Je, ge, O2, ds, Ue, ro, ic, Te, ps, Tr, ls, us, hs, ri, Re, Ie, ms, Qe, k2, f2, ao, S2, vr, Ss, le, gs, Ts, St, gt, fs, vs, H2, y2, kr, Q2, Pr, Er, ne, si, lo, uo, ft, He, Ce, Ps, So, go, oi, br, bs, Rs, Is, As, Hs, Be, Cs, Ls, ee, Ve, z2, Fe, De, ze, ce, se, Ye, vt, fo, _s, Rr, Ns, Ir, Os, Xe, Ar, Hr, Mt, Ze, xs, Mo, yo, yt, ni, ko, ci, Cr, pe, di, ve, F, et, li, tt, Bs, Vs, kt, G2, Fs, Gs, Me, Dr, wr, Ws, $s, U2, _r, Ge, fe, Ks, qs, bo, Or, Ro, js, Js, Pt, Nr, xr, ui, pi, it, rt, We, Et, he, hi, st, we, mi, Si, gi, bt, B2, Ho, Kh, qh, K, Ti, Qs, N2, zs, Ur, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y2, wo, Ys, Xh, Zh, Br, Xs, Vr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, ie, Zs, lm, um, Se, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, ia, Rm, xo, Im, sa, Fr, aa, oa, na, ca, da, la, ua, pa, It, b2, Gr, At, ha, Uo, Bo, q2, Wr, Vo, Fo, Go, Wo, $o, X2, Um, Fm, Gm, fi, ma, Wm, $m, Km, Ko, qo, jm, Sa, Jm, jo, Qm, zm, Ym, Xm, Zm, eS, ga, Ta, iS, rS, fa, sS, aS, va, oS, nS, cS, Ma, ya, Jo, Qo, zo, dS, lS, uS, pS, hS, ka, bS, Yo, RS, IS, AS, Zo, en2, Mi, Ht, yi, Pa, $r, ki, Pi, ba, Ra, Ia, Kr, Aa, qr, $e, jr, Ei, re, Ct, _2, Lt, bi, Ri, Ha, Ca, ot, La, Ii, rn2, de, Ne, Ai, sn2, Da, wa, Hi, Ke, Ci, Dt, Li, Di, wi, wt, Jr, Pe, _t, Nt, _i, Ni, _a7, Ot, Oi, xt, xi, V, Ut, Ui, Bi, Vi, nt, Fi, Gi, C, Wi, $i, Bt, Ki, Vt, qi, ji, Ji, Qi, zi, Yi, Xi, Zi, er, j2, Na, tr, ir, rr, sr, ar, or, ct, dt, nr, cr, Ft, Gt, zr, Wt, Xr, lr, Ee, qe, Kt, qt, jt, Ba, ur, Jt, Qt, Va, I2, zt, Ga, hr, lt, $a, Wa, Mn, yn, kn, Yt, Pn, En, bn, Rn, Ka, In, qa, Zr, be, An, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, es, Un, Bn, Vn, Fn, Gn, Wn;
|
|
20610
20610
|
var init_dist = __esm({
|
|
20611
20611
|
"../hms-video-store/dist/index.js"() {
|
|
20612
20612
|
"use strict";
|
|
@@ -20683,7 +20683,7 @@ var init_dist = __esm({
|
|
|
20683
20683
|
n2((t2 = t2.apply(a11, e)).next());
|
|
20684
20684
|
});
|
|
20685
20685
|
Mr = Xa((Fc, no) => {
|
|
20686
|
-
no.exports = { version: "0.12.14-alpha.
|
|
20686
|
+
no.exports = { version: "0.12.14-alpha.11", 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"] };
|
|
20687
20687
|
});
|
|
20688
20688
|
Sr = ((n2) => (n2.Disconnected = "Disconnected", n2.Preview = "Preview", n2.Connecting = "Connecting", n2.Connected = "Connected", n2.Reconnecting = "Reconnecting", n2.Disconnecting = "Disconnecting", n2.Failed = "Failed", n2))(Sr || {});
|
|
20689
20689
|
ei = () => ({ room: { id: "", isConnected: false, name: "", peers: [], localPeer: "", roomState: "Disconnected", recording: { browser: { running: false }, server: { running: false }, hls: { running: false } }, rtmp: { running: false }, hls: { running: false, variants: [] }, sessionId: "" }, peers: {}, tracks: {}, playlist: { audio: { list: {}, selection: { id: "", hasPrevious: false, hasNext: false }, progress: 0, volume: 0, currentTime: 0, playbackRate: 1 }, video: { list: {}, selection: { id: "", hasPrevious: false, hasNext: false }, progress: 0, volume: 0, currentTime: 0, playbackRate: 1 } }, messages: { byID: {}, allIDs: [] }, speakers: {}, connectionQualities: {}, settings: { audioInputDeviceId: "", audioOutputDeviceId: "", videoInputDeviceId: "" }, devices: { audioInput: [], audioOutput: [], videoInput: [] }, roles: {}, roleChangeRequests: [], errors: [], sessionStore: {}, templateAppData: {}, polls: {}, whiteboards: {}, hideLocalPeer: false });
|
|
@@ -20887,8 +20887,8 @@ var init_dist = __esm({
|
|
|
20887
20887
|
};
|
|
20888
20888
|
ms = ((i2) => (i2.CUSTOM = "CUSTOM", i2.LOCAL = "LOCAL", i2.HMS = "HMS", i2))(ms || {});
|
|
20889
20889
|
Qe = so();
|
|
20890
|
-
|
|
20891
|
-
|
|
20890
|
+
k2 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
|
20891
|
+
f2 = class a2 extends Error {
|
|
20892
20892
|
constructor(t2, i2, r2, s2, o2, n2 = false) {
|
|
20893
20893
|
super(s2);
|
|
20894
20894
|
this.code = t2;
|
|
@@ -20919,111 +20919,111 @@ var init_dist = __esm({
|
|
|
20919
20919
|
};
|
|
20920
20920
|
ao = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
|
20921
20921
|
S2 = { WebSocketConnectionErrors: { FailedToConnect(a11, e = "") {
|
|
20922
|
-
return new
|
|
20922
|
+
return new f2(k2.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a11, `[WS]: ${e}`, `[WS]: ${e}`);
|
|
20923
20923
|
}, WebSocketConnectionLost(a11, e = "") {
|
|
20924
|
-
return new
|
|
20924
|
+
return new f2(k2.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, "WebSocketConnectionLost", a11, "Network connection lost", e);
|
|
20925
20925
|
}, AbnormalClose(a11, e = "") {
|
|
20926
|
-
return new
|
|
20926
|
+
return new f2(k2.WebSocketConnectionErrors.ABNORMAL_CLOSE, "WebSocketAbnormalClose", a11, "Websocket closed abnormally", e);
|
|
20927
20927
|
} }, APIErrors: { ServerErrors(a11, e, t2 = "", i2 = true) {
|
|
20928
|
-
return new
|
|
20928
|
+
return new f2(a11, "ServerErrors", e, `[${e}]: Server error ${t2}`, t2, i2);
|
|
20929
20929
|
}, EndpointUnreachable(a11, e = "") {
|
|
20930
|
-
return new
|
|
20930
|
+
return new f2(k2.APIErrors.ENDPOINT_UNREACHABLE, "EndpointUnreachable", a11, `Endpoint is not reachable - ${e}`, e);
|
|
20931
20931
|
}, InvalidTokenFormat(a11, e = "") {
|
|
20932
|
-
return new
|
|
20932
|
+
return new f2(k2.APIErrors.INVALID_TOKEN_FORMAT, "InvalidTokenFormat", a11, `Token is not in proper JWT format - ${e}`, e, true);
|
|
20933
20933
|
}, InitConfigNotAvailable(a11, e = "") {
|
|
20934
|
-
return new
|
|
20934
|
+
return new f2(k2.APIErrors.INIT_CONFIG_NOT_AVAILABLE, "InitError", a11, `[INIT]: ${e}`, `[INIT]: ${e}`);
|
|
20935
20935
|
} }, TracksErrors: { GenericTrack(a11, e = "") {
|
|
20936
|
-
return new
|
|
20936
|
+
return new f2(k2.TracksErrors.GENERIC_TRACK, "GenericTrack", a11, `[TRACK]: ${e}`, `[TRACK]: ${e}`);
|
|
20937
20937
|
}, CantAccessCaptureDevice(a11, e, t2 = "") {
|
|
20938
|
-
return new
|
|
20938
|
+
return new f2(k2.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, "CantAccessCaptureDevice", a11, `User denied permission to access capture device - ${e}`, t2);
|
|
20939
20939
|
}, DeviceNotAvailable(a11, e, t2 = "") {
|
|
20940
|
-
return new
|
|
20940
|
+
return new f2(k2.TracksErrors.DEVICE_NOT_AVAILABLE, "DeviceNotAvailable", a11, `[TRACK]: Capture device is no longer available - ${e}`, t2);
|
|
20941
20941
|
}, DeviceInUse(a11, e, t2 = "") {
|
|
20942
|
-
return new
|
|
20942
|
+
return new f2(k2.TracksErrors.DEVICE_IN_USE, "DeviceInUse", a11, `[TRACK]: Capture device is in use by another application - ${e}`, t2);
|
|
20943
20943
|
}, DeviceLostMidway(a11, e, t2 = "") {
|
|
20944
|
-
return new
|
|
20944
|
+
return new f2(k2.TracksErrors.DEVICE_LOST_MIDWAY, "DeviceLostMidway", a11, `Lost access to capture device midway - ${e}`, t2);
|
|
20945
20945
|
}, NothingToReturn(a11, e = "", t2 = "There is no media to return. Please select either video or audio or both.") {
|
|
20946
|
-
return new
|
|
20946
|
+
return new f2(k2.TracksErrors.NOTHING_TO_RETURN, "NothingToReturn", a11, t2, e);
|
|
20947
20947
|
}, InvalidVideoSettings(a11, e = "") {
|
|
20948
|
-
return new
|
|
20948
|
+
return new f2(k2.TracksErrors.INVALID_VIDEO_SETTINGS, "InvalidVideoSettings", a11, "Cannot enable simulcast when no video settings are provided", e);
|
|
20949
20949
|
}, AutoplayBlocked(a11, e = "") {
|
|
20950
|
-
return new
|
|
20950
|
+
return new f2(k2.TracksErrors.AUTOPLAY_ERROR, "AutoplayBlocked", a11, "Autoplay blocked because the user didn't interact with the document first", e);
|
|
20951
20951
|
}, CodecChangeNotPermitted(a11, e = "") {
|
|
20952
|
-
return new
|
|
20952
|
+
return new f2(k2.TracksErrors.CODEC_CHANGE_NOT_PERMITTED, "CodecChangeNotPermitted", a11, "Codec can't be changed mid call.", e);
|
|
20953
20953
|
}, OverConstrained(a11, e, t2 = "") {
|
|
20954
|
-
return new
|
|
20954
|
+
return new f2(k2.TracksErrors.OVER_CONSTRAINED, "OverConstrained", a11, `[TRACK]: Requested constraints cannot be satisfied with the device hardware - ${e}`, t2);
|
|
20955
20955
|
}, NoAudioDetected(a11, e = "Please check the mic or use another audio input") {
|
|
20956
|
-
return new
|
|
20956
|
+
return new f2(k2.TracksErrors.NO_AUDIO_DETECTED, "NoAudioDetected", a11, "No audio input detected from microphone", e);
|
|
20957
20957
|
}, SystemDeniedPermission(a11, e, t2 = "") {
|
|
20958
|
-
return new
|
|
20958
|
+
return new f2(k2.TracksErrors.SYSTEM_DENIED_PERMISSION, "SystemDeniedPermission", a11, `Operating System denied permission to access capture device - ${e}`, t2);
|
|
20959
20959
|
}, CurrentTabNotShared() {
|
|
20960
|
-
return new
|
|
20960
|
+
return new f2(k2.TracksErrors.CURRENT_TAB_NOT_SHARED, "CurrentTabNotShared", "TRACK", "The app requires you to share the current tab", "You must screen share the current tab in order to proceed");
|
|
20961
20961
|
}, AudioPlaybackError(a11) {
|
|
20962
|
-
return new
|
|
20962
|
+
return new f2(k2.TracksErrors.AUDIO_PLAYBACK_ERROR, "Audio playback error", "TRACK", a11, a11);
|
|
20963
20963
|
}, SelectedDeviceMissing(a11) {
|
|
20964
|
-
return new
|
|
20964
|
+
return new f2(k2.TracksErrors.SELECTED_DEVICE_MISSING, "SelectedDeviceMissing", "TRACK", `Could not detect selected ${a11} device`, `Please check connection to the ${a11} device`, false);
|
|
20965
20965
|
} }, WebrtcErrors: { CreateOfferFailed(a11, e = "") {
|
|
20966
|
-
return new
|
|
20966
|
+
return new f2(k2.WebrtcErrors.CREATE_OFFER_FAILED, "CreateOfferFailed", a11, `[${a11.toString()}]: Failed to create offer. `, e);
|
|
20967
20967
|
}, CreateAnswerFailed(a11, e = "") {
|
|
20968
|
-
return new
|
|
20968
|
+
return new f2(k2.WebrtcErrors.CREATE_ANSWER_FAILED, "CreateAnswerFailed", a11, `[${a11.toString()}]: Failed to create answer. `, e);
|
|
20969
20969
|
}, SetLocalDescriptionFailed(a11, e = "") {
|
|
20970
|
-
return new
|
|
20970
|
+
return new f2(k2.WebrtcErrors.SET_LOCAL_DESCRIPTION_FAILED, "SetLocalDescriptionFailed", a11, `[${a11.toString()}]: Failed to set offer. `, e);
|
|
20971
20971
|
}, SetRemoteDescriptionFailed(a11, e = "") {
|
|
20972
|
-
return new
|
|
20972
|
+
return new f2(k2.WebrtcErrors.SET_REMOTE_DESCRIPTION_FAILED, "SetRemoteDescriptionFailed", a11, `[${a11.toString()}]: Failed to set answer. `, e, true);
|
|
20973
20973
|
}, ICEFailure(a11, e = "", t2 = false) {
|
|
20974
|
-
return new
|
|
20974
|
+
return new f2(k2.WebrtcErrors.ICE_FAILURE, "ICEFailure", a11, `[${a11.toString()}]: Ice connection state FAILED`, e, t2);
|
|
20975
20975
|
}, ICEDisconnected(a11, e = "") {
|
|
20976
|
-
return new
|
|
20976
|
+
return new f2(k2.WebrtcErrors.ICE_DISCONNECTED, "ICEDisconnected", a11, `[${a11.toString()}]: Ice connection state DISCONNECTED`, e);
|
|
20977
20977
|
}, StatsFailed(a11, e = "") {
|
|
20978
|
-
return new
|
|
20978
|
+
return new f2(k2.WebrtcErrors.STATS_FAILED, "StatsFailed", a11, `Failed to WebRTC get stats - ${e}`, e);
|
|
20979
20979
|
} }, WebsocketMethodErrors: { ServerErrors(a11, e, t2) {
|
|
20980
|
-
return new
|
|
20980
|
+
return new f2(a11, "ServerErrors", e, t2, t2, ao.includes(e));
|
|
20981
20981
|
}, AlreadyJoined(a11, e = "") {
|
|
20982
|
-
return new
|
|
20982
|
+
return new f2(k2.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a11, "[JOIN]: You have already joined this room.", e);
|
|
20983
20983
|
}, CannotJoinPreviewInProgress(a11, e = "") {
|
|
20984
|
-
return new
|
|
20984
|
+
return new f2(k2.WebsocketMethodErrors.CANNOT_JOIN_PREVIEW_IN_PROGRESS, "CannotJoinPreviewInProgress", a11, "[JOIN]: Cannot join if preview is in progress", e);
|
|
20985
20985
|
} }, GenericErrors: { NotConnected(a11, e = "") {
|
|
20986
|
-
return new
|
|
20986
|
+
return new f2(k2.GenericErrors.NOT_CONNECTED, "NotConnected", a11, "Client is not connected", e);
|
|
20987
20987
|
}, Signalling(a11, e) {
|
|
20988
|
-
return new
|
|
20988
|
+
return new f2(k2.GenericErrors.SIGNALLING, "Signalling", a11, `Unknown signalling error: ${a11.toString()} ${e} `, e);
|
|
20989
20989
|
}, Unknown(a11, e) {
|
|
20990
|
-
return new
|
|
20990
|
+
return new f2(k2.GenericErrors.UNKNOWN, "Unknown", a11, `Unknown exception: ${e}`, e);
|
|
20991
20991
|
}, NotReady(a11, e = "") {
|
|
20992
|
-
return new
|
|
20992
|
+
return new f2(k2.GenericErrors.NOT_READY, "NotReady", a11, e, e);
|
|
20993
20993
|
}, JsonParsingFailed(a11, e, t2 = "") {
|
|
20994
|
-
return new
|
|
20994
|
+
return new f2(k2.GenericErrors.JSON_PARSING_FAILED, "JsonParsingFailed", a11, `Failed to parse JSON message - ${e}`, t2);
|
|
20995
20995
|
}, TrackMetadataMissing(a11, e = "") {
|
|
20996
|
-
return new
|
|
20996
|
+
return new f2(k2.GenericErrors.TRACK_METADATA_MISSING, "TrackMetadataMissing", a11, "Track Metadata Missing", e);
|
|
20997
20997
|
}, RTCTrackMissing(a11, e = "") {
|
|
20998
|
-
return new
|
|
20998
|
+
return new f2(k2.GenericErrors.RTC_TRACK_MISSING, "RTCTrackMissing", a11, "RTC Track missing", e);
|
|
20999
20999
|
}, PeerMetadataMissing(a11, e = "") {
|
|
21000
|
-
return new
|
|
21000
|
+
return new f2(k2.GenericErrors.PEER_METADATA_MISSING, "PeerMetadataMissing", a11, "Peer Metadata Missing", e);
|
|
21001
21001
|
}, ValidationFailed(a11, e) {
|
|
21002
|
-
return new
|
|
21002
|
+
return new f2(k2.GenericErrors.VALIDATION_FAILED, "ValidationFailed", "VALIDATION", a11, e ? JSON.stringify(e) : "");
|
|
21003
21003
|
}, InvalidRole(a11, e) {
|
|
21004
|
-
return new
|
|
21004
|
+
return new f2(k2.GenericErrors.INVALID_ROLE, "InvalidRole", a11, "Invalid role. Join with valid role", e, true);
|
|
21005
21005
|
}, PreviewAlreadyInProgress(a11, e = "") {
|
|
21006
|
-
return new
|
|
21006
|
+
return new f2(k2.GenericErrors.PREVIEW_IN_PROGRESS, "PreviewAlreadyInProgress", a11, "[Preview]: Cannot join if preview is in progress", e);
|
|
21007
21007
|
}, LocalStorageAccessDenied(a11 = "Access to localStorage has been denied") {
|
|
21008
|
-
return new
|
|
21008
|
+
return new f2(k2.GenericErrors.LOCAL_STORAGE_ACCESS_DENIED, "LocalStorageAccessDenied", "NONE", "LocalStorageAccessDenied", a11);
|
|
21009
21009
|
}, MissingMediaDevices() {
|
|
21010
|
-
return new
|
|
21010
|
+
return new f2(k2.GenericErrors.MISSING_MEDIADEVICES, "MissingMediaDevices", "JOIN", "navigator.mediaDevices is undefined. 100ms SDK won't work on this website as WebRTC is not supported on HTTP endpoints(missing navigator.mediaDevices). Please ensure you're using the SDK either on localhost or a valid HTTPS endpoint.", "", true);
|
|
21011
21011
|
}, MissingRTCPeerConnection() {
|
|
21012
|
-
return new
|
|
21012
|
+
return new f2(k2.GenericErrors.MISSING_RTCPEERCONNECTION, "MissingRTCPeerConnection", "JOIN", "RTCPeerConnection which is a core requirement for WebRTC call was not found, this could be due to an unsupported browser or browser extensions blocking WebRTC", "", true);
|
|
21013
21013
|
} }, MediaPluginErrors: { PlatformNotSupported(a11, e = "") {
|
|
21014
|
-
return new
|
|
21014
|
+
return new f2(7001, "PlatformNotSupported", a11, "Check HMS Docs to see the list of supported platforms", e);
|
|
21015
21015
|
}, InitFailed(a11, e = "") {
|
|
21016
|
-
return new
|
|
21016
|
+
return new f2(7002, "InitFailed", a11, "Plugin init failed", e);
|
|
21017
21017
|
}, ProcessingFailed(a11, e = "") {
|
|
21018
|
-
return new
|
|
21018
|
+
return new f2(7003, "ProcessingFailed", a11, "Plugin processing failed", e);
|
|
21019
21019
|
}, AddAlreadyInProgress(a11, e = "") {
|
|
21020
|
-
return new
|
|
21020
|
+
return new f2(7004, "AddAlreadyInProgress", a11, "Plugin add already in progress", e);
|
|
21021
21021
|
}, DeviceNotSupported(a11, e = "") {
|
|
21022
|
-
return new
|
|
21022
|
+
return new f2(7005, "DeviceNotSupported", a11, "Check HMS Docs to see the list of supported devices", e);
|
|
21023
21023
|
} }, PlaylistErrors: { NoEntryToPlay(a11, e) {
|
|
21024
|
-
return new
|
|
21024
|
+
return new f2(k2.PlaylistErrors.NO_ENTRY_TO_PLAY, "NoEntryToPlay", a11, "Reached end of playlist", e);
|
|
21025
21025
|
}, NoEntryPlaying(a11, e) {
|
|
21026
|
-
return new
|
|
21026
|
+
return new f2(k2.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a11, "No entry is playing at this time", e);
|
|
21027
21027
|
} } };
|
|
21028
21028
|
vr = class {
|
|
21029
21029
|
constructor() {
|
|
@@ -21205,7 +21205,7 @@ var init_dist = __esm({
|
|
|
21205
21205
|
return e = m(m({}, i2), e), e;
|
|
21206
21206
|
}
|
|
21207
21207
|
static getErrorProperties(e) {
|
|
21208
|
-
return e ? e instanceof
|
|
21208
|
+
return e ? e instanceof f2 ? e.toAnalyticsProperties() : { error_name: e.name, error_message: e.message, error_description: e.cause } : {};
|
|
21209
21209
|
}
|
|
21210
21210
|
};
|
|
21211
21211
|
y2.KEY_REQUESTED_AT = "requested_at", y2.KEY_RESPONDED_AT = "responded_at";
|
|
@@ -22485,7 +22485,6 @@ var init_dist = __esm({
|
|
|
22485
22485
|
}
|
|
22486
22486
|
getTracksToPublish() {
|
|
22487
22487
|
return c2(this, arguments, function* (e = Cr) {
|
|
22488
|
-
var T, g2, f2, P8;
|
|
22489
22488
|
let t2 = this.getAVTrackSettings(e);
|
|
22490
22489
|
if (!t2)
|
|
22491
22490
|
return [];
|
|
@@ -22493,13 +22492,13 @@ var init_dist = __esm({
|
|
|
22493
22492
|
if (u2 && p2)
|
|
22494
22493
|
return [];
|
|
22495
22494
|
let h2 = { audio: i2 && !n2 && (e.isAudioMuted ? "empty" : true), video: r2 && !o2 && (e.isVideoMuted ? "empty" : true) };
|
|
22496
|
-
h2.audio &&
|
|
22495
|
+
h2.audio && this.analyticsTimer.start("local_audio_track_time"), h2.video && this.analyticsTimer.start("local_video_track_time");
|
|
22497
22496
|
try {
|
|
22498
22497
|
d2.d(this.TAG, "Init Local Tracks", { fetchTrackOptions: h2 }), s2 = yield this.getLocalTracks(h2, t2, l2);
|
|
22499
|
-
} catch (
|
|
22500
|
-
s2 = yield this.retryGetLocalTracks(
|
|
22498
|
+
} catch (T) {
|
|
22499
|
+
s2 = yield this.retryGetLocalTracks(T, t2, h2, l2);
|
|
22501
22500
|
}
|
|
22502
|
-
return h2.audio &&
|
|
22501
|
+
return h2.audio && this.analyticsTimer.end("local_audio_track_time"), h2.video && this.analyticsTimer.end("local_video_track_time"), o2 && r2 && !u2 && s2.push(o2), n2 && i2 && !p2 && s2.push(n2), s2;
|
|
22503
22502
|
});
|
|
22504
22503
|
}
|
|
22505
22504
|
getLocalTracks() {
|
|
@@ -22530,8 +22529,8 @@ var init_dist = __esm({
|
|
|
22530
22529
|
r2.srcObject = e, r2.addEventListener("loadedmetadata", () => c2(this, null, function* () {
|
|
22531
22530
|
let { videoWidth: l2, videoHeight: u2 } = r2, p2 = i2.screen, h2 = p2.width * p2.height, T = l2 / u2, g2 = p2.width / p2.height;
|
|
22532
22531
|
if (T > g2) {
|
|
22533
|
-
let
|
|
22534
|
-
l2 * u2 > h2 ? (
|
|
22532
|
+
let v2 = t2.video, E2 = T / g2, P8 = Math.sqrt(E2);
|
|
22533
|
+
l2 * u2 > h2 ? (v2.width = l2 / P8, v2.height = u2 / P8) : (v2.height = u2 * P8, v2.width = l2 * P8), yield e.getVideoTracks()[0].applyConstraints(v2);
|
|
22535
22534
|
}
|
|
22536
22535
|
}));
|
|
22537
22536
|
});
|
|
@@ -22549,8 +22548,8 @@ var init_dist = __esm({
|
|
|
22549
22548
|
d2.d("retrieving screenshare with ", { config: i2 }, { constraints: s2 }), o2 = yield navigator.mediaDevices.getDisplayMedia(s2), t2 && (yield this.optimizeScreenShareConstraint(o2, s2));
|
|
22550
22549
|
} catch (g2) {
|
|
22551
22550
|
d2.w(this.TAG, "error in getting screenshare - ", g2);
|
|
22552
|
-
let
|
|
22553
|
-
throw this.eventBus.analytics.publish(y2.publish({ error:
|
|
22551
|
+
let v2 = Ae(g2, "screen");
|
|
22552
|
+
throw this.eventBus.analytics.publish(y2.publish({ error: v2, devices: this.deviceManager.getDevices(), settings: new ze(r2 == null ? void 0 : r2.video, r2 == null ? void 0 : r2.audio, false) })), v2;
|
|
22554
22553
|
}
|
|
22555
22554
|
let n2 = [], l2 = new Ge(o2), u2 = o2.getVideoTracks()[0], p2 = new F(l2, u2, "screen", this.eventBus, r2 == null ? void 0 : r2.video, this.store.getRoom());
|
|
22556
22555
|
p2.setSimulcastDefinitons(this.store.getSimulcastDefinitionsForPeer(this.store.getLocalPeer(), "screen"));
|
|
@@ -22558,7 +22557,7 @@ var init_dist = __esm({
|
|
|
22558
22557
|
let g2 = this.validateCurrentTabCapture(p2, i2.forceCurrentTab);
|
|
22559
22558
|
p2.isCurrentTab = g2, yield p2.cropTo(i2.cropTarget);
|
|
22560
22559
|
} catch (g2) {
|
|
22561
|
-
throw o2.getTracks().forEach((
|
|
22560
|
+
throw o2.getTracks().forEach((v2) => v2.stop()), g2;
|
|
22562
22561
|
}
|
|
22563
22562
|
n2.push(p2);
|
|
22564
22563
|
let h2 = o2.getAudioTracks()[0];
|
|
@@ -22632,16 +22631,16 @@ var init_dist = __esm({
|
|
|
22632
22631
|
}
|
|
22633
22632
|
retryGetLocalTracks(e, t2, i2, r2) {
|
|
22634
22633
|
return c2(this, null, function* () {
|
|
22635
|
-
if (e instanceof
|
|
22634
|
+
if (e instanceof f2 && e.action === "TRACK") {
|
|
22636
22635
|
this.observer.onFailure(e);
|
|
22637
|
-
let s2 = e.code ===
|
|
22636
|
+
let s2 = e.code === k2.TracksErrors.OVER_CONSTRAINED, o2 = e.message.includes("audio"), n2 = e.message.includes("video");
|
|
22638
22637
|
if (s2) {
|
|
22639
22638
|
let l2 = new De().video(new Fe()).audio(new Ve()).build();
|
|
22640
22639
|
d2.w(this.TAG, "Fetch AV Tracks failed with overconstrained error", { fetchTrackOptions: i2 }, { error: e });
|
|
22641
22640
|
try {
|
|
22642
22641
|
return yield this.getLocalTracks(i2, l2, r2);
|
|
22643
22642
|
} catch (u2) {
|
|
22644
|
-
let p2 = u2 instanceof
|
|
22643
|
+
let p2 = u2 instanceof f2 ? u2.nativeError : u2, h2 = u2;
|
|
22645
22644
|
if ((p2 == null ? void 0 : p2.name) === "OverconstrainedError") {
|
|
22646
22645
|
let T = S2.TracksErrors.GenericTrack("TRACK", "Overconstrained error after dropping all constraints");
|
|
22647
22646
|
T.addNativeError(p2), h2 = T;
|
|
@@ -23173,11 +23172,11 @@ var init_dist = __esm({
|
|
|
23173
23172
|
break;
|
|
23174
23173
|
}
|
|
23175
23174
|
}), Object.keys(m({}, l2)).forEach((p2) => {
|
|
23176
|
-
var
|
|
23177
|
-
let h2 = (
|
|
23175
|
+
var P8, w2;
|
|
23176
|
+
let h2 = (P8 = l2[p2]) == null ? void 0 : P8.codecId, T = h2 ? n2[h2] : void 0, g2;
|
|
23178
23177
|
T && (g2 = T.substring(T.indexOf("/") + 1));
|
|
23179
|
-
let
|
|
23180
|
-
s2[p2] = M2(m({},
|
|
23178
|
+
let v2 = M2(m({}, l2[p2]), { rid: (w2 = l2[p2]) == null ? void 0 : w2.rid }), E2 = u2[v2.ssrc];
|
|
23179
|
+
s2[p2] = M2(m({}, v2), { bitrate: Pt("bytesSent", v2, i2 == null ? void 0 : i2[p2]), packetsLost: E2 == null ? void 0 : E2.packetsLost, jitter: E2 == null ? void 0 : E2.jitter, roundTripTime: E2 == null ? void 0 : E2.roundTripTime, totalRoundTripTime: E2 == null ? void 0 : E2.totalRoundTripTime, peerName: t2, peerID: e.peerId, enabled: e.enabled, codec: g2 });
|
|
23181
23180
|
});
|
|
23182
23181
|
} catch (n2) {
|
|
23183
23182
|
a11.analytics.publish(y2.rtcStatsFailed(S2.WebrtcErrors.StatsFailed("TRACK", `Error getting local track stats ${e.trackId} - ${n2.message}`))), d2.w("[HMSWebrtcStats]", "Error in getting local track stats", e, n2, n2.name);
|
|
@@ -23261,20 +23260,20 @@ var init_dist = __esm({
|
|
|
23261
23260
|
yield this.updateLocalPeerStats(), yield this.updateLocalTrackStats(), yield this.updateRemoteTrackStats();
|
|
23262
23261
|
});
|
|
23263
23262
|
this.updateLocalPeerStats = () => c2(this, null, function* () {
|
|
23264
|
-
var p2, h2, T, g2,
|
|
23263
|
+
var p2, h2, T, g2, v2, E2;
|
|
23265
23264
|
let e2 = this.getLocalPeerStats(), t3;
|
|
23266
23265
|
try {
|
|
23267
23266
|
t3 = yield (h2 = (p2 = this.getStats).publish) == null ? void 0 : h2.call(p2);
|
|
23268
|
-
} catch (
|
|
23269
|
-
this.eventBus.analytics.publish(y2.rtcStatsFailed(S2.WebrtcErrors.StatsFailed("PUBLISH",
|
|
23267
|
+
} catch (P8) {
|
|
23268
|
+
this.eventBus.analytics.publish(y2.rtcStatsFailed(S2.WebrtcErrors.StatsFailed("PUBLISH", P8.message))), d2.w(this.TAG, "Error in getting publish stats", P8);
|
|
23270
23269
|
}
|
|
23271
23270
|
let i3 = t3 && Or("publish", t3, e2), r3;
|
|
23272
23271
|
try {
|
|
23273
23272
|
r3 = yield (g2 = (T = this.getStats).subscribe) == null ? void 0 : g2.call(T);
|
|
23274
|
-
} catch (
|
|
23275
|
-
this.eventBus.analytics.publish(y2.rtcStatsFailed(S2.WebrtcErrors.StatsFailed("SUBSCRIBE",
|
|
23273
|
+
} catch (P8) {
|
|
23274
|
+
this.eventBus.analytics.publish(y2.rtcStatsFailed(S2.WebrtcErrors.StatsFailed("SUBSCRIBE", P8.message))), d2.w(this.TAG, "Error in getting subscribe stats", P8);
|
|
23276
23275
|
}
|
|
23277
|
-
let s2 = r3 && Or("subscribe", r3, e2), { packetsLost: o2, jitter: n2 } = js(r3), l2 = xr(o2, (
|
|
23276
|
+
let s2 = r3 && Or("subscribe", r3, e2), { packetsLost: o2, jitter: n2 } = js(r3), l2 = xr(o2, (v2 = e2 == null ? void 0 : e2.subscribe) == null ? void 0 : v2.packetsLost, s2 == null ? void 0 : s2.timestamp, (E2 = e2 == null ? void 0 : e2.subscribe) == null ? void 0 : E2.timestamp), u2 = s2 && Object.assign(s2, { packetsLostRate: l2, jitter: n2, packetsLost: o2 });
|
|
23278
23277
|
this.peerStats[this.localPeerID] = { publish: i3, subscribe: u2 };
|
|
23279
23278
|
});
|
|
23280
23279
|
this.updateRemoteTrackStats = () => c2(this, null, function* () {
|
|
@@ -24748,30 +24747,30 @@ var init_dist = __esm({
|
|
|
24748
24747
|
}
|
|
24749
24748
|
handleStatsUpdate(e) {
|
|
24750
24749
|
return c2(this, null, function* () {
|
|
24751
|
-
var n2, l2, u2, p2, h2, T, g2,
|
|
24750
|
+
var n2, l2, u2, p2, h2, T, g2, v2;
|
|
24752
24751
|
let t2 = e.getLocalPeerStats();
|
|
24753
24752
|
t2 && this.peerStatsList.push(t2);
|
|
24754
24753
|
let i2 = (u2 = (l2 = (n2 = this.sdk.getLocalPeer()) == null ? void 0 : n2.audioTrack) == null ? void 0 : l2.nativeTrack) == null ? void 0 : u2.id, r2 = (T = (h2 = (p2 = this.sdk.getLocalPeer()) == null ? void 0 : p2.videoTrack) == null ? void 0 : h2.nativeTrack) == null ? void 0 : T.id, s2 = e.getLocalTrackStats();
|
|
24755
24754
|
s2 && (i2 && this.localAudioTrackStatsList.push(s2[i2]), r2 && this.localVideoTrackStatsList.push(s2[r2]));
|
|
24756
|
-
let o2 = yield (
|
|
24757
|
-
o2 == null || o2.forEach((
|
|
24758
|
-
if (
|
|
24759
|
-
let
|
|
24760
|
-
|
|
24755
|
+
let o2 = yield (v2 = (g2 = this.sdk.getWebrtcInternals()) == null ? void 0 : g2.getSubscribePeerConnection()) == null ? void 0 : v2.getStats();
|
|
24756
|
+
o2 == null || o2.forEach((E2) => {
|
|
24757
|
+
if (E2.type === "inbound-rtp") {
|
|
24758
|
+
let P8 = E2.kind === "audio" ? this.remoteAudioTrackStatsList : this.remoteVideoTrackStatsList, w2 = Pt("bytesReceived", E2, de(P8));
|
|
24759
|
+
P8.push(M2(m({}, E2), { bitrate: w2 }));
|
|
24761
24760
|
}
|
|
24762
24761
|
});
|
|
24763
24762
|
});
|
|
24764
24763
|
}
|
|
24765
24764
|
buildReport() {
|
|
24766
|
-
var T, g2,
|
|
24767
|
-
let e = (T = de(this.peerStatsList)) == null ? void 0 : T.publish, t2 = (g2 = de(this.peerStatsList)) == null ? void 0 : g2.subscribe, i2 = e != null && e.responsesReceived ? ((e == null ? void 0 : e.totalRoundTripTime) || 0) / e.responsesReceived : 0, r2 = t2 != null && t2.responsesReceived ? ((t2 == null ? void 0 : t2.totalRoundTripTime) || 0) / t2.responsesReceived : 0, s2 = Number(((i2 + r2) / 2 * 1e3).toFixed(2)), o2 = ((
|
|
24765
|
+
var T, g2, v2, E2, P8, w2, Oe, Xt;
|
|
24766
|
+
let e = (T = de(this.peerStatsList)) == null ? void 0 : T.publish, t2 = (g2 = de(this.peerStatsList)) == null ? void 0 : g2.subscribe, i2 = e != null && e.responsesReceived ? ((e == null ? void 0 : e.totalRoundTripTime) || 0) / e.responsesReceived : 0, r2 = t2 != null && t2.responsesReceived ? ((t2 == null ? void 0 : t2.totalRoundTripTime) || 0) / t2.responsesReceived : 0, s2 = Number(((i2 + r2) / 2 * 1e3).toFixed(2)), o2 = ((v2 = de(this.remoteAudioTrackStatsList)) == null ? void 0 : v2.packetsReceived) || 0, n2 = ((E2 = de(this.remoteVideoTrackStatsList)) == null ? void 0 : E2.packetsReceived) || 0, l2 = this.localAudioTrackStatsList.map((x2) => x2 ? Ne(Object.values(x2), ($) => $.bitrate) : 0), u2 = this.localVideoTrackStatsList.map((x2) => x2 ? Ne(Object.values(x2), ($) => $.bitrate) : 0), p2 = de(this.localAudioTrackStatsList), h2 = de(this.localVideoTrackStatsList);
|
|
24768
24767
|
return { combined: { roundTripTime: s2, packetsReceived: o2 + n2, packetsLost: (t2 == null ? void 0 : t2.packetsLost) || 0, bytesSent: (e == null ? void 0 : e.bytesSent) || 0, bytesReceived: (t2 == null ? void 0 : t2.bytesReceived) || 0, bitrateSent: Ne(this.peerStatsList, (x2) => {
|
|
24769
24768
|
var $;
|
|
24770
24769
|
return ($ = x2.publish) == null ? void 0 : $.bitrate;
|
|
24771
24770
|
}), bitrateReceived: Ne(this.peerStatsList, (x2) => {
|
|
24772
24771
|
var $;
|
|
24773
24772
|
return ($ = x2.subscribe) == null ? void 0 : $.bitrate;
|
|
24774
|
-
}) }, audio: { roundTripTime: s2, packetsReceived: o2, packetsLost: ((
|
|
24773
|
+
}) }, audio: { roundTripTime: s2, packetsReceived: o2, packetsLost: ((P8 = de(this.remoteAudioTrackStatsList)) == null ? void 0 : P8.packetsLost) || 0, bytesReceived: ((w2 = de(this.remoteAudioTrackStatsList)) == null ? void 0 : w2.bytesReceived) || 0, bitrateSent: Ne(l2, (x2) => x2), bitrateReceived: Ne(this.remoteAudioTrackStatsList, (x2) => x2.bitrate), bytesSent: p2 ? Object.values(p2).reduce((x2, $) => x2 + ($.bytesSent || 0), 0) : 0 }, video: { roundTripTime: s2, packetsLost: ((Oe = de(this.remoteVideoTrackStatsList)) == null ? void 0 : Oe.packetsLost) || 0, bytesReceived: ((Xt = de(this.remoteVideoTrackStatsList)) == null ? void 0 : Xt.bytesReceived) || 0, packetsReceived: n2, bitrateSent: Ne(u2, (x2) => x2), bitrateReceived: Ne(this.remoteVideoTrackStatsList, (x2) => x2.bitrate), bytesSent: h2 ? Object.values(h2).reduce((x2, $) => x2 + ($.bytesSent || 0), 0) : 0 } };
|
|
24775
24774
|
}
|
|
24776
24775
|
};
|
|
24777
24776
|
sn2 = ((n2) => (n2[n2.STARTING = 0] = "STARTING", n2[n2.INIT_FETCHED = 1] = "INIT_FETCHED", n2[n2.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n2[n2.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n2[n2.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n2[n2.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n2[n2.COMPLETED = 6] = "COMPLETED", n2))(sn2 || {});
|
|
@@ -24968,9 +24967,9 @@ var init_dist = __esm({
|
|
|
24968
24967
|
this.mediaRecorder.ondataavailable = function(g2) {
|
|
24969
24968
|
n2.push(g2.data);
|
|
24970
24969
|
}, this.mediaRecorder.onstop = () => {
|
|
24971
|
-
var
|
|
24972
|
-
let g2 = new Blob(n2, { type: (
|
|
24973
|
-
this.recordedAudio = URL.createObjectURL(g2), (
|
|
24970
|
+
var v2, E2;
|
|
24971
|
+
let g2 = new Blob(n2, { type: (v2 = this.mediaRecorder) == null ? void 0 : v2.mimeType });
|
|
24972
|
+
this.recordedAudio = URL.createObjectURL(g2), (E2 = this.onStopMicCheck) == null || E2.call(this);
|
|
24974
24973
|
}, this.mediaRecorder.start();
|
|
24975
24974
|
let l2 = setTimeout(() => {
|
|
24976
24975
|
this.stopMicCheck();
|
|
@@ -25667,26 +25666,26 @@ var init_dist = __esm({
|
|
|
25667
25666
|
e = `${e}_fullSync`, b2.time(`store-sync-${e}`);
|
|
25668
25667
|
let t2 = {}, i2 = [], r2 = {}, s2 = {}, o2 = {}, n2, l2 = this.sdk.getPeers();
|
|
25669
25668
|
for (let g2 of l2) {
|
|
25670
|
-
let
|
|
25671
|
-
t2[
|
|
25672
|
-
let
|
|
25673
|
-
for (let
|
|
25674
|
-
if (!
|
|
25669
|
+
let v2 = _2.convertPeer(g2);
|
|
25670
|
+
t2[v2.id] = v2, i2.push(v2.id), o2[v2.id] = { peerID: v2.id, downlinkQuality: g2.networkQuality || -1 };
|
|
25671
|
+
let E2 = [g2.audioTrack, g2.videoTrack, ...g2.auxiliaryTracks];
|
|
25672
|
+
for (let P8 of E2) {
|
|
25673
|
+
if (!P8)
|
|
25675
25674
|
continue;
|
|
25676
|
-
let w2 = _2.convertTrack(
|
|
25675
|
+
let w2 = _2.convertTrack(P8);
|
|
25677
25676
|
r2[w2.id] = w2;
|
|
25678
25677
|
}
|
|
25679
25678
|
if (g2.isLocal) {
|
|
25680
|
-
let
|
|
25681
|
-
n2 = this.getPreviewFields(
|
|
25679
|
+
let P8 = g2;
|
|
25680
|
+
n2 = this.getPreviewFields(P8), Object.assign(s2, this.getMediaSettings(P8));
|
|
25682
25681
|
}
|
|
25683
25682
|
}
|
|
25684
25683
|
let u2 = this.sdk.getRecordingState(), p2 = this.sdk.getRTMPState(), h2 = this.sdk.getHLSState(), T = this.sdk.getTranscriptionState();
|
|
25685
25684
|
this.setState((g2) => {
|
|
25686
|
-
var
|
|
25685
|
+
var P8;
|
|
25687
25686
|
g2.room.peers = i2;
|
|
25688
|
-
let
|
|
25689
|
-
ba(
|
|
25687
|
+
let v2 = g2.peers, E2 = g2.tracks;
|
|
25688
|
+
ba(v2, t2), Ra(E2, r2), Object.assign(g2.settings, s2), g2.room.isConnected && Object.assign(g2.connectionQualities, o2), (P8 = g2.preview) != null && P8.localPeer && (n2 != null && n2.localPeer) ? Object.assign(g2.preview, n2) : g2.preview = n2, Object.assign(g2.roles, _2.convertRoles(this.sdk.getRoles())), Object.assign(g2.playlist, _2.convertPlaylist(this.sdk.getPlaylistManager())), Object.assign(g2.room, _2.convertRecordingStreamingState(u2, p2, h2, T)), Object.assign(g2.templateAppData, this.sdk.getTemplateAppData());
|
|
25690
25689
|
}, e), b2.timeEnd(`store-sync-${e}`);
|
|
25691
25690
|
}
|
|
25692
25691
|
onPreview(e) {
|
|
@@ -25815,7 +25814,7 @@ var init_dist = __esm({
|
|
|
25815
25814
|
i2.room.roomState = "Failed", i2.errors.push(t2);
|
|
25816
25815
|
}, "errorTerminal")) : this.store.getState().errors.length < 50 && this.setState((r2) => {
|
|
25817
25816
|
r2.errors.push(t2);
|
|
25818
|
-
}, "error"), this.syncRoomState("errorSync"), this.hmsNotifications.sendError(t2), b2.e("received error from sdk", t2 instanceof
|
|
25817
|
+
}, "error"), this.syncRoomState("errorSync"), this.hmsNotifications.sendError(t2), b2.e("received error from sdk", t2 instanceof f2 ? `${t2}` : t2);
|
|
25819
25818
|
}
|
|
25820
25819
|
handleTrackRemove(e, t2) {
|
|
25821
25820
|
this.setState((i2) => {
|
|
@@ -25977,8 +25976,8 @@ var init_dist = __esm({
|
|
|
25977
25976
|
try {
|
|
25978
25977
|
let g2 = false;
|
|
25979
25978
|
for (; !g2; ) {
|
|
25980
|
-
let { value:
|
|
25981
|
-
g2 =
|
|
25979
|
+
let { value: v2, done: E2 } = yield h2.read();
|
|
25980
|
+
g2 = E2, v2 && (n2 += v2.byteLength, this.sendScore({ scoreMap: r2, downloadedSize: n2, startTime: o2 }));
|
|
25982
25981
|
}
|
|
25983
25982
|
} catch (g2) {
|
|
25984
25983
|
g2.name !== "AbortError" && d2.d(this.TAG, g2);
|
|
@@ -26024,8 +26023,8 @@ var init_dist = __esm({
|
|
|
26024
26023
|
r3 && (yield this.diffRolesAndPublishTracks({ oldRole: e2, newRole: t3 }), (s3 = this.listener) == null || s3.onPeerUpdate(8, r3));
|
|
26025
26024
|
});
|
|
26026
26025
|
this.diffRolesAndPublishTracks = (i3) => c2(this, [i3], function* ({ oldRole: e2, newRole: t3 }) {
|
|
26027
|
-
var g2,
|
|
26028
|
-
let r3 = new Set(e2.publishParams.allowed), s3 = new Set(t3.publishParams.allowed), o3 = this.removeTrack(r3, s3, "video"), n2 = this.removeTrack(r3, s3, "audio"), l2 = this.removeTrack(r3, s3, "screen"), u2 = this.hasSimulcastDifference((g2 = e2.publishParams.simulcast) == null ? void 0 : g2.video, (
|
|
26026
|
+
var g2, v2, E2, P8, w2, Oe;
|
|
26027
|
+
let r3 = new Set(e2.publishParams.allowed), s3 = new Set(t3.publishParams.allowed), o3 = this.removeTrack(r3, s3, "video"), n2 = this.removeTrack(r3, s3, "audio"), l2 = this.removeTrack(r3, s3, "screen"), u2 = this.hasSimulcastDifference((g2 = e2.publishParams.simulcast) == null ? void 0 : g2.video, (v2 = t3.publishParams.simulcast) == null ? void 0 : v2.video), p2 = this.hasSimulcastDifference((E2 = e2.publishParams.simulcast) == null ? void 0 : E2.screen, (P8 = t3.publishParams.simulcast) == null ? void 0 : P8.screen), h2 = (Oe = (w2 = this.store.getLocalPeer()) == null ? void 0 : w2.videoTrack) == null ? void 0 : Oe.enabled;
|
|
26029
26028
|
yield this.removeAudioTrack(n2), yield this.removeVideoTracks(o3 || u2), yield this.removeScreenTracks(l2 || p2);
|
|
26030
26029
|
let T = this.getSettings();
|
|
26031
26030
|
u2 && (T.isVideoMuted = !h2), yield this.publish(T), yield this.syncDevices(T, t3);
|
|
@@ -27411,8 +27410,8 @@ var init_dist = __esm({
|
|
|
27411
27410
|
var h2, T;
|
|
27412
27411
|
let p2 = (h2 = e == null ? void 0 : e.questions) == null ? void 0 : h2.find((g2) => g2.index === n2.question);
|
|
27413
27412
|
if (p2) {
|
|
27414
|
-
let g2 = { id: n2.response_id, questionIndex: n2.question, option: n2.option, options: n2.options, text: n2.text, responseFinal: u2, peer: { peerid: l2.peerid, userHash: l2.hash, userid: l2.userid, username: l2.username }, skipped: n2.skipped, type: n2.type, update: n2.update },
|
|
27415
|
-
(T = r2.questions) != null && T[n2.question - 1] && (r2.questions[n2.question - 1].responses = [...
|
|
27413
|
+
let g2 = { id: n2.response_id, questionIndex: n2.question, option: n2.option, options: n2.options, text: n2.text, responseFinal: u2, peer: { peerid: l2.peerid, userHash: l2.hash, userid: l2.userid, username: l2.username }, skipped: n2.skipped, type: n2.type, update: n2.update }, v2 = p2.responses && !t2 ? [...p2.responses] : [];
|
|
27414
|
+
(T = r2.questions) != null && T[n2.question - 1] && (r2.questions[n2.question - 1].responses = [...v2, g2]);
|
|
27416
27415
|
}
|
|
27417
27416
|
}), this.store.setPoll(r2), (o2 = this.listener) == null || o2.onPollsUpdate(4, [r2]);
|
|
27418
27417
|
});
|
|
@@ -27427,9 +27426,9 @@ var init_dist = __esm({
|
|
|
27427
27426
|
}
|
|
27428
27427
|
for (let l2 of r2) {
|
|
27429
27428
|
let u2 = yield this.transport.signal.getPollQuestions({ poll_id: l2.poll_id, index: 0, count: 50 }), p2 = qi(l2), h2 = this.store.getPoll(l2.poll_id);
|
|
27430
|
-
p2.questions = u2.questions.map(({ question: T, options: g2, answer:
|
|
27431
|
-
var
|
|
27432
|
-
return M2(m({}, T), { options: g2, answer:
|
|
27429
|
+
p2.questions = u2.questions.map(({ question: T, options: g2, answer: v2 }, E2) => {
|
|
27430
|
+
var P8, w2;
|
|
27431
|
+
return M2(m({}, T), { options: g2, answer: v2, responses: (w2 = (P8 = h2 == null ? void 0 : h2.questions) == null ? void 0 : P8[E2]) == null ? void 0 : w2.responses });
|
|
27433
27432
|
}), t2.push(p2), this.store.setPoll(p2);
|
|
27434
27433
|
}
|
|
27435
27434
|
return (n2 = this.listener) == null || n2.onPollsUpdate(3, t2), t2;
|
|
@@ -27763,7 +27762,7 @@ var init_dist = __esm({
|
|
|
27763
27762
|
toSdkError(e) {
|
|
27764
27763
|
if (!(e != null && e.code))
|
|
27765
27764
|
return;
|
|
27766
|
-
let t2 = e.message || "error in streaming/recording", i2 = new
|
|
27765
|
+
let t2 = e.message || "error in streaming/recording", i2 = new f2(e.code, "ServerErrors", "NONE", t2, t2);
|
|
27767
27766
|
return d2.e(this.TAG, "error in streaming/recording", i2), i2;
|
|
27768
27767
|
}
|
|
27769
27768
|
};
|
|
@@ -27979,18 +27978,18 @@ var init_dist = __esm({
|
|
|
27979
27978
|
d2.d(this.TAG, `schedule: Already a task for ${j2[e]} scheduled, waiting for its completion`), yield g2.promise;
|
|
27980
27979
|
return;
|
|
27981
27980
|
}
|
|
27982
|
-
let
|
|
27981
|
+
let v2 = new ir((E2, P8) => {
|
|
27983
27982
|
});
|
|
27984
|
-
this.inProgress.set(e,
|
|
27983
|
+
this.inProgress.set(e, v2), this.sendEvent(t2, e);
|
|
27985
27984
|
}
|
|
27986
27985
|
let u2 = false, p2 = Na[e];
|
|
27987
27986
|
for (let g2 in p2) {
|
|
27988
|
-
let
|
|
27987
|
+
let v2 = p2[parseInt(g2)];
|
|
27989
27988
|
try {
|
|
27990
|
-
let
|
|
27991
|
-
|
|
27992
|
-
} catch (
|
|
27993
|
-
d2.d(this.TAG, `schedule: Stopping retry task of ${j2[e]} as it's dependency ${j2[
|
|
27989
|
+
let E2 = this.inProgress.get(v2);
|
|
27990
|
+
E2 && (d2.d(this.TAG, `schedule: Suspending retry task of ${j2[e]}, waiting for ${j2[v2]} to recover`), yield E2.promise, d2.d(this.TAG, `schedule: Resuming retry task ${j2[e]} as it's dependency ${j2[v2]} is recovered`));
|
|
27991
|
+
} catch (E2) {
|
|
27992
|
+
d2.d(this.TAG, `schedule: Stopping retry task of ${j2[e]} as it's dependency ${j2[v2]} failed to recover`), u2 = true;
|
|
27994
27993
|
break;
|
|
27995
27994
|
}
|
|
27996
27995
|
}
|
|
@@ -28199,16 +28198,16 @@ var init_dist = __esm({
|
|
|
28199
28198
|
Object.keys(r2).forEach((s2) => {
|
|
28200
28199
|
let o2 = r2[s2], n2 = this.store.getLocalPeerTracks().find((l2) => l2.getTrackIDBeingSent() === s2);
|
|
28201
28200
|
Object.keys(o2).forEach((l2) => {
|
|
28202
|
-
var g2,
|
|
28201
|
+
var g2, v2, E2;
|
|
28203
28202
|
let u2 = o2[l2];
|
|
28204
28203
|
if (!n2)
|
|
28205
28204
|
return;
|
|
28206
|
-
let p2 = this.getTrackIdentifier(n2.trackId, u2), h2 = M2(m({}, u2), { availableOutgoingBitrate: (
|
|
28205
|
+
let p2 = this.getTrackIdentifier(n2.trackId, u2), h2 = M2(m({}, u2), { availableOutgoingBitrate: (v2 = (g2 = t2.getLocalPeerStats()) == null ? void 0 : g2.publish) == null ? void 0 : v2.availableOutgoingBitrate });
|
|
28207
28206
|
if (p2 && this.trackAnalytics.has(p2))
|
|
28208
|
-
(
|
|
28207
|
+
(E2 = this.trackAnalytics.get(p2)) == null || E2.pushTempStat(h2);
|
|
28209
28208
|
else if (n2) {
|
|
28210
|
-
let
|
|
28211
|
-
|
|
28209
|
+
let P8 = new zr({ track: n2, sampleWindowSize: this.sampleWindowSize, rid: u2.rid, ssrc: u2.ssrc.toString(), kind: u2.kind });
|
|
28210
|
+
P8.pushTempStat(h2), this.trackAnalytics.set(this.getTrackIdentifier(n2.trackId, u2), P8);
|
|
28212
28211
|
}
|
|
28213
28212
|
let T = this.trackAnalytics.get(p2);
|
|
28214
28213
|
T != null && T.shouldCreateSample() && (i2 = true);
|
|
@@ -28252,20 +28251,20 @@ var init_dist = __esm({
|
|
|
28252
28251
|
handleStatsUpdate(t2) {
|
|
28253
28252
|
let i2 = t2.getAllRemoteTracksStats(), r2 = false;
|
|
28254
28253
|
Object.keys(i2).forEach((s2) => {
|
|
28255
|
-
var
|
|
28256
|
-
let o2 = this.store.getTrackById(s2), n2 = i2[s2], l2 = (
|
|
28257
|
-
let Oe = (w2 == null ? void 0 : w2.jitterBufferDelay) || 0, Xt = (w2 == null ? void 0 : w2.jitterBufferEmittedCount) || 0, x2 = ((
|
|
28254
|
+
var v2, E2;
|
|
28255
|
+
let o2 = this.store.getTrackById(s2), n2 = i2[s2], l2 = (v2 = this.trackAnalytics.get(s2)) == null ? void 0 : v2.getLatestStat(), p2 = ((P8, w2) => {
|
|
28256
|
+
let Oe = (w2 == null ? void 0 : w2.jitterBufferDelay) || 0, Xt = (w2 == null ? void 0 : w2.jitterBufferEmittedCount) || 0, x2 = ((P8 == null ? void 0 : P8.jitterBufferDelay) || 0) - Oe, $ = ((P8 == null ? void 0 : P8.jitterBufferEmittedCount) || 0) - Xt;
|
|
28258
28257
|
return $ > 0 ? x2 * 1e3 / $ : (w2 == null ? void 0 : w2.calculatedJitterBufferDelay) || 0;
|
|
28259
28258
|
})(n2, l2), h2 = this.calculateAvSyncForStat(n2, t2), T = M2(m({}, n2), { calculatedJitterBufferDelay: p2, avSync: h2 });
|
|
28260
28259
|
if (n2.kind === "video") {
|
|
28261
|
-
let
|
|
28262
|
-
T.expectedFrameHeight =
|
|
28260
|
+
let P8 = o2.getPreferredLayerDefinition();
|
|
28261
|
+
T.expectedFrameHeight = P8 == null ? void 0 : P8.resolution.height, T.expectedFrameWidth = P8 == null ? void 0 : P8.resolution.width;
|
|
28263
28262
|
}
|
|
28264
28263
|
if (this.trackAnalytics.has(s2))
|
|
28265
|
-
(
|
|
28264
|
+
(E2 = this.trackAnalytics.get(s2)) == null || E2.pushTempStat(T);
|
|
28266
28265
|
else if (o2) {
|
|
28267
|
-
let
|
|
28268
|
-
|
|
28266
|
+
let P8 = new Xr({ track: o2, sampleWindowSize: this.sampleWindowSize, ssrc: n2.ssrc.toString(), kind: n2.kind });
|
|
28267
|
+
P8.pushTempStat(T), this.trackAnalytics.set(s2, P8);
|
|
28269
28268
|
}
|
|
28270
28269
|
let g2 = this.trackAnalytics.get(s2);
|
|
28271
28270
|
g2 != null && g2.shouldCreateSample() && (r2 = true);
|
|
@@ -28593,7 +28592,7 @@ var init_dist = __esm({
|
|
|
28593
28592
|
return this.handleError(u2, p2), d2.d(ur, `config is ${JSON.stringify(p2, null, 2)}`), pn2(p2, o2);
|
|
28594
28593
|
} catch (p2) {
|
|
28595
28594
|
let h2 = yield u2.text();
|
|
28596
|
-
throw d2.e(ur, "json error", p2.message, h2), p2 instanceof
|
|
28595
|
+
throw d2.e(ur, "json error", p2.message, h2), p2 instanceof f2 ? p2 : S2.APIErrors.ServerErrors(u2.status, "INIT", p2.message);
|
|
28597
28596
|
}
|
|
28598
28597
|
} catch (u2) {
|
|
28599
28598
|
let p2 = u2;
|
|
@@ -28647,7 +28646,7 @@ var init_dist = __esm({
|
|
|
28647
28646
|
this.callbacks.set(i2, { resolve: n2, reject: l2, metadata: { method: e } });
|
|
28648
28647
|
});
|
|
28649
28648
|
} catch (o2) {
|
|
28650
|
-
if (o2 instanceof
|
|
28649
|
+
if (o2 instanceof f2)
|
|
28651
28650
|
throw o2;
|
|
28652
28651
|
let n2 = o2;
|
|
28653
28652
|
throw S2.WebsocketMethodErrors.ServerErrors(Number(n2.code), fr(e), n2.message);
|
|
@@ -29003,7 +29002,7 @@ var init_dist = __esm({
|
|
|
29003
29002
|
} catch (t3) {
|
|
29004
29003
|
d2.d(I2, "[role=SUBSCRIBE] onOffer renegotiation FAILED \u274C", t3), this.state = "Failed";
|
|
29005
29004
|
let i3;
|
|
29006
|
-
t3 instanceof
|
|
29005
|
+
t3 instanceof f2 ? i3 = t3 : i3 = S2.GenericErrors.Unknown("PUBLISH", t3.message), this.observer.onFailure(i3), this.eventBus.analytics.publish(y2.subscribeFail(i3));
|
|
29007
29006
|
}
|
|
29008
29007
|
}), onTrickle: (e2) => c2(this, null, function* () {
|
|
29009
29008
|
let t3 = e2.target === 0 ? this.publishConnection : this.subscribeConnection;
|
|
@@ -29051,8 +29050,8 @@ var init_dist = __esm({
|
|
|
29051
29050
|
}), onConnectionStateChange: (e2) => c2(this, null, function* () {
|
|
29052
29051
|
var i3, r3, s3, o3, n3, l3, u3, p3;
|
|
29053
29052
|
(e2 === "disconnected" ? d2.w.bind(d2) : d2.d.bind(d2))(I2, `Publish connection state change: ${e2}`), e2 === "connected" && ((i3 = this.connectivityListener) == null || i3.onICESuccess(true), (r3 = this.publishConnection) == null || r3.handleSelectedIceCandidatePairs()), e2 === "disconnected" && setTimeout(() => {
|
|
29054
|
-
var h2, T, g2,
|
|
29055
|
-
((h2 = this.publishConnection) == null ? void 0 : h2.connectionState) === "disconnected" && this.handleIceConnectionFailure(0, S2.WebrtcErrors.ICEDisconnected("PUBLISH", `local candidate - ${(
|
|
29053
|
+
var h2, T, g2, v2, E2, P8, w2;
|
|
29054
|
+
((h2 = this.publishConnection) == null ? void 0 : h2.connectionState) === "disconnected" && this.handleIceConnectionFailure(0, S2.WebrtcErrors.ICEDisconnected("PUBLISH", `local candidate - ${(v2 = (g2 = (T = this.publishConnection) == null ? void 0 : T.selectedCandidatePair) == null ? void 0 : g2.local) == null ? void 0 : v2.candidate}; remote candidate - ${(w2 = (P8 = (E2 = this.publishConnection) == null ? void 0 : E2.selectedCandidatePair) == null ? void 0 : P8.remote) == null ? void 0 : w2.candidate}`));
|
|
29056
29055
|
}, 5e3), e2 === "failed" && (yield this.handleIceConnectionFailure(0, S2.WebrtcErrors.ICEFailure("PUBLISH", `local candidate - ${(n3 = (o3 = (s3 = this.publishConnection) == null ? void 0 : s3.selectedCandidatePair) == null ? void 0 : o3.local) == null ? void 0 : n3.candidate}; remote candidate - ${(p3 = (u3 = (l3 = this.publishConnection) == null ? void 0 : l3.selectedCandidatePair) == null ? void 0 : u3.remote) == null ? void 0 : p3.candidate}`)));
|
|
29057
29056
|
}), onIceCandidate: (e2) => {
|
|
29058
29057
|
var t3;
|
|
@@ -29076,8 +29075,8 @@ var init_dist = __esm({
|
|
|
29076
29075
|
}), onConnectionStateChange: (e2) => c2(this, null, function* () {
|
|
29077
29076
|
var i3, r3, s3, o3, n3, l3;
|
|
29078
29077
|
(e2 === "disconnected" ? d2.w.bind(d2) : d2.d.bind(d2))(I2, `Subscribe connection state change: ${e2}`), e2 === "failed" && (yield this.handleIceConnectionFailure(1, S2.WebrtcErrors.ICEFailure("SUBSCRIBE", `local candidate - ${(s3 = (r3 = (i3 = this.subscribeConnection) == null ? void 0 : i3.selectedCandidatePair) == null ? void 0 : r3.local) == null ? void 0 : s3.candidate}; remote candidate - ${(l3 = (n3 = (o3 = this.subscribeConnection) == null ? void 0 : o3.selectedCandidatePair) == null ? void 0 : n3.remote) == null ? void 0 : l3.candidate}`))), e2 === "disconnected" && setTimeout(() => {
|
|
29079
|
-
var u3, p3, h2, T, g2,
|
|
29080
|
-
((u3 = this.subscribeConnection) == null ? void 0 : u3.connectionState) === "disconnected" && this.handleIceConnectionFailure(1, S2.WebrtcErrors.ICEDisconnected("SUBSCRIBE", `local candidate - ${(T = (h2 = (p3 = this.subscribeConnection) == null ? void 0 : p3.selectedCandidatePair) == null ? void 0 : h2.local) == null ? void 0 : T.candidate}; remote candidate - ${(
|
|
29078
|
+
var u3, p3, h2, T, g2, v2, E2;
|
|
29079
|
+
((u3 = this.subscribeConnection) == null ? void 0 : u3.connectionState) === "disconnected" && this.handleIceConnectionFailure(1, S2.WebrtcErrors.ICEDisconnected("SUBSCRIBE", `local candidate - ${(T = (h2 = (p3 = this.subscribeConnection) == null ? void 0 : p3.selectedCandidatePair) == null ? void 0 : h2.local) == null ? void 0 : T.candidate}; remote candidate - ${(E2 = (v2 = (g2 = this.subscribeConnection) == null ? void 0 : g2.selectedCandidatePair) == null ? void 0 : v2.remote) == null ? void 0 : E2.candidate}`));
|
|
29081
29080
|
}, 5e3), e2 === "connected" && this.handleSubscribeConnectionConnected();
|
|
29082
29081
|
}), onIceCandidate: (e2) => {
|
|
29083
29082
|
var t3;
|
|
@@ -29121,8 +29120,8 @@ var init_dist = __esm({
|
|
|
29121
29120
|
h2 !== this.state && (this.state = h2, yield this.observer.onStateChange(this.state, T));
|
|
29122
29121
|
});
|
|
29123
29122
|
this.retryScheduler = new rr(l2, this.sendErrorAnalyticsEvent.bind(this)), this.eventBus.statsUpdate.subscribe((h2) => {
|
|
29124
|
-
var g2,
|
|
29125
|
-
let T = ((
|
|
29123
|
+
var g2, v2;
|
|
29124
|
+
let T = ((v2 = (g2 = h2.getLocalPeerStats()) == null ? void 0 : g2.subscribe) == null ? void 0 : v2.bitrate) || 0;
|
|
29126
29125
|
this.maxSubscribeBitrate = Math.max(this.maxSubscribeBitrate, T);
|
|
29127
29126
|
}), this.eventBus.localAudioEnabled.subscribe(({ track: h2 }) => this.trackUpdate(h2)), this.eventBus.localVideoEnabled.subscribe(({ track: h2 }) => this.trackUpdate(h2));
|
|
29128
29127
|
}
|
|
@@ -29162,7 +29161,7 @@ var init_dist = __esm({
|
|
|
29162
29161
|
try {
|
|
29163
29162
|
return yield this.internalConnect(e, t2, i2, o2);
|
|
29164
29163
|
} catch (n2) {
|
|
29165
|
-
if (n2 instanceof
|
|
29164
|
+
if (n2 instanceof f2 && ([k2.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, k2.WebSocketConnectionErrors.FAILED_TO_CONNECT, k2.WebSocketConnectionErrors.ABNORMAL_CLOSE, k2.APIErrors.ENDPOINT_UNREACHABLE].includes(n2.code) || n2.code.toString().startsWith("5") || n2.code.toString().startsWith("429"))) {
|
|
29166
29165
|
let u2 = () => c2(this, null, function* () {
|
|
29167
29166
|
return yield this.internalConnect(e, t2, i2, o2), !!(this.initConfig && this.initConfig.endpoint);
|
|
29168
29167
|
});
|
|
@@ -29264,7 +29263,7 @@ var init_dist = __esm({
|
|
|
29264
29263
|
yield this.negotiateJoin({ name: e, data: t2, autoSubscribeVideo: i2, isWebRTC: r2 });
|
|
29265
29264
|
} catch (o2) {
|
|
29266
29265
|
d2.e(I2, "Join negotiation failed \u274C", o2);
|
|
29267
|
-
let n2 = o2 instanceof
|
|
29266
|
+
let n2 = o2 instanceof f2 ? o2 : S2.WebsocketMethodErrors.ServerErrors(500, "JOIN", `Websocket join error - ${o2.message}`), l2 = parseInt(`${n2.code / 100}`) === 5 || [k2.WebSocketConnectionErrors.WEBSOCKET_CONNECTION_LOST, 429].includes(n2.code);
|
|
29268
29267
|
if (n2.code === 410 && (n2.isTerminal = true), l2) {
|
|
29269
29268
|
this.joinRetryCount = 0, n2.isTerminal = false;
|
|
29270
29269
|
let u2 = () => c2(this, null, function* () {
|
|
@@ -29330,7 +29329,7 @@ var init_dist = __esm({
|
|
|
29330
29329
|
this.callbacks.delete(et), d2.timeEnd("renegotiation-offer-exchange"), yield this.publishConnection.setRemoteDescription(r2), t2.promise.resolve(true), d2.d(I2, "[role=PUBLISH] onRenegotiationNeeded DONE \u2705");
|
|
29331
29330
|
} catch (i2) {
|
|
29332
29331
|
let r2;
|
|
29333
|
-
i2 instanceof
|
|
29332
|
+
i2 instanceof f2 ? r2 = i2 : r2 = S2.GenericErrors.Unknown("PUBLISH", i2.message), t2.promise.reject(r2), d2.d(I2, "[role=PUBLISH] onRenegotiationNeeded FAILED \u274C");
|
|
29334
29333
|
}
|
|
29335
29334
|
}
|
|
29336
29335
|
});
|
|
@@ -29430,7 +29429,7 @@ var init_dist = __esm({
|
|
|
29430
29429
|
}
|
|
29431
29430
|
getAdditionalAnalyticsProperties() {
|
|
29432
29431
|
var o2, n2, l2, u2, p2, h2, T, g2;
|
|
29433
|
-
let e = Va(), t2 = typeof document != "undefined" && document.hidden, i2 = this.store.getRemoteVideoTracks().filter((
|
|
29432
|
+
let e = Va(), t2 = typeof document != "undefined" && document.hidden, i2 = this.store.getRemoteVideoTracks().filter((v2) => v2.degraded).length, r2 = (u2 = (l2 = (n2 = (o2 = this.getWebrtcInternals()) == null ? void 0 : o2.getCurrentStats()) == null ? void 0 : n2.getLocalPeerStats()) == null ? void 0 : l2.publish) == null ? void 0 : u2.bitrate, s2 = (g2 = (T = (h2 = (p2 = this.getWebrtcInternals()) == null ? void 0 : p2.getCurrentStats()) == null ? void 0 : h2.getLocalPeerStats()) == null ? void 0 : T.subscribe) == null ? void 0 : g2.bitrate;
|
|
29434
29433
|
return { network_info: e, document_hidden: t2, num_degraded_tracks: i2, bitrate: { publish: r2, subscribe: s2 }, max_sub_bitrate: this.maxSubscribeBitrate, recent_pong_response_times: this.signal.getPongResponseTimes(), transport_state: this.state };
|
|
29435
29434
|
}
|
|
29436
29435
|
};
|
|
@@ -29510,7 +29509,7 @@ var init_dist = __esm({
|
|
|
29510
29509
|
var s2, o2, n2, l2;
|
|
29511
29510
|
if (e.error && e.type) {
|
|
29512
29511
|
let u2 = e.type.includes("audio") ? (s2 = this.localPeer) == null ? void 0 : s2.audioTrack : (o2 = this.localPeer) == null ? void 0 : o2.videoTrack;
|
|
29513
|
-
(n2 = this.errorListener) == null || n2.onError(e.error), [
|
|
29512
|
+
(n2 = this.errorListener) == null || n2.onError(e.error), [k2.TracksErrors.CANT_ACCESS_CAPTURE_DEVICE, k2.TracksErrors.DEVICE_IN_USE, k2.TracksErrors.DEVICE_NOT_AVAILABLE].includes(e.error.code) && u2 && (u2.setEnabled(false), (l2 = this.listener) == null || l2.onTrackUpdate(2, u2, this.localPeer));
|
|
29514
29513
|
}
|
|
29515
29514
|
})();
|
|
29516
29515
|
};
|
|
@@ -29546,7 +29545,7 @@ var init_dist = __esm({
|
|
|
29546
29545
|
(i2 = this.notificationManager) == null || i2.setListener(this.listener), this.audioSinkManager.setListener(this.listener), this.interactivityCenter.setListener(this.listener);
|
|
29547
29546
|
return;
|
|
29548
29547
|
}
|
|
29549
|
-
this.sdkState.isInitialised = true, this.store = new Nt(), this.eventBus = new Ut(), this.pluginUsageTracker = new Oi(this.eventBus), this.wakeLockManager = new _i(), this.networkTestManager = new wi(this.eventBus, this.listener), this.playlistManager = new bt(this, this.eventBus), this.deviceManager = new xt(this.store, this.eventBus), this.audioSinkManager = new Ot(this.store, this.deviceManager, this.eventBus), this.audioOutput = new xi(this.deviceManager, this.audioSinkManager), this.audioSinkManager.setListener(this.listener), this.eventBus.autoplayError.subscribe(this.handleAutoplayError), this.localTrackManager = new ve(this.store, this.observer, this.deviceManager, this.eventBus, this.analyticsTimer), this.analyticsEventsService = new Ni(this.store), this.transport = new zt(this.observer, this.deviceManager, this.store, this.eventBus, this.analyticsEventsService, this.analyticsTimer, this.pluginUsageTracker),
|
|
29548
|
+
this.sdkState.isInitialised = true, this.store = new Nt(), this.eventBus = new Ut(), this.pluginUsageTracker = new Oi(this.eventBus), this.wakeLockManager = new _i(), this.networkTestManager = new wi(this.eventBus, this.listener), this.playlistManager = new bt(this, this.eventBus), this.deviceManager = new xt(this.store, this.eventBus), this.audioSinkManager = new Ot(this.store, this.deviceManager, this.eventBus), this.audioOutput = new xi(this.deviceManager, this.audioSinkManager), this.audioSinkManager.setListener(this.listener), this.eventBus.autoplayError.subscribe(this.handleAutoplayError), this.localTrackManager = new ve(this.store, this.observer, this.deviceManager, this.eventBus, this.analyticsTimer), this.analyticsEventsService = new Ni(this.store), this.transport = new zt(this.observer, this.deviceManager, this.store, this.eventBus, this.analyticsEventsService, this.analyticsTimer, this.pluginUsageTracker), "onInitSuccess" in e && this.transport.setConnectivityListener(e), this.sessionStore = new Zi(this.transport), this.interactivityCenter = new Vt(this.transport, this.store, this.listener), this.eventBus.analytics.subscribe(this.sendAnalyticsEvent), this.eventBus.deviceChange.subscribe(this.handleDeviceChange), this.eventBus.audioPluginFailed.subscribe(this.handleAudioPluginError);
|
|
29550
29549
|
}
|
|
29551
29550
|
validateJoined(e) {
|
|
29552
29551
|
if (!this.localPeer)
|
|
@@ -29673,8 +29672,8 @@ var init_dist = __esm({
|
|
|
29673
29672
|
n2 != null && n2.autoManageWakeLock && this.wakeLockManager.acquireLock(), this.localPeer ? (this.localPeer.name = e.userName, this.localPeer.role = this.store.getPolicyForRole(s2), this.localPeer.customerUserId = r2, this.localPeer.metadata = e.metaData, delete this.localPeer.asRole) : this.createAndAddLocalPeerToStore(e, s2, r2), this.roleChangeManager = new wt(this.store, this.transport, this.deviceManager, this.getAndPublishTracks.bind(this), this.removeTrack.bind(this), this.listener), this.eventBus.localRoleUpdate.subscribe(this.handleLocalRoleUpdate), d2.d(this.TAG, `\u23F3 Joining room ${i2}`), d2.time(`join-room-${i2}`);
|
|
29674
29673
|
try {
|
|
29675
29674
|
yield this.transport.join(e.authToken, this.localPeer.peerId, { name: e.userName, metaData: e.metaData }, e.initEndpoint, e.autoVideoSubscribe, e.iceServers), d2.d(this.TAG, `\u2705 Joined room ${i2}`), this.analyticsTimer.start("peer_list_time"), yield this.notifyJoin(), this.sdkState.isJoinInProgress = false, yield this.publish(e.settings, o2);
|
|
29676
|
-
} catch (
|
|
29677
|
-
throw this.analyticsTimer.end("join_time"), this.sdkState.isJoinInProgress = false, (g2 = this.listener) == null || g2.onError(
|
|
29675
|
+
} catch (v2) {
|
|
29676
|
+
throw this.analyticsTimer.end("join_time"), this.sdkState.isJoinInProgress = false, (g2 = this.listener) == null || g2.onError(v2), this.sendJoinAnalyticsEvent(this.sdkState.isPreviewCalled, v2), d2.e(this.TAG, "Unable to join room", v2), v2;
|
|
29678
29677
|
}
|
|
29679
29678
|
d2.timeEnd(`join-room-${i2}`);
|
|
29680
29679
|
});
|
|
@@ -40124,9 +40123,9 @@ var init_ScreenshareLayout = __esm({
|
|
|
40124
40123
|
}
|
|
40125
40124
|
});
|
|
40126
40125
|
|
|
40127
|
-
// ../../../../../../../tmp/tmp-
|
|
40128
|
-
var
|
|
40129
|
-
"../../../../../../../tmp/tmp-
|
|
40126
|
+
// ../../../../../../../tmp/tmp-2852-03Bu0ubnU7mt/1904eee20141/index.css
|
|
40127
|
+
var init_eee20141 = __esm({
|
|
40128
|
+
"../../../../../../../tmp/tmp-2852-03Bu0ubnU7mt/1904eee20141/index.css"() {
|
|
40130
40129
|
}
|
|
40131
40130
|
});
|
|
40132
40131
|
|
|
@@ -40148,7 +40147,7 @@ var init_WhiteboardLayout = __esm({
|
|
|
40148
40147
|
init_ProminenceLayout();
|
|
40149
40148
|
init_useUISettings();
|
|
40150
40149
|
init_constants();
|
|
40151
|
-
|
|
40150
|
+
init_eee20141();
|
|
40152
40151
|
WhiteboardEmbed = () => {
|
|
40153
40152
|
const isMobile = (0, import_react_use42.useMedia)(config.media.md);
|
|
40154
40153
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk93.useWhiteboard)(isMobile);
|
|
@@ -45418,10 +45417,10 @@ var require_react_is_production_min = __commonJS({
|
|
|
45418
45417
|
var c3 = b3 ? Symbol.for("react.element") : 60103;
|
|
45419
45418
|
var d3 = b3 ? Symbol.for("react.portal") : 60106;
|
|
45420
45419
|
var e = b3 ? Symbol.for("react.fragment") : 60107;
|
|
45421
|
-
var
|
|
45420
|
+
var f3 = b3 ? Symbol.for("react.strict_mode") : 60108;
|
|
45422
45421
|
var g2 = b3 ? Symbol.for("react.profiler") : 60114;
|
|
45423
45422
|
var h2 = b3 ? Symbol.for("react.provider") : 60109;
|
|
45424
|
-
var
|
|
45423
|
+
var k3 = b3 ? Symbol.for("react.context") : 60110;
|
|
45425
45424
|
var l2 = b3 ? Symbol.for("react.async_mode") : 60111;
|
|
45426
45425
|
var m2 = b3 ? Symbol.for("react.concurrent_mode") : 60111;
|
|
45427
45426
|
var n2 = b3 ? Symbol.for("react.forward_ref") : 60112;
|
|
@@ -45429,7 +45428,7 @@ var require_react_is_production_min = __commonJS({
|
|
|
45429
45428
|
var q3 = b3 ? Symbol.for("react.suspense_list") : 60120;
|
|
45430
45429
|
var r2 = b3 ? Symbol.for("react.memo") : 60115;
|
|
45431
45430
|
var t2 = b3 ? Symbol.for("react.lazy") : 60116;
|
|
45432
|
-
var
|
|
45431
|
+
var v2 = b3 ? Symbol.for("react.block") : 60121;
|
|
45433
45432
|
var w2 = b3 ? Symbol.for("react.fundamental") : 60117;
|
|
45434
45433
|
var x2 = b3 ? Symbol.for("react.responder") : 60118;
|
|
45435
45434
|
var y3 = b3 ? Symbol.for("react.scope") : 60119;
|
|
@@ -45443,12 +45442,12 @@ var require_react_is_production_min = __commonJS({
|
|
|
45443
45442
|
case m2:
|
|
45444
45443
|
case e:
|
|
45445
45444
|
case g2:
|
|
45446
|
-
case
|
|
45445
|
+
case f3:
|
|
45447
45446
|
case p2:
|
|
45448
45447
|
return a11;
|
|
45449
45448
|
default:
|
|
45450
45449
|
switch (a11 = a11 && a11.$$typeof, a11) {
|
|
45451
|
-
case
|
|
45450
|
+
case k3:
|
|
45452
45451
|
case n2:
|
|
45453
45452
|
case t2:
|
|
45454
45453
|
case r2:
|
|
@@ -45468,7 +45467,7 @@ var require_react_is_production_min = __commonJS({
|
|
|
45468
45467
|
}
|
|
45469
45468
|
exports.AsyncMode = l2;
|
|
45470
45469
|
exports.ConcurrentMode = m2;
|
|
45471
|
-
exports.ContextConsumer =
|
|
45470
|
+
exports.ContextConsumer = k3;
|
|
45472
45471
|
exports.ContextProvider = h2;
|
|
45473
45472
|
exports.Element = c3;
|
|
45474
45473
|
exports.ForwardRef = n2;
|
|
@@ -45477,14 +45476,14 @@ var require_react_is_production_min = __commonJS({
|
|
|
45477
45476
|
exports.Memo = r2;
|
|
45478
45477
|
exports.Portal = d3;
|
|
45479
45478
|
exports.Profiler = g2;
|
|
45480
|
-
exports.StrictMode =
|
|
45479
|
+
exports.StrictMode = f3;
|
|
45481
45480
|
exports.Suspense = p2;
|
|
45482
45481
|
exports.isAsyncMode = function(a11) {
|
|
45483
45482
|
return A3(a11) || z3(a11) === l2;
|
|
45484
45483
|
};
|
|
45485
45484
|
exports.isConcurrentMode = A3;
|
|
45486
45485
|
exports.isContextConsumer = function(a11) {
|
|
45487
|
-
return z3(a11) ===
|
|
45486
|
+
return z3(a11) === k3;
|
|
45488
45487
|
};
|
|
45489
45488
|
exports.isContextProvider = function(a11) {
|
|
45490
45489
|
return z3(a11) === h2;
|
|
@@ -45511,13 +45510,13 @@ var require_react_is_production_min = __commonJS({
|
|
|
45511
45510
|
return z3(a11) === g2;
|
|
45512
45511
|
};
|
|
45513
45512
|
exports.isStrictMode = function(a11) {
|
|
45514
|
-
return z3(a11) ===
|
|
45513
|
+
return z3(a11) === f3;
|
|
45515
45514
|
};
|
|
45516
45515
|
exports.isSuspense = function(a11) {
|
|
45517
45516
|
return z3(a11) === p2;
|
|
45518
45517
|
};
|
|
45519
45518
|
exports.isValidElementType = function(a11) {
|
|
45520
|
-
return "string" === typeof a11 || "function" === typeof a11 || a11 === e || a11 === m2 || a11 === g2 || a11 ===
|
|
45519
|
+
return "string" === typeof a11 || "function" === typeof a11 || a11 === e || a11 === m2 || a11 === g2 || a11 === f3 || a11 === p2 || a11 === q3 || "object" === typeof a11 && null !== a11 && (a11.$$typeof === t2 || a11.$$typeof === r2 || a11.$$typeof === h2 || a11.$$typeof === k3 || a11.$$typeof === n2 || a11.$$typeof === w2 || a11.$$typeof === x2 || a11.$$typeof === y3 || a11.$$typeof === v2);
|
|
45521
45520
|
};
|
|
45522
45521
|
exports.typeOf = z3;
|
|
45523
45522
|
}
|