@100mslive/roomkit-react 0.3.17-alpha.1 → 0.3.17-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
107
107
  var define_process_env_default;
108
108
  var init_define_process_env = __esm({
109
109
  "<define:process.env>"() {
110
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.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.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "589", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:1839", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10143763991", 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: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", 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: "643ed4a2d79963ce78c8539272c639d33ab5a93b977b148da9d4cd26f3365d28", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722254244580-0.7597921654222386:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722254244381-0.5197699882516091:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722254218535-0.07559875299263608:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722254218346-0.7948146992289666:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5d9ac9a8-777a-47cd-b693-6136da04d5f6", INVOCATION_ID: "b157570d98a943c18f1a5bbcd1444fa2", 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: "618", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 6", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.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", GITHUB_SHA: "4d8b6da71642585295d7dfc3b05c43809f35ea8c", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_847b959f-ef0c-4a4f-aa8b-cb5aa548be8f" };
110
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0e37254f-bc19-4440-b761-919f293f6b6f", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.7-alpha.3", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.17-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0e37254f-bc19-4440-b761-919f293f6b6f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.17-alpha.3", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.11", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.9", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "591", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.12/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240721.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.5/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:18997", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.17-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "10176675555", 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: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", 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: "455f367230d30eee00ec06833ecc19b508a1ae06122395c10d17b459ddf90139", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1722414197549-0.9842475188723876:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414197351-0.9464417725897856:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414171124-0.1772205229990096:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1722414170942-0.6331922006341999:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_c58a2169-06f8-439b-9740-2d84d1a25203", INVOCATION_ID: "3bf0a46eb6654fe1bab650b4899ff8cb", 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: "620", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 26", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.17-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.17-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "d5977b3f04bb2bbf1f89766d3e0e55fc189af53d", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_0e37254f-bc19-4440-b761-919f293f6b6f", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_0e37254f-bc19-4440-b761-919f293f6b6f", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.181+6/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0e37254f-bc19-4440-b761-919f293f6b6f" };
111
111
  }
112
112
  });
113
113
 
@@ -21125,7 +21125,7 @@ import { v4 as vo } from "uuid";
21125
21125
  import { v4 as Po } from "uuid";
21126
21126
  import { v4 as Ao } from "uuid";
21127
21127
  import { EventEmitter2 as Io } from "eventemitter2";
21128
- var Kt = __toESM(require_lib());
21128
+ var $t = __toESM(require_lib());
21129
21129
  import { EventEmitter2 as tn } from "eventemitter2";
21130
21130
  import { v4 as nn } from "uuid";
21131
21131
  import { EventEmitter2 as cn } from "eventemitter2";
@@ -21135,37 +21135,37 @@ import { v4 as hn } from "uuid";
21135
21135
  var ja = Object.defineProperty;
21136
21136
  var Ja = Object.defineProperties;
21137
21137
  var Qa = Object.getOwnPropertyDescriptors;
21138
- var ei = Object.getOwnPropertySymbols;
21139
- var as = Object.prototype.hasOwnProperty;
21140
- var os = Object.prototype.propertyIsEnumerable;
21141
- var ss = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21138
+ var Zt = Object.getOwnPropertySymbols;
21139
+ var ss = Object.prototype.hasOwnProperty;
21140
+ var as = Object.prototype.propertyIsEnumerable;
21141
+ var rs = (a2, e, t) => e in a2 ? ja(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
21142
21142
  var m = (a2, e) => {
21143
21143
  for (var t in e || (e = {}))
21144
- as.call(e, t) && ss(a2, t, e[t]);
21145
- if (ei)
21146
- for (var t of ei(e))
21147
- os.call(e, t) && ss(a2, t, e[t]);
21144
+ ss.call(e, t) && rs(a2, t, e[t]);
21145
+ if (Zt)
21146
+ for (var t of Zt(e))
21147
+ as.call(e, t) && rs(a2, t, e[t]);
21148
21148
  return a2;
21149
21149
  };
21150
21150
  var M = (a2, e) => Ja(a2, Qa(e));
21151
- var Sr = (a2, e) => {
21151
+ var mr = (a2, e) => {
21152
21152
  var t = {};
21153
21153
  for (var i in a2)
21154
- as.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21155
- if (a2 != null && ei)
21156
- for (var i of ei(a2))
21157
- e.indexOf(i) < 0 && os.call(a2, i) && (t[i] = a2[i]);
21154
+ ss.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
21155
+ if (a2 != null && Zt)
21156
+ for (var i of Zt(a2))
21157
+ e.indexOf(i) < 0 && as.call(a2, i) && (t[i] = a2[i]);
21158
21158
  return t;
21159
21159
  };
21160
21160
  var Xa = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
21161
- var Mr = Xa((Fc, no) => {
21162
- no.exports = { version: "0.12.17-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"] };
21161
+ var vr = Xa((Ic, no) => {
21162
+ no.exports = { version: "0.12.17-alpha.3", 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"] };
21163
21163
  });
21164
- var gr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(gr || {});
21164
+ var Sr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Sr || {});
21165
21165
  var Za = ((e) => (e.CHAT = "chat", e))(Za || {});
21166
- var ns = ((t) => (t.INFO = "info", t.ERROR = "error", t))(ns || {});
21167
- var Tr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(Tr || {});
21168
- var cs = ((t) => (t.audio = "audio", t.video = "video", t))(cs || {});
21166
+ var os = ((t) => (t.INFO = "info", t.ERROR = "error", t))(os || {});
21167
+ var gr = ((D) => (D.PEER_JOINED = "PEER_JOINED", D.PEER_LEFT = "PEER_LEFT", D.PEER_LIST = "PEER_LIST", D.NEW_MESSAGE = "NEW_MESSAGE", D.ERROR = "ERROR", D.RECONNECTING = "RECONNECTING", D.RECONNECTED = "RECONNECTED", D.TRACK_ADDED = "TRACK_ADDED", D.TRACK_REMOVED = "TRACK_REMOVED", D.TRACK_MUTED = "TRACK_MUTED", D.TRACK_UNMUTED = "TRACK_UNMUTED", D.TRACK_DEGRADED = "TRACK_DEGRADED", D.TRACK_RESTORED = "TRACK_RESTORED", D.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", D.ROLE_UPDATED = "ROLE_UPDATED", D.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", D.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", D.ROOM_ENDED = "ROOM_ENDED", D.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", D.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", D.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", D.NAME_UPDATED = "NAME_UPDATED", D.METADATA_UPDATED = "METADATA_UPDATED", D.POLL_CREATED = "POLL_CREATED", D.POLL_STARTED = "POLL_STARTED", D.POLL_STOPPED = "POLL_STOPPED", D.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", D.POLLS_LIST = "POLLS_LIST", D.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", D.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", D))(gr || {});
21168
+ var ns = ((t) => (t.audio = "audio", t.video = "video", t))(ns || {});
21169
21169
  function xe(a2, e) {
21170
21170
  let t, i;
21171
21171
  if (e)
@@ -21184,13 +21184,13 @@ function pt(a2) {
21184
21184
  function eo(a2) {
21185
21185
  return a2 && a2.source === "screen";
21186
21186
  }
21187
- function ri(a2) {
21187
+ function ii(a2) {
21188
21188
  return a2 && a2.source === "audioplaylist";
21189
21189
  }
21190
21190
  function ht(a2) {
21191
21191
  return a2 && a2.source === "videoplaylist";
21192
21192
  }
21193
- function ds(a2) {
21193
+ function cs(a2) {
21194
21194
  return a2 ? !!(a2 != null && a2.degraded) : false;
21195
21195
  }
21196
21196
  function je(a2, e) {
@@ -21201,7 +21201,7 @@ function mt(a2) {
21201
21201
  let e = false, t = false, i = false;
21202
21202
  return (r = a2 == null ? void 0 : a2.publishParams) != null && r.allowed && (e = a2.publishParams.allowed.includes("video"), t = a2.publishParams.allowed.includes("audio"), i = a2.publishParams.allowed.includes("screen")), { video: e, audio: t, screen: i };
21203
21203
  }
21204
- var us = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(us || {});
21204
+ var ls = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(ls || {});
21205
21205
  var to = typeof window != "undefined" && typeof window.expect != "undefined";
21206
21206
  var d = class {
21207
21207
  static v(e, ...t) {
@@ -21269,18 +21269,18 @@ var d = class {
21269
21269
  }
21270
21270
  };
21271
21271
  d.level = to ? 7 : 0;
21272
- var ge = new import_ua_parser_js.UAParser();
21273
- var O = typeof window != "undefined";
21274
- var ps;
21275
- var Ue = typeof window == "undefined" && !((ps = ge.getBrowser().name) != null && ps.toLowerCase().includes("electron"));
21272
+ var Te = new import_ua_parser_js.UAParser();
21273
+ var U = typeof window != "undefined";
21274
+ var us;
21275
+ var Ue = typeof window == "undefined" && !((us = Te.getBrowser().name) != null && us.toLowerCase().includes("electron"));
21276
21276
  var ro = () => !Ue;
21277
21277
  var ic = ro();
21278
+ var ps;
21278
21279
  var hs;
21279
- var ms;
21280
- var gs = ((ms = (hs = ge.getBrowser()) == null ? void 0 : hs.name) == null ? void 0 : ms.toLowerCase()) === "firefox";
21280
+ var gs = ((hs = (ps = Te.getBrowser()) == null ? void 0 : ps.name) == null ? void 0 : hs.toLowerCase()) === "firefox";
21281
21281
  var Ts = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ts || {});
21282
21282
  function so() {
21283
- if (O && window) {
21283
+ if (U && window) {
21284
21284
  let a2 = window.location.hostname;
21285
21285
  return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
21286
21286
  }
@@ -21425,7 +21425,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
21425
21425
  }, NoEntryPlaying(a2, e) {
21426
21426
  return new f(k.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
21427
21427
  } } };
21428
- var vr = class {
21428
+ var fr = class {
21429
21429
  constructor() {
21430
21430
  this.valuesMap = /* @__PURE__ */ new Map();
21431
21431
  }
@@ -21452,19 +21452,19 @@ var vr = class {
21452
21452
  };
21453
21453
  var fs = () => {
21454
21454
  try {
21455
- O && !localStorage && (window.localStorage = new vr());
21455
+ U && !localStorage && (window.localStorage = new fr());
21456
21456
  } catch (a2) {
21457
21457
  d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
21458
21458
  }
21459
21459
  };
21460
- var le = class {
21460
+ var ue = class {
21461
21461
  constructor(e) {
21462
21462
  this.key = e;
21463
21463
  this.storage = null;
21464
21464
  }
21465
21465
  getStorage() {
21466
21466
  try {
21467
- return O && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21467
+ return U && !this.storage && (fs(), this.storage = window.localStorage), this.storage;
21468
21468
  } catch (e) {
21469
21469
  return d.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
21470
21470
  }
@@ -21485,27 +21485,27 @@ var le = class {
21485
21485
  }
21486
21486
  };
21487
21487
  var vs = () => {
21488
- let a2, e = new le("hms-analytics-deviceId"), t = e.get();
21488
+ let a2, e = new ue("hms-analytics-deviceId"), t = e.get();
21489
21489
  return t ? a2 = t : (a2 = oo(), e.set(a2)), a2;
21490
21490
  };
21491
21491
  function oe(a2) {
21492
21492
  return a2 != null;
21493
21493
  }
21494
- var ys = Mr().version;
21495
- function ft(a2 = "prod", e) {
21494
+ var ys = vr().version;
21495
+ function Tt(a2 = "prod", e) {
21496
21496
  let t = "web", i = Qe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
21497
21497
  if (Ue)
21498
21498
  return ks({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: ys, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21499
- let r = ge.getOS(), s = ge.getDevice(), o = ge.getBrowser(), n = yr(`web_${r.name}`), l = r.version || "", u = yr(`${o.name}_${o.version}`), p = u;
21500
- return s.type && (p = `${yr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21499
+ let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n = Mr(`web_${r.name}`), l = r.version || "", u = Mr(`${o.name}_${o.version}`), p = u;
21500
+ return s.type && (p = `${Mr(`${s.vendor}_${s.type}`)}/${u}`), ks({ os: n, os_version: l, sdk: t, sdk_version: ys, device_model: p, env: i, domain: Qe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: e == null ? void 0 : e.type, framework_version: e == null ? void 0 : e.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
21501
21501
  }
21502
- function yr(a2) {
21502
+ function Mr(a2) {
21503
21503
  return a2.replace(/ /g, "_");
21504
21504
  }
21505
21505
  var ks = (a2, e = ",") => Object.keys(a2).filter((t) => oe(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
21506
21506
  var H = class {
21507
21507
  constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
21508
- this.metadata = { peer: {}, userAgent: ft() };
21508
+ this.metadata = { peer: {}, userAgent: Tt() };
21509
21509
  this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = co(), this.device_id = vs();
21510
21510
  }
21511
21511
  toSignalParams() {
@@ -21522,12 +21522,12 @@ var y = class {
21522
21522
  return new H({ name: i, level: r, properties: s });
21523
21523
  }
21524
21524
  static preview(i) {
21525
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21525
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21526
21526
  let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
21527
21527
  return new H({ name: s, level: o, properties: n });
21528
21528
  }
21529
21529
  static join(i) {
21530
- var r = i, { error: e } = r, t = Sr(r, ["error"]);
21530
+ var r = i, { error: e } = r, t = mr(r, ["error"]);
21531
21531
  let s = this.eventNameFor("join", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(M(m({}, t), { is_preview_called: !!t.is_preview_called }), e);
21532
21532
  return new H({ name: s, level: o, properties: n });
21533
21533
  }
@@ -21597,6 +21597,9 @@ var y = class {
21597
21597
  static krispStop() {
21598
21598
  return new H({ name: "krisp.stop", level: 1 });
21599
21599
  }
21600
+ static interruption(e, t, i) {
21601
+ return new H({ name: `${e ? "interruption.start" : "interruption.stop"}`, level: 1, properties: m({ type: t }, i) });
21602
+ }
21600
21603
  static eventNameFor(e, t) {
21601
21604
  return `${e}.${t ? "success" : "failed"}`;
21602
21605
  }
@@ -21609,9 +21612,9 @@ var y = class {
21609
21612
  }
21610
21613
  };
21611
21614
  y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
21612
- var kr = class {
21615
+ var yr = class {
21613
21616
  constructor() {
21614
- this.storage = new le("hms-device-selection");
21617
+ this.storage = new ue("hms-device-selection");
21615
21618
  this.remember = false;
21616
21619
  this.TAG = "[HMSDeviceStorage]";
21617
21620
  }
@@ -21643,10 +21646,10 @@ var kr = class {
21643
21646
  return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
21644
21647
  }
21645
21648
  };
21646
- var Q = new kr();
21647
- var Pr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Pr || {});
21648
- var Er = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Er || {});
21649
- function oi(a2, e = 300) {
21649
+ var Q = new yr();
21650
+ var kr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(kr || {});
21651
+ var Pr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Pr || {});
21652
+ function ai(a2, e = 300) {
21650
21653
  let t;
21651
21654
  return function(...i) {
21652
21655
  clearTimeout(t), t = void 0;
@@ -21656,15 +21659,15 @@ function oi(a2, e = 300) {
21656
21659
  }, e);
21657
21660
  };
21658
21661
  }
21659
- var Ar = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Ar || {});
21662
+ var Rr = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Rr || {});
21660
21663
  var Rs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Rs || {});
21661
21664
  var As = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(As || {});
21662
21665
  var Is = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Is || {});
21663
21666
  var Hs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Hs || {});
21664
21667
  var Cs = ((e) => (e.CAPTION = "caption", e))(Cs || {});
21665
- var Ir = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ir || {});
21668
+ var Ar = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(Ar || {});
21666
21669
  var Ls = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(Ls || {});
21667
- var Hr = class {
21670
+ var Ir = class {
21668
21671
  constructor() {
21669
21672
  this.TAG = "[HMSIntersectionObserverWrapper]";
21670
21673
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21687,12 +21690,12 @@ var Hr = class {
21687
21690
  this.createObserver();
21688
21691
  }
21689
21692
  isSupported() {
21690
- let e = O && typeof window.IntersectionObserver != "undefined";
21693
+ let e = U && typeof window.IntersectionObserver != "undefined";
21691
21694
  return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
21692
21695
  }
21693
21696
  };
21694
- var Ns = new Hr();
21695
- var Cr = class {
21697
+ var Ns = new Ir();
21698
+ var Hr = class {
21696
21699
  constructor() {
21697
21700
  this.TAG = "[HMSResizeObserverWrapper]";
21698
21701
  this.listeners = /* @__PURE__ */ new WeakMap();
@@ -21705,7 +21708,7 @@ var Cr = class {
21705
21708
  (t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
21706
21709
  };
21707
21710
  this.createObserver = () => {
21708
- this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(oi(this.handleResize, 300)));
21711
+ this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(ai(this.handleResize, 300)));
21709
21712
  };
21710
21713
  this.handleResize = (e) => {
21711
21714
  var t;
@@ -21715,16 +21718,16 @@ var Cr = class {
21715
21718
  this.createObserver();
21716
21719
  }
21717
21720
  isSupported() {
21718
- let e = O && typeof window.ResizeObserver != "undefined";
21721
+ let e = U && typeof window.ResizeObserver != "undefined";
21719
21722
  return e || d.w(this.TAG, "Resize Observer is not supported"), e;
21720
21723
  }
21721
21724
  };
21722
- var Os = new Cr();
21723
- var Lr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Lr || {});
21724
- var Dr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Dr || {});
21725
+ var Os = new Hr();
21726
+ var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
21727
+ var Lr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Lr || {});
21725
21728
  var Bs = "https://event.100ms.live/v2/client/report";
21726
21729
  var Vs = "https://event-nonprod.100ms.live/v2/client/report";
21727
- var Pt = Math.pow(2, 31) - 1;
21730
+ var kt = Math.pow(2, 31) - 1;
21728
21731
  var rt = class {
21729
21732
  };
21730
21733
  rt.makePeerId = () => Ao();
@@ -21733,15 +21736,15 @@ var Ho = (a2) => a2.errors;
21733
21736
  var Kh = createSelector(Ho, (a2) => a2.length === 0 ? null : a2.at(-1));
21734
21737
  var qh = createSelector(B, (a2) => a2.id);
21735
21738
  var K = (a2) => a2.peers;
21736
- var fi = (a2) => a2.messages.byID;
21739
+ var Ti = (a2) => a2.messages.byID;
21737
21740
  var Qs = (a2) => a2.messages.allIDs;
21738
21741
  var N = (a2) => a2.tracks;
21739
- var Fr = (a2) => a2.appData;
21742
+ var Vr = (a2) => a2.appData;
21740
21743
  var Co = (a2) => a2.speakers;
21741
21744
  var _e = createSelector([B], (a2) => a2 && a2.isConnected);
21742
21745
  var Qh = createSelector([_e, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
21743
21746
  var Lo = (a2) => a2.hideLocalPeer;
21744
- var me = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21747
+ var Se = createSelector([B, K, Lo], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
21745
21748
  var Do = createSelector(N, (a2) => Object.values(a2));
21746
21749
  var te = createSelector(B, K, (a2, e) => e[a2.localPeer]);
21747
21750
  var ye = createSelector(B, (a2) => a2.localPeer);
@@ -21754,7 +21757,7 @@ var Ys = createSelector([ae, Y, wo], (a2, e, t) => {
21754
21757
  let i = t ? [...t] : [];
21755
21758
  return a2 && i.unshift(a2), e && i.unshift(e), i;
21756
21759
  });
21757
- var Xh = createSelector(me, (a2) => a2.filter((e) => !e.isLocal));
21760
+ var Xh = createSelector(Se, (a2) => a2.filter((e) => !e.isLocal));
21758
21761
  var Zh = createSelector(K, Co, (a2, e) => {
21759
21762
  let t = Object.entries(e).sort((i, r) => {
21760
21763
  var n, l;
@@ -21768,7 +21771,7 @@ var Zh = createSelector(K, Co, (a2, e) => {
21768
21771
  }
21769
21772
  return null;
21770
21773
  });
21771
- var Wr = createSelector(te, N, (a2, e) => {
21774
+ var Gr = createSelector(te, N, (a2, e) => {
21772
21775
  let { video: t, audio: i } = xe(e, a2);
21773
21776
  return !!(t || i);
21774
21777
  });
@@ -21808,20 +21811,20 @@ var sm = createSelector(K, N, (a2, e) => {
21808
21811
  var am = createSelector(K, N, (a2, e) => {
21809
21812
  for (let t in e) {
21810
21813
  let i = e[t];
21811
- if (ri(i) && i.peerId)
21814
+ if (ii(i) && i.peerId)
21812
21815
  return a2[i.peerId];
21813
21816
  }
21814
21817
  });
21815
- var om = createSelector(Do, (a2) => a2.filter(ds));
21818
+ var om = createSelector(Do, (a2) => a2.filter(cs));
21816
21819
  var nm = createSelector(Qs, (a2) => a2.length);
21817
- var cm = createSelector(fi, (a2) => Object.values(a2).filter((e) => !e.read).length);
21818
- var At = createSelector(Qs, fi, (a2, e) => {
21820
+ var cm = createSelector(Ti, (a2) => Object.values(a2).filter((e) => !e.read).length);
21821
+ var Rt = createSelector(Qs, Ti, (a2, e) => {
21819
21822
  let t = [];
21820
21823
  return a2.forEach((i) => {
21821
21824
  t.push(e[i]);
21822
21825
  }), t;
21823
21826
  });
21824
- var No = createSelector(At, (a2) => a2.filter((e) => {
21827
+ var No = createSelector(Rt, (a2) => a2.filter((e) => {
21825
21828
  var t;
21826
21829
  return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
21827
21830
  }));
@@ -21830,14 +21833,14 @@ var ie = createSelector([B], (a2) => a2 && a2.roomState);
21830
21833
  var Zs = createSelector(ie, (a2) => a2 === "Preview");
21831
21834
  var lm = createSelector(B, (a2) => a2.roomState !== "Disconnected");
21832
21835
  var um = createSelector(B, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
21833
- var Se = (a2) => a2.roles;
21834
- var pm = createSelector([Se], (a2) => Object.keys(a2));
21835
- var at = createSelector([te, Se], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
21836
+ var ge = (a2) => a2.roles;
21837
+ var pm = createSelector([ge], (a2) => Object.keys(a2));
21838
+ var at = createSelector([te, ge], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
21836
21839
  var Oo = (a2) => {
21837
21840
  var e;
21838
21841
  return (e = a2.preview) == null ? void 0 : e.asRole;
21839
21842
  };
21840
- var ea = createSelector([Oo, Se], (a2, e) => a2 ? e[a2] : null);
21843
+ var ea = createSelector([Oo, ge], (a2, e) => a2 ? e[a2] : null);
21841
21844
  var hm = createSelector([at], (a2) => {
21842
21845
  var e;
21843
21846
  return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
@@ -21853,26 +21856,26 @@ var Mm = createSelector(B, (a2) => !!a2.isLargeRoom);
21853
21856
  var ym = createSelector(B, (a2) => !!a2.isEffectsEnabled);
21854
21857
  var km = createSelector(B, (a2) => a2.effectsKey);
21855
21858
  var ia = (a2) => a2.polls;
21856
- var Rm = createSelector(me, (a2) => a2.filter((e) => e.isHandRaised));
21859
+ var Rm = createSelector(Se, (a2) => a2.filter((e) => e.isHandRaised));
21857
21860
  var xo = (a2) => a2.whiteboards;
21858
21861
  var Am = createSelector(xo, (a2) => Object.values(a2)[0]);
21859
21862
  var sa = (a2 = "audio") => (e) => e.playlist[a2].list;
21860
- var $r = (a2 = "audio") => (e) => e.playlist[a2].selection;
21863
+ var Wr = (a2 = "audio") => (e) => e.playlist[a2].selection;
21861
21864
  var aa = (a2 = "audio") => (e) => e.playlist[a2].progress;
21862
21865
  var oa = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
21863
21866
  var na = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
21864
21867
  var ca = (a2 = "audio") => (e) => e.playlist[a2].volume;
21865
21868
  var da = (a2 = "audio") => createSelector(sa(a2), (e) => Object.values(e));
21866
- var la = (a2 = "audio") => createSelector(sa(a2), $r(a2), (e, t) => {
21869
+ var la = (a2 = "audio") => createSelector(sa(a2), Wr(a2), (e, t) => {
21867
21870
  if (t.id)
21868
21871
  return e[t.id];
21869
21872
  });
21870
- var ua = { selection: $r("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21871
- var pa = { selection: $r("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21873
+ var ua = { selection: Wr("audio"), progress: aa("audio"), currentTime: oa("audio"), playbackRate: na("audio"), volume: ca("audio"), list: da("audio"), selectedItem: la("audio") };
21874
+ var pa = { selection: Wr("video"), progress: aa("video"), currentTime: oa("video"), playbackRate: na("video"), volume: ca("video"), list: da("video"), selectedItem: la("video") };
21872
21875
  function I(a2) {
21873
21876
  return (e) => (t) => a2(t, e);
21874
21877
  }
21875
- var It = "HMS-Store:";
21878
+ var At = "HMS-Store:";
21876
21879
  var b = class {
21877
21880
  static v(e, ...t) {
21878
21881
  this.log(0, e, ...t);
@@ -21902,23 +21905,23 @@ var b = class {
21902
21905
  if (!(this.level.valueOf() > e.valueOf()))
21903
21906
  switch (e) {
21904
21907
  case 0: {
21905
- console.log(It, ...t);
21908
+ console.log(At, ...t);
21906
21909
  break;
21907
21910
  }
21908
21911
  case 1: {
21909
- console.debug(It, ...t);
21912
+ console.debug(At, ...t);
21910
21913
  break;
21911
21914
  }
21912
21915
  case 2: {
21913
- console.info(It, ...t);
21916
+ console.info(At, ...t);
21914
21917
  break;
21915
21918
  }
21916
21919
  case 3: {
21917
- console.warn(It, ...t);
21920
+ console.warn(At, ...t);
21918
21921
  break;
21919
21922
  }
21920
21923
  case 6: {
21921
- console.error(It, ...t);
21924
+ console.error(At, ...t);
21922
21925
  break;
21923
21926
  }
21924
21927
  case 4: {
@@ -21939,32 +21942,32 @@ var b = class {
21939
21942
  }
21940
21943
  };
21941
21944
  b.level = 0;
21942
- var Kr = (a2, e) => e;
21943
- var Ht = (a2, e) => e;
21945
+ var $r = (a2, e) => e;
21946
+ var It = (a2, e) => e;
21944
21947
  var ha = (a2, e) => e;
21945
21948
  var Uo = (a2, e) => e;
21946
21949
  var Bo = (a2, e) => e;
21947
- var q = createSelector([K, Kr], (a2, e) => e ? a2[e] : null);
21948
- var qr = createSelector([N, Ht], (a2, e) => e ? a2[e] : null);
21949
- var Vo = createSelector([N, Ht], (a2, e) => {
21950
+ var q = createSelector([K, $r], (a2, e) => e ? a2[e] : null);
21951
+ var Kr = createSelector([N, It], (a2, e) => e ? a2[e] : null);
21952
+ var Vo = createSelector([N, It], (a2, e) => {
21950
21953
  if (!e)
21951
21954
  return null;
21952
21955
  let t = a2[e];
21953
21956
  return (t == null ? void 0 : t.type) === "video" ? t : null;
21954
21957
  });
21955
- var Fo = createSelector([N, Ht], (a2, e) => {
21958
+ var Fo = createSelector([N, It], (a2, e) => {
21956
21959
  if (!e)
21957
21960
  return null;
21958
21961
  let t = a2[e];
21959
21962
  return (t == null ? void 0 : t.type) === "audio" ? t : null;
21960
21963
  });
21961
- var Go = createSelector([N, Ht], (a2, e) => {
21964
+ var Go = createSelector([N, It], (a2, e) => {
21962
21965
  if (!e)
21963
21966
  return null;
21964
21967
  let t = a2[e];
21965
21968
  return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
21966
21969
  });
21967
- var Wo = createSelector([N, Ht], (a2, e) => {
21970
+ var Wo = createSelector([N, It], (a2, e) => {
21968
21971
  if (!e)
21969
21972
  return null;
21970
21973
  let t = a2[e];
@@ -21972,7 +21975,7 @@ var Wo = createSelector([N, Ht], (a2, e) => {
21972
21975
  });
21973
21976
  var $o = createSelector([ia, Bo], (a2, e) => e ? a2[e] : null);
21974
21977
  var X = I(q);
21975
- var Um = I(createSelector([Fr, Uo], (a2, e) => {
21978
+ var Um = I(createSelector([Vr, Uo], (a2, e) => {
21976
21979
  if (a2)
21977
21980
  return e ? a2[e] : a2;
21978
21981
  }));
@@ -21984,7 +21987,7 @@ function Bm(a2) {
21984
21987
  }
21985
21988
  var Fm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.name));
21986
21989
  var Gm = I(createSelector(q, (a2) => a2 == null ? void 0 : a2.type));
21987
- var vi = I(qr);
21990
+ var fi = I(Kr);
21988
21991
  var ma = I(Vo);
21989
21992
  var Wm = I(Fo);
21990
21993
  var $m = I(Go);
@@ -22038,7 +22041,7 @@ var Zm = I(createSelector(N, q, (a2, e) => {
22038
22041
  var eS = I(createSelector(N, q, (a2, e) => {
22039
22042
  let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
22040
22043
  let r = a2[i];
22041
- return ri(r) && ut(r);
22044
+ return ii(r) && ut(r);
22042
22045
  });
22043
22046
  return t ? a2[t] : void 0;
22044
22047
  }));
@@ -22065,7 +22068,7 @@ var aS = I((a2, e) => {
22065
22068
  return fa(t == null ? void 0 : t.id)(a2);
22066
22069
  });
22067
22070
  var va = I((a2, e) => {
22068
- let t = qr(a2, e);
22071
+ let t = Kr(a2, e);
22069
22072
  if (t) {
22070
22073
  if (t.type !== "audio") {
22071
22074
  b.w("Please pass audio track here");
@@ -22083,7 +22086,7 @@ var nS = I((a2, e) => {
22083
22086
  return va(t == null ? void 0 : t.id)(a2);
22084
22087
  });
22085
22088
  var cS = I((a2, e) => {
22086
- let t = qr(a2, e);
22089
+ let t = Kr(a2, e);
22087
22090
  if (t) {
22088
22091
  if (t.type !== "video") {
22089
22092
  b.w("Please pass video track here");
@@ -22092,26 +22095,26 @@ var cS = I((a2, e) => {
22092
22095
  return t.layer;
22093
22096
  }
22094
22097
  });
22095
- var Ma = createSelector([At, ye, Kr], (a2, e, t) => {
22098
+ var Ma = createSelector([Rt, ye, $r], (a2, e, t) => {
22096
22099
  if (t)
22097
22100
  return a2.filter((i) => {
22098
22101
  var r;
22099
22102
  return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
22100
22103
  });
22101
22104
  });
22102
- var ya = createSelector([At, ha], (a2, e) => {
22105
+ var ya = createSelector([Rt, ha], (a2, e) => {
22103
22106
  if (e)
22104
22107
  return a2.filter((t) => {
22105
22108
  var i, r;
22106
22109
  return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
22107
22110
  });
22108
22111
  });
22109
- var Jo = createSelector(At, (a2) => a2.filter((e) => {
22112
+ var Jo = createSelector(Rt, (a2) => a2.filter((e) => {
22110
22113
  var t;
22111
22114
  return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
22112
22115
  }));
22113
22116
  var Qo = createSelector([ya, ha], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22114
- var zo = createSelector([Ma, Kr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22117
+ var zo = createSelector([Ma, $r], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
22115
22118
  var dS = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
22116
22119
  var lS = I(Ma);
22117
22120
  var uS = I(ya);
@@ -22123,7 +22126,7 @@ var bS = createSelector([K, N], (a2, e) => Object.values(a2).map((i) => {
22123
22126
  return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
22124
22127
  }));
22125
22128
  var Yo = (a2) => a2.roleChangeRequests[0] || null;
22126
- var RS = createSelector([Yo, K, Se], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22129
+ var RS = createSelector([Yo, K, ge], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
22127
22130
  var AS = createSelector([at], (a2) => mt(a2));
22128
22131
  var IS = createSelector([ea], (a2) => mt(a2));
22129
22132
  var Zo = createSelector([Y, N], (a2, e) => {
@@ -22135,10 +22138,10 @@ var en = createSelector([ae, N], (a2, e) => {
22135
22138
  return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
22136
22139
  });
22137
22140
  var sn = ((n) => (n[n.STARTING = 0] = "STARTING", n[n.INIT_FETCHED = 1] = "INIT_FETCHED", n[n.SIGNAL_CONNECTED = 2] = "SIGNAL_CONNECTED", n[n.ICE_ESTABLISHED = 3] = "ICE_ESTABLISHED", n[n.MEDIA_CAPTURED = 4] = "MEDIA_CAPTURED", n[n.MEDIA_PUBLISHED = 5] = "MEDIA_PUBLISHED", n[n.COMPLETED = 6] = "COMPLETED", n))(sn || {});
22138
- var Yr = class {
22141
+ var zr = class {
22139
22142
  constructor() {
22140
22143
  this.TAG = "[HTTPAnalyticsTransport]";
22141
- this.failedEvents = new le("client-events");
22144
+ this.failedEvents = new ue("client-events");
22142
22145
  this.isConnected = true;
22143
22146
  this.env = null;
22144
22147
  this.websocketURL = "";
@@ -22180,10 +22183,10 @@ var Yr = class {
22180
22183
  i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
22181
22184
  }
22182
22185
  };
22183
- var Pe = new Yr();
22186
+ var Pe = new zr();
22184
22187
  var j = ((s) => (s[s.ConnectFailed = 0] = "ConnectFailed", s[s.SignalDisconnect = 1] = "SignalDisconnect", s[s.JoinWSMessageFailed = 2] = "JoinWSMessageFailed", s[s.PublishIceConnectionFailed = 3] = "PublishIceConnectionFailed", s[s.SubscribeIceConnectionFailed = 4] = "SubscribeIceConnectionFailed", s))(j || {});
22185
- var ir = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(ir || {});
22186
- var ur = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ur || {});
22188
+ var tr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(tr || {});
22189
+ var lr = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(lr || {});
22187
22190
  var Pn = (a2) => a2.localPeer.id;
22188
22191
  var En = (a2) => a2.localPeer.audioTrack;
22189
22192
  var bn = (a2) => a2.localPeer.videoTrack;
@@ -22191,7 +22194,7 @@ var Rn = (a2, e) => e;
22191
22194
  var Ka = (a2, e) => e;
22192
22195
  var An = (a2) => a2.remoteTrackStats;
22193
22196
  var qa = (a2) => a2.peerStats;
22194
- var is = (a2) => a2.localTrackStats;
22197
+ var ts = (a2) => a2.localTrackStats;
22195
22198
  var be = createSelector([qa, Pn], (a2, e) => a2[e]);
22196
22199
  var In = createSelector(be, (a2) => {
22197
22200
  var e;
@@ -22227,19 +22230,19 @@ var Nn = createSelector(be, (a2) => {
22227
22230
  });
22228
22231
  var On = createSelector([qa, Rn], (a2, e) => e ? a2[e] : void 0);
22229
22232
  var xn = createSelector([An, Ka], (a2, e) => e ? a2[e] : void 0);
22230
- var rs = createSelector([is, Ka], (a2, e) => e ? a2[e] : void 0);
22233
+ var is = createSelector([ts, Ka], (a2, e) => e ? a2[e] : void 0);
22231
22234
  var Un = I(On);
22232
22235
  var Bn = I(xn);
22233
- var Vn = createSelector([is, En], (a2, e) => {
22236
+ var Vn = createSelector([ts, En], (a2, e) => {
22234
22237
  var t;
22235
22238
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22236
22239
  });
22237
- var Fn = I(createSelector(rs, (a2) => a2 == null ? void 0 : a2[0]));
22238
- var Gn = createSelector([is, bn], (a2, e) => {
22240
+ var Fn = I(createSelector(is, (a2) => a2 == null ? void 0 : a2[0]));
22241
+ var Gn = createSelector([ts, bn], (a2, e) => {
22239
22242
  var t;
22240
22243
  return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
22241
22244
  });
22242
- var Wn = I(createSelector(rs, (a2) => a2));
22245
+ var Wn = I(createSelector(is, (a2) => a2));
22243
22246
 
22244
22247
  // src/Prebuilt/components/Header/StreamActions.tsx
22245
22248
  import {
@@ -28944,21 +28947,14 @@ var PreviewJoin = ({
28944
28947
  setName(initialName);
28945
28948
  }
28946
28949
  }, [initialName]);
28947
- return roomState === HMSRoomState5.Preview ? /* @__PURE__ */ React136.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ React136.createElement(Container4, { css: { h: "100%", pt: "$10", "@md": { justifyContent: "space-between" } } }, toggleVideo ? null : /* @__PURE__ */ React136.createElement(Box, null), /* @__PURE__ */ React136.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "640px" } }, /* @__PURE__ */ React136.createElement(Logo, null), /* @__PURE__ */ React136.createElement(
28950
+ return roomState === HMSRoomState5.Preview ? /* @__PURE__ */ React136.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ React136.createElement(Container4, { css: { h: "100%", pt: "$6", "@md": { justifyContent: "space-between", pt: "$10" } } }, toggleVideo ? null : /* @__PURE__ */ React136.createElement(Box, null), /* @__PURE__ */ React136.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "600px", gap: "$8" } }, /* @__PURE__ */ React136.createElement(Logo, null), /* @__PURE__ */ React136.createElement(Text, { variant: "h4", css: { wordBreak: "break-word", textAlign: "center" } }, previewHeader.title), /* @__PURE__ */ React136.createElement(
28948
28951
  Text,
28949
28952
  {
28950
- variant: "h4",
28951
- css: { wordBreak: "break-word", textAlign: "center", mt: "$14", mb: "$4", "@md": { mt: "$8", mb: "$2" } }
28952
- },
28953
- previewHeader.title
28954
- ), /* @__PURE__ */ React136.createElement(
28955
- Text,
28956
- {
28957
- css: { c: "$on_surface_medium", my: "0", textAlign: "center", maxWidth: "100%", wordWrap: "break-word" },
28953
+ css: { c: "$on_surface_medium", textAlign: "center", maxWidth: "100%", wordWrap: "break-word" },
28958
28954
  variant: "sm"
28959
28955
  },
28960
28956
  previewHeader.sub_title
28961
- ), /* @__PURE__ */ React136.createElement(Flex, { justify: "center", css: { mt: "$14", "@md": { mt: "$8", mb: "0" }, gap: "$4" } }, isStreamingOn ? /* @__PURE__ */ React136.createElement(
28957
+ ), /* @__PURE__ */ React136.createElement(Flex, { justify: "center", css: { gap: "$4" } }, isStreamingOn ? /* @__PURE__ */ React136.createElement(
28962
28958
  Chip_default,
28963
28959
  {
28964
28960
  content: "LIVE",
@@ -28966,7 +28962,7 @@ var PreviewJoin = ({
28966
28962
  textColor: "#FFF",
28967
28963
  icon: /* @__PURE__ */ React136.createElement(Box, { css: { h: "$sm", w: "$sm", backgroundColor: "$on_primary_high", borderRadius: "$round" } })
28968
28964
  }
28969
- ) : null, /* @__PURE__ */ React136.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ React136.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ React136.createElement(Box, { css: { w: "100%", maxWidth: `${Math.max(aspectRatio, 1) * 360}px` } }, /* @__PURE__ */ React136.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ React136.createElement(
28965
+ ) : null, /* @__PURE__ */ React136.createElement(Chip_default, { content: getParticipantChipContent(peerCount), hideIfNoContent: true }))), toggleVideo ? /* @__PURE__ */ React136.createElement(PreviewTile, { name, error: previewError }) : null, /* @__PURE__ */ React136.createElement(Box, { css: { w: "100%", maxWidth: `${Math.max(aspectRatio, 1) * 340}px` } }, /* @__PURE__ */ React136.createElement(PreviewControls, { hideSettings: !toggleVideo && !toggleAudio, vbEnabled: !!virtual_background }), /* @__PURE__ */ React136.createElement(
28970
28966
  PreviewForm_default,
28971
28967
  {
28972
28968
  name,
@@ -29006,11 +29002,11 @@ var PreviewTile = ({ name, error }) => {
29006
29002
  css: {
29007
29003
  bg: "$surface_default",
29008
29004
  aspectRatio,
29009
- height: "min(360px, 70vh)",
29005
+ height: "min(340px, 70vh)",
29010
29006
  width: "auto",
29011
- maxWidth: "640px",
29007
+ maxWidth: "600px",
29012
29008
  overflow: "clip",
29013
- mt: "$14",
29009
+ mt: "$10",
29014
29010
  "@md": {
29015
29011
  mt: 0,
29016
29012
  width: "min(220px, 70vw)",
@@ -29039,7 +29035,7 @@ var PreviewControls = ({ hideSettings, vbEnabled }) => {
29039
29035
  justify: hideSettings && isMobile ? "center" : "between",
29040
29036
  css: {
29041
29037
  width: "100%",
29042
- mt: "$8"
29038
+ mt: "$6"
29043
29039
  }
29044
29040
  },
29045
29041
  /* @__PURE__ */ React136.createElement(Flex, { css: { gap: "$4" } }, /* @__PURE__ */ React136.createElement(AudioVideoToggle, null), vbEnabled ? /* @__PURE__ */ React136.createElement(VBToggle, null) : null),
@@ -30806,7 +30802,7 @@ var useCloseScreenshareWhiteboard = () => {
30806
30802
  };
30807
30803
 
30808
30804
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
30809
- var HLSView = React157.lazy(() => import("./HLSView-O4KQ2SQJ.js"));
30805
+ var HLSView = React157.lazy(() => import("./HLSView-OZJSG4V6.js"));
30810
30806
  var VideoStreamingSection = ({
30811
30807
  screenType,
30812
30808
  elements,
@@ -34121,4 +34117,4 @@ object-assign/index.js:
34121
34117
  @license MIT
34122
34118
  *)
34123
34119
  */
34124
- //# sourceMappingURL=chunk-SCKPBPAN.js.map
34120
+ //# sourceMappingURL=chunk-SKEVNNJ2.js.map