@100mslive/roomkit-react 0.3.16 → 0.3.17-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-H5N53WVF.css → HLSView-2B7JRVYF.css} +3 -3
- package/dist/{HLSView-H5N53WVF.css.map → HLSView-2B7JRVYF.css.map} +1 -1
- package/dist/{HLSView-LGGWBBBT.js → HLSView-WZULAPSG.js} +2 -2
- package/dist/{chunk-PUO554VI.js → chunk-5GS4O2BK.js} +131 -125
- package/dist/chunk-5GS4O2BK.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +128 -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 +18 -18
- package/dist/meta.esbuild.json +30 -30
- package/package.json +7 -7
- package/src/Prebuilt/components/AudioVideoToggle.tsx +7 -1
- package/src/Prebuilt/components/PIP/PIPChatOption.tsx +1 -1
- package/dist/chunk-PUO554VI.js.map +0 -7
- /package/dist/{HLSView-LGGWBBBT.js.map → HLSView-WZULAPSG.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_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.6", 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.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_6f397c96-a415-4c65-a8ac-4513df64afe7", 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.16", 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.9", 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: "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: "20240714.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.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:19745", 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.16", 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: "10042906559", 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: "580d445154522296643833e00082e4f2c9f0103b", 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: "b5ebb68b737163142b6a89349dca5c723a54398274fee53471c9ccccb560ad1b", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1721659029637-0.025369034475224428:/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--1721659029438-0.0827665903380077:/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--1721659003681-0.732833631475869:/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--1721659003500-0.1956061330608585:/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_2364e786-b6a9-4db1-abfd-bc04da0a846e", INVOCATION_ID: "3b114493058141d19f0ff26c0b2940ff", 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: "616", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", 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 125", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", 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.16", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.16", 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: "580d445154522296643833e00082e4f2c9f0103b", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_6f397c96-a415-4c65-a8ac-4513df64afe7", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6f397c96-a415-4c65-a8ac-4513df64afe7", 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_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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_6f397c96-a415-4c65-a8ac-4513df64afe7" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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.0", 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.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.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.9", 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: "602", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240714.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.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:19511", 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.0", 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: "10074627178", 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: "3fff3238f614b199bfd20704192c64d3a800c001", 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: "e6e3d5ff9e96f688209dbc239ab3a8fc1ed77170517797619066f352e17c41a5", 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--1721815582776-0.9950516136852274:/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--1721815582567-0.23279307288631967:/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--1721815557214-0.11232493176740999:/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--1721815557029-0.7901628014964999:/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_9b06aa99-5b30-4109-8e8f-e3485a18e0b5", INVOCATION_ID: "54d3824b0129437baa41caf17ce97b81", 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: "617", 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 171", 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.17-alpha.0", 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.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "3fff3238f614b199bfd20704192c64d3a800c001", 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_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22", 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_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/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_3fde6f1d-4a6f-47cc-8ee1-895cfa4d0b22" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -11589,7 +11589,13 @@ var init_AudioVideoToggle = __esm({
|
|
11589
11589
|
));
|
11590
11590
|
};
|
11591
11591
|
AudioVideoToggle = ({ hideOptions = false }) => {
|
11592
|
-
const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk14.useDevices)()
|
11592
|
+
const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk14.useDevices)((error) => {
|
11593
|
+
ToastManager.addToast({
|
11594
|
+
title: error.message,
|
11595
|
+
variant: "error",
|
11596
|
+
duration: 2e3
|
11597
|
+
});
|
11598
|
+
});
|
11593
11599
|
const { videoInput, audioInput, audioOutput } = allDevices;
|
11594
11600
|
const localPeer = (0, import_react_sdk14.useHMSStore)(import_react_sdk14.selectLocalPeer);
|
11595
11601
|
const { isLocalVideoEnabled, isLocalAudioEnabled, toggleAudio, toggleVideo } = (0, import_react_sdk14.useAVToggle)();
|
@@ -14211,7 +14217,7 @@ var init_PIPChatOption = __esm({
|
|
14211
14217
|
if (!showPIPChat) {
|
14212
14218
|
return /* @__PURE__ */ import_react68.default.createElement(import_react68.default.Fragment, null);
|
14213
14219
|
}
|
14214
|
-
return /* @__PURE__ */ import_react68.default.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "
|
14220
|
+
return /* @__PURE__ */ import_react68.default.createElement(Dropdown.Item, { onClick: openChat, "data-testid": "pip_chat_btn" }, /* @__PURE__ */ import_react68.default.createElement(import_react_icons24.ExternalLinkIcon, { height: 18, width: 18, style: { padding: "0 $2" } }), /* @__PURE__ */ import_react68.default.createElement(Text, { variant: "sm", css: { ml: "$4", color: "$on_surface_high" } }, "Pop out Chat"));
|
14215
14221
|
};
|
14216
14222
|
}
|
14217
14223
|
});
|
@@ -18135,8 +18141,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
18135
18141
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
18136
18142
|
if (navigator2.mediaDevices.getUserMedia) {
|
18137
18143
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
18138
|
-
navigator2.mediaDevices.getUserMedia = function(
|
18139
|
-
return shimConstraints_(
|
18144
|
+
navigator2.mediaDevices.getUserMedia = function(cs2) {
|
18145
|
+
return shimConstraints_(cs2, (c) => origGetUserMedia(c).then((stream) => {
|
18140
18146
|
if (c.audio && !stream.getAudioTracks().length || c.video && !stream.getVideoTracks().length) {
|
18141
18147
|
stream.getTracks().forEach((track) => {
|
18142
18148
|
track.stop();
|
@@ -21284,7 +21290,7 @@ function ii(a2) {
|
|
21284
21290
|
function ht(a2) {
|
21285
21291
|
return a2 && a2.source === "videoplaylist";
|
21286
21292
|
}
|
21287
|
-
function
|
21293
|
+
function ds(a2) {
|
21288
21294
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21289
21295
|
}
|
21290
21296
|
function je(a2, e) {
|
@@ -21308,9 +21314,9 @@ function oe(a2) {
|
|
21308
21314
|
function Tt(a2 = "prod", e) {
|
21309
21315
|
let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21310
21316
|
if (Ue)
|
21311
|
-
return
|
21317
|
+
return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21312
21318
|
let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
|
21313
|
-
return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`),
|
21319
|
+
return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21314
21320
|
}
|
21315
21321
|
function yr(a2) {
|
21316
21322
|
return a2.replace(/ /g, "_");
|
@@ -21325,7 +21331,7 @@ function ai(a2, e = 300) {
|
|
21325
21331
|
}, e);
|
21326
21332
|
};
|
21327
21333
|
}
|
21328
|
-
function
|
21334
|
+
function I(a2) {
|
21329
21335
|
return (e) => (t) => a2(t, e);
|
21330
21336
|
}
|
21331
21337
|
function Bm(a2) {
|
@@ -21334,7 +21340,7 @@ function Bm(a2) {
|
|
21334
21340
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
21335
21341
|
};
|
21336
21342
|
}
|
21337
|
-
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,
|
21343
|
+
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, as, os, ss, m, M, mr, Xa, Mr, Sr, Za, ns, gr, cs, us, to, d, ge, O, ps, Ue, ro, ic, hs, ms, gs, Ts, Qe, k, f, ao, S, vr, fs, le, vs, ys, ks, H, y, kr, Q, Pr, Er, Ar, Rs, As, Is, Hs, Cs, Ir, Ls, Hr, Ns, Cr, Os, Lr, Dr, Bs, Vs, kt, rt, B, Ho, Kh, qh, K, Ti, Qs, N, Fr, Co, _e, Qh, Lo, me, Do, te, ye, zh, Yh, ae, Y, wo, Ys, Xh, Zh, Wr, _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, Am, sa, $r, aa, oa, na, ca, da, la, ua, pa, At, b, Kr, It, ha, Uo, Bo, q, qr, Vo, Fo, Go, Wo, $o, X, 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, AS, IS, Zo, en, sn, Yr, Pe, j, tr, lr, Pn, En, bn, Rn, Ka, An, qa, is, be, In, Hn, Cn, Ln, Dn, wn, _n, Nn, On, xn, rs, Un, Bn, Vn, Fn, Gn, Wn;
|
21338
21344
|
var init_dist = __esm({
|
21339
21345
|
"../hms-video-store/dist/index.js"() {
|
21340
21346
|
"use strict";
|
@@ -21366,37 +21372,37 @@ var init_dist = __esm({
|
|
21366
21372
|
Ja = Object.defineProperties;
|
21367
21373
|
Qa = Object.getOwnPropertyDescriptors;
|
21368
21374
|
Zt = Object.getOwnPropertySymbols;
|
21369
|
-
|
21370
|
-
|
21371
|
-
|
21375
|
+
as = Object.prototype.hasOwnProperty;
|
21376
|
+
os = Object.prototype.propertyIsEnumerable;
|
21377
|
+
ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21372
21378
|
m = (a2, e) => {
|
21373
21379
|
for (var t in e || (e = {}))
|
21374
|
-
|
21380
|
+
as.call(e, t) && ss(a2, t, e[t]);
|
21375
21381
|
if (Zt)
|
21376
21382
|
for (var t of Zt(e))
|
21377
|
-
|
21383
|
+
os.call(e, t) && ss(a2, t, e[t]);
|
21378
21384
|
return a2;
|
21379
21385
|
};
|
21380
21386
|
M = (a2, e) => Ja(a2, Qa(e));
|
21381
21387
|
mr = (a2, e) => {
|
21382
21388
|
var t = {};
|
21383
21389
|
for (var i in a2)
|
21384
|
-
|
21390
|
+
as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21385
21391
|
if (a2 != null && Zt)
|
21386
21392
|
for (var i of Zt(a2))
|
21387
|
-
e.indexOf(i) < 0 &&
|
21393
|
+
e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
|
21388
21394
|
return t;
|
21389
21395
|
};
|
21390
21396
|
Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21391
21397
|
Mr = Xa((Fc, no) => {
|
21392
|
-
no.exports = { version: "0.12.
|
21398
|
+
no.exports = { version: "0.12.17-alpha.0", 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"] };
|
21393
21399
|
});
|
21394
21400
|
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 || {});
|
21395
21401
|
Za = ((e) => (e.CHAT = "chat", e))(Za || {});
|
21396
|
-
|
21402
|
+
ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
|
21397
21403
|
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 || {});
|
21398
|
-
|
21399
|
-
|
21404
|
+
cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
|
21405
|
+
us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
|
21400
21406
|
to = typeof window != "undefined" && typeof window.expect != "undefined";
|
21401
21407
|
d = class {
|
21402
21408
|
static v(e, ...t) {
|
@@ -21466,11 +21472,11 @@ var init_dist = __esm({
|
|
21466
21472
|
d.level = to ? 7 : 0;
|
21467
21473
|
ge = new import_ua_parser_js.UAParser();
|
21468
21474
|
O = typeof window != "undefined";
|
21469
|
-
Ue = typeof window == "undefined" && !((
|
21475
|
+
Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
|
21470
21476
|
ro = () => !Ue;
|
21471
21477
|
ic = ro();
|
21472
|
-
|
21473
|
-
|
21478
|
+
gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
|
21479
|
+
Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
|
21474
21480
|
Qe = so();
|
21475
21481
|
k = { 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 } };
|
21476
21482
|
f = class a extends Error {
|
@@ -21635,7 +21641,7 @@ var init_dist = __esm({
|
|
21635
21641
|
return this.valuesMap.size;
|
21636
21642
|
}
|
21637
21643
|
};
|
21638
|
-
|
21644
|
+
fs = () => {
|
21639
21645
|
try {
|
21640
21646
|
O && !localStorage && (window.localStorage = new vr());
|
21641
21647
|
} catch (a2) {
|
@@ -21649,7 +21655,7 @@ var init_dist = __esm({
|
|
21649
21655
|
}
|
21650
21656
|
getStorage() {
|
21651
21657
|
try {
|
21652
|
-
return O && !this.storage && (
|
21658
|
+
return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
|
21653
21659
|
} catch (e) {
|
21654
21660
|
return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21655
21661
|
}
|
@@ -21669,16 +21675,16 @@ var init_dist = __esm({
|
|
21669
21675
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21670
21676
|
}
|
21671
21677
|
};
|
21672
|
-
|
21678
|
+
vs = () => {
|
21673
21679
|
let a2, e = new le("hms-analytics-deviceId"), t = e.get();
|
21674
21680
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21675
21681
|
};
|
21676
|
-
|
21677
|
-
|
21682
|
+
ys = Mr().version;
|
21683
|
+
ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21678
21684
|
H = class {
|
21679
21685
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21680
21686
|
this.metadata = { peer: {}, userAgent: Tt() };
|
21681
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id =
|
21687
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = vs();
|
21682
21688
|
}
|
21683
21689
|
toSignalParams() {
|
21684
21690
|
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Qe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21818,15 +21824,15 @@ var init_dist = __esm({
|
|
21818
21824
|
Q = new kr();
|
21819
21825
|
Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
|
21820
21826
|
Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
|
21821
|
-
|
21827
|
+
Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
|
21822
21828
|
Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
|
21823
|
-
|
21824
|
-
|
21829
|
+
As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
|
21830
|
+
Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
|
21825
21831
|
Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
|
21826
21832
|
Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
|
21827
|
-
|
21833
|
+
Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
|
21828
21834
|
Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
|
21829
|
-
|
21835
|
+
Hr = class {
|
21830
21836
|
constructor() {
|
21831
21837
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
21832
21838
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21853,8 +21859,8 @@ var init_dist = __esm({
|
|
21853
21859
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21854
21860
|
}
|
21855
21861
|
};
|
21856
|
-
Ns = new
|
21857
|
-
|
21862
|
+
Ns = new Hr();
|
21863
|
+
Cr = class {
|
21858
21864
|
constructor() {
|
21859
21865
|
this.TAG = "[HMSResizeObserverWrapper]";
|
21860
21866
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21881,9 +21887,9 @@ var init_dist = __esm({
|
|
21881
21887
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
21882
21888
|
}
|
21883
21889
|
};
|
21884
|
-
Os = new
|
21885
|
-
|
21886
|
-
|
21890
|
+
Os = new Cr();
|
21891
|
+
Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
|
21892
|
+
Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
|
21887
21893
|
Bs = "https://event.100ms.live/v2/client/report";
|
21888
21894
|
Vs = "https://event-nonprod.100ms.live/v2/client/report";
|
21889
21895
|
kt = Math.pow(2, 31) - 1;
|
@@ -21898,7 +21904,7 @@ var init_dist = __esm({
|
|
21898
21904
|
Ti = (a2) => a2.messages.byID;
|
21899
21905
|
Qs = (a2) => a2.messages.allIDs;
|
21900
21906
|
N = (a2) => a2.tracks;
|
21901
|
-
|
21907
|
+
Fr = (a2) => a2.appData;
|
21902
21908
|
Co = (a2) => a2.speakers;
|
21903
21909
|
_e = createSelector([B], (a2) => a2 && a2.isConnected);
|
21904
21910
|
Qh = createSelector([_e, 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));
|
@@ -21930,7 +21936,7 @@ var init_dist = __esm({
|
|
21930
21936
|
}
|
21931
21937
|
return null;
|
21932
21938
|
});
|
21933
|
-
|
21939
|
+
Wr = createSelector(te, N, (a2, e) => {
|
21934
21940
|
let { video: t, audio: i } = xe(e, a2);
|
21935
21941
|
return !!(t || i);
|
21936
21942
|
});
|
@@ -21974,7 +21980,7 @@ var init_dist = __esm({
|
|
21974
21980
|
return a2[i.peerId];
|
21975
21981
|
}
|
21976
21982
|
});
|
21977
|
-
om = createSelector(Do, (a2) => a2.filter(
|
21983
|
+
om = createSelector(Do, (a2) => a2.filter(ds));
|
21978
21984
|
nm = createSelector(Qs, (a2) => a2.length);
|
21979
21985
|
cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
21980
21986
|
Rt = createSelector(Qs, Ti, (a2, e) => {
|
@@ -22017,21 +22023,21 @@ var init_dist = __esm({
|
|
22017
22023
|
ia = (a2) => a2.polls;
|
22018
22024
|
Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
|
22019
22025
|
xo = (a2) => a2.whiteboards;
|
22020
|
-
|
22026
|
+
Am = createSelector(xo, (a2) => Object.values(a2)[0]);
|
22021
22027
|
sa = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22022
|
-
|
22028
|
+
$r = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22023
22029
|
aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22024
22030
|
oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22025
22031
|
na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22026
22032
|
ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22027
22033
|
da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
|
22028
|
-
la = (a2 = "audio") => createSelector(sa(a2),
|
22034
|
+
la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
|
22029
22035
|
if (t.id)
|
22030
22036
|
return e[t.id];
|
22031
22037
|
});
|
22032
|
-
ua = { selection:
|
22033
|
-
pa = { selection:
|
22034
|
-
|
22038
|
+
ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
|
22039
|
+
pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
|
22040
|
+
At = "HMS-Store:";
|
22035
22041
|
b = class {
|
22036
22042
|
static v(e, ...t) {
|
22037
22043
|
this.log(0, e, ...t);
|
@@ -22061,23 +22067,23 @@ var init_dist = __esm({
|
|
22061
22067
|
if (!(this.level.valueOf() > e.valueOf()))
|
22062
22068
|
switch (e) {
|
22063
22069
|
case 0: {
|
22064
|
-
console.log(
|
22070
|
+
console.log(At, ...t);
|
22065
22071
|
break;
|
22066
22072
|
}
|
22067
22073
|
case 1: {
|
22068
|
-
console.debug(
|
22074
|
+
console.debug(At, ...t);
|
22069
22075
|
break;
|
22070
22076
|
}
|
22071
22077
|
case 2: {
|
22072
|
-
console.info(
|
22078
|
+
console.info(At, ...t);
|
22073
22079
|
break;
|
22074
22080
|
}
|
22075
22081
|
case 3: {
|
22076
|
-
console.warn(
|
22082
|
+
console.warn(At, ...t);
|
22077
22083
|
break;
|
22078
22084
|
}
|
22079
22085
|
case 6: {
|
22080
|
-
console.error(
|
22086
|
+
console.error(At, ...t);
|
22081
22087
|
break;
|
22082
22088
|
}
|
22083
22089
|
case 4: {
|
@@ -22098,127 +22104,127 @@ var init_dist = __esm({
|
|
22098
22104
|
}
|
22099
22105
|
};
|
22100
22106
|
b.level = 0;
|
22101
|
-
|
22102
|
-
|
22107
|
+
Kr = (a2, e) => e;
|
22108
|
+
It = (a2, e) => e;
|
22103
22109
|
ha = (a2, e) => e;
|
22104
22110
|
Uo = (a2, e) => e;
|
22105
22111
|
Bo = (a2, e) => e;
|
22106
|
-
q = createSelector([K,
|
22107
|
-
|
22108
|
-
Vo = createSelector([N,
|
22112
|
+
q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
|
22113
|
+
qr = createSelector([N, It], (a2, e) => e ? a2[e] : null);
|
22114
|
+
Vo = createSelector([N, It], (a2, e) => {
|
22109
22115
|
if (!e)
|
22110
22116
|
return null;
|
22111
22117
|
let t = a2[e];
|
22112
22118
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22113
22119
|
});
|
22114
|
-
Fo = createSelector([N,
|
22120
|
+
Fo = createSelector([N, It], (a2, e) => {
|
22115
22121
|
if (!e)
|
22116
22122
|
return null;
|
22117
22123
|
let t = a2[e];
|
22118
22124
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22119
22125
|
});
|
22120
|
-
Go = createSelector([N,
|
22126
|
+
Go = createSelector([N, It], (a2, e) => {
|
22121
22127
|
if (!e)
|
22122
22128
|
return null;
|
22123
22129
|
let t = a2[e];
|
22124
22130
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22125
22131
|
});
|
22126
|
-
Wo = createSelector([N,
|
22132
|
+
Wo = createSelector([N, It], (a2, e) => {
|
22127
22133
|
if (!e)
|
22128
22134
|
return null;
|
22129
22135
|
let t = a2[e];
|
22130
22136
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22131
22137
|
});
|
22132
22138
|
$o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
|
22133
|
-
X =
|
22134
|
-
Um =
|
22139
|
+
X = I(q);
|
22140
|
+
Um = I(createSelector([Fr, Uo], (a2, e) => {
|
22135
22141
|
if (a2)
|
22136
22142
|
return e ? a2[e] : a2;
|
22137
22143
|
}));
|
22138
|
-
Fm =
|
22139
|
-
Gm =
|
22140
|
-
fi =
|
22141
|
-
ma =
|
22142
|
-
Wm =
|
22143
|
-
$m =
|
22144
|
-
Km =
|
22145
|
-
Ko =
|
22144
|
+
Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
|
22145
|
+
Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
|
22146
|
+
fi = I(qr);
|
22147
|
+
ma = I(Vo);
|
22148
|
+
Wm = I(Fo);
|
22149
|
+
$m = I(Go);
|
22150
|
+
Km = I(Wo);
|
22151
|
+
Ko = I((a2, e) => {
|
22146
22152
|
let t = q(a2, e);
|
22147
22153
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22148
22154
|
return a2.tracks[t.videoTrack];
|
22149
22155
|
});
|
22150
|
-
qo =
|
22156
|
+
qo = I((a2, e) => {
|
22151
22157
|
let t = q(a2, e);
|
22152
22158
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22153
22159
|
return a2.tracks[t.audioTrack];
|
22154
22160
|
});
|
22155
|
-
jm =
|
22161
|
+
jm = I((a2, e) => {
|
22156
22162
|
let t = q(a2, e);
|
22157
22163
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22158
22164
|
});
|
22159
22165
|
Sa = (a2, e) => e ? a2.speakers[e] : null;
|
22160
|
-
Jm =
|
22166
|
+
Jm = I(createSelector(Sa, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22161
22167
|
jo = (a2, e) => {
|
22162
22168
|
let t = qo(e)(a2);
|
22163
22169
|
return Sa(a2, t == null ? void 0 : t.id);
|
22164
22170
|
};
|
22165
|
-
Qm =
|
22166
|
-
zm =
|
22171
|
+
Qm = I(createSelector(jo, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22172
|
+
zm = I((a2, e) => {
|
22167
22173
|
if (e)
|
22168
22174
|
return a2.connectionQualities[e];
|
22169
22175
|
});
|
22170
|
-
Ym =
|
22176
|
+
Ym = I((a2, e) => {
|
22171
22177
|
let t = q(a2, e);
|
22172
22178
|
if (t) {
|
22173
22179
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => ut(a2.tracks[r]));
|
22174
22180
|
return i ? a2.tracks[i] : void 0;
|
22175
22181
|
}
|
22176
22182
|
});
|
22177
|
-
Xm =
|
22183
|
+
Xm = I(createSelector(N, q, (a2, e) => {
|
22178
22184
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22179
22185
|
let r = a2[i];
|
22180
22186
|
return ht(r) && pt(r);
|
22181
22187
|
});
|
22182
22188
|
return t ? a2[t] : void 0;
|
22183
22189
|
}));
|
22184
|
-
Zm =
|
22190
|
+
Zm = I(createSelector(N, q, (a2, e) => {
|
22185
22191
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22186
22192
|
let r = a2[i];
|
22187
22193
|
return ht(r) && ut(r);
|
22188
22194
|
});
|
22189
22195
|
return t ? a2[t] : void 0;
|
22190
22196
|
}));
|
22191
|
-
eS =
|
22197
|
+
eS = I(createSelector(N, q, (a2, e) => {
|
22192
22198
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22193
22199
|
let r = a2[i];
|
22194
22200
|
return ii(r) && ut(r);
|
22195
22201
|
});
|
22196
22202
|
return t ? a2[t] : void 0;
|
22197
22203
|
}));
|
22198
|
-
ga =
|
22204
|
+
ga = I(createSelector(N, q, (a2, e) => xe(a2, e)));
|
22199
22205
|
Ta = (a2) => createSelector(ga(a2), (e) => e.audio);
|
22200
|
-
iS =
|
22206
|
+
iS = I((a2, e) => {
|
22201
22207
|
let t = q(a2, e);
|
22202
22208
|
return je(a2, t == null ? void 0 : t.audioTrack);
|
22203
22209
|
});
|
22204
|
-
rS =
|
22210
|
+
rS = I((a2, e) => {
|
22205
22211
|
let t = q(a2, e);
|
22206
22212
|
return je(a2, t == null ? void 0 : t.videoTrack);
|
22207
22213
|
});
|
22208
|
-
fa =
|
22214
|
+
fa = I((a2, e) => {
|
22209
22215
|
if (e && a2.tracks[e])
|
22210
22216
|
return a2.tracks[e].volume === 0;
|
22211
22217
|
});
|
22212
|
-
sS =
|
22218
|
+
sS = I((a2, e) => {
|
22213
22219
|
let t = q(a2, e);
|
22214
22220
|
return fa(t == null ? void 0 : t.audioTrack)(a2);
|
22215
22221
|
});
|
22216
|
-
aS =
|
22222
|
+
aS = I((a2, e) => {
|
22217
22223
|
let t = Ta(e)(a2);
|
22218
22224
|
return fa(t == null ? void 0 : t.id)(a2);
|
22219
22225
|
});
|
22220
|
-
va =
|
22221
|
-
let t =
|
22226
|
+
va = I((a2, e) => {
|
22227
|
+
let t = qr(a2, e);
|
22222
22228
|
if (t) {
|
22223
22229
|
if (t.type !== "audio") {
|
22224
22230
|
b.w("Please pass audio track here");
|
@@ -22227,16 +22233,16 @@ var init_dist = __esm({
|
|
22227
22233
|
return t.volume;
|
22228
22234
|
}
|
22229
22235
|
});
|
22230
|
-
oS =
|
22236
|
+
oS = I((a2, e) => {
|
22231
22237
|
let t = q(a2, e);
|
22232
22238
|
return va(t == null ? void 0 : t.audioTrack)(a2);
|
22233
22239
|
});
|
22234
|
-
nS =
|
22240
|
+
nS = I((a2, e) => {
|
22235
22241
|
let t = Ta(e)(a2);
|
22236
22242
|
return va(t == null ? void 0 : t.id)(a2);
|
22237
22243
|
});
|
22238
|
-
cS =
|
22239
|
-
let t =
|
22244
|
+
cS = I((a2, e) => {
|
22245
|
+
let t = qr(a2, e);
|
22240
22246
|
if (t) {
|
22241
22247
|
if (t.type !== "video") {
|
22242
22248
|
b.w("Please pass video track here");
|
@@ -22245,7 +22251,7 @@ var init_dist = __esm({
|
|
22245
22251
|
return t.layer;
|
22246
22252
|
}
|
22247
22253
|
});
|
22248
|
-
Ma = createSelector([Rt, ye,
|
22254
|
+
Ma = createSelector([Rt, ye, Kr], (a2, e, t) => {
|
22249
22255
|
if (t)
|
22250
22256
|
return a2.filter((i) => {
|
22251
22257
|
var r;
|
@@ -22264,21 +22270,21 @@ var init_dist = __esm({
|
|
22264
22270
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22265
22271
|
}));
|
22266
22272
|
Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22267
|
-
zo = createSelector([Ma,
|
22273
|
+
zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22268
22274
|
dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22269
|
-
lS =
|
22270
|
-
uS =
|
22271
|
-
pS =
|
22272
|
-
hS =
|
22273
|
-
ka =
|
22275
|
+
lS = I(Ma);
|
22276
|
+
uS = I(ya);
|
22277
|
+
pS = I(Qo);
|
22278
|
+
hS = I(zo);
|
22279
|
+
ka = I($o);
|
22274
22280
|
bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
|
22275
22281
|
var r;
|
22276
22282
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22277
22283
|
}));
|
22278
22284
|
Yo = (a2) => a2.roleChangeRequests[0] || null;
|
22279
22285
|
RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22280
|
-
|
22281
|
-
|
22286
|
+
AS = createSelector([at], (a2) => mt(a2));
|
22287
|
+
IS = createSelector([ea], (a2) => mt(a2));
|
22282
22288
|
Zo = createSelector([Y, N], (a2, e) => {
|
22283
22289
|
let t = null;
|
22284
22290
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
@@ -22288,7 +22294,7 @@ var init_dist = __esm({
|
|
22288
22294
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22289
22295
|
});
|
22290
22296
|
sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(sn || {});
|
22291
|
-
|
22297
|
+
Yr = class {
|
22292
22298
|
constructor() {
|
22293
22299
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22294
22300
|
this.failedEvents = new le("client-events");
|
@@ -22333,7 +22339,7 @@ var init_dist = __esm({
|
|
22333
22339
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22334
22340
|
}
|
22335
22341
|
};
|
22336
|
-
Pe = new
|
22342
|
+
Pe = new Yr();
|
22337
22343
|
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 || {});
|
22338
22344
|
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 || {});
|
22339
22345
|
lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
|
@@ -22342,11 +22348,11 @@ var init_dist = __esm({
|
|
22342
22348
|
bn = (a2) => a2.localPeer.videoTrack;
|
22343
22349
|
Rn = (a2, e) => e;
|
22344
22350
|
Ka = (a2, e) => e;
|
22345
|
-
|
22351
|
+
An = (a2) => a2.remoteTrackStats;
|
22346
22352
|
qa = (a2) => a2.peerStats;
|
22347
|
-
|
22353
|
+
is = (a2) => a2.localTrackStats;
|
22348
22354
|
be = createSelector([qa, Pn], (a2, e) => a2[e]);
|
22349
|
-
|
22355
|
+
In = createSelector(be, (a2) => {
|
22350
22356
|
var e;
|
22351
22357
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22352
22358
|
});
|
@@ -22379,20 +22385,20 @@ var init_dist = __esm({
|
|
22379
22385
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22380
22386
|
});
|
22381
22387
|
On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
|
22382
|
-
xn = createSelector([
|
22383
|
-
|
22384
|
-
Un =
|
22385
|
-
Bn =
|
22386
|
-
Vn = createSelector([
|
22388
|
+
xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
|
22389
|
+
rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
|
22390
|
+
Un = I(On);
|
22391
|
+
Bn = I(xn);
|
22392
|
+
Vn = createSelector([is, En], (a2, e) => {
|
22387
22393
|
var t;
|
22388
22394
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22389
22395
|
});
|
22390
|
-
Fn =
|
22391
|
-
Gn = createSelector([
|
22396
|
+
Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
|
22397
|
+
Gn = createSelector([is, bn], (a2, e) => {
|
22392
22398
|
var t;
|
22393
22399
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22394
22400
|
});
|
22395
|
-
Wn =
|
22401
|
+
Wn = I(createSelector(rs, (a2) => a2));
|
22396
22402
|
}
|
22397
22403
|
});
|
22398
22404
|
|
@@ -31218,9 +31224,9 @@ var init_ScreenshareLayout = __esm({
|
|
31218
31224
|
}
|
31219
31225
|
});
|
31220
31226
|
|
31221
|
-
// ../../../../../../../tmp/tmp-
|
31222
|
-
var
|
31223
|
-
"../../../../../../../tmp/tmp-
|
31227
|
+
// ../../../../../../../tmp/tmp-2803-f4oyYf4P6ytK/190e434c9e30/index.css
|
31228
|
+
var init_e434c9e30 = __esm({
|
31229
|
+
"../../../../../../../tmp/tmp-2803-f4oyYf4P6ytK/190e434c9e30/index.css"() {
|
31224
31230
|
}
|
31225
31231
|
});
|
31226
31232
|
|
@@ -31242,7 +31248,7 @@ var init_WhiteboardLayout = __esm({
|
|
31242
31248
|
init_ProminenceLayout();
|
31243
31249
|
init_useUISettings();
|
31244
31250
|
init_constants();
|
31245
|
-
|
31251
|
+
init_e434c9e30();
|
31246
31252
|
WhiteboardEmbed = () => {
|
31247
31253
|
const isMobile = (0, import_react_use42.useMedia)(config.media.md);
|
31248
31254
|
const { token, endpoint, zoomToContent } = (0, import_react_sdk94.useWhiteboard)(isMobile);
|
@@ -36601,7 +36607,7 @@ var require_react_is_production_min = __commonJS({
|
|
36601
36607
|
}
|
36602
36608
|
}
|
36603
36609
|
}
|
36604
|
-
function
|
36610
|
+
function A(a2) {
|
36605
36611
|
return z(a2) === m2;
|
36606
36612
|
}
|
36607
36613
|
exports.AsyncMode = l;
|
@@ -36618,9 +36624,9 @@ var require_react_is_production_min = __commonJS({
|
|
36618
36624
|
exports.StrictMode = f2;
|
36619
36625
|
exports.Suspense = p;
|
36620
36626
|
exports.isAsyncMode = function(a2) {
|
36621
|
-
return
|
36627
|
+
return A(a2) || z(a2) === l;
|
36622
36628
|
};
|
36623
|
-
exports.isConcurrentMode =
|
36629
|
+
exports.isConcurrentMode = A;
|
36624
36630
|
exports.isContextConsumer = function(a2) {
|
36625
36631
|
return z(a2) === k2;
|
36626
36632
|
};
|