@100mslive/roomkit-react 0.2.8-alpha.5 → 0.2.8-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-CVNJNDUQ.js → HLSView-MYKM5AXS.js} +239 -144
- package/dist/HLSView-MYKM5AXS.js.map +7 -0
- package/dist/Prebuilt/components/Chat/MwebChatOption.d.ts +1 -1
- package/dist/Prebuilt/components/HMSVideo/PlayPauseButton.d.ts +6 -0
- package/dist/Prebuilt/components/HMSVideo/SeekControls.d.ts +7 -0
- package/dist/Prebuilt/components/HMSVideo/VideoProgress.d.ts +3 -1
- package/dist/Prebuilt/components/HMSVideo/index.d.ts +10 -2
- package/dist/Prebuilt/layouts/SidePane.d.ts +1 -1
- package/dist/{chunk-25HZFDG5.js → chunk-DRBTAFKN.js} +356 -222
- package/dist/chunk-DRBTAFKN.js.map +7 -0
- package/dist/index.cjs.js +949 -712
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +217 -78
- package/dist/meta.esbuild.json +227 -87
- package/package.json +7 -6
- package/src/Prebuilt/components/AppData/useSidepane.js +34 -7
- package/src/Prebuilt/components/AuthToken.jsx +1 -1
- package/src/Prebuilt/components/Chat/ChatFooter.tsx +1 -1
- package/src/Prebuilt/components/Chat/MwebChatOption.tsx +1 -1
- package/src/Prebuilt/components/ConferenceScreen.tsx +11 -14
- package/src/Prebuilt/components/Footer/RoleOptions.tsx +32 -15
- package/src/Prebuilt/components/HMSVideo/HLSAutoplayBlockedPrompt.tsx +31 -1
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +7 -1
- package/src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx +27 -0
- package/src/Prebuilt/components/HMSVideo/SeekControls.tsx +22 -0
- package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +4 -3
- package/src/Prebuilt/components/HMSVideo/VolumeControl.tsx +1 -1
- package/src/Prebuilt/components/HMSVideo/index.ts +4 -2
- package/src/Prebuilt/components/Header/StreamActions.tsx +1 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +37 -31
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +6 -5
- package/src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx +2 -2
- package/src/Prebuilt/components/Notifications/PeerNotifications.tsx +1 -1
- package/src/Prebuilt/components/Polls/Voting/QuestionCard.jsx +19 -8
- package/src/Prebuilt/components/SidePaneTabs.tsx +27 -35
- package/src/Prebuilt/components/StatsForNerds.jsx +14 -6
- package/src/Prebuilt/components/Streaming/Common.jsx +1 -1
- package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +2 -2
- package/src/Prebuilt/components/Toast/ToastBatcher.js +8 -1
- package/src/Prebuilt/components/Toast/ToastConfig.jsx +17 -0
- package/src/Prebuilt/layouts/HLSView.jsx +109 -69
- package/src/Prebuilt/layouts/SidePane.tsx +125 -67
- package/src/Prebuilt/layouts/VideoStreamingSection.tsx +2 -1
- package/src/Prebuilt/provider/roomLayoutProvider/index.tsx +1 -1
- package/src/Sheet/Sheet.tsx +4 -0
- package/dist/HLSView-CVNJNDUQ.js.map +0 -7
- package/dist/chunk-25HZFDG5.js.map +0 -7
- package/src/Prebuilt/components/HMSVideo/PlayButton.jsx +0 -13
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
|
|
106
106
|
var define_process_env_default;
|
107
107
|
var init_define_process_env = __esm({
|
108
108
|
"<define:process.env>"() {
|
109
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a2d25392-e983-4dc8-a996-752ed975f55d", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.5", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a2d25392-e983-4dc8-a996-752ed975f55d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.5", 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.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "589", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240218.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.0/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.0-alpha.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:18567", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.5", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8076840402", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6ba28232c0bb10f4ba990777369c5c5b132203b1", 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: "43ae19c6eb82415162c072f1b28234ed0a19acf289ee178d82b17b9909ab16c5", 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--1709105780086-0.8969639265451106:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709105779889-0.36514107301713383:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709105757584-0.07376076545779098:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709105757404-0.9859750851125968:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e97489a3-4673-4f20-bf72-485a5bc17b12", INVOCATION_ID: "90956711b8e6428b938e419d68168b61", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", GOROOT_1_19_X64: "/opt/hostedtoolcache/go/1.19.13/x64", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "454", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 438", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.5", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.5", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "6ba28232c0bb10f4ba990777369c5c5b132203b1", 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_a2d25392-e983-4dc8-a996-752ed975f55d", 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_a2d25392-e983-4dc8-a996-752ed975f55d", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a2d25392-e983-4dc8-a996-752ed975f55d" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_185c518e-14fa-4a8e-bf76-523e6a97de22", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.21 npm/? node/v18.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.9.8-alpha.7", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_185c518e-14fa-4a8e-bf76-523e6a97de22", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.12.8-alpha.7", 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.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "593", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", 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.7/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240225.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.0/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.0-alpha.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:20547", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.2.8-alpha.7", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8081355382", 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: "48bc1b57113a4245b79055a80f4f1f5d3b8795aa", 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: "f6aeb3782206d0c2fca9cbf488ceb0a35487be7c645191f5cf0163a3eb01e719", 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--1709127809318-0.9086977243625547:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709127809126-0.6095770090936108:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709127787109-0.0814847064321016:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1709127786931-0.6972012578357483:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_2ee04255-38bc-4c51-b269-6782657e4adf", INVOCATION_ID: "18dfc21d5d544d1b8eb77f790b149ed9", 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: "456", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 141", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.9.8-alpha.7", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.2.8-alpha.7", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "48bc1b57113a4245b79055a80f4f1f5d3b8795aa", 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_185c518e-14fa-4a8e-bf76-523e6a97de22", 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_185c518e-14fa-4a8e-bf76-523e6a97de22", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.154/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_185c518e-14fa-4a8e-bf76-523e6a97de22" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -2928,8 +2928,8 @@ var require_lodash = __commonJS({
|
|
2928
2928
|
return { "start": start, "end": end };
|
2929
2929
|
}
|
2930
2930
|
function getWrapDetails(source) {
|
2931
|
-
var
|
2932
|
-
return
|
2931
|
+
var match8 = source.match(reWrapDetails);
|
2932
|
+
return match8 ? match8[1].split(reSplitDetails) : [];
|
2933
2933
|
}
|
2934
2934
|
function hasPath(object, path, hasFunc) {
|
2935
2935
|
path = castPath(path, object);
|
@@ -3197,8 +3197,8 @@ var require_lodash = __commonJS({
|
|
3197
3197
|
if (string.charCodeAt(0) === 46) {
|
3198
3198
|
result2.push("");
|
3199
3199
|
}
|
3200
|
-
string.replace(rePropName, function(
|
3201
|
-
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number ||
|
3200
|
+
string.replace(rePropName, function(match8, number, quote, subString) {
|
3201
|
+
result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match8);
|
3202
3202
|
});
|
3203
3203
|
return result2;
|
3204
3204
|
});
|
@@ -4764,7 +4764,7 @@ var require_lodash = __commonJS({
|
|
4764
4764
|
"g"
|
4765
4765
|
);
|
4766
4766
|
var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
|
4767
|
-
string.replace(reDelimiters, function(
|
4767
|
+
string.replace(reDelimiters, function(match8, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
|
4768
4768
|
interpolateValue || (interpolateValue = esTemplateValue);
|
4769
4769
|
source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
|
4770
4770
|
if (escapeValue) {
|
@@ -4778,8 +4778,8 @@ var require_lodash = __commonJS({
|
|
4778
4778
|
if (interpolateValue) {
|
4779
4779
|
source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
|
4780
4780
|
}
|
4781
|
-
index = offset +
|
4782
|
-
return
|
4781
|
+
index = offset + match8.length;
|
4782
|
+
return match8;
|
4783
4783
|
});
|
4784
4784
|
source += "';\n";
|
4785
4785
|
var variable = hasOwnProperty.call(options, "variable") && options.variable;
|
@@ -4867,13 +4867,13 @@ var require_lodash = __commonJS({
|
|
4867
4867
|
}
|
4868
4868
|
if (isRegExp(separator)) {
|
4869
4869
|
if (string.slice(end).search(separator)) {
|
4870
|
-
var
|
4870
|
+
var match8, substring = result2;
|
4871
4871
|
if (!separator.global) {
|
4872
4872
|
separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
|
4873
4873
|
}
|
4874
4874
|
separator.lastIndex = 0;
|
4875
|
-
while (
|
4876
|
-
var newEnd =
|
4875
|
+
while (match8 = separator.exec(substring)) {
|
4876
|
+
var newEnd = match8.index;
|
4877
4877
|
}
|
4878
4878
|
result2 = result2.slice(0, newEnd === undefined2 ? end : newEnd);
|
4879
4879
|
}
|
@@ -5628,7 +5628,7 @@ var require_ua_parser = __commonJS({
|
|
5628
5628
|
}
|
5629
5629
|
};
|
5630
5630
|
var rgxMapper = function(ua, arrays) {
|
5631
|
-
var i = 0, j, k2, p, q2, matches,
|
5631
|
+
var i = 0, j, k2, p, q2, matches, match8;
|
5632
5632
|
while (i < arrays.length && !matches) {
|
5633
5633
|
var regex = arrays[i], props = arrays[i + 1];
|
5634
5634
|
j = k2 = 0;
|
@@ -5639,26 +5639,26 @@ var require_ua_parser = __commonJS({
|
|
5639
5639
|
matches = regex[j++].exec(ua);
|
5640
5640
|
if (!!matches) {
|
5641
5641
|
for (p = 0; p < props.length; p++) {
|
5642
|
-
|
5642
|
+
match8 = matches[++k2];
|
5643
5643
|
q2 = props[p];
|
5644
5644
|
if (typeof q2 === OBJ_TYPE && q2.length > 0) {
|
5645
5645
|
if (q2.length === 2) {
|
5646
5646
|
if (typeof q2[1] == FUNC_TYPE) {
|
5647
|
-
this[q2[0]] = q2[1].call(this,
|
5647
|
+
this[q2[0]] = q2[1].call(this, match8);
|
5648
5648
|
} else {
|
5649
5649
|
this[q2[0]] = q2[1];
|
5650
5650
|
}
|
5651
5651
|
} else if (q2.length === 3) {
|
5652
5652
|
if (typeof q2[1] === FUNC_TYPE && !(q2[1].exec && q2[1].test)) {
|
5653
|
-
this[q2[0]] =
|
5653
|
+
this[q2[0]] = match8 ? q2[1].call(this, match8, q2[2]) : undefined2;
|
5654
5654
|
} else {
|
5655
|
-
this[q2[0]] =
|
5655
|
+
this[q2[0]] = match8 ? match8.replace(q2[1], q2[2]) : undefined2;
|
5656
5656
|
}
|
5657
5657
|
} else if (q2.length === 4) {
|
5658
|
-
this[q2[0]] =
|
5658
|
+
this[q2[0]] = match8 ? q2[3].call(this, match8.replace(q2[1], q2[2])) : undefined2;
|
5659
5659
|
}
|
5660
5660
|
} else {
|
5661
|
-
this[q2] =
|
5661
|
+
this[q2] = match8 ? match8 : undefined2;
|
5662
5662
|
}
|
5663
5663
|
}
|
5664
5664
|
}
|
@@ -8636,13 +8636,13 @@ var require_parser = __commonJS({
|
|
8636
8636
|
var toIntIfInt = function(v2) {
|
8637
8637
|
return String(Number(v2)) === v2 ? Number(v2) : v2;
|
8638
8638
|
};
|
8639
|
-
var attachProperties = function(
|
8639
|
+
var attachProperties = function(match8, location, names, rawName) {
|
8640
8640
|
if (rawName && !names) {
|
8641
|
-
location[rawName] = toIntIfInt(
|
8641
|
+
location[rawName] = toIntIfInt(match8[1]);
|
8642
8642
|
} else {
|
8643
8643
|
for (var i = 0; i < names.length; i += 1) {
|
8644
|
-
if (
|
8645
|
-
location[names[i]] = toIntIfInt(
|
8644
|
+
if (match8[i + 1] != null) {
|
8645
|
+
location[names[i]] = toIntIfInt(match8[i + 1]);
|
8646
8646
|
}
|
8647
8647
|
}
|
8648
8648
|
}
|
@@ -12560,6 +12560,7 @@ function useRoomLayoutHeader() {
|
|
12560
12560
|
// src/Prebuilt/components/AppData/useSidepane.js
|
12561
12561
|
init_define_process_env();
|
12562
12562
|
import { useCallback as useCallback6 } from "react";
|
12563
|
+
import { match, P } from "ts-pattern";
|
12563
12564
|
import { selectAppData as selectAppData2, useHMSActions as useHMSActions3, useHMSStore as useHMSStore5, useHMSVanillaStore as useHMSVanillaStore3 } from "@100mslive/react-sdk";
|
12564
12565
|
var useIsSidepaneTypeOpen = (sidepaneType) => {
|
12565
12566
|
if (!sidepaneType) {
|
@@ -12586,13 +12587,36 @@ var usePollViewToggle = () => {
|
|
12586
12587
|
const isOpen = useSidepaneState() === SIDE_PANE_OPTIONS.POLLS;
|
12587
12588
|
const togglePollView = useCallback6(
|
12588
12589
|
(id) => {
|
12589
|
-
|
12590
|
-
|
12591
|
-
|
12592
|
-
|
12593
|
-
|
12590
|
+
match({ id, isOpen, view }).with(
|
12591
|
+
{
|
12592
|
+
id: P.string
|
12593
|
+
},
|
12594
|
+
() => {
|
12595
|
+
setPollState({
|
12596
|
+
[POLL_STATE.pollInView]: id,
|
12597
|
+
[POLL_STATE.view]: POLL_VIEWS.VOTE
|
12598
|
+
});
|
12599
|
+
hmsActions.setAppData(APP_DATA.sidePane, SIDE_PANE_OPTIONS.POLLS);
|
12600
|
+
}
|
12601
|
+
).with(
|
12602
|
+
{
|
12603
|
+
isOpen: true,
|
12604
|
+
view: P.when((view2) => !!view2)
|
12605
|
+
},
|
12606
|
+
() => {
|
12607
|
+
setPollState({
|
12608
|
+
[POLL_STATE.pollInView]: void 0,
|
12609
|
+
[POLL_STATE.view]: null
|
12610
|
+
});
|
12611
|
+
hmsActions.setAppData(APP_DATA.sidePane, "");
|
12612
|
+
}
|
12613
|
+
).otherwise(() => {
|
12614
|
+
setPollState({
|
12615
|
+
[POLL_STATE.pollInView]: void 0,
|
12616
|
+
[POLL_STATE.view]: POLL_VIEWS.CREATE_POLL_QUIZ
|
12617
|
+
});
|
12618
|
+
hmsActions.setAppData(APP_DATA.sidePane, SIDE_PANE_OPTIONS.POLLS);
|
12594
12619
|
});
|
12595
|
-
hmsActions.setAppData(APP_DATA.sidePane, newView ? SIDE_PANE_OPTIONS.POLLS : "");
|
12596
12620
|
},
|
12597
12621
|
[hmsActions, view, setPollState, isOpen]
|
12598
12622
|
);
|
@@ -12816,7 +12840,7 @@ var AuthToken = React25.memo(({ authTokenByRoomCodeEndpoint, defaultAuthToken })
|
|
12816
12840
|
alignItems: "center"
|
12817
12841
|
}
|
12818
12842
|
},
|
12819
|
-
/* @__PURE__ */ React25.createElement("img", { src: transaction_error_default, height: 80, width: 80 }),
|
12843
|
+
/* @__PURE__ */ React25.createElement("img", { src: transaction_error_default, height: 80, width: 80, alt: "Token Error" }),
|
12820
12844
|
/* @__PURE__ */ React25.createElement(Text, { variant: "h4", css: { textAlign: "center", mb: "$4", mt: "$10" } }, error.title),
|
12821
12845
|
/* @__PURE__ */ React25.createElement(Text, { css: { c: "$on_surface_medium", textAlign: "center" } }, error.body)
|
12822
12846
|
));
|
@@ -13131,6 +13155,10 @@ var StyledContent6 = styled(DialogPrimitive2.Content, {
|
|
13131
13155
|
animation: `${sheetSlideOut} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
13132
13156
|
}
|
13133
13157
|
},
|
13158
|
+
"@ls": {
|
13159
|
+
maxWidth: "50%",
|
13160
|
+
margin: "0 auto"
|
13161
|
+
},
|
13134
13162
|
variants: {
|
13135
13163
|
side: {
|
13136
13164
|
top: {
|
@@ -14554,6 +14582,7 @@ import { useMedia as useMedia9 } from "react-use";
|
|
14554
14582
|
init_define_process_env();
|
14555
14583
|
import React52, { Fragment as Fragment7, useState as useState23 } from "react";
|
14556
14584
|
import { HMSHLSPlayer } from "@100mslive/hls-player";
|
14585
|
+
import { match as match3 } from "ts-pattern";
|
14557
14586
|
import { selectAppData as selectAppData3, selectLocalPeerID as selectLocalPeerID4, useHMSActions as useHMSActions15, useHMSStore as useHMSStore21 } from "@100mslive/react-sdk";
|
14558
14587
|
import { BrbIcon, CheckIcon as CheckIcon5, HamburgerMenuIcon, InfoIcon as InfoIcon2, PipIcon as PipIcon2, SettingsIcon as SettingsIcon3 } from "@100mslive/react-icons";
|
14559
14588
|
|
@@ -15533,6 +15562,7 @@ var StartRecording_default = StartRecording;
|
|
15533
15562
|
// src/Prebuilt/components/StatsForNerds.jsx
|
15534
15563
|
init_define_process_env();
|
15535
15564
|
import React47, { useEffect as useEffect14, useMemo as useMemo4, useRef as useRef11, useState as useState19 } from "react";
|
15565
|
+
import { match as match2, P as P2 } from "ts-pattern";
|
15536
15566
|
import {
|
15537
15567
|
selectHMSStats as selectHMSStats2,
|
15538
15568
|
selectLocalPeerID as selectLocalPeerID2,
|
@@ -15667,7 +15697,12 @@ var LocalPeerStats = () => {
|
|
15667
15697
|
};
|
15668
15698
|
var TrackStats = ({ trackID, layer, local }) => {
|
15669
15699
|
var _a8;
|
15670
|
-
const selector =
|
15700
|
+
const selector = match2({ trackID, layer, local }).with(
|
15701
|
+
{
|
15702
|
+
layer: P2.when((layer2) => !!layer2)
|
15703
|
+
},
|
15704
|
+
() => selectHMSStats2.localVideoTrackStatsByLayer(layer)(trackID)
|
15705
|
+
).with({ local: P2.when((local2) => !!local2) }, () => selectHMSStats2.localAudioTrackStatsByID(trackID)).otherwise(() => selectHMSStats2.trackStatsByID(trackID));
|
15671
15706
|
const stats = useHMSStatsStore2(selector);
|
15672
15707
|
if (!stats) {
|
15673
15708
|
return null;
|
@@ -15679,7 +15714,13 @@ var TrackStats = ({ trackID, layer, local }) => {
|
|
15679
15714
|
label: inbound ? "Bytes Received" : "Bytes Sent",
|
15680
15715
|
value: formatBytes2(inbound ? stats.bytesReceived : stats.bytesSent)
|
15681
15716
|
}
|
15682
|
-
), stats.kind === "video" && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Framerate", value: stats.framesPerSecond }), !inbound && /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Quality Limitation Reason", value: stats.qualityLimitationReason })), /* @__PURE__ */ React47.createElement(
|
15717
|
+
), stats.kind === "video" && /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Framerate", value: stats.framesPerSecond }), !inbound && /* @__PURE__ */ React47.createElement(StatsRow2, { label: "Quality Limitation Reason", value: stats.qualityLimitationReason })), /* @__PURE__ */ React47.createElement(
|
15718
|
+
StatsRow2,
|
15719
|
+
{
|
15720
|
+
label: "Round Trip Time",
|
15721
|
+
value: stats.roundTripTime ? `${(stats.roundTripTime * 1e3).toFixed(3)} ms` : "-"
|
15722
|
+
}
|
15723
|
+
));
|
15683
15724
|
};
|
15684
15725
|
var StatsRow2 = React47.memo(({ label, value }) => /* @__PURE__ */ React47.createElement(Box, { css: { bg: "$surface_bright", w: "calc(50% - $6)", p: "$8", r: "$3" } }, /* @__PURE__ */ React47.createElement(
|
15685
15726
|
Text,
|
@@ -16110,23 +16151,33 @@ var DesktopOptions = ({
|
|
16110
16151
|
/* @__PURE__ */ React52.createElement(FullScreenItem, null),
|
16111
16152
|
/* @__PURE__ */ React52.createElement(Dropdown.ItemSeparator, { css: { mx: 0 } }),
|
16112
16153
|
/* @__PURE__ */ React52.createElement(Dropdown.Item, { onClick: () => updateState(MODALS.DEVICE_SETTINGS, true), "data-testid": "device_settings_btn" }, /* @__PURE__ */ React52.createElement(SettingsIcon3, null), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Settings")),
|
16113
|
-
screenType
|
16154
|
+
match3({ screenType, isSupported: HMSHLSPlayer.isSupported() }).with({ screenType: "hls_live_streaming", isSupported: false }, () => null).with({ screenType: "hls_live_streaming", isSupported: true }, () => {
|
16155
|
+
return /* @__PURE__ */ React52.createElement(
|
16156
|
+
Dropdown.Item,
|
16157
|
+
{
|
16158
|
+
onClick: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats),
|
16159
|
+
"data-testid": "hls_stats"
|
16160
|
+
},
|
16161
|
+
/* @__PURE__ */ React52.createElement(
|
16162
|
+
Checkbox.Root,
|
16163
|
+
{
|
16164
|
+
css: { margin: "$2" },
|
16165
|
+
checked: enablHlsStats,
|
16166
|
+
onCheckedChange: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats)
|
16167
|
+
},
|
16168
|
+
/* @__PURE__ */ React52.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React52.createElement(CheckIcon5, { width: 16, height: 16 }))
|
16169
|
+
),
|
16170
|
+
/* @__PURE__ */ React52.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, `${isMacOS ? "\u2318" : "ctrl"} + ]`))
|
16171
|
+
);
|
16172
|
+
}).otherwise(() => /* @__PURE__ */ React52.createElement(
|
16114
16173
|
Dropdown.Item,
|
16115
16174
|
{
|
16116
|
-
onClick: () =>
|
16117
|
-
"data-testid": "
|
16175
|
+
onClick: () => updateState(MODALS.STATS_FOR_NERDS, true),
|
16176
|
+
"data-testid": "stats_for_nerds_btn"
|
16118
16177
|
},
|
16119
|
-
/* @__PURE__ */ React52.createElement(
|
16120
|
-
|
16121
|
-
|
16122
|
-
css: { margin: "$2" },
|
16123
|
-
checked: enablHlsStats,
|
16124
|
-
onCheckedChange: () => hmsActions.setAppData(APP_DATA.hlsStats, !enablHlsStats)
|
16125
|
-
},
|
16126
|
-
/* @__PURE__ */ React52.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React52.createElement(CheckIcon5, { width: 16, height: 16 }))
|
16127
|
-
),
|
16128
|
-
/* @__PURE__ */ React52.createElement(Flex, { justify: "between", css: { width: "100%" } }, /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Show HLS Stats"), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, `${isMacOS ? "\u2318" : "ctrl"} + ]`))
|
16129
|
-
) : null : /* @__PURE__ */ React52.createElement(Dropdown.Item, { onClick: () => updateState(MODALS.STATS_FOR_NERDS, true), "data-testid": "stats_for_nreds_btn" }, /* @__PURE__ */ React52.createElement(InfoIcon2, null), /* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Stats for Nerds"))
|
16178
|
+
/* @__PURE__ */ React52.createElement(InfoIcon2, null),
|
16179
|
+
/* @__PURE__ */ React52.createElement(Text, { variant: "sm", css: { ml: "$4" } }, "Stats for Nerds")
|
16180
|
+
))
|
16130
16181
|
)
|
16131
16182
|
), openModals.has(MODALS.BULK_ROLE_CHANGE) && /* @__PURE__ */ React52.createElement(BulkRoleChangeModal, { onOpenChange: (value) => updateState(MODALS.BULK_ROLE_CHANGE, value) }), openModals.has(MODALS.MUTE_ALL) && /* @__PURE__ */ React52.createElement(MuteAllModal, { onOpenChange: (value) => updateState(MODALS.MUTE_ALL, value) }), openModals.has(MODALS.START_RECORDING) && /* @__PURE__ */ React52.createElement(StartRecording_default, { open: true, onOpenChange: (value) => updateState(MODALS.START_RECORDING, value) }), openModals.has(MODALS.DEVICE_SETTINGS) && /* @__PURE__ */ React52.createElement(
|
16132
16183
|
SettingsModal_default,
|
@@ -16148,6 +16199,7 @@ var DesktopOptions = ({
|
|
16148
16199
|
init_define_process_env();
|
16149
16200
|
import React58, { useRef as useRef14, useState as useState28 } from "react";
|
16150
16201
|
import { useClickAway } from "react-use";
|
16202
|
+
import { match as match4 } from "ts-pattern";
|
16151
16203
|
import {
|
16152
16204
|
selectIsConnectedToRoom as selectIsConnectedToRoom7,
|
16153
16205
|
selectPeerCount as selectPeerCount3,
|
@@ -16274,8 +16326,8 @@ init_define_process_env();
|
|
16274
16326
|
var logDisabled_ = true;
|
16275
16327
|
var deprecationWarnings_ = true;
|
16276
16328
|
function extractVersion(uastring, expr, pos) {
|
16277
|
-
const
|
16278
|
-
return
|
16329
|
+
const match8 = uastring.match(expr);
|
16330
|
+
return match8 && match8.length >= pos && parseInt(match8[pos], 10);
|
16279
16331
|
}
|
16280
16332
|
function wrapPeerConnectionEvent(window2, eventNameToWrap, wrapper) {
|
16281
16333
|
if (!window2.RTCPeerConnection) {
|
@@ -16577,7 +16629,7 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
16577
16629
|
if (matches) {
|
16578
16630
|
return navigator2.mediaDevices.enumerateDevices().then((devices) => {
|
16579
16631
|
devices = devices.filter((d2) => d2.kind === "videoinput");
|
16580
|
-
let dev = devices.find((d2) => matches.some((
|
16632
|
+
let dev = devices.find((d2) => matches.some((match8) => d2.label.toLowerCase().includes(match8)));
|
16581
16633
|
if (!dev && devices.length && matches.includes("back")) {
|
16582
16634
|
dev = devices[devices.length - 1];
|
16583
16635
|
}
|
@@ -18004,11 +18056,11 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18004
18056
|
});
|
18005
18057
|
};
|
18006
18058
|
const getRemoteFirefoxVersion = function(description) {
|
18007
|
-
const
|
18008
|
-
if (
|
18059
|
+
const match8 = description.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);
|
18060
|
+
if (match8 === null || match8.length < 2) {
|
18009
18061
|
return -1;
|
18010
18062
|
}
|
18011
|
-
const version = parseInt(
|
18063
|
+
const version = parseInt(match8[1], 10);
|
18012
18064
|
return version !== version ? -1 : version;
|
18013
18065
|
};
|
18014
18066
|
const getCanSendMaxMessageSize = function(remoteIsFirefox) {
|
@@ -18033,12 +18085,12 @@ function shimMaxMessageSize(window2, browserDetails) {
|
|
18033
18085
|
if (browserDetails.browser === "firefox" && browserDetails.version === 57) {
|
18034
18086
|
maxMessageSize = 65535;
|
18035
18087
|
}
|
18036
|
-
const
|
18088
|
+
const match8 = import_sdp.default.matchPrefix(
|
18037
18089
|
description.sdp,
|
18038
18090
|
"a=max-message-size:"
|
18039
18091
|
);
|
18040
|
-
if (
|
18041
|
-
maxMessageSize = parseInt(
|
18092
|
+
if (match8.length > 0) {
|
18093
|
+
maxMessageSize = parseInt(match8[0].substring(19), 10);
|
18042
18094
|
} else if (browserDetails.browser === "firefox" && remoteIsFirefox !== -1) {
|
18043
18095
|
maxMessageSize = 2147483637;
|
18044
18096
|
}
|
@@ -18396,7 +18448,7 @@ var Yi = (a2, e) => {
|
|
18396
18448
|
};
|
18397
18449
|
var ba = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18398
18450
|
var dr = ba((Xc, $a) => {
|
18399
|
-
$a.exports = { version: "0.11.8-alpha.
|
18451
|
+
$a.exports = { version: "0.11.8-alpha.7", 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"] };
|
18400
18452
|
});
|
18401
18453
|
var Xi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Xi || {});
|
18402
18454
|
var Aa = ((e) => (e.CHAT = "chat", e))(Aa || {});
|
@@ -19659,7 +19711,7 @@ var LiveStatus = () => {
|
|
19659
19711
|
setLiveTime(Date.now() - timeStamp.getTime());
|
19660
19712
|
}
|
19661
19713
|
}, 1e3);
|
19662
|
-
}, [hlsState == null ? void 0 : hlsState.running, hlsState == null ? void 0 : hlsState.variants]);
|
19714
|
+
}, [hlsState == null ? void 0 : hlsState.running, hlsState == null ? void 0 : hlsState.variants, screenType]);
|
19663
19715
|
useEffect16(() => {
|
19664
19716
|
if (hlsState == null ? void 0 : hlsState.running) {
|
19665
19717
|
startTimer();
|
@@ -20287,7 +20339,7 @@ var MwebOptions = ({
|
|
20287
20339
|
})
|
20288
20340
|
},
|
20289
20341
|
isRecordingLoading ? /* @__PURE__ */ React58.createElement(Loading, null) : /* @__PURE__ */ React58.createElement(RecordIcon2, null),
|
20290
|
-
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, isBrowserRecordingOn
|
20342
|
+
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, match4({ isBrowserRecordingOn, isRecordingLoading }).with({ isBrowserRecordingOn: true, isRecordingLoading: false }, () => "Recording On").with({ isRecordingLoading: true }, () => "Starting Recording").with({ isRecordingLoading: false }, () => "Start Recording").otherwise(() => null))
|
20291
20343
|
) : null,
|
20292
20344
|
title || description ? /* @__PURE__ */ React58.createElement(
|
20293
20345
|
ActionTile.Root,
|
@@ -21099,25 +21151,29 @@ import {
|
|
21099
21151
|
VideoOnIcon as VideoOnIcon3
|
21100
21152
|
} from "@100mslive/react-icons";
|
21101
21153
|
var dropdownItemCSS = { backgroundColor: "$surface_default", gap: "$4", p: "$8" };
|
21102
|
-
var optionTextCSS = {
|
21154
|
+
var optionTextCSS = {
|
21155
|
+
fontWeight: "$semiBold",
|
21156
|
+
color: "$on_surface_high",
|
21157
|
+
textTransform: "none",
|
21158
|
+
whiteSpace: "nowrap"
|
21159
|
+
};
|
21103
21160
|
var MuteUnmuteOption = ({ roleName, peerList }) => {
|
21104
|
-
var _a8, _b7;
|
21105
21161
|
const vanillaStore = useHMSVanillaStore8();
|
21106
21162
|
const store = vanillaStore.getState();
|
21107
21163
|
const hmsActions = useHMSActions23();
|
21108
21164
|
const permissions = useHMSStore35(selectPermissions10);
|
21109
21165
|
const role = useHMSStore35(selectRoleByRoleName(roleName));
|
21110
|
-
let
|
21111
|
-
let
|
21166
|
+
let isVideoOnForSomePeers = false;
|
21167
|
+
let isAudioOnForSomePeers = false;
|
21112
21168
|
peerList.forEach((peer) => {
|
21113
|
-
var
|
21169
|
+
var _a8, _b7;
|
21114
21170
|
if (peer.isLocal) {
|
21115
21171
|
return;
|
21116
21172
|
}
|
21117
|
-
const isAudioOn = !!peer.audioTrack && ((
|
21118
|
-
const isVideoOn = !!peer.videoTrack && ((
|
21119
|
-
|
21120
|
-
|
21173
|
+
const isAudioOn = !!peer.audioTrack && ((_a8 = store.tracks[peer.audioTrack]) == null ? void 0 : _a8.enabled);
|
21174
|
+
const isVideoOn = !!peer.videoTrack && ((_b7 = store.tracks[peer.videoTrack]) == null ? void 0 : _b7.enabled);
|
21175
|
+
isAudioOnForSomePeers = isAudioOnForSomePeers || isAudioOn;
|
21176
|
+
isVideoOnForSomePeers = isVideoOnForSomePeers || isVideoOn;
|
21121
21177
|
});
|
21122
21178
|
const setTrackEnabled = (type, enabled = false) => __async(void 0, null, function* () {
|
21123
21179
|
try {
|
@@ -21126,7 +21182,10 @@ var MuteUnmuteOption = ({ roleName, peerList }) => {
|
|
21126
21182
|
console.error(e);
|
21127
21183
|
}
|
21128
21184
|
});
|
21129
|
-
|
21185
|
+
if (!role) {
|
21186
|
+
return null;
|
21187
|
+
}
|
21188
|
+
return /* @__PURE__ */ React72.createElement(React72.Fragment, null, role.publishParams.allowed.includes("audio") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", false) }, /* @__PURE__ */ React72.createElement(MicOffIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Audio for All")) : null, !isAudioOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("audio", true) }, /* @__PURE__ */ React72.createElement(MicOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Audio for All")) : null), role.publishParams.allowed.includes("video") && /* @__PURE__ */ React72.createElement(React72.Fragment, null, isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.mute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", false) }, /* @__PURE__ */ React72.createElement(VideoOffIcon2, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Mute Video for All")) : null, !isVideoOnForSomePeers && (permissions == null ? void 0 : permissions.unmute) ? /* @__PURE__ */ React72.createElement(Dropdown.Item, { css: dropdownItemCSS, onClick: () => setTrackEnabled("video", true) }, /* @__PURE__ */ React72.createElement(VideoOnIcon3, null), /* @__PURE__ */ React72.createElement(Text, { variant: "sm", css: optionTextCSS }, "Request to Unmute Video for All")) : null));
|
21130
21189
|
};
|
21131
21190
|
var RoleOptions = ({ roleName, peerList }) => {
|
21132
21191
|
const [openOptions, setOpenOptions] = useState31(false);
|
@@ -21136,8 +21195,10 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
21136
21195
|
const { on_stage_role, off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
|
21137
21196
|
const canMuteOrUnmute = (permissions == null ? void 0 : permissions.mute) || (permissions == null ? void 0 : permissions.unmute);
|
21138
21197
|
const canRemoveRoleFromStage = (permissions == null ? void 0 : permissions.changeRole) && roleName === on_stage_role;
|
21198
|
+
const role = useHMSStore35(selectRoleByRoleName(roleName));
|
21139
21199
|
const canRemoveRoleFromRoom = (permissions == null ? void 0 : permissions.removeOthers) && (on_stage_role === roleName || (off_stage_roles == null ? void 0 : off_stage_roles.includes(roleName)));
|
21140
|
-
if (!(canMuteOrUnmute || canRemoveRoleFromStage || canRemoveRoleFromRoom) || peerList.length === 0
|
21200
|
+
if (!(canMuteOrUnmute || canRemoveRoleFromStage || canRemoveRoleFromRoom) || peerList.length === 0 || // if only local peer is present no need to show any options
|
21201
|
+
peerList.length === 1 && peerList[0].isLocal || !role) {
|
21141
21202
|
return null;
|
21142
21203
|
}
|
21143
21204
|
const removeAllFromStage = () => {
|
@@ -21182,7 +21243,7 @@ var RoleOptions = ({ roleName, peerList }) => {
|
|
21182
21243
|
Dropdown.Content,
|
21183
21244
|
{
|
21184
21245
|
onClick: (e) => e.stopPropagation(),
|
21185
|
-
css: { w: "max-content",
|
21246
|
+
css: { w: "max-content", bg: "$surface_default", py: 0 },
|
21186
21247
|
align: "end"
|
21187
21248
|
},
|
21188
21249
|
canRemoveRoleFromStage && /* @__PURE__ */ React72.createElement(
|
@@ -21849,6 +21910,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
|
|
21849
21910
|
init_define_process_env();
|
21850
21911
|
import React126, { useEffect as useEffect32 } from "react";
|
21851
21912
|
import { useMedia as useMedia22 } from "react-use";
|
21913
|
+
import { match as match7 } from "ts-pattern";
|
21852
21914
|
import { selectAppData as selectAppData6, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore66 } from "@100mslive/react-sdk";
|
21853
21915
|
|
21854
21916
|
// src/Prebuilt/components/Polls/Polls.tsx
|
@@ -23022,6 +23084,7 @@ import React97 from "react";
|
|
23022
23084
|
// src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
|
23023
23085
|
init_define_process_env();
|
23024
23086
|
import React96, { useCallback as useCallback21, useMemo as useMemo7, useRef as useRef17, useState as useState39 } from "react";
|
23087
|
+
import { match as match5 } from "ts-pattern";
|
23025
23088
|
import { selectLocalPeer, selectLocalPeerRoleName as selectLocalPeerRoleName2, useHMSActions as useHMSActions29, useHMSStore as useHMSStore45 } from "@100mslive/react-sdk";
|
23026
23089
|
import { CheckCircleIcon as CheckCircleIcon5, ChevronDownIcon as ChevronDownIcon5, CrossCircleIcon } from "@100mslive/react-icons";
|
23027
23090
|
var QuestionCard2 = ({
|
@@ -23098,15 +23161,22 @@ var QuestionCard2 = ({
|
|
23098
23161
|
{
|
23099
23162
|
variant: "caption",
|
23100
23163
|
css: {
|
23101
|
-
color: respondedToQuiz
|
23164
|
+
color: match5({ respondedToQuiz, isLive, isCorrectAnswer }).when(
|
23165
|
+
({ respondedToQuiz: respondedToQuiz2, isLive: isLive2 }) => respondedToQuiz2 && !isLive2,
|
23166
|
+
({ isCorrectAnswer: isCorrectAnswer2 }) => isCorrectAnswer2 ? "$alert_success" : "$alert_error_default"
|
23167
|
+
).otherwise(() => "$on_surface_low"),
|
23102
23168
|
fontWeight: "$semiBold",
|
23103
23169
|
display: "flex",
|
23104
23170
|
alignItems: "center",
|
23105
23171
|
gap: "$4"
|
23106
23172
|
}
|
23107
23173
|
},
|
23108
|
-
|
23109
|
-
|
23174
|
+
match5({ respondedToQuiz, pollEnded, isCorrectAnswer }).when(
|
23175
|
+
({ respondedToQuiz: respondedToQuiz2, pollEnded: pollEnded2 }) => respondedToQuiz2 && pollEnded2,
|
23176
|
+
({ isCorrectAnswer: isCorrectAnswer2 }) => {
|
23177
|
+
return isCorrectAnswer2 ? /* @__PURE__ */ React96.createElement(CheckCircleIcon5, { height: 16, width: 16 }) : /* @__PURE__ */ React96.createElement(CrossCircleIcon, { height: 16, width: 16 });
|
23178
|
+
}
|
23179
|
+
).otherwise(() => null),
|
23110
23180
|
"QUESTION ",
|
23111
23181
|
index,
|
23112
23182
|
" OF ",
|
@@ -23400,6 +23470,7 @@ var RoomDetailsPane = () => {
|
|
23400
23470
|
init_define_process_env();
|
23401
23471
|
import React118, { useEffect as useEffect30, useState as useState50 } from "react";
|
23402
23472
|
import { useMedia as useMedia19 } from "react-use";
|
23473
|
+
import { match as match6 } from "ts-pattern";
|
23403
23474
|
import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
|
23404
23475
|
import { CrossIcon as CrossIcon19 } from "@100mslive/react-icons";
|
23405
23476
|
|
@@ -23785,13 +23856,13 @@ var usePinnedBy = (messageId) => {
|
|
23785
23856
|
const pinnedMessages = useHMSStore50(selectSessionStore4("pinnedMessages" /* PINNED_MESSAGES */));
|
23786
23857
|
const [pinnedBy, setPinnedBy] = useState43("");
|
23787
23858
|
useEffect24(() => {
|
23788
|
-
let
|
23859
|
+
let match8 = "";
|
23789
23860
|
pinnedMessages == null ? void 0 : pinnedMessages.forEach((pinnedMessage) => {
|
23790
23861
|
if (pinnedMessage.id === messageId) {
|
23791
|
-
|
23862
|
+
match8 = pinnedMessage.pinnedBy;
|
23792
23863
|
}
|
23793
23864
|
});
|
23794
|
-
setPinnedBy(
|
23865
|
+
setPinnedBy(match8);
|
23795
23866
|
}, [messageId, pinnedMessages]);
|
23796
23867
|
return pinnedBy;
|
23797
23868
|
};
|
@@ -24603,7 +24674,7 @@ var ChatFooter = ({ onSend, children }) => {
|
|
24603
24674
|
if (!selectedPeer.id && !selectedRole && !["Everyone", ""].includes(defaultSelection)) {
|
24604
24675
|
setRoleSelector(defaultSelection);
|
24605
24676
|
} else {
|
24606
|
-
if (!(isMobile || isLandscapeHLSStream)
|
24677
|
+
if (!(isMobile || isLandscapeHLSStream) && !((_a9 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a9.disable_autofocus)) {
|
24607
24678
|
(_b8 = inputRef.current) == null ? void 0 : _b8.focus();
|
24608
24679
|
}
|
24609
24680
|
}
|
@@ -25223,12 +25294,15 @@ var ChatSettings = () => {
|
|
25223
25294
|
|
25224
25295
|
// src/Prebuilt/components/SidePaneTabs.tsx
|
25225
25296
|
var tabTriggerCSS = {
|
25226
|
-
color: "$
|
25297
|
+
color: "$on_surface_low",
|
25227
25298
|
p: "$4",
|
25228
25299
|
fontWeight: "$semiBold",
|
25229
25300
|
fontSize: "$sm",
|
25230
25301
|
w: "100%",
|
25231
|
-
justifyContent: "center"
|
25302
|
+
justifyContent: "center",
|
25303
|
+
'&[data-state="active"]': {
|
25304
|
+
color: "$on_surface_high"
|
25305
|
+
}
|
25232
25306
|
};
|
25233
25307
|
var ParticipantCount2 = ({ count }) => {
|
25234
25308
|
return count < 1e3 ? /* @__PURE__ */ React118.createElement("span", null, "(", count, ")") : /* @__PURE__ */ React118.createElement(Tooltip, { title: count }, /* @__PURE__ */ React118.createElement("span", null, "(", getFormattedCount(count), ")"));
|
@@ -25252,13 +25326,13 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25252
25326
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
25253
25327
|
const showChatSettings = showChat && isChatOpen && (!isMobile || !isOverlayChat);
|
25254
25328
|
useEffect30(() => {
|
25255
|
-
|
25329
|
+
match6({ activeTab, showChat, showParticipants }).with({ activeTab: SIDE_PANE_OPTIONS.CHAT, showChat: false, showParticipants: true }, () => {
|
25256
25330
|
setActiveTab(SIDE_PANE_OPTIONS.PARTICIPANTS);
|
25257
|
-
}
|
25331
|
+
}).with({ activeTab: SIDE_PANE_OPTIONS.PARTICIPANTS, showChat: true, showParticipants: false }, () => {
|
25258
25332
|
setActiveTab(SIDE_PANE_OPTIONS.CHAT);
|
25259
|
-
}
|
25333
|
+
}).with({ showChat: false, showParticipants: false }, () => {
|
25260
25334
|
resetSidePane();
|
25261
|
-
}
|
25335
|
+
});
|
25262
25336
|
}, [showChat, activeTab, showParticipants, resetSidePane]);
|
25263
25337
|
useEffect30(() => {
|
25264
25338
|
setActiveTab(active);
|
@@ -25290,74 +25364,29 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25290
25364
|
transition: "margin 0.3s ease-in-out"
|
25291
25365
|
}
|
25292
25366
|
},
|
25293
|
-
isOverlayChat
|
25294
|
-
|
25295
|
-
|
25296
|
-
variant: "sm",
|
25297
|
-
css: {
|
25298
|
-
fontWeight: "$semiBold",
|
25299
|
-
p: "$4",
|
25300
|
-
c: "$on_surface_high",
|
25301
|
-
pr: "$12",
|
25302
|
-
"&:empty": { display: "none" }
|
25303
|
-
}
|
25304
|
-
},
|
25305
|
-
activeTab === SIDE_PANE_OPTIONS.CHAT ? screenType !== "hls_live_streaming" && chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))
|
25306
|
-
), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25307
|
-
IconButton,
|
25308
|
-
{
|
25309
|
-
css: {
|
25310
|
-
my: "$1",
|
25311
|
-
color: "$on_surface_medium",
|
25312
|
-
"&:hover": { color: "$on_surface_high" },
|
25313
|
-
"&:empty": { display: "none" }
|
25314
|
-
},
|
25315
|
-
onClick: (e) => {
|
25316
|
-
e.stopPropagation();
|
25317
|
-
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
25318
|
-
toggleChat();
|
25319
|
-
} else {
|
25320
|
-
toggleParticipants();
|
25321
|
-
}
|
25322
|
-
},
|
25323
|
-
"data-testid": "close_chat"
|
25324
|
-
},
|
25325
|
-
screenType === "hls_live_streaming" && isChatOpen ? null : /* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25326
|
-
))), activeTab === SIDE_PANE_OPTIONS.CHAT ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })) : /* @__PURE__ */ React118.createElement(
|
25327
|
-
Tabs.Root,
|
25328
|
-
{
|
25329
|
-
value: activeTab,
|
25330
|
-
onValueChange: setActiveTab,
|
25331
|
-
css: {
|
25332
|
-
flexDirection: "column",
|
25333
|
-
size: "100%"
|
25334
|
-
}
|
25335
|
-
},
|
25336
|
-
/* @__PURE__ */ React118.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React118.createElement(Tabs.List, { css: { flexGrow: 1, borderRadius: "$2", bg: "$surface_default" } }, /* @__PURE__ */ React118.createElement(
|
25337
|
-
Tabs.Trigger,
|
25338
|
-
{
|
25339
|
-
value: SIDE_PANE_OPTIONS.CHAT,
|
25340
|
-
onClick: toggleChat,
|
25341
|
-
css: __spreadProps(__spreadValues({}, tabTriggerCSS), {
|
25342
|
-
color: activeTab !== SIDE_PANE_OPTIONS.CHAT ? "$on_surface_low" : "$on_surface_high"
|
25343
|
-
})
|
25344
|
-
},
|
25345
|
-
chat_title
|
25346
|
-
), /* @__PURE__ */ React118.createElement(
|
25347
|
-
Tabs.Trigger,
|
25367
|
+
match6({ isOverlayChat, isChatOpen, showChat, hideTabs }).with({ isOverlayChat: true, isChatOpen: true, showChat: true }, () => /* @__PURE__ */ React118.createElement(Chat, null)).with({ hideTabs: true }, () => {
|
25368
|
+
return /* @__PURE__ */ React118.createElement(React118.Fragment, null, /* @__PURE__ */ React118.createElement(Flex, { justify: "between", css: { w: "100%", "&:empty": { display: "none" } } }, /* @__PURE__ */ React118.createElement(
|
25369
|
+
Text,
|
25348
25370
|
{
|
25349
|
-
|
25350
|
-
|
25351
|
-
|
25352
|
-
|
25353
|
-
|
25371
|
+
variant: "sm",
|
25372
|
+
css: {
|
25373
|
+
fontWeight: "$semiBold",
|
25374
|
+
p: "$4",
|
25375
|
+
c: "$on_surface_high",
|
25376
|
+
pr: "$12",
|
25377
|
+
"&:empty": { display: "none" }
|
25378
|
+
}
|
25354
25379
|
},
|
25355
|
-
"Participants\xA0",
|
25356
|
-
|
25357
|
-
)), showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25380
|
+
activeTab === SIDE_PANE_OPTIONS.CHAT ? screenType !== "hls_live_streaming" && chat_title : /* @__PURE__ */ React118.createElement("span", null, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))
|
25381
|
+
), /* @__PURE__ */ React118.createElement(Flex, null, showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25358
25382
|
IconButton,
|
25359
25383
|
{
|
25360
|
-
css: {
|
25384
|
+
css: {
|
25385
|
+
my: "$1",
|
25386
|
+
color: "$on_surface_medium",
|
25387
|
+
"&:hover": { color: "$on_surface_high" },
|
25388
|
+
"&:empty": { display: "none" }
|
25389
|
+
},
|
25361
25390
|
onClick: (e) => {
|
25362
25391
|
e.stopPropagation();
|
25363
25392
|
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
@@ -25368,11 +25397,39 @@ var SidePaneTabs = React118.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideControl
|
|
25368
25397
|
},
|
25369
25398
|
"data-testid": "close_chat"
|
25370
25399
|
},
|
25371
|
-
/* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25372
|
-
)),
|
25373
|
-
|
25374
|
-
|
25375
|
-
|
25400
|
+
screenType === "hls_live_streaming" && isChatOpen ? null : /* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25401
|
+
))), activeTab === SIDE_PANE_OPTIONS.CHAT ? /* @__PURE__ */ React118.createElement(Chat, null) : /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole }));
|
25402
|
+
}).otherwise(() => {
|
25403
|
+
return /* @__PURE__ */ React118.createElement(
|
25404
|
+
Tabs.Root,
|
25405
|
+
{
|
25406
|
+
value: activeTab,
|
25407
|
+
onValueChange: setActiveTab,
|
25408
|
+
css: {
|
25409
|
+
flexDirection: "column",
|
25410
|
+
size: "100%"
|
25411
|
+
}
|
25412
|
+
},
|
25413
|
+
/* @__PURE__ */ React118.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React118.createElement(Tabs.List, { css: { flexGrow: 1, borderRadius: "$2", bg: "$surface_default" } }, /* @__PURE__ */ React118.createElement(Tabs.Trigger, { value: SIDE_PANE_OPTIONS.CHAT, onClick: toggleChat, css: tabTriggerCSS }, chat_title), /* @__PURE__ */ React118.createElement(Tabs.Trigger, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, onClick: toggleParticipants, css: tabTriggerCSS }, "Participants\xA0", /* @__PURE__ */ React118.createElement(ParticipantCount2, { count: peerCount }))), showChatSettings ? /* @__PURE__ */ React118.createElement(ChatSettings, null) : null, isOverlayChat && isChatOpen ? null : /* @__PURE__ */ React118.createElement(
|
25414
|
+
IconButton,
|
25415
|
+
{
|
25416
|
+
css: { my: "$1", color: "$on_surface_medium", "&:hover": { color: "$on_surface_high" } },
|
25417
|
+
onClick: (e) => {
|
25418
|
+
e.stopPropagation();
|
25419
|
+
if (activeTab === SIDE_PANE_OPTIONS.CHAT) {
|
25420
|
+
toggleChat();
|
25421
|
+
} else {
|
25422
|
+
toggleParticipants();
|
25423
|
+
}
|
25424
|
+
},
|
25425
|
+
"data-testid": "close_chat"
|
25426
|
+
},
|
25427
|
+
/* @__PURE__ */ React118.createElement(CrossIcon19, null)
|
25428
|
+
)),
|
25429
|
+
/* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.PARTICIPANTS, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(ParticipantList, { offStageRoles: off_stage_roles, onActive: setActiveRole })),
|
25430
|
+
/* @__PURE__ */ React118.createElement(Tabs.Content, { value: SIDE_PANE_OPTIONS.CHAT, css: { p: 0 } }, /* @__PURE__ */ React118.createElement(Chat, null))
|
25431
|
+
);
|
25432
|
+
})
|
25376
25433
|
);
|
25377
25434
|
});
|
25378
25435
|
|
@@ -25669,7 +25726,7 @@ var TileMenuContent = ({
|
|
25669
25726
|
"data-testid": isVideoEnabled ? "mute_video_participant_btn" : "unmute_video_participant_btn"
|
25670
25727
|
},
|
25671
25728
|
isVideoEnabled ? /* @__PURE__ */ React120.createElement(VideoOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React120.createElement(VideoOffIcon3, { height: 20, width: 20 }),
|
25672
|
-
/* @__PURE__ */ React120.createElement("span", null, isVideoEnabled ? "Mute" : "Request Unmute")
|
25729
|
+
/* @__PURE__ */ React120.createElement("span", null, isVideoEnabled ? "Mute Video" : "Request to Unmute Video")
|
25673
25730
|
) : null, toggleAudio ? /* @__PURE__ */ React120.createElement(
|
25674
25731
|
StyledMenuTile.ItemButton,
|
25675
25732
|
{
|
@@ -25682,7 +25739,7 @@ var TileMenuContent = ({
|
|
25682
25739
|
"data-testid": isAudioEnabled ? "mute_audio_participant_btn" : "unmute_audio_participant_btn"
|
25683
25740
|
},
|
25684
25741
|
isAudioEnabled ? /* @__PURE__ */ React120.createElement(MicOnIcon4, { height: 20, width: 20 }) : /* @__PURE__ */ React120.createElement(MicOffIcon5, { height: 20, width: 20 }),
|
25685
|
-
/* @__PURE__ */ React120.createElement("span", null, isAudioEnabled ? "Mute" : "Request Unmute")
|
25742
|
+
/* @__PURE__ */ React120.createElement("span", null, isAudioEnabled ? "Mute Audio" : "Request to Unmute Audio")
|
25686
25743
|
) : null, audioTrackID ? /* @__PURE__ */ React120.createElement(StyledMenuTile.VolumeItem, { "data-testid": "participant_volume_slider", css: __spreadProps(__spreadValues({}, spacingCSS), { mb: "$0" }) }, /* @__PURE__ */ React120.createElement(Flex, { align: "center", gap: 1 }, /* @__PURE__ */ React120.createElement(SpeakerIcon3, { height: 20, width: 20 }), /* @__PURE__ */ React120.createElement(Box, { as: "span", css: { ml: "$4" } }, "Volume (", volume, ")")), /* @__PURE__ */ React120.createElement(
|
25687
25744
|
Slider,
|
25688
25745
|
{
|
@@ -26277,13 +26334,86 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26277
26334
|
};
|
26278
26335
|
|
26279
26336
|
// src/Prebuilt/layouts/SidePane.tsx
|
26337
|
+
var Wrapper3 = styled("div", {
|
26338
|
+
w: "$100",
|
26339
|
+
h: "100%",
|
26340
|
+
p: "$10",
|
26341
|
+
flex: "1 1 0",
|
26342
|
+
background: "$surface_dim",
|
26343
|
+
r: "$1",
|
26344
|
+
position: "relative",
|
26345
|
+
"@lg": {
|
26346
|
+
w: "100%",
|
26347
|
+
h: "100%",
|
26348
|
+
ml: 0,
|
26349
|
+
right: 0,
|
26350
|
+
position: "fixed",
|
26351
|
+
bottom: 0,
|
26352
|
+
borderRadius: 0,
|
26353
|
+
zIndex: 10
|
26354
|
+
},
|
26355
|
+
"@md": {
|
26356
|
+
p: "$6 $8",
|
26357
|
+
pb: "$12",
|
26358
|
+
borderTopLeftRadius: 0,
|
26359
|
+
borderTopRightRadius: 0,
|
26360
|
+
animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
26361
|
+
},
|
26362
|
+
variants: {
|
26363
|
+
landscapeStream: {
|
26364
|
+
true: {
|
26365
|
+
"@lg": {
|
26366
|
+
position: "unset !important",
|
26367
|
+
minHeight: "100%"
|
26368
|
+
}
|
26369
|
+
}
|
26370
|
+
},
|
26371
|
+
mobileStream: {
|
26372
|
+
true: {
|
26373
|
+
"@md": {
|
26374
|
+
position: "unset !important",
|
26375
|
+
background: "red"
|
26376
|
+
}
|
26377
|
+
}
|
26378
|
+
},
|
26379
|
+
overlayChat: {
|
26380
|
+
true: {
|
26381
|
+
height: "unset",
|
26382
|
+
maxHeight: 300,
|
26383
|
+
background: "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)",
|
26384
|
+
"@md": {
|
26385
|
+
pb: "$20"
|
26386
|
+
}
|
26387
|
+
}
|
26388
|
+
}
|
26389
|
+
},
|
26390
|
+
compoundVariants: [
|
26391
|
+
{
|
26392
|
+
landscapeStream: true,
|
26393
|
+
overlayChat: true,
|
26394
|
+
css: {
|
26395
|
+
position: "unset",
|
26396
|
+
height: "100%",
|
26397
|
+
maxHeight: "unset"
|
26398
|
+
}
|
26399
|
+
},
|
26400
|
+
{
|
26401
|
+
mobileStream: true,
|
26402
|
+
overlayChat: true,
|
26403
|
+
css: {
|
26404
|
+
position: "unset",
|
26405
|
+
height: "100%",
|
26406
|
+
maxHeight: "unset"
|
26407
|
+
}
|
26408
|
+
}
|
26409
|
+
]
|
26410
|
+
});
|
26280
26411
|
var SidePane = ({
|
26281
26412
|
tileProps,
|
26282
26413
|
hideControls = false
|
26283
26414
|
}) => {
|
26284
26415
|
var _a8, _b7, _c, _d, _e, _f;
|
26285
26416
|
const isMobile = useMedia22(config.media.md);
|
26286
|
-
const isLandscape = useIsLandscape();
|
26287
26417
|
const sidepane = useHMSStore66(selectAppData6(APP_DATA.sidePane));
|
26288
26418
|
const activeScreensharePeerId = useHMSStore66(selectAppData6(APP_DATA.activeScreensharePeerId));
|
26289
26419
|
const trackId = (_a8 = useHMSStore66(selectVideoTrackByPeerID4(activeScreensharePeerId))) == null ? void 0 : _a8.id;
|
@@ -26294,27 +26424,11 @@ var SidePane = ({
|
|
26294
26424
|
const isMobileHLSStream = useMobileHLSStream();
|
26295
26425
|
const backgroundMedia = ((_c = (_b7 = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _b7.background_media) == null ? void 0 : _c.length) ? (_d = preview_elements == null ? void 0 : preview_elements.virtual_background) == null ? void 0 : _d.background_media : ((_e = elements == null ? void 0 : elements.virtual_background) == null ? void 0 : _e.background_media) || [];
|
26296
26426
|
const resetSidePane = useSidepaneReset();
|
26297
|
-
let ViewComponent;
|
26298
|
-
if (sidepane === SIDE_PANE_OPTIONS.POLLS) {
|
26299
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(Polls, null);
|
26300
|
-
}
|
26301
|
-
if (sidepane === SIDE_PANE_OPTIONS.PARTICIPANTS || sidepane === SIDE_PANE_OPTIONS.CHAT) {
|
26302
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(SidePaneTabs, { hideControls, active: sidepane, hideTab: isMobileHLSStream || isLandscapeHLSStream });
|
26303
|
-
}
|
26304
|
-
if (sidepane === SIDE_PANE_OPTIONS.VB) {
|
26305
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(VBPicker, { backgroundMedia });
|
26306
|
-
}
|
26307
|
-
if (sidepane === SIDE_PANE_OPTIONS.ROOM_DETAILS) {
|
26308
|
-
ViewComponent = /* @__PURE__ */ React126.createElement(RoomDetailsPane, null);
|
26309
|
-
}
|
26310
26427
|
useEffect32(() => {
|
26311
26428
|
return () => {
|
26312
26429
|
resetSidePane();
|
26313
26430
|
};
|
26314
26431
|
}, [resetSidePane]);
|
26315
|
-
if (!ViewComponent && (!trackId || layoutMode !== LayoutMode.GALLERY)) {
|
26316
|
-
return null;
|
26317
|
-
}
|
26318
26432
|
const tileLayout = {
|
26319
26433
|
hideParticipantNameOnTile: tileProps == null ? void 0 : tileProps.hide_participant_name_on_tile,
|
26320
26434
|
roundedVideoTile: tileProps == null ? void 0 : tileProps.rounded_video_tile,
|
@@ -26322,8 +26436,11 @@ var SidePane = ({
|
|
26322
26436
|
hideMetadataOnTile: tileProps == null ? void 0 : tileProps.hide_metadata_on_tile,
|
26323
26437
|
objectFit: tileProps == null ? void 0 : tileProps.video_object_fit
|
26324
26438
|
};
|
26325
|
-
const VB = sidepane === SIDE_PANE_OPTIONS.VB;
|
26326
26439
|
const mwebStreamingChat = isMobile && sidepane === SIDE_PANE_OPTIONS.CHAT && ((_f = elements == null ? void 0 : elements.chat) == null ? void 0 : _f.is_overlay);
|
26440
|
+
const commonProps = {
|
26441
|
+
landscapeStream: isLandscapeHLSStream,
|
26442
|
+
mobileStream: isMobileHLSStream
|
26443
|
+
};
|
26327
26444
|
return /* @__PURE__ */ React126.createElement(
|
26328
26445
|
Flex,
|
26329
26446
|
{
|
@@ -26331,11 +26448,14 @@ var SidePane = ({
|
|
26331
26448
|
justify: "center",
|
26332
26449
|
css: {
|
26333
26450
|
w: "$100",
|
26334
|
-
h:
|
26451
|
+
h: "100%",
|
26335
26452
|
flexShrink: 0,
|
26336
26453
|
gap: "$4",
|
26337
26454
|
position: "relative",
|
26338
|
-
"
|
26455
|
+
"&:empty": { display: "none" },
|
26456
|
+
"@ls": {
|
26457
|
+
w: isMobileHLSStream || isLandscapeHLSStream ? "340px" : "$100"
|
26458
|
+
}
|
26339
26459
|
}
|
26340
26460
|
},
|
26341
26461
|
trackId && layoutMode === LayoutMode.GALLERY && /* @__PURE__ */ React126.createElement(
|
@@ -26348,43 +26468,27 @@ var SidePane = ({
|
|
26348
26468
|
rootCSS: { p: 0, alignSelf: "start", flexShrink: 0 }
|
26349
26469
|
}, tileLayout)
|
26350
26470
|
),
|
26351
|
-
|
26352
|
-
|
26353
|
-
{
|
26471
|
+
match7(sidepane).with(SIDE_PANE_OPTIONS.POLLS, () => /* @__PURE__ */ React126.createElement(
|
26472
|
+
Wrapper3,
|
26473
|
+
__spreadValues({
|
26354
26474
|
css: {
|
26355
|
-
w: "$100",
|
26356
|
-
h: mwebStreamingChat || isLandscape ? "0" : "100%",
|
26357
|
-
p: VB ? "$10 $6 $10 $10" : "$10",
|
26358
|
-
flex: "1 1 0",
|
26359
|
-
minHeight: 0,
|
26360
|
-
maxHeight: mwebStreamingChat || isLandscape ? "300px" : "unset",
|
26361
|
-
background: mwebStreamingChat || isLandscape ? "linear-gradient(180deg, rgba(0, 0, 0, 0.00) 35.94%, rgba(0, 0, 0, 0.64) 100%)" : "$surface_dim",
|
26362
|
-
r: "$1",
|
26363
|
-
position: "relative",
|
26364
|
-
"@lg": {
|
26365
|
-
w: "100%",
|
26366
|
-
h: "100%",
|
26367
|
-
ml: 0,
|
26368
|
-
right: 0,
|
26369
|
-
position: isLandscapeHLSStream ? "" : "fixed",
|
26370
|
-
minHeight: isLandscapeHLSStream ? "100%" : "",
|
26371
|
-
bottom: 0,
|
26372
|
-
borderRadius: 0,
|
26373
|
-
zIndex: 10
|
26374
|
-
},
|
26375
26475
|
"@md": {
|
26376
|
-
|
26377
|
-
|
26378
|
-
pb: "$12",
|
26379
|
-
minHeight: isMobileHLSStream ? "64%" : "",
|
26380
|
-
borderTopLeftRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
|
26381
|
-
borderTopRightRadius: sidepane === SIDE_PANE_OPTIONS.POLLS ? "$2" : "0",
|
26382
|
-
animation: `${translateAcross({ yFrom: "100%" })} 150ms cubic-bezier(0.22, 1, 0.36, 1)`
|
26476
|
+
borderTopLeftRadius: "$2",
|
26477
|
+
borderTopRightRadius: "$2"
|
26383
26478
|
}
|
26384
26479
|
}
|
26385
|
-
},
|
26386
|
-
|
26387
|
-
)
|
26480
|
+
}, commonProps),
|
26481
|
+
/* @__PURE__ */ React126.createElement(Polls, null)
|
26482
|
+
)).with(SIDE_PANE_OPTIONS.VB, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadValues({ css: { p: "$10 $6 $10 $10" } }, commonProps), /* @__PURE__ */ React126.createElement(VBPicker, { backgroundMedia }))).with(SIDE_PANE_OPTIONS.CHAT, SIDE_PANE_OPTIONS.PARTICIPANTS, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadProps(__spreadValues({}, commonProps), { overlayChat: mwebStreamingChat }), /* @__PURE__ */ React126.createElement(
|
26483
|
+
SidePaneTabs,
|
26484
|
+
{
|
26485
|
+
hideControls,
|
26486
|
+
active: sidepane,
|
26487
|
+
hideTab: isMobileHLSStream || isLandscapeHLSStream
|
26488
|
+
}
|
26489
|
+
))).with(SIDE_PANE_OPTIONS.ROOM_DETAILS, () => /* @__PURE__ */ React126.createElement(Wrapper3, __spreadValues({}, commonProps), /* @__PURE__ */ React126.createElement(RoomDetailsPane, null))).otherwise(() => {
|
26490
|
+
return null;
|
26491
|
+
})
|
26388
26492
|
);
|
26389
26493
|
};
|
26390
26494
|
var SidePane_default = SidePane;
|
@@ -28194,7 +28298,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28194
28298
|
};
|
28195
28299
|
|
28196
28300
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28197
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28301
|
+
var HLSView = React151.lazy(() => import("./HLSView-MYKM5AXS.js"));
|
28198
28302
|
var VideoStreamingSection = ({
|
28199
28303
|
screenType,
|
28200
28304
|
elements,
|
@@ -28257,7 +28361,8 @@ var VideoStreamingSection = ({
|
|
28257
28361
|
Box,
|
28258
28362
|
{
|
28259
28363
|
css: {
|
28260
|
-
|
28364
|
+
flex: isMobileHLSStream ? "1 1 0" : void 0,
|
28365
|
+
height: !isMobileHLSStream ? "100%" : void 0,
|
28261
28366
|
maxHeight: "100%",
|
28262
28367
|
"&:empty": { display: "none" },
|
28263
28368
|
overflowY: "clip"
|
@@ -28530,16 +28635,16 @@ var ConferenceScreen = () => {
|
|
28530
28635
|
const { toggleAudio, toggleVideo } = useAVToggle7();
|
28531
28636
|
const noAVPermissions = !(toggleAudio || toggleVideo);
|
28532
28637
|
const showChat = !!((_a8 = screenProps.elements) == null ? void 0 : _a8.chat);
|
28638
|
+
const autoRoomJoined = useRef25(isPreviewScreenEnabled);
|
28639
|
+
const isMobileHLSStream = useMobileHLSStream();
|
28640
|
+
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28641
|
+
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
28533
28642
|
const toggleControls = () => {
|
28534
28643
|
var _a9;
|
28535
|
-
if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice) {
|
28644
|
+
if (((_a9 = dropdownListRef.current) == null ? void 0 : _a9.length) === 0 && isMobileDevice && !isMwebHLSStream) {
|
28536
28645
|
setHideControls((value) => !value);
|
28537
28646
|
}
|
28538
28647
|
};
|
28539
|
-
const autoRoomJoined = useRef25(isPreviewScreenEnabled);
|
28540
|
-
const isMobileHLSStream = useMobileHLSStream();
|
28541
|
-
const isLandscapeHLSStream = useLandscapeHLSStream();
|
28542
|
-
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
28543
28648
|
useEffect50(() => {
|
28544
28649
|
let timeout;
|
28545
28650
|
dropdownListRef.current = dropdownList || [];
|
@@ -28579,6 +28684,7 @@ var ConferenceScreen = () => {
|
|
28579
28684
|
if (!isConnectedToRoom && ![HMSRoomState7.Reconnecting, HMSRoomState7.Disconnected].includes(roomState)) {
|
28580
28685
|
return /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: roomState === HMSRoomState7.Connecting ? "Joining..." : "" });
|
28581
28686
|
}
|
28687
|
+
const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
|
28582
28688
|
return /* @__PURE__ */ React155.createElement(React155.Fragment, null, isHLSStarted ? /* @__PURE__ */ React155.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React155.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React155.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React155.createElement(
|
28583
28689
|
Box,
|
28584
28690
|
{
|
@@ -28586,7 +28692,7 @@ var ConferenceScreen = () => {
|
|
28586
28692
|
css: {
|
28587
28693
|
h: "$18",
|
28588
28694
|
transition: "margin 0.3s ease-in-out",
|
28589
|
-
marginTop:
|
28695
|
+
marginTop: hideControlsForStreaming ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
|
28590
28696
|
"@md": {
|
28591
28697
|
h: "$17"
|
28592
28698
|
}
|
@@ -28594,7 +28700,7 @@ var ConferenceScreen = () => {
|
|
28594
28700
|
"data-testid": "header"
|
28595
28701
|
},
|
28596
28702
|
/* @__PURE__ */ React155.createElement(Header2, null)
|
28597
|
-
),
|
28703
|
+
), /* @__PURE__ */ React155.createElement(
|
28598
28704
|
Box,
|
28599
28705
|
{
|
28600
28706
|
css: {
|
@@ -28618,7 +28724,7 @@ var ConferenceScreen = () => {
|
|
28618
28724
|
{
|
28619
28725
|
screenType: screenProps.screenType,
|
28620
28726
|
elements: screenProps.elements,
|
28621
|
-
hideControls
|
28727
|
+
hideControls: hideControlsForStreaming
|
28622
28728
|
}
|
28623
28729
|
) : null
|
28624
28730
|
), !screenProps.hideSections.includes("footer") && screenProps.elements && !isMwebHLSStream && /* @__PURE__ */ React155.createElement(
|
@@ -28630,7 +28736,7 @@ var ConferenceScreen = () => {
|
|
28630
28736
|
maxHeight: "$24",
|
28631
28737
|
transition: "margin 0.3s ease-in-out",
|
28632
28738
|
bg: "$background_dim",
|
28633
|
-
marginBottom:
|
28739
|
+
marginBottom: hideControlsForStreaming ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
|
28634
28740
|
"@md": {
|
28635
28741
|
maxHeight: "unset",
|
28636
28742
|
bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
|
@@ -29271,6 +29377,26 @@ var ToastConfig = {
|
|
29271
29377
|
}
|
29272
29378
|
},
|
29273
29379
|
RAISE_HAND: {
|
29380
|
+
single: (notification) => {
|
29381
|
+
var _a8;
|
29382
|
+
return {
|
29383
|
+
title: `${(_a8 = notification.data) == null ? void 0 : _a8.name} raised hand`,
|
29384
|
+
icon: /* @__PURE__ */ React163.createElement(HandIcon6, null)
|
29385
|
+
};
|
29386
|
+
},
|
29387
|
+
multiple: (notifications) => {
|
29388
|
+
var _a8;
|
29389
|
+
const count = new Set(notifications.map((notification) => {
|
29390
|
+
var _a9;
|
29391
|
+
return (_a9 = notification.data) == null ? void 0 : _a9.id;
|
29392
|
+
})).size;
|
29393
|
+
return {
|
29394
|
+
title: `${(_a8 = notifications[notifications.length - 1].data) == null ? void 0 : _a8.name} ${count > 1 ? `${count} and others` : ""} raised hand`,
|
29395
|
+
icon: /* @__PURE__ */ React163.createElement(HandIcon6, null)
|
29396
|
+
};
|
29397
|
+
}
|
29398
|
+
},
|
29399
|
+
RAISE_HAND_HLS: {
|
29274
29400
|
single: (notification) => {
|
29275
29401
|
var _a8, _b7;
|
29276
29402
|
return {
|
@@ -29336,6 +29462,7 @@ var ToastConfig = {
|
|
29336
29462
|
// src/Prebuilt/components/Toast/ToastBatcher.js
|
29337
29463
|
var ToastBatcher = {
|
29338
29464
|
toastsType: /* @__PURE__ */ new Map(),
|
29465
|
+
toastCache: {},
|
29339
29466
|
showToastInternal({ notification, duration, type }) {
|
29340
29467
|
let notificationType = type;
|
29341
29468
|
if (!type) {
|
@@ -29371,7 +29498,13 @@ var ToastBatcher = {
|
|
29371
29498
|
},
|
29372
29499
|
showToast({ notification, duration = 3e3, type }) {
|
29373
29500
|
try {
|
29374
|
-
this.
|
29501
|
+
if (!this.toastCache[notification.id]) {
|
29502
|
+
this.showToastInternal({ notification, duration, type });
|
29503
|
+
}
|
29504
|
+
this.toastCache[notification.id] = true;
|
29505
|
+
if (Object.keys(this.toastCache).length > 100) {
|
29506
|
+
this.toastCache = {};
|
29507
|
+
}
|
29375
29508
|
} catch (err) {
|
29376
29509
|
console.debug("Notifications", err);
|
29377
29510
|
}
|
@@ -29397,12 +29530,12 @@ var HandRaisedNotifications = () => {
|
|
29397
29530
|
if (!(notification == null ? void 0 : notification.data)) {
|
29398
29531
|
return;
|
29399
29532
|
}
|
29400
|
-
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !
|
29533
|
+
if (roomState !== HMSRoomState9.Connected || notification.data.isLocal || !isSubscribing) {
|
29401
29534
|
return;
|
29402
29535
|
}
|
29403
29536
|
const hasPeerHandRaised = vanillaStore.getState(selectHasPeerHandRaised4(notification.data.id));
|
29404
29537
|
if (hasPeerHandRaised) {
|
29405
|
-
ToastBatcher.showToast({ notification, type: "RAISE_HAND" });
|
29538
|
+
ToastBatcher.showToast({ notification, type: on_stage_exp ? "RAISE_HAND_HLS" : "RAISE_HAND" });
|
29406
29539
|
console.debug("Metadata updated", notification.data);
|
29407
29540
|
}
|
29408
29541
|
}, [isSubscribing, notification, on_stage_exp, roomState, vanillaStore]);
|
@@ -29482,7 +29615,7 @@ var PeerNotifications = () => {
|
|
29482
29615
|
return;
|
29483
29616
|
}
|
29484
29617
|
ToastBatcher.showToast({ notification });
|
29485
|
-
}, [notification, isPeerJoinSubscribed, isPeerLeftSubscribed]);
|
29618
|
+
}, [notification, isPeerJoinSubscribed, isPeerLeftSubscribed, selectedPeer.id, setPeerSelector]);
|
29486
29619
|
return null;
|
29487
29620
|
};
|
29488
29621
|
|
@@ -30491,6 +30624,7 @@ export {
|
|
30491
30624
|
Sheet,
|
30492
30625
|
ToastManager,
|
30493
30626
|
useIsLandscape,
|
30627
|
+
LeaveRoom,
|
30494
30628
|
DialogContent,
|
30495
30629
|
DialogRow,
|
30496
30630
|
ChatToggle,
|
@@ -30511,4 +30645,4 @@ lodash/lodash.js:
|
|
30511
30645
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
30512
30646
|
*)
|
30513
30647
|
*/
|
30514
|
-
//# sourceMappingURL=chunk-
|
30648
|
+
//# sourceMappingURL=chunk-DRBTAFKN.js.map
|