@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.js
CHANGED
@@ -34,8 +34,8 @@ var __objRest = (source, exclude) => {
|
|
34
34
|
}
|
35
35
|
return target;
|
36
36
|
};
|
37
|
-
var __esm = (
|
38
|
-
return
|
37
|
+
var __esm = (fn, res) => function __init() {
|
38
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
39
39
|
};
|
40
40
|
var __commonJS = (cb, mod) => function __require() {
|
41
41
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_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" };
|
110
|
+
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" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -2286,8 +2286,8 @@ var require_lodash = __commonJS({
|
|
2286
2286
|
function createBind(func, bitmask, thisArg) {
|
2287
2287
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2288
2288
|
function wrapper() {
|
2289
|
-
var
|
2290
|
-
return
|
2289
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2290
|
+
return fn.apply(isBind ? thisArg : this, arguments);
|
2291
2291
|
}
|
2292
2292
|
return wrapper;
|
2293
2293
|
}
|
@@ -2353,8 +2353,8 @@ var require_lodash = __commonJS({
|
|
2353
2353
|
arity - length
|
2354
2354
|
);
|
2355
2355
|
}
|
2356
|
-
var
|
2357
|
-
return apply(
|
2356
|
+
var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2357
|
+
return apply(fn, this, args);
|
2358
2358
|
}
|
2359
2359
|
return wrapper;
|
2360
2360
|
}
|
@@ -2442,7 +2442,7 @@ var require_lodash = __commonJS({
|
|
2442
2442
|
arity - length
|
2443
2443
|
);
|
2444
2444
|
}
|
2445
|
-
var thisBinding = isBind ? thisArg : this,
|
2445
|
+
var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
|
2446
2446
|
length = args.length;
|
2447
2447
|
if (argPos) {
|
2448
2448
|
args = reorder(args, argPos);
|
@@ -2453,9 +2453,9 @@ var require_lodash = __commonJS({
|
|
2453
2453
|
args.length = ary2;
|
2454
2454
|
}
|
2455
2455
|
if (this && this !== root && this instanceof wrapper) {
|
2456
|
-
|
2456
|
+
fn = Ctor || createCtor(fn);
|
2457
2457
|
}
|
2458
|
-
return
|
2458
|
+
return fn.apply(thisBinding, args);
|
2459
2459
|
}
|
2460
2460
|
return wrapper;
|
2461
2461
|
}
|
@@ -2512,14 +2512,14 @@ var require_lodash = __commonJS({
|
|
2512
2512
|
function createPartial(func, bitmask, thisArg, partials) {
|
2513
2513
|
var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
|
2514
2514
|
function wrapper() {
|
2515
|
-
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength),
|
2515
|
+
var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
|
2516
2516
|
while (++leftIndex < leftLength) {
|
2517
2517
|
args[leftIndex] = partials[leftIndex];
|
2518
2518
|
}
|
2519
2519
|
while (argsLength--) {
|
2520
2520
|
args[leftIndex++] = arguments[++argsIndex];
|
2521
2521
|
}
|
2522
|
-
return apply(
|
2522
|
+
return apply(fn, isBind ? thisArg : this, args);
|
2523
2523
|
}
|
2524
2524
|
return wrapper;
|
2525
2525
|
}
|
@@ -5628,16 +5628,16 @@ var require_ua_parser = __commonJS({
|
|
5628
5628
|
return typeof len === UNDEF_TYPE ? str : str.substring(0, UA_MAX_LENGTH);
|
5629
5629
|
}
|
5630
5630
|
};
|
5631
|
-
var rgxMapper = function(
|
5632
|
-
var i = 0,
|
5631
|
+
var rgxMapper = function(ua, arrays) {
|
5632
|
+
var i = 0, j2, k2, p, q, matches, match18;
|
5633
5633
|
while (i < arrays.length && !matches) {
|
5634
5634
|
var regex = arrays[i], props = arrays[i + 1];
|
5635
|
-
|
5636
|
-
while (
|
5637
|
-
if (!regex[
|
5635
|
+
j2 = k2 = 0;
|
5636
|
+
while (j2 < regex.length && !matches) {
|
5637
|
+
if (!regex[j2]) {
|
5638
5638
|
break;
|
5639
5639
|
}
|
5640
|
-
matches = regex[
|
5640
|
+
matches = regex[j2++].exec(ua);
|
5641
5641
|
if (!!matches) {
|
5642
5642
|
for (p = 0; p < props.length; p++) {
|
5643
5643
|
match18 = matches[++k2];
|
@@ -5669,8 +5669,8 @@ var require_ua_parser = __commonJS({
|
|
5669
5669
|
}, strMapper = function(str, map) {
|
5670
5670
|
for (var i in map) {
|
5671
5671
|
if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {
|
5672
|
-
for (var
|
5673
|
-
if (has(map[i][
|
5672
|
+
for (var j2 = 0; j2 < map[i].length; j2++) {
|
5673
|
+
if (has(map[i][j2], str)) {
|
5674
5674
|
return i === UNKNOWN ? undefined2 : i;
|
5675
5675
|
}
|
5676
5676
|
}
|
@@ -6726,16 +6726,16 @@ var require_ua_parser = __commonJS({
|
|
6726
6726
|
[NAME, VERSION]
|
6727
6727
|
]
|
6728
6728
|
};
|
6729
|
-
var UAParser = function(
|
6730
|
-
if (typeof
|
6731
|
-
extensions =
|
6732
|
-
|
6729
|
+
var UAParser = function(ua, extensions) {
|
6730
|
+
if (typeof ua === OBJ_TYPE) {
|
6731
|
+
extensions = ua;
|
6732
|
+
ua = undefined2;
|
6733
6733
|
}
|
6734
6734
|
if (!(this instanceof UAParser)) {
|
6735
|
-
return new UAParser(
|
6735
|
+
return new UAParser(ua, extensions).getResult();
|
6736
6736
|
}
|
6737
6737
|
var _navigator = typeof window2 !== UNDEF_TYPE && window2.navigator ? window2.navigator : undefined2;
|
6738
|
-
var _ua =
|
6738
|
+
var _ua = ua || (_navigator && _navigator.userAgent ? _navigator.userAgent : EMPTY);
|
6739
6739
|
var _uach = _navigator && _navigator.userAgentData ? _navigator.userAgentData : undefined2;
|
6740
6740
|
var _rgxmap = extensions ? extend(regexes, extensions) : regexes;
|
6741
6741
|
var _isSelfNav = _navigator && _navigator.userAgent == _ua;
|
@@ -6801,8 +6801,8 @@ var require_ua_parser = __commonJS({
|
|
6801
6801
|
this.getUA = function() {
|
6802
6802
|
return _ua;
|
6803
6803
|
};
|
6804
|
-
this.setUA = function(
|
6805
|
-
_ua = typeof
|
6804
|
+
this.setUA = function(ua2) {
|
6805
|
+
_ua = typeof ua2 === STR_TYPE && ua2.length > UA_MAX_LENGTH ? trim(ua2, UA_MAX_LENGTH) : ua2;
|
6806
6806
|
return this;
|
6807
6807
|
};
|
6808
6808
|
this.setUA(_ua);
|
@@ -6834,8 +6834,8 @@ var require_ua_parser = __commonJS({
|
|
6834
6834
|
$.ua.get = function() {
|
6835
6835
|
return parser.getUA();
|
6836
6836
|
};
|
6837
|
-
$.ua.set = function(
|
6838
|
-
parser.setUA(
|
6837
|
+
$.ua.set = function(ua) {
|
6838
|
+
parser.setUA(ua);
|
6839
6839
|
var result = parser.getResult();
|
6840
6840
|
for (var prop in result) {
|
6841
6841
|
$.ua[prop] = result[prop];
|
@@ -7694,8 +7694,8 @@ var require_sdp = __commonJS({
|
|
7694
7694
|
const parsed = {};
|
7695
7695
|
let kv;
|
7696
7696
|
const parts = line.substring(line.indexOf(" ") + 1).split(";");
|
7697
|
-
for (let
|
7698
|
-
kv = parts[
|
7697
|
+
for (let j2 = 0; j2 < parts.length; j2++) {
|
7698
|
+
kv = parts[j2].trim().split("=");
|
7699
7699
|
parsed[kv[0].trim()] = kv[1];
|
7700
7700
|
}
|
7701
7701
|
return parsed;
|
@@ -8675,8 +8675,8 @@ var require_parser = __commonJS({
|
|
8675
8675
|
media.push({ rtp: [], fmtp: [] });
|
8676
8676
|
location = media[media.length - 1];
|
8677
8677
|
}
|
8678
|
-
for (var
|
8679
|
-
var obj = grammar[type][
|
8678
|
+
for (var j2 = 0; j2 < (grammar[type] || []).length; j2 += 1) {
|
8679
|
+
var obj = grammar[type][j2];
|
8680
8680
|
if (obj.reg.test(content)) {
|
8681
8681
|
return parseReg(obj, location, content);
|
8682
8682
|
}
|
@@ -9359,7 +9359,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9359
9359
|
shape: createShapeTypeChecker,
|
9360
9360
|
exact: createStrictShapeTypeChecker
|
9361
9361
|
};
|
9362
|
-
function
|
9362
|
+
function is(x, y2) {
|
9363
9363
|
if (x === y2) {
|
9364
9364
|
return x !== 0 || 1 / x === 1 / y2;
|
9365
9365
|
} else {
|
@@ -9502,7 +9502,7 @@ var require_factoryWithTypeCheckers = __commonJS({
|
|
9502
9502
|
function validate(props, propName, componentName, location, propFullName) {
|
9503
9503
|
var propValue = props[propName];
|
9504
9504
|
for (var i = 0; i < expectedValues.length; i++) {
|
9505
|
-
if (
|
9505
|
+
if (is(propValue, expectedValues[i])) {
|
9506
9506
|
return null;
|
9507
9507
|
}
|
9508
9508
|
}
|
@@ -10441,7 +10441,7 @@ var textEllipsis = (width) => ({
|
|
10441
10441
|
});
|
10442
10442
|
|
10443
10443
|
// src/Button/Button.tsx
|
10444
|
-
var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) => {
|
10444
|
+
var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled, textHover) => {
|
10445
10445
|
return {
|
10446
10446
|
bg: "transparent",
|
10447
10447
|
border: `solid $space$px $colors${base}`,
|
@@ -10453,6 +10453,7 @@ var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) =>
|
|
10453
10453
|
cursor: "not-allowed"
|
10454
10454
|
},
|
10455
10455
|
"&:not([disabled]):hover": {
|
10456
|
+
c: textHover,
|
10456
10457
|
border: `solid $space$px $colors${hover}`,
|
10457
10458
|
bg: "transparent"
|
10458
10459
|
},
|
@@ -10465,7 +10466,7 @@ var getOutlinedVariants = (base, hover, active, disabled, text, textDisabled) =>
|
|
10465
10466
|
}
|
10466
10467
|
};
|
10467
10468
|
};
|
10468
|
-
var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
10469
|
+
var getButtonVariants = (base, hover, active, disabled, text, textDisabled, textHover) => {
|
10469
10470
|
return {
|
10470
10471
|
bg: base,
|
10471
10472
|
border: `1px solid ${base}`,
|
@@ -10477,6 +10478,7 @@ var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
|
10477
10478
|
border: `1px solid ${disabled}`
|
10478
10479
|
},
|
10479
10480
|
"&:not([disabled]):hover": {
|
10481
|
+
c: textHover,
|
10480
10482
|
bg: hover,
|
10481
10483
|
border: `1px solid ${hover}`
|
10482
10484
|
},
|
@@ -10485,7 +10487,7 @@ var getButtonVariants = (base, hover, active, disabled, text, textDisabled) => {
|
|
10485
10487
|
border: `1px solid ${active}`
|
10486
10488
|
},
|
10487
10489
|
"&:not([disabled]):focus-visible": {
|
10488
|
-
boxShadow: `0 0 0 3px ${
|
10490
|
+
boxShadow: `0 0 0 3px $colors${hover}`
|
10489
10491
|
}
|
10490
10492
|
};
|
10491
10493
|
};
|
@@ -10533,7 +10535,8 @@ var StyledButton = styled("button", __spreadProps(__spreadValues({}, flexCenter)
|
|
10533
10535
|
"$alert_error_dim",
|
10534
10536
|
"$alert_error_brighter",
|
10535
10537
|
"$on_surface_high",
|
10536
|
-
"$on_surface_low"
|
10538
|
+
"$on_surface_low",
|
10539
|
+
"$on_surface_high"
|
10537
10540
|
)
|
10538
10541
|
},
|
10539
10542
|
{
|
@@ -10565,7 +10568,8 @@ var StyledButton = styled("button", __spreadProps(__spreadValues({}, flexCenter)
|
|
10565
10568
|
"$alert_error_dim",
|
10566
10569
|
"$alert_error_dim",
|
10567
10570
|
"$alert_error_brighter",
|
10568
|
-
"$on_primary_low"
|
10571
|
+
"$on_primary_low",
|
10572
|
+
"$on_primary_high"
|
10569
10573
|
),
|
10570
10574
|
primary: getButtonVariants(
|
10571
10575
|
"$primary_default",
|
@@ -11733,7 +11737,8 @@ var DropdownTrigger = styled(Trigger3, {
|
|
11733
11737
|
cursor: "pointer",
|
11734
11738
|
appearance: "none !important",
|
11735
11739
|
'&[data-state="open"]': {
|
11736
|
-
backgroundColor: "$surface_bright"
|
11740
|
+
backgroundColor: "$surface_bright",
|
11741
|
+
c: "$on_surface_high"
|
11737
11742
|
},
|
11738
11743
|
"&:focus": {
|
11739
11744
|
outline: "none"
|
@@ -12413,7 +12418,9 @@ var CheckboxRoot = styled(CheckboxPrimitive.Root, {
|
|
12413
12418
|
}
|
12414
12419
|
});
|
12415
12420
|
var CheckboxIndicator = styled(CheckboxPrimitive.Indicator, {
|
12416
|
-
color: "$on_primary_high"
|
12421
|
+
color: "$on_primary_high",
|
12422
|
+
// center check svg within button box
|
12423
|
+
lineHeight: 0
|
12417
12424
|
});
|
12418
12425
|
var Checkbox = {
|
12419
12426
|
Root: CheckboxRoot,
|
@@ -19350,8 +19357,8 @@ var createSelector = createSelectorCreator(defaultMemoize);
|
|
19350
19357
|
// ../hms-video-store/dist/index.js
|
19351
19358
|
var import_ua_parser_js = __toESM(require_ua_parser());
|
19352
19359
|
var import_lodash3 = __toESM(require_lodash2());
|
19353
|
-
import { v4 as
|
19354
|
-
import { v4 as
|
19360
|
+
import { v4 as Po } from "uuid";
|
19361
|
+
import { v4 as ko } from "uuid";
|
19355
19362
|
|
19356
19363
|
// ../../node_modules/webrtc-adapter/src/js/adapter_core.js
|
19357
19364
|
init_define_process_env();
|
@@ -19722,8 +19729,8 @@ function shimGetUserMedia(window2, browserDetails) {
|
|
19722
19729
|
navigator2.getUserMedia = getUserMedia_.bind(navigator2);
|
19723
19730
|
if (navigator2.mediaDevices.getUserMedia) {
|
19724
19731
|
const origGetUserMedia = navigator2.mediaDevices.getUserMedia.bind(navigator2.mediaDevices);
|
19725
|
-
navigator2.mediaDevices.getUserMedia = function(
|
19726
|
-
return shimConstraints_(
|
19732
|
+
navigator2.mediaDevices.getUserMedia = function(cs) {
|
19733
|
+
return shimConstraints_(cs, (c2) => origGetUserMedia(c2).then((stream) => {
|
19727
19734
|
if (c2.audio && !stream.getAudioTracks().length || c2.video && !stream.getVideoTracks().length) {
|
19728
19735
|
stream.getTracks().forEach((track) => {
|
19729
19736
|
track.stop();
|
@@ -21448,43 +21455,43 @@ var adapter = adapterFactory({ window: typeof window === "undefined" ? void 0 :
|
|
21448
21455
|
|
21449
21456
|
// ../hms-video-store/dist/index.js
|
21450
21457
|
var import_lodash4 = __toESM(require_lodash2());
|
21451
|
-
import { v4 as
|
21452
|
-
import { v4 as
|
21453
|
-
import { v4 as
|
21454
|
-
import { EventEmitter2 as
|
21455
|
-
var
|
21456
|
-
import { EventEmitter2 as
|
21457
|
-
import { v4 as
|
21458
|
-
import { EventEmitter2 as
|
21459
|
-
import
|
21460
|
-
import { v4 as
|
21461
|
-
import { v4 as
|
21462
|
-
var
|
21463
|
-
var
|
21464
|
-
var
|
21465
|
-
var
|
21466
|
-
var
|
21467
|
-
var
|
21468
|
-
var
|
21458
|
+
import { v4 as Do } from "uuid";
|
21459
|
+
import { v4 as Oo } from "uuid";
|
21460
|
+
import { v4 as Vo } from "uuid";
|
21461
|
+
import { EventEmitter2 as Fo } from "eventemitter2";
|
21462
|
+
var Yt = __toESM(require_lib());
|
21463
|
+
import { EventEmitter2 as Sn } from "eventemitter2";
|
21464
|
+
import { v4 as Mn } from "uuid";
|
21465
|
+
import { EventEmitter2 as yn } from "eventemitter2";
|
21466
|
+
import En from "eventemitter2";
|
21467
|
+
import { v4 as Pn } from "uuid";
|
21468
|
+
import { v4 as In } from "uuid";
|
21469
|
+
var co = Object.defineProperty;
|
21470
|
+
var lo = Object.defineProperties;
|
21471
|
+
var uo = Object.getOwnPropertyDescriptors;
|
21472
|
+
var ai = Object.getOwnPropertySymbols;
|
21473
|
+
var gs = Object.prototype.hasOwnProperty;
|
21474
|
+
var Ts = Object.prototype.propertyIsEnumerable;
|
21475
|
+
var Ss = (a2, e, t) => e in a2 ? co(a2, e, { enumerable: true, configurable: true, writable: true, value: t }) : a2[e] = t;
|
21469
21476
|
var m = (a2, e) => {
|
21470
21477
|
for (var t in e || (e = {}))
|
21471
|
-
|
21472
|
-
if (
|
21473
|
-
for (var t of
|
21474
|
-
|
21478
|
+
gs.call(e, t) && Ss(a2, t, e[t]);
|
21479
|
+
if (ai)
|
21480
|
+
for (var t of ai(e))
|
21481
|
+
Ts.call(e, t) && Ss(a2, t, e[t]);
|
21475
21482
|
return a2;
|
21476
21483
|
};
|
21477
|
-
var M = (a2, e) =>
|
21478
|
-
var
|
21484
|
+
var M = (a2, e) => lo(a2, uo(e));
|
21485
|
+
var kr = (a2, e) => {
|
21479
21486
|
var t = {};
|
21480
21487
|
for (var i in a2)
|
21481
|
-
|
21482
|
-
if (a2 != null &&
|
21483
|
-
for (var i of
|
21484
|
-
e.indexOf(i) < 0 &&
|
21488
|
+
gs.call(a2, i) && e.indexOf(i) < 0 && (t[i] = a2[i]);
|
21489
|
+
if (a2 != null && ai)
|
21490
|
+
for (var i of ai(a2))
|
21491
|
+
e.indexOf(i) < 0 && Ts.call(a2, i) && (t[i] = a2[i]);
|
21485
21492
|
return t;
|
21486
21493
|
};
|
21487
|
-
var
|
21494
|
+
var mo = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
21488
21495
|
var c = (a2, e, t) => new Promise((i, r) => {
|
21489
21496
|
var s = (d) => {
|
21490
21497
|
try {
|
@@ -21501,20 +21508,20 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21501
21508
|
}, n = (d) => d.done ? i(d.value) : Promise.resolve(d.value).then(s, o);
|
21502
21509
|
n((t = t.apply(a2, e)).next());
|
21503
21510
|
});
|
21504
|
-
var
|
21505
|
-
|
21511
|
+
var Ir = mo((Jc, Eo) => {
|
21512
|
+
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"] };
|
21506
21513
|
});
|
21507
|
-
var
|
21508
|
-
var
|
21509
|
-
var
|
21510
|
-
var
|
21511
|
-
var
|
21514
|
+
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 || {});
|
21515
|
+
var So = ((e) => (e.CHAT = "chat", e))(So || {});
|
21516
|
+
var fs = ((t) => (t.INFO = "info", t.ERROR = "error", t))(fs || {});
|
21517
|
+
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 || {});
|
21518
|
+
var vs = ((t) => (t.audio = "audio", t.video = "video", t))(vs || {});
|
21512
21519
|
function Fe(a2, e) {
|
21513
21520
|
let t, i;
|
21514
21521
|
if (e)
|
21515
21522
|
for (let r of e.auxiliaryTracks) {
|
21516
21523
|
let s = a2[r];
|
21517
|
-
|
21524
|
+
go(s) && (i = gt(s) ? s : i, t = Tt(s) ? s : t);
|
21518
21525
|
}
|
21519
21526
|
return { video: t, audio: i };
|
21520
21527
|
}
|
@@ -21524,16 +21531,16 @@ function gt(a2) {
|
|
21524
21531
|
function Tt(a2) {
|
21525
21532
|
return a2 && a2.type === "video";
|
21526
21533
|
}
|
21527
|
-
function
|
21534
|
+
function go(a2) {
|
21528
21535
|
return a2 && a2.source === "screen";
|
21529
21536
|
}
|
21530
|
-
function
|
21537
|
+
function ci(a2) {
|
21531
21538
|
return a2 && a2.source === "audioplaylist";
|
21532
21539
|
}
|
21533
21540
|
function ft(a2) {
|
21534
21541
|
return a2 && a2.source === "videoplaylist";
|
21535
21542
|
}
|
21536
|
-
function
|
21543
|
+
function Ms(a2) {
|
21537
21544
|
return a2 ? !!(a2 != null && a2.degraded) : false;
|
21538
21545
|
}
|
21539
21546
|
function ze(a2, e) {
|
@@ -21544,8 +21551,8 @@ function vt(a2) {
|
|
21544
21551
|
let e = false, t = false, i = false;
|
21545
21552
|
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 };
|
21546
21553
|
}
|
21547
|
-
var
|
21548
|
-
var
|
21554
|
+
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 || {});
|
21555
|
+
var To = typeof window != "undefined" && typeof window.expect != "undefined";
|
21549
21556
|
var l = class {
|
21550
21557
|
static v(e, ...t) {
|
21551
21558
|
this.log(0, e, ...t);
|
@@ -21611,28 +21618,28 @@ var l = class {
|
|
21611
21618
|
}
|
21612
21619
|
}
|
21613
21620
|
};
|
21614
|
-
l.level =
|
21621
|
+
l.level = To ? 7 : 0;
|
21615
21622
|
var Te = new import_ua_parser_js.UAParser();
|
21616
21623
|
var U = typeof window != "undefined";
|
21624
|
+
var Es;
|
21625
|
+
var Ge = typeof window == "undefined" && !((Es = Te.getBrowser().name) != null && Es.toLowerCase().includes("electron"));
|
21626
|
+
var vo = () => !Ge;
|
21627
|
+
var Tc = vo();
|
21617
21628
|
var Ps;
|
21618
|
-
var Ge = typeof window == "undefined" && !((Ps = Te.getBrowser().name) != null && Ps.toLowerCase().includes("electron"));
|
21619
|
-
var Mo = () => !Ge;
|
21620
|
-
var fc = Mo();
|
21621
21629
|
var bs;
|
21630
|
+
var Cs = (bs = (Ps = Te.getBrowser()) == null ? void 0 : Ps.name) == null ? void 0 : bs.toLowerCase().includes("safari");
|
21622
21631
|
var As;
|
21623
|
-
var Ls = (As = (bs = Te.getBrowser()) == null ? void 0 : bs.name) == null ? void 0 : As.toLowerCase().includes("safari");
|
21624
21632
|
var Is;
|
21625
|
-
var
|
21626
|
-
var
|
21627
|
-
|
21628
|
-
function yo() {
|
21633
|
+
var di = ((Is = (As = Te.getBrowser()) == null ? void 0 : As.name) == null ? void 0 : Is.toLowerCase()) === "firefox";
|
21634
|
+
var Ls = ((i) => (i.CUSTOM = "CUSTOM", i.LOCAL = "LOCAL", i.HMS = "HMS", i))(Ls || {});
|
21635
|
+
function Mo() {
|
21629
21636
|
if (U && window) {
|
21630
21637
|
let a2 = window.location.hostname;
|
21631
21638
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
21632
21639
|
}
|
21633
21640
|
return "CUSTOM";
|
21634
21641
|
}
|
21635
|
-
var Xe =
|
21642
|
+
var Xe = Mo();
|
21636
21643
|
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 } };
|
21637
21644
|
var k = class a extends Error {
|
21638
21645
|
constructor(t, i, r, s, o, n = false) {
|
@@ -21689,8 +21696,8 @@ var W = class extends k {
|
|
21689
21696
|
}`;
|
21690
21697
|
}
|
21691
21698
|
};
|
21692
|
-
var
|
21693
|
-
var
|
21699
|
+
var Ds = ((r) => (r.AUDIO = "audio", r.VIDEO = "video", r.AUDIO_VIDEO = "audio, video", r.SCREEN = "screen", r))(Ds || {});
|
21700
|
+
var yo = ["join", "offer", "answer", "trickle", "on-error", "JOIN"];
|
21694
21701
|
var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
21695
21702
|
return new k(P4.WebSocketConnectionErrors.FAILED_TO_CONNECT, "WebsocketFailedToConnect", a2, `[WS]: ${e}`, `[WS]: ${e}`);
|
21696
21703
|
}, WebSocketConnectionLost(a2, e = "") {
|
@@ -21752,7 +21759,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21752
21759
|
}, StatsFailed(a2, e = "") {
|
21753
21760
|
return new k(P4.WebrtcErrors.STATS_FAILED, "StatsFailed", a2, `Failed to WebRTC get stats - ${e}`, e);
|
21754
21761
|
} }, WebsocketMethodErrors: { ServerErrors(a2, e, t) {
|
21755
|
-
return new k(a2, "ServerErrors", e, t, t,
|
21762
|
+
return new k(a2, "ServerErrors", e, t, t, yo.includes(e));
|
21756
21763
|
}, AlreadyJoined(a2, e = "") {
|
21757
21764
|
return new k(P4.WebsocketMethodErrors.ALREADY_JOINED, "AlreadyJoined", a2, "[JOIN]: You have already joined this room.", e);
|
21758
21765
|
}, CannotJoinPreviewInProgress(a2, e = "") {
|
@@ -21800,7 +21807,7 @@ var S = { WebSocketConnectionErrors: { FailedToConnect(a2, e = "") {
|
|
21800
21807
|
}, NoEntryPlaying(a2, e) {
|
21801
21808
|
return new k(P4.PlaylistErrors.NO_ENTRY_IS_PLAYING, "NoEntryIsPlaying", a2, "No entry is playing at this time", e);
|
21802
21809
|
} } };
|
21803
|
-
var
|
21810
|
+
var Ar = class {
|
21804
21811
|
constructor() {
|
21805
21812
|
this.valuesMap = /* @__PURE__ */ new Map();
|
21806
21813
|
}
|
@@ -21825,9 +21832,9 @@ var Ir = class {
|
|
21825
21832
|
return this.valuesMap.size;
|
21826
21833
|
}
|
21827
21834
|
};
|
21828
|
-
var
|
21835
|
+
var ws = () => {
|
21829
21836
|
try {
|
21830
|
-
U && !localStorage && (window.localStorage = new
|
21837
|
+
U && !localStorage && (window.localStorage = new Ar());
|
21831
21838
|
} catch (a2) {
|
21832
21839
|
l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied());
|
21833
21840
|
}
|
@@ -21839,7 +21846,7 @@ var fe = class {
|
|
21839
21846
|
}
|
21840
21847
|
getStorage() {
|
21841
21848
|
try {
|
21842
|
-
return U && !this.storage && (
|
21849
|
+
return U && !this.storage && (ws(), this.storage = window.localStorage), this.storage;
|
21843
21850
|
} catch (e) {
|
21844
21851
|
return l.e("Error initialising localStorage", S.GenericErrors.LocalStorageAccessDenied()), null;
|
21845
21852
|
}
|
@@ -21859,29 +21866,29 @@ var fe = class {
|
|
21859
21866
|
(e = this.getStorage()) == null || e.removeItem(this.key);
|
21860
21867
|
}
|
21861
21868
|
};
|
21862
|
-
var
|
21869
|
+
var li = () => {
|
21863
21870
|
let a2, e = new fe("hms-analytics-deviceId"), t = e.get();
|
21864
|
-
return t ? a2 = t : (a2 =
|
21871
|
+
return t ? a2 = t : (a2 = ko(), e.set(a2)), a2;
|
21865
21872
|
};
|
21866
21873
|
function he(a2) {
|
21867
21874
|
return a2 != null;
|
21868
21875
|
}
|
21869
|
-
var
|
21876
|
+
var Os = Ir().version;
|
21870
21877
|
function Et(a2 = "prod", e) {
|
21871
21878
|
let t = "web", i = Xe !== "LOCAL" && a2 === "prod" ? "prod" : "debug";
|
21872
21879
|
if (Ge)
|
21873
|
-
return
|
21874
|
-
let r = Te.getOS(), s = Te.getDevice(), o = Te.getBrowser(), n =
|
21875
|
-
return s.type && (p = `${
|
21880
|
+
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 });
|
21881
|
+
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;
|
21882
|
+
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 });
|
21876
21883
|
}
|
21877
|
-
function
|
21884
|
+
function Rr(a2) {
|
21878
21885
|
return a2.replace(/ /g, "_");
|
21879
21886
|
}
|
21880
|
-
var
|
21887
|
+
var xs = (a2, e = ",") => Object.keys(a2).filter((t) => he(a2[t])).map((t) => `${t}:${a2[t]}`).join(e);
|
21881
21888
|
var C = class {
|
21882
21889
|
constructor({ name: e, level: t, properties: i, includesPII: r, timestamp: s }) {
|
21883
21890
|
this.metadata = { peer: {}, userAgent: Et() };
|
21884
|
-
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id =
|
21891
|
+
this.name = e, this.level = t, this.includesPII = r || false, this.properties = i || {}, this.timestamp = s || (/* @__PURE__ */ new Date()).getTime(), this.event_id = Po(), this.device_id = li();
|
21885
21892
|
}
|
21886
21893
|
toSignalParams() {
|
21887
21894
|
return { name: this.name, info: M(m({}, this.properties), { timestamp: this.timestamp, domain: Xe }), timestamp: (/* @__PURE__ */ new Date()).getTime() };
|
@@ -21897,12 +21904,12 @@ var y = class {
|
|
21897
21904
|
return new C({ name: i, level: r, properties: s });
|
21898
21905
|
}
|
21899
21906
|
static preview(i) {
|
21900
|
-
var r = i, { error: e } = r, t =
|
21907
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21901
21908
|
let s = this.eventNameFor("preview", e === void 0), o = e ? 2 : 1, n = this.getPropertiesWithError(t, e);
|
21902
21909
|
return new C({ name: s, level: o, properties: n });
|
21903
21910
|
}
|
21904
21911
|
static join(i) {
|
21905
|
-
var r = i, { error: e } = r, t =
|
21912
|
+
var r = i, { error: e } = r, t = kr(r, ["error"]);
|
21906
21913
|
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);
|
21907
21914
|
return new C({ name: s, level: o, properties: n });
|
21908
21915
|
}
|
@@ -21993,7 +22000,7 @@ var y = class {
|
|
21993
22000
|
}
|
21994
22001
|
};
|
21995
22002
|
y.KEY_REQUESTED_AT = "requested_at", y.KEY_RESPONDED_AT = "responded_at";
|
21996
|
-
var
|
22003
|
+
var Hr = class {
|
21997
22004
|
constructor() {
|
21998
22005
|
this.storage = new fe("hms-device-selection");
|
21999
22006
|
this.remember = false;
|
@@ -22027,19 +22034,11 @@ var Cr = class {
|
|
22027
22034
|
return e.deviceId === t.deviceId && (e.groupId === t.groupId || !e.groupId);
|
22028
22035
|
}
|
22029
22036
|
};
|
22030
|
-
var Y = new
|
22031
|
-
var
|
22032
|
-
var
|
22033
|
-
var
|
22034
|
-
|
22035
|
-
var Vs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Vs || {});
|
22036
|
-
var Fs = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Fs || {});
|
22037
|
-
var Gs = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))(Gs || {});
|
22038
|
-
var Ws = ((e) => (e.CAPTION = "caption", e))(Ws || {});
|
22039
|
-
var _r = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(_r || {});
|
22040
|
-
var $s = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))($s || {});
|
22041
|
-
var xr = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(xr || {});
|
22042
|
-
function Si(a2, e = 300) {
|
22037
|
+
var Y = new Hr();
|
22038
|
+
var Cr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Cr || {});
|
22039
|
+
var Lr = ((t) => (t.PLATFORM_NOT_SUPPORTED = "PLATFORM_NOT_SUPPORTED", t.DEVICE_NOT_SUPPORTED = "DEVICE_NOT_SUPPORTED", t))(Lr || {});
|
22040
|
+
var _r = ((r) => (r.SPEAKERPHONE = "SPEAKERPHONE", r.WIRED = "WIRED", r.BLUETOOTH = "BLUETOOTH", r.EARPIECE = "EARPIECE", r))(_r || {});
|
22041
|
+
function mi(a2, e = 300) {
|
22043
22042
|
let t;
|
22044
22043
|
return function(...i) {
|
22045
22044
|
clearTimeout(t), t = void 0;
|
@@ -22049,7 +22048,15 @@ function Si(a2, e = 300) {
|
|
22049
22048
|
}, e);
|
22050
22049
|
};
|
22051
22050
|
}
|
22052
|
-
var
|
22051
|
+
var Or = ((t) => (t.SIP = "sip", t.REGULAR = "regular", t))(Or || {});
|
22052
|
+
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 || {});
|
22053
|
+
var Gs = ((t) => (t.DVR = "dvr", t.NO_DVR = "no-dvr", t))(Gs || {});
|
22054
|
+
var Ws = ((i) => (i.REGULAR = "regular", i.SCREEN = "screen", i.COMPOSITE = "composite", i))(Ws || {});
|
22055
|
+
var $s = ((r) => (r.INITIALISED = "initialised", r.STARTED = "started", r.STOPPED = "stopped", r.FAILED = "failed", r))($s || {});
|
22056
|
+
var Ks = ((e) => (e.CAPTION = "caption", e))(Ks || {});
|
22057
|
+
var xr = ((t) => (t.VOICE = "voice", t.MUSIC = "music", t))(xr || {});
|
22058
|
+
var qs = ((i) => (i.videoInput = "videoInput", i.audioInput = "audioInput", i.audioOutput = "audioOutput", i))(qs || {});
|
22059
|
+
var Ur = class {
|
22053
22060
|
constructor() {
|
22054
22061
|
this.TAG = "[HMSIntersectionObserverWrapper]";
|
22055
22062
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22076,8 +22083,8 @@ var Br = class {
|
|
22076
22083
|
return e || l.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
22077
22084
|
}
|
22078
22085
|
};
|
22079
|
-
var
|
22080
|
-
var
|
22086
|
+
var zs = new Ur();
|
22087
|
+
var Br = class {
|
22081
22088
|
constructor() {
|
22082
22089
|
this.TAG = "[HMSResizeObserverWrapper]";
|
22083
22090
|
this.listeners = /* @__PURE__ */ new WeakMap();
|
@@ -22090,7 +22097,7 @@ var Vr = class {
|
|
22090
22097
|
(t = this.resizeObserver) == null || t.unobserve(e), this.listeners.delete(e);
|
22091
22098
|
};
|
22092
22099
|
this.createObserver = () => {
|
22093
|
-
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(
|
22100
|
+
this.isSupported() && !this.resizeObserver && (this.resizeObserver = new ResizeObserver(mi(this.handleResize, 300)));
|
22094
22101
|
};
|
22095
22102
|
this.handleResize = (e) => {
|
22096
22103
|
var t;
|
@@ -22104,43 +22111,43 @@ var Vr = class {
|
|
22104
22111
|
return e || l.w(this.TAG, "Resize Observer is not supported"), e;
|
22105
22112
|
}
|
22106
22113
|
};
|
22107
|
-
var
|
22108
|
-
var
|
22109
|
-
var
|
22110
|
-
var
|
22111
|
-
var
|
22112
|
-
var
|
22114
|
+
var Ys = new Br();
|
22115
|
+
var Vr = ((t) => (t.TRANSFORM = "TRANSFORM", t.ANALYZE = "ANALYZE", t))(Vr || {});
|
22116
|
+
var Fr = ((t) => (t["2D"] = "2d", t.WEBGL = "webgl", t.WEBGL2 = "webgl2", t))(Fr || {});
|
22117
|
+
var ea = "https://event.100ms.live/v2/client/report";
|
22118
|
+
var ta = "https://event-nonprod.100ms.live/v2/client/report";
|
22119
|
+
var Rt = Math.pow(2, 31) - 1;
|
22113
22120
|
var ot = class {
|
22114
22121
|
};
|
22115
|
-
ot.makePeerId = () =>
|
22122
|
+
ot.makePeerId = () => Vo();
|
22116
22123
|
var F = (a2) => a2.room;
|
22117
|
-
var
|
22118
|
-
var
|
22119
|
-
var
|
22124
|
+
var Go = (a2) => a2.errors;
|
22125
|
+
var Tm = createSelector(Go, (a2) => a2.length === 0 ? null : a2.at(-1));
|
22126
|
+
var fm = createSelector(F, (a2) => a2.id);
|
22120
22127
|
var Q = (a2) => a2.peers;
|
22121
|
-
var
|
22122
|
-
var
|
22128
|
+
var Ai = (a2) => a2.messages.byID;
|
22129
|
+
var la = (a2) => a2.messages.allIDs;
|
22123
22130
|
var N = (a2) => a2.tracks;
|
22124
|
-
var
|
22125
|
-
var
|
22131
|
+
var zr = (a2) => a2.appData;
|
22132
|
+
var Wo = (a2) => a2.speakers;
|
22126
22133
|
var Be = createSelector([F], (a2) => a2 && a2.isConnected);
|
22127
|
-
var
|
22128
|
-
var
|
22129
|
-
var ke = createSelector([F, Q,
|
22130
|
-
var
|
22134
|
+
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));
|
22135
|
+
var $o = (a2) => a2.hideLocalPeer;
|
22136
|
+
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]));
|
22137
|
+
var Ko = createSelector(N, (a2) => Object.values(a2));
|
22131
22138
|
var re = createSelector(F, Q, (a2, e) => e[a2.localPeer]);
|
22132
22139
|
var Ie = createSelector(F, (a2) => a2.localPeer);
|
22133
|
-
var
|
22134
|
-
var
|
22140
|
+
var km = createSelector(re, (a2) => a2 == null ? void 0 : a2.name);
|
22141
|
+
var Em = createSelector(re, (a2) => a2 == null ? void 0 : a2.roleName);
|
22135
22142
|
var le = createSelector(re, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
22136
22143
|
var X = createSelector(re, (a2) => a2 == null ? void 0 : a2.videoTrack);
|
22137
|
-
var
|
22138
|
-
var
|
22144
|
+
var qo = createSelector(re, (a2) => a2 == null ? void 0 : a2.auxiliaryTracks);
|
22145
|
+
var pa = createSelector([le, X, qo], (a2, e, t) => {
|
22139
22146
|
let i = t ? [...t] : [];
|
22140
22147
|
return a2 && i.unshift(a2), e && i.unshift(e), i;
|
22141
22148
|
});
|
22142
|
-
var
|
22143
|
-
var
|
22149
|
+
var Pm = createSelector(ke, (a2) => a2.filter((e) => !e.isLocal));
|
22150
|
+
var bm = createSelector(Q, Wo, (a2, e) => {
|
22144
22151
|
let t = Object.entries(e).sort((i, r) => {
|
22145
22152
|
var n, d;
|
22146
22153
|
let s = ((n = i[1]) == null ? void 0 : n.audioLevel) || 0;
|
@@ -22153,11 +22160,11 @@ var Cm = createSelector(Q, $o, (a2, e) => {
|
|
22153
22160
|
}
|
22154
22161
|
return null;
|
22155
22162
|
});
|
22156
|
-
var
|
22163
|
+
var Xr = createSelector(re, N, (a2, e) => {
|
22157
22164
|
let { video: t, audio: i } = Fe(e, a2);
|
22158
22165
|
return !!(t || i);
|
22159
22166
|
});
|
22160
|
-
var
|
22167
|
+
var jo = createSelector(Q, N, (a2, e) => {
|
22161
22168
|
let t;
|
22162
22169
|
for (let i in a2) {
|
22163
22170
|
let r = a2[i], { video: s, audio: o } = Fe(e, r);
|
@@ -22167,15 +22174,15 @@ var Jo = createSelector(Q, N, (a2, e) => {
|
|
22167
22174
|
}
|
22168
22175
|
return t;
|
22169
22176
|
});
|
22170
|
-
var
|
22171
|
-
var
|
22177
|
+
var Im = createSelector(jo, (a2) => !!a2);
|
22178
|
+
var Rm = createSelector(Q, N, (a2, e) => {
|
22172
22179
|
for (let t in a2) {
|
22173
22180
|
let i = a2[t], { audio: r, video: s } = Fe(e, i);
|
22174
22181
|
if (!s && r)
|
22175
22182
|
return i;
|
22176
22183
|
}
|
22177
22184
|
});
|
22178
|
-
var
|
22185
|
+
var Hm = createSelector(Q, N, (a2, e) => {
|
22179
22186
|
let t = [], i = [];
|
22180
22187
|
for (let r in a2) {
|
22181
22188
|
let s = a2[r], { video: o, audio: n } = Fe(e, s);
|
@@ -22183,82 +22190,82 @@ var _m = createSelector(Q, N, (a2, e) => {
|
|
22183
22190
|
}
|
22184
22191
|
return t.concat(i);
|
22185
22192
|
});
|
22186
|
-
var
|
22193
|
+
var Cm = createSelector(Q, N, (a2, e) => {
|
22187
22194
|
for (let t in e) {
|
22188
22195
|
let i = e[t];
|
22189
22196
|
if (ft(i) && Tt(i) && i.peerId)
|
22190
22197
|
return a2[i.peerId];
|
22191
22198
|
}
|
22192
22199
|
});
|
22193
|
-
var
|
22200
|
+
var Lm = createSelector(Q, N, (a2, e) => {
|
22194
22201
|
for (let t in e) {
|
22195
22202
|
let i = e[t];
|
22196
|
-
if (
|
22203
|
+
if (ci(i) && i.peerId)
|
22197
22204
|
return a2[i.peerId];
|
22198
22205
|
}
|
22199
22206
|
});
|
22200
|
-
var
|
22201
|
-
var
|
22202
|
-
var
|
22203
|
-
var
|
22207
|
+
var Dm = createSelector(Ko, (a2) => a2.filter(Ms));
|
22208
|
+
var wm = createSelector(la, (a2) => a2.length);
|
22209
|
+
var _m = createSelector(Ai, (a2) => Object.values(a2).filter((e) => !e.read).length);
|
22210
|
+
var Dt = createSelector(la, Ai, (a2, e) => {
|
22204
22211
|
let t = [];
|
22205
22212
|
return a2.forEach((i) => {
|
22206
22213
|
t.push(e[i]);
|
22207
22214
|
}), t;
|
22208
22215
|
});
|
22209
|
-
var
|
22216
|
+
var Jo = createSelector(Dt, (a2) => a2.filter((e) => {
|
22210
22217
|
var t;
|
22211
22218
|
return !e.recipientPeer && !(e.recipientRoles && ((t = e.recipientRoles) == null ? void 0 : t.length) > 0);
|
22212
22219
|
}));
|
22213
|
-
var
|
22220
|
+
var Nm = createSelector(Jo, (a2) => a2.filter((e) => !e.read).length);
|
22214
22221
|
var se = createSelector([F], (a2) => a2 && a2.roomState);
|
22215
|
-
var
|
22216
|
-
var
|
22217
|
-
var
|
22222
|
+
var ma = createSelector(se, (a2) => a2 === "Preview");
|
22223
|
+
var Om = createSelector(F, (a2) => a2.roomState !== "Disconnected");
|
22224
|
+
var xm = createSelector(F, (a2) => !a2.transcriptions || a2.transcriptions.length <= 0 ? false : a2.transcriptions.some((e) => e.mode === "caption" && e.state === "started"));
|
22218
22225
|
var Ee = (a2) => a2.roles;
|
22219
|
-
var
|
22226
|
+
var Um = createSelector([Ee], (a2) => Object.keys(a2));
|
22220
22227
|
var ct = createSelector([re, Ee], (a2, e) => a2 != null && a2.roleName ? e[a2.roleName] : null);
|
22221
|
-
var
|
22228
|
+
var Qo = (a2) => {
|
22222
22229
|
var e;
|
22223
22230
|
return (e = a2.preview) == null ? void 0 : e.asRole;
|
22224
22231
|
};
|
22225
|
-
var
|
22226
|
-
var
|
22232
|
+
var Sa = createSelector([Qo, Ee], (a2, e) => a2 ? e[a2] : null);
|
22233
|
+
var Bm = createSelector([ct], (a2) => {
|
22227
22234
|
var e;
|
22228
22235
|
return (e = a2 == null ? void 0 : a2.subscribeParams) != null && e.subscribeToRoles ? a2.subscribeParams.subscribeToRoles.length > 0 : false;
|
22229
22236
|
});
|
22230
|
-
var
|
22231
|
-
var
|
22232
|
-
var
|
22233
|
-
var
|
22234
|
-
var
|
22235
|
-
var
|
22236
|
-
var
|
22237
|
-
var
|
22238
|
-
var
|
22239
|
-
var
|
22240
|
-
var
|
22241
|
-
var
|
22242
|
-
var
|
22243
|
-
var
|
22244
|
-
var
|
22245
|
-
var
|
22246
|
-
var
|
22247
|
-
var
|
22248
|
-
var
|
22249
|
-
var
|
22250
|
-
var
|
22251
|
-
var
|
22252
|
-
var
|
22237
|
+
var ga = createSelector(ct, (a2) => a2 == null ? void 0 : a2.permissions);
|
22238
|
+
var Vm = createSelector(F, (a2) => a2.recording);
|
22239
|
+
var Fm = createSelector(F, (a2) => a2.rtmp);
|
22240
|
+
var Gm = createSelector(F, (a2) => a2.hls);
|
22241
|
+
var Wm = createSelector(F, (a2) => a2.transcriptions);
|
22242
|
+
var $m = createSelector(F, (a2) => a2.sessionId);
|
22243
|
+
var Km = createSelector(F, (a2) => a2.startedAt);
|
22244
|
+
var qm = createSelector(F, (a2) => !!a2.isLargeRoom);
|
22245
|
+
var jm = createSelector(F, (a2) => !!a2.isEffectsEnabled);
|
22246
|
+
var Jm = createSelector(F, (a2) => !!a2.isVBEnabled);
|
22247
|
+
var Qm = createSelector(F, (a2) => a2.effectsKey);
|
22248
|
+
var Ta = (a2) => a2.polls;
|
22249
|
+
var Zm = createSelector(ke, (a2) => a2.filter((e) => e.isHandRaised));
|
22250
|
+
var zo = (a2) => a2.whiteboards;
|
22251
|
+
var eS = createSelector(zo, (a2) => Object.values(a2)[0]);
|
22252
|
+
var va = (a2 = "audio") => (e) => e.playlist[a2].list;
|
22253
|
+
var Zr = (a2 = "audio") => (e) => e.playlist[a2].selection;
|
22254
|
+
var Ma = (a2 = "audio") => (e) => e.playlist[a2].progress;
|
22255
|
+
var ya = (a2 = "audio") => (e) => e.playlist[a2].currentTime;
|
22256
|
+
var ka = (a2 = "audio") => (e) => e.playlist[a2].playbackRate;
|
22257
|
+
var Ea = (a2 = "audio") => (e) => e.playlist[a2].volume;
|
22258
|
+
var Pa = (a2 = "audio") => createSelector(va(a2), (e) => Object.values(e));
|
22259
|
+
var ba = (a2 = "audio") => createSelector(va(a2), Zr(a2), (e, t) => {
|
22253
22260
|
if (t.id)
|
22254
22261
|
return e[t.id];
|
22255
22262
|
});
|
22256
|
-
var
|
22257
|
-
var
|
22263
|
+
var Aa = { selection: Zr("audio"), progress: Ma("audio"), currentTime: ya("audio"), playbackRate: ka("audio"), volume: Ea("audio"), list: Pa("audio"), selectedItem: ba("audio") };
|
22264
|
+
var Ia = { selection: Zr("video"), progress: Ma("video"), currentTime: ya("video"), playbackRate: ka("video"), volume: Ea("video"), list: Pa("video"), selectedItem: ba("video") };
|
22258
22265
|
function H(a2) {
|
22259
22266
|
return (e) => (t) => a2(t, e);
|
22260
22267
|
}
|
22261
|
-
var
|
22268
|
+
var wt = "HMS-Store:";
|
22262
22269
|
var b = class {
|
22263
22270
|
static v(e, ...t) {
|
22264
22271
|
this.log(0, e, ...t);
|
@@ -22288,23 +22295,23 @@ var b = class {
|
|
22288
22295
|
if (!(this.level.valueOf() > e.valueOf()))
|
22289
22296
|
switch (e) {
|
22290
22297
|
case 0: {
|
22291
|
-
console.log(
|
22298
|
+
console.log(wt, ...t);
|
22292
22299
|
break;
|
22293
22300
|
}
|
22294
22301
|
case 1: {
|
22295
|
-
console.debug(
|
22302
|
+
console.debug(wt, ...t);
|
22296
22303
|
break;
|
22297
22304
|
}
|
22298
22305
|
case 2: {
|
22299
|
-
console.info(
|
22306
|
+
console.info(wt, ...t);
|
22300
22307
|
break;
|
22301
22308
|
}
|
22302
22309
|
case 3: {
|
22303
|
-
console.warn(
|
22310
|
+
console.warn(wt, ...t);
|
22304
22311
|
break;
|
22305
22312
|
}
|
22306
22313
|
case 6: {
|
22307
|
-
console.error(
|
22314
|
+
console.error(wt, ...t);
|
22308
22315
|
break;
|
22309
22316
|
}
|
22310
22317
|
case 4: {
|
@@ -22325,133 +22332,133 @@ var b = class {
|
|
22325
22332
|
}
|
22326
22333
|
};
|
22327
22334
|
b.level = 0;
|
22328
|
-
var
|
22329
|
-
var
|
22330
|
-
var
|
22335
|
+
var es = (a2, e) => e;
|
22336
|
+
var _t = (a2, e) => e;
|
22337
|
+
var Ra = (a2, e) => e;
|
22338
|
+
var Yo = (a2, e) => e;
|
22331
22339
|
var Xo = (a2, e) => e;
|
22332
|
-
var
|
22333
|
-
var
|
22334
|
-
var
|
22335
|
-
var en = createSelector([N, Nt], (a2, e) => {
|
22340
|
+
var z = createSelector([Q, es], (a2, e) => e ? a2[e] : null);
|
22341
|
+
var ts = createSelector([N, _t], (a2, e) => e ? a2[e] : null);
|
22342
|
+
var Zo = createSelector([N, _t], (a2, e) => {
|
22336
22343
|
if (!e)
|
22337
22344
|
return null;
|
22338
22345
|
let t = a2[e];
|
22339
22346
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
22340
22347
|
});
|
22341
|
-
var
|
22348
|
+
var en = createSelector([N, _t], (a2, e) => {
|
22342
22349
|
if (!e)
|
22343
22350
|
return null;
|
22344
22351
|
let t = a2[e];
|
22345
22352
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
22346
22353
|
});
|
22347
|
-
var
|
22354
|
+
var tn = createSelector([N, _t], (a2, e) => {
|
22348
22355
|
if (!e)
|
22349
22356
|
return null;
|
22350
22357
|
let t = a2[e];
|
22351
22358
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22352
22359
|
});
|
22353
|
-
var
|
22360
|
+
var rn = createSelector([N, _t], (a2, e) => {
|
22354
22361
|
if (!e)
|
22355
22362
|
return null;
|
22356
22363
|
let t = a2[e];
|
22357
22364
|
return (t == null ? void 0 : t.type) === "video" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
22358
22365
|
});
|
22359
|
-
var
|
22366
|
+
var sn = createSelector([Ta, Xo], (a2, e) => e ? a2[e] : null);
|
22360
22367
|
var Z = H(z);
|
22361
|
-
var
|
22368
|
+
var uS = H(createSelector([zr, Yo], (a2, e) => {
|
22362
22369
|
if (a2)
|
22363
22370
|
return e ? a2[e] : a2;
|
22364
22371
|
}));
|
22365
|
-
function
|
22372
|
+
function pS(a2) {
|
22366
22373
|
return (e) => {
|
22367
22374
|
if (e.sessionStore)
|
22368
22375
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
22369
22376
|
};
|
22370
22377
|
}
|
22371
|
-
var
|
22372
|
-
var
|
22373
|
-
var
|
22374
|
-
var
|
22375
|
-
var
|
22376
|
-
var
|
22377
|
-
var
|
22378
|
-
var
|
22378
|
+
var mS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.name));
|
22379
|
+
var SS = H(createSelector(z, (a2) => a2 == null ? void 0 : a2.type));
|
22380
|
+
var Ii = H(ts);
|
22381
|
+
var Ha = H(Zo);
|
22382
|
+
var gS = H(en);
|
22383
|
+
var TS = H(tn);
|
22384
|
+
var fS = H(rn);
|
22385
|
+
var an = H((a2, e) => {
|
22379
22386
|
let t = z(a2, e);
|
22380
22387
|
if (t && t.videoTrack && t.videoTrack !== "")
|
22381
22388
|
return a2.tracks[t.videoTrack];
|
22382
22389
|
});
|
22383
|
-
var
|
22390
|
+
var on = H((a2, e) => {
|
22384
22391
|
let t = z(a2, e);
|
22385
22392
|
if (t && t.audioTrack && t.audioTrack !== "")
|
22386
22393
|
return a2.tracks[t.audioTrack];
|
22387
22394
|
});
|
22388
|
-
var
|
22395
|
+
var MS = H((a2, e) => {
|
22389
22396
|
let t = z(a2, e);
|
22390
22397
|
return (t == null ? void 0 : t.auxiliaryTracks.map((i) => a2.tracks[i])) || [];
|
22391
22398
|
});
|
22392
|
-
var
|
22393
|
-
var
|
22394
|
-
var
|
22395
|
-
let t =
|
22396
|
-
return
|
22397
|
-
};
|
22398
|
-
var
|
22399
|
-
var
|
22399
|
+
var Ca = (a2, e) => e ? a2.speakers[e] : null;
|
22400
|
+
var yS = H(createSelector(Ca, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22401
|
+
var nn = (a2, e) => {
|
22402
|
+
let t = on(e)(a2);
|
22403
|
+
return Ca(a2, t == null ? void 0 : t.id);
|
22404
|
+
};
|
22405
|
+
var kS = H(createSelector(nn, (a2) => (a2 == null ? void 0 : a2.audioLevel) || 0));
|
22406
|
+
var ES = H((a2, e) => {
|
22400
22407
|
if (e)
|
22401
22408
|
return a2.connectionQualities[e];
|
22402
22409
|
});
|
22403
|
-
var
|
22410
|
+
var PS = H((a2, e) => {
|
22404
22411
|
let t = z(a2, e);
|
22405
22412
|
if (t) {
|
22406
22413
|
let i = t == null ? void 0 : t.auxiliaryTracks.find((r) => gt(a2.tracks[r]));
|
22407
22414
|
return i ? a2.tracks[i] : void 0;
|
22408
22415
|
}
|
22409
22416
|
});
|
22410
|
-
var
|
22417
|
+
var bS = H(createSelector(N, z, (a2, e) => {
|
22411
22418
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22412
22419
|
let r = a2[i];
|
22413
22420
|
return ft(r) && Tt(r);
|
22414
22421
|
});
|
22415
22422
|
return t ? a2[t] : void 0;
|
22416
22423
|
}));
|
22417
|
-
var
|
22424
|
+
var AS = H(createSelector(N, z, (a2, e) => {
|
22418
22425
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22419
22426
|
let r = a2[i];
|
22420
22427
|
return ft(r) && gt(r);
|
22421
22428
|
});
|
22422
22429
|
return t ? a2[t] : void 0;
|
22423
22430
|
}));
|
22424
|
-
var
|
22431
|
+
var IS = H(createSelector(N, z, (a2, e) => {
|
22425
22432
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
22426
22433
|
let r = a2[i];
|
22427
|
-
return
|
22434
|
+
return ci(r) && gt(r);
|
22428
22435
|
});
|
22429
22436
|
return t ? a2[t] : void 0;
|
22430
22437
|
}));
|
22431
|
-
var
|
22432
|
-
var
|
22433
|
-
var
|
22438
|
+
var La = H(createSelector(N, z, (a2, e) => Fe(a2, e)));
|
22439
|
+
var Da = (a2) => createSelector(La(a2), (e) => e.audio);
|
22440
|
+
var HS = H((a2, e) => {
|
22434
22441
|
let t = z(a2, e);
|
22435
22442
|
return ze(a2, t == null ? void 0 : t.audioTrack);
|
22436
22443
|
});
|
22437
|
-
var
|
22444
|
+
var CS = H((a2, e) => {
|
22438
22445
|
let t = z(a2, e);
|
22439
22446
|
return ze(a2, t == null ? void 0 : t.videoTrack);
|
22440
22447
|
});
|
22441
|
-
var
|
22448
|
+
var wa = H((a2, e) => {
|
22442
22449
|
if (e && a2.tracks[e])
|
22443
22450
|
return a2.tracks[e].volume === 0;
|
22444
22451
|
});
|
22445
|
-
var
|
22452
|
+
var LS = H((a2, e) => {
|
22446
22453
|
let t = z(a2, e);
|
22447
|
-
return
|
22454
|
+
return wa(t == null ? void 0 : t.audioTrack)(a2);
|
22448
22455
|
});
|
22449
|
-
var
|
22450
|
-
let t =
|
22451
|
-
return
|
22456
|
+
var DS = H((a2, e) => {
|
22457
|
+
let t = Da(e)(a2);
|
22458
|
+
return wa(t == null ? void 0 : t.id)(a2);
|
22452
22459
|
});
|
22453
|
-
var
|
22454
|
-
let t =
|
22460
|
+
var _a7 = H((a2, e) => {
|
22461
|
+
let t = ts(a2, e);
|
22455
22462
|
if (t) {
|
22456
22463
|
if (t.type !== "audio") {
|
22457
22464
|
b.w("Please pass audio track here");
|
@@ -22460,16 +22467,16 @@ var Na = H((a2, e) => {
|
|
22460
22467
|
return t.volume;
|
22461
22468
|
}
|
22462
22469
|
});
|
22463
|
-
var
|
22470
|
+
var wS = H((a2, e) => {
|
22464
22471
|
let t = z(a2, e);
|
22465
|
-
return
|
22472
|
+
return _a7(t == null ? void 0 : t.audioTrack)(a2);
|
22466
22473
|
});
|
22467
|
-
var
|
22468
|
-
let t =
|
22469
|
-
return
|
22474
|
+
var _S = H((a2, e) => {
|
22475
|
+
let t = Da(e)(a2);
|
22476
|
+
return _a7(t == null ? void 0 : t.id)(a2);
|
22470
22477
|
});
|
22471
|
-
var
|
22472
|
-
let t =
|
22478
|
+
var NS = H((a2, e) => {
|
22479
|
+
let t = ts(a2, e);
|
22473
22480
|
if (t) {
|
22474
22481
|
if (t.type !== "video") {
|
22475
22482
|
b.w("Please pass video track here");
|
@@ -22478,50 +22485,50 @@ var VS = H((a2, e) => {
|
|
22478
22485
|
return t.layer;
|
22479
22486
|
}
|
22480
22487
|
});
|
22481
|
-
var
|
22488
|
+
var Na = createSelector([Dt, Ie, es], (a2, e, t) => {
|
22482
22489
|
if (t)
|
22483
22490
|
return a2.filter((i) => {
|
22484
22491
|
var r;
|
22485
22492
|
return !i.recipientPeer && !((r = i.recipientRoles) != null && r.length) || i.sender && ![e, t].includes(i.sender) ? false : [e, t].includes(i.recipientPeer);
|
22486
22493
|
});
|
22487
22494
|
});
|
22488
|
-
var
|
22495
|
+
var Oa = createSelector([Dt, Ra], (a2, e) => {
|
22489
22496
|
if (e)
|
22490
22497
|
return a2.filter((t) => {
|
22491
22498
|
var i, r;
|
22492
22499
|
return (i = t.recipientRoles) != null && i.length ? (r = t.recipientRoles) == null ? void 0 : r.includes(e) : false;
|
22493
22500
|
});
|
22494
22501
|
});
|
22495
|
-
var
|
22502
|
+
var cn = createSelector(Dt, (a2) => a2.filter((e) => {
|
22496
22503
|
var t;
|
22497
22504
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
22498
22505
|
}));
|
22499
|
-
var
|
22500
|
-
var
|
22501
|
-
var
|
22502
|
-
var
|
22503
|
-
var
|
22504
|
-
var
|
22505
|
-
var
|
22506
|
-
var
|
22507
|
-
var
|
22506
|
+
var dn = createSelector([Oa, Ra], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22507
|
+
var ln = createSelector([Na, es], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
22508
|
+
var OS = createSelector(cn, (a2) => a2.filter((e) => !e.read).length);
|
22509
|
+
var xS = H(Na);
|
22510
|
+
var US = H(Oa);
|
22511
|
+
var BS = H(dn);
|
22512
|
+
var VS = H(ln);
|
22513
|
+
var xa = H(sn);
|
22514
|
+
var XS = createSelector([Q, N], (a2, e) => Object.values(a2).map((i) => {
|
22508
22515
|
var r;
|
22509
22516
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
22510
22517
|
}));
|
22511
|
-
var
|
22512
|
-
var
|
22513
|
-
var
|
22514
|
-
var
|
22515
|
-
var
|
22518
|
+
var un = (a2) => a2.roleChangeRequests[0] || null;
|
22519
|
+
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);
|
22520
|
+
var eg = createSelector([ct], (a2) => vt(a2));
|
22521
|
+
var tg = createSelector([Sa], (a2) => vt(a2));
|
22522
|
+
var hn = createSelector([X, N], (a2, e) => {
|
22516
22523
|
let t = null;
|
22517
22524
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22518
22525
|
});
|
22519
|
-
var
|
22526
|
+
var mn = createSelector([le, N], (a2, e) => {
|
22520
22527
|
let t = null;
|
22521
22528
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
22522
22529
|
});
|
22523
|
-
var
|
22524
|
-
var
|
22530
|
+
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 || {});
|
22531
|
+
var os = class {
|
22525
22532
|
constructor() {
|
22526
22533
|
this.TAG = "[HTTPAnalyticsTransport]";
|
22527
22534
|
this.failedEvents = new fe("client-events");
|
@@ -22540,7 +22547,7 @@ var ns = class {
|
|
22540
22547
|
this.addEventToStorage(e);
|
22541
22548
|
return;
|
22542
22549
|
}
|
22543
|
-
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" ?
|
22550
|
+
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;
|
22544
22551
|
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) => {
|
22545
22552
|
if (r.status === 401) {
|
22546
22553
|
this.removeFromStorage(e);
|
@@ -22566,8 +22573,8 @@ var ns = class {
|
|
22566
22573
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
22567
22574
|
}
|
22568
22575
|
};
|
22569
|
-
var He = new
|
22570
|
-
var
|
22576
|
+
var He = new os();
|
22577
|
+
var $t = class {
|
22571
22578
|
static handleError(e) {
|
22572
22579
|
if (e.status === 404)
|
22573
22580
|
throw S.APIErrors.EndpointUnreachable("FEEDBACK", e.statusText);
|
@@ -22593,67 +22600,67 @@ var Kt = class {
|
|
22593
22600
|
});
|
22594
22601
|
}
|
22595
22602
|
};
|
22596
|
-
|
22597
|
-
var
|
22598
|
-
var
|
22599
|
-
var
|
22603
|
+
$t.TAG = "[FeedbackService]";
|
22604
|
+
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 || {});
|
22605
|
+
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 || {});
|
22606
|
+
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 || {});
|
22600
22607
|
var ht = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(ht || {});
|
22601
|
-
var
|
22602
|
-
var
|
22603
|
-
var
|
22604
|
-
var
|
22605
|
-
var
|
22606
|
-
var
|
22607
|
-
var
|
22608
|
-
var
|
22609
|
-
var Le = createSelector([
|
22610
|
-
var
|
22608
|
+
var Un = (a2) => a2.localPeer.id;
|
22609
|
+
var Bn = (a2) => a2.localPeer.audioTrack;
|
22610
|
+
var Vn = (a2) => a2.localPeer.videoTrack;
|
22611
|
+
var Fn = (a2, e) => e;
|
22612
|
+
var oo = (a2, e) => e;
|
22613
|
+
var Gn = (a2) => a2.remoteTrackStats;
|
22614
|
+
var no = (a2) => a2.peerStats;
|
22615
|
+
var us = (a2) => a2.localTrackStats;
|
22616
|
+
var Le = createSelector([no, Un], (a2, e) => a2[e]);
|
22617
|
+
var Wn = createSelector(Le, (a2) => {
|
22611
22618
|
var e;
|
22612
22619
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
22613
22620
|
});
|
22614
|
-
var
|
22621
|
+
var $n = createSelector(Le, (a2) => {
|
22615
22622
|
var e;
|
22616
22623
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
22617
22624
|
});
|
22618
|
-
var
|
22625
|
+
var Kn = createSelector(Le, (a2) => {
|
22619
22626
|
var e;
|
22620
22627
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
22621
22628
|
});
|
22622
|
-
var
|
22629
|
+
var qn = createSelector(Le, (a2) => {
|
22623
22630
|
var e;
|
22624
22631
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
22625
22632
|
});
|
22626
|
-
var
|
22633
|
+
var jn = createSelector(Le, (a2) => {
|
22627
22634
|
var e;
|
22628
22635
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
22629
22636
|
});
|
22630
|
-
var
|
22637
|
+
var Jn = createSelector(Le, (a2) => {
|
22631
22638
|
var e;
|
22632
22639
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
22633
22640
|
});
|
22634
|
-
var
|
22641
|
+
var Qn = createSelector(Le, (a2) => {
|
22635
22642
|
var e;
|
22636
22643
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
22637
22644
|
});
|
22638
|
-
var
|
22645
|
+
var zn = createSelector(Le, (a2) => {
|
22639
22646
|
var e;
|
22640
22647
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
22641
22648
|
});
|
22642
|
-
var
|
22643
|
-
var
|
22644
|
-
var
|
22649
|
+
var Yn = createSelector([no, Fn], (a2, e) => e ? a2[e] : void 0);
|
22650
|
+
var Xn = createSelector([Gn, oo], (a2, e) => e ? a2[e] : void 0);
|
22651
|
+
var ps = createSelector([us, oo], (a2, e) => e ? a2[e] : void 0);
|
22652
|
+
var Zn = H(Yn);
|
22645
22653
|
var ec = H(Xn);
|
22646
|
-
var tc =
|
22647
|
-
var ic = createSelector([ps, Vn], (a2, e) => {
|
22654
|
+
var tc = createSelector([us, Bn], (a2, e) => {
|
22648
22655
|
var t;
|
22649
22656
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22650
22657
|
});
|
22651
|
-
var
|
22652
|
-
var
|
22658
|
+
var ic = H(createSelector(ps, (a2) => a2 == null ? void 0 : a2[0]));
|
22659
|
+
var rc = createSelector([us, Vn], (a2, e) => {
|
22653
22660
|
var t;
|
22654
22661
|
return e ? (t = a2[e]) == null ? void 0 : t[0] : void 0;
|
22655
22662
|
});
|
22656
|
-
var
|
22663
|
+
var sc = H(createSelector(ps, (a2) => a2));
|
22657
22664
|
|
22658
22665
|
// src/Prebuilt/components/Header/StreamActions.tsx
|
22659
22666
|
import {
|
@@ -22772,7 +22779,7 @@ var RecordingStatus = () => {
|
|
22772
22779
|
};
|
22773
22780
|
var RecordingPauseStatus = () => {
|
22774
22781
|
const recording = useHMSStore29(selectRecordingState2);
|
22775
|
-
if (recording.hls && recording.hls.state ===
|
22782
|
+
if (recording.hls && recording.hls.state === Fs.PAUSED) {
|
22776
22783
|
return /* @__PURE__ */ React64.createElement(
|
22777
22784
|
Tooltip,
|
22778
22785
|
{
|
@@ -23949,7 +23956,7 @@ var ChatToggle = ({ onClick }) => {
|
|
23949
23956
|
background: "$primary_default"
|
23950
23957
|
}
|
23951
23958
|
},
|
23952
|
-
/* @__PURE__ */ React78.createElement(Text, { variant: "overline" }, countUnreadMessages > 99 ? "99+" : countUnreadMessages)
|
23959
|
+
/* @__PURE__ */ React78.createElement(Text, { variant: "overline", css: { color: "$on_primary_high" } }, countUnreadMessages > 99 ? "99+" : countUnreadMessages)
|
23953
23960
|
)
|
23954
23961
|
);
|
23955
23962
|
};
|
@@ -25543,7 +25550,7 @@ var MultipleChoiceOptions = ({
|
|
25543
25550
|
}
|
25544
25551
|
},
|
25545
25552
|
/* @__PURE__ */ React96.createElement(Checkbox.Indicator, null, /* @__PURE__ */ React96.createElement(CheckIcon5, { width: 16, height: 16 }))
|
25546
|
-
) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ React96.createElement(CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ React96.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React96.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Label3, { htmlFor: `${questionIndex}-${option.index}
|
25553
|
+
) : null, isStopped && (correctOptionIndexes == null ? void 0 : correctOptionIndexes.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Flex, { align: "center", css: { color: "$on_surface_high" } }, /* @__PURE__ */ React96.createElement(CheckCircleIcon, { height: 20, width: 20 })) : null, /* @__PURE__ */ React96.createElement(Flex, { direction: "column", css: { flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Flex, { css: { w: "100%" } }, /* @__PURE__ */ React96.createElement(Text, { css: { display: "flex", flexGrow: "1" } }, /* @__PURE__ */ React96.createElement(Label3, { htmlFor: `${questionIndex}-${option.index}`, css: { color: "inherit" } }, option.text)), showVoteCount && /* @__PURE__ */ React96.createElement(VoteCount, { voteCount: option.voteCount })), showVoteCount && /* @__PURE__ */ React96.createElement(VoteProgress, { option, totalResponses })), isStopped && isQuiz && (localPeerResponse == null ? void 0 : localPeerResponse.options.includes(option.index)) ? /* @__PURE__ */ React96.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", maxWidth: "max-content" } }, "Your Answer") : null);
|
25547
25554
|
}));
|
25548
25555
|
};
|
25549
25556
|
var MultipleChoiceOptionInputs = ({ isQuiz, options, selectAnswer, handleOptionTextChange, removeOption }) => {
|
@@ -27019,18 +27026,19 @@ var ChatSelectorContainer = () => {
|
|
27019
27026
|
"data-testid": "participant_list_filter",
|
27020
27027
|
css: {
|
27021
27028
|
background: "$primary_default",
|
27029
|
+
c: "$on_primary_high",
|
27022
27030
|
r: "$0",
|
27023
27031
|
p: "$1 $2",
|
27024
27032
|
ml: "$6"
|
27025
27033
|
},
|
27026
27034
|
tabIndex: 0
|
27027
27035
|
},
|
27028
|
-
/* @__PURE__ */ React115.createElement(Flex, { align: "center",
|
27036
|
+
/* @__PURE__ */ React115.createElement(Flex, { align: "center", gap: "1" }, /* @__PURE__ */ React115.createElement(
|
27029
27037
|
Text,
|
27030
27038
|
{
|
27031
27039
|
variant: "caption",
|
27032
27040
|
css: {
|
27033
|
-
c: "
|
27041
|
+
c: "inherit",
|
27034
27042
|
pr: "$2",
|
27035
27043
|
display: "flex",
|
27036
27044
|
alignItems: "center",
|
@@ -27629,7 +27637,7 @@ var Chat = () => {
|
|
27629
27637
|
const listRef = useRef26(null);
|
27630
27638
|
const hmsActions = useHMSActions42();
|
27631
27639
|
const vanillaStore = useHMSVanillaStore11();
|
27632
|
-
const { enabled: isChatEnabled = true } = useHMSStore61(
|
27640
|
+
const { enabled: isChatEnabled = true } = useHMSStore61(pS("chatState" /* CHAT_STATE */)) || {};
|
27633
27641
|
const isMobile = useMedia20(config.media.md);
|
27634
27642
|
const isMobileHLSStream = useMobileHLSStream();
|
27635
27643
|
const isLandscapeStream = useLandscapeHLSStream();
|
@@ -27719,7 +27727,7 @@ var NewMessageIndicator = ({
|
|
27719
27727
|
scrollToBottom,
|
27720
27728
|
listRef
|
27721
27729
|
}) => {
|
27722
|
-
const unreadCount = useHMSStore61(
|
27730
|
+
const unreadCount = useHMSStore61(_m);
|
27723
27731
|
if (!unreadCount || !listRef.current) {
|
27724
27732
|
return null;
|
27725
27733
|
}
|
@@ -28741,12 +28749,12 @@ var VBPicker = ({ backgroundMedia = [] }) => {
|
|
28741
28749
|
const roomState = useHMSStore69(selectRoomState6);
|
28742
28750
|
const isLargeRoom = useHMSStore69(selectIsLargeRoom3);
|
28743
28751
|
const isEffectsSupported = VBHandler.isEffectsSupported();
|
28744
|
-
const isEffectsEnabled = useHMSStore69(
|
28745
|
-
const effectsKey = useHMSStore69(
|
28752
|
+
const isEffectsEnabled = useHMSStore69(jm);
|
28753
|
+
const effectsKey = useHMSStore69(Qm);
|
28746
28754
|
const isMobile = useMedia24(config.media.md);
|
28747
28755
|
const [loadingEffects, setLoadingEffects] = useSetAppDataByKey(APP_DATA.loadingEffects);
|
28748
28756
|
const isPluginAdded = useHMSStore69(selectIsLocalVideoPluginPresent(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
|
28749
|
-
const background = useHMSStore69(
|
28757
|
+
const background = useHMSStore69(uS(APP_DATA.background));
|
28750
28758
|
const mediaList = backgroundMedia.map((media) => media.url || "");
|
28751
28759
|
const pluginLoadingRef = useRef27(false);
|
28752
28760
|
const isBlurSupported = (_b7 = VBHandler) == null ? void 0 : _b7.isBlurSupported();
|
@@ -29838,7 +29846,7 @@ var useTileLayout = ({
|
|
29838
29846
|
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
29839
29847
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
29840
29848
|
const rowElements = [];
|
29841
|
-
for (let
|
29849
|
+
for (let j2 = 0; j2 < numCols; j2++) {
|
29842
29850
|
if (index < page.length) {
|
29843
29851
|
rowElements.push(page[index++]);
|
29844
29852
|
}
|
@@ -32639,7 +32647,8 @@ var TranscriptView = ({ peer_id, data: data3 }) => {
|
|
32639
32647
|
{
|
32640
32648
|
variant: "body2",
|
32641
32649
|
css: {
|
32642
|
-
fontWeight: "$normal"
|
32650
|
+
fontWeight: "$normal",
|
32651
|
+
color: "inherit"
|
32643
32652
|
}
|
32644
32653
|
},
|
32645
32654
|
/* @__PURE__ */ React171.createElement("b", null, peerName, ": "),
|
@@ -32710,6 +32719,7 @@ var CaptionsViewer = ({
|
|
32710
32719
|
background: "#000000A3",
|
32711
32720
|
overflow: "clip",
|
32712
32721
|
zIndex: 10,
|
32722
|
+
color: "$on_primary_high",
|
32713
32723
|
height: "fit-content",
|
32714
32724
|
r: "$1",
|
32715
32725
|
p: "$6",
|
@@ -34590,8 +34600,8 @@ import { useEffect as useEffect75 } from "react";
|
|
34590
34600
|
import { useAwayNotifications as useAwayNotifications5, useHMSNotifications as useHMSNotifications8, useHMSStore as useHMSStore92 } from "@100mslive/react-sdk";
|
34591
34601
|
var MessageNotifications = () => {
|
34592
34602
|
var _a8, _b7;
|
34593
|
-
const notification = useHMSNotifications8(
|
34594
|
-
const amIScreenSharing = useHMSStore92(
|
34603
|
+
const notification = useHMSNotifications8(Pr.NEW_MESSAGE);
|
34604
|
+
const amIScreenSharing = useHMSStore92(Xr);
|
34595
34605
|
const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
|
34596
34606
|
const { pipWindow } = usePIPWindow();
|
34597
34607
|
const { showNotification } = useAwayNotifications5();
|