@100mslive/roomkit-react 0.3.32 → 0.3.33-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +328 -318
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +342 -332
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +33 -33
- package/dist/meta.esbuild.json +33 -33
- package/package.json +7 -7
- package/src/Button/Button.tsx +7 -1
- package/src/Checkbox/Checkbox.tsx +2 -0
- package/src/Dropdown/Dropdown.tsx +1 -0
- package/src/Prebuilt/components/Chat/ChatSelectorContainer.tsx +3 -2
- package/src/Prebuilt/components/Footer/ChatToggle.tsx +3 -1
- package/src/Prebuilt/components/Polls/common/MultipleChoiceOptions.jsx +3 -1
- package/src/Prebuilt/plugins/CaptionsViewer.tsx +2 -0
package/dist/index.cjs.js
CHANGED
@@ -35,8 +35,8 @@ var __objRest = (source, exclude) => {
|
|
35
35
|
}
|
36
36
|
return target;
|
37
37
|
};
|
38
|
-
var __esm = (
|
39
|
-
return
|
38
|
+
var __esm = (fn, res) => function __init() {
|
39
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
40
40
|
};
|
41
41
|
var __commonJS = (cb, mod) => function __require() {
|
42
42
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
109
109
|
var define_process_env_default;
|
110
110
|
var init_define_process_env = __esm({
|
111
111
|
"<define:process.env>"() {
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_45b70afa-0496-4df5-b6ad-252e413fd526", 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.22", 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.7 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.32", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_45b70afa-0496-4df5-b6ad-252e413fd526", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.32", 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.12", 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.3.1-1", 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.12.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "837", 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", 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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250223.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.12/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:7556", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.32", 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: "13670026459", 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: "6aeacabde5b5f2509dc47e155d71b572f785d845", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "09927b86e5e52b0d50c8ee0298ecbdedb6f470b1cc60e6a5313d7b3898420a12", 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--1741156820644-0.7760533996736001:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741156820456-0.2981118442258317:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741156794827-0.37726126814651395:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1741156794648-0.5651305496309837:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_775b8924-69a5-41d1-8646-634b886571a9", INVOCATION_ID: "47158bc5a15c4995bd5083fb8f99a6b0", 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: "742", 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: "^19.6.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 180", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.32", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.32", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", 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: "6aeacabde5b5f2509dc47e155d71b572f785d845", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", 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", 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_45b70afa-0496-4df5-b6ad-252e413fd526", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_45b70afa-0496-4df5-b6ad-252e413fd526", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_45b70afa-0496-4df5-b6ad-252e413fd526" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5e84d6f9-986f-4848-aa52-474836c6c48d", 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.23-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.7 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.33-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_5e84d6f9-986f-4848-aa52-474836c6c48d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.7/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.33-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.12", 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.3.1-1", 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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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-ubuntu24", 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: "830", 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", 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.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.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.12/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", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:9308", 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: "^19.6.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", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", 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.33-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: "13894653949", 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: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "f0c27a81afd31747c0991dc526c77144f3b8e9eb4b54e8ec97ab719889d88941", 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--1742199630844-0.9679064358698519:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199630637-0.05987160159077409:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199605058-0.7174050912653267:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742199604887-0.46920419967569305:/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.7/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.7/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.7/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4b2e87e1-af59-4ff4-bfaa-073447cb0c8a", INVOCATION_ID: "b4a663950ebd41958fdc0fe9f3c40721", 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: "745", 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: "^19.6.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 485", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.33-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.33-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_resolutions_axios: "^1.7.4", 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: "false", 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: "3531a7784035baaeaa09dcd80f8ecff9aaabcf25", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", 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: "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", 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_5e84d6f9-986f-4848-aa52-474836c6c48d", JAVA_HOME: "/usr/lib/jvm/temurin-17-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", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5e84d6f9-986f-4848-aa52-474836c6c48d", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5e84d6f9-986f-4848-aa52-474836c6c48d" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -2288,8 +2288,8 @@ var require_lodash = __commonJS({
|
|
2288
2288
|
function createBind(func, bitmask, thisArg) {
|
2289
2289
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2290
2290
|
function wrapper() {
|
2291
|
-
var
|
2292
|
-
return
|
2291
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2292
|
+
return fn.apply(isBind ? thisArg : this, arguments);
|
2293
2293
|
}
|
2294
2294
|
return wrapper;
|
2295
2295
|
}
|
@@ -2355,8 +2355,8 @@ var require_lodash = __commonJS({
|
|
2355
2355
|
arity - length
|
2356
2356
|
);
|
2357
2357
|
}
|
2358
|
-
var
|
2359
|
-
return apply(
|
2358
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2359
|
+
return apply(fn, this, args);
|
2360
2360
|
}
|
2361
2361
|
return wrapper;
|
2362
2362
|
}
|
@@ -2444,7 +2444,7 @@ var require_lodash = __commonJS({
|
|
2444
2444
|
arity - length
|
2445
2445
|
);
|
2446
2446
|
}
|
2447
|
-
var thisBinding = isBind ? thisArg : this,
|
2447
|
+
var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
|
2448
2448
|
length = args.length;
|
2449
2449
|
if (argPos) {
|
2450
2450
|
args = reorder(args, argPos);
|
@@ -2455,9 +2455,9 @@ var require_lodash = __commonJS({
|
|
2455
2455
|
args.length = ary2;
|
2456
2456
|
}
|
2457
2457
|
if (this && this !== root && this instanceof wrapper) {
|
2458
|
-
|
2458
|
+
fn = Ctor || createCtor(fn);
|
2459
2459
|
}
|
2460
|
-
return
|
2460
|
+
return fn.apply(thisBinding, args);
|
2461
2461
|
}
|
2462
2462
|
return wrapper;
|
2463
2463
|
}
|
@@ -2514,14 +2514,14 @@ var require_lodash = __commonJS({
|
|
2514
2514
|
function createPartial(func, bitmask, thisArg, partials) {
|
2515
2515
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2516
2516
|
function wrapper() {
|
2517
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
2517
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2518
2518
|
while (++leftIndex < leftLength) {
|
2519
2519
|
args[leftIndex] = partials[leftIndex];
|
2520
2520
|
}
|
2521
2521
|
while (argsLength--) {
|
2522
2522
|
args[leftIndex++] = arguments[++argsIndex];
|
2523
2523
|
}
|
2524
|
-
return apply(
|
2524
|
+
return apply(fn, isBind ? thisArg : this, args);
|
2525
2525
|
}
|
2526
2526
|
return wrapper;
|
2527
2527
|
}
|
@@ -5630,16 +5630,16 @@ var require_ua_parser = __commonJS({
|
|
5630
5630
|
return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
|
5631
5631
|
}
|
5632
5632
|
};
|
5633
|
-
var rgxMapper = function(
|
5634
|
-
var i = 0,
|
5633
|
+
var rgxMapper = function(ua, arrays) {
|
5634
|
+
var i = 0, j2, k2, p, q, matches, match18;
|
5635
5635
|
while (i < arrays.length && !matches) {
|
5636
5636
|
var regex = arrays[i], props = arrays[i + 1];
|
5637
|
-
|
5638
|
-
while (
|
5639
|
-
if (!regex[
|
5637
|
+
j2 = k2 = 0;
|
5638
|
+
while (j2 < regex.length && !matches) {
|
5639
|
+
if (!regex[j2]) {
|
5640
5640
|
break;
|
5641
5641
|
}
|
5642
|
-
matches = regex[
|
5642
|
+
matches = regex[j2++].exec(ua);
|
5643
5643
|
if (!!matches) {
|
5644
5644
|
for (p = 0; p < props.length; p++) {
|
5645
5645
|
match18 = matches[++k2];
|
@@ -5671,8 +5671,8 @@ var require_ua_parser = __commonJS({
|
|
5671
5671
|
}, strMapper = function(str, map) {
|
5672
5672
|
for (var i in map) {
|
5673
5673
|
if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
|
5674
|
-
for (var
|
5675
|
-
if (has(map[i][
|
5674
|
+
for (var j2 = 0; j2 < map[i].length; j2++) {
|
5675
|
+
if (has(map[i][j2], str)) {
|
5676
5676
|
return i === UNKNOWN ? undefined2 : i;
|
5677
5677
|
}
|
5678
5678
|
}
|
@@ -6728,16 +6728,16 @@ var require_ua_parser = __commonJS({
|
|
6728
6728
|
[NAME, VERSION]
|
6729
6729
|
]
|
6730
6730
|
};
|
6731
|
-
var UAParser = function(
|
6732
|
-
if (typeof
|
6733
|
-
extensions =
|
6734
|
-
|
6731
|
+
var UAParser = function(ua, extensions) {
|
6732
|
+
if (typeof ua === OBJ_TYPE) {
|
6733
|
+
extensions = ua;
|
6734
|
+
ua = undefined2;
|
6735
6735
|
}
|
6736
6736
|
if (!(this instanceof UAParser)) {
|
6737
|
-
return new UAParser(
|
6737
|
+
return new UAParser(ua, extensions).getResult();
|
6738
6738
|
}
|
6739
6739
|
var _navigator = typeof window2 !== UNDEF_TYPE && window2.navigator ? window2.navigator : undefined2;
|
6740
|
-
var _ua =
|
6740
|
+
var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
|
6741
6741
|
var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined2;
|
6742
6742
|
var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
|
6743
6743
|
var _isSelfNav = _navigator && _navigator.userAgent == _ua;
|
@@ -6803,8 +6803,8 @@ var require_ua_parser = __commonJS({
|
|
6803
6803
|
this.getUA = function() {
|
6804
6804
|
return _ua;
|
6805
6805
|
};
|
6806
|
-
this.setUA = function(
|
6807
|
-
_ua = typeof
|
6806
|
+
this.setUA = function(ua2) {
|
6807
|
+
_ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;
|
6808
6808
|
return this;
|
6809
6809
|
};
|
6810
6810
|
this.setUA(_ua);
|
@@ -6836,8 +6836,8 @@ var require_ua_parser = __commonJS({
|
|
6836
6836
|
$.ua.get = function() {
|
6837
6837
|
return parser.getUA();
|
6838
6838
|
};
|
6839
|
-
$.ua.set = function(
|
6840
|
-
parser.setUA(
|
6839
|
+
$.ua.set = function(ua) {
|
6840
|
+
parser.setUA(ua);
|
6841
6841
|
var result = parser.getResult();
|
6842
6842
|
for (var prop in result) {
|
6843
6843
|
$.ua[prop] = result[prop];
|
@@ -7696,8 +7696,8 @@ var require_sdp = __commonJS({
|
|
7696
7696
|
const parsed = {};
|
7697
7697
|
let kv;
|
7698
7698
|
const parts = line.substring(line.indexOf(" ") + 1).split(";");
|
7699
|
-
for (let
|
7700
|
-
kv = parts[
|
7699
|
+
for (let j2 = 0; j2 < parts.length; j2++) {
|
7700
|
+
kv = parts[j2].trim().split("=");
|
7701
7701
|
parsed[kv[0].trim()] = kv[1];
|
7702
7702
|
}
|
7703
7703
|
return parsed;
|
@@ -8677,8 +8677,8 @@ var require_parser = __commonJS({
|
|
8677
8677
|
media.push({ rtp: [], fmtp: [] });
|
8678
8678
|
location = media[media.length - 1];
|
8679
8679
|
}
|
8680
|
-
for (var
|
8681
|
-
var obj = grammar[type][
|
8680
|
+
for (var j2 = 0; j2 < (grammar[type] || []).length; j2 += 1) {
|
8681
|
+
var obj = grammar[type][j2];
|
8682
8682
|
if (obj.reg.test(content)) {
|
8683
8683
|
return parseReg(obj, location, content);
|
8684
8684
|
}
|
@@ -9361,7 +9361,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9361
9361
|
shape: createShapeTypeChecker,
|
9362
9362
|
exact: createStrictShapeTypeChecker
|
9363
9363
|
};
|
9364
|
-
function
|
9364
|
+
function is(x, y2) {
|
9365
9365
|
if (x === y2) {
|
9366
9366
|
return x !== 0 || 1 / x === 1 / y2;
|
9367
9367
|
} else {
|
@@ -9504,7 +9504,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9504
9504
|
function validate(props, propName, componentName, location, propFullName) {
|
9505
9505
|
var propValue = props[propName];
|
9506
9506
|
for (var i = 0; i < expectedValues.length; i++) {
|
9507
|
-
if (
|
9507
|
+
if (is(propValue, expectedValues[i])) {
|
9508
9508
|
return null;
|
9509
9509
|
}
|
9510
9510
|
}
|
@@ -10512,7 +10512,7 @@ var textEllipsis = (width) => ({
|
|
10512
10512
|
});
|
10513
10513
|
|
10514
10514
|
// src/Button/Button.tsx
|
10515
|
-
var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) => {
|
10515
|
+
var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled, textHover) => {
|
10516
10516
|
return {
|
10517
10517
|
bg: "transparent",
|
10518
10518
|
border: `solid $space$px $colors${base}`,
|
@@ -10524,6 +10524,7 @@ var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) =>
|
|
10524
10524
|
cursor: "not-allowed"
|
10525
10525
|
},
|
10526
10526
|
"&:not([disabled]):hover": {
|
10527
|
+
c: textHover,
|
10527
10528
|
border: `solid $space$px $colors${hover}`,
|
10528
10529
|
bg: "transparent"
|
10529
10530
|
},
|
@@ -10536,7 +10537,7 @@ var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) =>
|
|
10536
10537
|
}
|
10537
10538
|
};
|
10538
10539
|
};
|
10539
|
-
var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
10540
|
+
var getButtonVariants = (base, hover, active, disabled, text, textDisabled, textHover) => {
|
10540
10541
|
return {
|
10541
10542
|
bg: base,
|
10542
10543
|
border: `1px solid ${base}`,
|
@@ -10548,6 +10549,7 @@ var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
|
10548
10549
|
border: `1px solid ${disabled}`
|
10549
10550
|
},
|
10550
10551
|
"&:not([disabled]):hover": {
|
10552
|
+
c: textHover,
|
10551
10553
|
bg: hover,
|
10552
10554
|
border: `1px solid ${hover}`
|
10553
10555
|
},
|
@@ -10556,7 +10558,7 @@ var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
|
10556
10558
|
border: `1px solid ${active}`
|
10557
10559
|
},
|
10558
10560
|
"&:not([disabled]):focus-visible": {
|
10559
|
-
boxShadow: `0 0 0 3px ${
|
10561
|
+
boxShadow: `0 0 0 3px $colors${hover}`
|
10560
10562
|
}
|
10561
10563
|
};
|
10562
10564
|
};
|
@@ -10604,7 +10606,8 @@ var StyledButton = styled("button", __spreadProps(__spreadValues({}, flexCenter)
|
|
10604
10606
|
"$alert_error_dim",
|
10605
10607
|
"$alert_error_brighter",
|
10606
10608
|
"$on_surface_high",
|
10607
|
-
"$on_surface_low"
|
10609
|
+
"$on_surface_low",
|
10610
|
+
"$on_surface_high"
|
10608
10611
|
)
|
10609
10612
|
},
|
10610
10613
|
{
|
@@ -10636,7 +10639,8 @@ var StyledButton = styled("button", __spreadProps(__spreadValues({}, flexCenter)
|
|
10636
10639
|
"$alert_error_dim",
|
10637
10640
|
"$alert_error_dim",
|
10638
10641
|
"$alert_error_brighter",
|
10639
|
-
"$on_primary_low"
|
10642
|
+
"$on_primary_low",
|
10643
|
+
"$on_primary_high"
|
10640
10644
|
),
|
10641
10645
|
primary: getButtonVariants(
|
10642
10646
|
"$primary_default",
|
@@ -11790,7 +11794,8 @@ var DropdownTrigger = styled(import_react_dropdown_menu.Trigger, {
|
|
11790
11794
|
cursor: "pointer",
|
11791
11795
|
appearance: "none !important",
|
11792
11796
|
'&[data-state="open"]': {
|
11793
|
-
backgroundColor: "$surface_bright"
|
11797
|
+
backgroundColor: "$surface_bright",
|
11798
|
+
c: "$on_surface_high"
|
11794
11799
|
},
|
11795
11800
|
"&:focus": {
|
11796
11801
|
outline: "none"
|
@@ -12464,7 +12469,9 @@ var CheckboxRoot = styled(CheckboxPrimitive.Root, {
|
|
12464
12469
|
}
|
12465
12470
|
});
|
12466
12471
|
var CheckboxIndicator = styled(CheckboxPrimitive.Indicator, {
|
12467
|
-
color: "$on_primary_high"
|
12472
|
+
color: "$on_primary_high",
|
12473
|
+
// center check svg within button box
|
12474
|
+
lineHeight: 0
|
12468
12475
|
});
|
12469
12476
|
var Checkbox = {
|
12470
12477
|
Root: CheckboxRoot,
|
@@ -19575,8 +19582,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19575
19582
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
19576
19583
|
if (navigator2.mediaDevices.getUserMedia) {
|
19577
19584
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
19578
|
-
navigator2.mediaDevices.getUserMedia = function(
|
19579
|
-
return shimConstraints_(
|
19585
|
+
navigator2.mediaDevices.getUserMedia = function(cs) {
|
19586
|
+
return shimConstraints_(cs, (c2) => origGetUserMedia(c2).then((stream) => {
|
19580
19587
|
if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
|
19581
19588
|
stream.getTracks().forEach((track) => {
|
19582
19589
|
track.stop();
|
@@ -21308,36 +21315,36 @@ var import_eventemitter2 = require("eventemitter2");
|
|
21308
21315
|
var import_eventemitter22 = require("eventemitter2");
|
21309
21316
|
var import_uuid8 = require("uuid");
|
21310
21317
|
var import_eventemitter23 = require("eventemitter2");
|
21311
|
-
var
|
21318
|
+
var Yt = __toESM(require_lib());
|
21312
21319
|
var import_eventemitter24 = __toESM(require("eventemitter2"));
|
21313
21320
|
var import_uuid9 = require("uuid");
|
21314
21321
|
var import_uuid10 = require("uuid");
|
21315
|
-
var
|
21316
|
-
var
|
21317
|
-
var
|
21318
|
-
var
|
21319
|
-
var
|
21320
|
-
var
|
21321
|
-
var
|
21322
|
+
var co = Object.defineProperty;
|
21323
|
+
var lo = Object.defineProperties;
|
21324
|
+
var uo = Object.getOwnPropertyDescriptors;
|
21325
|
+
var ai = Object.getOwnPropertySymbols;
|
21326
|
+
var gs = Object.prototype.hasOwnProperty;
|
21327
|
+
var Ts = Object.prototype.propertyIsEnumerable;
|
21328
|
+
var Ss = (a2, e, t) => e in a2 ? co(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21322
21329
|
var m = (a2, e) => {
|
21323
21330
|
for (var t in e || (e = {}))
|
21324
|
-
|
21325
|
-
if (
|
21326
|
-
for (var t of
|
21327
|
-
|
21331
|
+
gs.call(e, t) && Ss(a2, t, e[t]);
|
21332
|
+
if (ai)
|
21333
|
+
for (var t of ai(e))
|
21334
|
+
Ts.call(e, t) && Ss(a2, t, e[t]);
|
21328
21335
|
return a2;
|
21329
21336
|
};
|
21330
|
-
var M = (a2, e) =>
|
21331
|
-
var
|
21337
|
+
var M = (a2, e) => lo(a2, uo(e));
|
21338
|
+
var kr = (a2, e) => {
|
21332
21339
|
var t = {};
|
21333
21340
|
for (var i in a2)
|
21334
|
-
|
21335
|
-
if (a2 != null &&
|
21336
|
-
for (var i of
|
21337
|
-
e.indexOf(i) < 0 &&
|
21341
|
+
gs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21342
|
+
if (a2 != null && ai)
|
21343
|
+
for (var i of ai(a2))
|
21344
|
+
e.indexOf(i) < 0 && Ts.call(a2, i) && (t[i] = a2[i]);
|
21338
21345
|
return t;
|
21339
21346
|
};
|
21340
|
-
var
|
21347
|
+
var mo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21341
21348
|
var c = (a2, e, t) => new Promise((i, r) => {
|
21342
21349
|
var s = (d) => {
|
21343
21350
|
try {
|
@@ -21354,20 +21361,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21354
21361
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21355
21362
|
n((t = t.apply(a2, e)).next());
|
21356
21363
|
});
|
21357
|
-
var
|
21358
|
-
|
21364
|
+
var Ir = mo((Jc, Eo) => {
|
21365
|
+
Eo.exports = { version: "0.12.33-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"] };
|
21359
21366
|
});
|
21360
|
-
var
|
21361
|
-
var
|
21362
|
-
var
|
21363
|
-
var
|
21364
|
-
var
|
21367
|
+
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 || {});
|
21368
|
+
var So = ((e) => (e.CHAT = "chat", e))(So || {});
|
21369
|
+
var fs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(fs || {});
|
21370
|
+
var Pr = ((w) => (w.PEER_JOINED = "PEER_JOINED", w.PEER_LEFT = "PEER_LEFT", w.PEER_LIST = "PEER_LIST", w.NEW_MESSAGE = "NEW_MESSAGE", w.ERROR = "ERROR", w.RECONNECTING = "RECONNECTING", w.RECONNECTED = "RECONNECTED", w.TRACK_ADDED = "TRACK_ADDED", w.TRACK_REMOVED = "TRACK_REMOVED", w.TRACK_MUTED = "TRACK_MUTED", w.TRACK_UNMUTED = "TRACK_UNMUTED", w.TRACK_DEGRADED = "TRACK_DEGRADED", w.TRACK_RESTORED = "TRACK_RESTORED", w.TRACK_DESCRIPTION_CHANGED = "TRACK_DESCRIPTION_CHANGED", w.ROLE_UPDATED = "ROLE_UPDATED", w.CHANGE_TRACK_STATE_REQUEST = "CHANGE_TRACK_STATE_REQUEST", w.CHANGE_MULTI_TRACK_STATE_REQUEST = "CHANGE_MULTI_TRACK_STATE_REQUEST", w.ROOM_ENDED = "ROOM_ENDED", w.REMOVED_FROM_ROOM = "REMOVED_FROM_ROOM", w.DEVICE_CHANGE_UPDATE = "DEVICE_CHANGE_UPDATE", w.PLAYLIST_TRACK_ENDED = "PLAYLIST_TRACK_ENDED", w.NAME_UPDATED = "NAME_UPDATED", w.METADATA_UPDATED = "METADATA_UPDATED", w.POLL_CREATED = "POLL_CREATED", w.POLL_STARTED = "POLL_STARTED", w.POLL_STOPPED = "POLL_STOPPED", w.POLL_VOTES_UPDATED = "POLL_VOTES_UPDATED", w.POLLS_LIST = "POLLS_LIST", w.HAND_RAISE_CHANGED = "HAND_RAISE_CHANGED", w.TRANSCRIPTION_STATE_UPDATED = "TRANSCRIPTION_STATE_UPDATED", w))(Pr || {});
|
21371
|
+
var vs = ((t) => (t.audio = "audio", t.video = "video", t))(vs || {});
|
21365
21372
|
function Fe(a2, e) {
|
21366
21373
|
let t, i;
|
21367
21374
|
if (e)
|
21368
21375
|
for (let r of e.auxiliaryTracks) {
|
21369
21376
|
let s = a2[r];
|
21370
|
-
|
21377
|
+
go(s) && (i = gt(s) ? s : i, t = Tt(s) ? s : t);
|
21371
21378
|
}
|
21372
21379
|
return { video: t, audio: i };
|
21373
21380
|
}
|
@@ -21377,16 +21384,16 @@ function gt(a2) {
|
|
21377
21384
|
function Tt(a2) {
|
21378
21385
|
return a2 && a2.type === "video";
|
21379
21386
|
}
|
21380
|
-
function
|
21387
|
+
function go(a2) {
|
21381
21388
|
return a2 && a2.source === "screen";
|
21382
21389
|
}
|
21383
|
-
function
|
21390
|
+
function ci(a2) {
|
21384
21391
|
return a2 && a2.source === "audioplaylist";
|
21385
21392
|
}
|
21386
21393
|
function ft(a2) {
|
21387
21394
|
return a2 && a2.source === "videoplaylist";
|
21388
21395
|
}
|
21389
|
-
function
|
21396
|
+
function Ms(a2) {
|
21390
21397
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21391
21398
|
}
|
21392
21399
|
function ze(a2, e) {
|
@@ -21397,8 +21404,8 @@ function vt(a2) {
|
|
21397
21404
|
let e = false, t = false, i = false;
|
21398
21405
|
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 };
|
21399
21406
|
}
|
21400
|
-
var
|
21401
|
-
var
|
21407
|
+
var ks = ((d) => (d[d.VERBOSE = 0] = "VERBOSE", d[d.DEBUG = 1] = "DEBUG", d[d.INFO = 2] = "INFO", d[d.WARN = 3] = "WARN", d[d.TIME = 4] = "TIME", d[d.TIMEEND = 5] = "TIMEEND", d[d.ERROR = 6] = "ERROR", d[d.NONE = 7] = "NONE", d))(ks || {});
|
21408
|
+
var To = typeof window != "undefined" && typeof window.expect != "undefined";
|
21402
21409
|
var l = class {
|
21403
21410
|
static v(e, ...t) {
|
21404
21411
|
this.log(0, e, ...t);
|
@@ -21464,28 +21471,28 @@ var l = class {
|
|
21464
21471
|
}
|
21465
21472
|
}
|
21466
21473
|
};
|
21467
|
-
l.level =
|
21474
|
+
l.level = To ? 7 : 0;
|
21468
21475
|
var Te = new import_ua_parser_js.UAParser();
|
21469
21476
|
var U = typeof window != "undefined";
|
21477
|
+
var Es;
|
21478
|
+
var Ge = typeof window == "undefined" && !((Es = Te.getBrowser().name) != null && Es.toLowerCase().includes("electron"));
|
21479
|
+
var vo = () => !Ge;
|
21480
|
+
var Tc = vo();
|
21470
21481
|
var Ps;
|
21471
|
-
var Ge = typeof window == "undefined" && !((Ps = Te.getBrowser().name) != null && Ps.toLowerCase().includes("electron"));
|
21472
|
-
var Mo = () => !Ge;
|
21473
|
-
var fc = Mo();
|
21474
21482
|
var bs;
|
21483
|
+
var Cs = (bs = (Ps = Te.getBrowser()) == null ? void 0 : Ps.name) == null ? void 0 : bs.toLowerCase().includes("safari");
|
21475
21484
|
var As;
|
21476
|
-
var Ls = (As = (bs = Te.getBrowser()) == null ? void 0 : bs.name) == null ? void 0 : As.toLowerCase().includes("safari");
|
21477
21485
|
var Is;
|
21478
|
-
var
|
21479
|
-
var
|
21480
|
-
|
21481
|
-
function yo() {
|
21486
|
+
var di = ((Is = (As = Te.getBrowser()) == null ? void 0 : As.name) == null ? void 0 : Is.toLowerCase()) === "firefox";
|
21487
|
+
var Ls = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ls || {});
|
21488
|
+
function Mo() {
|
21482
21489
|
if (U && window) {
|
21483
21490
|
let a2 = window.location.hostname;
|
21484
21491
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21485
21492
|
}
|
21486
21493
|
return "CUSTOM";
|
21487
21494
|
}
|
21488
|
-
var Xe =
|
21495
|
+
var Xe = Mo();
|
21489
21496
|
var P4 = { WebSocketConnectionErrors: { FAILED_TO_CONNECT: 1e3, WEBSOCKET_CONNECTION_LOST: 1003, ABNORMAL_CLOSE: 1006 }, APIErrors: { SERVER_ERRORS: 2e3, INIT_CONFIG_NOT_AVAILABLE: 2002, ENDPOINT_UNREACHABLE: 2003, INVALID_TOKEN_FORMAT: 2004 }, TracksErrors: { GENERIC_TRACK: 3e3, CANT_ACCESS_CAPTURE_DEVICE: 3001, DEVICE_NOT_AVAILABLE: 3002, DEVICE_IN_USE: 3003, DEVICE_LOST_MIDWAY: 3004, NOTHING_TO_RETURN: 3005, INVALID_VIDEO_SETTINGS: 3006, CODEC_CHANGE_NOT_PERMITTED: 3007, AUTOPLAY_ERROR: 3008, OVER_CONSTRAINED: 3009, NO_AUDIO_DETECTED: 3010, SYSTEM_DENIED_PERMISSION: 3011, CURRENT_TAB_NOT_SHARED: 3012, AUDIO_PLAYBACK_ERROR: 3013, SELECTED_DEVICE_MISSING: 3014, NO_DATA: 3015 }, WebrtcErrors: { CREATE_OFFER_FAILED: 4001, CREATE_ANSWER_FAILED: 4002, SET_LOCAL_DESCRIPTION_FAILED: 4003, SET_REMOTE_DESCRIPTION_FAILED: 4004, ICE_FAILURE: 4005, ICE_DISCONNECTED: 4006, STATS_FAILED: 4007 }, WebsocketMethodErrors: { SERVER_ERRORS: 5e3, ALREADY_JOINED: 5001, CANNOT_JOIN_PREVIEW_IN_PROGRESS: 5002 }, GenericErrors: { NOT_CONNECTED: 6e3, SIGNALLING: 6001, UNKNOWN: 6002, NOT_READY: 6003, JSON_PARSING_FAILED: 6004, TRACK_METADATA_MISSING: 6005, RTC_TRACK_MISSING: 6006, PEER_METADATA_MISSING: 6007, INVALID_ROLE: 6008, PREVIEW_IN_PROGRESS: 6009, MISSING_MEDIADEVICES: 6010, MISSING_RTCPEERCONNECTION: 6011, LOCAL_STORAGE_ACCESS_DENIED: 6012, VALIDATION_FAILED: 6013 }, PlaylistErrors: { NO_ENTRY_TO_PLAY: 8001, NO_ENTRY_IS_PLAYING: 8002 } };
|
21490
21497
|
var k = class a extends Error {
|
21491
21498
|
constructor(t, i, r, s, o, n = false) {
|
@@ -21542,8 +21549,8 @@ var W = class extends k {
|
|
21542
21549
|
}`;
|
21543
21550
|
}
|
21544
21551
|
};
|
21545
|
-
var
|
21546
|
-
var
|
21552
|
+
var Ds = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Ds || {});
|
21553
|
+
var yo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21547
21554
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21548
21555
|
return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21549
21556
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -21605,7 +21612,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21605
21612
|
}, StatsFailed(a2, e = "") {
|
21606
21613
|
return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21607
21614
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21608
|
-
return new k(a2, "ServerErrors", e, t, t,
|
21615
|
+
return new k(a2, "ServerErrors", e, t, t, yo.includes(e));
|
21609
21616
|
}, AlreadyJoined(a2, e = "") {
|
21610
21617
|
return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21611
21618
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -21653,7 +21660,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21653
21660
|
}, NoEntryPlaying(a2, e) {
|
21654
21661
|
return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21655
21662
|
} } };
|
21656
|
-
var
|
21663
|
+
var Ar = class {
|
21657
21664
|
constructor() {
|
21658
21665
|
this.valuesMap = /* @__PURE__ */ new Map();
|
21659
21666
|
}
|
@@ -21678,9 +21685,9 @@ var Ir = class {
|
|
21678
21685
|
return this.valuesMap.size;
|
21679
21686
|
}
|
21680
21687
|
};
|
21681
|
-
var
|
21688
|
+
var ws = () => {
|
21682
21689
|
try {
|
21683
|
-
U && !localStorage && (window.localStorage = new
|
21690
|
+
U && !localStorage && (window.localStorage = new Ar());
|
21684
21691
|
} catch (a2) {
|
21685
21692
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21686
21693
|
}
|
@@ -21692,7 +21699,7 @@ var fe = class {
|
|
21692
21699
|
}
|
21693
21700
|
getStorage() {
|
21694
21701
|
try {
|
21695
|
-
return U && !this.storage && (
|
21702
|
+
return U && !this.storage && (ws(), this.storage = window.localStorage), this.storage;
|
21696
21703
|
} catch (e) {
|
21697
21704
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21698
21705
|
}
|
@@ -21712,29 +21719,29 @@ var fe = class {
|
|
21712
21719
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21713
21720
|
}
|
21714
21721
|
};
|
21715
|
-
var
|
21722
|
+
var li = () => {
|
21716
21723
|
let a2, e = new fe("hms-analytics-deviceId"), t = e.get();
|
21717
21724
|
return t ? a2 = t : (a2 = (0, import_uuid4.v4)(), e.set(a2)), a2;
|
21718
21725
|
};
|
21719
21726
|
function he(a2) {
|
21720
21727
|
return a2 != null;
|
21721
21728
|
}
|
21722
|
-
var
|
21729
|
+
var Os = Ir().version;
|
21723
21730
|
function Et(a2 = "prod", e) {
|
21724
21731
|
let t = "web", i = Xe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21725
21732
|
if (Ge)
|
21726
|
-
return
|
21727
|
-
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n =
|
21728
|
-
return s.type && (p = `${
|
21733
|
+
return xs({ os: "web_nodejs", os_version: process.version, sdk: t, sdk_version: Os, env: i, domain: Xe, is_prebuilt: !!(e != null && e.isPrebuilt), framework: "node", framework_version: process.version, framework_sdk_version: e == null ? void 0 : e.sdkVersion });
|
21734
|
+
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n = Rr(`web_${r.name}`), d = r.version || "", u = Rr(`${o.name}_${o.version}`), p = u;
|
21735
|
+
return s.type && (p = `${Rr(`${s.vendor}_${s.type}`)}/${u}`), xs({ os: n, os_version: d, sdk: t, sdk_version: Os, device_model: p, env: i, domain: Xe, 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 });
|
21729
21736
|
}
|
21730
|
-
function
|
21737
|
+
function Rr(a2) {
|
21731
21738
|
return a2.replace(/ /g, "_");
|
21732
21739
|
}
|
21733
|
-
var
|
21740
|
+
var xs = (a2, e = ",") => Object.keys(a2).filter((t) => he(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21734
21741
|
var C = class {
|
21735
21742
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21736
21743
|
this.metadata = { peer: {}, userAgent: Et() };
|
21737
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id =
|
21744
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = (0, import_uuid3.v4)(), this.device_id = li();
|
21738
21745
|
}
|
21739
21746
|
toSignalParams() {
|
21740
21747
|
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Xe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21750,12 +21757,12 @@ var y = class {
|
|
21750
21757
|
return new C({ name: i, level: r, properties: s });
|
21751
21758
|
}
|
21752
21759
|
static preview(i) {
|
21753
|
-
var r = i, { error: e } = r, t =
|
21760
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21754
21761
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21755
21762
|
return new C({ name: s, level: o, properties: n });
|
21756
21763
|
}
|
21757
21764
|
static join(i) {
|
21758
|
-
var r = i, { error: e } = r, t =
|
21765
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21759
21766
|
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);
|
21760
21767
|
return new C({ name: s, level: o, properties: n });
|
21761
21768
|
}
|
@@ -21846,7 +21853,7 @@ var y = class {
|
|
21846
21853
|
}
|
21847
21854
|
};
|
21848
21855
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21849
|
-
var
|
21856
|
+
var Hr = class {
|
21850
21857
|
constructor() {
|
21851
21858
|
this.storage = new fe("hms-device-selection");
|
21852
21859
|
this.remember = false;
|
@@ -21880,19 +21887,11 @@ var Cr = class {
|
|
21880
21887
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
21881
21888
|
}
|
21882
21889
|
};
|
21883
|
-
var Y = new
|
21884
|
-
var
|
21885
|
-
var
|
21886
|
-
var
|
21887
|
-
|
21888
|
-
var Vs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Vs || {});
|
21889
|
-
var Fs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Fs || {});
|
21890
|
-
var Gs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Gs || {});
|
21891
|
-
var Ws = ((e) => (e.CAPTION = "caption", e))(Ws || {});
|
21892
|
-
var _r = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(_r || {});
|
21893
|
-
var $s = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))($s || {});
|
21894
|
-
var xr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(xr || {});
|
21895
|
-
function Si(a2, e = 300) {
|
21890
|
+
var Y = new Hr();
|
21891
|
+
var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
21892
|
+
var Lr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Lr || {});
|
21893
|
+
var _r = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(_r || {});
|
21894
|
+
function mi(a2, e = 300) {
|
21896
21895
|
let t;
|
21897
21896
|
return function(...i) {
|
21898
21897
|
clearTimeout(t), t = void 0;
|
@@ -21902,7 +21901,15 @@ function Si(a2, e = 300) {
|
|
21902
21901
|
}, e);
|
21903
21902
|
};
|
21904
21903
|
}
|
21905
|
-
var
|
21904
|
+
var Or = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Or || {});
|
21905
|
+
var Fs = ((n) => (n.NONE = "none", n.INITIALISED = "initialised", n.STARTED = "started", n.PAUSED = "paused", n.RESUMED = "resumed", n.STOPPED = "stopped", n.FAILED = "failed", n))(Fs || {});
|
21906
|
+
var Gs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Gs || {});
|
21907
|
+
var Ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ws || {});
|
21908
|
+
var $s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))($s || {});
|
21909
|
+
var Ks = ((e) => (e.CAPTION = "caption", e))(Ks || {});
|
21910
|
+
var xr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(xr || {});
|
21911
|
+
var qs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(qs || {});
|
21912
|
+
var Ur = class {
|
21906
21913
|
constructor() {
|
21907
21914
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
21908
21915
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21929,8 +21936,8 @@ var Br = class {
|
|
21929
21936
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
21930
21937
|
}
|
21931
21938
|
};
|
21932
|
-
var
|
21933
|
-
var
|
21939
|
+
var zs = new Ur();
|
21940
|
+
var Br = class {
|
21934
21941
|
constructor() {
|
21935
21942
|
this.TAG = "[HMSResizeObserverWrapper]";
|
21936
21943
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -21943,7 +21950,7 @@ var Vr = class {
|
|
21943
21950
|
(t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
|
21944
21951
|
};
|
21945
21952
|
this.createObserver = () => {
|
21946
|
-
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(
|
21953
|
+
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(mi(this.handleResize, 300)));
|
21947
21954
|
};
|
21948
21955
|
this.handleResize = (e) => {
|
21949
21956
|
var t;
|
@@ -21957,43 +21964,43 @@ var Vr = class {
|
|
21957
21964
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
21958
21965
|
}
|
21959
21966
|
};
|
21960
|
-
var
|
21961
|
-
var
|
21962
|
-
var
|
21963
|
-
var
|
21964
|
-
var
|
21965
|
-
var
|
21967
|
+
var Ys = new Br();
|
21968
|
+
var Vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Vr || {});
|
21969
|
+
var Fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Fr || {});
|
21970
|
+
var ea = "https://event.100ms.live/v2/client/report";
|
21971
|
+
var ta = "https://event-nonprod.100ms.live/v2/client/report";
|
21972
|
+
var Rt = Math.pow(2, 31) - 1;
|
21966
21973
|
var ot = class {
|
21967
21974
|
};
|
21968
21975
|
ot.makePeerId = () => (0, import_uuid7.v4)();
|
21969
21976
|
var F = (a2) => a2.room;
|
21970
|
-
var
|
21971
|
-
var
|
21972
|
-
var
|
21977
|
+
var Go = (a2) => a2.errors;
|
21978
|
+
var Tm = createSelector(Go, (a2) => a2.length === 0 ? null : a2.at(-1));
|
21979
|
+
var fm = createSelector(F, (a2) => a2.id);
|
21973
21980
|
var Q = (a2) => a2.peers;
|
21974
|
-
var
|
21975
|
-
var
|
21981
|
+
var Ai = (a2) => a2.messages.byID;
|
21982
|
+
var la = (a2) => a2.messages.allIDs;
|
21976
21983
|
var N = (a2) => a2.tracks;
|
21977
|
-
var
|
21978
|
-
var
|
21984
|
+
var zr = (a2) => a2.appData;
|
21985
|
+
var Wo = (a2) => a2.speakers;
|
21979
21986
|
var Be = createSelector([F], (a2) => a2 && a2.isConnected);
|
21980
|
-
var
|
21981
|
-
var
|
21982
|
-
var ke = createSelector([F, Q,
|
21983
|
-
var
|
21987
|
+
var ym = createSelector([Be, F], (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));
|
21988
|
+
var $o = (a2) => a2.hideLocalPeer;
|
21989
|
+
var ke = createSelector([F, Q, $o], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
21990
|
+
var Ko = createSelector(N, (a2) => Object.values(a2));
|
21984
21991
|
var re = createSelector(F, Q, (a2, e) => e[a2.localPeer]);
|
21985
21992
|
var Ie = createSelector(F, (a2) => a2.localPeer);
|
21986
|
-
var
|
21987
|
-
var
|
21993
|
+
var km = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
|
21994
|
+
var Em = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
|
21988
21995
|
var le = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
21989
21996
|
var X = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
21990
|
-
var
|
21991
|
-
var
|
21997
|
+
var qo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
21998
|
+
var pa = createSelector([le, X, qo], (a2, e, t) => {
|
21992
21999
|
let i = t ? [...t] : [];
|
21993
22000
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
21994
22001
|
});
|
21995
|
-
var
|
21996
|
-
var
|
22002
|
+
var Pm = createSelector(ke, (a2) => a2.filter((e) => !e.isLocal));
|
22003
|
+
var bm = createSelector(Q, Wo, (a2, e) => {
|
21997
22004
|
let t = Object.entries(e).sort((i, r) => {
|
21998
22005
|
var n, d;
|
21999
22006
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22006,11 +22013,11 @@ var Cm = createSelector(Q, $o, (a2, e) => {
|
|
22006
22013
|
}
|
22007
22014
|
return null;
|
22008
22015
|
});
|
22009
|
-
var
|
22016
|
+
var Xr = createSelector(re, N, (a2, e) => {
|
22010
22017
|
let { video: t, audio: i } = Fe(e, a2);
|
22011
22018
|
return !!(t || i);
|
22012
22019
|
});
|
22013
|
-
var
|
22020
|
+
var jo = createSelector(Q, N, (a2, e) => {
|
22014
22021
|
let t;
|
22015
22022
|
for (let i in a2) {
|
22016
22023
|
let r = a2[i], { video: s, audio: o } = Fe(e, r);
|
@@ -22020,15 +22027,15 @@ var Jo = createSelector(Q, N, (a2, e) => {
|
|
22020
22027
|
}
|
22021
22028
|
return t;
|
22022
22029
|
});
|
22023
|
-
var
|
22024
|
-
var
|
22030
|
+
var Im = createSelector(jo, (a2) => !!a2);
|
22031
|
+
var Rm = createSelector(Q, N, (a2, e) => {
|
22025
22032
|
for (let t in a2) {
|
22026
22033
|
let i = a2[t], { audio: r, video: s } = Fe(e, i);
|
22027
22034
|
if (!s && r)
|
22028
22035
|
return i;
|
22029
22036
|
}
|
22030
22037
|
});
|
22031
|
-
var
|
22038
|
+
var Hm = createSelector(Q, N, (a2, e) => {
|
22032
22039
|
let t = [], i = [];
|
22033
22040
|
for (let r in a2) {
|
22034
22041
|
let s = a2[r], { video: o, audio: n } = Fe(e, s);
|
@@ -22036,82 +22043,82 @@ var _m = createSelector(Q, N, (a2, e) => {
|
|
22036
22043
|
}
|
22037
22044
|
return t.concat(i);
|
22038
22045
|
});
|
22039
|
-
var
|
22046
|
+
var Cm = createSelector(Q, N, (a2, e) => {
|
22040
22047
|
for (let t in e) {
|
22041
22048
|
let i = e[t];
|
22042
22049
|
if (ft(i) && Tt(i) && i.peerId)
|
22043
22050
|
return a2[i.peerId];
|
22044
22051
|
}
|
22045
22052
|
});
|
22046
|
-
var
|
22053
|
+
var Lm = createSelector(Q, N, (a2, e) => {
|
22047
22054
|
for (let t in e) {
|
22048
22055
|
let i = e[t];
|
22049
|
-
if (
|
22056
|
+
if (ci(i) && i.peerId)
|
22050
22057
|
return a2[i.peerId];
|
22051
22058
|
}
|
22052
22059
|
});
|
22053
|
-
var
|
22054
|
-
var
|
22055
|
-
var
|
22056
|
-
var
|
22060
|
+
var Dm = createSelector(Ko, (a2) => a2.filter(Ms));
|
22061
|
+
var wm = createSelector(la, (a2) => a2.length);
|
22062
|
+
var _m = createSelector(Ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22063
|
+
var Dt = createSelector(la, Ai, (a2, e) => {
|
22057
22064
|
let t = [];
|
22058
22065
|
return a2.forEach((i) => {
|
22059
22066
|
t.push(e[i]);
|
22060
22067
|
}), t;
|
22061
22068
|
});
|
22062
|
-
var
|
22069
|
+
var Jo = createSelector(Dt, (a2) => a2.filter((e) => {
|
22063
22070
|
var t;
|
22064
22071
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22065
22072
|
}));
|
22066
|
-
var
|
22073
|
+
var Nm = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22067
22074
|
var se = createSelector([F], (a2) => a2 && a2.roomState);
|
22068
|
-
var
|
22069
|
-
var
|
22070
|
-
var
|
22075
|
+
var ma = createSelector(se, (a2) => a2 === "Preview");
|
22076
|
+
var Om = createSelector(F, (a2) => a2.roomState !== "Disconnected");
|
22077
|
+
var xm = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22071
22078
|
var Ee = (a2) => a2.roles;
|
22072
|
-
var
|
22079
|
+
var Um = createSelector([Ee], (a2) => Object.keys(a2));
|
22073
22080
|
var ct = createSelector([re, Ee], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22074
|
-
var
|
22081
|
+
var Qo = (a2) => {
|
22075
22082
|
var e;
|
22076
22083
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22077
22084
|
};
|
22078
|
-
var
|
22079
|
-
var
|
22085
|
+
var Sa = createSelector([Qo, Ee], (a2, e) => a2 ? e[a2] : null);
|
22086
|
+
var Bm = createSelector([ct], (a2) => {
|
22080
22087
|
var e;
|
22081
22088
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22082
22089
|
});
|
22083
|
-
var
|
22084
|
-
var
|
22085
|
-
var
|
22086
|
-
var
|
22087
|
-
var
|
22088
|
-
var
|
22089
|
-
var
|
22090
|
-
var
|
22091
|
-
var
|
22092
|
-
var
|
22093
|
-
var
|
22094
|
-
var
|
22095
|
-
var
|
22096
|
-
var
|
22097
|
-
var
|
22098
|
-
var
|
22099
|
-
var
|
22100
|
-
var
|
22101
|
-
var
|
22102
|
-
var
|
22103
|
-
var
|
22104
|
-
var
|
22105
|
-
var
|
22090
|
+
var ga = createSelector(ct, (a2) => a2 == null ? void 0 : a2.permissions);
|
22091
|
+
var Vm = createSelector(F, (a2) => a2.recording);
|
22092
|
+
var Fm = createSelector(F, (a2) => a2.rtmp);
|
22093
|
+
var Gm = createSelector(F, (a2) => a2.hls);
|
22094
|
+
var Wm = createSelector(F, (a2) => a2.transcriptions);
|
22095
|
+
var $m = createSelector(F, (a2) => a2.sessionId);
|
22096
|
+
var Km = createSelector(F, (a2) => a2.startedAt);
|
22097
|
+
var qm = createSelector(F, (a2) => !!a2.isLargeRoom);
|
22098
|
+
var jm = createSelector(F, (a2) => !!a2.isEffectsEnabled);
|
22099
|
+
var Jm = createSelector(F, (a2) => !!a2.isVBEnabled);
|
22100
|
+
var Qm = createSelector(F, (a2) => a2.effectsKey);
|
22101
|
+
var Ta = (a2) => a2.polls;
|
22102
|
+
var Zm = createSelector(ke, (a2) => a2.filter((e) => e.isHandRaised));
|
22103
|
+
var zo = (a2) => a2.whiteboards;
|
22104
|
+
var eS = createSelector(zo, (a2) => Object.values(a2)[0]);
|
22105
|
+
var va = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22106
|
+
var Zr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22107
|
+
var Ma = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22108
|
+
var ya = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22109
|
+
var ka = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22110
|
+
var Ea = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22111
|
+
var Pa = (a2 = "audio") => createSelector(va(a2), (e) => Object.values(e));
|
22112
|
+
var ba = (a2 = "audio") => createSelector(va(a2), Zr(a2), (e, t) => {
|
22106
22113
|
if (t.id)
|
22107
22114
|
return e[t.id];
|
22108
22115
|
});
|
22109
|
-
var
|
22110
|
-
var
|
22116
|
+
var Aa = { selection: Zr("audio"), progress: Ma("audio"), currentTime: ya("audio"), playbackRate: ka("audio"), volume: Ea("audio"), list: Pa("audio"), selectedItem: ba("audio") };
|
22117
|
+
var Ia = { selection: Zr("video"), progress: Ma("video"), currentTime: ya("video"), playbackRate: ka("video"), volume: Ea("video"), list: Pa("video"), selectedItem: ba("video") };
|
22111
22118
|
function H(a2) {
|
22112
22119
|
return (e) => (t) => a2(t, e);
|
22113
22120
|
}
|
22114
|
-
var
|
22121
|
+
var wt = "HMS-Store:";
|
22115
22122
|
var b = class {
|
22116
22123
|
static v(e, ...t) {
|
22117
22124
|
this.log(0, e, ...t);
|
@@ -22141,23 +22148,23 @@ var b = class {
|
|
22141
22148
|
if (!(this.level.valueOf() > e.valueOf()))
|
22142
22149
|
switch (e) {
|
22143
22150
|
case 0: {
|
22144
|
-
console.log(
|
22151
|
+
console.log(wt, ...t);
|
22145
22152
|
break;
|
22146
22153
|
}
|
22147
22154
|
case 1: {
|
22148
|
-
console.debug(
|
22155
|
+
console.debug(wt, ...t);
|
22149
22156
|
break;
|
22150
22157
|
}
|
22151
22158
|
case 2: {
|
22152
|
-
console.info(
|
22159
|
+
console.info(wt, ...t);
|
22153
22160
|
break;
|
22154
22161
|
}
|
22155
22162
|
case 3: {
|
22156
|
-
console.warn(
|
22163
|
+
console.warn(wt, ...t);
|
22157
22164
|
break;
|
22158
22165
|
}
|
22159
22166
|
case 6: {
|
22160
|
-
console.error(
|
22167
|
+
console.error(wt, ...t);
|
22161
22168
|
break;
|
22162
22169
|
}
|
22163
22170
|
case 4: {
|
@@ -22178,133 +22185,133 @@ var b = class {
|
|
22178
22185
|
}
|
22179
22186
|
};
|
22180
22187
|
b.level = 0;
|
22181
|
-
var
|
22182
|
-
var
|
22183
|
-
var
|
22188
|
+
var es = (a2, e) => e;
|
22189
|
+
var _t = (a2, e) => e;
|
22190
|
+
var Ra = (a2, e) => e;
|
22191
|
+
var Yo = (a2, e) => e;
|
22184
22192
|
var Xo = (a2, e) => e;
|
22185
|
-
var
|
22186
|
-
var
|
22187
|
-
var
|
22188
|
-
var en = createSelector([N, Nt], (a2, e) => {
|
22193
|
+
var z = createSelector([Q, es], (a2, e) => e ? a2[e] : null);
|
22194
|
+
var ts = createSelector([N, _t], (a2, e) => e ? a2[e] : null);
|
22195
|
+
var Zo = createSelector([N, _t], (a2, e) => {
|
22189
22196
|
if (!e)
|
22190
22197
|
return null;
|
22191
22198
|
let t = a2[e];
|
22192
22199
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22193
22200
|
});
|
22194
|
-
var
|
22201
|
+
var en = createSelector([N, _t], (a2, e) => {
|
22195
22202
|
if (!e)
|
22196
22203
|
return null;
|
22197
22204
|
let t = a2[e];
|
22198
22205
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22199
22206
|
});
|
22200
|
-
var
|
22207
|
+
var tn = createSelector([N, _t], (a2, e) => {
|
22201
22208
|
if (!e)
|
22202
22209
|
return null;
|
22203
22210
|
let t = a2[e];
|
22204
22211
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22205
22212
|
});
|
22206
|
-
var
|
22213
|
+
var rn = createSelector([N, _t], (a2, e) => {
|
22207
22214
|
if (!e)
|
22208
22215
|
return null;
|
22209
22216
|
let t = a2[e];
|
22210
22217
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22211
22218
|
});
|
22212
|
-
var
|
22219
|
+
var sn = createSelector([Ta, Xo], (a2, e) => e ? a2[e] : null);
|
22213
22220
|
var Z = H(z);
|
22214
|
-
var
|
22221
|
+
var uS = H(createSelector([zr, Yo], (a2, e) => {
|
22215
22222
|
if (a2)
|
22216
22223
|
return e ? a2[e] : a2;
|
22217
22224
|
}));
|
22218
|
-
function
|
22225
|
+
function pS(a2) {
|
22219
22226
|
return (e) => {
|
22220
22227
|
if (e.sessionStore)
|
22221
22228
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22222
22229
|
};
|
22223
22230
|
}
|
22224
|
-
var
|
22225
|
-
var
|
22226
|
-
var
|
22227
|
-
var
|
22228
|
-
var
|
22229
|
-
var
|
22230
|
-
var
|
22231
|
-
var
|
22231
|
+
var mS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.name));
|
22232
|
+
var SS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.type));
|
22233
|
+
var Ii = H(ts);
|
22234
|
+
var Ha = H(Zo);
|
22235
|
+
var gS = H(en);
|
22236
|
+
var TS = H(tn);
|
22237
|
+
var fS = H(rn);
|
22238
|
+
var an = H((a2, e) => {
|
22232
22239
|
let t = z(a2, e);
|
22233
22240
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22234
22241
|
return a2.tracks[t.videoTrack];
|
22235
22242
|
});
|
22236
|
-
var
|
22243
|
+
var on = H((a2, e) => {
|
22237
22244
|
let t = z(a2, e);
|
22238
22245
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22239
22246
|
return a2.tracks[t.audioTrack];
|
22240
22247
|
});
|
22241
|
-
var
|
22248
|
+
var MS = H((a2, e) => {
|
22242
22249
|
let t = z(a2, e);
|
22243
22250
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22244
22251
|
});
|
22245
|
-
var
|
22246
|
-
var
|
22247
|
-
var
|
22248
|
-
let t =
|
22249
|
-
return
|
22250
|
-
};
|
22251
|
-
var
|
22252
|
-
var
|
22252
|
+
var Ca = (a2, e) => e ? a2.speakers[e] : null;
|
22253
|
+
var yS = H(createSelector(Ca, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22254
|
+
var nn = (a2, e) => {
|
22255
|
+
let t = on(e)(a2);
|
22256
|
+
return Ca(a2, t == null ? void 0 : t.id);
|
22257
|
+
};
|
22258
|
+
var kS = H(createSelector(nn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22259
|
+
var ES = H((a2, e) => {
|
22253
22260
|
if (e)
|
22254
22261
|
return a2.connectionQualities[e];
|
22255
22262
|
});
|
22256
|
-
var
|
22263
|
+
var PS = H((a2, e) => {
|
22257
22264
|
let t = z(a2, e);
|
22258
22265
|
if (t) {
|
22259
22266
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => gt(a2.tracks[r]));
|
22260
22267
|
return i ? a2.tracks[i] : void 0;
|
22261
22268
|
}
|
22262
22269
|
});
|
22263
|
-
var
|
22270
|
+
var bS = H(createSelector(N, z, (a2, e) => {
|
22264
22271
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22265
22272
|
let r = a2[i];
|
22266
22273
|
return ft(r) && Tt(r);
|
22267
22274
|
});
|
22268
22275
|
return t ? a2[t] : void 0;
|
22269
22276
|
}));
|
22270
|
-
var
|
22277
|
+
var AS = H(createSelector(N, z, (a2, e) => {
|
22271
22278
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22272
22279
|
let r = a2[i];
|
22273
22280
|
return ft(r) && gt(r);
|
22274
22281
|
});
|
22275
22282
|
return t ? a2[t] : void 0;
|
22276
22283
|
}));
|
22277
|
-
var
|
22284
|
+
var IS = H(createSelector(N, z, (a2, e) => {
|
22278
22285
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22279
22286
|
let r = a2[i];
|
22280
|
-
return
|
22287
|
+
return ci(r) && gt(r);
|
22281
22288
|
});
|
22282
22289
|
return t ? a2[t] : void 0;
|
22283
22290
|
}));
|
22284
|
-
var
|
22285
|
-
var
|
22286
|
-
var
|
22291
|
+
var La = H(createSelector(N, z, (a2, e) => Fe(a2, e)));
|
22292
|
+
var Da = (a2) => createSelector(La(a2), (e) => e.audio);
|
22293
|
+
var HS = H((a2, e) => {
|
22287
22294
|
let t = z(a2, e);
|
22288
22295
|
return ze(a2, t == null ? void 0 : t.audioTrack);
|
22289
22296
|
});
|
22290
|
-
var
|
22297
|
+
var CS = H((a2, e) => {
|
22291
22298
|
let t = z(a2, e);
|
22292
22299
|
return ze(a2, t == null ? void 0 : t.videoTrack);
|
22293
22300
|
});
|
22294
|
-
var
|
22301
|
+
var wa = H((a2, e) => {
|
22295
22302
|
if (e && a2.tracks[e])
|
22296
22303
|
return a2.tracks[e].volume === 0;
|
22297
22304
|
});
|
22298
|
-
var
|
22305
|
+
var LS = H((a2, e) => {
|
22299
22306
|
let t = z(a2, e);
|
22300
|
-
return
|
22307
|
+
return wa(t == null ? void 0 : t.audioTrack)(a2);
|
22301
22308
|
});
|
22302
|
-
var
|
22303
|
-
let t =
|
22304
|
-
return
|
22309
|
+
var DS = H((a2, e) => {
|
22310
|
+
let t = Da(e)(a2);
|
22311
|
+
return wa(t == null ? void 0 : t.id)(a2);
|
22305
22312
|
});
|
22306
|
-
var
|
22307
|
-
let t =
|
22313
|
+
var _a7 = H((a2, e) => {
|
22314
|
+
let t = ts(a2, e);
|
22308
22315
|
if (t) {
|
22309
22316
|
if (t.type !== "audio") {
|
22310
22317
|
b.w("Please pass audio track here");
|
@@ -22313,16 +22320,16 @@ var Na = H((a2, e) => {
|
|
22313
22320
|
return t.volume;
|
22314
22321
|
}
|
22315
22322
|
});
|
22316
|
-
var
|
22323
|
+
var wS = H((a2, e) => {
|
22317
22324
|
let t = z(a2, e);
|
22318
|
-
return
|
22325
|
+
return _a7(t == null ? void 0 : t.audioTrack)(a2);
|
22319
22326
|
});
|
22320
|
-
var
|
22321
|
-
let t =
|
22322
|
-
return
|
22327
|
+
var _S = H((a2, e) => {
|
22328
|
+
let t = Da(e)(a2);
|
22329
|
+
return _a7(t == null ? void 0 : t.id)(a2);
|
22323
22330
|
});
|
22324
|
-
var
|
22325
|
-
let t =
|
22331
|
+
var NS = H((a2, e) => {
|
22332
|
+
let t = ts(a2, e);
|
22326
22333
|
if (t) {
|
22327
22334
|
if (t.type !== "video") {
|
22328
22335
|
b.w("Please pass video track here");
|
@@ -22331,50 +22338,50 @@ var VS = H((a2, e) => {
|
|
22331
22338
|
return t.layer;
|
22332
22339
|
}
|
22333
22340
|
});
|
22334
|
-
var
|
22341
|
+
var Na = createSelector([Dt, Ie, es], (a2, e, t) => {
|
22335
22342
|
if (t)
|
22336
22343
|
return a2.filter((i) => {
|
22337
22344
|
var r;
|
22338
22345
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22339
22346
|
});
|
22340
22347
|
});
|
22341
|
-
var
|
22348
|
+
var Oa = createSelector([Dt, Ra], (a2, e) => {
|
22342
22349
|
if (e)
|
22343
22350
|
return a2.filter((t) => {
|
22344
22351
|
var i, r;
|
22345
22352
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22346
22353
|
});
|
22347
22354
|
});
|
22348
|
-
var
|
22355
|
+
var cn = createSelector(Dt, (a2) => a2.filter((e) => {
|
22349
22356
|
var t;
|
22350
22357
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22351
22358
|
}));
|
22352
|
-
var
|
22353
|
-
var
|
22354
|
-
var
|
22355
|
-
var
|
22356
|
-
var
|
22357
|
-
var
|
22358
|
-
var
|
22359
|
-
var
|
22360
|
-
var
|
22359
|
+
var dn = createSelector([Oa, Ra], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22360
|
+
var ln = createSelector([Na, es], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22361
|
+
var OS = createSelector(cn, (a2) => a2.filter((e) => !e.read).length);
|
22362
|
+
var xS = H(Na);
|
22363
|
+
var US = H(Oa);
|
22364
|
+
var BS = H(dn);
|
22365
|
+
var VS = H(ln);
|
22366
|
+
var xa = H(sn);
|
22367
|
+
var XS = createSelector([Q, N], (a2, e) => Object.values(a2).map((i) => {
|
22361
22368
|
var r;
|
22362
22369
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22363
22370
|
}));
|
22364
|
-
var
|
22365
|
-
var
|
22366
|
-
var
|
22367
|
-
var
|
22368
|
-
var
|
22371
|
+
var un = (a2) => a2.roleChangeRequests[0] || null;
|
22372
|
+
var ZS = createSelector([un, Q, Ee], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
22373
|
+
var eg = createSelector([ct], (a2) => vt(a2));
|
22374
|
+
var tg = createSelector([Sa], (a2) => vt(a2));
|
22375
|
+
var hn = createSelector([X, N], (a2, e) => {
|
22369
22376
|
let t = null;
|
22370
22377
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22371
22378
|
});
|
22372
|
-
var
|
22379
|
+
var mn = createSelector([le, N], (a2, e) => {
|
22373
22380
|
let t = null;
|
22374
22381
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22375
22382
|
});
|
22376
|
-
var
|
22377
|
-
var
|
22383
|
+
var Tn = ((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))(Tn || {});
|
22384
|
+
var os = class {
|
22378
22385
|
constructor() {
|
22379
22386
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22380
22387
|
this.failedEvents = new fe("client-events");
|
@@ -22393,7 +22400,7 @@ var ns = class {
|
|
22393
22400
|
this.addEventToStorage(e);
|
22394
22401
|
return;
|
22395
22402
|
}
|
22396
|
-
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ?
|
22403
|
+
let t = { event: e.name, payload: e.properties, event_id: String(e.timestamp), peer: e.metadata.peer, timestamp: e.timestamp, device_id: e.device_id, cluster: { websocket_url: this.websocketURL } }, i = this.env === "prod" ? ea : ta;
|
22397
22404
|
fetch(i, { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${e.metadata.token}`, user_agent_v2: e.metadata.userAgent }, body: JSON.stringify(t) }).then((r) => {
|
22398
22405
|
if (r.status === 401) {
|
22399
22406
|
this.removeFromStorage(e);
|
@@ -22419,8 +22426,8 @@ var ns = class {
|
|
22419
22426
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22420
22427
|
}
|
22421
22428
|
};
|
22422
|
-
var He = new
|
22423
|
-
var
|
22429
|
+
var He = new os();
|
22430
|
+
var $t = class {
|
22424
22431
|
static handleError(e) {
|
22425
22432
|
if (e.status === 404)
|
22426
22433
|
throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
|
@@ -22446,67 +22453,67 @@ var Kt = class {
|
|
22446
22453
|
});
|
22447
22454
|
}
|
22448
22455
|
};
|
22449
|
-
|
22450
|
-
var
|
22451
|
-
var
|
22452
|
-
var
|
22456
|
+
$t.TAG = "[FeedbackService]";
|
22457
|
+
var ns = ((f) => (f.FLAG_SERVER_SUB_DEGRADATION = "subscribeDegradation", f.FLAG_SERVER_SIMULCAST = "simulcast", f.FLAG_NON_WEBRTC_DISABLE_OFFER = "nonWebRTCDisableOffer", f.FLAG_PUBLISH_STATS = "publishStats", f.FLAG_SUBSCRIBE_STATS = "subscribeStats", f.FLAG_ON_DEMAND_TRACKS = "onDemandTracks", f.FLAG_DISABLE_VIDEO_TRACK_AUTO_UNSUBSCRIBE = "disableVideoTrackAutoUnsubscribe", f.FLAG_WHITEBOARD_ENABLED = "whiteboardEnabled", f.FLAG_EFFECTS_SDK_ENABLED = "effectsSDKEnabled", f.FLAG_VB_ENABLED = "vb", f.FLAG_HIPAA_ENABLED = "hipaa", f.FLAG_NOISE_CANCELLATION = "noiseCancellation", f.FLAG_SCALE_SCREENSHARE_BASED_ON_PIXELS = "scaleScreenshareBasedOnPixels", f.FLAG_DISABLE_NONE_LAYER_REQUEST = "disableNoneLayerRequest", f))(ns || {});
|
22458
|
+
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 || {});
|
22459
|
+
var lr = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(lr || {});
|
22453
22460
|
var ht = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ht || {});
|
22454
|
-
var
|
22455
|
-
var
|
22456
|
-
var
|
22457
|
-
var
|
22458
|
-
var
|
22459
|
-
var
|
22460
|
-
var
|
22461
|
-
var
|
22462
|
-
var Le = createSelector([
|
22463
|
-
var
|
22461
|
+
var Un = (a2) => a2.localPeer.id;
|
22462
|
+
var Bn = (a2) => a2.localPeer.audioTrack;
|
22463
|
+
var Vn = (a2) => a2.localPeer.videoTrack;
|
22464
|
+
var Fn = (a2, e) => e;
|
22465
|
+
var oo = (a2, e) => e;
|
22466
|
+
var Gn = (a2) => a2.remoteTrackStats;
|
22467
|
+
var no = (a2) => a2.peerStats;
|
22468
|
+
var us = (a2) => a2.localTrackStats;
|
22469
|
+
var Le = createSelector([no, Un], (a2, e) => a2[e]);
|
22470
|
+
var Wn = createSelector(Le, (a2) => {
|
22464
22471
|
var e;
|
22465
22472
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22466
22473
|
});
|
22467
|
-
var
|
22474
|
+
var $n = createSelector(Le, (a2) => {
|
22468
22475
|
var e;
|
22469
22476
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22470
22477
|
});
|
22471
|
-
var
|
22478
|
+
var Kn = createSelector(Le, (a2) => {
|
22472
22479
|
var e;
|
22473
22480
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22474
22481
|
});
|
22475
|
-
var
|
22482
|
+
var qn = createSelector(Le, (a2) => {
|
22476
22483
|
var e;
|
22477
22484
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22478
22485
|
});
|
22479
|
-
var
|
22486
|
+
var jn = createSelector(Le, (a2) => {
|
22480
22487
|
var e;
|
22481
22488
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22482
22489
|
});
|
22483
|
-
var
|
22490
|
+
var Jn = createSelector(Le, (a2) => {
|
22484
22491
|
var e;
|
22485
22492
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22486
22493
|
});
|
22487
|
-
var
|
22494
|
+
var Qn = createSelector(Le, (a2) => {
|
22488
22495
|
var e;
|
22489
22496
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22490
22497
|
});
|
22491
|
-
var
|
22498
|
+
var zn = createSelector(Le, (a2) => {
|
22492
22499
|
var e;
|
22493
22500
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22494
22501
|
});
|
22495
|
-
var
|
22496
|
-
var
|
22497
|
-
var
|
22502
|
+
var Yn = createSelector([no, Fn], (a2, e) => e ? a2[e] : void 0);
|
22503
|
+
var Xn = createSelector([Gn, oo], (a2, e) => e ? a2[e] : void 0);
|
22504
|
+
var ps = createSelector([us, oo], (a2, e) => e ? a2[e] : void 0);
|
22505
|
+
var Zn = H(Yn);
|
22498
22506
|
var ec = H(Xn);
|
22499
|
-
var tc =
|
22500
|
-
var ic = createSelector([ps, Vn], (a2, e) => {
|
22507
|
+
var tc = createSelector([us, Bn], (a2, e) => {
|
22501
22508
|
var t;
|
22502
22509
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22503
22510
|
});
|
22504
|
-
var
|
22505
|
-
var
|
22511
|
+
var ic = H(createSelector(ps, (a2) => a2 == null ? void 0 : a2[0]));
|
22512
|
+
var rc = createSelector([us, Vn], (a2, e) => {
|
22506
22513
|
var t;
|
22507
22514
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22508
22515
|
});
|
22509
|
-
var
|
22516
|
+
var sc = H(createSelector(ps, (a2) => a2));
|
22510
22517
|
|
22511
22518
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22512
22519
|
var import_react_sdk41 = require("@100mslive/react-sdk");
|
@@ -22615,7 +22622,7 @@ var RecordingStatus = () => {
|
|
22615
22622
|
};
|
22616
22623
|
var RecordingPauseStatus = () => {
|
22617
22624
|
const recording = (0, import_react_sdk41.useHMSStore)(import_react_sdk41.selectRecordingState);
|
22618
|
-
if (recording.hls && recording.hls.state ===
|
22625
|
+
if (recording.hls && recording.hls.state === Fs.PAUSED) {
|
22619
22626
|
return /* @__PURE__ */ import_react88.default.createElement(
|
22620
22627
|
Tooltip,
|
22621
22628
|
{
|
@@ -23784,7 +23791,7 @@ var ChatToggle = ({ onClick }) => {
|
|
23784
23791
|
background: "$primary_default"
|
23785
23792
|
}
|
23786
23793
|
},
|
23787
|
-
/* @__PURE__ */ import_react104.default.createElement(Text, { variant: "overline" }, countUnreadMessages > 99 ? "99+" : countUnreadMessages)
|
23794
|
+
/* @__PURE__ */ import_react104.default.createElement(Text, { variant: "overline", css: { color: "$on_primary_high" } }, countUnreadMessages > 99 ? "99+" : countUnreadMessages)
|
23788
23795
|
)
|
23789
23796
|
);
|
23790
23797
|
};
|
@@ -25314,7 +25321,7 @@ var MultipleChoiceOptions = ({
|
|
25314
25321
|
}
|
25315
25322
|
},
|
25316
25323
|
/* @__PURE__ */ import_react124.default.createElement(Checkbox.Indicator, null, /* @__PURE__ */ import_react124.default.createElement(import_react_icons55.CheckIcon, { width: 16, height: 16 }))
|
25317
|
-
) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ import_react124.default.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ import_react124.default.createElement(import_react_icons55.CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ import_react124.default.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ import_react124.default.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ import_react124.default.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ import_react124.default.createElement(Label3, { htmlFor: `${questionIndex}-${option.index}
|
25324
|
+
) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ import_react124.default.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ import_react124.default.createElement(import_react_icons55.CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ import_react124.default.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ import_react124.default.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ import_react124.default.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ import_react124.default.createElement(Label3, { htmlFor: `${questionIndex}-${option.index}`, css: { color: "inherit" } }, option.text)), showVoteCount && /* @__PURE__ */ import_react124.default.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ import_react124.default.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.options.includes(option.index)) ? /* @__PURE__ */ import_react124.default.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
|
25318
25325
|
}));
|
25319
25326
|
};
|
25320
25327
|
var MultipleChoiceOptionInputs = ({ isQuiz, options, selectAnswer, handleOptionTextChange, removeOption }) => {
|
@@ -26765,18 +26772,19 @@ var ChatSelectorContainer = () => {
|
|
26765
26772
|
"data-testid": "participant_list_filter",
|
26766
26773
|
css: {
|
26767
26774
|
background: "$primary_default",
|
26775
|
+
c: "$on_primary_high",
|
26768
26776
|
r: "$0",
|
26769
26777
|
p: "$1 $2",
|
26770
26778
|
ml: "$6"
|
26771
26779
|
},
|
26772
26780
|
tabIndex: 0
|
26773
26781
|
},
|
26774
|
-
/* @__PURE__ */ import_react144.default.createElement(Flex, { align: "center",
|
26782
|
+
/* @__PURE__ */ import_react144.default.createElement(Flex, { align: "center", gap: "1" }, /* @__PURE__ */ import_react144.default.createElement(
|
26775
26783
|
Text,
|
26776
26784
|
{
|
26777
26785
|
variant: "caption",
|
26778
26786
|
css: {
|
26779
|
-
c: "
|
26787
|
+
c: "inherit",
|
26780
26788
|
pr: "$2",
|
26781
26789
|
display: "flex",
|
26782
26790
|
alignItems: "center",
|
@@ -27375,7 +27383,7 @@ var Chat = () => {
|
|
27375
27383
|
const listRef = (0, import_react153.useRef)(null);
|
27376
27384
|
const hmsActions = (0, import_react_sdk74.useHMSActions)();
|
27377
27385
|
const vanillaStore = (0, import_react_sdk74.useHMSVanillaStore)();
|
27378
|
-
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(
|
27386
|
+
const { enabled: isChatEnabled = true } = (0, import_react_sdk74.useHMSStore)(pS("chatState" /* CHAT_STATE */)) || {};
|
27379
27387
|
const isMobile = (0, import_react_use26.useMedia)(config.media.md);
|
27380
27388
|
const isMobileHLSStream = useMobileHLSStream();
|
27381
27389
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27465,7 +27473,7 @@ var NewMessageIndicator = ({
|
|
27465
27473
|
scrollToBottom,
|
27466
27474
|
listRef
|
27467
27475
|
}) => {
|
27468
|
-
const unreadCount = (0, import_react_sdk74.useHMSStore)(
|
27476
|
+
const unreadCount = (0, import_react_sdk74.useHMSStore)(_m);
|
27469
27477
|
if (!unreadCount || !listRef.current) {
|
27470
27478
|
return null;
|
27471
27479
|
}
|
@@ -28431,12 +28439,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28431
28439
|
const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
|
28432
28440
|
const isLargeRoom = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLargeRoom);
|
28433
28441
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28434
|
-
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(
|
28435
|
-
const effectsKey = (0, import_react_sdk82.useHMSStore)(
|
28442
|
+
const isEffectsEnabled = (0, import_react_sdk82.useHMSStore)(jm);
|
28443
|
+
const effectsKey = (0, import_react_sdk82.useHMSStore)(Qm);
|
28436
28444
|
const isMobile = (0, import_react_use32.useMedia)(config.media.md);
|
28437
28445
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28438
28446
|
const isPluginAdded = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28439
|
-
const background = (0, import_react_sdk82.useHMSStore)(
|
28447
|
+
const background = (0, import_react_sdk82.useHMSStore)(uS(APP_DATA.background));
|
28440
28448
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28441
28449
|
const pluginLoadingRef = (0, import_react163.useRef)(false);
|
28442
28450
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -29504,7 +29512,7 @@ var useTileLayout = ({
|
|
29504
29512
|
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
29505
29513
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
29506
29514
|
const rowElements = [];
|
29507
|
-
for (let
|
29515
|
+
for (let j2 = 0; j2 < numCols; j2++) {
|
29508
29516
|
if (index < page.length) {
|
29509
29517
|
rowElements.push(page[index++]);
|
29510
29518
|
}
|
@@ -32283,7 +32291,8 @@ var TranscriptView = ({ peer_id, data: data3 }) => {
|
|
32283
32291
|
{
|
32284
32292
|
variant: "body2",
|
32285
32293
|
css: {
|
32286
|
-
fontWeight: "$normal"
|
32294
|
+
fontWeight: "$normal",
|
32295
|
+
color: "inherit"
|
32287
32296
|
}
|
32288
32297
|
},
|
32289
32298
|
/* @__PURE__ */ import_react205.default.createElement("b", null, peerName, ": "),
|
@@ -32354,6 +32363,7 @@ var CaptionsViewer = ({
|
|
32354
32363
|
background: "#000000A3",
|
32355
32364
|
overflow: "clip",
|
32356
32365
|
zIndex: 10,
|
32366
|
+
color: "$on_primary_high",
|
32357
32367
|
height: "fit-content",
|
32358
32368
|
r: "$1",
|
32359
32369
|
p: "$6",
|
@@ -34187,8 +34197,8 @@ var import_react230 = require("react");
|
|
34187
34197
|
var import_react_sdk118 = require("@100mslive/react-sdk");
|
34188
34198
|
var MessageNotifications = () => {
|
34189
34199
|
var _a8, _b7;
|
34190
|
-
const notification = (0, import_react_sdk118.useHMSNotifications)(
|
34191
|
-
const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(
|
34200
|
+
const notification = (0, import_react_sdk118.useHMSNotifications)(Pr.NEW_MESSAGE);
|
34201
|
+
const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(Xr);
|
34192
34202
|
const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
|
34193
34203
|
const { pipWindow } = usePIPWindow();
|
34194
34204
|
const { showNotification } = (0, import_react_sdk118.useAwayNotifications)();
|