@100mslive/roomkit-react 0.3.6 → 0.3.7-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-KQBEDDJG.js → HLSView-QKPBZFZP.js} +4 -3
- package/dist/HLSView-QKPBZFZP.js.map +7 -0
- package/dist/Prebuilt/common/constants.d.ts +1 -2
- package/dist/{chunk-7BDKGZUK.js → chunk-LVXGI4HW.js} +131 -116
- package/dist/chunk-LVXGI4HW.js.map +7 -0
- package/dist/index.cjs.js +196 -183
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +23 -38
- package/dist/meta.esbuild.json +34 -49
- package/package.json +6 -6
- package/src/Modal/DialogContent.tsx +2 -0
- package/src/Prebuilt/common/constants.ts +0 -1
- package/src/Prebuilt/components/AppData/AppData.tsx +2 -5
- package/src/Prebuilt/components/Footer/Footer.tsx +1 -0
- package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +2 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +6 -2
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +1 -1
- package/src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx +2 -2
- package/src/Prebuilt/components/ScreenShareToggle.jsx +1 -1
- package/dist/HLSView-KQBEDDJG.js.map +0 -7
- package/dist/chunk-7BDKGZUK.js.map +0 -7
@@ -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_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", 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.22 npm/? node/v18.20.0 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.6", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.0/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.6", 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.8", 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.7", 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: "590", 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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240403.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.1/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18328", 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.3.6", 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", STATS_D: "false", GITHUB_RUN_ID: "8579133590", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6f3b3e4306421fa7f563afae416ab97b880642f9", 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: "8ad5464febace043720383ca36f76e01733315641d980018aeb0e328a989bb78", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1712382853646-0.2790350166139841:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382853452-0.6733666400969234:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382831057-0.5878524316942619:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712382830877-0.4416724924900266:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ef6cafab-b268-45a2-8ee3-7960a981a424", INVOCATION_ID: "927746e422994866ac90414942402cac", 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: "506", GITHUB_TRIGGERING_ACTOR: "raviteja83", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 290", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.6", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.6", 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: "6f3b3e4306421fa7f563afae416ab97b880642f9", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "raviteja83", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "6763261", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b6e5f5e9-063d-4a23-81b4-074b0aec35e3", 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.172+1/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_b6e5f5e9-063d-4a23-81b4-074b0aec35e3" };
|
109
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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.22 npm/? node/v18.20.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.10.7-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_97ca305c-0095-4a3e-b6b1-10dcebd920d3", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.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.13.7-alpha.1", 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.8", 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.7", 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: "603", 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.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240407.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.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:17317", 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.3.7-alpha.1", 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", STATS_D: "false", GITHUB_RUN_ID: "8629237506", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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: "8abe6400a3d469d855f17212fdb4f2291c7d8e728998b9cec4b081546f62b9d8", 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--1712742450757-0.3169478914240358:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742450552-0.42417225478801224:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427536-0.8765541171080096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1712742427351-0.5426797022502139:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.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.20.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fa254625-bdb7-4c8e-bcac-830707b51973", INVOCATION_ID: "dbbeaf6ae58547a29248db986b6fb335", 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: "509", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 253", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_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.10.7-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.7-alpha.1", 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: "f8131959ff3d81261f1f5e10aeca4ffdb85de037", 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: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_97ca305c-0095-4a3e-b6b1-10dcebd920d3", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_97ca305c-0095-4a3e-b6b1-10dcebd920d3", 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.172+1/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_97ca305c-0095-4a3e-b6b1-10dcebd920d3" };
|
110
110
|
}
|
111
111
|
});
|
112
112
|
|
@@ -10334,6 +10334,8 @@ var CustomDialogContent = styled(DialogPrimitive.Content, {
|
|
10334
10334
|
position: "absolute",
|
10335
10335
|
top: "50%",
|
10336
10336
|
left: "50%",
|
10337
|
+
maxHeight: "95%",
|
10338
|
+
overflowY: "auto",
|
10337
10339
|
border: "$space$px solid $border_bright",
|
10338
10340
|
boxShadow: "0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)",
|
10339
10341
|
transform: "translate(-50%, -50%)",
|
@@ -11923,7 +11925,6 @@ import {
|
|
11923
11925
|
// src/Prebuilt/components/AppData/AppData.tsx
|
11924
11926
|
init_define_process_env();
|
11925
11927
|
import React23, { useEffect as useEffect5, useMemo as useMemo4, useRef as useRef6 } from "react";
|
11926
|
-
import { useMedia } from "react-use";
|
11927
11928
|
import {
|
11928
11929
|
HMSRoomState,
|
11929
11930
|
selectFullAppData,
|
@@ -12689,7 +12690,6 @@ var AppData = React23.memo(() => {
|
|
12689
12690
|
const appData = useHMSStore6(selectFullAppData);
|
12690
12691
|
const { elements } = useRoomLayoutConferencingScreen();
|
12691
12692
|
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
12692
|
-
const isMobile = useMedia(config.media.md);
|
12693
12693
|
const { isLocalVideoEnabled } = useAVToggle();
|
12694
12694
|
const sidepaneOpenedRef = useRef6(false);
|
12695
12695
|
const defaultMediaURL = useMemo4(() => {
|
@@ -12725,12 +12725,12 @@ var AppData = React23.memo(() => {
|
|
12725
12725
|
hmsActions.setAppData(APP_DATA.subscribedNotifications, preferences.subscribedNotifications, true);
|
12726
12726
|
}, [preferences.subscribedNotifications, hmsActions]);
|
12727
12727
|
useEffect5(() => {
|
12728
|
-
if (defaultMediaURL && !sidepaneOpenedRef.current &&
|
12728
|
+
if (defaultMediaURL && !sidepaneOpenedRef.current && isLocalVideoEnabled) {
|
12729
12729
|
hmsActions.setAppData(APP_DATA.background, defaultMediaURL);
|
12730
12730
|
sidepaneOpenedRef.current = true;
|
12731
12731
|
toggleVB();
|
12732
12732
|
}
|
12733
|
-
}, [hmsActions, toggleVB, isLocalVideoEnabled,
|
12733
|
+
}, [hmsActions, toggleVB, isLocalVideoEnabled, defaultMediaURL]);
|
12734
12734
|
return /* @__PURE__ */ React23.createElement(ResetStreamingStart, null);
|
12735
12735
|
});
|
12736
12736
|
var ResetStreamingStart = () => {
|
@@ -12913,7 +12913,7 @@ import {
|
|
12913
12913
|
// src/Prebuilt/components/Footer/Footer.tsx
|
12914
12914
|
init_define_process_env();
|
12915
12915
|
import React77, { useEffect as useEffect20 } from "react";
|
12916
|
-
import { useMedia as
|
12916
|
+
import { useMedia as useMedia10 } from "react-use";
|
12917
12917
|
import { Chat_ChatState } from "@100mslive/types-prebuilt/elements/chat";
|
12918
12918
|
|
12919
12919
|
// src/Prebuilt/components/AudioVideoToggle.tsx
|
@@ -13101,7 +13101,7 @@ var IconButtonWithOptions = ({
|
|
13101
13101
|
// src/Prebuilt/components/Settings/SettingsModal.jsx
|
13102
13102
|
init_define_process_env();
|
13103
13103
|
import React31, { useCallback as useCallback7, useEffect as useEffect9, useState as useState9 } from "react";
|
13104
|
-
import { useMedia as
|
13104
|
+
import { useMedia as useMedia2 } from "react-use";
|
13105
13105
|
import { ChevronLeftIcon, CrossIcon as CrossIcon3, GridFourIcon, NotificationsIcon, SettingsIcon } from "@100mslive/react-icons";
|
13106
13106
|
|
13107
13107
|
// src/Sheet/index.ts
|
@@ -13212,7 +13212,7 @@ var Sheet = {
|
|
13212
13212
|
// src/Prebuilt/components/Settings/DeviceSettings.jsx
|
13213
13213
|
init_define_process_env();
|
13214
13214
|
import React29, { Fragment as Fragment2, useEffect as useEffect8, useRef as useRef8, useState as useState8 } from "react";
|
13215
|
-
import { useMedia
|
13215
|
+
import { useMedia } from "react-use";
|
13216
13216
|
import {
|
13217
13217
|
DeviceType,
|
13218
13218
|
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled2,
|
@@ -13309,7 +13309,7 @@ var Settings = ({ setHide }) => {
|
|
13309
13309
|
const trackSelector = selectVideoTrackByID(videoTrackId);
|
13310
13310
|
const hmsActions = useHMSActions6();
|
13311
13311
|
const track = useHMSStore7(trackSelector);
|
13312
|
-
const isMobile =
|
13312
|
+
const isMobile = useMedia(config.media.md);
|
13313
13313
|
useEffect8(() => {
|
13314
13314
|
if (isMobile) {
|
13315
13315
|
hmsActions.refreshDevices();
|
@@ -13547,7 +13547,7 @@ var settingsList = [
|
|
13547
13547
|
];
|
13548
13548
|
var SettingsModal = ({ open, onOpenChange, screenType, children = /* @__PURE__ */ React31.createElement(React31.Fragment, null) }) => {
|
13549
13549
|
const mediaQueryLg = config.media.md;
|
13550
|
-
const isMobile =
|
13550
|
+
const isMobile = useMedia2(mediaQueryLg);
|
13551
13551
|
const [showSetting, setShowSetting] = useState9(
|
13552
13552
|
() => settingsList.reduce((obj, { tabName }) => __spreadProps(__spreadValues({}, obj), { [tabName]: true }), {})
|
13553
13553
|
);
|
@@ -14024,7 +14024,7 @@ var AudioVideoToggle = ({ hideOptions = false }) => {
|
|
14024
14024
|
// src/Prebuilt/components/EmojiReaction.jsx
|
14025
14025
|
init_define_process_env();
|
14026
14026
|
import React34, { useState as useState12 } from "react";
|
14027
|
-
import { useMedia as
|
14027
|
+
import { useMedia as useMedia4 } from "react-use";
|
14028
14028
|
import data from "@emoji-mart/data/sets/14/apple.json";
|
14029
14029
|
import { init } from "emoji-mart";
|
14030
14030
|
import {
|
@@ -14083,7 +14083,7 @@ var useDropdownList = ({ name, open }) => {
|
|
14083
14083
|
// src/Prebuilt/common/hooks.ts
|
14084
14084
|
init_define_process_env();
|
14085
14085
|
import { useCallback as useCallback8, useEffect as useEffect12, useRef as useRef9, useState as useState11 } from "react";
|
14086
|
-
import { useMedia as
|
14086
|
+
import { useMedia as useMedia3 } from "react-use";
|
14087
14087
|
import { JoinForm_JoinBtnType as JoinForm_JoinBtnType2 } from "@100mslive/types-prebuilt/elements/join_form";
|
14088
14088
|
import {
|
14089
14089
|
parsedUserAgent as parsedUserAgent2,
|
@@ -14143,7 +14143,7 @@ var useParticipants = (params) => {
|
|
14143
14143
|
};
|
14144
14144
|
var useIsLandscape = () => {
|
14145
14145
|
const isMobile = parsedUserAgent2.getDevice().type === "mobile";
|
14146
|
-
const isLandscape =
|
14146
|
+
const isLandscape = useMedia3(config.media.ls);
|
14147
14147
|
return isMobile && isLandscape;
|
14148
14148
|
};
|
14149
14149
|
var useLandscapeHLSStream = () => {
|
@@ -14152,7 +14152,7 @@ var useLandscapeHLSStream = () => {
|
|
14152
14152
|
return isLandscape && screenType === "hls_live_streaming";
|
14153
14153
|
};
|
14154
14154
|
var useMobileHLSStream = () => {
|
14155
|
-
const isMobile =
|
14155
|
+
const isMobile = useMedia3(config.media.md);
|
14156
14156
|
const { screenType } = useRoomLayoutConferencingScreen();
|
14157
14157
|
return isMobile && screenType === "hls_live_streaming";
|
14158
14158
|
};
|
@@ -14188,8 +14188,8 @@ var EmojiReaction = ({ showCard = false }) => {
|
|
14188
14188
|
useDropdownList({ open, name: "EmojiReaction" });
|
14189
14189
|
const roles = useHMSStore10(selectAvailableRoleNames2);
|
14190
14190
|
const localPeerId = useHMSStore10(selectLocalPeerID);
|
14191
|
-
const isMobile =
|
14192
|
-
const isLandscape =
|
14191
|
+
const isMobile = useMedia4(config.media.md);
|
14192
|
+
const isLandscape = useMedia4(config.media.ls);
|
14193
14193
|
const isMobileHLSStream = useMobileHLSStream();
|
14194
14194
|
const isLandscapeStream = useLandscapeHLSStream();
|
14195
14195
|
const { sendEvent } = useCustomEvent({
|
@@ -14231,7 +14231,7 @@ var EmojiReaction = ({ showCard = false }) => {
|
|
14231
14231
|
// src/Prebuilt/components/Leave/LeaveRoom.tsx
|
14232
14232
|
init_define_process_env();
|
14233
14233
|
import React40 from "react";
|
14234
|
-
import { useMedia as
|
14234
|
+
import { useMedia as useMedia5 } from "react-use";
|
14235
14235
|
import {
|
14236
14236
|
selectHLSState as selectHLSState3,
|
14237
14237
|
selectIsConnectedToRoom as selectIsConnectedToRoom5,
|
@@ -14586,7 +14586,7 @@ var LeaveRoom = ({
|
|
14586
14586
|
}) => {
|
14587
14587
|
const isConnected = useHMSStore13(selectIsConnectedToRoom5);
|
14588
14588
|
const permissions = useHMSStore13(selectPermissions4);
|
14589
|
-
const isMobile =
|
14589
|
+
const isMobile = useMedia5(config.media.md);
|
14590
14590
|
const rolesMap = useHMSStore13(selectRolesMap);
|
14591
14591
|
const streamingPermissionRoles = Object.keys(rolesMap).filter((roleName) => {
|
14592
14592
|
const roleObj = rolesMap[roleName];
|
@@ -14632,7 +14632,7 @@ var LeaveRoom = ({
|
|
14632
14632
|
// src/Prebuilt/components/MoreSettings/MoreSettings.tsx
|
14633
14633
|
init_define_process_env();
|
14634
14634
|
import React59 from "react";
|
14635
|
-
import { useMedia as
|
14635
|
+
import { useMedia as useMedia8 } from "react-use";
|
14636
14636
|
|
14637
14637
|
// src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx
|
14638
14638
|
init_define_process_env();
|
@@ -16253,6 +16253,7 @@ import { useClickAway } from "react-use";
|
|
16253
16253
|
import { match as match5 } from "ts-pattern";
|
16254
16254
|
import {
|
16255
16255
|
selectIsConnectedToRoom as selectIsConnectedToRoom7,
|
16256
|
+
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled4,
|
16256
16257
|
selectPeerCount as selectPeerCount3,
|
16257
16258
|
selectPermissions as selectPermissions8,
|
16258
16259
|
useHMSActions as useHMSActions21,
|
@@ -16271,13 +16272,14 @@ import {
|
|
16271
16272
|
QuizActiveIcon,
|
16272
16273
|
QuizIcon,
|
16273
16274
|
RecordIcon as RecordIcon2,
|
16274
|
-
SettingsIcon as SettingsIcon4
|
16275
|
+
SettingsIcon as SettingsIcon4,
|
16276
|
+
VirtualBackgroundIcon
|
16275
16277
|
} from "@100mslive/react-icons";
|
16276
16278
|
|
16277
16279
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
16278
16280
|
init_define_process_env();
|
16279
16281
|
import React54, { useCallback as useCallback17, useEffect as useEffect16, useRef as useRef14, useState as useState25 } from "react";
|
16280
|
-
import { useMedia as
|
16282
|
+
import { useMedia as useMedia6 } from "react-use";
|
16281
16283
|
|
16282
16284
|
// ../hms-video-store/dist/index.js
|
16283
16285
|
init_define_process_env();
|
@@ -18498,7 +18500,7 @@ var Zi = (a2, e) => {
|
|
18498
18500
|
};
|
18499
18501
|
var La = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
18500
18502
|
var ur = La((ad, Qa) => {
|
18501
|
-
Qa.exports = { version: "0.12.
|
18503
|
+
Qa.exports = { version: "0.12.7-alpha.1", 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"] };
|
18502
18504
|
});
|
18503
18505
|
var er = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(er || {});
|
18504
18506
|
var wa = ((e) => (e.CHAT = "chat", e))(wa || {});
|
@@ -18965,7 +18967,7 @@ var ce = class {
|
|
18965
18967
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
18966
18968
|
}
|
18967
18969
|
};
|
18968
|
-
var
|
18970
|
+
var Es = () => {
|
18969
18971
|
let a2, e = new ce("hms-analytics-deviceId"), t = e.get();
|
18970
18972
|
return t ? a2 = t : (a2 = Ja(), e.set(a2)), a2;
|
18971
18973
|
};
|
@@ -18987,7 +18989,7 @@ var As = (a2, e = ",") => Object.keys(a2).filter((t) => ie(a2[t])).map((t) => `$
|
|
18987
18989
|
var I = class {
|
18988
18990
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
18989
18991
|
this.metadata = { peer: {}, userAgent: ot() };
|
18990
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = za(), this.device_id =
|
18992
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = za(), this.device_id = Es();
|
18991
18993
|
}
|
18992
18994
|
toSignalParams() {
|
18993
18995
|
return { name: this.name, info: v(m({}, this.properties), { timestamp: this.timestamp, domain: Ve }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -19297,7 +19299,7 @@ var ko = createSelector([D, Tt], (a2, e) => {
|
|
19297
19299
|
let t = a2[e];
|
19298
19300
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
19299
19301
|
});
|
19300
|
-
var
|
19302
|
+
var Eo = createSelector([ss, fo], (a2, e) => e ? a2[e] : null);
|
19301
19303
|
var Q = R(W);
|
19302
19304
|
var lm = R(createSelector([ir, To], (a2, e) => {
|
19303
19305
|
if (a2)
|
@@ -19316,7 +19318,7 @@ var Zs = R(vo);
|
|
19316
19318
|
var Sm = R(Mo);
|
19317
19319
|
var gm = R(yo);
|
19318
19320
|
var Tm = R(ko);
|
19319
|
-
var
|
19321
|
+
var Po = R((a2, e) => {
|
19320
19322
|
let t = W(a2, e);
|
19321
19323
|
if (t && t.videoTrack && t.videoTrack !== "")
|
19322
19324
|
return a2.tracks[t.videoTrack];
|
@@ -19341,14 +19343,14 @@ var km = R((a2, e) => {
|
|
19341
19343
|
if (e)
|
19342
19344
|
return a2.connectionQualities[e];
|
19343
19345
|
});
|
19344
|
-
var
|
19346
|
+
var Em = R((a2, e) => {
|
19345
19347
|
let t = W(a2, e);
|
19346
19348
|
if (t) {
|
19347
19349
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => tt(a2.tracks[r]));
|
19348
19350
|
return i ? a2.tracks[i] : void 0;
|
19349
19351
|
}
|
19350
19352
|
});
|
19351
|
-
var
|
19353
|
+
var Pm = R(createSelector(D, W, (a2, e) => {
|
19352
19354
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
19353
19355
|
let r = a2[i];
|
19354
19356
|
return rt(r) && it(r);
|
@@ -19444,7 +19446,7 @@ var Om = R(aa);
|
|
19444
19446
|
var xm = R(oa);
|
19445
19447
|
var Um = R(Io);
|
19446
19448
|
var Bm = R(Ho);
|
19447
|
-
var na = R(
|
19449
|
+
var na = R(Eo);
|
19448
19450
|
var zm = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
19449
19451
|
var r;
|
19450
19452
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
@@ -19514,7 +19516,7 @@ var Zo = (a2) => a2.localPeer.id;
|
|
19514
19516
|
var en = (a2) => a2.localPeer.audioTrack;
|
19515
19517
|
var tn = (a2) => a2.localPeer.videoTrack;
|
19516
19518
|
var rn = (a2, e) => e;
|
19517
|
-
var
|
19519
|
+
var Pa = (a2, e) => e;
|
19518
19520
|
var sn = (a2) => a2.remoteTrackStats;
|
19519
19521
|
var ba = (a2) => a2.peerStats;
|
19520
19522
|
var Fr = (a2) => a2.localTrackStats;
|
@@ -19552,8 +19554,8 @@ var pn = createSelector(ve, (a2) => {
|
|
19552
19554
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
19553
19555
|
});
|
19554
19556
|
var hn = createSelector([ba, rn], (a2, e) => e ? a2[e] : void 0);
|
19555
|
-
var mn = createSelector([sn,
|
19556
|
-
var Gr = createSelector([Fr,
|
19557
|
+
var mn = createSelector([sn, Pa], (a2, e) => e ? a2[e] : void 0);
|
19558
|
+
var Gr = createSelector([Fr, Pa], (a2, e) => e ? a2[e] : void 0);
|
19557
19559
|
var Sn = R(hn);
|
19558
19560
|
var gn = R(mn);
|
19559
19561
|
var Tn = createSelector([Fr, en], (a2, e) => {
|
@@ -19755,7 +19757,7 @@ var LiveStatus = () => {
|
|
19755
19757
|
var _a8;
|
19756
19758
|
const { isHLSRunning, isRTMPRunning } = useRecordingStreaming6();
|
19757
19759
|
const hlsState = useHMSStore25(selectHLSState4);
|
19758
|
-
const isMobile =
|
19760
|
+
const isMobile = useMedia6(config.media.md);
|
19759
19761
|
const intervalRef = useRef14(null);
|
19760
19762
|
const { screenType } = useRoomLayoutConferencingScreen();
|
19761
19763
|
const [liveTime, setLiveTime] = useState25(0);
|
@@ -19802,7 +19804,7 @@ var LiveStatus = () => {
|
|
19802
19804
|
var RecordingStatus = () => {
|
19803
19805
|
const { isBrowserRecordingOn, isServerRecordingOn, isHLSRecordingOn, isRecordingOn } = useRecordingStreaming6();
|
19804
19806
|
const permissions = useHMSStore25(selectPermissions7);
|
19805
|
-
const isMobile =
|
19807
|
+
const isMobile = useMedia6(config.media.md);
|
19806
19808
|
if (!isRecordingOn || // if only browser recording is enabled, stop recording is shown
|
19807
19809
|
// so no need to show this as it duplicates
|
19808
19810
|
[permissions == null ? void 0 : permissions.browserRecording, !isServerRecordingOn, !isHLSRecordingOn, isBrowserRecordingOn].every(
|
@@ -19929,7 +19931,7 @@ var StartRecording2 = () => {
|
|
19929
19931
|
};
|
19930
19932
|
var StreamActions = () => {
|
19931
19933
|
const isConnected = useHMSStore25(selectIsConnectedToRoom6);
|
19932
|
-
const isMobile =
|
19934
|
+
const isMobile = useMedia6(config.media.md);
|
19933
19935
|
const roomState = useHMSStore25(selectRoomState3);
|
19934
19936
|
return /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(AdditionalRoomState, null), !isMobile && /* @__PURE__ */ React54.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ React54.createElement(RecordingPauseStatus, null), /* @__PURE__ */ React54.createElement(RecordingStatus, null), roomState !== HMSRoomState3.Preview ? /* @__PURE__ */ React54.createElement(LiveStatus, null) : null), isConnected && !isMobile ? /* @__PURE__ */ React54.createElement(StartRecording2, null) : null);
|
19935
19937
|
};
|
@@ -20011,7 +20013,7 @@ var ActionTile = {
|
|
20011
20013
|
// src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx
|
20012
20014
|
init_define_process_env();
|
20013
20015
|
import React57, { useState as useState26 } from "react";
|
20014
|
-
import { useMedia as
|
20016
|
+
import { useMedia as useMedia7 } from "react-use";
|
20015
20017
|
import { selectLocalPeerName, useHMSActions as useHMSActions19, useHMSStore as useHMSStore26 } from "@100mslive/react-sdk";
|
20016
20018
|
|
20017
20019
|
// src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx
|
@@ -20130,7 +20132,7 @@ var ChangeNameModal = ({
|
|
20130
20132
|
const hmsActions = useHMSActions19();
|
20131
20133
|
const localPeerName = useHMSStore26(selectLocalPeerName);
|
20132
20134
|
const [currentName, setCurrentName] = useState26(localPeerName);
|
20133
|
-
const isMobile =
|
20135
|
+
const isMobile = useMedia7(config.media.md);
|
20134
20136
|
const changeName = () => __async(void 0, null, function* () {
|
20135
20137
|
const name = (currentName == null ? void 0 : currentName.trim()) || "";
|
20136
20138
|
if (!name || name === localPeerName) {
|
@@ -20240,6 +20242,8 @@ var MwebOptions = ({
|
|
20240
20242
|
const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
|
20241
20243
|
const isMobileHLSStream = useMobileHLSStream();
|
20242
20244
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
20245
|
+
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
20246
|
+
const isLocalVideoEnabled = useHMSStore29(selectIsLocalVideoEnabled4);
|
20243
20247
|
useDropdownList({ open: openModals.size > 0 || openOptionsSheet || openSettingsSheet, name: "MoreSettings" });
|
20244
20248
|
const updateState = (modalName, value) => {
|
20245
20249
|
setOpenModals((modals) => {
|
@@ -20308,6 +20312,17 @@ var MwebOptions = ({
|
|
20308
20312
|
isHandRaised ? /* @__PURE__ */ React58.createElement(HandRaiseSlashedIcon, null) : /* @__PURE__ */ React58.createElement(HandIcon2, null),
|
20309
20313
|
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, isHandRaised ? "Lower" : "Raise", " Hand")
|
20310
20314
|
) : null,
|
20315
|
+
isLocalVideoEnabled && !!(elements == null ? void 0 : elements.virtual_background) ? /* @__PURE__ */ React58.createElement(
|
20316
|
+
ActionTile.Root,
|
20317
|
+
{
|
20318
|
+
onClick: () => {
|
20319
|
+
toggleVB();
|
20320
|
+
setOpenOptionsSheet(false);
|
20321
|
+
}
|
20322
|
+
},
|
20323
|
+
/* @__PURE__ */ React58.createElement(VirtualBackgroundIcon, null),
|
20324
|
+
/* @__PURE__ */ React58.createElement(ActionTile.Title, null, "Virtual Background")
|
20325
|
+
) : null,
|
20311
20326
|
(elements == null ? void 0 : elements.emoji_reactions) && !(isLandscapeHLSStream || isMobileHLSStream) && /* @__PURE__ */ React58.createElement(
|
20312
20327
|
ActionTile.Root,
|
20313
20328
|
{
|
@@ -20459,7 +20474,7 @@ var MoreSettings = ({
|
|
20459
20474
|
elements,
|
20460
20475
|
screenType
|
20461
20476
|
}) => {
|
20462
|
-
const isMobile =
|
20477
|
+
const isMobile = useMedia8(config.media.md);
|
20463
20478
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
20464
20479
|
return isMobile || isLandscapeHLSStream ? /* @__PURE__ */ React59.createElement(MwebOptions, { elements, screenType }) : /* @__PURE__ */ React59.createElement(DesktopOptions, { elements, screenType });
|
20465
20480
|
};
|
@@ -20959,7 +20974,7 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
|
|
20959
20974
|
if (!isAllowedToPublish.screen || !isScreenshareSupported()) {
|
20960
20975
|
return null;
|
20961
20976
|
}
|
20962
|
-
return /* @__PURE__ */ React67.createElement(Fragment8, null, /* @__PURE__ */ React67.createElement(Flex, { direction: "row"
|
20977
|
+
return /* @__PURE__ */ React67.createElement(Fragment8, null, /* @__PURE__ */ React67.createElement(Flex, { direction: "row" }, /* @__PURE__ */ React67.createElement(
|
20963
20978
|
ScreenShareButton,
|
20964
20979
|
{
|
20965
20980
|
variant: "standard",
|
@@ -20979,17 +20994,17 @@ var ScreenshareToggle = ({ css: css2 = {} }) => {
|
|
20979
20994
|
// src/Prebuilt/components/VirtualBackground/VBToggle.tsx
|
20980
20995
|
init_define_process_env();
|
20981
20996
|
import React68 from "react";
|
20982
|
-
import { selectIsEffectsEnabled, selectIsLocalVideoEnabled as
|
20983
|
-
import { VirtualBackgroundIcon } from "@100mslive/react-icons";
|
20997
|
+
import { selectIsEffectsEnabled, selectIsLocalVideoEnabled as selectIsLocalVideoEnabled5, useHMSStore as useHMSStore31 } from "@100mslive/react-sdk";
|
20998
|
+
import { VirtualBackgroundIcon as VirtualBackgroundIcon2 } from "@100mslive/react-icons";
|
20984
20999
|
var VBToggle = () => {
|
20985
21000
|
const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
|
20986
21001
|
const isVBOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.VB);
|
20987
|
-
const isVideoOn = useHMSStore31(
|
21002
|
+
const isVideoOn = useHMSStore31(selectIsLocalVideoEnabled5);
|
20988
21003
|
const isEffectsEnabled = useHMSStore31(selectIsEffectsEnabled);
|
20989
21004
|
if (!isVideoOn || !isEffectsEnabled && isSafari) {
|
20990
21005
|
return null;
|
20991
21006
|
}
|
20992
|
-
return /* @__PURE__ */ React68.createElement(Tooltip, { side: "top", disabled: isVBOpen, title: "Configure Virtual Background" }, /* @__PURE__ */ React68.createElement(IconButton_default, { active: !isVBOpen, onClick: toggleVB, "data-testid": "virtual_bg_btn" }, /* @__PURE__ */ React68.createElement(
|
21007
|
+
return /* @__PURE__ */ React68.createElement(Tooltip, { side: "top", disabled: isVBOpen, title: "Configure Virtual Background" }, /* @__PURE__ */ React68.createElement(IconButton_default, { active: !isVBOpen, onClick: toggleVB, "data-testid": "virtual_bg_btn" }, /* @__PURE__ */ React68.createElement(VirtualBackgroundIcon2, null)));
|
20993
21008
|
};
|
20994
21009
|
|
20995
21010
|
// src/Prebuilt/components/Footer/ChatToggle.tsx
|
@@ -21032,7 +21047,7 @@ var ChatToggle = ({ onClick }) => {
|
|
21032
21047
|
// src/Prebuilt/components/Footer/ParticipantList.tsx
|
21033
21048
|
init_define_process_env();
|
21034
21049
|
import React74, { Fragment as Fragment9, useCallback as useCallback19, useState as useState33 } from "react";
|
21035
|
-
import { useDebounce, useMedia as
|
21050
|
+
import { useDebounce, useMedia as useMedia9 } from "react-use";
|
21036
21051
|
import {
|
21037
21052
|
HMSPeerType as HMSPeerType2,
|
21038
21053
|
selectHandRaisedPeers,
|
@@ -21865,7 +21880,7 @@ var ParticipantSearch = ({
|
|
21865
21880
|
inSidePane = false
|
21866
21881
|
}) => {
|
21867
21882
|
const [value, setValue] = React74.useState("");
|
21868
|
-
const isMobile =
|
21883
|
+
const isMobile = useMedia9(config.media.md);
|
21869
21884
|
useDebounce(
|
21870
21885
|
() => {
|
21871
21886
|
onSearch(value);
|
@@ -21980,7 +21995,7 @@ var Footer2 = ({
|
|
21980
21995
|
elements
|
21981
21996
|
}) => {
|
21982
21997
|
var _a8, _b7;
|
21983
|
-
const isMobile =
|
21998
|
+
const isMobile = useMedia10(config.media.md);
|
21984
21999
|
const isOverlayChat = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay);
|
21985
22000
|
const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === Chat_ChatState.CHAT_STATE_OPEN;
|
21986
22001
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
@@ -22030,7 +22045,7 @@ var Footer2 = ({
|
|
22030
22045
|
}
|
22031
22046
|
}
|
22032
22047
|
},
|
22033
|
-
isMobile ? /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(RaiseHand, null), (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ React77.createElement(ChatToggle, null), /* @__PURE__ */ React77.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(ScreenshareToggle, null), /* @__PURE__ */ React77.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ React77.createElement(EmojiReaction, null), /* @__PURE__ */ React77.createElement(LeaveRoom, { screenType }))
|
22048
|
+
isMobile ? /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(ScreenshareToggle, null), /* @__PURE__ */ React77.createElement(RaiseHand, null), (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ React77.createElement(ChatToggle, null), /* @__PURE__ */ React77.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(ScreenshareToggle, null), /* @__PURE__ */ React77.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ React77.createElement(EmojiReaction, null), /* @__PURE__ */ React77.createElement(LeaveRoom, { screenType }))
|
22034
22049
|
),
|
22035
22050
|
/* @__PURE__ */ React77.createElement(Footer.Right, null, /* @__PURE__ */ React77.createElement(WhiteboardToggle, null), showPolls && /* @__PURE__ */ React77.createElement(PollsToggle, null), !isMobile && (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ React77.createElement(ChatToggle, null), (elements == null ? void 0 : elements.participant_list) && /* @__PURE__ */ React77.createElement(ParticipantCount, null), /* @__PURE__ */ React77.createElement(MoreSettings, { elements, screenType }))
|
22036
22051
|
);
|
@@ -22100,10 +22115,10 @@ import {
|
|
22100
22115
|
// src/Prebuilt/components/Preview/PreviewJoin.tsx
|
22101
22116
|
init_define_process_env();
|
22102
22117
|
import React131, { Fragment as Fragment12, useCallback as useCallback32, useEffect as useEffect34, useMemo as useMemo13, useState as useState56 } from "react";
|
22103
|
-
import { useMeasure as useMeasure4, useMedia as
|
22118
|
+
import { useMeasure as useMeasure4, useMedia as useMedia23 } from "react-use";
|
22104
22119
|
import {
|
22105
22120
|
HMSRoomState as HMSRoomState5,
|
22106
|
-
selectIsLocalVideoEnabled as
|
22121
|
+
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled7,
|
22107
22122
|
selectLocalPeer as selectLocalPeer7,
|
22108
22123
|
selectRoomState as selectRoomState5,
|
22109
22124
|
selectVideoTrackByID as selectVideoTrackByID5,
|
@@ -22118,7 +22133,7 @@ import { MicOffIcon as MicOffIcon7, SettingsIcon as SettingsIcon6 } from "@100ms
|
|
22118
22133
|
// src/Prebuilt/layouts/SidePane.tsx
|
22119
22134
|
init_define_process_env();
|
22120
22135
|
import React127, { useEffect as useEffect33 } from "react";
|
22121
|
-
import { useMedia as
|
22136
|
+
import { useMedia as useMedia21 } from "react-use";
|
22122
22137
|
import { match as match11 } from "ts-pattern";
|
22123
22138
|
import { selectAppData as selectAppData6, selectVideoTrackByPeerID as selectVideoTrackByPeerID4, useHMSStore as useHMSStore70 } from "@100mslive/react-sdk";
|
22124
22139
|
|
@@ -23758,7 +23773,7 @@ var ShowRoomDetailHeader = () => {
|
|
23758
23773
|
// src/Prebuilt/components/SidePaneTabs.tsx
|
23759
23774
|
init_define_process_env();
|
23760
23775
|
import React119, { useEffect as useEffect31, useState as useState52 } from "react";
|
23761
|
-
import { useMedia as
|
23776
|
+
import { useMedia as useMedia18 } from "react-use";
|
23762
23777
|
import { match as match10 } from "ts-pattern";
|
23763
23778
|
import { selectPeerCount as selectPeerCount5, useHMSStore as useHMSStore64 } from "@100mslive/react-sdk";
|
23764
23779
|
import { CrossIcon as CrossIcon21 } from "@100mslive/react-icons";
|
@@ -23766,7 +23781,7 @@ import { CrossIcon as CrossIcon21 } from "@100mslive/react-icons";
|
|
23766
23781
|
// src/Prebuilt/components/Chat/Chat.tsx
|
23767
23782
|
init_define_process_env();
|
23768
23783
|
import React116, { useCallback as useCallback30, useRef as useRef22 } from "react";
|
23769
|
-
import { useMedia as
|
23784
|
+
import { useMedia as useMedia17 } from "react-use";
|
23770
23785
|
import { match as match9 } from "ts-pattern";
|
23771
23786
|
import { selectHMSMessagesCount, useHMSActions as useHMSActions39, useHMSStore as useHMSStore61, useHMSVanillaStore as useHMSVanillaStore10 } from "@100mslive/react-sdk";
|
23772
23787
|
import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
|
@@ -23774,7 +23789,7 @@ import { ChevronDownIcon as ChevronDownIcon8 } from "@100mslive/react-icons";
|
|
23774
23789
|
// src/Prebuilt/components/Chat/ChatBody.tsx
|
23775
23790
|
init_define_process_env();
|
23776
23791
|
import React108, { Fragment as Fragment10, useCallback as useCallback26, useEffect as useEffect26, useLayoutEffect, useMemo as useMemo10, useRef as useRef19, useState as useState46 } from "react";
|
23777
|
-
import { useMedia as
|
23792
|
+
import { useMedia as useMedia12 } from "react-use";
|
23778
23793
|
import AutoSizer from "react-virtualized-auto-sizer";
|
23779
23794
|
import { VariableSizeList } from "react-window";
|
23780
23795
|
import {
|
@@ -24101,7 +24116,7 @@ var ChatActions = ({
|
|
24101
24116
|
// src/Prebuilt/components/Chat/EmptyChat.tsx
|
24102
24117
|
init_define_process_env();
|
24103
24118
|
import React107 from "react";
|
24104
|
-
import { useMedia as
|
24119
|
+
import { useMedia as useMedia11 } from "react-use";
|
24105
24120
|
|
24106
24121
|
// src/Prebuilt/images/empty-chat.svg
|
24107
24122
|
var empty_chat_default = 'data:image/svg+xml,<svg width="184" height="133" viewBox="0 0 184 133" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path fill-rule="evenodd" clip-rule="evenodd" d="M144.885 91.3998C145.318 91.023 145.861 90.7947 146.433 90.7483L146.446 90.7473L169.355 89.1614C169.702 89.1376 170.049 89.2101 170.358 89.3712C170.662 89.5305 170.918 89.7702 171.096 90.0642C171.098 90.0672 171.1 90.0703 171.102 90.0734L171.104 90.0766C171.281 90.3744 171.373 90.7154 171.369 91.062C171.365 91.4097 171.265 91.7496 171.08 92.044L158.85 111.504C158.539 111.986 158.081 112.356 157.544 112.56C157.007 112.764 156.419 112.791 155.866 112.636C155.313 112.482 154.823 112.155 154.469 111.703C154.115 111.25 153.915 110.697 153.898 110.123C153.898 110.109 153.898 110.094 153.898 110.08L153.996 100.307L145.347 95.7858C145.334 95.779 145.321 95.7721 145.308 95.7649C144.811 95.4785 144.417 95.0404 144.186 94.5146C143.955 93.9888 143.898 93.4029 144.024 92.8425C144.15 92.2821 144.451 91.7765 144.885 91.3998ZM167.441 91.0088L146.603 92.8952C146.49 92.9053 146.383 92.9508 146.298 93.0251C146.211 93.1005 146.151 93.2016 146.125 93.3137C146.1 93.4257 146.112 93.5429 146.158 93.6481C146.202 93.7484 146.276 93.8327 146.369 93.89L155.26 98.296L167.441 91.0088ZM156.32 100.171L168.547 92.8564L157.039 110.339C156.976 110.434 156.886 110.506 156.78 110.547C156.673 110.587 156.555 110.593 156.444 110.562C156.334 110.531 156.236 110.466 156.165 110.375C156.097 110.289 156.058 110.184 156.052 110.075L156.32 100.171Z" fill="%23444954"/>%0A<path d="M83.3248 35.4156C71.7182 47.1017 51.2098 75.5175 62.0292 95.6918C75.5536 120.91 140.453 79.2983 115.364 67.6657C90.2756 56.0331 65.8818 122.018 101.568 120.391C116.398 118.62 131.221 114.699 145.703 105.512" stroke="%23293042" stroke-width="2.25" stroke-dasharray="6 6"/>%0A<rect x="0.00256348" y="0.5" width="173.524" height="58.3398" rx="29.1699" fill="%23272A31"/>%0A<g opacity="0.4">%0A<rect x="24.7526" y="20.9312" width="111" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<g opacity="0.4">%0A<rect x="38.2526" y="34.4312" width="110.25" height="4.5" rx="2.25" fill="%23444954"/>%0A</g>%0A<path d="M40.3918 71.5547L28.4246 55.0999L52.3589 55.0999L40.3918 71.5547Z" fill="%23272A31"/>%0A</svg>%0A';
|
@@ -24111,7 +24126,7 @@ var EmptyChat = () => {
|
|
24111
24126
|
var _a8;
|
24112
24127
|
const { elements } = useRoomLayoutConferencingScreen();
|
24113
24128
|
const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
|
24114
|
-
const isMobile =
|
24129
|
+
const isMobile = useMedia11(config.media.md);
|
24115
24130
|
const canSendMessages = elements.chat && (elements.chat.public_chat_enabled || elements.chat.private_chat_enabled || elements.chat.roles_whitelist && elements.chat.roles_whitelist.length) && !isLocalPeerBlacklisted;
|
24116
24131
|
const isMobileHLSStream = useMobileHLSStream();
|
24117
24132
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -24275,7 +24290,7 @@ var ChatMessage = React108.memo(
|
|
24275
24290
|
var _a8, _b7, _c;
|
24276
24291
|
const { elements } = useRoomLayoutConferencingScreen();
|
24277
24292
|
const rowRef = useRef19(null);
|
24278
|
-
const isMobile =
|
24293
|
+
const isMobile = useMedia12(config.media.md);
|
24279
24294
|
const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
|
24280
24295
|
const isOverlay = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
|
24281
24296
|
const localPeerId = useHMSStore55(selectLocalPeerID10);
|
@@ -24552,7 +24567,7 @@ var PinnedBy = ({
|
|
24552
24567
|
// src/Prebuilt/components/Chat/ChatFooter.tsx
|
24553
24568
|
init_define_process_env();
|
24554
24569
|
import React111, { useCallback as useCallback28, useEffect as useEffect28, useRef as useRef21, useState as useState49 } from "react";
|
24555
|
-
import { useMedia as
|
24570
|
+
import { useMedia as useMedia15 } from "react-use";
|
24556
24571
|
import data2 from "@emoji-mart/data";
|
24557
24572
|
import Picker from "@emoji-mart/react";
|
24558
24573
|
import { selectLocalPeer as selectLocalPeer3, useHMSActions as useHMSActions37, useHMSStore as useHMSStore58 } from "@100mslive/react-sdk";
|
@@ -24561,13 +24576,13 @@ import { EmojiIcon as EmojiIcon3, PauseCircleIcon as PauseCircleIcon2, SendIcon,
|
|
24561
24576
|
// src/Prebuilt/components/Chat/ChatSelectorContainer.tsx
|
24562
24577
|
init_define_process_env();
|
24563
24578
|
import React110, { useState as useState48 } from "react";
|
24564
|
-
import { useMedia as
|
24579
|
+
import { useMedia as useMedia14 } from "react-use";
|
24565
24580
|
import { ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon as ChevronUpIcon5, CrossIcon as CrossIcon19, GroupIcon, PersonIcon as PersonIcon2 } from "@100mslive/react-icons";
|
24566
24581
|
|
24567
24582
|
// src/Prebuilt/components/Chat/ChatSelector.tsx
|
24568
24583
|
init_define_process_env();
|
24569
24584
|
import React109, { useMemo as useMemo11, useState as useState47 } from "react";
|
24570
|
-
import { useMedia as
|
24585
|
+
import { useMedia as useMedia13 } from "react-use";
|
24571
24586
|
import {
|
24572
24587
|
HMSPeerType as HMSPeerType3,
|
24573
24588
|
selectMessagesUnreadCountByPeerID,
|
@@ -24587,7 +24602,7 @@ var SelectorItem = ({
|
|
24587
24602
|
unreadCount,
|
24588
24603
|
icon = void 0
|
24589
24604
|
}) => {
|
24590
|
-
const isMobile =
|
24605
|
+
const isMobile = useMedia13(config.media.md);
|
24591
24606
|
const Root28 = !isMobile ? Dropdown.Item : (_a8) => {
|
24592
24607
|
var _b7 = _a8, { children } = _b7, rest = __objRest(_b7, ["children"]);
|
24593
24608
|
return /* @__PURE__ */ React109.createElement(Flex, __spreadProps(__spreadValues({}, rest), { css: __spreadValues({ p: "$6 $8" }, rest.css) }), children);
|
@@ -24738,7 +24753,7 @@ var ChatSelector = ({ role, peerId }) => {
|
|
24738
24753
|
var ChatSelectorContainer = () => {
|
24739
24754
|
var _a8, _b7;
|
24740
24755
|
const [open, setOpen] = useState48(false);
|
24741
|
-
const isMobile =
|
24756
|
+
const isMobile = useMedia14(config.media.md);
|
24742
24757
|
const { elements } = useRoomLayoutConferencingScreen();
|
24743
24758
|
const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
|
24744
24759
|
const isPublicChatEnabled = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled);
|
@@ -24955,7 +24970,7 @@ var ChatFooter = ({ onSend, children }) => {
|
|
24955
24970
|
const hmsActions = useHMSActions37();
|
24956
24971
|
const inputRef = useRef21(null);
|
24957
24972
|
const [draftMessage, setDraftMessage] = useChatDraftMessage();
|
24958
|
-
const isMobile =
|
24973
|
+
const isMobile = useMedia15(config.media.md);
|
24959
24974
|
const { elements, screenType } = useRoomLayoutConferencingScreen();
|
24960
24975
|
const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
|
24961
24976
|
const localPeer = useHMSStore58(selectLocalPeer3);
|
@@ -25196,7 +25211,7 @@ var ChatBlocked = () => {
|
|
25196
25211
|
init_define_process_env();
|
25197
25212
|
import React115, { useEffect as useEffect29, useState as useState50 } from "react";
|
25198
25213
|
import { useSwipeable } from "react-swipeable";
|
25199
|
-
import { useMedia as
|
25214
|
+
import { useMedia as useMedia16 } from "react-use";
|
25200
25215
|
import { selectSessionStore as selectSessionStore7, useHMSStore as useHMSStore60 } from "@100mslive/react-sdk";
|
25201
25216
|
import { PinIcon as PinIcon2, UnpinIcon } from "@100mslive/react-icons";
|
25202
25217
|
|
@@ -25257,7 +25272,7 @@ var PinnedMessage = () => {
|
|
25257
25272
|
const pinnedMessages = useHMSStore60(selectSessionStore7("pinnedMessages" /* PINNED_MESSAGES */));
|
25258
25273
|
const [pinnedMessageIndex, setPinnedMessageIndex] = useState50(0);
|
25259
25274
|
const { removePinnedMessage } = usePinnedMessages();
|
25260
|
-
const isMobile =
|
25275
|
+
const isMobile = useMedia16(config.media.md);
|
25261
25276
|
const { elements } = useRoomLayoutConferencingScreen();
|
25262
25277
|
const canUnpinMessage = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.allow_pinning_messages);
|
25263
25278
|
const [hideOverflow, setHideOverflow] = useState50(true);
|
@@ -25374,7 +25389,7 @@ var Chat = () => {
|
|
25374
25389
|
const hmsActions = useHMSActions39();
|
25375
25390
|
const vanillaStore = useHMSVanillaStore10();
|
25376
25391
|
const { enabled: isChatEnabled = true } = useHMSStore61(um("chatState" /* CHAT_STATE */)) || {};
|
25377
|
-
const isMobile =
|
25392
|
+
const isMobile = useMedia17(config.media.md);
|
25378
25393
|
const isMobileHLSStream = useMobileHLSStream();
|
25379
25394
|
const isLandscapeStream = useLandscapeHLSStream();
|
25380
25395
|
const scrollToBottom = useCallback30(
|
@@ -25667,7 +25682,7 @@ var SidePaneTabs = React119.memo(({ active = SIDE_PANE_OPTIONS.CHAT, hideTab = f
|
|
25667
25682
|
const showChat = !!(elements == null ? void 0 : elements.chat);
|
25668
25683
|
const showParticipants = !!(elements == null ? void 0 : elements.participant_list);
|
25669
25684
|
const hideTabs = !(showChat && showParticipants) || hideTab;
|
25670
|
-
const isMobile =
|
25685
|
+
const isMobile = useMedia18(config.media.md);
|
25671
25686
|
const isOverlayChat = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
|
25672
25687
|
const { off_stage_roles = [] } = (elements == null ? void 0 : elements.on_stage_exp) || {};
|
25673
25688
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
@@ -25849,7 +25864,7 @@ var TileConnection_default = TileConnection;
|
|
25849
25864
|
// src/Prebuilt/components/TileMenu/TileMenu.tsx
|
25850
25865
|
init_define_process_env();
|
25851
25866
|
import React122, { useState as useState53 } from "react";
|
25852
|
-
import { useMedia as
|
25867
|
+
import { useMedia as useMedia20 } from "react-use";
|
25853
25868
|
import {
|
25854
25869
|
selectLocalPeerID as selectLocalPeerID11,
|
25855
25870
|
selectPeerByID as selectPeerByID2,
|
@@ -25864,7 +25879,7 @@ import { CrossIcon as CrossIcon22, VerticalMenuIcon as VerticalMenuIcon8 } from
|
|
25864
25879
|
// src/Prebuilt/components/TileMenu/TileMenuContent.tsx
|
25865
25880
|
init_define_process_env();
|
25866
25881
|
import React121, { Fragment as Fragment11 } from "react";
|
25867
|
-
import { useMedia as
|
25882
|
+
import { useMedia as useMedia19 } from "react-use";
|
25868
25883
|
import {
|
25869
25884
|
selectPermissions as selectPermissions18,
|
25870
25885
|
selectSessionStore as selectSessionStore10,
|
@@ -26051,7 +26066,7 @@ var TileMenuContent = ({
|
|
26051
26066
|
const { sendEvent } = useCustomEvent2({
|
26052
26067
|
type: REMOTE_STOP_SCREENSHARE_TYPE
|
26053
26068
|
});
|
26054
|
-
const isMobile =
|
26069
|
+
const isMobile = useMedia19(config.media.md);
|
26055
26070
|
if (isLocal) {
|
26056
26071
|
return showPinAction || canMinimise || !userName || showSpotlight ? /* @__PURE__ */ React121.createElement(React121.Fragment, null, showPinAction && /* @__PURE__ */ React121.createElement(PinActions, { audioTrackID, videoTrackID }), showSpotlight && /* @__PURE__ */ React121.createElement(SpotlightActions, { peerId: peerID, onSpotLightClick: () => closeSheetOnClick() }), canMinimise && /* @__PURE__ */ React121.createElement(MinimiseInset, null), !userName && /* @__PURE__ */ React121.createElement(
|
26057
26072
|
StyledMenuTile.ItemButton,
|
@@ -26150,7 +26165,7 @@ var TileMenu = ({
|
|
26150
26165
|
const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
|
26151
26166
|
const track = useHMSStore67(selectTrackByID3(videoTrackID));
|
26152
26167
|
const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
|
26153
|
-
const isMobile =
|
26168
|
+
const isMobile = useMedia20(config.media.md);
|
26154
26169
|
const peer = useHMSStore67(selectPeerByID2(peerID));
|
26155
26170
|
const [showNameChangeModal, setShowNameChangeModal] = useState53(false);
|
26156
26171
|
useDropdownList({ open, name: "TileMenu" });
|
@@ -26350,7 +26365,7 @@ import { HMSVirtualBackgroundTypes as HMSVirtualBackgroundTypes3 } from "@100msl
|
|
26350
26365
|
import {
|
26351
26366
|
HMSRoomState as HMSRoomState4,
|
26352
26367
|
selectIsLargeRoom as selectIsLargeRoom3,
|
26353
|
-
selectIsLocalVideoEnabled as
|
26368
|
+
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled6,
|
26354
26369
|
selectIsLocalVideoPluginPresent,
|
26355
26370
|
selectLocalPeer as selectLocalPeer6,
|
26356
26371
|
selectRoomState as selectRoomState4,
|
@@ -26545,7 +26560,7 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
26545
26560
|
const hmsActions = useHMSActions42();
|
26546
26561
|
const localPeer = useHMSStore69(selectLocalPeer6);
|
26547
26562
|
const role = useHMSStore69(qt);
|
26548
|
-
const isVideoOn = useHMSStore69(
|
26563
|
+
const isVideoOn = useHMSStore69(selectIsLocalVideoEnabled6);
|
26549
26564
|
const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
|
26550
26565
|
const trackSelector = selectVideoTrackByID4(localPeer == null ? void 0 : localPeer.videoTrack);
|
26551
26566
|
const track = useHMSStore69(trackSelector);
|
@@ -26780,7 +26795,7 @@ var SidePane = ({
|
|
26780
26795
|
hideControls = false
|
26781
26796
|
}) => {
|
26782
26797
|
var _a8, _b7, _c, _d, _e, _f, _g;
|
26783
|
-
const isMobile =
|
26798
|
+
const isMobile = useMedia21(config.media.md);
|
26784
26799
|
const sidepane = useHMSStore70(selectAppData6(APP_DATA.sidePane));
|
26785
26800
|
const activeScreensharePeerId = useHMSStore70(selectAppData6(APP_DATA.activeScreensharePeerId));
|
26786
26801
|
const trackId = (_a8 = useHMSStore70(selectVideoTrackByPeerID4(activeScreensharePeerId))) == null ? void 0 : _a8.id;
|
@@ -26898,7 +26913,7 @@ var FullPageProgress_default = FullPageProgress;
|
|
26898
26913
|
// src/Prebuilt/components/Preview/PreviewForm.tsx
|
26899
26914
|
init_define_process_env();
|
26900
26915
|
import React130 from "react";
|
26901
|
-
import { useMedia as
|
26916
|
+
import { useMedia as useMedia22 } from "react-use";
|
26902
26917
|
import { JoinForm_JoinBtnType as JoinForm_JoinBtnType3 } from "@100mslive/types-prebuilt/elements/join_form";
|
26903
26918
|
import { useRecordingStreaming as useRecordingStreaming10 } from "@100mslive/react-sdk";
|
26904
26919
|
import { GoLiveIcon } from "@100mslive/react-icons";
|
@@ -26915,7 +26930,7 @@ var PreviewForm = ({
|
|
26915
26930
|
const formSubmit = (e) => {
|
26916
26931
|
e.preventDefault();
|
26917
26932
|
};
|
26918
|
-
const isMobile =
|
26933
|
+
const isMobile = useMedia22(config.media.md);
|
26919
26934
|
const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = useRecordingStreaming10();
|
26920
26935
|
const layout = useRoomLayout();
|
26921
26936
|
const { join_form: joinForm = {} } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
|
@@ -26976,7 +26991,7 @@ var getParticipantChipContent = (peerCount = 0) => {
|
|
26976
26991
|
var useLocalTileAspectRatio = () => {
|
26977
26992
|
const localPeer = useHMSStore71(selectLocalPeer7);
|
26978
26993
|
const videoTrack = useHMSStore71(selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack));
|
26979
|
-
const isMobile =
|
26994
|
+
const isMobile = useMedia23(config.media.md);
|
26980
26995
|
let aspectRatio = 0;
|
26981
26996
|
if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height)) {
|
26982
26997
|
aspectRatio = videoTrack.width / videoTrack.height;
|
@@ -27086,7 +27101,7 @@ var Container4 = styled("div", __spreadProps(__spreadValues({
|
|
27086
27101
|
var PreviewTile = ({ name, error }) => {
|
27087
27102
|
const localPeer = useHMSStore71(selectLocalPeer7);
|
27088
27103
|
const { isLocalAudioEnabled, toggleAudio } = useAVToggle3();
|
27089
|
-
const isVideoOn = useHMSStore71(
|
27104
|
+
const isVideoOn = useHMSStore71(selectIsLocalVideoEnabled7);
|
27090
27105
|
const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
|
27091
27106
|
const trackSelector = selectVideoTrackByID5(localPeer == null ? void 0 : localPeer.videoTrack);
|
27092
27107
|
const track = useHMSStore71(trackSelector);
|
@@ -27130,7 +27145,7 @@ var PreviewTile = ({ name, error }) => {
|
|
27130
27145
|
);
|
27131
27146
|
};
|
27132
27147
|
var PreviewControls = ({ hideSettings, vbEnabled }) => {
|
27133
|
-
const isMobile =
|
27148
|
+
const isMobile = useMedia23(config.media.md);
|
27134
27149
|
return /* @__PURE__ */ React131.createElement(
|
27135
27150
|
Flex,
|
27136
27151
|
{
|
@@ -27140,7 +27155,7 @@ var PreviewControls = ({ hideSettings, vbEnabled }) => {
|
|
27140
27155
|
mt: "$8"
|
27141
27156
|
}
|
27142
27157
|
},
|
27143
|
-
/* @__PURE__ */ React131.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ React131.createElement(AudioVideoToggle, null), vbEnabled
|
27158
|
+
/* @__PURE__ */ React131.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ React131.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ React131.createElement(VBToggle, null) : null),
|
27144
27159
|
!hideSettings ? /* @__PURE__ */ React131.createElement(PreviewSettings, null) : null
|
27145
27160
|
);
|
27146
27161
|
};
|
@@ -27153,7 +27168,7 @@ var PreviewJoin_default = PreviewJoin;
|
|
27153
27168
|
// src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx
|
27154
27169
|
init_define_process_env();
|
27155
27170
|
import React132 from "react";
|
27156
|
-
import { useMedia as
|
27171
|
+
import { useMedia as useMedia24 } from "react-use";
|
27157
27172
|
var RequestPrompt = ({
|
27158
27173
|
open = true,
|
27159
27174
|
onOpenChange,
|
@@ -27163,7 +27178,7 @@ var RequestPrompt = ({
|
|
27163
27178
|
onAction,
|
27164
27179
|
disableActions = false
|
27165
27180
|
}) => {
|
27166
|
-
const isMobile =
|
27181
|
+
const isMobile = useMedia24(config.media.md);
|
27167
27182
|
if (isMobile) {
|
27168
27183
|
return /* @__PURE__ */ React132.createElement(Sheet.Root, { open, onOpenChange }, /* @__PURE__ */ React132.createElement(Sheet.Content, { css: { py: "$8" } }, /* @__PURE__ */ React132.createElement(Text, { css: { fontWeight: "$semiBold", c: "$on_surface_high", "@md": { px: "$8" } } }, title), body, /* @__PURE__ */ React132.createElement(RequestActions, { actionText, onAction, disabled: disableActions })));
|
27169
27184
|
}
|
@@ -27173,7 +27188,7 @@ var RequestActions = ({
|
|
27173
27188
|
onAction,
|
27174
27189
|
actionText,
|
27175
27190
|
disabled = false
|
27176
|
-
}) => /* @__PURE__ */ React132.createElement(Flex, { justify: "center", align: "center", css: { width: "100%", gap: "$md", "@md": { mt: "$8", px: "$8" } } }, /* @__PURE__ */ React132.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ React132.createElement(Dialog.Close, { css: { width: "100%" } }, /* @__PURE__ */ React132.createElement(Button, { variant: "standard", outlined: true, css: { width: "100%" }, disabled }, "Decline"))), /* @__PURE__ */ React132.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ React132.createElement(Button, { variant: "primary", css: { width: "100%" }, onClick: onAction, disabled }, actionText)));
|
27191
|
+
}) => /* @__PURE__ */ React132.createElement(Flex, { justify: "center", align: "center", css: { width: "100%", gap: "$md", "@md": { mt: "$8", px: "$8" } } }, /* @__PURE__ */ React132.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ React132.createElement(Dialog.Close, { css: { width: "100%", height: "100%" }, asChild: true }, /* @__PURE__ */ React132.createElement(Button, { variant: "standard", outlined: true, css: { width: "100%", p: "$4 $8" }, disabled }, "Decline"))), /* @__PURE__ */ React132.createElement(Box, { css: { width: "50%" } }, /* @__PURE__ */ React132.createElement(Button, { variant: "primary", css: { width: "100%" }, onClick: onAction, disabled }, actionText)));
|
27177
27192
|
|
27178
27193
|
// src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx
|
27179
27194
|
var RoleChangeRequestModal = () => {
|
@@ -27270,14 +27285,14 @@ import {
|
|
27270
27285
|
// src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
|
27271
27286
|
init_define_process_env();
|
27272
27287
|
import React138, { useEffect as useEffect39, useMemo as useMemo15, useState as useState58 } from "react";
|
27273
|
-
import { useMedia as
|
27288
|
+
import { useMedia as useMedia27 } from "react-use";
|
27274
27289
|
import { selectLocalPeer as selectLocalPeer9, useHMSStore as useHMSStore74 } from "@100mslive/react-sdk";
|
27275
27290
|
|
27276
27291
|
// src/Prebuilt/components/InsetTile.tsx
|
27277
27292
|
init_define_process_env();
|
27278
27293
|
import React135, { useEffect as useEffect36, useRef as useRef23 } from "react";
|
27279
27294
|
import Draggable from "react-draggable";
|
27280
|
-
import { useMedia as
|
27295
|
+
import { useMedia as useMedia25 } from "react-use";
|
27281
27296
|
import {
|
27282
27297
|
selectIsAllowedToPublish as selectIsAllowedToPublish2,
|
27283
27298
|
selectLocalPeer as selectLocalPeer8,
|
@@ -27321,8 +27336,8 @@ var insetMaxWidthPx = 240;
|
|
27321
27336
|
var defaultMobileAspectRatio = 9 / 16;
|
27322
27337
|
var desktopAspectRatio = 1 / defaultMobileAspectRatio;
|
27323
27338
|
var InsetTile = ({ peerId }) => {
|
27324
|
-
const isMobile =
|
27325
|
-
const isLandscape =
|
27339
|
+
const isMobile = useMedia25(config.media.md);
|
27340
|
+
const isLandscape = useMedia25(config.media.ls);
|
27326
27341
|
const selector = peerId ? selectPeerByID3(peerId) : selectLocalPeer8;
|
27327
27342
|
const peer = useHMSStore73(selector);
|
27328
27343
|
const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
|
@@ -27482,7 +27497,7 @@ var Grid = React137.forwardRef(
|
|
27482
27497
|
// src/Prebuilt/components/hooks/useTileLayout.tsx
|
27483
27498
|
init_define_process_env();
|
27484
27499
|
import { useEffect as useEffect38, useMemo as useMemo14, useState as useState57 } from "react";
|
27485
|
-
import { useMeasure as useMeasure5, useMedia as
|
27500
|
+
import { useMeasure as useMeasure5, useMedia as useMedia26 } from "react-use";
|
27486
27501
|
import {
|
27487
27502
|
getPeersWithTiles,
|
27488
27503
|
selectTracksMap as selectTracksMap4,
|
@@ -27518,7 +27533,7 @@ var useTileLayout = ({
|
|
27518
27533
|
}) => {
|
27519
27534
|
const vanillaStore = useHMSVanillaStore11();
|
27520
27535
|
const [ref, { width, height }] = useMeasure5();
|
27521
|
-
const isMobile =
|
27536
|
+
const isMobile = useMedia26(config.media.lg);
|
27522
27537
|
const [pagesWithTiles, setPagesWithTiles] = useState57([]);
|
27523
27538
|
useEffect38(() => {
|
27524
27539
|
if (width === 0 || height === 0) {
|
@@ -27588,7 +27603,7 @@ var useTileLayout = ({
|
|
27588
27603
|
function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
|
27589
27604
|
var _a8;
|
27590
27605
|
const localPeer = useHMSStore74(selectLocalPeer9);
|
27591
|
-
const isMobile =
|
27606
|
+
const isMobile = useMedia27(config.media.md);
|
27592
27607
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
27593
27608
|
maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
|
27594
27609
|
let pageList = usePagesWithTiles({
|
@@ -27633,13 +27648,13 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
|
|
27633
27648
|
// src/Prebuilt/components/VideoLayouts/RoleProminence.tsx
|
27634
27649
|
init_define_process_env();
|
27635
27650
|
import React141, { useEffect as useEffect41, useState as useState60 } from "react";
|
27636
|
-
import { useMedia as
|
27651
|
+
import { useMedia as useMedia29 } from "react-use";
|
27637
27652
|
import { selectLocalPeer as selectLocalPeer10, useHMSStore as useHMSStore76 } from "@100mslive/react-sdk";
|
27638
27653
|
|
27639
27654
|
// src/Prebuilt/components/SecondaryTiles.tsx
|
27640
27655
|
init_define_process_env();
|
27641
27656
|
import React140, { useEffect as useEffect40, useRef as useRef24, useState as useState59 } from "react";
|
27642
|
-
import { useMedia as
|
27657
|
+
import { useMedia as useMedia28 } from "react-use";
|
27643
27658
|
import { selectAppData as selectAppData7, selectSessionStore as selectSessionStore11, selectTrackByID as selectTrackByID4, useHMSStore as useHMSStore75 } from "@100mslive/react-sdk";
|
27644
27659
|
|
27645
27660
|
// src/Prebuilt/components/VideoLayouts/ProminenceLayout.tsx
|
@@ -27724,7 +27739,7 @@ var ProminenceLayout = {
|
|
27724
27739
|
// src/Prebuilt/components/SecondaryTiles.tsx
|
27725
27740
|
var SecondaryTiles = ({ peers, onPageChange, onPageSize, edgeToEdge, hasSidebar }) => {
|
27726
27741
|
var _a8, _b7;
|
27727
|
-
const isMobile =
|
27742
|
+
const isMobile = useMedia28(config.media.md);
|
27728
27743
|
const maxTileCount = isMobile ? 2 : 4;
|
27729
27744
|
const [page, setPage] = useState59(0);
|
27730
27745
|
const pinnedTrackId = useHMSStore75(selectAppData7(APP_DATA.pinnedTrackId));
|
@@ -27826,7 +27841,7 @@ function RoleProminence({
|
|
27826
27841
|
const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
|
27827
27842
|
const localPeer = useHMSStore76(selectLocalPeer10);
|
27828
27843
|
const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
|
27829
|
-
const isMobile =
|
27844
|
+
const isMobile = useMedia29(config.media.md);
|
27830
27845
|
let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
|
27831
27846
|
maxTileCount = isMobile ? 4 : maxTileCount;
|
27832
27847
|
const pageList = usePagesWithTiles({
|
@@ -27868,13 +27883,13 @@ function RoleProminence({
|
|
27868
27883
|
// src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
|
27869
27884
|
init_define_process_env();
|
27870
27885
|
import React145, { useEffect as useEffect42, useMemo as useMemo17, useState as useState63 } from "react";
|
27871
|
-
import { useMedia as
|
27886
|
+
import { useMedia as useMedia31 } from "react-use";
|
27872
27887
|
import { selectPeersScreenSharing, useHMSStore as useHMSStore78 } from "@100mslive/react-sdk";
|
27873
27888
|
|
27874
27889
|
// src/Prebuilt/components/ScreenshareTile.tsx
|
27875
27890
|
init_define_process_env();
|
27876
27891
|
import React144, { useRef as useRef25, useState as useState62 } from "react";
|
27877
|
-
import { useFullscreen as useFullscreen2, useMedia as
|
27892
|
+
import { useFullscreen as useFullscreen2, useMedia as useMedia30 } from "react-use";
|
27878
27893
|
import screenfull2 from "screenfull";
|
27879
27894
|
import {
|
27880
27895
|
selectLocalPeerID as selectLocalPeerID13,
|
@@ -28042,7 +28057,7 @@ var Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
|
|
28042
28057
|
const peer = useHMSStore77(selectPeerByID4(peerId));
|
28043
28058
|
const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
|
28044
28059
|
const [isMouseHovered, setIsMouseHovered] = useState62(false);
|
28045
|
-
const isMobile =
|
28060
|
+
const isMobile = useMedia30(config.media.md);
|
28046
28061
|
const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
|
28047
28062
|
const fullscreenRef = useRef25(null);
|
28048
28063
|
const [fullscreen, setFullscreen] = useState62(false);
|
@@ -28134,7 +28149,7 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
|
28134
28149
|
const [page, setPage] = useState63(0);
|
28135
28150
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
28136
28151
|
const activeSharePeer = peersSharing[page];
|
28137
|
-
const isMobile =
|
28152
|
+
const isMobile = useMedia31(config.media.md);
|
28138
28153
|
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
28139
28154
|
const secondaryPeers = useMemo17(() => {
|
28140
28155
|
if (layoutMode === LayoutMode.SPOTLIGHT) {
|
@@ -28180,10 +28195,10 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
|
28180
28195
|
// src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
|
28181
28196
|
init_define_process_env();
|
28182
28197
|
import React146, { useEffect as useEffect43, useMemo as useMemo18 } from "react";
|
28183
|
-
import { useMedia as
|
28198
|
+
import { useMedia as useMedia32 } from "react-use";
|
28184
28199
|
import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore79, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
|
28185
28200
|
var WhiteboardEmbed = () => {
|
28186
|
-
const isMobile =
|
28201
|
+
const isMobile = useMedia32(config.media.md);
|
28187
28202
|
const { iframeRef } = useWhiteboard2(isMobile);
|
28188
28203
|
return /* @__PURE__ */ React146.createElement(
|
28189
28204
|
Box,
|
@@ -28219,7 +28234,7 @@ var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
|
|
28219
28234
|
const whiteboard = useHMSStore79(selectWhiteboard);
|
28220
28235
|
const whiteboardOwner = useHMSStore79(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
|
28221
28236
|
const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
|
28222
|
-
const isMobile =
|
28237
|
+
const isMobile = useMedia32(config.media.md);
|
28223
28238
|
const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
|
28224
28239
|
const secondaryPeers = useMemo18(() => {
|
28225
28240
|
if (layoutMode === LayoutMode.SPOTLIGHT) {
|
@@ -28656,7 +28671,7 @@ var useCloseScreenshareWhiteboard = () => {
|
|
28656
28671
|
};
|
28657
28672
|
|
28658
28673
|
// src/Prebuilt/layouts/VideoStreamingSection.tsx
|
28659
|
-
var HLSView = React151.lazy(() => import("./HLSView-
|
28674
|
+
var HLSView = React151.lazy(() => import("./HLSView-QKPBZFZP.js"));
|
28660
28675
|
var VideoStreamingSection = ({
|
28661
28676
|
screenType,
|
28662
28677
|
elements,
|
@@ -28745,17 +28760,17 @@ init_define_process_env();
|
|
28745
28760
|
// src/Prebuilt/components/Header/Header.tsx
|
28746
28761
|
init_define_process_env();
|
28747
28762
|
import React154 from "react";
|
28748
|
-
import { useMedia as
|
28763
|
+
import { useMedia as useMedia34 } from "react-use";
|
28749
28764
|
import { HMSRoomState as HMSRoomState6, selectRoomState as selectRoomState6, useHMSStore as useHMSStore85 } from "@100mslive/react-sdk";
|
28750
28765
|
|
28751
28766
|
// src/Prebuilt/components/Header/RoomDetailsHeader.tsx
|
28752
28767
|
init_define_process_env();
|
28753
28768
|
import React152 from "react";
|
28754
|
-
import { useMedia as
|
28769
|
+
import { useMedia as useMedia33 } from "react-use";
|
28755
28770
|
import { ChevronRightIcon as ChevronRightIcon5 } from "@100mslive/react-icons";
|
28756
28771
|
var RoomDetailsHeader = () => {
|
28757
28772
|
const { title, description } = useRoomLayoutHeader();
|
28758
|
-
const isMobile =
|
28773
|
+
const isMobile = useMedia33(config.media.md);
|
28759
28774
|
const clipLength = 30;
|
28760
28775
|
const toggleDetailsPane = useSidepaneToggle(SIDE_PANE_OPTIONS.ROOM_DETAILS);
|
28761
28776
|
const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
|
@@ -28777,7 +28792,7 @@ init_define_process_env();
|
|
28777
28792
|
import React153 from "react";
|
28778
28793
|
import {
|
28779
28794
|
DeviceType as DeviceType3,
|
28780
|
-
selectIsLocalVideoEnabled as
|
28795
|
+
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled8,
|
28781
28796
|
selectLocalVideoTrackID as selectLocalVideoTrackID3,
|
28782
28797
|
selectVideoTrackByID as selectVideoTrackByID7,
|
28783
28798
|
useDevices as useDevices3,
|
@@ -28796,7 +28811,7 @@ var CamaraFlipActions = () => {
|
|
28796
28811
|
const actions = useHMSActions46();
|
28797
28812
|
const { allDevices } = useDevices3();
|
28798
28813
|
const { videoInput } = allDevices;
|
28799
|
-
const isVideoOn = useHMSStore84(
|
28814
|
+
const isVideoOn = useHMSStore84(selectIsLocalVideoEnabled8);
|
28800
28815
|
const videoTrackId = useHMSStore84(selectLocalVideoTrackID3);
|
28801
28816
|
const localVideoTrack = useHMSStore84(selectVideoTrackByID7(videoTrackId));
|
28802
28817
|
if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
|
@@ -28935,7 +28950,7 @@ var SelectWithLabel = ({ label, icon = /* @__PURE__ */ React153.createElement(Re
|
|
28935
28950
|
// src/Prebuilt/components/Header/Header.tsx
|
28936
28951
|
var Header2 = () => {
|
28937
28952
|
const roomState = useHMSStore85(selectRoomState6);
|
28938
|
-
const isMobile =
|
28953
|
+
const isMobile = useMedia34(config.media.md);
|
28939
28954
|
if (roomState !== HMSRoomState6.Connected) {
|
28940
28955
|
return /* @__PURE__ */ React154.createElement(React154.Fragment, null);
|
28941
28956
|
}
|
@@ -29278,7 +29293,7 @@ import { useEffect as useEffect53 } from "react";
|
|
29278
29293
|
import {
|
29279
29294
|
selectAppData as selectAppData10,
|
29280
29295
|
selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
|
29281
|
-
selectIsLocalVideoEnabled as
|
29296
|
+
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled9,
|
29282
29297
|
useHMSActions as useHMSActions48,
|
29283
29298
|
useHMSVanillaStore as useHMSVanillaStore14
|
29284
29299
|
} from "@100mslive/react-sdk";
|
@@ -29293,7 +29308,7 @@ var KeyboardInputManager = class {
|
|
29293
29308
|
yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
|
29294
29309
|
}));
|
29295
29310
|
__privateAdd(this, _toggleVideo, () => __async(this, null, function* () {
|
29296
|
-
const enabled = __privateGet(this, _store).getState(
|
29311
|
+
const enabled = __privateGet(this, _store).getState(selectIsLocalVideoEnabled9);
|
29297
29312
|
yield __privateGet(this, _actions).setLocalVideoEnabled(!enabled);
|
29298
29313
|
}));
|
29299
29314
|
__privateAdd(this, _hideSidepane, () => {
|
@@ -29505,12 +29520,12 @@ var LeaveScreen = () => {
|
|
29505
29520
|
// src/Prebuilt/components/MwebLandscapePrompt.tsx
|
29506
29521
|
init_define_process_env();
|
29507
29522
|
import React160, { useEffect as useEffect55, useState as useState66 } from "react";
|
29508
|
-
import { useMedia as
|
29523
|
+
import { useMedia as useMedia35 } from "react-use";
|
29509
29524
|
import { match as match14, P as P5 } from "ts-pattern";
|
29510
29525
|
import { RefreshIcon } from "@100mslive/react-icons";
|
29511
29526
|
var MwebLandscapePrompt = () => {
|
29512
29527
|
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState66(false);
|
29513
|
-
const isLandscape =
|
29528
|
+
const isLandscape = useMedia35(config.media.ls);
|
29514
29529
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
29515
29530
|
useEffect55(() => {
|
29516
29531
|
var _a8;
|
@@ -30007,7 +30022,7 @@ var PeerNotifications = () => {
|
|
30007
30022
|
// src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
|
30008
30023
|
init_define_process_env();
|
30009
30024
|
import React165, { useEffect as useEffect60, useState as useState68 } from "react";
|
30010
|
-
import { useMedia as
|
30025
|
+
import { useMedia as useMedia36 } from "react-use";
|
30011
30026
|
import { HMSNotificationTypes as HMSNotificationTypes5, useHMSNotifications as useHMSNotifications5 } from "@100mslive/react-sdk";
|
30012
30027
|
|
30013
30028
|
// src/Prebuilt/images/android-perm-1.png
|
@@ -30021,7 +30036,7 @@ function PermissionErrorModal() {
|
|
30021
30036
|
const notification = useHMSNotifications5(HMSNotificationTypes5.ERROR);
|
30022
30037
|
const [deviceType, setDeviceType] = useState68("");
|
30023
30038
|
const [isSystemError, setIsSystemError] = useState68(false);
|
30024
|
-
const isMobile =
|
30039
|
+
const isMobile = useMedia36(config.media.md);
|
30025
30040
|
useEffect60(() => {
|
30026
30041
|
var _a8, _b7, _c, _d, _e;
|
30027
30042
|
if (!notification || ((_a8 = notification.data) == null ? void 0 : _a8.code) !== 3001 && ((_b7 = notification.data) == null ? void 0 : _b7.code) !== 3011 || ((_c = notification.data) == null ? void 0 : _c.code) === 3001 && ((_d = notification.data) == null ? void 0 : _d.message.includes("screen"))) {
|
@@ -30505,7 +30520,7 @@ var Sheet2 = () => {
|
|
30505
30520
|
// src/Prebuilt/plugins/FlyingEmoji.jsx
|
30506
30521
|
init_define_process_env();
|
30507
30522
|
import React175, { useCallback as useCallback37, useEffect as useEffect67, useMemo as useMemo21, useState as useState73 } from "react";
|
30508
|
-
import { useMedia as
|
30523
|
+
import { useMedia as useMedia37 } from "react-use";
|
30509
30524
|
import {
|
30510
30525
|
selectLocalPeerID as selectLocalPeerID17,
|
30511
30526
|
selectPeerNameByID as selectPeerNameByID6,
|
@@ -30540,7 +30555,7 @@ function FlyingEmoji() {
|
|
30540
30555
|
const localPeerId = useHMSStore95(selectLocalPeerID17);
|
30541
30556
|
const vanillaStore = useHMSVanillaStore17();
|
30542
30557
|
const [emojis, setEmojis] = useState73([]);
|
30543
|
-
const isMobile =
|
30558
|
+
const isMobile = useMedia37(config.media.md);
|
30544
30559
|
const startingPoints = useMemo21(() => getStartingPoints(isMobile), [isMobile]);
|
30545
30560
|
const showFlyingEmoji = useCallback37(
|
30546
30561
|
({ emojiId, senderId }) => {
|
@@ -31030,4 +31045,4 @@ lodash/lodash.js:
|
|
31030
31045
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
31031
31046
|
*)
|
31032
31047
|
*/
|
31033
|
-
//# sourceMappingURL=chunk-
|
31048
|
+
//# sourceMappingURL=chunk-LVXGI4HW.js.map
|