@100mslive/roomkit-react 0.3.17-alpha.10 → 0.3.17-alpha.12
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-NMG7P72A.js → HLSView-D37W6IYC.js} +2 -2
- package/dist/{HLSView-2TQQHGUX.css → HLSView-GCUCC7MH.css} +3 -3
- package/dist/{HLSView-2TQQHGUX.css.map → HLSView-GCUCC7MH.css.map} +1 -1
- package/dist/Prebuilt/components/Notifications/ReconnectNotifications.d.ts +1 -2
- package/dist/{chunk-GCTIXYTC.js → chunk-HVEJKF3Q.js} +270 -275
- package/dist/{chunk-GCTIXYTC.js.map → chunk-HVEJKF3Q.js.map} +3 -3
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +109 -122
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +25 -30
- package/dist/meta.esbuild.json +35 -40
- package/package.json +7 -7
- package/src/Prebuilt/components/Notifications/ReconnectNotifications.tsx +10 -37
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +3 -1
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +2 -2
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +1 -2
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +2 -1
- package/src/Prebuilt/components/VirtualBackground/VBToggle.tsx +9 -2
- /package/dist/{HLSView-NMG7P72A.js.map → HLSView-D37W6IYC.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_71c81273-4f05-4298-9b43-ec13c17b6cb8", 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.7-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.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.10", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_71c81273-4f05-4298-9b43-ec13c17b6cb8", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-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.11", 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.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "596", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240730.2.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.5/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:18879", 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.17-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: "10244504077", 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: "881ef62a6dbcdead74b8923522bd497f4cbe865d", 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: "f112af03976b27a2eba9b43762837d7c81ac1b08c3dfe4a09633c675626244dc", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722842910937-0.43551810795963686:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722842910738-0.0818460086124595:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722842884606-0.9667718585509777:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722842884426-0.07824407766293295:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_afa860ec-386e-45b6-b27f-8a6ccd2dcd5c", INVOCATION_ID: "15d0c9002d8744f5bfbe91f80fd39955", 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: "627", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 261", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.17-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.17-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: "881ef62a6dbcdead74b8923522bd497f4cbe865d", 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_71c81273-4f05-4298-9b43-ec13c17b6cb8", 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_71c81273-4f05-4298-9b43-ec13c17b6cb8", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_71c81273-4f05-4298-9b43-ec13c17b6cb8" };
|
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5530744c-dc75-4384-9dca-9c0506ec0e09", 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.7-alpha.12", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.12", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5530744c-dc75-4384-9dca-9c0506ec0e09", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.12", 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.11", 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.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "592", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240730.2.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.5/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:16299", 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.17-alpha.12", 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: "10261319405", 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: "076d5cf283a80eecd8ba2447912778ace884576d", 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: "a3f88cb9ddcb7c7ffc049c214180bca01d28e329e5f4713a564baad60185161e", 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--1722925248453-0.13509407785256422:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925248260-0.8252299207615144:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925222961-0.3857170281225182:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722925222785-0.636730337746219:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7dd9e085-8ff2-4d80-a4f1-a123fca11306", INVOCATION_ID: "0da5c05c7ceb46889a22af577e0ffe4f", 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: "629", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 479", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.0.12077973", 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.17-alpha.12", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.12", 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: "076d5cf283a80eecd8ba2447912778ace884576d", 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_5530744c-dc75-4384-9dca-9c0506ec0e09", 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_5530744c-dc75-4384-9dca-9c0506ec0e09", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.0.12077973", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.0.12077973", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5530744c-dc75-4384-9dca-9c0506ec0e09" };
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
@@ -21281,7 +21281,7 @@ var require_lib = __commonJS({
|
|
|
21281
21281
|
});
|
|
21282
21282
|
|
|
21283
21283
|
// ../hms-video-store/dist/index.js
|
|
21284
|
-
function
|
|
21284
|
+
function Be(a2, e) {
|
|
21285
21285
|
let t, i;
|
|
21286
21286
|
if (e)
|
|
21287
21287
|
for (let r of e.auxiliaryTracks) {
|
|
@@ -21328,9 +21328,9 @@ function ne(a2) {
|
|
|
21328
21328
|
}
|
|
21329
21329
|
function Tt(a2 = "prod", e) {
|
|
21330
21330
|
let t = "web", i = ze !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
|
21331
|
-
if (
|
|
21331
|
+
if (Ve)
|
|
21332
21332
|
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
|
21333
|
-
let r =
|
|
21333
|
+
let r = fe.getOS(), s = fe.getDevice(), o = fe.getBrowser(), n = Mr(`web_${r.name}`), d = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
|
|
21334
21334
|
return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: d, sdk: t, sdk_version: ys, device_model: p, env: i, domain: ze, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
|
21335
21335
|
}
|
|
21336
21336
|
function Mr(a2) {
|
|
@@ -21349,13 +21349,13 @@ function ai(a2, e = 300) {
|
|
|
21349
21349
|
function A(a2) {
|
|
21350
21350
|
return (e) => (t) => a2(t, e);
|
|
21351
21351
|
}
|
|
21352
|
-
function
|
|
21352
|
+
function Vm(a2) {
|
|
21353
21353
|
return (e) => {
|
|
21354
21354
|
if (e.sessionStore)
|
|
21355
21355
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
|
21356
21356
|
};
|
|
21357
21357
|
}
|
|
21358
|
-
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, ss, as, rs, m, M, mr, Xa, vr, Sr, Za, os, gr, ns, ls, to, l,
|
|
21358
|
+
var import_ua_parser_js, import_uuid3, import_uuid4, import_lodash3, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Kt, import_eventemitter24, import_uuid9, import_uuid10, ja, Ja, Qa, Zt, ss, as, rs, m, M, mr, Xa, vr, Sr, Za, os, gr, ns, ls, to, l, fe, U, us, Ve, ro, ic, ps, hs, gs, Ts, ze, P3, f, ao, S, fr, fs, pe, vs, ys, ks, H, y, yr, J, kr, Pr, Ir, Is, Rs, As, Hs, Cs, Rr, Ls, Ar, Ns, Hr, Os, Cr, Lr, Bs, Vs, Pt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Vr, Co, Oe, Qh, Lo, ge, wo, ie, Pe, zh, Yh, oe, z, Do, Ys, Xh, Zh, Gr, _o, tm, im, rm, sm, am, om, nm, cm, Rt, No, dm, re, Zs, lm, um, Te, pm, at, Oo, ea, hm, ta, mm, Sm, gm, Tm, fm, vm, Mm, ym, km, Pm, ia, Rm, xo, Am, sa, Wr, aa, oa, na, ca, da, la, ua, pa, At, b, $r, Ht, ha, Uo, Bo, q, Kr, Vo, Fo, Go, Wo, $o, Y, Bm, Gm, Wm, fi, ma, $m, Km, qm, Ko, qo, Jm, Sa, Qm, jo, zm, Ym, Xm, Zm, eS, tS, ga, Ta, rS, sS, fa, aS, oS, va, nS, cS, dS, Ma, ya, Jo, Qo, zo, lS, uS, pS, hS, mS, ka, IS, Yo, RS, AS, HS, Zo, en, sn, zr, be, j, tr, lr, Pn, En, bn, In, Ka, Rn, qa, ts, Re, An, Hn, Cn, Ln, wn, Dn, _n, Nn, On, xn, is, Un, Bn, Vn, Fn, Gn, Wn;
|
|
21359
21359
|
var init_dist = __esm({
|
|
21360
21360
|
"../hms-video-store/dist/index.js"() {
|
|
21361
21361
|
"use strict";
|
|
@@ -21410,12 +21410,12 @@ var init_dist = __esm({
|
|
|
21410
21410
|
};
|
|
21411
21411
|
Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
|
21412
21412
|
vr = Xa((Ac, no) => {
|
|
21413
|
-
no.exports = { version: "0.12.17-alpha.
|
|
21413
|
+
no.exports = { version: "0.12.17-alpha.12", 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"] };
|
|
21414
21414
|
});
|
|
21415
21415
|
Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
|
|
21416
21416
|
Za = ((e) => (e.CHAT = "chat", e))(Za || {});
|
|
21417
21417
|
os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
|
|
21418
|
-
gr = ((
|
|
21418
|
+
gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
|
|
21419
21419
|
ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
|
|
21420
21420
|
ls = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ls || {});
|
|
21421
21421
|
to = typeof window != "undefined" && typeof window.expect != "undefined";
|
|
@@ -21485,12 +21485,12 @@ var init_dist = __esm({
|
|
|
21485
21485
|
}
|
|
21486
21486
|
};
|
|
21487
21487
|
l.level = to ? 7 : 0;
|
|
21488
|
-
|
|
21488
|
+
fe = new import_ua_parser_js.UAParser();
|
|
21489
21489
|
U = typeof window != "undefined";
|
|
21490
|
-
|
|
21491
|
-
ro = () => !
|
|
21490
|
+
Ve = typeof window == "undefined" && !((us = fe.getBrowser().name) != null && us.toLowerCase().includes("electron"));
|
|
21491
|
+
ro = () => !Ve;
|
|
21492
21492
|
ic = ro();
|
|
21493
|
-
gs = ((hs = (ps =
|
|
21493
|
+
gs = ((hs = (ps = fe.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
|
|
21494
21494
|
Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
|
|
21495
21495
|
ze = so();
|
|
21496
21496
|
P3 = { 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 } };
|
|
@@ -21663,7 +21663,7 @@ var init_dist = __esm({
|
|
|
21663
21663
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
|
21664
21664
|
}
|
|
21665
21665
|
};
|
|
21666
|
-
|
|
21666
|
+
pe = class {
|
|
21667
21667
|
constructor(e) {
|
|
21668
21668
|
this.key = e;
|
|
21669
21669
|
this.storage = null;
|
|
@@ -21691,7 +21691,7 @@ var init_dist = __esm({
|
|
|
21691
21691
|
}
|
|
21692
21692
|
};
|
|
21693
21693
|
vs = () => {
|
|
21694
|
-
let a2, e = new
|
|
21694
|
+
let a2, e = new pe("hms-analytics-deviceId"), t = e.get();
|
|
21695
21695
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
|
21696
21696
|
};
|
|
21697
21697
|
ys = vr().version;
|
|
@@ -21807,7 +21807,7 @@ var init_dist = __esm({
|
|
|
21807
21807
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
|
21808
21808
|
yr = class {
|
|
21809
21809
|
constructor() {
|
|
21810
|
-
this.storage = new
|
|
21810
|
+
this.storage = new pe("hms-device-selection");
|
|
21811
21811
|
this.remember = false;
|
|
21812
21812
|
this.TAG = "[HMSDeviceStorage]";
|
|
21813
21813
|
}
|
|
@@ -21924,23 +21924,23 @@ var init_dist = __esm({
|
|
|
21924
21924
|
N = (a2) => a2.tracks;
|
|
21925
21925
|
Vr = (a2) => a2.appData;
|
|
21926
21926
|
Co = (a2) => a2.speakers;
|
|
21927
|
-
|
|
21928
|
-
Qh = createSelector([
|
|
21927
|
+
Oe = createSelector([B], (a2) => a2 && a2.isConnected);
|
|
21928
|
+
Qh = createSelector([Oe, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
|
21929
21929
|
Lo = (a2) => a2.hideLocalPeer;
|
|
21930
|
-
|
|
21931
|
-
|
|
21930
|
+
ge = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
|
21931
|
+
wo = createSelector(N, (a2) => Object.values(a2));
|
|
21932
21932
|
ie = createSelector(B, K, (a2, e) => e[a2.localPeer]);
|
|
21933
|
-
|
|
21933
|
+
Pe = createSelector(B, (a2) => a2.localPeer);
|
|
21934
21934
|
zh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.name);
|
|
21935
21935
|
Yh = createSelector(ie, (a2) => a2 == null ? void 0 : a2.roleName);
|
|
21936
21936
|
oe = createSelector(ie, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
|
21937
21937
|
z = createSelector(ie, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
|
21938
|
-
|
|
21939
|
-
Ys = createSelector([oe, z,
|
|
21938
|
+
Do = createSelector(ie, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
|
21939
|
+
Ys = createSelector([oe, z, Do], (a2, e, t) => {
|
|
21940
21940
|
let i = t ? [...t] : [];
|
|
21941
21941
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
|
21942
21942
|
});
|
|
21943
|
-
Xh = createSelector(
|
|
21943
|
+
Xh = createSelector(ge, (a2) => a2.filter((e) => !e.isLocal));
|
|
21944
21944
|
Zh = createSelector(K, Co, (a2, e) => {
|
|
21945
21945
|
let t = Object.entries(e).sort((i, r) => {
|
|
21946
21946
|
var n, d;
|
|
@@ -21955,13 +21955,13 @@ var init_dist = __esm({
|
|
|
21955
21955
|
return null;
|
|
21956
21956
|
});
|
|
21957
21957
|
Gr = createSelector(ie, N, (a2, e) => {
|
|
21958
|
-
let { video: t, audio: i } =
|
|
21958
|
+
let { video: t, audio: i } = Be(e, a2);
|
|
21959
21959
|
return !!(t || i);
|
|
21960
21960
|
});
|
|
21961
21961
|
_o = createSelector(K, N, (a2, e) => {
|
|
21962
21962
|
let t;
|
|
21963
21963
|
for (let i in a2) {
|
|
21964
|
-
let r = a2[i], { video: s, audio: o } =
|
|
21964
|
+
let r = a2[i], { video: s, audio: o } = Be(e, r);
|
|
21965
21965
|
if (s)
|
|
21966
21966
|
return r;
|
|
21967
21967
|
o && !t && (t = r);
|
|
@@ -21971,7 +21971,7 @@ var init_dist = __esm({
|
|
|
21971
21971
|
tm = createSelector(_o, (a2) => !!a2);
|
|
21972
21972
|
im = createSelector(K, N, (a2, e) => {
|
|
21973
21973
|
for (let t in a2) {
|
|
21974
|
-
let i = a2[t], { audio: r, video: s } =
|
|
21974
|
+
let i = a2[t], { audio: r, video: s } = Be(e, i);
|
|
21975
21975
|
if (!s && r)
|
|
21976
21976
|
return i;
|
|
21977
21977
|
}
|
|
@@ -21979,7 +21979,7 @@ var init_dist = __esm({
|
|
|
21979
21979
|
rm = createSelector(K, N, (a2, e) => {
|
|
21980
21980
|
let t = [], i = [];
|
|
21981
21981
|
for (let r in a2) {
|
|
21982
|
-
let s = a2[r], { video: o, audio: n } =
|
|
21982
|
+
let s = a2[r], { video: o, audio: n } = Be(e, s);
|
|
21983
21983
|
o ? t.push(s) : n && i.push(s);
|
|
21984
21984
|
}
|
|
21985
21985
|
return t.concat(i);
|
|
@@ -21998,7 +21998,7 @@ var init_dist = __esm({
|
|
|
21998
21998
|
return a2[i.peerId];
|
|
21999
21999
|
}
|
|
22000
22000
|
});
|
|
22001
|
-
om = createSelector(
|
|
22001
|
+
om = createSelector(wo, (a2) => a2.filter(cs));
|
|
22002
22002
|
nm = createSelector(Qs, (a2) => a2.length);
|
|
22003
22003
|
cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
|
22004
22004
|
Rt = createSelector(Qs, Ti, (a2, e) => {
|
|
@@ -22016,14 +22016,14 @@ var init_dist = __esm({
|
|
|
22016
22016
|
Zs = createSelector(re, (a2) => a2 === "Preview");
|
|
22017
22017
|
lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
|
|
22018
22018
|
um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
|
22019
|
-
|
|
22020
|
-
pm = createSelector([
|
|
22021
|
-
at = createSelector([ie,
|
|
22019
|
+
Te = (a2) => a2.roles;
|
|
22020
|
+
pm = createSelector([Te], (a2) => Object.keys(a2));
|
|
22021
|
+
at = createSelector([ie, Te], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
|
22022
22022
|
Oo = (a2) => {
|
|
22023
22023
|
var e;
|
|
22024
22024
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
|
22025
22025
|
};
|
|
22026
|
-
ea = createSelector([Oo,
|
|
22026
|
+
ea = createSelector([Oo, Te], (a2, e) => a2 ? e[a2] : null);
|
|
22027
22027
|
hm = createSelector([at], (a2) => {
|
|
22028
22028
|
var e;
|
|
22029
22029
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
|
@@ -22037,11 +22037,12 @@ var init_dist = __esm({
|
|
|
22037
22037
|
vm = createSelector(B, (a2) => a2.startedAt);
|
|
22038
22038
|
Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
|
|
22039
22039
|
ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
|
|
22040
|
-
km = createSelector(B, (a2) => a2.
|
|
22040
|
+
km = createSelector(B, (a2) => !!a2.isVBEnabled);
|
|
22041
|
+
Pm = createSelector(B, (a2) => a2.effectsKey);
|
|
22041
22042
|
ia = (a2) => a2.polls;
|
|
22042
|
-
|
|
22043
|
+
Rm = createSelector(ge, (a2) => a2.filter((e) => e.isHandRaised));
|
|
22043
22044
|
xo = (a2) => a2.whiteboards;
|
|
22044
|
-
|
|
22045
|
+
Am = createSelector(xo, (a2) => Object.values(a2)[0]);
|
|
22045
22046
|
sa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
|
22046
22047
|
Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
|
22047
22048
|
aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
|
@@ -22155,17 +22156,17 @@ var init_dist = __esm({
|
|
|
22155
22156
|
});
|
|
22156
22157
|
$o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
|
|
22157
22158
|
Y = A(q);
|
|
22158
|
-
|
|
22159
|
+
Bm = A(createSelector([Vr, Uo], (a2, e) => {
|
|
22159
22160
|
if (a2)
|
|
22160
22161
|
return e ? a2[e] : a2;
|
|
22161
22162
|
}));
|
|
22162
|
-
|
|
22163
|
-
|
|
22163
|
+
Gm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
|
22164
|
+
Wm = A(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
|
22164
22165
|
fi = A(Kr);
|
|
22165
22166
|
ma = A(Vo);
|
|
22166
|
-
|
|
22167
|
-
|
|
22168
|
-
|
|
22167
|
+
$m = A(Fo);
|
|
22168
|
+
Km = A(Go);
|
|
22169
|
+
qm = A(Wo);
|
|
22169
22170
|
Ko = A((a2, e) => {
|
|
22170
22171
|
let t = q(a2, e);
|
|
22171
22172
|
if (t && t.videoTrack && t.videoTrack !== "")
|
|
@@ -22176,56 +22177,56 @@ var init_dist = __esm({
|
|
|
22176
22177
|
if (t && t.audioTrack && t.audioTrack !== "")
|
|
22177
22178
|
return a2.tracks[t.audioTrack];
|
|
22178
22179
|
});
|
|
22179
|
-
|
|
22180
|
+
Jm = A((a2, e) => {
|
|
22180
22181
|
let t = q(a2, e);
|
|
22181
22182
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
|
22182
22183
|
});
|
|
22183
22184
|
Sa = (a2, e) => e ? a2.speakers[e] : null;
|
|
22184
|
-
|
|
22185
|
+
Qm = A(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
|
22185
22186
|
jo = (a2, e) => {
|
|
22186
22187
|
let t = qo(e)(a2);
|
|
22187
22188
|
return Sa(a2, t == null ? void 0 : t.id);
|
|
22188
22189
|
};
|
|
22189
|
-
|
|
22190
|
-
|
|
22190
|
+
zm = A(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
|
22191
|
+
Ym = A((a2, e) => {
|
|
22191
22192
|
if (e)
|
|
22192
22193
|
return a2.connectionQualities[e];
|
|
22193
22194
|
});
|
|
22194
|
-
|
|
22195
|
+
Xm = A((a2, e) => {
|
|
22195
22196
|
let t = q(a2, e);
|
|
22196
22197
|
if (t) {
|
|
22197
22198
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
|
|
22198
22199
|
return i ? a2.tracks[i] : void 0;
|
|
22199
22200
|
}
|
|
22200
22201
|
});
|
|
22201
|
-
|
|
22202
|
+
Zm = A(createSelector(N, q, (a2, e) => {
|
|
22202
22203
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22203
22204
|
let r = a2[i];
|
|
22204
22205
|
return ht(r) && pt(r);
|
|
22205
22206
|
});
|
|
22206
22207
|
return t ? a2[t] : void 0;
|
|
22207
22208
|
}));
|
|
22208
|
-
|
|
22209
|
+
eS = A(createSelector(N, q, (a2, e) => {
|
|
22209
22210
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22210
22211
|
let r = a2[i];
|
|
22211
22212
|
return ht(r) && ut(r);
|
|
22212
22213
|
});
|
|
22213
22214
|
return t ? a2[t] : void 0;
|
|
22214
22215
|
}));
|
|
22215
|
-
|
|
22216
|
+
tS = A(createSelector(N, q, (a2, e) => {
|
|
22216
22217
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
|
22217
22218
|
let r = a2[i];
|
|
22218
22219
|
return ii(r) && ut(r);
|
|
22219
22220
|
});
|
|
22220
22221
|
return t ? a2[t] : void 0;
|
|
22221
22222
|
}));
|
|
22222
|
-
ga = A(createSelector(N, q, (a2, e) =>
|
|
22223
|
+
ga = A(createSelector(N, q, (a2, e) => Be(a2, e)));
|
|
22223
22224
|
Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
|
|
22224
|
-
|
|
22225
|
+
rS = A((a2, e) => {
|
|
22225
22226
|
let t = q(a2, e);
|
|
22226
22227
|
return Je(a2, t == null ? void 0 : t.audioTrack);
|
|
22227
22228
|
});
|
|
22228
|
-
|
|
22229
|
+
sS = A((a2, e) => {
|
|
22229
22230
|
let t = q(a2, e);
|
|
22230
22231
|
return Je(a2, t == null ? void 0 : t.videoTrack);
|
|
22231
22232
|
});
|
|
@@ -22233,11 +22234,11 @@ var init_dist = __esm({
|
|
|
22233
22234
|
if (e && a2.tracks[e])
|
|
22234
22235
|
return a2.tracks[e].volume === 0;
|
|
22235
22236
|
});
|
|
22236
|
-
|
|
22237
|
+
aS = A((a2, e) => {
|
|
22237
22238
|
let t = q(a2, e);
|
|
22238
22239
|
return fa(t == null ? void 0 : t.audioTrack)(a2);
|
|
22239
22240
|
});
|
|
22240
|
-
|
|
22241
|
+
oS = A((a2, e) => {
|
|
22241
22242
|
let t = Ta(e)(a2);
|
|
22242
22243
|
return fa(t == null ? void 0 : t.id)(a2);
|
|
22243
22244
|
});
|
|
@@ -22251,15 +22252,15 @@ var init_dist = __esm({
|
|
|
22251
22252
|
return t.volume;
|
|
22252
22253
|
}
|
|
22253
22254
|
});
|
|
22254
|
-
|
|
22255
|
+
nS = A((a2, e) => {
|
|
22255
22256
|
let t = q(a2, e);
|
|
22256
22257
|
return va(t == null ? void 0 : t.audioTrack)(a2);
|
|
22257
22258
|
});
|
|
22258
|
-
|
|
22259
|
+
cS = A((a2, e) => {
|
|
22259
22260
|
let t = Ta(e)(a2);
|
|
22260
22261
|
return va(t == null ? void 0 : t.id)(a2);
|
|
22261
22262
|
});
|
|
22262
|
-
|
|
22263
|
+
dS = A((a2, e) => {
|
|
22263
22264
|
let t = Kr(a2, e);
|
|
22264
22265
|
if (t) {
|
|
22265
22266
|
if (t.type !== "video") {
|
|
@@ -22269,7 +22270,7 @@ var init_dist = __esm({
|
|
|
22269
22270
|
return t.layer;
|
|
22270
22271
|
}
|
|
22271
22272
|
});
|
|
22272
|
-
Ma = createSelector([Rt,
|
|
22273
|
+
Ma = createSelector([Rt, Pe, $r], (a2, e, t) => {
|
|
22273
22274
|
if (t)
|
|
22274
22275
|
return a2.filter((i) => {
|
|
22275
22276
|
var r;
|
|
@@ -22289,20 +22290,20 @@ var init_dist = __esm({
|
|
|
22289
22290
|
}));
|
|
22290
22291
|
Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
|
22291
22292
|
zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
|
22292
|
-
|
|
22293
|
-
|
|
22294
|
-
|
|
22295
|
-
|
|
22296
|
-
|
|
22293
|
+
lS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
|
22294
|
+
uS = A(Ma);
|
|
22295
|
+
pS = A(ya);
|
|
22296
|
+
hS = A(Qo);
|
|
22297
|
+
mS = A(zo);
|
|
22297
22298
|
ka = A($o);
|
|
22298
|
-
|
|
22299
|
+
IS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
|
|
22299
22300
|
var r;
|
|
22300
22301
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
|
22301
22302
|
}));
|
|
22302
22303
|
Yo = (a2) => a2.roleChangeRequests[0] || null;
|
|
22303
|
-
|
|
22304
|
-
|
|
22305
|
-
|
|
22304
|
+
RS = createSelector([Yo, K, Te], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
|
22305
|
+
AS = createSelector([at], (a2) => mt(a2));
|
|
22306
|
+
HS = createSelector([ea], (a2) => mt(a2));
|
|
22306
22307
|
Zo = createSelector([z, N], (a2, e) => {
|
|
22307
22308
|
let t = null;
|
|
22308
22309
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
|
@@ -22315,7 +22316,7 @@ var init_dist = __esm({
|
|
|
22315
22316
|
zr = class {
|
|
22316
22317
|
constructor() {
|
|
22317
22318
|
this.TAG = "[HTTPAnalyticsTransport]";
|
|
22318
|
-
this.failedEvents = new
|
|
22319
|
+
this.failedEvents = new pe("client-events");
|
|
22319
22320
|
this.isConnected = true;
|
|
22320
22321
|
this.env = null;
|
|
22321
22322
|
this.websocketURL = "";
|
|
@@ -22357,7 +22358,7 @@ var init_dist = __esm({
|
|
|
22357
22358
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
|
22358
22359
|
}
|
|
22359
22360
|
};
|
|
22360
|
-
|
|
22361
|
+
be = new zr();
|
|
22361
22362
|
j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
|
|
22362
22363
|
tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
|
|
22363
22364
|
lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
|
|
@@ -22369,36 +22370,36 @@ var init_dist = __esm({
|
|
|
22369
22370
|
Rn = (a2) => a2.remoteTrackStats;
|
|
22370
22371
|
qa = (a2) => a2.peerStats;
|
|
22371
22372
|
ts = (a2) => a2.localTrackStats;
|
|
22372
|
-
|
|
22373
|
-
An = createSelector(
|
|
22373
|
+
Re = createSelector([qa, Pn], (a2, e) => a2[e]);
|
|
22374
|
+
An = createSelector(Re, (a2) => {
|
|
22374
22375
|
var e;
|
|
22375
22376
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
|
22376
22377
|
});
|
|
22377
|
-
Hn = createSelector(
|
|
22378
|
+
Hn = createSelector(Re, (a2) => {
|
|
22378
22379
|
var e;
|
|
22379
22380
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
|
22380
22381
|
});
|
|
22381
|
-
Cn = createSelector(
|
|
22382
|
+
Cn = createSelector(Re, (a2) => {
|
|
22382
22383
|
var e;
|
|
22383
22384
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
|
22384
22385
|
});
|
|
22385
|
-
Ln = createSelector(
|
|
22386
|
+
Ln = createSelector(Re, (a2) => {
|
|
22386
22387
|
var e;
|
|
22387
22388
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
|
22388
22389
|
});
|
|
22389
|
-
|
|
22390
|
+
wn = createSelector(Re, (a2) => {
|
|
22390
22391
|
var e;
|
|
22391
22392
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
|
22392
22393
|
});
|
|
22393
|
-
|
|
22394
|
+
Dn = createSelector(Re, (a2) => {
|
|
22394
22395
|
var e;
|
|
22395
22396
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
|
22396
22397
|
});
|
|
22397
|
-
_n = createSelector(
|
|
22398
|
+
_n = createSelector(Re, (a2) => {
|
|
22398
22399
|
var e;
|
|
22399
22400
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
|
22400
22401
|
});
|
|
22401
|
-
Nn = createSelector(
|
|
22402
|
+
Nn = createSelector(Re, (a2) => {
|
|
22402
22403
|
var e;
|
|
22403
22404
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
|
22404
22405
|
});
|
|
@@ -22941,7 +22942,7 @@ var init_useUnreadPollQuizPresent = __esm({
|
|
|
22941
22942
|
init_dist();
|
|
22942
22943
|
import_react_sdk44 = require("@100mslive/react-sdk");
|
|
22943
22944
|
useUnreadPollQuizPresent = () => {
|
|
22944
|
-
const localPeerID = (0, import_react_sdk44.useHMSStore)(
|
|
22945
|
+
const localPeerID = (0, import_react_sdk44.useHMSStore)(Pe);
|
|
22945
22946
|
const notification = (0, import_react_sdk44.useHMSNotifications)(import_react_sdk44.HMSNotificationTypes.POLL_STARTED);
|
|
22946
22947
|
const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react92.useState)(false);
|
|
22947
22948
|
(0, import_react92.useEffect)(() => {
|
|
@@ -23904,9 +23905,10 @@ var init_VBToggle = __esm({
|
|
|
23904
23905
|
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
|
23905
23906
|
const isVBOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.VB);
|
|
23906
23907
|
const isVideoOn = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectIsLocalVideoEnabled);
|
|
23908
|
+
const isVBEnabled = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectIsVBEnabled);
|
|
23907
23909
|
const isEffectsEnabled = (0, import_react_sdk48.useHMSStore)(import_react_sdk48.selectIsEffectsEnabled);
|
|
23908
23910
|
const loadingEffects = (0, import_react_sdk48.useHMSStore)((0, import_react_sdk48.selectAppData)(APP_DATA.loadingEffects));
|
|
23909
|
-
if (!isVideoOn || !isEffectsEnabled && isSafari) {
|
|
23911
|
+
if (!isVideoOn || !isEffectsEnabled && isSafari || !isVBEnabled) {
|
|
23910
23912
|
return null;
|
|
23911
23913
|
}
|
|
23912
23914
|
return /* @__PURE__ */ import_react103.default.createElement(Tooltip, { side: "top", disabled: isVBOpen, title: "Configure Virtual Background" }, /* @__PURE__ */ import_react103.default.createElement(IconButton_default, { active: !isVBOpen, onClick: toggleVB, "data-testid": "virtual_bg_btn" }, loadingEffects ? /* @__PURE__ */ import_react103.default.createElement(Loading, { size: 18 }) : /* @__PURE__ */ import_react103.default.createElement(import_react_icons43.VirtualBackgroundIcon, null)));
|
|
@@ -28015,7 +28017,7 @@ var init_Chat = __esm({
|
|
|
28015
28017
|
const listRef = (0, import_react153.useRef)(null);
|
|
28016
28018
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
|
28017
28019
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
|
28018
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
|
28020
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(Vm("chatState" /* CHAT_STATE */)) || {};
|
|
28019
28021
|
const isMobile = (0, import_react_use25.useMedia)(config.media.md);
|
|
28020
28022
|
const isMobileHLSStream = useMobileHLSStream();
|
|
28021
28023
|
const isLandscapeStream = useLandscapeHLSStream();
|
|
@@ -29297,11 +29299,11 @@ var init_VBPicker = __esm({
|
|
|
29297
29299
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
|
29298
29300
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
|
29299
29301
|
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(ym);
|
|
29300
|
-
const effectsKey = (0, import_react_sdk82.useHMSStore)(
|
|
29302
|
+
const effectsKey = (0, import_react_sdk82.useHMSStore)(Pm);
|
|
29301
29303
|
const isMobile = (0, import_react_use31.useMedia)(config.media.md);
|
|
29302
29304
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
|
29303
29305
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a7 = VBHandler) == null ? void 0 : _a7.getName()) || ""));
|
|
29304
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
|
29306
|
+
const background = (0, import_react_sdk82.useHMSStore)(Bm(APP_DATA.background));
|
|
29305
29307
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
|
29306
29308
|
const inPreview = roomState === import_react_sdk82.HMSRoomState.Preview;
|
|
29307
29309
|
const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
|
|
@@ -29309,20 +29311,21 @@ var init_VBPicker = __esm({
|
|
|
29309
29311
|
if (!(track == null ? void 0 : track.id)) {
|
|
29310
29312
|
return;
|
|
29311
29313
|
}
|
|
29312
|
-
|
|
29314
|
+
const vbObject = VBHandler.getVBObject();
|
|
29315
|
+
if (!isPluginAdded && !vbObject) {
|
|
29313
29316
|
setLoadingEffects(true);
|
|
29314
|
-
let
|
|
29315
|
-
if (!
|
|
29317
|
+
let vbObject2 = VBHandler.getVBObject();
|
|
29318
|
+
if (!vbObject2) {
|
|
29316
29319
|
VBHandler.initialisePlugin(isEffectsEnabled && effectsKey ? effectsKey : "", () => setLoadingEffects(false));
|
|
29317
|
-
|
|
29320
|
+
vbObject2 = VBHandler.getVBObject();
|
|
29318
29321
|
if (isEffectsEnabled && effectsKey) {
|
|
29319
|
-
hmsActions.addPluginsToVideoStream([
|
|
29322
|
+
hmsActions.addPluginsToVideoStream([vbObject2]);
|
|
29320
29323
|
} else {
|
|
29321
29324
|
setLoadingEffects(false);
|
|
29322
29325
|
if (!role) {
|
|
29323
29326
|
return;
|
|
29324
29327
|
}
|
|
29325
|
-
hmsActions.addPluginToVideoTrack(
|
|
29328
|
+
hmsActions.addPluginToVideoTrack(vbObject2, Math.floor(role.publishParams.video.frameRate / 2));
|
|
29326
29329
|
}
|
|
29327
29330
|
}
|
|
29328
29331
|
const handleDefaultBackground = () => __async(void 0, null, function* () {
|
|
@@ -29977,6 +29980,7 @@ var init_PreviewJoin = __esm({
|
|
|
29977
29980
|
};
|
|
29978
29981
|
PreviewControls = ({ hideSettings, vbEnabled }) => {
|
|
29979
29982
|
const isMobile = (0, import_react_use34.useMedia)(config.media.md);
|
|
29983
|
+
const isVBEnabledForUser = (0, import_react_sdk85.useHMSStore)(import_react_sdk85.selectIsVBEnabled);
|
|
29980
29984
|
return /* @__PURE__ */ import_react168.default.createElement(
|
|
29981
29985
|
Flex,
|
|
29982
29986
|
{
|
|
@@ -29986,7 +29990,7 @@ var init_PreviewJoin = __esm({
|
|
|
29986
29990
|
mt: "$6"
|
|
29987
29991
|
}
|
|
29988
29992
|
},
|
|
29989
|
-
/* @__PURE__ */ import_react168.default.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ import_react168.default.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ import_react168.default.createElement(VBToggle, null) : null),
|
|
29993
|
+
/* @__PURE__ */ import_react168.default.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ import_react168.default.createElement(AudioVideoToggle, null), vbEnabled && isVBEnabledForUser ? /* @__PURE__ */ import_react168.default.createElement(VBToggle, null) : null),
|
|
29990
29994
|
/* @__PURE__ */ import_react168.default.createElement(Flex, { align: "center", gap: "1" }, isMobile && /* @__PURE__ */ import_react168.default.createElement(NoiseCancellation, { iconOnly: true }), !hideSettings ? /* @__PURE__ */ import_react168.default.createElement(PreviewSettings, null) : null)
|
|
29991
29995
|
);
|
|
29992
29996
|
};
|
|
@@ -31222,9 +31226,9 @@ var init_ScreenshareLayout = __esm({
|
|
|
31222
31226
|
}
|
|
31223
31227
|
});
|
|
31224
31228
|
|
|
31225
|
-
// ../../../../../../../tmp/tmp-
|
|
31226
|
-
var
|
|
31227
|
-
"../../../../../../../tmp/tmp-
|
|
31229
|
+
// ../../../../../../../tmp/tmp-2875-aMKiTEehQtjT/1912658f1c71/index.css
|
|
31230
|
+
var init_f1c71 = __esm({
|
|
31231
|
+
"../../../../../../../tmp/tmp-2875-aMKiTEehQtjT/1912658f1c71/index.css"() {
|
|
31228
31232
|
}
|
|
31229
31233
|
});
|
|
31230
31234
|
|
|
@@ -31246,7 +31250,7 @@ var init_WhiteboardLayout = __esm({
|
|
|
31246
31250
|
init_ProminenceLayout();
|
|
31247
31251
|
init_useUISettings();
|
|
31248
31252
|
init_constants();
|
|
31249
|
-
|
|
31253
|
+
init_f1c71();
|
|
31250
31254
|
WhiteboardEmbed = () => {
|
|
31251
31255
|
const isMobile = (0, import_react_use43.useMedia)(config.media.md);
|
|
31252
31256
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
|
|
@@ -35022,9 +35026,9 @@ var init_ToastConfig = __esm({
|
|
|
35022
35026
|
}
|
|
35023
35027
|
},
|
|
35024
35028
|
RECONNECTED: {
|
|
35025
|
-
single: () => {
|
|
35029
|
+
single: (online) => {
|
|
35026
35030
|
return {
|
|
35027
|
-
title: `You are now connected`,
|
|
35031
|
+
title: `You are now ${online ? "online" : "connected"}`,
|
|
35028
35032
|
icon: /* @__PURE__ */ import_react223.default.createElement(import_react_icons106.ConnectivityIcon, null),
|
|
35029
35033
|
variant: "success",
|
|
35030
35034
|
duration: 3e3
|
|
@@ -35364,9 +35368,8 @@ var init_ReconnectNotifications = __esm({
|
|
|
35364
35368
|
"src/Prebuilt/components/Notifications/ReconnectNotifications.tsx"() {
|
|
35365
35369
|
"use strict";
|
|
35366
35370
|
init_define_process_env();
|
|
35367
|
-
import_react228 =
|
|
35371
|
+
import_react228 = require("react");
|
|
35368
35372
|
import_react_sdk117 = require("@100mslive/react-sdk");
|
|
35369
|
-
init_src();
|
|
35370
35373
|
init_ToastConfig();
|
|
35371
35374
|
init_ToastManager();
|
|
35372
35375
|
notificationTypes2 = [
|
|
@@ -35377,42 +35380,26 @@ var init_ReconnectNotifications = __esm({
|
|
|
35377
35380
|
notificationId = null;
|
|
35378
35381
|
ReconnectNotifications = () => {
|
|
35379
35382
|
const notification = (0, import_react_sdk117.useHMSNotifications)(notificationTypes2);
|
|
35380
|
-
const
|
|
35383
|
+
const prevErrorCode = (0, import_react228.useRef)(0);
|
|
35381
35384
|
(0, import_react228.useEffect)(() => {
|
|
35382
35385
|
var _a7, _b7;
|
|
35383
35386
|
if (!notification) {
|
|
35384
35387
|
return;
|
|
35385
35388
|
}
|
|
35386
|
-
if (notification.type === import_react_sdk117.HMSNotificationTypes.
|
|
35387
|
-
|
|
35388
|
-
|
|
35389
|
-
|
|
35390
|
-
|
|
35389
|
+
if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTED) {
|
|
35390
|
+
notificationId = ToastManager.replaceToast(
|
|
35391
|
+
notificationId,
|
|
35392
|
+
ToastConfig.RECONNECTED.single([4005, 4006].includes(prevErrorCode.current))
|
|
35393
|
+
);
|
|
35391
35394
|
} else if (notification.type === import_react_sdk117.HMSNotificationTypes.RECONNECTING) {
|
|
35395
|
+
prevErrorCode.current = ((_a7 = notification.data) == null ? void 0 : _a7.code) || 0;
|
|
35392
35396
|
notificationId = ToastManager.replaceToast(
|
|
35393
35397
|
notificationId,
|
|
35394
35398
|
ToastConfig.RECONNECTING.single((_b7 = notification.data) == null ? void 0 : _b7.message)
|
|
35395
35399
|
);
|
|
35396
35400
|
}
|
|
35397
35401
|
}, [notification]);
|
|
35398
|
-
|
|
35399
|
-
return null;
|
|
35400
|
-
return /* @__PURE__ */ import_react228.default.createElement(Dialog.Root, { open, modal: true }, /* @__PURE__ */ import_react228.default.createElement(Dialog.Portal, { container: document.getElementById("conferencing") }, /* @__PURE__ */ import_react228.default.createElement(Dialog.Overlay, null), /* @__PURE__ */ import_react228.default.createElement(
|
|
35401
|
-
Dialog.Content,
|
|
35402
|
-
{
|
|
35403
|
-
css: {
|
|
35404
|
-
width: "fit-content",
|
|
35405
|
-
maxWidth: "80%",
|
|
35406
|
-
p: "$4 $8",
|
|
35407
|
-
position: "relative",
|
|
35408
|
-
top: "unset",
|
|
35409
|
-
bottom: "$9",
|
|
35410
|
-
transform: "translate(-50%, -100%)",
|
|
35411
|
-
animation: "none !important"
|
|
35412
|
-
}
|
|
35413
|
-
},
|
|
35414
|
-
/* @__PURE__ */ import_react228.default.createElement(Flex, { align: "center" }, /* @__PURE__ */ import_react228.default.createElement("div", { style: { display: "inline", margin: "0.25rem" } }, /* @__PURE__ */ import_react228.default.createElement(Loading, { size: 16 })), /* @__PURE__ */ import_react228.default.createElement(Text, { css: { fontSize: "$space$8", color: "$on_surface_high" } }, "You lost your network connection. Trying to reconnect."))
|
|
35415
|
-
)));
|
|
35402
|
+
return null;
|
|
35416
35403
|
};
|
|
35417
35404
|
}
|
|
35418
35405
|
});
|