@100mslive/roomkit-react 0.3.9-alpha.0 → 0.3.9-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-SZL2TSWE.js → HLSView-VU7EAULT.js} +2 -2
- package/dist/{chunk-BKAJ6YG4.js → chunk-G5EI4B2P.js} +91 -83
- package/dist/{chunk-BKAJ6YG4.js.map → chunk-G5EI4B2P.js.map} +3 -3
- package/dist/index.cjs.js +82 -76
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +20 -15
- package/dist/meta.esbuild.json +27 -22
- package/package.json +6 -6
- package/src/Prebuilt/plugins/FlyingEmoji.jsx +30 -18
- /package/dist/{HLSView-SZL2TSWE.js.map → HLSView-VU7EAULT.js.map} +0 -0
package/dist/index.cjs.js
CHANGED
@@ -109,7 +109,7 @@ var __async = (__this, __arguments, generator) => {
|
|
109
109
|
var define_process_env_default;
|
110
110
|
var init_define_process_env = __esm({
|
111
111
|
"<define:process.env>"() {
|
112
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.9-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.9-alpha.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "600", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:16204", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.9-alpha.0", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8795813995", 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: "0e749918d6dddfed6208acd8e4dbfed267cc751e", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "c73f7ad0d8d76d694d83c573acd5cbeb5644d9153d2bffed5630e8b5a3da6760", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1713853590495-0.9320070312950524:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853590298-0.6572167270280693:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853568287-0.2407608006522226:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713853568112-0.40798663439255645:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_de27e526-2315-43bf-9e3a-967b5769c1eb", INVOCATION_ID: "ae9ae8e32e914b8886baff95608745f2", 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: "521", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 445", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.9-alpha.0", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.9-alpha.0", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "0e749918d6dddfed6208acd8e4dbfed267cc751e", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c0d9e187-ac5f-4a2f-88a1-f6d6f26858ad" };
|
112
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e916a87a-f341-4601-84c8-08f2f0b2a192", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.2 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.9-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e916a87a-f341-4601-84c8-08f2f0b2a192", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.2/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.9-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.8", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "^1.2.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.7", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.3.11579264", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.9/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240414.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.2/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "8:20555", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__rollup_plugin_commonjs: "^21.0.3", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.9-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "8811942074", 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: "1b8cdadaee116534032f5c9523f3128a2df52368", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "e388f22c66d993066515e2eaac22cac5cb0146534ea69c0f0d93a324194c9c7c", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1713939544998-0.18702950735588342:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939544785-0.12214411827087157:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939523156-0.9236665094794765:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1713939522977-0.6762987824103797:/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.2/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.2/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.2/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ac7f435a-89d6-4921-877e-11053af17e7b", INVOCATION_ID: "cba8c5b9eeb64f8f83405d4295627898", 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: "522", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 143", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_devDependencies_rollup_plugin_import_css: "^3.3.1", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.9-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.9-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "1b8cdadaee116534032f5c9523f3128a2df52368", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e916a87a-f341-4601-84c8-08f2f0b2a192", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e916a87a-f341-4601-84c8-08f2f0b2a192", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/25.2.9519653", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.172+1/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e916a87a-f341-4601-84c8-08f2f0b2a192" };
|
113
113
|
}
|
114
114
|
});
|
115
115
|
|
@@ -2658,7 +2658,7 @@ var init_AudioLevel = __esm({
|
|
2658
2658
|
init_Layout();
|
2659
2659
|
init_Theme();
|
2660
2660
|
init_audio_level();
|
2661
|
-
positionValues = new Array(101).fill(0).reduce((acc,
|
2661
|
+
positionValues = new Array(101).fill(0).reduce((acc, _, index) => {
|
2662
2662
|
acc[index] = Math.round(index / 100 * 4) / 4;
|
2663
2663
|
return acc;
|
2664
2664
|
}, {});
|
@@ -4810,7 +4810,7 @@ var require_lodash = __commonJS({
|
|
4810
4810
|
return string.match(reUnicodeWord) || [];
|
4811
4811
|
}
|
4812
4812
|
var runInContext = function runInContext2(context) {
|
4813
|
-
context = context == null ? root :
|
4813
|
+
context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
|
4814
4814
|
var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
|
4815
4815
|
var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
|
4816
4816
|
var coreJsData = context["__core-js_shared__"];
|
@@ -9584,17 +9584,17 @@ var require_lodash = __commonJS({
|
|
9584
9584
|
}
|
9585
9585
|
return lodash;
|
9586
9586
|
};
|
9587
|
-
var
|
9587
|
+
var _ = runInContext();
|
9588
9588
|
if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
|
9589
|
-
root._ =
|
9589
|
+
root._ = _;
|
9590
9590
|
define(function() {
|
9591
|
-
return
|
9591
|
+
return _;
|
9592
9592
|
});
|
9593
9593
|
} else if (freeModule) {
|
9594
|
-
(freeModule.exports =
|
9595
|
-
freeExports._ =
|
9594
|
+
(freeModule.exports = _)._ = _;
|
9595
|
+
freeExports._ = _;
|
9596
9596
|
} else {
|
9597
|
-
root._ =
|
9597
|
+
root._ = _;
|
9598
9598
|
}
|
9599
9599
|
}).call(exports);
|
9600
9600
|
}
|
@@ -19584,7 +19584,7 @@ function st(a2) {
|
|
19584
19584
|
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 };
|
19585
19585
|
}
|
19586
19586
|
function Va() {
|
19587
|
-
if (
|
19587
|
+
if (N && window) {
|
19588
19588
|
let a2 = window.location.hostname;
|
19589
19589
|
return a2 === "localhost" || a2 === "127.0.0.1" ? "LOCAL" : a2.includes("app.100ms.live") ? "HMS" : "CUSTOM";
|
19590
19590
|
}
|
@@ -19622,7 +19622,7 @@ function Sm(a2) {
|
|
19622
19622
|
return a2 ? e.sessionStore[a2] : e.sessionStore;
|
19623
19623
|
};
|
19624
19624
|
}
|
19625
|
-
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23,
|
19625
|
+
var import_ua_parser_js, import_lodash3, import_uuid3, import_uuid4, import_lodash4, import_uuid5, import_uuid6, import_uuid7, import_eventemitter2, import_eventemitter22, import_uuid8, import_eventemitter23, Dt, import_eventemitter24, import_uuid9, import_uuid10, Ha, Ca, La, Ft, Kr, qr, $r, S, M, Zi, _a7, nr, er, Na, jr, tr, Jr, Yr, xa, d, pe, N, Xr, Ce, Ba, On, Zr, es, is, rs, Ve, y, f, Fa, m, sr, ss, ne, as, ns, cs, H, k, dr, q, lr, ur, pr, ms, Ss, gs, Ts, fs, vs, hr, Es, mr, Ps, Sr, gr, Is, Rs, ut, Qe, B, uo, kh, Eh, G, ai, xs, D, br, po, Re, bh, ho, le, mo, z, Te, Ih, Rh, te, J, So, Bs, Hh, Ch, Rr, go, wh, Dh, _h, Nh, Oh, xh, Uh, Bh, St, To, Vh, Y, Fs, Fh, Gh, ue, Wh, oi, fo, Gs, $h, Ws, Kh, qh, jh, Jh, Qh, zh, Yh, Xh, $s, im, vo, rm, qs, Hr, js, Js, Qs, zs, Ys, Xs, Zs, ea, gt, E, Cr, Tt, ta, Mo, yo, W, Lr, ko, Eo, Po, Ao, bo, Q, mm, Tm, fm, ni, ia, vm, Mm, ym, Io, Ro, Em, ra, Pm, Ho, Am, bm, Im, Rm, Hm, Cm, sa, aa, wm, Dm, oa, _m, Nm, na, Om, xm, Um, ca, da, Co, Lo, wo, Bm, Vm, Fm, Gm, Wm, la, eS, Do, tS, iS, rS, No, Oo, Or, ve, $, Vi, Qi, rn, sn, an, on, Ia, nn, Ra, Fr, ye, cn, dn, ln, un, pn, hn, mn, Sn, gn, Tn, Gr, fn, vn, Mn, yn, kn, En;
|
19626
19626
|
var init_dist = __esm({
|
19627
19627
|
"../hms-video-store/dist/index.js"() {
|
19628
19628
|
"use strict";
|
@@ -19645,7 +19645,7 @@ var init_dist = __esm({
|
|
19645
19645
|
import_eventemitter22 = require("eventemitter2");
|
19646
19646
|
import_uuid8 = require("uuid");
|
19647
19647
|
import_eventemitter23 = require("eventemitter2");
|
19648
|
-
|
19648
|
+
Dt = __toESM(require_lib());
|
19649
19649
|
import_eventemitter24 = __toESM(require("eventemitter2"));
|
19650
19650
|
import_uuid9 = require("uuid");
|
19651
19651
|
import_uuid10 = require("uuid");
|
@@ -19677,12 +19677,12 @@ var init_dist = __esm({
|
|
19677
19677
|
};
|
19678
19678
|
_a7 = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
|
19679
19679
|
nr = _a7((yc, Wa) => {
|
19680
|
-
Wa.exports = { version: "0.12.9-alpha.
|
19680
|
+
Wa.exports = { version: "0.12.9-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"] };
|
19681
19681
|
});
|
19682
19682
|
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 || {});
|
19683
19683
|
Na = ((e) => (e.CHAT = "chat", e))(Na || {});
|
19684
19684
|
jr = ((t) => (t.INFO = "info", t.ERROR = "error", t))(jr || {});
|
19685
|
-
tr = ((
|
19685
|
+
tr = ((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))(tr || {});
|
19686
19686
|
Jr = ((t) => (t.audio = "audio", t.video = "video", t))(Jr || {});
|
19687
19687
|
Yr = ((l) => (l[l.VERBOSE = 0] = "VERBOSE", l[l.DEBUG = 1] = "DEBUG", l[l.INFO = 2] = "INFO", l[l.WARN = 3] = "WARN", l[l.TIME = 4] = "TIME", l[l.TIMEEND = 5] = "TIMEEND", l[l.ERROR = 6] = "ERROR", l[l.NONE = 7] = "NONE", l))(Yr || {});
|
19688
19688
|
xa = typeof window != "undefined" && typeof window.expect != "undefined";
|
@@ -19753,7 +19753,7 @@ var init_dist = __esm({
|
|
19753
19753
|
};
|
19754
19754
|
d.level = xa ? 7 : 0;
|
19755
19755
|
pe = new import_ua_parser_js.UAParser();
|
19756
|
-
|
19756
|
+
N = typeof window != "undefined";
|
19757
19757
|
Ce = typeof window == "undefined" && !((Xr = pe.getBrowser().name) != null && Xr.toLowerCase().includes("electron"));
|
19758
19758
|
Ba = () => !Ce;
|
19759
19759
|
On = Ba();
|
@@ -19925,7 +19925,7 @@ var init_dist = __esm({
|
|
19925
19925
|
};
|
19926
19926
|
ss = () => {
|
19927
19927
|
try {
|
19928
|
-
|
19928
|
+
N && !localStorage && (window.localStorage = new sr());
|
19929
19929
|
} catch (a2) {
|
19930
19930
|
d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied());
|
19931
19931
|
}
|
@@ -19937,7 +19937,7 @@ var init_dist = __esm({
|
|
19937
19937
|
}
|
19938
19938
|
getStorage() {
|
19939
19939
|
try {
|
19940
|
-
return
|
19940
|
+
return N && !this.storage && (ss(), this.storage = window.localStorage), this.storage;
|
19941
19941
|
} catch (e) {
|
19942
19942
|
return d.e("Error initialising localStorage", m.GenericErrors.LocalStorageAccessDenied()), null;
|
19943
19943
|
}
|
@@ -20130,7 +20130,7 @@ var init_dist = __esm({
|
|
20130
20130
|
this.createObserver();
|
20131
20131
|
}
|
20132
20132
|
isSupported() {
|
20133
|
-
let e =
|
20133
|
+
let e = N && typeof window.IntersectionObserver != "undefined";
|
20134
20134
|
return e || d.w(this.TAG, "IntersectionObserver is not supported, fallback will be used instead"), e;
|
20135
20135
|
}
|
20136
20136
|
};
|
@@ -20158,7 +20158,7 @@ var init_dist = __esm({
|
|
20158
20158
|
this.createObserver();
|
20159
20159
|
}
|
20160
20160
|
isSupported() {
|
20161
|
-
let e =
|
20161
|
+
let e = N && typeof window.ResizeObserver != "undefined";
|
20162
20162
|
return e || d.w(this.TAG, "Resize Observer is not supported"), e;
|
20163
20163
|
}
|
20164
20164
|
};
|
@@ -20178,16 +20178,16 @@ var init_dist = __esm({
|
|
20178
20178
|
G = (a2) => a2.peers;
|
20179
20179
|
ai = (a2) => a2.messages.byID;
|
20180
20180
|
xs = (a2) => a2.messages.allIDs;
|
20181
|
-
|
20181
|
+
D = (a2) => a2.tracks;
|
20182
20182
|
br = (a2) => a2.appData;
|
20183
20183
|
po = (a2) => a2.speakers;
|
20184
20184
|
Re = createSelector([B], (a2) => a2 && a2.isConnected);
|
20185
20185
|
bh = createSelector([Re, B], (a2, e) => a2 ? e.peerCount !== void 0 ? e.peerCount || 1 : e.peers.length : Math.max(e.peerCount !== void 0 ? e.peerCount : e.peers.length - 1, 0));
|
20186
20186
|
ho = (a2) => a2.hideLocalPeer;
|
20187
20187
|
le = createSelector([B, G, ho], (a2, e, t) => t ? a2.peers.filter((i) => a2.localPeer !== i).map((i) => e[i]) : a2.peers.map((i) => e[i]));
|
20188
|
-
mo = createSelector(
|
20188
|
+
mo = createSelector(D, (a2) => Object.values(a2));
|
20189
20189
|
z = createSelector(B, G, (a2, e) => e[a2.localPeer]);
|
20190
|
-
|
20190
|
+
Te = createSelector(B, (a2) => a2.localPeer);
|
20191
20191
|
Ih = createSelector(z, (a2) => a2 == null ? void 0 : a2.name);
|
20192
20192
|
Rh = createSelector(z, (a2) => a2 == null ? void 0 : a2.roleName);
|
20193
20193
|
te = createSelector(z, (a2) => a2 == null ? void 0 : a2.audioTrack);
|
@@ -20211,11 +20211,11 @@ var init_dist = __esm({
|
|
20211
20211
|
}
|
20212
20212
|
return null;
|
20213
20213
|
});
|
20214
|
-
Rr = createSelector(z,
|
20214
|
+
Rr = createSelector(z, D, (a2, e) => {
|
20215
20215
|
let { video: t, audio: i } = He(e, a2);
|
20216
20216
|
return !!(t || i);
|
20217
20217
|
});
|
20218
|
-
go = createSelector(G,
|
20218
|
+
go = createSelector(G, D, (a2, e) => {
|
20219
20219
|
let t;
|
20220
20220
|
for (let i in a2) {
|
20221
20221
|
let r = a2[i], { video: s, audio: o } = He(e, r);
|
@@ -20225,15 +20225,15 @@ var init_dist = __esm({
|
|
20225
20225
|
}
|
20226
20226
|
return t;
|
20227
20227
|
});
|
20228
|
-
|
20229
|
-
|
20228
|
+
wh = createSelector(go, (a2) => !!a2);
|
20229
|
+
Dh = createSelector(G, D, (a2, e) => {
|
20230
20230
|
for (let t in a2) {
|
20231
20231
|
let i = a2[t], { audio: r, video: s } = He(e, i);
|
20232
20232
|
if (!s && r)
|
20233
20233
|
return i;
|
20234
20234
|
}
|
20235
20235
|
});
|
20236
|
-
_h = createSelector(G,
|
20236
|
+
_h = createSelector(G, D, (a2, e) => {
|
20237
20237
|
let t = [], i = [];
|
20238
20238
|
for (let r in a2) {
|
20239
20239
|
let s = a2[r], { video: o, audio: n } = He(e, s);
|
@@ -20241,14 +20241,14 @@ var init_dist = __esm({
|
|
20241
20241
|
}
|
20242
20242
|
return t.concat(i);
|
20243
20243
|
});
|
20244
|
-
Nh = createSelector(G,
|
20244
|
+
Nh = createSelector(G, D, (a2, e) => {
|
20245
20245
|
for (let t in e) {
|
20246
20246
|
let i = e[t];
|
20247
20247
|
if (rt(i) && it(i) && i.peerId)
|
20248
20248
|
return a2[i.peerId];
|
20249
20249
|
}
|
20250
20250
|
});
|
20251
|
-
Oh = createSelector(G,
|
20251
|
+
Oh = createSelector(G, D, (a2, e) => {
|
20252
20252
|
for (let t in e) {
|
20253
20253
|
let i = e[t];
|
20254
20254
|
if ($t(i) && i.peerId)
|
@@ -20384,26 +20384,26 @@ var init_dist = __esm({
|
|
20384
20384
|
Mo = (a2, e) => e;
|
20385
20385
|
yo = (a2, e) => e;
|
20386
20386
|
W = createSelector([G, Cr], (a2, e) => e ? a2[e] : null);
|
20387
|
-
Lr = createSelector([
|
20388
|
-
ko = createSelector([
|
20387
|
+
Lr = createSelector([D, Tt], (a2, e) => e ? a2[e] : null);
|
20388
|
+
ko = createSelector([D, Tt], (a2, e) => {
|
20389
20389
|
if (!e)
|
20390
20390
|
return null;
|
20391
20391
|
let t = a2[e];
|
20392
20392
|
return (t == null ? void 0 : t.type) === "video" ? t : null;
|
20393
20393
|
});
|
20394
|
-
Eo = createSelector([
|
20394
|
+
Eo = createSelector([D, Tt], (a2, e) => {
|
20395
20395
|
if (!e)
|
20396
20396
|
return null;
|
20397
20397
|
let t = a2[e];
|
20398
20398
|
return (t == null ? void 0 : t.type) === "audio" ? t : null;
|
20399
20399
|
});
|
20400
|
-
Po = createSelector([
|
20400
|
+
Po = createSelector([D, Tt], (a2, e) => {
|
20401
20401
|
if (!e)
|
20402
20402
|
return null;
|
20403
20403
|
let t = a2[e];
|
20404
20404
|
return (t == null ? void 0 : t.type) === "audio" && (t == null ? void 0 : t.source) === "screen" ? t : null;
|
20405
20405
|
});
|
20406
|
-
Ao = createSelector([
|
20406
|
+
Ao = createSelector([D, Tt], (a2, e) => {
|
20407
20407
|
if (!e)
|
20408
20408
|
return null;
|
20409
20409
|
let t = a2[e];
|
@@ -20454,34 +20454,34 @@ var init_dist = __esm({
|
|
20454
20454
|
return i ? a2.tracks[i] : void 0;
|
20455
20455
|
}
|
20456
20456
|
});
|
20457
|
-
Rm = b(createSelector(
|
20457
|
+
Rm = b(createSelector(D, W, (a2, e) => {
|
20458
20458
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20459
20459
|
let r = a2[i];
|
20460
20460
|
return rt(r) && it(r);
|
20461
20461
|
});
|
20462
20462
|
return t ? a2[t] : void 0;
|
20463
20463
|
}));
|
20464
|
-
Hm = b(createSelector(
|
20464
|
+
Hm = b(createSelector(D, W, (a2, e) => {
|
20465
20465
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20466
20466
|
let r = a2[i];
|
20467
20467
|
return rt(r) && tt(r);
|
20468
20468
|
});
|
20469
20469
|
return t ? a2[t] : void 0;
|
20470
20470
|
}));
|
20471
|
-
Cm = b(createSelector(
|
20471
|
+
Cm = b(createSelector(D, W, (a2, e) => {
|
20472
20472
|
let t = e == null ? void 0 : e.auxiliaryTracks.find((i) => {
|
20473
20473
|
let r = a2[i];
|
20474
20474
|
return $t(r) && tt(r);
|
20475
20475
|
});
|
20476
20476
|
return t ? a2[t] : void 0;
|
20477
20477
|
}));
|
20478
|
-
sa = b(createSelector(
|
20478
|
+
sa = b(createSelector(D, W, (a2, e) => He(a2, e)));
|
20479
20479
|
aa = (a2) => createSelector(sa(a2), (e) => e.audio);
|
20480
|
-
|
20480
|
+
wm = b((a2, e) => {
|
20481
20481
|
let t = W(a2, e);
|
20482
20482
|
return Ue(a2, t == null ? void 0 : t.audioTrack);
|
20483
20483
|
});
|
20484
|
-
|
20484
|
+
Dm = b((a2, e) => {
|
20485
20485
|
let t = W(a2, e);
|
20486
20486
|
return Ue(a2, t == null ? void 0 : t.videoTrack);
|
20487
20487
|
});
|
@@ -20525,7 +20525,7 @@ var init_dist = __esm({
|
|
20525
20525
|
return t.layer;
|
20526
20526
|
}
|
20527
20527
|
});
|
20528
|
-
ca = createSelector([St,
|
20528
|
+
ca = createSelector([St, Te, Cr], (a2, e, t) => {
|
20529
20529
|
if (t)
|
20530
20530
|
return a2.filter((i) => {
|
20531
20531
|
var r;
|
@@ -20544,26 +20544,26 @@ var init_dist = __esm({
|
|
20544
20544
|
return !e.recipientPeer && !((t = e.recipientRoles) != null && t.length);
|
20545
20545
|
}));
|
20546
20546
|
Lo = createSelector([da, ta], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20547
|
-
|
20547
|
+
wo = createSelector([ca, Cr], (a2) => a2 ? a2.filter((e) => !e.read).length : 0);
|
20548
20548
|
Bm = createSelector(Co, (a2) => a2.filter((e) => !e.read).length);
|
20549
20549
|
Vm = b(ca);
|
20550
20550
|
Fm = b(da);
|
20551
20551
|
Gm = b(Lo);
|
20552
|
-
Wm = b(
|
20552
|
+
Wm = b(wo);
|
20553
20553
|
la = b(bo);
|
20554
|
-
eS = createSelector([G,
|
20554
|
+
eS = createSelector([G, D], (a2, e) => Object.values(a2).map((i) => {
|
20555
20555
|
var r;
|
20556
20556
|
return { peer: i, isAudioEnabled: i.audioTrack ? (r = e[i.audioTrack]) == null ? void 0 : r.enabled : false };
|
20557
20557
|
}));
|
20558
|
-
|
20559
|
-
tS = createSelector([
|
20558
|
+
Do = (a2) => a2.roleChangeRequests[0] || null;
|
20559
|
+
tS = createSelector([Do, G, ue], (a2, e, t) => a2 ? { requestedBy: a2.requestedBy ? e[a2.requestedBy] : void 0, role: t[a2.roleName], token: a2.token } : null);
|
20560
20560
|
iS = createSelector([oi], (a2) => st(a2));
|
20561
20561
|
rS = createSelector([Gs], (a2) => st(a2));
|
20562
|
-
No = createSelector([J,
|
20562
|
+
No = createSelector([J, D], (a2, e) => {
|
20563
20563
|
let t = null;
|
20564
20564
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
20565
20565
|
});
|
20566
|
-
Oo = createSelector([te,
|
20566
|
+
Oo = createSelector([te, D], (a2, e) => {
|
20567
20567
|
let t = null;
|
20568
20568
|
return a2 && (t = e[a2]), (t == null ? void 0 : t.plugins) || [];
|
20569
20569
|
});
|
@@ -20612,7 +20612,7 @@ var init_dist = __esm({
|
|
20612
20612
|
i > -1 && (t.splice(i, 1), this.failedEvents.set(t));
|
20613
20613
|
}
|
20614
20614
|
};
|
20615
|
-
|
20615
|
+
ve = new Or();
|
20616
20616
|
$ = ((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))($ || {});
|
20617
20617
|
Vi = ((n) => (n.Disconnected = "Disconnected", n.Connecting = "Connecting", n.Joined = "Joined", n.Preview = "Preview", n.Failed = "Failed", n.Reconnecting = "Reconnecting", n.Leaving = "Leaving", n))(Vi || {});
|
20618
20618
|
Qi = ((t) => (t[t.Publish = 0] = "Publish", t[t.Subscribe = 1] = "Subscribe", t))(Qi || {});
|
@@ -20624,36 +20624,36 @@ var init_dist = __esm({
|
|
20624
20624
|
nn = (a2) => a2.remoteTrackStats;
|
20625
20625
|
Ra = (a2) => a2.peerStats;
|
20626
20626
|
Fr = (a2) => a2.localTrackStats;
|
20627
|
-
|
20628
|
-
cn = createSelector(
|
20627
|
+
ye = createSelector([Ra, rn], (a2, e) => a2[e]);
|
20628
|
+
cn = createSelector(ye, (a2) => {
|
20629
20629
|
var e;
|
20630
20630
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.packetsLost;
|
20631
20631
|
});
|
20632
|
-
dn = createSelector(
|
20632
|
+
dn = createSelector(ye, (a2) => {
|
20633
20633
|
var e;
|
20634
20634
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.jitter;
|
20635
20635
|
});
|
20636
|
-
ln = createSelector(
|
20636
|
+
ln = createSelector(ye, (a2) => {
|
20637
20637
|
var e;
|
20638
20638
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bitrate;
|
20639
20639
|
});
|
20640
|
-
un = createSelector(
|
20640
|
+
un = createSelector(ye, (a2) => {
|
20641
20641
|
var e;
|
20642
20642
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bitrate;
|
20643
20643
|
});
|
20644
|
-
pn = createSelector(
|
20644
|
+
pn = createSelector(ye, (a2) => {
|
20645
20645
|
var e;
|
20646
20646
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.availableOutgoingBitrate;
|
20647
20647
|
});
|
20648
|
-
hn = createSelector(
|
20648
|
+
hn = createSelector(ye, (a2) => {
|
20649
20649
|
var e;
|
20650
20650
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.availableIncomingBitrate;
|
20651
20651
|
});
|
20652
|
-
mn = createSelector(
|
20652
|
+
mn = createSelector(ye, (a2) => {
|
20653
20653
|
var e;
|
20654
20654
|
return (e = a2 == null ? void 0 : a2.publish) == null ? void 0 : e.bytesSent;
|
20655
20655
|
});
|
20656
|
-
Sn = createSelector(
|
20656
|
+
Sn = createSelector(ye, (a2) => {
|
20657
20657
|
var e;
|
20658
20658
|
return (e = a2 == null ? void 0 : a2.subscribe) == null ? void 0 : e.bytesReceived;
|
20659
20659
|
});
|
@@ -21328,7 +21328,7 @@ var init_useUnreadPollQuizPresent = __esm({
|
|
21328
21328
|
init_dist();
|
21329
21329
|
import_react_sdk37 = require("@100mslive/react-sdk");
|
21330
21330
|
useUnreadPollQuizPresent = () => {
|
21331
|
-
const localPeerID = (0, import_react_sdk37.useHMSStore)(
|
21331
|
+
const localPeerID = (0, import_react_sdk37.useHMSStore)(Te);
|
21332
21332
|
const notification = (0, import_react_sdk37.useHMSNotifications)(import_react_sdk37.HMSNotificationTypes.POLL_STARTED);
|
21333
21333
|
const [unreadPollQuiz, setUnreadPollQuiz] = (0, import_react79.useState)(false);
|
21334
21334
|
(0, import_react79.useEffect)(() => {
|
@@ -25429,7 +25429,7 @@ var init_usePinnedMessages = __esm({
|
|
25429
25429
|
if (pinnedMessages[indexToRemove]) {
|
25430
25430
|
yield hmsActions.sessionStore.set(
|
25431
25431
|
"pinnedMessages" /* PINNED_MESSAGES */,
|
25432
|
-
pinnedMessages.filter((
|
25432
|
+
pinnedMessages.filter((_, index) => index !== indexToRemove)
|
25433
25433
|
).catch((err) => ToastManager.addToast({ title: err.description }));
|
25434
25434
|
}
|
25435
25435
|
}),
|
@@ -26926,7 +26926,7 @@ var init_StickIndicator = __esm({
|
|
26926
26926
|
if (total < 2) {
|
26927
26927
|
return null;
|
26928
26928
|
}
|
26929
|
-
return /* @__PURE__ */ import_react144.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((
|
26929
|
+
return /* @__PURE__ */ import_react144.default.createElement(Flex, { direction: "column", css: { gap: "$1" } }, [...Array(sticksCount)].map((_, i) => /* @__PURE__ */ import_react144.default.createElement(
|
26930
26930
|
Box,
|
26931
26931
|
{
|
26932
26932
|
css: {
|
@@ -28946,7 +28946,7 @@ var init_PreviewJoin = __esm({
|
|
28946
28946
|
speakerAutoSelectionBlacklist: ["Yeti Stereo Microphone"]
|
28947
28947
|
},
|
28948
28948
|
captureNetworkQualityInPreview: true,
|
28949
|
-
handleError: (
|
28949
|
+
handleError: (_, method) => {
|
28950
28950
|
if (method === "preview") {
|
28951
28951
|
setPreviewError(true);
|
28952
28952
|
}
|
@@ -29378,7 +29378,7 @@ var init_Pagination2 = __esm({
|
|
29378
29378
|
if (numPages <= 1) {
|
29379
29379
|
return null;
|
29380
29380
|
}
|
29381
|
-
return /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ import_react166.default.createElement(import_react_icons81.ChevronLeftIcon, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((
|
29381
|
+
return /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Root, { css: { flexShrink: 0 } }, /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Chevron, { disabled: disableLeft, onClick: prevPage }, /* @__PURE__ */ import_react166.default.createElement(import_react_icons81.ChevronLeftIcon, { width: 16, height: 16, style: { cursor: disableLeft ? "not-allowed" : "pointer" } })), numPages <= 5 ? /* @__PURE__ */ import_react166.default.createElement(StyledPagination.Dots, null, [...Array(numPages)].map((_, i) => /* @__PURE__ */ import_react166.default.createElement(
|
29382
29382
|
StyledPagination.Dot,
|
29383
29383
|
{
|
29384
29384
|
key: i,
|
@@ -29497,7 +29497,7 @@ var init_useTileLayout = __esm({
|
|
29497
29497
|
}
|
29498
29498
|
const maxRows = Math.ceil(noOfTilesInPage / maxCols);
|
29499
29499
|
let index = 0;
|
29500
|
-
const matrix = new Array(maxRows).fill(null).map((
|
29500
|
+
const matrix = new Array(maxRows).fill(null).map((_, i) => {
|
29501
29501
|
const numCols = Math.min(maxCols, noOfTilesInPage - i * maxCols);
|
29502
29502
|
const rowElements = [];
|
29503
29503
|
for (let j = 0; j < numCols; j++) {
|
@@ -29529,10 +29529,10 @@ var init_useTileLayout = __esm({
|
|
29529
29529
|
tileHeight = maxRowHeight;
|
29530
29530
|
const calcWidths = aspectRatios.map((aR) => tileHeight * aR);
|
29531
29531
|
tileWidth = 0;
|
29532
|
-
for (const
|
29533
|
-
if (
|
29534
|
-
if (tileWidth <
|
29535
|
-
tileWidth =
|
29532
|
+
for (const w of calcWidths) {
|
29533
|
+
if (w < width) {
|
29534
|
+
if (tileWidth < w) {
|
29535
|
+
tileWidth = w;
|
29536
29536
|
}
|
29537
29537
|
}
|
29538
29538
|
}
|
@@ -30352,7 +30352,7 @@ var init_PeersSorter = __esm({
|
|
30352
30352
|
this.speaker = void 0;
|
30353
30353
|
this.tilesPerPage = tilesPerPage;
|
30354
30354
|
const peerIds = new Set(peers.map((peer) => peer.id));
|
30355
|
-
this.peers.forEach((
|
30355
|
+
this.peers.forEach((_, key) => {
|
30356
30356
|
if (!peerIds.has(key)) {
|
30357
30357
|
this.peers.delete(key);
|
30358
30358
|
}
|
@@ -33886,7 +33886,7 @@ var init_ToastConfig = __esm({
|
|
33886
33886
|
init_roomLayoutProvider();
|
33887
33887
|
init_useSidepane();
|
33888
33888
|
init_constants();
|
33889
|
-
ChatAction = import_react216.default.forwardRef((
|
33889
|
+
ChatAction = import_react216.default.forwardRef((_, ref) => {
|
33890
33890
|
const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
|
33891
33891
|
const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
|
33892
33892
|
if (isChatOpen) {
|
@@ -34866,15 +34866,21 @@ var init_Sheet3 = __esm({
|
|
34866
34866
|
function FlyingEmoji() {
|
34867
34867
|
const localPeerId = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectLocalPeerID);
|
34868
34868
|
const vanillaStore = (0, import_react_sdk123.useHMSVanillaStore)();
|
34869
|
+
const hmsActions = (0, import_react_sdk123.useHMSActions)();
|
34869
34870
|
const [emojis, setEmojis] = (0, import_react231.useState)([]);
|
34870
34871
|
const isMobile = (0, import_react_use52.useMedia)(config.media.md);
|
34872
|
+
const isLargeRoom = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsLargeRoom);
|
34871
34873
|
const startingPoints = (0, import_react231.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
|
34872
34874
|
const showFlyingEmoji = (0, import_react231.useCallback)(
|
34873
|
-
({ emojiId, senderId })
|
34875
|
+
(_0) => __async(this, [_0], function* ({ emojiId, senderId }) {
|
34874
34876
|
if (!emojiId || !senderId || document.hidden) {
|
34875
34877
|
return;
|
34876
34878
|
}
|
34877
|
-
|
34879
|
+
let senderPeerName = vanillaStore.getState((0, import_react_sdk123.selectPeerNameByID)(senderId));
|
34880
|
+
if (!senderPeerName && isLargeRoom) {
|
34881
|
+
const sender = yield hmsActions.getPeer(senderId);
|
34882
|
+
senderPeerName = sender == null ? void 0 : sender.name;
|
34883
|
+
}
|
34878
34884
|
const nameToShow = localPeerId === senderId ? "You" : senderPeerName;
|
34879
34885
|
const startingPoint = startingPoints[emojiCount % startingPoints.length];
|
34880
34886
|
const id = emojiCount++;
|
@@ -34890,8 +34896,8 @@ function FlyingEmoji() {
|
|
34890
34896
|
}
|
34891
34897
|
];
|
34892
34898
|
});
|
34893
|
-
},
|
34894
|
-
[localPeerId,
|
34899
|
+
}),
|
34900
|
+
[vanillaStore, isLargeRoom, localPeerId, startingPoints, hmsActions]
|
34895
34901
|
);
|
34896
34902
|
(0, import_react_sdk123.useCustomEvent)({
|
34897
34903
|
type: EMOJI_REACTION_TYPE,
|
@@ -34933,7 +34939,7 @@ function FlyingEmoji() {
|
|
34933
34939
|
}
|
34934
34940
|
},
|
34935
34941
|
/* @__PURE__ */ import_react231.default.createElement(Box, null, /* @__PURE__ */ import_react231.default.createElement("em-emoji", { id: emoji.emojiId, size: "48px", set: "apple" })),
|
34936
|
-
/* @__PURE__ */ import_react231.default.createElement(
|
34942
|
+
emoji.senderName ? /* @__PURE__ */ import_react231.default.createElement(
|
34937
34943
|
Box,
|
34938
34944
|
{
|
34939
34945
|
css: {
|
@@ -34954,7 +34960,7 @@ function FlyingEmoji() {
|
|
34954
34960
|
},
|
34955
34961
|
emoji.senderName
|
34956
34962
|
)
|
34957
|
-
)
|
34963
|
+
) : ""
|
34958
34964
|
);
|
34959
34965
|
})
|
34960
34966
|
);
|