@100mslive/roomkit-react 0.3.3-alpha.0 → 0.3.3-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/dist/Accordion/Accordion.d.ts +1 -0
  2. package/dist/Accordion/index.d.ts +1 -0
  3. package/dist/{HLSView-NVF25XHT.js → HLSView-GDOF4655.js} +2 -2
  4. package/dist/Prebuilt/components/RaiseHand.d.ts +1 -1
  5. package/dist/Prebuilt/components/hooks/useMetadata.d.ts +8 -0
  6. package/dist/{chunk-2V7F62FX.js → chunk-ZDW56PPL.js} +29 -33
  7. package/dist/chunk-ZDW56PPL.js.map +7 -0
  8. package/dist/index.cjs.js +480 -481
  9. package/dist/index.cjs.js.map +4 -4
  10. package/dist/index.js +1 -1
  11. package/dist/meta.cjs.json +37 -42
  12. package/dist/meta.esbuild.json +43 -48
  13. package/package.json +7 -7
  14. package/src/Accordion/Accordion.tsx +4 -4
  15. package/src/Prebuilt/components/Chat/ChatBody.tsx +10 -0
  16. package/src/Prebuilt/components/Chat/ChatFooter.tsx +2 -4
  17. package/src/Prebuilt/components/ConferenceScreen.tsx +1 -4
  18. package/src/Prebuilt/components/Footer/Footer.tsx +1 -4
  19. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +1 -0
  20. package/src/Prebuilt/components/MoreSettings/SplitComponents/DesktopOptions.tsx +0 -1
  21. package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +1 -5
  22. package/src/Prebuilt/components/PreviousRoleInMetadata.tsx +0 -1
  23. package/src/Prebuilt/components/RaiseHand.tsx +7 -1
  24. package/src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx +0 -1
  25. package/src/Prebuilt/components/hooks/{useMetadata.jsx → useMetadata.tsx} +2 -8
  26. package/dist/chunk-2V7F62FX.js.map +0 -7
  27. /package/dist/{HLSView-NVF25XHT.js.map → HLSView-GDOF4655.js.map} +0 -0
package/dist/index.cjs.js CHANGED
@@ -108,7 +108,7 @@ var __async = (__this, __arguments, generator) => {
108
108
  var define_process_env_default;
109
109
  var init_define_process_env = __esm({
110
110
  "<define:process.env>"() {
111
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c141a2c0-32b5-4eb1-9121-895143e951e6", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.0", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c141a2c0-32b5-4eb1-9121-895143e951e6", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.3-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.7", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "601", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240310.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.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:20031", 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.3-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", GITHUB_RUN_ID: "8295361424", 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: "23e3bf90410ae16869b67438ac403cba6027db98", 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: "febdcd611bd2e7b71c95773975a838963da6d830e4eb4ca2aaad2680a9697a39", 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--1710501539063-0.8992863326107012:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710501538840-0.4644413486761725:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710501517171-0.06504511434237248:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710501516997-0.10551021203929101:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_66b9242f-a1e3-45f9-b76e-814147f38a5f", INVOCATION_ID: "62606dcd62ad4362bca459c2f50d146f", 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: "481", 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 55", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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.3-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.3-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: "23e3bf90410ae16869b67438ac403cba6027db98", 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_c141a2c0-32b5-4eb1-9121-895143e951e6", 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_c141a2c0-32b5-4eb1-9121-895143e951e6", 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.154/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_c141a2c0-32b5-4eb1-9121-895143e951e6" };
111
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.3-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.3-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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "590", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240310.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.1/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.0-alpha.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:19554", 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.3-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", GITHUB_RUN_ID: "8338903597", 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: "8e27b80c474e3487828a60fce4aa1f444aa14577", 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: "2b4eb6b136e5c67e12006fe982ceadc0ea33b23198cb8487892ca00ba4e2cd5c", 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--1710832096589-0.6370797788370992:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832096394-0.31759327289111483:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832073832-0.31470723189659267:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832073647-0.23318157752573399:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_bc8accc0-5dd2-44bf-aebb-4cc97b5738e1", INVOCATION_ID: "59e00abec76b4888b0bce75a92bf4b9a", 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: "482", 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 264", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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.3-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.3-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: "8e27b80c474e3487828a60fce4aa1f444aa14577", 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_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", 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_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", 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.154/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_b2dfce6c-1460-4d7f-9260-6a3b0805fa80" };
112
112
  }
113
113
  });
114
114
 
@@ -3331,8 +3331,8 @@ var init_Accordion = __esm({
3331
3331
  AccordionRoot = StyledAccordion;
3332
3332
  AccordionItem = StyledItem;
3333
3333
  AccordionHeader = import_react23.default.forwardRef((_a8, forwardedRef) => {
3334
- var _b7 = _a8, { children, iconStyles, css: css2 } = _b7, props = __objRest(_b7, ["children", "iconStyles", "css"]);
3335
- return /* @__PURE__ */ import_react23.default.createElement(StyledHeader, { css: css2 }, /* @__PURE__ */ import_react23.default.createElement(StyledTrigger3, __spreadProps(__spreadValues({}, props), { ref: forwardedRef }), children, /* @__PURE__ */ import_react23.default.createElement(StyledChevron, { "aria-hidden": true, css: iconStyles })));
3334
+ var _b7 = _a8, { children, iconStyles, css: css2, chevronID } = _b7, props = __objRest(_b7, ["children", "iconStyles", "css", "chevronID"]);
3335
+ return /* @__PURE__ */ import_react23.default.createElement(StyledHeader, { css: css2 }, /* @__PURE__ */ import_react23.default.createElement(StyledTrigger3, __spreadProps(__spreadValues({}, props), { ref: forwardedRef }), children, /* @__PURE__ */ import_react23.default.createElement(StyledChevron, { "data-testid": chevronID, "aria-hidden": true, css: iconStyles })));
3336
3336
  });
3337
3337
  AccordionContent = import_react23.default.forwardRef(
3338
3338
  (_a8, forwardedRef) => {
@@ -13728,10 +13728,10 @@ var init_MuteAllModal = __esm({
13728
13728
  }
13729
13729
  });
13730
13730
 
13731
- // src/Prebuilt/components/hooks/useMetadata.jsx
13731
+ // src/Prebuilt/components/hooks/useMetadata.tsx
13732
13732
  var import_react67, import_react_sdk27, useMyMetadata;
13733
13733
  var init_useMetadata = __esm({
13734
- "src/Prebuilt/components/hooks/useMetadata.jsx"() {
13734
+ "src/Prebuilt/components/hooks/useMetadata.tsx"() {
13735
13735
  "use strict";
13736
13736
  init_define_process_env();
13737
13737
  import_react67 = require("react");
@@ -13750,6 +13750,7 @@ var init_useMetadata = __esm({
13750
13750
  } catch (error) {
13751
13751
  console.error("failed to update metadata ", updatedFields);
13752
13752
  }
13753
+ return false;
13753
13754
  });
13754
13755
  const toggleHandRaise = (0, import_react67.useCallback)(() => __async(void 0, null, function* () {
13755
13756
  if (isHandRaised) {
@@ -13766,19 +13767,13 @@ var init_useMetadata = __esm({
13766
13767
  yield hmsActions.lowerLocalPeerHand();
13767
13768
  }
13768
13769
  }), [metaData == null ? void 0 : metaData.isBRBOn]);
13769
- const setPrevRole = (role) => __async(void 0, null, function* () {
13770
- yield update({
13771
- prevRole: role
13772
- });
13773
- });
13774
13770
  return {
13775
13771
  isHandRaised,
13776
13772
  isBRBOn: !!(metaData == null ? void 0 : metaData.isBRBOn),
13777
13773
  metaData,
13778
13774
  updateMetaData: update,
13779
13775
  toggleHandRaise,
13780
- toggleBRB,
13781
- setPrevRole
13776
+ toggleBRB
13782
13777
  };
13783
13778
  };
13784
13779
  }
@@ -19564,7 +19559,7 @@ var init_dist = __esm({
19564
19559
  };
19565
19560
  Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
19566
19561
  lr = Ia((ed, Ka) => {
19567
- Ka.exports = { version: "0.12.3-alpha.0", 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"] };
19562
+ Ka.exports = { version: "0.12.3-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"] };
19568
19563
  });
19569
19564
  Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
19570
19565
  Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
@@ -21341,8 +21336,6 @@ var init_MwebOptions = __esm({
21341
21336
  const peerCount = (0, import_react_sdk36.useHMSStore)(import_react_sdk36.selectPeerCount);
21342
21337
  const emojiCardRef = (0, import_react78.useRef)(null);
21343
21338
  const { isBRBOn, toggleBRB, isHandRaised, toggleHandRaise } = useMyMetadata();
21344
- const { toggleAudio, toggleVideo } = (0, import_react_sdk36.useAVToggle)();
21345
- const noAVPermissions = !(toggleAudio || toggleVideo);
21346
21339
  const { unreadPollQuiz, setUnreadPollQuiz } = useUnreadPollQuizPresent();
21347
21340
  const { title, description } = useRoomLayoutHeader();
21348
21341
  const toggleDetailsSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
@@ -21404,7 +21397,7 @@ var init_MwebOptions = __esm({
21404
21397
  /* @__PURE__ */ import_react78.default.createElement(import_react_icons31.PeopleIcon, null),
21405
21398
  /* @__PURE__ */ import_react78.default.createElement(ActionTile.Title, null, "Participants")
21406
21399
  ),
21407
- !noAVPermissions ? /* @__PURE__ */ import_react78.default.createElement(
21400
+ elements.hand_raise ? /* @__PURE__ */ import_react78.default.createElement(
21408
21401
  ActionTile.Root,
21409
21402
  {
21410
21403
  active: isHandRaised,
@@ -21597,9 +21590,14 @@ var init_RaiseHand = __esm({
21597
21590
  import_react_icons32 = require("@100mslive/react-icons");
21598
21591
  init_Tooltip2();
21599
21592
  init_IconButton3();
21593
+ init_useRoomLayoutScreen();
21600
21594
  init_useMetadata();
21601
21595
  RaiseHand = ({ css: css2 }) => {
21602
21596
  const { isHandRaised, toggleHandRaise } = useMyMetadata();
21597
+ const { elements } = useRoomLayoutConferencingScreen();
21598
+ if (!elements.hand_raise) {
21599
+ return null;
21600
+ }
21603
21601
  return /* @__PURE__ */ import_react80.default.createElement(Tooltip, { title: isHandRaised ? "Lower hand" : "Raise hand" }, /* @__PURE__ */ import_react80.default.createElement(
21604
21602
  IconButton_default,
21605
21603
  {
@@ -22703,6 +22701,7 @@ var init_RoleAccordion = __esm({
22703
22701
  return /* @__PURE__ */ import_react93.default.createElement(Accordion.Item, { value: roleName, css: { "&:hover .role_actions": { visibility: "visible" }, mb: "$8" }, ref }, /* @__PURE__ */ import_react93.default.createElement(
22704
22702
  Accordion.Header,
22705
22703
  {
22704
+ chevronID: `role_accordion_btn_${roleName}`,
22706
22705
  iconStyles: { c: "$on_surface_high" },
22707
22706
  css: {
22708
22707
  textTransform: "capitalize",
@@ -23237,7 +23236,7 @@ var init_WhiteboardToggle = __esm({
23237
23236
  });
23238
23237
 
23239
23238
  // src/Prebuilt/components/Footer/Footer.tsx
23240
- var import_react98, import_react_use15, import_chat, import_react_sdk49, Footer2;
23239
+ var import_react98, import_react_use15, import_chat, Footer2;
23241
23240
  var init_Footer3 = __esm({
23242
23241
  "src/Prebuilt/components/Footer/Footer.tsx"() {
23243
23242
  "use strict";
@@ -23245,7 +23244,6 @@ var init_Footer3 = __esm({
23245
23244
  import_react98 = __toESM(require("react"));
23246
23245
  import_react_use15 = require("react-use");
23247
23246
  import_chat = require("@100mslive/types-prebuilt/elements/chat");
23248
- import_react_sdk49 = require("@100mslive/react-sdk");
23249
23247
  init_src();
23250
23248
  init_AudioVideoToggle();
23251
23249
  init_EmojiReaction();
@@ -23269,8 +23267,6 @@ var init_Footer3 = __esm({
23269
23267
  const isMobile = (0, import_react_use15.useMedia)(config.media.md);
23270
23268
  const isOverlayChat = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.is_overlay);
23271
23269
  const openByDefault = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.initial_state) === import_chat.Chat_ChatState.CHAT_STATE_OPEN;
23272
- const { toggleAudio, toggleVideo } = (0, import_react_sdk49.useAVToggle)();
23273
- const noAVPermissions = !(toggleAudio || toggleVideo);
23274
23270
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
23275
23271
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
23276
23272
  const { showPolls } = useShowPolls();
@@ -23318,7 +23314,7 @@ var init_Footer3 = __esm({
23318
23314
  }
23319
23315
  }
23320
23316
  },
23321
- isMobile ? /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, noAVPermissions ? /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null) : null, (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(ScreenshareToggle, null), /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ import_react98.default.createElement(EmojiReaction, null), /* @__PURE__ */ import_react98.default.createElement(LeaveRoom, { screenType }))
23317
+ isMobile ? /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType })) : /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(ScreenshareToggle, null), /* @__PURE__ */ import_react98.default.createElement(RaiseHand, null), (elements == null ? void 0 : elements.emoji_reactions) && /* @__PURE__ */ import_react98.default.createElement(EmojiReaction, null), /* @__PURE__ */ import_react98.default.createElement(LeaveRoom, { screenType }))
23322
23318
  ),
23323
23319
  /* @__PURE__ */ import_react98.default.createElement(Footer.Right, null, /* @__PURE__ */ import_react98.default.createElement(WhiteboardToggle, null), showPolls && /* @__PURE__ */ import_react98.default.createElement(PollsToggle, null), !isMobile && (elements == null ? void 0 : elements.chat) && /* @__PURE__ */ import_react98.default.createElement(ChatToggle, null), (elements == null ? void 0 : elements.participant_list) && /* @__PURE__ */ import_react98.default.createElement(ParticipantCount, null), /* @__PURE__ */ import_react98.default.createElement(MoreSettings, { elements, screenType }))
23324
23320
  );
@@ -23328,10 +23324,10 @@ var init_Footer3 = __esm({
23328
23324
 
23329
23325
  // src/Prebuilt/components/Notifications/HLSFailureModal.tsx
23330
23326
  function HLSFailureModal() {
23331
- const hlsError = (0, import_react_sdk50.useHMSStore)(import_react_sdk50.selectHLSState).error || false;
23327
+ const hlsError = (0, import_react_sdk49.useHMSStore)(import_react_sdk49.selectHLSState).error || false;
23332
23328
  const [openModal, setOpenModal] = (0, import_react99.useState)(!!hlsError);
23333
- const hmsActions = (0, import_react_sdk50.useHMSActions)();
23334
- const { isRTMPRunning } = (0, import_react_sdk50.useRecordingStreaming)();
23329
+ const hmsActions = (0, import_react_sdk49.useHMSActions)();
23330
+ const { isRTMPRunning } = (0, import_react_sdk49.useRecordingStreaming)();
23335
23331
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
23336
23332
  const startHLS = (0, import_react99.useCallback)(() => __async(this, null, function* () {
23337
23333
  try {
@@ -23370,13 +23366,13 @@ function HLSFailureModal() {
23370
23366
  ), /* @__PURE__ */ import_react99.default.createElement(Text, { variant: "sm", css: { mb: "$10", color: "$on_surface_medium" } }, "Something went wrong and your live broadcast failed. Please try again."), /* @__PURE__ */ import_react99.default.createElement(Flex, { align: "center", justify: "between", css: { w: "100%", gap: "$8" } }, /* @__PURE__ */ import_react99.default.createElement(Button, { outlined: true, variant: "standard", css: { w: "100%" }, onClick: () => setOpenModal(false) }, "Dismiss"), /* @__PURE__ */ import_react99.default.createElement(Button, { css: { w: "100%" }, onClick: startHLS }, "Go Live"))))
23371
23367
  ) : null;
23372
23368
  }
23373
- var import_react99, import_react_sdk50;
23369
+ var import_react99, import_react_sdk49;
23374
23370
  var init_HLSFailureModal = __esm({
23375
23371
  "src/Prebuilt/components/Notifications/HLSFailureModal.tsx"() {
23376
23372
  "use strict";
23377
23373
  init_define_process_env();
23378
23374
  import_react99 = __toESM(require("react"));
23379
- import_react_sdk50 = require("@100mslive/react-sdk");
23375
+ import_react_sdk49 = require("@100mslive/react-sdk");
23380
23376
  init_Button2();
23381
23377
  init_Layout();
23382
23378
  init_Modal();
@@ -23387,13 +23383,13 @@ var init_HLSFailureModal = __esm({
23387
23383
  });
23388
23384
 
23389
23385
  // src/Prebuilt/components/Streaming/Common.jsx
23390
- var import_react100, import_react_sdk51, import_react_icons46, ContentHeader, Container3, ErrorText;
23386
+ var import_react100, import_react_sdk50, import_react_icons46, ContentHeader, Container3, ErrorText;
23391
23387
  var init_Common = __esm({
23392
23388
  "src/Prebuilt/components/Streaming/Common.jsx"() {
23393
23389
  "use strict";
23394
23390
  init_define_process_env();
23395
23391
  import_react100 = __toESM(require("react"));
23396
- import_react_sdk51 = require("@100mslive/react-sdk");
23392
+ import_react_sdk50 = require("@100mslive/react-sdk");
23397
23393
  import_react_icons46 = require("@100mslive/react-icons");
23398
23394
  init_src();
23399
23395
  ContentHeader = ({ onBack, onClose, title = "", content }) => {
@@ -23537,13 +23533,13 @@ function InteractionSelectionCard({
23537
23533
  /* @__PURE__ */ import_react102.default.createElement(Text, { variant: "sub1", css: { ml: "$md" } }, title)
23538
23534
  );
23539
23535
  }
23540
- var import_react102, import_react_sdk52, import_react_icons47, PollsQuizMenu, AddMenu, PrevMenu, InteractionCard;
23536
+ var import_react102, import_react_sdk51, import_react_icons47, PollsQuizMenu, AddMenu, PrevMenu, InteractionCard;
23541
23537
  var init_PollsQuizMenu = __esm({
23542
23538
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx"() {
23543
23539
  "use strict";
23544
23540
  init_define_process_env();
23545
23541
  import_react102 = __toESM(require("react"));
23546
- import_react_sdk52 = require("@100mslive/react-sdk");
23542
+ import_react_sdk51 = require("@100mslive/react-sdk");
23547
23543
  import_react_icons47 = require("@100mslive/react-icons");
23548
23544
  init_src();
23549
23545
  init_Common();
@@ -23554,13 +23550,13 @@ var init_PollsQuizMenu = __esm({
23554
23550
  init_constants();
23555
23551
  PollsQuizMenu = () => {
23556
23552
  const togglePollView = usePollViewToggle();
23557
- const permissions = (0, import_react_sdk52.useHMSStore)(import_react_sdk52.selectPermissions);
23553
+ const permissions = (0, import_react_sdk51.useHMSStore)(import_react_sdk51.selectPermissions);
23558
23554
  return /* @__PURE__ */ import_react102.default.createElement(Container3, { rounded: true }, /* @__PURE__ */ import_react102.default.createElement(ContentHeader, { content: "Polls and Quizzes", onClose: togglePollView }), /* @__PURE__ */ import_react102.default.createElement(Flex, { direction: "column", css: { px: "$10", pb: "$10", overflowY: "auto" } }, (permissions == null ? void 0 : permissions.pollWrite) && /* @__PURE__ */ import_react102.default.createElement(AddMenu, null), /* @__PURE__ */ import_react102.default.createElement(PrevMenu, null)));
23559
23555
  };
23560
23556
  AddMenu = () => {
23561
- const actions = (0, import_react_sdk52.useHMSActions)();
23557
+ const actions = (0, import_react_sdk51.useHMSActions)();
23562
23558
  const [title, setTitle] = (0, import_react102.useState)("");
23563
- const localPeerRoleName = (0, import_react_sdk52.useHMSStore)(import_react_sdk52.selectLocalPeerRoleName);
23559
+ const localPeerRoleName = (0, import_react_sdk51.useHMSStore)(import_react_sdk51.selectLocalPeerRoleName);
23564
23560
  const [hideVoteCount, setHideVoteCount] = (0, import_react102.useState)(false);
23565
23561
  const [error, setError] = (0, import_react102.useState)();
23566
23562
  const [titleError, setTitleError] = (0, import_react102.useState)("");
@@ -23641,8 +23637,8 @@ var init_PollsQuizMenu = __esm({
23641
23637
  ), /* @__PURE__ */ import_react102.default.createElement(ErrorText, { error: error || titleError })));
23642
23638
  };
23643
23639
  PrevMenu = () => {
23644
- const hmsActions = (0, import_react_sdk52.useHMSActions)();
23645
- const polls = (0, import_react_sdk52.useHMSStore)(import_react_sdk52.selectPolls);
23640
+ const hmsActions = (0, import_react_sdk51.useHMSActions)();
23641
+ const polls = (0, import_react_sdk51.useHMSStore)(import_react_sdk51.selectPolls);
23646
23642
  const sortedPolls = (0, import_react102.useMemo)(
23647
23643
  () => {
23648
23644
  var _a8;
@@ -23653,7 +23649,7 @@ var init_PollsQuizMenu = __esm({
23653
23649
  },
23654
23650
  [polls]
23655
23651
  );
23656
- const permissions = (0, import_react_sdk52.useHMSStore)(import_react_sdk52.selectPermissions);
23652
+ const permissions = (0, import_react_sdk51.useHMSStore)(import_react_sdk51.selectPermissions);
23657
23653
  (0, import_react102.useEffect)(() => {
23658
23654
  const updatePolls = () => __async(void 0, null, function* () {
23659
23655
  yield hmsActions.interactivityCenter.getPolls();
@@ -24295,11 +24291,11 @@ var init_SavedQuestion = __esm({
24295
24291
  // src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx
24296
24292
  function CreateQuestions() {
24297
24293
  var _a8, _b7, _c, _d;
24298
- const actions = (0, import_react_sdk53.useHMSActions)();
24299
- const { isHLSRunning } = (0, import_react_sdk53.useRecordingStreaming)();
24294
+ const actions = (0, import_react_sdk52.useHMSActions)();
24295
+ const { isHLSRunning } = (0, import_react_sdk52.useRecordingStreaming)();
24300
24296
  const togglePollView = usePollViewToggle();
24301
24297
  const { pollInView: id, setPollView } = usePollViewState();
24302
- const interaction = (0, import_react_sdk53.useHMSStore)((0, import_react_sdk53.selectPollByID)(id));
24298
+ const interaction = (0, import_react_sdk52.useHMSStore)((0, import_react_sdk52.selectPollByID)(id));
24303
24299
  const [questions, setQuestions] = (0, import_react112.useState)(
24304
24300
  ((_a8 = interaction.questions) == null ? void 0 : _a8.length) ? getEditableFormat(interaction.questions) : [{ draftID: (0, import_uuid11.v4)() }]
24305
24301
  );
@@ -24379,14 +24375,14 @@ function CreateQuestions() {
24379
24375
  return launchPoll();
24380
24376
  }) }, "Launch ", interaction == null ? void 0 : interaction.type))));
24381
24377
  }
24382
- var import_react112, import_uuid11, import_react_sdk53, import_react_icons54, getEditableFormat, QuestionCard;
24378
+ var import_react112, import_uuid11, import_react_sdk52, import_react_icons54, getEditableFormat, QuestionCard;
24383
24379
  var init_CreateQuestions = __esm({
24384
24380
  "src/Prebuilt/components/Polls/CreateQuestions/CreateQuestions.jsx"() {
24385
24381
  "use strict";
24386
24382
  init_define_process_env();
24387
24383
  import_react112 = __toESM(require("react"));
24388
24384
  import_uuid11 = require("uuid");
24389
- import_react_sdk53 = require("@100mslive/react-sdk");
24385
+ import_react_sdk52 = require("@100mslive/react-sdk");
24390
24386
  import_react_icons54 = require("@100mslive/react-icons");
24391
24387
  init_src();
24392
24388
  init_Common();
@@ -24514,16 +24510,16 @@ var init_StatisticBox = __esm({
24514
24510
  });
24515
24511
 
24516
24512
  // src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx
24517
- var import_react115, import_react_sdk54, useQuizSummary;
24513
+ var import_react115, import_react_sdk53, useQuizSummary;
24518
24514
  var init_useQuizSummary = __esm({
24519
24515
  "src/Prebuilt/components/Polls/Voting/useQuizSummary.tsx"() {
24520
24516
  "use strict";
24521
24517
  init_define_process_env();
24522
24518
  import_react115 = require("react");
24523
- import_react_sdk54 = require("@100mslive/react-sdk");
24519
+ import_react_sdk53 = require("@100mslive/react-sdk");
24524
24520
  useQuizSummary = (quizID) => {
24525
- const hmsActions = (0, import_react_sdk54.useHMSActions)();
24526
- const quiz = (0, import_react_sdk54.useHMSStore)((0, import_react_sdk54.selectPollByID)(quizID));
24521
+ const hmsActions = (0, import_react_sdk53.useHMSActions)();
24522
+ const quiz = (0, import_react_sdk53.useHMSStore)((0, import_react_sdk53.selectPollByID)(quizID));
24527
24523
  const [quizLeaderboard, setQuizLeaderboard] = (0, import_react115.useState)();
24528
24524
  const summary = (quizLeaderboard == null ? void 0 : quizLeaderboard.summary) || {
24529
24525
  totalUsers: 0,
@@ -24561,20 +24557,20 @@ var init_useQuizSummary = __esm({
24561
24557
  });
24562
24558
 
24563
24559
  // src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx
24564
- var import_react116, import_react_sdk55, PeerParticipationSummary;
24560
+ var import_react116, import_react_sdk54, PeerParticipationSummary;
24565
24561
  var init_PeerParticipationSummary = __esm({
24566
24562
  "src/Prebuilt/components/Polls/Voting/PeerParticipationSummary.tsx"() {
24567
24563
  "use strict";
24568
24564
  init_define_process_env();
24569
24565
  import_react116 = __toESM(require("react"));
24570
- import_react_sdk55 = require("@100mslive/react-sdk");
24566
+ import_react_sdk54 = require("@100mslive/react-sdk");
24571
24567
  init_Layout();
24572
24568
  init_Text2();
24573
24569
  init_StatisticBox();
24574
24570
  init_useQuizSummary();
24575
24571
  init_utils4();
24576
24572
  PeerParticipationSummary = ({ quiz }) => {
24577
- const localPeerId = (0, import_react_sdk55.useHMSStore)(import_react_sdk55.selectLocalPeerID);
24573
+ const localPeerId = (0, import_react_sdk54.useHMSStore)(import_react_sdk54.selectLocalPeerID);
24578
24574
  const { quizLeaderboard, summary } = useQuizSummary(quiz.id);
24579
24575
  if (quiz.state !== "stopped") {
24580
24576
  return /* @__PURE__ */ import_react116.default.createElement(import_react116.default.Fragment, null);
@@ -24615,13 +24611,13 @@ var init_PeerParticipationSummary = __esm({
24615
24611
  });
24616
24612
 
24617
24613
  // src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx
24618
- var import_react117, import_react_sdk56, import_react_icons56, LeaderboardSummary;
24614
+ var import_react117, import_react_sdk55, import_react_icons56, LeaderboardSummary;
24619
24615
  var init_LeaderboardSummary = __esm({
24620
24616
  "src/Prebuilt/components/Polls/Voting/LeaderboardSummary.tsx"() {
24621
24617
  "use strict";
24622
24618
  init_define_process_env();
24623
24619
  import_react117 = __toESM(require("react"));
24624
- import_react_sdk56 = require("@100mslive/react-sdk");
24620
+ import_react_sdk55 = require("@100mslive/react-sdk");
24625
24621
  import_react_icons56 = require("@100mslive/react-icons");
24626
24622
  init_Layout();
24627
24623
  init_Loading2();
@@ -24635,7 +24631,7 @@ var init_LeaderboardSummary = __esm({
24635
24631
  init_constants();
24636
24632
  LeaderboardSummary = ({ pollID }) => {
24637
24633
  var _a8, _b7;
24638
- const quiz = (0, import_react_sdk56.useHMSStore)((0, import_react_sdk56.selectPollByID)(pollID));
24634
+ const quiz = (0, import_react_sdk55.useHMSStore)((0, import_react_sdk55.selectPollByID)(pollID));
24639
24635
  const { quizLeaderboard, maxPossibleScore } = useQuizSummary(pollID);
24640
24636
  const [viewAllEntries, setViewAllEntries] = (0, import_react117.useState)(false);
24641
24637
  const { setPollView } = usePollViewState();
@@ -24708,14 +24704,14 @@ var init_LeaderboardSummary = __esm({
24708
24704
  });
24709
24705
 
24710
24706
  // src/Prebuilt/components/Polls/Voting/QuestionCard.jsx
24711
- var import_react118, import_ts_pattern7, import_react_sdk57, import_react_icons57, QuestionCard2, QuestionActions;
24707
+ var import_react118, import_ts_pattern7, import_react_sdk56, import_react_icons57, QuestionCard2, QuestionActions;
24712
24708
  var init_QuestionCard = __esm({
24713
24709
  "src/Prebuilt/components/Polls/Voting/QuestionCard.jsx"() {
24714
24710
  "use strict";
24715
24711
  init_define_process_env();
24716
24712
  import_react118 = __toESM(require("react"));
24717
24713
  import_ts_pattern7 = require("ts-pattern");
24718
- import_react_sdk57 = require("@100mslive/react-sdk");
24714
+ import_react_sdk56 = require("@100mslive/react-sdk");
24719
24715
  import_react_icons57 = require("@100mslive/react-icons");
24720
24716
  init_src();
24721
24717
  init_utils2();
@@ -24737,8 +24733,8 @@ var init_QuestionCard = __esm({
24737
24733
  responses = [],
24738
24734
  rolesThatCanViewResponses
24739
24735
  }) => {
24740
- const actions = (0, import_react_sdk57.useHMSActions)();
24741
- const localPeer = (0, import_react_sdk57.useHMSStore)(import_react_sdk57.selectLocalPeer);
24736
+ const actions = (0, import_react_sdk56.useHMSActions)();
24737
+ const localPeer = (0, import_react_sdk56.useHMSStore)(import_react_sdk56.selectLocalPeer);
24742
24738
  const localPeerResponse = responses == null ? void 0 : responses.find(
24743
24739
  (response) => {
24744
24740
  var _a8, _b7;
@@ -24746,7 +24742,7 @@ var init_QuestionCard = __esm({
24746
24742
  }
24747
24743
  );
24748
24744
  const isLocalPeerCreator = (localPeer == null ? void 0 : localPeer.id) === startedBy;
24749
- const localPeerRoleName = (0, import_react_sdk57.useHMSStore)(import_react_sdk57.selectLocalPeerRoleName);
24745
+ const localPeerRoleName = (0, import_react_sdk56.useHMSStore)(import_react_sdk56.selectLocalPeerRoleName);
24750
24746
  const roleCanViewResponse = !rolesThatCanViewResponses || rolesThatCanViewResponses.length === 0 || rolesThatCanViewResponses.includes(localPeerRoleName || "");
24751
24747
  const showVoteCount = roleCanViewResponse && (localPeerResponse || isLocalPeerCreator && pollState === "stopped") && !isQuiz;
24752
24748
  const isLive = pollState === "started";
@@ -24946,18 +24942,18 @@ var init_StandardVoting = __esm({
24946
24942
  });
24947
24943
 
24948
24944
  // src/Prebuilt/components/Polls/Voting/TimedVoting.tsx
24949
- var import_react120, import_react_sdk58, TimedView;
24945
+ var import_react120, import_react_sdk57, TimedView;
24950
24946
  var init_TimedVoting = __esm({
24951
24947
  "src/Prebuilt/components/Polls/Voting/TimedVoting.tsx"() {
24952
24948
  "use strict";
24953
24949
  init_define_process_env();
24954
24950
  import_react120 = __toESM(require("react"));
24955
- import_react_sdk58 = require("@100mslive/react-sdk");
24951
+ import_react_sdk57 = require("@100mslive/react-sdk");
24956
24952
  init_QuestionCard();
24957
24953
  init_utils2();
24958
24954
  TimedView = ({ poll }) => {
24959
24955
  var _a8, _b7, _c;
24960
- const localPeerId = (0, import_react_sdk58.useHMSStore)(import_react_sdk58.selectLocalPeerID);
24956
+ const localPeerId = (0, import_react_sdk57.useHMSStore)(import_react_sdk57.selectLocalPeerID);
24961
24957
  const lastAttemptedIndex = getLastAttemptedIndex(poll.questions, localPeerId, "");
24962
24958
  const [currentIndex, setCurrentIndex] = (0, import_react120.useState)(lastAttemptedIndex);
24963
24959
  const activeQuestion = (_a8 = poll.questions) == null ? void 0 : _a8.find((question) => question.index === currentIndex);
@@ -24993,13 +24989,13 @@ var init_TimedVoting = __esm({
24993
24989
  });
24994
24990
 
24995
24991
  // src/Prebuilt/components/Polls/Voting/Voting.tsx
24996
- var import_react121, import_react_sdk59, import_react_icons58, Voting;
24992
+ var import_react121, import_react_sdk58, import_react_icons58, Voting;
24997
24993
  var init_Voting = __esm({
24998
24994
  "src/Prebuilt/components/Polls/Voting/Voting.tsx"() {
24999
24995
  "use strict";
25000
24996
  init_define_process_env();
25001
24997
  import_react121 = __toESM(require("react"));
25002
- import_react_sdk59 = require("@100mslive/react-sdk");
24998
+ import_react_sdk58 = require("@100mslive/react-sdk");
25003
24999
  import_react_icons58 = require("@100mslive/react-icons");
25004
25000
  init_src();
25005
25001
  init_Common();
@@ -25009,10 +25005,10 @@ var init_Voting = __esm({
25009
25005
  init_StatusIndicator();
25010
25006
  init_constants();
25011
25007
  Voting = ({ id, toggleVoting }) => {
25012
- const actions = (0, import_react_sdk59.useHMSActions)();
25013
- const poll = (0, import_react_sdk59.useHMSStore)((0, import_react_sdk59.selectPollByID)(id));
25014
- const pollCreatorName = (0, import_react_sdk59.useHMSStore)((0, import_react_sdk59.selectPeerNameByID)(poll == null ? void 0 : poll.createdBy));
25015
- const permissions = (0, import_react_sdk59.useHMSStore)(import_react_sdk59.selectPermissions);
25008
+ const actions = (0, import_react_sdk58.useHMSActions)();
25009
+ const poll = (0, import_react_sdk58.useHMSStore)((0, import_react_sdk58.selectPollByID)(id));
25010
+ const pollCreatorName = (0, import_react_sdk58.useHMSStore)((0, import_react_sdk58.selectPeerNameByID)(poll == null ? void 0 : poll.createdBy));
25011
+ const permissions = (0, import_react_sdk58.useHMSStore)(import_react_sdk58.selectPermissions);
25016
25012
  const canEndActivity = !!(permissions == null ? void 0 : permissions.pollWrite);
25017
25013
  const { setPollView } = usePollViewState();
25018
25014
  const showSingleView = (poll == null ? void 0 : poll.type) === "quiz" && poll.state === "started";
@@ -25110,18 +25106,18 @@ var init_Polls = __esm({
25110
25106
  });
25111
25107
 
25112
25108
  // src/Prebuilt/components/Header/HeaderComponents.jsx
25113
- var import_react123, import_react_sdk60, import_react_icons59, SpeakerTag, LogoImg, Logo;
25109
+ var import_react123, import_react_sdk59, import_react_icons59, SpeakerTag, LogoImg, Logo;
25114
25110
  var init_HeaderComponents = __esm({
25115
25111
  "src/Prebuilt/components/Header/HeaderComponents.jsx"() {
25116
25112
  "use strict";
25117
25113
  init_define_process_env();
25118
25114
  import_react123 = __toESM(require("react"));
25119
- import_react_sdk60 = require("@100mslive/react-sdk");
25115
+ import_react_sdk59 = require("@100mslive/react-sdk");
25120
25116
  import_react_icons59 = require("@100mslive/react-icons");
25121
25117
  init_src();
25122
25118
  init_roomLayoutProvider();
25123
25119
  SpeakerTag = () => {
25124
- const dominantSpeaker = (0, import_react_sdk60.useHMSStore)(import_react_sdk60.selectDominantSpeaker);
25120
+ const dominantSpeaker = (0, import_react_sdk59.useHMSStore)(import_react_sdk59.selectDominantSpeaker);
25125
25121
  return dominantSpeaker && dominantSpeaker.name && /* @__PURE__ */ import_react123.default.createElement(
25126
25122
  Flex,
25127
25123
  {
@@ -25270,17 +25266,17 @@ var init_MwebChatOption = __esm({
25270
25266
  });
25271
25267
 
25272
25268
  // src/Prebuilt/components/hooks/useChatBlacklist.ts
25273
- var import_react128, import_react_sdk61, useChatBlacklist, useIsPeerBlacklisted;
25269
+ var import_react128, import_react_sdk60, useChatBlacklist, useIsPeerBlacklisted;
25274
25270
  var init_useChatBlacklist = __esm({
25275
25271
  "src/Prebuilt/components/hooks/useChatBlacklist.ts"() {
25276
25272
  "use strict";
25277
25273
  init_define_process_env();
25278
25274
  import_react128 = require("react");
25279
- import_react_sdk61 = require("@100mslive/react-sdk");
25275
+ import_react_sdk60 = require("@100mslive/react-sdk");
25280
25276
  init_ToastManager();
25281
25277
  useChatBlacklist = (sessionStoreKey) => {
25282
- const hmsActions = (0, import_react_sdk61.useHMSActions)();
25283
- const blacklistedIDs = (0, import_react_sdk61.useHMSStore)((0, import_react_sdk61.selectSessionStore)(sessionStoreKey));
25278
+ const hmsActions = (0, import_react_sdk60.useHMSActions)();
25279
+ const blacklistedIDs = (0, import_react_sdk60.useHMSStore)((0, import_react_sdk60.selectSessionStore)(sessionStoreKey));
25284
25280
  const blacklistItem = (0, import_react128.useCallback)(
25285
25281
  (blacklistID) => __async(void 0, null, function* () {
25286
25282
  yield hmsActions.sessionStore.set(sessionStoreKey, [...blacklistedIDs || [], blacklistID]).catch((err) => ToastManager.addToast({ title: err.description }));
@@ -25290,35 +25286,35 @@ var init_useChatBlacklist = __esm({
25290
25286
  return { blacklistItem, blacklistedIDs };
25291
25287
  };
25292
25288
  useIsPeerBlacklisted = ({ local = false, peerCustomerUserId = "" }) => {
25293
- const localPeer = (0, import_react_sdk61.useHMSStore)(import_react_sdk61.selectLocalPeer);
25294
- const blacklistedPeerIDs = (0, import_react_sdk61.useHMSStore)((0, import_react_sdk61.selectSessionStore)("chatPeerBlacklist" /* CHAT_PEER_BLACKLIST */)) || [];
25289
+ const localPeer = (0, import_react_sdk60.useHMSStore)(import_react_sdk60.selectLocalPeer);
25290
+ const blacklistedPeerIDs = (0, import_react_sdk60.useHMSStore)((0, import_react_sdk60.selectSessionStore)("chatPeerBlacklist" /* CHAT_PEER_BLACKLIST */)) || [];
25295
25291
  return blacklistedPeerIDs == null ? void 0 : blacklistedPeerIDs.includes(local ? localPeer == null ? void 0 : localPeer.customerUserId : peerCustomerUserId);
25296
25292
  };
25297
25293
  }
25298
25294
  });
25299
25295
 
25300
25296
  // src/Prebuilt/components/hooks/usePinnedMessages.ts
25301
- var import_react129, import_react_sdk62, usePinnedMessages;
25297
+ var import_react129, import_react_sdk61, usePinnedMessages;
25302
25298
  var init_usePinnedMessages = __esm({
25303
25299
  "src/Prebuilt/components/hooks/usePinnedMessages.ts"() {
25304
25300
  "use strict";
25305
25301
  init_define_process_env();
25306
25302
  import_react129 = require("react");
25307
- import_react_sdk62 = require("@100mslive/react-sdk");
25303
+ import_react_sdk61 = require("@100mslive/react-sdk");
25308
25304
  init_ToastManager();
25309
25305
  usePinnedMessages = () => {
25310
- const hmsActions = (0, import_react_sdk62.useHMSActions)();
25311
- const vanillaStore = (0, import_react_sdk62.useHMSVanillaStore)();
25306
+ const hmsActions = (0, import_react_sdk61.useHMSActions)();
25307
+ const vanillaStore = (0, import_react_sdk61.useHMSVanillaStore)();
25312
25308
  const setPinnedMessages = (0, import_react129.useCallback)(
25313
25309
  (message, pinnedBy) => __async(void 0, null, function* () {
25314
- const peerName = vanillaStore.getState((0, import_react_sdk62.selectPeerNameByID)(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
25310
+ const peerName = vanillaStore.getState((0, import_react_sdk61.selectPeerNameByID)(message == null ? void 0 : message.sender)) || (message == null ? void 0 : message.senderName);
25315
25311
  const newPinnedMessage = { text: "", id: message.id, pinnedBy };
25316
25312
  if (message && peerName) {
25317
25313
  newPinnedMessage["text"] = `${peerName}: ${message.message}`;
25318
25314
  } else if (message) {
25319
25315
  newPinnedMessage["text"] = message.message;
25320
25316
  }
25321
- const pinnedMessages = vanillaStore.getState((0, import_react_sdk62.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25317
+ const pinnedMessages = vanillaStore.getState((0, import_react_sdk61.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25322
25318
  if (!(pinnedMessages == null ? void 0 : pinnedMessages.find((pinnedMessage) => pinnedMessage.id === newPinnedMessage.id))) {
25323
25319
  yield hmsActions.sessionStore.set("pinnedMessages" /* PINNED_MESSAGES */, [...pinnedMessages, newPinnedMessage].slice(-3)).catch((err) => ToastManager.addToast({ title: err.description }));
25324
25320
  }
@@ -25327,7 +25323,7 @@ var init_usePinnedMessages = __esm({
25327
25323
  );
25328
25324
  const removePinnedMessage = (0, import_react129.useCallback)(
25329
25325
  (indexToRemove) => __async(void 0, null, function* () {
25330
- const pinnedMessages = vanillaStore.getState((0, import_react_sdk62.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25326
+ const pinnedMessages = vanillaStore.getState((0, import_react_sdk61.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25331
25327
  if (pinnedMessages[indexToRemove]) {
25332
25328
  yield hmsActions.sessionStore.set(
25333
25329
  "pinnedMessages" /* PINNED_MESSAGES */,
@@ -25339,7 +25335,7 @@ var init_usePinnedMessages = __esm({
25339
25335
  );
25340
25336
  const unpinBlacklistedMessages = (0, import_react129.useCallback)(
25341
25337
  (blacklistedMessageIDSet) => __async(void 0, null, function* () {
25342
- const pinnedMessages = vanillaStore.getState((0, import_react_sdk62.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25338
+ const pinnedMessages = vanillaStore.getState((0, import_react_sdk61.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */)) || [];
25343
25339
  const filteredPinnedMessages = pinnedMessages == null ? void 0 : pinnedMessages.filter(
25344
25340
  (pinnedMessage) => !(blacklistedMessageIDSet == null ? void 0 : blacklistedMessageIDSet.has(pinnedMessage.id))
25345
25341
  );
@@ -25353,13 +25349,13 @@ var init_usePinnedMessages = __esm({
25353
25349
  });
25354
25350
 
25355
25351
  // src/Prebuilt/components/Chat/ChatActions.tsx
25356
- var import_react130, import_react_sdk63, import_react_icons61, iconStyle, tooltipBoxCSS, ChatActions;
25352
+ var import_react130, import_react_sdk62, import_react_icons61, iconStyle, tooltipBoxCSS, ChatActions;
25357
25353
  var init_ChatActions = __esm({
25358
25354
  "src/Prebuilt/components/Chat/ChatActions.tsx"() {
25359
25355
  "use strict";
25360
25356
  init_define_process_env();
25361
25357
  import_react130 = __toESM(require("react"));
25362
- import_react_sdk63 = require("@100mslive/react-sdk");
25358
+ import_react_sdk62 = require("@100mslive/react-sdk");
25363
25359
  import_react_icons61 = require("@100mslive/react-icons");
25364
25360
  init_Dropdown2();
25365
25361
  init_IconButton2();
@@ -25396,10 +25392,10 @@ var init_ChatActions = __esm({
25396
25392
  const { can_hide_message = false, can_block_user = false } = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.real_time_controls) || {};
25397
25393
  const { roles_whitelist = [] } = (elements == null ? void 0 : elements.chat) || {};
25398
25394
  const [open, setOpen] = (0, import_react130.useState)(false);
25399
- const actions = (0, import_react_sdk63.useHMSActions)();
25400
- const canRemoveOthers = (_b7 = (0, import_react_sdk63.useHMSStore)(import_react_sdk63.selectPermissions)) == null ? void 0 : _b7.removeOthers;
25395
+ const actions = (0, import_react_sdk62.useHMSActions)();
25396
+ const canRemoveOthers = (_b7 = (0, import_react_sdk62.useHMSStore)(import_react_sdk62.selectPermissions)) == null ? void 0 : _b7.removeOthers;
25401
25397
  const { blacklistItem: blacklistPeer } = useChatBlacklist("chatPeerBlacklist" /* CHAT_PEER_BLACKLIST */);
25402
- const localPeerName = (0, import_react_sdk63.useHMSStore)(import_react_sdk63.selectLocalPeerName);
25398
+ const localPeerName = (0, import_react_sdk62.useHMSStore)(import_react_sdk62.selectLocalPeerName);
25403
25399
  const { setPinnedMessages, unpinBlacklistedMessages } = usePinnedMessages();
25404
25400
  const { blacklistItem: blacklistMessage, blacklistedIDs: blacklistedMessageIDs } = useChatBlacklist(
25405
25401
  "chatMessageBlacklist" /* CHAT_MESSAGE_BLACKLIST */
@@ -25638,15 +25634,15 @@ var init_EmptyChat = __esm({
25638
25634
  });
25639
25635
 
25640
25636
  // src/Prebuilt/components/hooks/usePinnedBy.tsx
25641
- var import_react132, import_react_sdk64, usePinnedBy;
25637
+ var import_react132, import_react_sdk63, usePinnedBy;
25642
25638
  var init_usePinnedBy = __esm({
25643
25639
  "src/Prebuilt/components/hooks/usePinnedBy.tsx"() {
25644
25640
  "use strict";
25645
25641
  init_define_process_env();
25646
25642
  import_react132 = require("react");
25647
- import_react_sdk64 = require("@100mslive/react-sdk");
25643
+ import_react_sdk63 = require("@100mslive/react-sdk");
25648
25644
  usePinnedBy = (messageId) => {
25649
- const pinnedMessages = (0, import_react_sdk64.useHMSStore)((0, import_react_sdk64.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
25645
+ const pinnedMessages = (0, import_react_sdk63.useHMSStore)((0, import_react_sdk63.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
25650
25646
  const [pinnedBy, setPinnedBy] = (0, import_react132.useState)("");
25651
25647
  (0, import_react132.useEffect)(() => {
25652
25648
  let match14 = "";
@@ -25667,7 +25663,7 @@ function getRowHeight(index) {
25667
25663
  var _a8;
25668
25664
  return ((_a8 = rowHeights[index]) == null ? void 0 : _a8.size) || 72;
25669
25665
  }
25670
- var import_react133, import_react_use17, import_react_virtualized_auto_sizer, import_react_window2, import_react_sdk65, import_react_icons62, formatTime2, rowHeights, listInstance, setRowHeight, getMessageBackgroundColor, MessageTypeContainer, MessageType, URL_REGEX, Link2, AnnotisedMessage, getMessageType, SenderName, ChatMessage, MessageWrapper, VirtualizedChatMessages, ChatBody, PinnedBy;
25666
+ var import_react133, import_react_use17, import_react_virtualized_auto_sizer, import_react_window2, import_react_sdk64, import_react_icons62, formatTime2, rowHeights, listInstance, setRowHeight, getMessageBackgroundColor, MessageTypeContainer, MessageType, URL_REGEX, Link2, AnnotisedMessage, getMessageType, SenderName, ChatMessage, MessageWrapper, VirtualizedChatMessages, ChatBody, PinnedBy;
25671
25667
  var init_ChatBody = __esm({
25672
25668
  "src/Prebuilt/components/Chat/ChatBody.tsx"() {
25673
25669
  "use strict";
@@ -25676,7 +25672,7 @@ var init_ChatBody = __esm({
25676
25672
  import_react_use17 = require("react-use");
25677
25673
  import_react_virtualized_auto_sizer = __toESM(require("react-virtualized-auto-sizer"));
25678
25674
  import_react_window2 = require("react-window");
25679
- import_react_sdk65 = require("@100mslive/react-sdk");
25675
+ import_react_sdk64 = require("@100mslive/react-sdk");
25680
25676
  import_react_icons62 = require("@100mslive/react-icons");
25681
25677
  init_Layout();
25682
25678
  init_Text2();
@@ -25752,8 +25748,8 @@ var init_ChatBody = __esm({
25752
25748
  hasCurrentUserSent,
25753
25749
  receiver
25754
25750
  }) => {
25755
- const peerName = (0, import_react_sdk65.useHMSStore)((0, import_react_sdk65.selectPeerNameByID)(receiver));
25756
- const localPeerRoleName = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectLocalPeerRoleName);
25751
+ const peerName = (0, import_react_sdk64.useHMSStore)((0, import_react_sdk64.selectPeerNameByID)(receiver));
25752
+ const localPeerRoleName = (0, import_react_sdk64.useHMSStore)(import_react_sdk64.selectLocalPeerRoleName);
25757
25753
  if (receiver) {
25758
25754
  return /* @__PURE__ */ import_react133.default.createElement(MessageTypeContainer, { left: hasCurrentUserSent ? `${peerName ? `to ${peerName}` : ""}` : "to You", right: "(DM)" });
25759
25755
  }
@@ -25801,7 +25797,7 @@ var init_ChatBody = __esm({
25801
25797
  const isMobile = (0, import_react_use17.useMedia)(config.media.md);
25802
25798
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
25803
25799
  const isOverlay = ((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay) && isMobile;
25804
- const localPeerId = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectLocalPeerID);
25800
+ const localPeerId = (0, import_react_sdk64.useHMSStore)(import_react_sdk64.selectLocalPeerID);
25805
25801
  const [selectedRole, setRoleSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.ROLE);
25806
25802
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
25807
25803
  const messageType = getMessageType({
@@ -25965,7 +25961,7 @@ var init_ChatBody = __esm({
25965
25961
  }
25966
25962
  );
25967
25963
  VirtualizedChatMessages = import_react133.default.forwardRef(({ messages, scrollToBottom }, listRef) => {
25968
- const hmsActions = (0, import_react_sdk65.useHMSActions)();
25964
+ const hmsActions = (0, import_react_sdk64.useHMSActions)();
25969
25965
  const itemKey2 = (0, import_react133.useCallback)((index, data3) => {
25970
25966
  return data3[index].id;
25971
25967
  }, []);
@@ -26020,13 +26016,14 @@ var init_ChatBody = __esm({
26020
26016
  });
26021
26017
  ChatBody = import_react133.default.forwardRef(
26022
26018
  ({ scrollToBottom }, listRef) => {
26023
- const messages = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectHMSMessages);
26024
- const blacklistedMessageIDs = (0, import_react_sdk65.useHMSStore)((0, import_react_sdk65.selectSessionStore)("chatMessageBlacklist" /* CHAT_MESSAGE_BLACKLIST */));
26019
+ const messages = (0, import_react_sdk64.useHMSStore)(import_react_sdk64.selectHMSMessages);
26020
+ const blacklistedMessageIDs = (0, import_react_sdk64.useHMSStore)((0, import_react_sdk64.selectSessionStore)("chatMessageBlacklist" /* CHAT_MESSAGE_BLACKLIST */));
26025
26021
  const filteredMessages = (0, import_react133.useMemo)(() => {
26026
26022
  const blacklistedMessageIDSet = new Set(blacklistedMessageIDs || []);
26027
26023
  return (messages == null ? void 0 : messages.filter((message) => message.type === "chat" && !blacklistedMessageIDSet.has(message.id))) || [];
26028
26024
  }, [blacklistedMessageIDs, messages]);
26029
- const vanillaStore = (0, import_react_sdk65.useHMSVanillaStore)();
26025
+ const vanillaStore = (0, import_react_sdk64.useHMSVanillaStore)();
26026
+ const rerenderOnFirstMount = (0, import_react133.useRef)(false);
26030
26027
  (0, import_react133.useEffect)(() => {
26031
26028
  const unsubscribe = vanillaStore.subscribe(() => {
26032
26029
  if (!listRef.current) {
@@ -26036,9 +26033,15 @@ var init_ChatBody = __esm({
26036
26033
  if (outerElement.clientHeight + outerElement.scrollTop + outerElement.offsetTop >= outerElement.scrollHeight) {
26037
26034
  requestAnimationFrame(() => scrollToBottom(1));
26038
26035
  }
26039
- }, import_react_sdk65.selectUnreadHMSMessagesCount);
26036
+ }, import_react_sdk64.selectUnreadHMSMessagesCount);
26040
26037
  return unsubscribe;
26041
26038
  }, [vanillaStore, listRef, scrollToBottom]);
26039
+ (0, import_react133.useEffect)(() => {
26040
+ if (filteredMessages.length > 0 && (listRef == null ? void 0 : listRef.current) && !rerenderOnFirstMount.current) {
26041
+ rerenderOnFirstMount.current = true;
26042
+ listRef.current.resetAfterIndex(0);
26043
+ }
26044
+ }, [listRef, filteredMessages]);
26042
26045
  return filteredMessages.length === 0 ? /* @__PURE__ */ import_react133.default.createElement(EmptyChat, null) : /* @__PURE__ */ import_react133.default.createElement(VirtualizedChatMessages, { messages: filteredMessages, ref: listRef, scrollToBottom });
26043
26046
  }
26044
26047
  );
@@ -26048,7 +26051,7 @@ var init_ChatBody = __esm({
26048
26051
  rowRef
26049
26052
  }) => {
26050
26053
  const pinnedBy = usePinnedBy(messageId);
26051
- const localPeerName = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectLocalPeerName);
26054
+ const localPeerName = (0, import_react_sdk64.useHMSStore)(import_react_sdk64.selectLocalPeerName);
26052
26055
  (0, import_react133.useLayoutEffect)(() => {
26053
26056
  if (rowRef == null ? void 0 : rowRef.current) {
26054
26057
  if (pinnedBy) {
@@ -26068,14 +26071,14 @@ var init_ChatBody = __esm({
26068
26071
  });
26069
26072
 
26070
26073
  // src/Prebuilt/components/Chat/ChatSelector.tsx
26071
- var import_react134, import_react_use18, import_react_sdk66, import_react_icons63, ChatDotIcon, SelectorItem, SelectorHeader, Everyone, RoleItem, PeerItem, VirtualizedSelectItemList, ChatSelector;
26074
+ var import_react134, import_react_use18, import_react_sdk65, import_react_icons63, ChatDotIcon, SelectorItem, SelectorHeader, Everyone, RoleItem, PeerItem, VirtualizedSelectItemList, ChatSelector;
26072
26075
  var init_ChatSelector = __esm({
26073
26076
  "src/Prebuilt/components/Chat/ChatSelector.tsx"() {
26074
26077
  "use strict";
26075
26078
  init_define_process_env();
26076
26079
  import_react134 = __toESM(require("react"));
26077
26080
  import_react_use18 = require("react-use");
26078
- import_react_sdk66 = require("@100mslive/react-sdk");
26081
+ import_react_sdk65 = require("@100mslive/react-sdk");
26079
26082
  import_react_icons63 = require("@100mslive/react-icons");
26080
26083
  init_src();
26081
26084
  init_Theme();
@@ -26131,7 +26134,7 @@ var init_ChatSelector = __esm({
26131
26134
  }
26132
26135
  );
26133
26136
  Everyone = import_react134.default.memo(({ active }) => {
26134
- const unreadCount = (0, import_react_sdk66.useHMSStore)(import_react_sdk66.selectUnreadHMSMessagesCount);
26137
+ const unreadCount = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectUnreadHMSMessagesCount);
26135
26138
  const [, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
26136
26139
  const [, setRoleSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.ROLE);
26137
26140
  return /* @__PURE__ */ import_react134.default.createElement(
@@ -26149,7 +26152,7 @@ var init_ChatSelector = __esm({
26149
26152
  );
26150
26153
  });
26151
26154
  RoleItem = import_react134.default.memo(({ role, active }) => {
26152
- const unreadCount = (0, import_react_sdk66.useHMSStore)((0, import_react_sdk66.selectMessagesUnreadCountByRole)(role));
26155
+ const unreadCount = (0, import_react_sdk65.useHMSStore)((0, import_react_sdk65.selectMessagesUnreadCountByRole)(role));
26153
26156
  const [, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
26154
26157
  const [, setRoleSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.ROLE);
26155
26158
  return /* @__PURE__ */ import_react134.default.createElement(
@@ -26166,7 +26169,7 @@ var init_ChatSelector = __esm({
26166
26169
  );
26167
26170
  });
26168
26171
  PeerItem = ({ peerId, name, active }) => {
26169
- const unreadCount = (0, import_react_sdk66.useHMSStore)((0, import_react_sdk66.selectMessagesUnreadCountByPeerID)(peerId));
26172
+ const unreadCount = (0, import_react_sdk65.useHMSStore)((0, import_react_sdk65.selectMessagesUnreadCountByPeerID)(peerId));
26170
26173
  const [, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
26171
26174
  const [, setRoleSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.ROLE);
26172
26175
  return /* @__PURE__ */ import_react134.default.createElement(
@@ -26225,7 +26228,7 @@ var init_ChatSelector = __esm({
26225
26228
  ChatSelector = ({ role, peerId }) => {
26226
26229
  var _a8, _b7;
26227
26230
  const { elements } = useRoomLayoutConferencingScreen();
26228
- const peers = (0, import_react_sdk66.useHMSStore)(import_react_sdk66.selectRemotePeers);
26231
+ const peers = (0, import_react_sdk65.useHMSStore)(import_react_sdk65.selectRemotePeers);
26229
26232
  const [search, setSearch] = (0, import_react134.useState)("");
26230
26233
  const isPrivateChatEnabled = !!((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.private_chat_enabled);
26231
26234
  const isPublicChatEnabled = !!((_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.public_chat_enabled);
@@ -26383,17 +26386,17 @@ var init_ChatSelectorContainer = __esm({
26383
26386
  });
26384
26387
 
26385
26388
  // src/Prebuilt/components/AppData/useChatState.js
26386
- var import_react136, import_react_sdk67, useChatDraftMessage;
26389
+ var import_react136, import_react_sdk66, useChatDraftMessage;
26387
26390
  var init_useChatState = __esm({
26388
26391
  "src/Prebuilt/components/AppData/useChatState.js"() {
26389
26392
  "use strict";
26390
26393
  init_define_process_env();
26391
26394
  import_react136 = require("react");
26392
- import_react_sdk67 = require("@100mslive/react-sdk");
26395
+ import_react_sdk66 = require("@100mslive/react-sdk");
26393
26396
  init_constants();
26394
26397
  useChatDraftMessage = () => {
26395
- const hmsActions = (0, import_react_sdk67.useHMSActions)();
26396
- let chatDraftMessage = (0, import_react_sdk67.useHMSStore)((0, import_react_sdk67.selectAppData)(APP_DATA.chatDraft));
26398
+ const hmsActions = (0, import_react_sdk66.useHMSActions)();
26399
+ let chatDraftMessage = (0, import_react_sdk66.useHMSStore)((0, import_react_sdk66.selectAppData)(APP_DATA.chatDraft));
26397
26400
  if (chatDraftMessage === void 0 || chatDraftMessage === null) {
26398
26401
  chatDraftMessage = "";
26399
26402
  }
@@ -26475,7 +26478,7 @@ function EmojiPicker({ onSelect }) {
26475
26478
  )
26476
26479
  )));
26477
26480
  }
26478
- var import_react138, import_react_use20, import_data, import_react139, import_react_sdk68, import_react_icons65, TextArea2, ChatFooter;
26481
+ var import_react138, import_react_use20, import_data, import_react139, import_react_sdk67, import_react_icons65, TextArea2, ChatFooter;
26479
26482
  var init_ChatFooter = __esm({
26480
26483
  "src/Prebuilt/components/Chat/ChatFooter.tsx"() {
26481
26484
  "use strict";
@@ -26484,7 +26487,7 @@ var init_ChatFooter = __esm({
26484
26487
  import_react_use20 = require("react-use");
26485
26488
  import_data = __toESM(require("@emoji-mart/data"));
26486
26489
  import_react139 = __toESM(require("@emoji-mart/react"));
26487
- import_react_sdk68 = require("@100mslive/react-sdk");
26490
+ import_react_sdk67 = require("@100mslive/react-sdk");
26488
26491
  import_react_icons65 = require("@100mslive/react-icons");
26489
26492
  init_src();
26490
26493
  init_IconButton2();
@@ -26518,13 +26521,13 @@ var init_ChatFooter = __esm({
26518
26521
  });
26519
26522
  ChatFooter = ({ onSend, children }) => {
26520
26523
  var _a8, _b7, _c, _d;
26521
- const hmsActions = (0, import_react_sdk68.useHMSActions)();
26524
+ const hmsActions = (0, import_react_sdk67.useHMSActions)();
26522
26525
  const inputRef = (0, import_react138.useRef)(null);
26523
26526
  const [draftMessage, setDraftMessage] = useChatDraftMessage();
26524
26527
  const isMobile = (0, import_react_use20.useMedia)(config.media.md);
26525
26528
  const { elements, screenType } = useRoomLayoutConferencingScreen();
26526
26529
  const message_placeholder = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.message_placeholder) || "Send a message";
26527
- const localPeer = (0, import_react_sdk68.useHMSStore)(import_react_sdk68.selectLocalPeer);
26530
+ const localPeer = (0, import_react_sdk67.useHMSStore)(import_react_sdk67.selectLocalPeer);
26528
26531
  const isOverlayChat = (_b7 = elements == null ? void 0 : elements.chat) == null ? void 0 : _b7.is_overlay;
26529
26532
  const canDisableChat = !!((_d = (_c = elements == null ? void 0 : elements.chat) == null ? void 0 : _c.real_time_controls) == null ? void 0 : _d.can_disable_chat);
26530
26533
  const selectedPeer = useSubscribeChatSelector(CHAT_SELECTOR.PEER);
@@ -26532,8 +26535,6 @@ var init_ChatFooter = __esm({
26532
26535
  const defaultSelection = useDefaultChatSelection();
26533
26536
  const selection = selectedPeer.name || selectedRole || defaultSelection;
26534
26537
  const isLocalPeerBlacklisted = useIsPeerBlacklisted({ local: true });
26535
- const { toggleAudio, toggleVideo } = (0, import_react_sdk68.useAVToggle)();
26536
- const noAVPermissions = !(toggleAudio || toggleVideo);
26537
26538
  const isMwebHLSStream = useMobileHLSStream();
26538
26539
  const isLandscapeHLSStream = useLandscapeHLSStream();
26539
26540
  (0, import_react138.useEffect)(() => {
@@ -26699,7 +26700,7 @@ var init_ChatFooter = __esm({
26699
26700
  },
26700
26701
  gap: "2"
26701
26702
  },
26702
- noAVPermissions ? /* @__PURE__ */ import_react138.default.createElement(RaiseHand, { css: { bg: "$surface_default" } }) : null,
26703
+ /* @__PURE__ */ import_react138.default.createElement(RaiseHand, { css: { bg: "$surface_default" } }),
26703
26704
  /* @__PURE__ */ import_react138.default.createElement(MoreSettings, { elements, screenType })
26704
26705
  ))));
26705
26706
  };
@@ -26707,13 +26708,13 @@ var init_ChatFooter = __esm({
26707
26708
  });
26708
26709
 
26709
26710
  // src/Prebuilt/components/Chat/ChatStates.tsx
26710
- var import_react140, import_react_sdk69, ChatPaused, ChatBlocked;
26711
+ var import_react140, import_react_sdk68, ChatPaused, ChatBlocked;
26711
26712
  var init_ChatStates = __esm({
26712
26713
  "src/Prebuilt/components/Chat/ChatStates.tsx"() {
26713
26714
  "use strict";
26714
26715
  init_define_process_env();
26715
26716
  import_react140 = __toESM(require("react"));
26716
- import_react_sdk69 = require("@100mslive/react-sdk");
26717
+ import_react_sdk68 = require("@100mslive/react-sdk");
26717
26718
  init_Button2();
26718
26719
  init_Layout();
26719
26720
  init_Text2();
@@ -26721,11 +26722,11 @@ var init_ChatStates = __esm({
26721
26722
  init_useChatBlacklist();
26722
26723
  ChatPaused = () => {
26723
26724
  var _a8, _b7;
26724
- const hmsActions = (0, import_react_sdk69.useHMSActions)();
26725
+ const hmsActions = (0, import_react_sdk68.useHMSActions)();
26725
26726
  const { elements } = useRoomLayoutConferencingScreen();
26726
26727
  const can_disable_chat = !!((_b7 = (_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.real_time_controls) == null ? void 0 : _b7.can_disable_chat);
26727
- const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = (0, import_react_sdk69.useHMSStore)((0, import_react_sdk69.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
26728
- const localPeer = (0, import_react_sdk69.useHMSStore)(import_react_sdk69.selectLocalPeer);
26728
+ const { enabled: isChatEnabled = true, updatedBy: chatStateUpdatedBy = "" } = (0, import_react_sdk68.useHMSStore)((0, import_react_sdk68.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
26729
+ const localPeer = (0, import_react_sdk68.useHMSStore)(import_react_sdk68.selectLocalPeer);
26729
26730
  const unPauseChat = (0, import_react140.useCallback)(
26730
26731
  () => __async(void 0, null, function* () {
26731
26732
  return yield hmsActions.sessionStore.set("chatState" /* CHAT_STATE */, {
@@ -26838,7 +26839,7 @@ var init_StickIndicator = __esm({
26838
26839
  });
26839
26840
 
26840
26841
  // src/Prebuilt/components/Chat/PinnedMessage.tsx
26841
- var import_react143, import_react_swipeable, import_react_use21, import_react_sdk70, import_react_icons67, PINNED_MESSAGE_LENGTH, PinnedMessage;
26842
+ var import_react143, import_react_swipeable, import_react_use21, import_react_sdk69, import_react_icons67, PINNED_MESSAGE_LENGTH, PinnedMessage;
26842
26843
  var init_PinnedMessage = __esm({
26843
26844
  "src/Prebuilt/components/Chat/PinnedMessage.tsx"() {
26844
26845
  "use strict";
@@ -26846,7 +26847,7 @@ var init_PinnedMessage = __esm({
26846
26847
  import_react143 = __toESM(require("react"));
26847
26848
  import_react_swipeable = require("react-swipeable");
26848
26849
  import_react_use21 = require("react-use");
26849
- import_react_sdk70 = require("@100mslive/react-sdk");
26850
+ import_react_sdk69 = require("@100mslive/react-sdk");
26850
26851
  import_react_icons67 = require("@100mslive/react-icons");
26851
26852
  init_Layout();
26852
26853
  init_Text2();
@@ -26859,7 +26860,7 @@ var init_PinnedMessage = __esm({
26859
26860
  PINNED_MESSAGE_LENGTH = 75;
26860
26861
  PinnedMessage = () => {
26861
26862
  var _a8, _b7, _c, _d;
26862
- const pinnedMessages = (0, import_react_sdk70.useHMSStore)((0, import_react_sdk70.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
26863
+ const pinnedMessages = (0, import_react_sdk69.useHMSStore)((0, import_react_sdk69.selectSessionStore)("pinnedMessages" /* PINNED_MESSAGES */));
26863
26864
  const [pinnedMessageIndex, setPinnedMessageIndex] = (0, import_react143.useState)(0);
26864
26865
  const { removePinnedMessage } = usePinnedMessages();
26865
26866
  const isMobile = (0, import_react_use21.useMedia)(config.media.md);
@@ -26974,7 +26975,7 @@ var init_PinnedMessage = __esm({
26974
26975
  });
26975
26976
 
26976
26977
  // src/Prebuilt/components/Chat/Chat.tsx
26977
- var import_react144, import_react_use22, import_ts_pattern8, import_react_sdk71, import_react_icons68, Chat, NewMessageIndicator;
26978
+ var import_react144, import_react_use22, import_ts_pattern8, import_react_sdk70, import_react_icons68, Chat, NewMessageIndicator;
26978
26979
  var init_Chat = __esm({
26979
26980
  "src/Prebuilt/components/Chat/Chat.tsx"() {
26980
26981
  "use strict";
@@ -26983,7 +26984,7 @@ var init_Chat = __esm({
26983
26984
  import_react_use22 = require("react-use");
26984
26985
  init_dist();
26985
26986
  import_ts_pattern8 = require("ts-pattern");
26986
- import_react_sdk71 = require("@100mslive/react-sdk");
26987
+ import_react_sdk70 = require("@100mslive/react-sdk");
26987
26988
  import_react_icons68 = require("@100mslive/react-icons");
26988
26989
  init_Button2();
26989
26990
  init_Layout();
@@ -26999,9 +27000,9 @@ var init_Chat = __esm({
26999
27000
  var _a8, _b7;
27000
27001
  const { elements } = useRoomLayoutConferencingScreen();
27001
27002
  const listRef = (0, import_react144.useRef)(null);
27002
- const hmsActions = (0, import_react_sdk71.useHMSActions)();
27003
- const vanillaStore = (0, import_react_sdk71.useHMSVanillaStore)();
27004
- const { enabled: isChatEnabled = true } = (0, import_react_sdk71.useHMSStore)(nm("chatState" /* CHAT_STATE */)) || {};
27003
+ const hmsActions = (0, import_react_sdk70.useHMSActions)();
27004
+ const vanillaStore = (0, import_react_sdk70.useHMSVanillaStore)();
27005
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk70.useHMSStore)(nm("chatState" /* CHAT_STATE */)) || {};
27005
27006
  const isMobile = (0, import_react_use22.useMedia)(config.media.md);
27006
27007
  const isMobileHLSStream = useMobileHLSStream();
27007
27008
  const isLandscapeStream = useLandscapeHLSStream();
@@ -27009,7 +27010,7 @@ var init_Chat = __esm({
27009
27010
  (unreadCount = 0) => {
27010
27011
  var _a9;
27011
27012
  if (listRef.current && listRef.current.scrollToItem && unreadCount > 0) {
27012
- const messagesCount = vanillaStore.getState(import_react_sdk71.selectHMSMessagesCount);
27013
+ const messagesCount = vanillaStore.getState(import_react_sdk70.selectHMSMessagesCount);
27013
27014
  (_a9 = listRef.current) == null ? void 0 : _a9.scrollToItem(messagesCount, "end");
27014
27015
  requestAnimationFrame(() => {
27015
27016
  var _a10;
@@ -27085,7 +27086,7 @@ var init_Chat = __esm({
27085
27086
  scrollToBottom,
27086
27087
  listRef
27087
27088
  }) => {
27088
- const unreadCount = (0, import_react_sdk71.useHMSStore)(Kn);
27089
+ const unreadCount = (0, import_react_sdk70.useHMSStore)(Kn);
27089
27090
  if (!unreadCount || !listRef.current) {
27090
27091
  return null;
27091
27092
  }
@@ -27132,7 +27133,7 @@ var init_Chat = __esm({
27132
27133
  });
27133
27134
 
27134
27135
  // src/Prebuilt/components/Footer/PaginatedParticipants.tsx
27135
- var import_react145, import_react_intersection_observer, import_react_use23, import_react_window3, import_react_sdk72, import_react_icons69, LoadMoreParticipants, VirtualizedParticipantItem2, PaginatedParticipants;
27136
+ var import_react145, import_react_intersection_observer, import_react_use23, import_react_window3, import_react_sdk71, import_react_icons69, LoadMoreParticipants, VirtualizedParticipantItem2, PaginatedParticipants;
27136
27137
  var init_PaginatedParticipants = __esm({
27137
27138
  "src/Prebuilt/components/Footer/PaginatedParticipants.tsx"() {
27138
27139
  "use strict";
@@ -27141,7 +27142,7 @@ var init_PaginatedParticipants = __esm({
27141
27142
  import_react_intersection_observer = require("react-intersection-observer");
27142
27143
  import_react_use23 = require("react-use");
27143
27144
  import_react_window3 = require("react-window");
27144
- import_react_sdk72 = require("@100mslive/react-sdk");
27145
+ import_react_sdk71 = require("@100mslive/react-sdk");
27145
27146
  import_react_icons69 = require("@100mslive/react-icons");
27146
27147
  init_IconButton2();
27147
27148
  init_Layout();
@@ -27187,13 +27188,13 @@ var init_PaginatedParticipants = __esm({
27187
27188
  }
27188
27189
  );
27189
27190
  PaginatedParticipants = ({ roleName, onBack }) => {
27190
- const { peers, total, hasNext, loadPeers, loadMorePeers } = (0, import_react_sdk72.usePaginatedParticipants)({ role: roleName, limit: 20 });
27191
+ const { peers, total, hasNext, loadPeers, loadMorePeers } = (0, import_react_sdk71.usePaginatedParticipants)({ role: roleName, limit: 20 });
27191
27192
  const [search, setSearch] = (0, import_react145.useState)("");
27192
27193
  const filteredPeers = peers.filter((p) => {
27193
27194
  var _a8;
27194
27195
  return (_a8 = p.name) == null ? void 0 : _a8.toLowerCase().includes(search == null ? void 0 : search.toLowerCase());
27195
27196
  });
27196
- const isConnected = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectIsConnectedToRoom);
27197
+ const isConnected = (0, import_react_sdk71.useHMSStore)(import_react_sdk71.selectIsConnectedToRoom);
27197
27198
  const [ref, { width }] = (0, import_react_use23.useMeasure)();
27198
27199
  const height = ROW_HEIGHT * (filteredPeers.length + 1);
27199
27200
  const resetSidePane = useSidepaneReset();
@@ -27227,13 +27228,13 @@ var init_PaginatedParticipants = __esm({
27227
27228
  });
27228
27229
 
27229
27230
  // src/Prebuilt/components/ChatSettings.tsx
27230
- var import_react146, import_react_sdk73, import_react_icons70, ChatSettings;
27231
+ var import_react146, import_react_sdk72, import_react_icons70, ChatSettings;
27231
27232
  var init_ChatSettings = __esm({
27232
27233
  "src/Prebuilt/components/ChatSettings.tsx"() {
27233
27234
  "use strict";
27234
27235
  init_define_process_env();
27235
27236
  import_react146 = __toESM(require("react"));
27236
- import_react_sdk73 = require("@100mslive/react-sdk");
27237
+ import_react_sdk72 = require("@100mslive/react-sdk");
27237
27238
  import_react_icons70 = require("@100mslive/react-icons");
27238
27239
  init_Layout();
27239
27240
  init_Popover();
@@ -27241,11 +27242,11 @@ var init_ChatSettings = __esm({
27241
27242
  init_useRoomLayoutScreen();
27242
27243
  ChatSettings = () => {
27243
27244
  var _a8, _b7;
27244
- const hmsActions = (0, import_react_sdk73.useHMSActions)();
27245
- const localPeer = (0, import_react_sdk73.useHMSStore)(import_react_sdk73.selectLocalPeer);
27245
+ const hmsActions = (0, import_react_sdk72.useHMSActions)();
27246
+ const localPeer = (0, import_react_sdk72.useHMSStore)(import_react_sdk72.selectLocalPeer);
27246
27247
  const { elements } = useRoomLayoutConferencingScreen();
27247
27248
  const canPauseChat = !!((_b7 = (_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.real_time_controls) == null ? void 0 : _b7.can_disable_chat);
27248
- const { enabled: isChatEnabled = true } = (0, import_react_sdk73.useHMSStore)((0, import_react_sdk73.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
27249
+ const { enabled: isChatEnabled = true } = (0, import_react_sdk72.useHMSStore)((0, import_react_sdk72.selectSessionStore)("chatState" /* CHAT_STATE */)) || {};
27249
27250
  const showPause = canPauseChat && isChatEnabled;
27250
27251
  if (!showPause) {
27251
27252
  return null;
@@ -27294,7 +27295,7 @@ var init_ChatSettings = __esm({
27294
27295
  });
27295
27296
 
27296
27297
  // src/Prebuilt/components/SidePaneTabs.tsx
27297
- var import_react147, import_react_use24, import_ts_pattern9, import_react_sdk74, import_react_icons71, tabTriggerCSS, ParticipantCount2, SidePaneTabs;
27298
+ var import_react147, import_react_use24, import_ts_pattern9, import_react_sdk73, import_react_icons71, tabTriggerCSS, ParticipantCount2, SidePaneTabs;
27298
27299
  var init_SidePaneTabs = __esm({
27299
27300
  "src/Prebuilt/components/SidePaneTabs.tsx"() {
27300
27301
  "use strict";
@@ -27302,7 +27303,7 @@ var init_SidePaneTabs = __esm({
27302
27303
  import_react147 = __toESM(require("react"));
27303
27304
  import_react_use24 = require("react-use");
27304
27305
  import_ts_pattern9 = require("ts-pattern");
27305
- import_react_sdk74 = require("@100mslive/react-sdk");
27306
+ import_react_sdk73 = require("@100mslive/react-sdk");
27306
27307
  import_react_icons71 = require("@100mslive/react-icons");
27307
27308
  init_Chat();
27308
27309
  init_PaginatedParticipants();
@@ -27335,7 +27336,7 @@ var init_SidePaneTabs = __esm({
27335
27336
  const resetSidePane = useSidepaneReset();
27336
27337
  const [activeTab, setActiveTab] = (0, import_react147.useState)(active);
27337
27338
  const [activeRole, setActiveRole] = (0, import_react147.useState)("");
27338
- const peerCount = (0, import_react_sdk74.useHMSStore)(import_react_sdk74.selectPeerCount);
27339
+ const peerCount = (0, import_react_sdk73.useHMSStore)(import_react_sdk73.selectPeerCount);
27339
27340
  const { elements, screenType } = useRoomLayoutConferencingScreen();
27340
27341
  const chat_title = ((_a8 = elements == null ? void 0 : elements.chat) == null ? void 0 : _a8.chat_title) || "Chat";
27341
27342
  const showChat = !!(elements == null ? void 0 : elements.chat);
@@ -27455,13 +27456,13 @@ var init_SidePaneTabs = __esm({
27455
27456
  });
27456
27457
 
27457
27458
  // src/Prebuilt/components/Connection/TileConnection.tsx
27458
- var import_react148, import_react_sdk75, import_react_icons72, TileConnection, IconWrapper, Wrapper2, TileConnection_default;
27459
+ var import_react148, import_react_sdk74, import_react_icons72, TileConnection, IconWrapper, Wrapper2, TileConnection_default;
27459
27460
  var init_TileConnection = __esm({
27460
27461
  "src/Prebuilt/components/Connection/TileConnection.tsx"() {
27461
27462
  "use strict";
27462
27463
  init_define_process_env();
27463
27464
  import_react148 = __toESM(require("react"));
27464
- import_react_sdk75 = require("@100mslive/react-sdk");
27465
+ import_react_sdk74 = require("@100mslive/react-sdk");
27465
27466
  import_react_icons72 = require("@100mslive/react-icons");
27466
27467
  init_src();
27467
27468
  init_ConnectionIndicator();
@@ -27472,8 +27473,8 @@ var init_TileConnection = __esm({
27472
27473
  width,
27473
27474
  pinned
27474
27475
  }) => {
27475
- const spotlighted = (0, import_react_sdk75.useHMSStore)((0, import_react_sdk75.selectSessionStore)("spotlight" /* SPOTLIGHT */)) === peerId;
27476
- const isPeerScreenSharing = !!(0, import_react_sdk75.useHMSStore)((0, import_react_sdk75.selectScreenShareByPeerID)(peerId));
27476
+ const spotlighted = (0, import_react_sdk74.useHMSStore)((0, import_react_sdk74.selectSessionStore)("spotlight" /* SPOTLIGHT */)) === peerId;
27477
+ const isPeerScreenSharing = !!(0, import_react_sdk74.useHMSStore)((0, import_react_sdk74.selectScreenShareByPeerID)(peerId));
27477
27478
  return /* @__PURE__ */ import_react148.default.createElement(Wrapper2, null, !hideLabel ? /* @__PURE__ */ import_react148.default.createElement(import_react148.default.Fragment, null, name ? /* @__PURE__ */ import_react148.default.createElement(Flex, { align: "center" }, isPeerScreenSharing && /* @__PURE__ */ import_react148.default.createElement(IconWrapper, null, /* @__PURE__ */ import_react148.default.createElement(import_react_icons72.ShareScreenIcon, { width: "15", height: "15" })), pinned && /* @__PURE__ */ import_react148.default.createElement(IconWrapper, null, /* @__PURE__ */ import_react148.default.createElement(import_react_icons72.PinIcon, { width: "15", height: "15" })), spotlighted && /* @__PURE__ */ import_react148.default.createElement(IconWrapper, null, /* @__PURE__ */ import_react148.default.createElement(import_react_icons72.SpotlightIcon, { width: "15", height: "15" })), /* @__PURE__ */ import_react148.default.createElement(
27478
27479
  Text,
27479
27480
  {
@@ -27519,14 +27520,14 @@ var init_utils5 = __esm({
27519
27520
  });
27520
27521
 
27521
27522
  // src/Prebuilt/components/TileMenu/TileMenuContent.tsx
27522
- var import_react149, import_react_use25, import_react_sdk76, import_react_icons73, isSameTile, spacingCSS, SpotlightActions, PinActions, MinimiseInset, SimulcastLayers, TileMenuContent;
27523
+ var import_react149, import_react_use25, import_react_sdk75, import_react_icons73, isSameTile, spacingCSS, SpotlightActions, PinActions, MinimiseInset, SimulcastLayers, TileMenuContent;
27523
27524
  var init_TileMenuContent = __esm({
27524
27525
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx"() {
27525
27526
  "use strict";
27526
27527
  init_define_process_env();
27527
27528
  import_react149 = __toESM(require("react"));
27528
27529
  import_react_use25 = require("react-use");
27529
- import_react_sdk76 = require("@100mslive/react-sdk");
27530
+ import_react_sdk75 = require("@100mslive/react-sdk");
27530
27531
  import_react_icons73 = require("@100mslive/react-icons");
27531
27532
  init_Layout();
27532
27533
  init_Slider2();
@@ -27551,8 +27552,8 @@ var init_TileMenuContent = __esm({
27551
27552
  return;
27552
27553
  }
27553
27554
  }) => {
27554
- const hmsActions = (0, import_react_sdk76.useHMSActions)();
27555
- const spotlightPeerId = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectSessionStore)("spotlight" /* SPOTLIGHT */));
27555
+ const hmsActions = (0, import_react_sdk75.useHMSActions)();
27556
+ const spotlightPeerId = (0, import_react_sdk75.useHMSStore)((0, import_react_sdk75.selectSessionStore)("spotlight" /* SPOTLIGHT */));
27556
27557
  const isTileSpotlighted = spotlightPeerId === peerId;
27557
27558
  const dragClassName = getDragClassName();
27558
27559
  const setSpotlightPeerId = (peerIdToSpotlight) => hmsActions.sessionStore.set("spotlight" /* SPOTLIGHT */, peerIdToSpotlight).catch((err) => ToastManager.addToast({ title: err.description }));
@@ -27600,8 +27601,8 @@ var init_TileMenuContent = __esm({
27600
27601
  };
27601
27602
  SimulcastLayers = ({ trackId }) => {
27602
27603
  var _a8;
27603
- const track = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectTrackByID)(trackId));
27604
- const actions = (0, import_react_sdk76.useHMSActions)();
27604
+ const track = (0, import_react_sdk75.useHMSStore)((0, import_react_sdk75.selectTrackByID)(trackId));
27605
+ const actions = (0, import_react_sdk75.useHMSActions)();
27605
27606
  const bg = useDropdownSelection();
27606
27607
  if (!((_a8 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _a8.length) || track.degraded || !track.enabled) {
27607
27608
  return null;
@@ -27684,15 +27685,15 @@ var init_TileMenuContent = __esm({
27684
27685
  }
27685
27686
  }) => {
27686
27687
  var _a8;
27687
- const actions = (0, import_react_sdk76.useHMSActions)();
27688
+ const actions = (0, import_react_sdk75.useHMSActions)();
27688
27689
  const dragClassName = getDragClassName();
27689
- const removeOthers = (_a8 = (0, import_react_sdk76.useHMSStore)(import_react_sdk76.selectPermissions)) == null ? void 0 : _a8.removeOthers;
27690
+ const removeOthers = (_a8 = (0, import_react_sdk75.useHMSStore)(import_react_sdk75.selectPermissions)) == null ? void 0 : _a8.removeOthers;
27690
27691
  const { userName } = useHMSPrebuiltContext();
27691
- const { isAudioEnabled, isVideoEnabled, setVolume, toggleAudio, toggleVideo, volume } = (0, import_react_sdk76.useRemoteAVToggle)(
27692
+ const { isAudioEnabled, isVideoEnabled, setVolume, toggleAudio, toggleVideo, volume } = (0, import_react_sdk75.useRemoteAVToggle)(
27692
27693
  audioTrackID,
27693
27694
  videoTrackID
27694
27695
  );
27695
- const { sendEvent } = (0, import_react_sdk76.useCustomEvent)({
27696
+ const { sendEvent } = (0, import_react_sdk75.useCustomEvent)({
27696
27697
  type: REMOTE_STOP_SCREENSHARE_TYPE
27697
27698
  });
27698
27699
  const isMobile = (0, import_react_use25.useMedia)(config.media.md);
@@ -27776,14 +27777,14 @@ var init_TileMenuContent = __esm({
27776
27777
  });
27777
27778
 
27778
27779
  // src/Prebuilt/components/TileMenu/TileMenu.tsx
27779
- var import_react150, import_react_use26, import_react_sdk77, import_react_icons74, TileMenu, TileMenu_default;
27780
+ var import_react150, import_react_use26, import_react_sdk76, import_react_icons74, TileMenu, TileMenu_default;
27780
27781
  var init_TileMenu2 = __esm({
27781
27782
  "src/Prebuilt/components/TileMenu/TileMenu.tsx"() {
27782
27783
  "use strict";
27783
27784
  init_define_process_env();
27784
27785
  import_react150 = __toESM(require("react"));
27785
27786
  import_react_use26 = require("react-use");
27786
- import_react_sdk77 = require("@100mslive/react-sdk");
27787
+ import_react_sdk76 = require("@100mslive/react-sdk");
27787
27788
  import_react_icons74 = require("@100mslive/react-icons");
27788
27789
  init_Layout();
27789
27790
  init_Sheet2();
@@ -27806,17 +27807,17 @@ var init_TileMenu2 = __esm({
27806
27807
  var _a8, _b7;
27807
27808
  const [open, setOpen] = (0, import_react150.useState)(false);
27808
27809
  const { theme: theme2 } = useTheme();
27809
- const localPeerID = (0, import_react_sdk77.useHMSStore)(import_react_sdk77.selectLocalPeerID);
27810
+ const localPeerID = (0, import_react_sdk76.useHMSStore)(import_react_sdk76.selectLocalPeerID);
27810
27811
  const isLocal = localPeerID === peerID;
27811
- const { removeOthers } = (0, import_react_sdk77.useHMSStore)(import_react_sdk77.selectPermissions) || {};
27812
- const { setVolume, toggleAudio, toggleVideo } = (0, import_react_sdk77.useRemoteAVToggle)(audioTrackID, videoTrackID);
27812
+ const { removeOthers } = (0, import_react_sdk76.useHMSStore)(import_react_sdk76.selectPermissions) || {};
27813
+ const { setVolume, toggleAudio, toggleVideo } = (0, import_react_sdk76.useRemoteAVToggle)(audioTrackID, videoTrackID);
27813
27814
  const showSpotlight = enableSpotlightingPeer;
27814
- const isPrimaryVideoTrack = ((_a8 = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectVideoTrackByPeerID)(peerID))) == null ? void 0 : _a8.id) === videoTrackID;
27815
+ const isPrimaryVideoTrack = ((_a8 = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectVideoTrackByPeerID)(peerID))) == null ? void 0 : _a8.id) === videoTrackID;
27815
27816
  const showPinAction = !!(audioTrackID || videoTrackID && isPrimaryVideoTrack);
27816
- const track = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectTrackByID)(videoTrackID));
27817
+ const track = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectTrackByID)(videoTrackID));
27817
27818
  const hideSimulcastLayers = !((_b7 = track == null ? void 0 : track.layerDefinitions) == null ? void 0 : _b7.length) || track.degraded || !track.enabled;
27818
27819
  const isMobile = (0, import_react_use26.useMedia)(config.media.md);
27819
- const peer = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectPeerByID)(peerID));
27820
+ const peer = (0, import_react_sdk76.useHMSStore)((0, import_react_sdk76.selectPeerByID)(peerID));
27820
27821
  const [showNameChangeModal, setShowNameChangeModal] = (0, import_react150.useState)(false);
27821
27822
  useDropdownList({ open, name: "TileMenu" });
27822
27823
  const dragClassName = getDragClassName();
@@ -27900,14 +27901,14 @@ var init_peerTileUtils = __esm({
27900
27901
  });
27901
27902
 
27902
27903
  // src/Prebuilt/components/VideoTile.tsx
27903
- var import_react151, import_react_use27, import_react_sdk78, import_react_icons75, PeerMetadata, Tile, VideoTile, VideoTile_default;
27904
+ var import_react151, import_react_use27, import_react_sdk77, import_react_icons75, PeerMetadata, Tile, VideoTile, VideoTile_default;
27904
27905
  var init_VideoTile2 = __esm({
27905
27906
  "src/Prebuilt/components/VideoTile.tsx"() {
27906
27907
  "use strict";
27907
27908
  init_define_process_env();
27908
27909
  import_react151 = __toESM(require("react"));
27909
27910
  import_react_use27 = require("react-use");
27910
- import_react_sdk78 = require("@100mslive/react-sdk");
27911
+ import_react_sdk77 = require("@100mslive/react-sdk");
27911
27912
  import_react_icons75 = require("@100mslive/react-icons");
27912
27913
  init_TileConnection();
27913
27914
  init_TileMenu2();
@@ -27921,9 +27922,9 @@ var init_VideoTile2 = __esm({
27921
27922
  init_utils2();
27922
27923
  init_constants();
27923
27924
  PeerMetadata = ({ peerId, size }) => {
27924
- const metaData = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectPeerMetadata)(peerId));
27925
+ const metaData = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectPeerMetadata)(peerId));
27925
27926
  const isBRB = (metaData == null ? void 0 : metaData.isBRBOn) || false;
27926
- const isHandRaised = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectHasPeerHandRaised)(peerId));
27927
+ const isHandRaised = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectHasPeerHandRaised)(peerId));
27927
27928
  return /* @__PURE__ */ import_react151.default.createElement(import_react151.default.Fragment, null, isHandRaised ? /* @__PURE__ */ import_react151.default.createElement(StyledVideoTile.AttributeBox, { size, "data-testid": "raiseHand_icon_onTile" }, /* @__PURE__ */ import_react151.default.createElement(import_react_icons75.HandIcon, { width: 24, height: 24 })) : null, isBRB ? /* @__PURE__ */ import_react151.default.createElement(StyledVideoTile.AttributeBox, { size, "data-testid": "brb_icon_onTile" }, /* @__PURE__ */ import_react151.default.createElement(import_react_icons75.BrbTileIcon, { width: 22, height: 22 })) : null);
27928
27929
  };
27929
27930
  Tile = ({
@@ -27942,15 +27943,15 @@ var init_VideoTile2 = __esm({
27942
27943
  hideAudioMuteOnTile = false,
27943
27944
  hideMetadataOnTile = false
27944
27945
  }) => {
27945
- const trackSelector = trackId ? (0, import_react_sdk78.selectVideoTrackByID)(trackId) : (0, import_react_sdk78.selectVideoTrackByPeerID)(peerId);
27946
- const track = (0, import_react_sdk78.useHMSStore)(trackSelector);
27947
- const peerName = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectPeerNameByID)(peerId));
27948
- const audioTrack = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectAudioTrackByPeerID)(peerId));
27949
- const localPeerID = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectLocalPeerID);
27946
+ const trackSelector = trackId ? (0, import_react_sdk77.selectVideoTrackByID)(trackId) : (0, import_react_sdk77.selectVideoTrackByPeerID)(peerId);
27947
+ const track = (0, import_react_sdk77.useHMSStore)(trackSelector);
27948
+ const peerName = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectPeerNameByID)(peerId));
27949
+ const audioTrack = (0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectAudioTrackByPeerID)(peerId));
27950
+ const localPeerID = (0, import_react_sdk77.useHMSStore)(import_react_sdk77.selectLocalPeerID);
27950
27951
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
27951
27952
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
27952
27953
  const showStatsOnTiles = useUISettings(UI_SETTINGS.showStatsOnTiles);
27953
- const isAudioMuted = !(0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectIsPeerAudioEnabled)(peerId));
27954
+ const isAudioMuted = !(0, import_react_sdk77.useHMSStore)((0, import_react_sdk77.selectIsPeerAudioEnabled)(peerId));
27954
27955
  const isVideoMuted = !(track == null ? void 0 : track.enabled);
27955
27956
  const [isMouseHovered, setIsMouseHovered] = (0, import_react151.useState)(false);
27956
27957
  const isVideoDegraded = track == null ? void 0 : track.degraded;
@@ -28243,7 +28244,7 @@ var init_constants4 = __esm({
28243
28244
  });
28244
28245
 
28245
28246
  // src/Prebuilt/components/VirtualBackground/VBPicker.tsx
28246
- var import_react154, import_hms_virtual_background3, import_react_sdk79, import_react_icons76, iconDims, VBPicker;
28247
+ var import_react154, import_hms_virtual_background3, import_react_sdk78, import_react_icons76, iconDims, VBPicker;
28247
28248
  var init_VBPicker = __esm({
28248
28249
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx"() {
28249
28250
  "use strict";
@@ -28251,7 +28252,7 @@ var init_VBPicker = __esm({
28251
28252
  import_react154 = __toESM(require("react"));
28252
28253
  init_dist();
28253
28254
  import_hms_virtual_background3 = require("@100mslive/hms-virtual-background");
28254
- import_react_sdk79 = require("@100mslive/react-sdk");
28255
+ import_react_sdk78 = require("@100mslive/react-sdk");
28255
28256
  import_react_icons76 = require("@100mslive/react-icons");
28256
28257
  init_src();
28257
28258
  init_Text2();
@@ -28265,22 +28266,22 @@ var init_VBPicker = __esm({
28265
28266
  VBPicker = ({ backgroundMedia = [] }) => {
28266
28267
  var _a8;
28267
28268
  const toggleVB = useSidepaneToggle(SIDE_PANE_OPTIONS.VB);
28268
- const hmsActions = (0, import_react_sdk79.useHMSActions)();
28269
- const localPeer = (0, import_react_sdk79.useHMSStore)(import_react_sdk79.selectLocalPeer);
28270
- const role = (0, import_react_sdk79.useHMSStore)(Kt);
28271
- const isVideoOn = (0, import_react_sdk79.useHMSStore)(import_react_sdk79.selectIsLocalVideoEnabled);
28269
+ const hmsActions = (0, import_react_sdk78.useHMSActions)();
28270
+ const localPeer = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectLocalPeer);
28271
+ const role = (0, import_react_sdk78.useHMSStore)(Kt);
28272
+ const isVideoOn = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectIsLocalVideoEnabled);
28272
28273
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
28273
- const trackSelector = (0, import_react_sdk79.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack);
28274
- const track = (0, import_react_sdk79.useHMSStore)(trackSelector);
28274
+ const trackSelector = (0, import_react_sdk78.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack);
28275
+ const track = (0, import_react_sdk78.useHMSStore)(trackSelector);
28275
28276
  const [blurAmount, setBlurAmount] = (0, import_react154.useState)(VBHandler.getBlurAmount() || 0.5);
28276
- const roomState = (0, import_react_sdk79.useHMSStore)(import_react_sdk79.selectRoomState);
28277
- const isLargeRoom = (0, import_react_sdk79.useHMSStore)(import_react_sdk79.selectIsLargeRoom);
28278
- const isEffectsEnabled = (0, import_react_sdk79.useHMSStore)(ic);
28279
- const effectsKey = (0, import_react_sdk79.useHMSStore)(rc);
28280
- const isPluginAdded = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
28281
- const background = (0, import_react_sdk79.useHMSStore)(om(APP_DATA.background));
28277
+ const roomState = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectRoomState);
28278
+ const isLargeRoom = (0, import_react_sdk78.useHMSStore)(import_react_sdk78.selectIsLargeRoom);
28279
+ const isEffectsEnabled = (0, import_react_sdk78.useHMSStore)(ic);
28280
+ const effectsKey = (0, import_react_sdk78.useHMSStore)(rc);
28281
+ const isPluginAdded = (0, import_react_sdk78.useHMSStore)((0, import_react_sdk78.selectIsLocalVideoPluginPresent)(((_a8 = VBHandler) == null ? void 0 : _a8.getName()) || ""));
28282
+ const background = (0, import_react_sdk78.useHMSStore)(om(APP_DATA.background));
28282
28283
  const mediaList = backgroundMedia.length ? backgroundMedia.map((media) => media.url || "") : defaultMedia2;
28283
- const inPreview = roomState === import_react_sdk79.HMSRoomState.Preview;
28284
+ const inPreview = roomState === import_react_sdk78.HMSRoomState.Preview;
28284
28285
  const showVideoTile = isVideoOn && isLargeRoom && !inPreview;
28285
28286
  (0, import_react154.useEffect)(() => {
28286
28287
  if (!(track == null ? void 0 : track.id)) {
@@ -28411,7 +28412,7 @@ var init_VBPicker = __esm({
28411
28412
  });
28412
28413
 
28413
28414
  // src/Prebuilt/layouts/SidePane.tsx
28414
- var import_react155, import_react_use28, import_ts_pattern10, import_react_sdk80, Wrapper3, SidePane, SidePane_default;
28415
+ var import_react155, import_react_use28, import_ts_pattern10, import_react_sdk79, Wrapper3, SidePane, SidePane_default;
28415
28416
  var init_SidePane = __esm({
28416
28417
  "src/Prebuilt/layouts/SidePane.tsx"() {
28417
28418
  "use strict";
@@ -28419,7 +28420,7 @@ var init_SidePane = __esm({
28419
28420
  import_react155 = __toESM(require("react"));
28420
28421
  import_react_use28 = require("react-use");
28421
28422
  import_ts_pattern10 = require("ts-pattern");
28422
- import_react_sdk80 = require("@100mslive/react-sdk");
28423
+ import_react_sdk79 = require("@100mslive/react-sdk");
28423
28424
  init_Polls();
28424
28425
  init_RoomDetailsPane();
28425
28426
  init_LayoutSettings();
@@ -28529,9 +28530,9 @@ var init_SidePane = __esm({
28529
28530
  }) => {
28530
28531
  var _a8, _b7, _c, _d, _e, _f, _g;
28531
28532
  const isMobile = (0, import_react_use28.useMedia)(config.media.md);
28532
- const sidepane = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectAppData)(APP_DATA.sidePane));
28533
- const activeScreensharePeerId = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectAppData)(APP_DATA.activeScreensharePeerId));
28534
- const trackId = (_a8 = (0, import_react_sdk80.useHMSStore)((0, import_react_sdk80.selectVideoTrackByPeerID)(activeScreensharePeerId))) == null ? void 0 : _a8.id;
28533
+ const sidepane = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectAppData)(APP_DATA.sidePane));
28534
+ const activeScreensharePeerId = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectAppData)(APP_DATA.activeScreensharePeerId));
28535
+ const trackId = (_a8 = (0, import_react_sdk79.useHMSStore)((0, import_react_sdk79.selectVideoTrackByPeerID)(activeScreensharePeerId))) == null ? void 0 : _a8.id;
28535
28536
  const { elements } = useRoomLayoutConferencingScreen();
28536
28537
  const { elements: preview_elements } = useRoomLayoutPreviewScreen();
28537
28538
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
@@ -28663,7 +28664,7 @@ var init_FullPageProgress = __esm({
28663
28664
  });
28664
28665
 
28665
28666
  // src/Prebuilt/components/Preview/PreviewForm.tsx
28666
- var import_react158, import_react_use29, import_join_form3, import_react_sdk81, import_react_icons77, PreviewForm, Form, PreviewForm_default;
28667
+ var import_react158, import_react_use29, import_join_form3, import_react_sdk80, import_react_icons77, PreviewForm, Form, PreviewForm_default;
28667
28668
  var init_PreviewForm = __esm({
28668
28669
  "src/Prebuilt/components/Preview/PreviewForm.tsx"() {
28669
28670
  "use strict";
@@ -28671,7 +28672,7 @@ var init_PreviewForm = __esm({
28671
28672
  import_react158 = __toESM(require("react"));
28672
28673
  import_react_use29 = require("react-use");
28673
28674
  import_join_form3 = require("@100mslive/types-prebuilt/elements/join_form");
28674
- import_react_sdk81 = require("@100mslive/react-sdk");
28675
+ import_react_sdk80 = require("@100mslive/react-sdk");
28675
28676
  import_react_icons77 = require("@100mslive/react-icons");
28676
28677
  init_src();
28677
28678
  init_roomLayoutProvider();
@@ -28690,7 +28691,7 @@ var init_PreviewForm = __esm({
28690
28691
  e.preventDefault();
28691
28692
  };
28692
28693
  const isMobile = (0, import_react_use29.useMedia)(config.media.md);
28693
- const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk81.useRecordingStreaming)();
28694
+ const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk80.useRecordingStreaming)();
28694
28695
  const layout = useRoomLayout();
28695
28696
  const { join_form: joinForm = {} } = ((_c = (_b7 = (_a8 = layout == null ? void 0 : layout.screens) == null ? void 0 : _a8.preview) == null ? void 0 : _b7.default) == null ? void 0 : _c.elements) || {};
28696
28697
  const showGoLive = (joinForm == null ? void 0 : joinForm.join_btn_type) === import_join_form3.JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE && !isHLSRunning && !isRTMPRunning && !isHLSRecordingOn && !isBrowserRecordingOn;
@@ -28742,14 +28743,14 @@ var init_PreviewForm = __esm({
28742
28743
  });
28743
28744
 
28744
28745
  // src/Prebuilt/components/Preview/PreviewJoin.tsx
28745
- var import_react159, import_react_use30, import_react_sdk82, import_react_icons78, getParticipantChipContent, useLocalTileAspectRatio, PreviewJoin, Container4, PreviewTile, PreviewControls, PreviewSettings, PreviewJoin_default;
28746
+ var import_react159, import_react_use30, import_react_sdk81, import_react_icons78, getParticipantChipContent, useLocalTileAspectRatio, PreviewJoin, Container4, PreviewTile, PreviewControls, PreviewSettings, PreviewJoin_default;
28746
28747
  var init_PreviewJoin = __esm({
28747
28748
  "src/Prebuilt/components/Preview/PreviewJoin.tsx"() {
28748
28749
  "use strict";
28749
28750
  init_define_process_env();
28750
28751
  import_react159 = __toESM(require("react"));
28751
28752
  import_react_use30 = require("react-use");
28752
- import_react_sdk82 = require("@100mslive/react-sdk");
28753
+ import_react_sdk81 = require("@100mslive/react-sdk");
28753
28754
  import_react_icons78 = require("@100mslive/react-icons");
28754
28755
  init_src();
28755
28756
  init_AudioLevel2();
@@ -28777,8 +28778,8 @@ var init_PreviewJoin = __esm({
28777
28778
  return `${formattedNum} other${parseInt(formattedNum) === 1 ? "" : "s"} in the session`;
28778
28779
  };
28779
28780
  useLocalTileAspectRatio = () => {
28780
- const localPeer = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeer);
28781
- const videoTrack = (0, import_react_sdk82.useHMSStore)((0, import_react_sdk82.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack));
28781
+ const localPeer = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectLocalPeer);
28782
+ const videoTrack = (0, import_react_sdk81.useHMSStore)((0, import_react_sdk81.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack));
28782
28783
  const isMobile = (0, import_react_use30.useMedia)(config.media.md);
28783
28784
  let aspectRatio = 0;
28784
28785
  if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height)) {
@@ -28797,14 +28798,14 @@ var init_PreviewJoin = __esm({
28797
28798
  UserPreferencesKeys.PREVIEW,
28798
28799
  defaultPreviewPreference
28799
28800
  );
28800
- const { isStreamingOn } = (0, import_react_sdk82.useRecordingStreaming)();
28801
+ const { isStreamingOn } = (0, import_react_sdk81.useRecordingStreaming)();
28801
28802
  const authToken = useAuthToken();
28802
28803
  const [name, setName] = (0, import_react159.useState)(initialName || previewPreference.name);
28803
- const { toggleAudio, toggleVideo } = (0, import_react_sdk82.useAVToggle)();
28804
+ const { toggleAudio, toggleVideo } = (0, import_react_sdk81.useAVToggle)();
28804
28805
  const [previewError, setPreviewError] = (0, import_react159.useState)(false);
28805
28806
  const { endpoints } = useHMSPrebuiltContext();
28806
- const { peerCount } = (0, import_react_sdk82.useParticipants)();
28807
- const { enableJoin, preview, join } = (0, import_react_sdk82.usePreviewJoin)({
28807
+ const { peerCount } = (0, import_react_sdk81.useParticipants)();
28808
+ const { enableJoin, preview, join } = (0, import_react_sdk81.usePreviewJoin)({
28808
28809
  name,
28809
28810
  token: authToken,
28810
28811
  initEndpoint: endpoints == null ? void 0 : endpoints.init,
@@ -28821,7 +28822,7 @@ var init_PreviewJoin = __esm({
28821
28822
  },
28822
28823
  asRole
28823
28824
  });
28824
- const roomState = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoomState);
28825
+ const roomState = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectRoomState);
28825
28826
  const savePreferenceAndJoin = (0, import_react159.useCallback)(() => {
28826
28827
  setPreviewPreference({
28827
28828
  name
@@ -28845,7 +28846,7 @@ var init_PreviewJoin = __esm({
28845
28846
  setName(initialName);
28846
28847
  }
28847
28848
  }, [initialName]);
28848
- return roomState === import_react_sdk82.HMSRoomState.Preview ? /* @__PURE__ */ import_react159.default.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ import_react159.default.createElement(Container4, { css: { h: "100%", pt: "$10", "@md": { justifyContent: "space-between" } } }, toggleVideo ? null : /* @__PURE__ */ import_react159.default.createElement(Box, null), /* @__PURE__ */ import_react159.default.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "640px" } }, /* @__PURE__ */ import_react159.default.createElement(Logo, null), /* @__PURE__ */ import_react159.default.createElement(
28849
+ return roomState === import_react_sdk81.HMSRoomState.Preview ? /* @__PURE__ */ import_react159.default.createElement(Flex, { justify: "center", css: { size: "100%", position: "relative" } }, /* @__PURE__ */ import_react159.default.createElement(Container4, { css: { h: "100%", pt: "$10", "@md": { justifyContent: "space-between" } } }, toggleVideo ? null : /* @__PURE__ */ import_react159.default.createElement(Box, null), /* @__PURE__ */ import_react159.default.createElement(Flex, { direction: "column", justify: "center", css: { w: "100%", maxWidth: "640px" } }, /* @__PURE__ */ import_react159.default.createElement(Logo, null), /* @__PURE__ */ import_react159.default.createElement(
28849
28850
  Text,
28850
28851
  {
28851
28852
  variant: "h4",
@@ -28887,12 +28888,12 @@ var init_PreviewJoin = __esm({
28887
28888
  px: "$10"
28888
28889
  }));
28889
28890
  PreviewTile = ({ name, error }) => {
28890
- const localPeer = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeer);
28891
- const { isLocalAudioEnabled, toggleAudio } = (0, import_react_sdk82.useAVToggle)();
28892
- const isVideoOn = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsLocalVideoEnabled);
28891
+ const localPeer = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectLocalPeer);
28892
+ const { isLocalAudioEnabled, toggleAudio } = (0, import_react_sdk81.useAVToggle)();
28893
+ const isVideoOn = (0, import_react_sdk81.useHMSStore)(import_react_sdk81.selectIsLocalVideoEnabled);
28893
28894
  const mirrorLocalVideo = useUISettings(UI_SETTINGS.mirrorLocalVideo);
28894
- const trackSelector = (0, import_react_sdk82.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack);
28895
- const track = (0, import_react_sdk82.useHMSStore)(trackSelector);
28895
+ const trackSelector = (0, import_react_sdk81.selectVideoTrackByID)(localPeer == null ? void 0 : localPeer.videoTrack);
28896
+ const track = (0, import_react_sdk81.useHMSStore)(trackSelector);
28896
28897
  const showMuteIcon = !isLocalAudioEnabled || !toggleAudio;
28897
28898
  const aspectRatio = useLocalTileAspectRatio();
28898
28899
  const [ref, { width: calculatedWidth, height: calculatedHeight }] = (0, import_react_use30.useMeasure)();
@@ -28989,13 +28990,13 @@ var init_RequestPrompt = __esm({
28989
28990
  });
28990
28991
 
28991
28992
  // src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx
28992
- var import_react161, import_react_sdk83, RoleChangeRequestModal;
28993
+ var import_react161, import_react_sdk82, RoleChangeRequestModal;
28993
28994
  var init_RoleChangeRequestModal = __esm({
28994
28995
  "src/Prebuilt/components/RoleChangeRequest/RoleChangeRequestModal.tsx"() {
28995
28996
  "use strict";
28996
28997
  init_define_process_env();
28997
28998
  import_react161 = __toESM(require("react"));
28998
- import_react_sdk83 = require("@100mslive/react-sdk");
28999
+ import_react_sdk82 = require("@100mslive/react-sdk");
28999
29000
  init_src();
29000
29001
  init_PreviewJoin();
29001
29002
  init_RequestPrompt();
@@ -29003,13 +29004,13 @@ var init_RoleChangeRequestModal = __esm({
29003
29004
  init_useMetadata();
29004
29005
  init_constants();
29005
29006
  RoleChangeRequestModal = () => {
29006
- const hmsActions = (0, import_react_sdk83.useHMSActions)();
29007
+ const hmsActions = (0, import_react_sdk82.useHMSActions)();
29007
29008
  const { updateMetaData } = useMyMetadata();
29008
- const isPreview = (0, import_react_sdk83.useHMSStore)(import_react_sdk83.selectIsInPreview);
29009
- const currentRole = (0, import_react_sdk83.useHMSStore)(import_react_sdk83.selectLocalPeerRoleName);
29010
- const roleChangeRequest = (0, import_react_sdk83.useHMSStore)(import_react_sdk83.selectRoleChangeRequest);
29011
- const name = (0, import_react_sdk83.useHMSStore)(import_react_sdk83.selectLocalPeerName);
29012
- const { sendEvent } = (0, import_react_sdk83.useCustomEvent)({ type: ROLE_CHANGE_DECLINED });
29009
+ const isPreview = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectIsInPreview);
29010
+ const currentRole = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeerRoleName);
29011
+ const roleChangeRequest = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectRoleChangeRequest);
29012
+ const name = (0, import_react_sdk82.useHMSStore)(import_react_sdk82.selectLocalPeerName);
29013
+ const { sendEvent } = (0, import_react_sdk82.useCustomEvent)({ type: ROLE_CHANGE_DECLINED });
29013
29014
  const { elements = {} } = useRoomLayoutPreviewScreen();
29014
29015
  const { virtual_background } = elements || {};
29015
29016
  (0, import_react161.useEffect)(() => {
@@ -29100,7 +29101,7 @@ var init_useVideoTileLayout = __esm({
29100
29101
  });
29101
29102
 
29102
29103
  // src/Prebuilt/components/InsetTile.tsx
29103
- var import_react163, import_react_draggable, import_react_use32, import_react_sdk84, import_react_icons79, MinimisedTile, insetHeightPx, insetMaxWidthPx, defaultMobileAspectRatio, desktopAspectRatio, InsetTile;
29104
+ var import_react163, import_react_draggable, import_react_use32, import_react_sdk83, import_react_icons79, MinimisedTile, insetHeightPx, insetMaxWidthPx, defaultMobileAspectRatio, desktopAspectRatio, InsetTile;
29104
29105
  var init_InsetTile = __esm({
29105
29106
  "src/Prebuilt/components/InsetTile.tsx"() {
29106
29107
  "use strict";
@@ -29108,7 +29109,7 @@ var init_InsetTile = __esm({
29108
29109
  import_react163 = __toESM(require("react"));
29109
29110
  import_react_draggable = __toESM(require("react-draggable"));
29110
29111
  import_react_use32 = require("react-use");
29111
- import_react_sdk84 = require("@100mslive/react-sdk");
29112
+ import_react_sdk83 = require("@100mslive/react-sdk");
29112
29113
  import_react_icons79 = require("@100mslive/react-icons");
29113
29114
  init_Layout();
29114
29115
  init_Text2();
@@ -29137,11 +29138,11 @@ var init_InsetTile = __esm({
29137
29138
  InsetTile = ({ peerId }) => {
29138
29139
  const isMobile = (0, import_react_use32.useMedia)(config.media.md);
29139
29140
  const isLandscape = (0, import_react_use32.useMedia)(config.media.ls);
29140
- const selector = peerId ? (0, import_react_sdk84.selectPeerByID)(peerId) : import_react_sdk84.selectLocalPeer;
29141
- const peer = (0, import_react_sdk84.useHMSStore)(selector);
29141
+ const selector = peerId ? (0, import_react_sdk83.selectPeerByID)(peerId) : import_react_sdk83.selectLocalPeer;
29142
+ const peer = (0, import_react_sdk83.useHMSStore)(selector);
29142
29143
  const [minimised, setMinimised] = useSetAppDataByKey(APP_DATA.minimiseInset);
29143
- const videoTrack = (0, import_react_sdk84.useHMSStore)((0, import_react_sdk84.selectVideoTrackByID)(peer == null ? void 0 : peer.videoTrack));
29144
- const isAllowedToPublish = (0, import_react_sdk84.useHMSStore)(import_react_sdk84.selectIsAllowedToPublish);
29144
+ const videoTrack = (0, import_react_sdk83.useHMSStore)((0, import_react_sdk83.selectVideoTrackByID)(peer == null ? void 0 : peer.videoTrack));
29145
+ const isAllowedToPublish = (0, import_react_sdk83.useHMSStore)(import_react_sdk83.selectIsAllowedToPublish);
29145
29146
  const videoTileProps = useVideoTileContext();
29146
29147
  let aspectRatio = isMobile ? defaultMobileAspectRatio : desktopAspectRatio;
29147
29148
  if ((videoTrack == null ? void 0 : videoTrack.width) && (videoTrack == null ? void 0 : videoTrack.height) && !isMobile) {
@@ -29312,21 +29313,21 @@ var init_Grid = __esm({
29312
29313
  });
29313
29314
 
29314
29315
  // src/Prebuilt/components/hooks/useTileLayout.tsx
29315
- var import_react166, import_react_use33, import_react_sdk85, aspectRatioConfig, usePagesWithTiles, useTileLayout;
29316
+ var import_react166, import_react_use33, import_react_sdk84, aspectRatioConfig, usePagesWithTiles, useTileLayout;
29316
29317
  var init_useTileLayout = __esm({
29317
29318
  "src/Prebuilt/components/hooks/useTileLayout.tsx"() {
29318
29319
  "use strict";
29319
29320
  init_define_process_env();
29320
29321
  import_react166 = require("react");
29321
29322
  import_react_use33 = require("react-use");
29322
- import_react_sdk85 = require("@100mslive/react-sdk");
29323
+ import_react_sdk84 = require("@100mslive/react-sdk");
29323
29324
  init_Theme();
29324
29325
  aspectRatioConfig = { default: [1 / 1, 4 / 3, 16 / 9], mobile: [1 / 1, 3 / 4, 9 / 16] };
29325
29326
  usePagesWithTiles = ({ peers, maxTileCount }) => {
29326
- const vanillaStore = (0, import_react_sdk85.useHMSVanillaStore)();
29327
- const tracksMap = vanillaStore.getState(import_react_sdk85.selectTracksMap);
29327
+ const vanillaStore = (0, import_react_sdk84.useHMSVanillaStore)();
29328
+ const tracksMap = vanillaStore.getState(import_react_sdk84.selectTracksMap);
29328
29329
  const peersWithTiles = (0, import_react166.useMemo)(
29329
- () => (0, import_react_sdk85.getPeersWithTiles)(peers, tracksMap, () => false),
29330
+ () => (0, import_react_sdk84.getPeersWithTiles)(peers, tracksMap, () => false),
29330
29331
  [peers, tracksMap]
29331
29332
  );
29332
29333
  const noOfPages = Math.ceil(peersWithTiles.length / maxTileCount);
@@ -29349,7 +29350,7 @@ var init_useTileLayout = __esm({
29349
29350
  maxTileCount,
29350
29351
  edgeToEdge = false
29351
29352
  }) => {
29352
- const vanillaStore = (0, import_react_sdk85.useHMSVanillaStore)();
29353
+ const vanillaStore = (0, import_react_sdk84.useHMSVanillaStore)();
29353
29354
  const [ref, { width, height }] = (0, import_react_use33.useMeasure)();
29354
29355
  const isMobile = (0, import_react_use33.useMedia)(config.media.lg);
29355
29356
  const [pagesWithTiles, setPagesWithTiles] = (0, import_react166.useState)([]);
@@ -29422,7 +29423,7 @@ var init_useTileLayout = __esm({
29422
29423
  // src/Prebuilt/components/VideoLayouts/EqualProminence.tsx
29423
29424
  function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSize, edgeToEdge }) {
29424
29425
  var _a8;
29425
- const localPeer = (0, import_react_sdk86.useHMSStore)(import_react_sdk86.selectLocalPeer);
29426
+ const localPeer = (0, import_react_sdk85.useHMSStore)(import_react_sdk85.selectLocalPeer);
29426
29427
  const isMobile = (0, import_react_use34.useMedia)(config.media.md);
29427
29428
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
29428
29429
  maxTileCount = isMobile ? Math.min(maxTileCount, 6) : maxTileCount;
@@ -29464,14 +29465,14 @@ function EqualProminence({ isInsetEnabled = false, peers, onPageChange, onPageSi
29464
29465
  }
29465
29466
  ), isInsetEnabled && pageList.length > 0 && pageList[0][0].peer.id !== (localPeer == null ? void 0 : localPeer.id) && /* @__PURE__ */ import_react167.default.createElement(InsetTile, null));
29466
29467
  }
29467
- var import_react167, import_react_use34, import_react_sdk86;
29468
+ var import_react167, import_react_use34, import_react_sdk85;
29468
29469
  var init_EqualProminence = __esm({
29469
29470
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx"() {
29470
29471
  "use strict";
29471
29472
  init_define_process_env();
29472
29473
  import_react167 = __toESM(require("react"));
29473
29474
  import_react_use34 = require("react-use");
29474
- import_react_sdk86 = require("@100mslive/react-sdk");
29475
+ import_react_sdk85 = require("@100mslive/react-sdk");
29475
29476
  init_Layout();
29476
29477
  init_Theme();
29477
29478
  init_InsetTile();
@@ -29572,14 +29573,14 @@ var init_ProminenceLayout = __esm({
29572
29573
  });
29573
29574
 
29574
29575
  // src/Prebuilt/components/SecondaryTiles.tsx
29575
- var import_react169, import_react_use35, import_react_sdk87, SecondaryTiles;
29576
+ var import_react169, import_react_use35, import_react_sdk86, SecondaryTiles;
29576
29577
  var init_SecondaryTiles = __esm({
29577
29578
  "src/Prebuilt/components/SecondaryTiles.tsx"() {
29578
29579
  "use strict";
29579
29580
  init_define_process_env();
29580
29581
  import_react169 = __toESM(require("react"));
29581
29582
  import_react_use35 = require("react-use");
29582
- import_react_sdk87 = require("@100mslive/react-sdk");
29583
+ import_react_sdk86 = require("@100mslive/react-sdk");
29583
29584
  init_ProminenceLayout();
29584
29585
  init_Theme();
29585
29586
  init_Pagination2();
@@ -29590,10 +29591,10 @@ var init_SecondaryTiles = __esm({
29590
29591
  const isMobile = (0, import_react_use35.useMedia)(config.media.md);
29591
29592
  const maxTileCount = isMobile ? 2 : 4;
29592
29593
  const [page, setPage] = (0, import_react169.useState)(0);
29593
- const pinnedTrackId = (0, import_react_sdk87.useHMSStore)((0, import_react_sdk87.selectAppData)(APP_DATA.pinnedTrackId));
29594
- const spotlightPeerId = (0, import_react_sdk87.useHMSStore)((0, import_react_sdk87.selectSessionStore)("spotlight" /* SPOTLIGHT */));
29595
- const activeScreensharePeerId = (0, import_react_sdk87.useHMSStore)((0, import_react_sdk87.selectAppData)(APP_DATA.activeScreensharePeerId));
29596
- const pinnedPeer = (_a8 = (0, import_react_sdk87.useHMSStore)((0, import_react_sdk87.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a8.peerId;
29594
+ const pinnedTrackId = (0, import_react_sdk86.useHMSStore)((0, import_react_sdk86.selectAppData)(APP_DATA.pinnedTrackId));
29595
+ const spotlightPeerId = (0, import_react_sdk86.useHMSStore)((0, import_react_sdk86.selectSessionStore)("spotlight" /* SPOTLIGHT */));
29596
+ const activeScreensharePeerId = (0, import_react_sdk86.useHMSStore)((0, import_react_sdk86.selectAppData)(APP_DATA.activeScreensharePeerId));
29597
+ const pinnedPeer = (_a8 = (0, import_react_sdk86.useHMSStore)((0, import_react_sdk86.selectTrackByID)(pinnedTrackId))) == null ? void 0 : _a8.peerId;
29597
29598
  const pageChangedAfterPinning = (0, import_react169.useRef)(false);
29598
29599
  const pagesWithTiles = usePagesWithTiles({
29599
29600
  peers: spotlightPeerId || pinnedPeer ? [...peers].sort((p1, p2) => {
@@ -29696,7 +29697,7 @@ function RoleProminence({
29696
29697
  }) {
29697
29698
  var _a8;
29698
29699
  const { prominentPeers, secondaryPeers } = useRoleProminencePeers(prominentRoles, peers, isInsetEnabled);
29699
- const localPeer = (0, import_react_sdk88.useHMSStore)(import_react_sdk88.selectLocalPeer);
29700
+ const localPeer = (0, import_react_sdk87.useHMSStore)(import_react_sdk87.selectLocalPeer);
29700
29701
  const layoutMode = useUISettings(UI_SETTINGS.layoutMode);
29701
29702
  const isMobile = (0, import_react_use36.useMedia)(config.media.md);
29702
29703
  let maxTileCount = useUISettings(UI_SETTINGS.maxTileCount);
@@ -29736,14 +29737,14 @@ function RoleProminence({
29736
29737
  }
29737
29738
  ), isInsetEnabled && localPeer && prominentPeers.length > 0 && !prominentPeers.includes(localPeer) && /* @__PURE__ */ import_react171.default.createElement(InsetTile, null));
29738
29739
  }
29739
- var import_react171, import_react_use36, import_react_sdk88;
29740
+ var import_react171, import_react_use36, import_react_sdk87;
29740
29741
  var init_RoleProminence = __esm({
29741
29742
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx"() {
29742
29743
  "use strict";
29743
29744
  init_define_process_env();
29744
29745
  import_react171 = __toESM(require("react"));
29745
29746
  import_react_use36 = require("react-use");
29746
- import_react_sdk88 = require("@100mslive/react-sdk");
29747
+ import_react_sdk87 = require("@100mslive/react-sdk");
29747
29748
  init_Theme();
29748
29749
  init_InsetTile();
29749
29750
  init_Pagination2();
@@ -29868,19 +29869,19 @@ var init_LayoutModeSelector = __esm({
29868
29869
  });
29869
29870
 
29870
29871
  // src/Prebuilt/components/ScreenshareDisplay.tsx
29871
- var import_react173, import_react_sdk89, import_react_icons82, ScreenshareDisplay;
29872
+ var import_react173, import_react_sdk88, import_react_icons82, ScreenshareDisplay;
29872
29873
  var init_ScreenshareDisplay = __esm({
29873
29874
  "src/Prebuilt/components/ScreenshareDisplay.tsx"() {
29874
29875
  "use strict";
29875
29876
  init_define_process_env();
29876
29877
  import_react173 = __toESM(require("react"));
29877
- import_react_sdk89 = require("@100mslive/react-sdk");
29878
+ import_react_sdk88 = require("@100mslive/react-sdk");
29878
29879
  import_react_icons82 = require("@100mslive/react-icons");
29879
29880
  init_Button2();
29880
29881
  init_Layout();
29881
29882
  init_Text2();
29882
29883
  ScreenshareDisplay = () => {
29883
- const hmsActions = (0, import_react_sdk89.useHMSActions)();
29884
+ const hmsActions = (0, import_react_sdk88.useHMSActions)();
29884
29885
  return /* @__PURE__ */ import_react173.default.createElement(
29885
29886
  Flex,
29886
29887
  {
@@ -29914,7 +29915,7 @@ var init_ScreenshareDisplay = __esm({
29914
29915
  });
29915
29916
 
29916
29917
  // src/Prebuilt/components/ScreenshareTile.tsx
29917
- var import_react174, import_react_use37, import_screenfull2, import_react_sdk90, import_react_icons83, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
29918
+ var import_react174, import_react_use37, import_screenfull2, import_react_sdk89, import_react_icons83, labelStyles, Tile2, ScreenshareTile, ScreenshareTile_default;
29918
29919
  var init_ScreenshareTile = __esm({
29919
29920
  "src/Prebuilt/components/ScreenshareTile.tsx"() {
29920
29921
  "use strict";
@@ -29922,7 +29923,7 @@ var init_ScreenshareTile = __esm({
29922
29923
  import_react174 = __toESM(require("react"));
29923
29924
  import_react_use37 = require("react-use");
29924
29925
  import_screenfull2 = __toESM(require("screenfull"));
29925
- import_react_sdk90 = require("@100mslive/react-sdk");
29926
+ import_react_sdk89 = require("@100mslive/react-sdk");
29926
29927
  import_react_icons83 = require("@100mslive/react-icons");
29927
29928
  init_TileMenu2();
29928
29929
  init_Layout();
@@ -29944,10 +29945,10 @@ var init_ScreenshareTile = __esm({
29944
29945
  flexShrink: 0
29945
29946
  };
29946
29947
  Tile2 = ({ peerId, width = "100%", height = "100%" }) => {
29947
- const isLocal = (0, import_react_sdk90.useHMSStore)(import_react_sdk90.selectLocalPeerID) === peerId;
29948
- const track = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectScreenShareByPeerID)(peerId));
29948
+ const isLocal = (0, import_react_sdk89.useHMSStore)(import_react_sdk89.selectLocalPeerID) === peerId;
29949
+ const track = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectScreenShareByPeerID)(peerId));
29949
29950
  const { theme: theme2 } = useTheme();
29950
- const peer = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectPeerByID)(peerId));
29951
+ const peer = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectPeerByID)(peerId));
29951
29952
  const isAudioOnly = useUISettings(UI_SETTINGS.isAudioOnly);
29952
29953
  const [isMouseHovered, setIsMouseHovered] = (0, import_react174.useState)(false);
29953
29954
  const isMobile = (0, import_react_use37.useMedia)(config.media.md);
@@ -29958,7 +29959,7 @@ var init_ScreenshareTile = __esm({
29958
29959
  onClose: () => setFullscreen(false)
29959
29960
  });
29960
29961
  const isFullScreenSupported = import_screenfull2.default.isEnabled;
29961
- const audioTrack = (0, import_react_sdk90.useHMSStore)((0, import_react_sdk90.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
29962
+ const audioTrack = (0, import_react_sdk89.useHMSStore)((0, import_react_sdk89.selectScreenShareAudioByPeerID)(peer == null ? void 0 : peer.id));
29962
29963
  if (isLocal && (track == null ? void 0 : track.displaySurface) && !["browser", "window", "application"].includes(track.displaySurface)) {
29963
29964
  return /* @__PURE__ */ import_react174.default.createElement(ScreenshareDisplay, null);
29964
29965
  }
@@ -30037,14 +30038,14 @@ var init_ScreenshareTile = __esm({
30037
30038
  });
30038
30039
 
30039
30040
  // src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx
30040
- var import_react175, import_react_use38, import_react_sdk91, ScreenshareLayout;
30041
+ var import_react175, import_react_use38, import_react_sdk90, ScreenshareLayout;
30041
30042
  var init_ScreenshareLayout = __esm({
30042
30043
  "src/Prebuilt/components/VideoLayouts/ScreenshareLayout.tsx"() {
30043
30044
  "use strict";
30044
30045
  init_define_process_env();
30045
30046
  import_react175 = __toESM(require("react"));
30046
30047
  import_react_use38 = require("react-use");
30047
- import_react_sdk91 = require("@100mslive/react-sdk");
30048
+ import_react_sdk90 = require("@100mslive/react-sdk");
30048
30049
  init_Theme();
30049
30050
  init_InsetTile();
30050
30051
  init_Pagination2();
@@ -30056,7 +30057,7 @@ var init_ScreenshareLayout = __esm({
30056
30057
  init_constants();
30057
30058
  ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
30058
30059
  var _a8;
30059
- const peersSharing = (0, import_react_sdk91.useHMSStore)(import_react_sdk91.selectPeersScreenSharing);
30060
+ const peersSharing = (0, import_react_sdk90.useHMSStore)(import_react_sdk90.selectPeersScreenSharing);
30060
30061
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30061
30062
  const [page, setPage] = (0, import_react175.useState)(0);
30062
30063
  const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
@@ -30107,12 +30108,12 @@ var init_ScreenshareLayout = __esm({
30107
30108
  });
30108
30109
 
30109
30110
  // src/Prebuilt/common/PeersSorter.ts
30110
- var import_react_sdk92, PeersSorter, PeersSorter_default;
30111
+ var import_react_sdk91, PeersSorter, PeersSorter_default;
30111
30112
  var init_PeersSorter = __esm({
30112
30113
  "src/Prebuilt/common/PeersSorter.ts"() {
30113
30114
  "use strict";
30114
30115
  init_define_process_env();
30115
- import_react_sdk92 = require("@100mslive/react-sdk");
30116
+ import_react_sdk91 = require("@100mslive/react-sdk");
30116
30117
  PeersSorter = class {
30117
30118
  constructor(store) {
30118
30119
  this.storeUnsubscribe = void 0;
@@ -30134,7 +30135,7 @@ var init_PeersSorter = __esm({
30134
30135
  }
30135
30136
  });
30136
30137
  if (!this.storeUnsubscribe) {
30137
- this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk92.selectDominantSpeaker);
30138
+ this.storeUnsubscribe = this.store.subscribe(this.onDominantSpeakerChange, import_react_sdk91.selectDominantSpeaker);
30138
30139
  }
30139
30140
  this.moveSpeakerToFront(this.speaker);
30140
30141
  };
@@ -30208,13 +30209,13 @@ var init_PeersSorter = __esm({
30208
30209
  });
30209
30210
 
30210
30211
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
30211
- var import_react176, import_react_sdk93, GridLayout;
30212
+ var import_react176, import_react_sdk92, GridLayout;
30212
30213
  var init_GridLayout = __esm({
30213
30214
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx"() {
30214
30215
  "use strict";
30215
30216
  init_define_process_env();
30216
30217
  import_react176 = __toESM(require("react"));
30217
- import_react_sdk93 = require("@100mslive/react-sdk");
30218
+ import_react_sdk92 = require("@100mslive/react-sdk");
30218
30219
  init_EqualProminence();
30219
30220
  init_RoleProminence();
30220
30221
  init_ScreenshareLayout();
@@ -30233,11 +30234,11 @@ var init_GridLayout = __esm({
30233
30234
  edge_to_edge = false,
30234
30235
  hide_metadata_on_tile = false
30235
30236
  }) => {
30236
- const peerSharing = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeerScreenSharing);
30237
+ const peerSharing = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectPeerScreenSharing);
30237
30238
  const pinnedTrack = usePinnedTrack();
30238
- const peers = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeers);
30239
- const localPeerRole = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectLocalPeerRoleName);
30240
- const localPeerID = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectLocalPeerID);
30239
+ const peers = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectPeers);
30240
+ const localPeerRole = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectLocalPeerRoleName);
30241
+ const localPeerID = (0, import_react_sdk92.useHMSStore)(import_react_sdk92.selectLocalPeerID);
30241
30242
  const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30242
30243
  const isRoleProminence = prominentRoles.length && peers.some(
30243
30244
  (peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
@@ -30256,7 +30257,7 @@ var init_GridLayout = __esm({
30256
30257
  }
30257
30258
  return peers;
30258
30259
  }, [isInsetEnabled, activeScreensharePeerId, localPeerRole, localPeerID, prominentRoles, peers, pinnedTrack]);
30259
- const vanillaStore = (0, import_react_sdk93.useHMSVanillaStore)();
30260
+ const vanillaStore = (0, import_react_sdk92.useHMSVanillaStore)();
30260
30261
  const [sortedPeers, setSortedPeers] = (0, import_react176.useState)(updatedPeers);
30261
30262
  const peersSorter = (0, import_react176.useMemo)(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
30262
30263
  const [pageSize, setPageSize] = (0, import_react176.useState)(0);
@@ -30317,13 +30318,13 @@ var init_GridLayout = __esm({
30317
30318
  });
30318
30319
 
30319
30320
  // src/Prebuilt/layouts/EmbedView.jsx
30320
- var import_react177, import_react_sdk94, EmbedView, EmbedScreenShareView, EmbedComponent;
30321
+ var import_react177, import_react_sdk93, EmbedView, EmbedScreenShareView, EmbedComponent;
30321
30322
  var init_EmbedView = __esm({
30322
30323
  "src/Prebuilt/layouts/EmbedView.jsx"() {
30323
30324
  "use strict";
30324
30325
  init_define_process_env();
30325
30326
  import_react177 = __toESM(require("react"));
30326
- import_react_sdk94 = require("@100mslive/react-sdk");
30327
+ import_react_sdk93 = require("@100mslive/react-sdk");
30327
30328
  init_SecondaryTiles();
30328
30329
  init_ToastManager();
30329
30330
  init_ProminenceLayout();
@@ -30334,8 +30335,8 @@ var init_EmbedView = __esm({
30334
30335
  return /* @__PURE__ */ import_react177.default.createElement(EmbedScreenShareView, null, /* @__PURE__ */ import_react177.default.createElement(EmbedComponent, null));
30335
30336
  };
30336
30337
  EmbedScreenShareView = ({ children }) => {
30337
- const peers = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectPeers);
30338
- const peerPresenting = (0, import_react_sdk94.useHMSStore)(import_react_sdk94.selectPeerScreenSharing);
30338
+ const peers = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeers);
30339
+ const peerPresenting = (0, import_react_sdk93.useHMSStore)(import_react_sdk93.selectPeerScreenSharing);
30339
30340
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30340
30341
  const smallTilePeers = (0, import_react177.useMemo)(() => {
30341
30342
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
@@ -30350,9 +30351,9 @@ var init_EmbedView = __esm({
30350
30351
  return /* @__PURE__ */ import_react177.default.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ import_react177.default.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ import_react177.default.createElement(SecondaryTiles, { peers: smallTilePeers }));
30351
30352
  };
30352
30353
  EmbedComponent = () => {
30353
- const embedConfig = (0, import_react_sdk94.useHMSStore)((0, import_react_sdk94.selectAppData)(APP_DATA.embedConfig));
30354
+ const embedConfig = (0, import_react_sdk93.useHMSStore)((0, import_react_sdk93.selectAppData)(APP_DATA.embedConfig));
30354
30355
  const resetConfig = useResetEmbedConfig();
30355
- const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk94.useEmbedShare)(resetConfig);
30356
+ const { iframeRef, startEmbedShare, isEmbedShareInProgress } = (0, import_react_sdk93.useEmbedShare)(resetConfig);
30356
30357
  (0, import_react177.useEffect)(() => {
30357
30358
  (() => __async(void 0, null, function* () {
30358
30359
  if (embedConfig && !isEmbedShareInProgress) {
@@ -30402,13 +30403,13 @@ var init_EmbedView = __esm({
30402
30403
  });
30403
30404
 
30404
30405
  // src/Prebuilt/layouts/PDFView.jsx
30405
- var import_react178, import_react_sdk95, PDFView;
30406
+ var import_react178, import_react_sdk94, PDFView;
30406
30407
  var init_PDFView = __esm({
30407
30408
  "src/Prebuilt/layouts/PDFView.jsx"() {
30408
30409
  "use strict";
30409
30410
  init_define_process_env();
30410
30411
  import_react178 = __toESM(require("react"));
30411
- import_react_sdk95 = require("@100mslive/react-sdk");
30412
+ import_react_sdk94 = require("@100mslive/react-sdk");
30412
30413
  init_ToastManager();
30413
30414
  init_Layout();
30414
30415
  init_EmbedView();
@@ -30416,7 +30417,7 @@ var init_PDFView = __esm({
30416
30417
  PDFView = () => {
30417
30418
  const pdfConfig = usePDFConfig();
30418
30419
  const resetConfig = useResetPDFConfig();
30419
- const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk95.usePDFShare)(resetConfig);
30420
+ const { iframeRef, startPDFShare, isPDFShareInProgress } = (0, import_react_sdk94.usePDFShare)(resetConfig);
30420
30421
  (0, import_react178.useEffect)(() => {
30421
30422
  (() => __async(void 0, null, function* () {
30422
30423
  try {
@@ -30525,14 +30526,14 @@ var init_WaitingView = __esm({
30525
30526
  });
30526
30527
 
30527
30528
  // src/Prebuilt/layouts/WhiteboardView.tsx
30528
- var import_react180, import_react_use39, import_react_sdk96, EmbedComponent2, WhiteboardView;
30529
+ var import_react180, import_react_use39, import_react_sdk95, EmbedComponent2, WhiteboardView;
30529
30530
  var init_WhiteboardView = __esm({
30530
30531
  "src/Prebuilt/layouts/WhiteboardView.tsx"() {
30531
30532
  "use strict";
30532
30533
  init_define_process_env();
30533
30534
  import_react180 = __toESM(require("react"));
30534
30535
  import_react_use39 = require("react-use");
30535
- import_react_sdk96 = require("@100mslive/react-sdk");
30536
+ import_react_sdk95 = require("@100mslive/react-sdk");
30536
30537
  init_SecondaryTiles();
30537
30538
  init_ProminenceLayout();
30538
30539
  init_src();
@@ -30541,7 +30542,7 @@ var init_WhiteboardView = __esm({
30541
30542
  init_constants();
30542
30543
  EmbedComponent2 = () => {
30543
30544
  const isMobile = (0, import_react_use39.useMedia)(config.media.md);
30544
- const { iframeRef } = (0, import_react_sdk96.useWhiteboard)(isMobile);
30545
+ const { iframeRef } = (0, import_react_sdk95.useWhiteboard)(isMobile);
30545
30546
  return /* @__PURE__ */ import_react180.default.createElement(
30546
30547
  Box,
30547
30548
  {
@@ -30573,8 +30574,8 @@ var init_WhiteboardView = __esm({
30573
30574
  );
30574
30575
  };
30575
30576
  WhiteboardView = () => {
30576
- const peers = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectPeers);
30577
- const whiteboard = (0, import_react_sdk96.useHMSStore)(import_react_sdk96.selectWhiteboard);
30577
+ const peers = (0, import_react_sdk95.useHMSStore)(import_react_sdk95.selectPeers);
30578
+ const whiteboard = (0, import_react_sdk95.useHMSStore)(import_react_sdk95.selectWhiteboard);
30578
30579
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
30579
30580
  const smallTilePeers = (0, import_react180.useMemo)(() => {
30580
30581
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (whiteboard == null ? void 0 : whiteboard.owner));
@@ -30592,17 +30593,17 @@ var init_WhiteboardView = __esm({
30592
30593
  });
30593
30594
 
30594
30595
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
30595
- var import_react181, import_react_use40, import_react_sdk97, useCloseScreenshareWhiteboard;
30596
+ var import_react181, import_react_use40, import_react_sdk96, useCloseScreenshareWhiteboard;
30596
30597
  var init_useCloseScreenshareWhiteboard = __esm({
30597
30598
  "src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx"() {
30598
30599
  "use strict";
30599
30600
  init_define_process_env();
30600
30601
  import_react181 = require("react");
30601
30602
  import_react_use40 = require("react-use");
30602
- import_react_sdk97 = require("@100mslive/react-sdk");
30603
+ import_react_sdk96 = require("@100mslive/react-sdk");
30603
30604
  useCloseScreenshareWhiteboard = () => {
30604
- const { amIScreenSharing, toggleScreenShare } = (0, import_react_sdk97.useScreenShare)();
30605
- const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk97.useWhiteboard)();
30605
+ const { amIScreenSharing, toggleScreenShare } = (0, import_react_sdk96.useScreenShare)();
30606
+ const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = (0, import_react_sdk96.useWhiteboard)();
30606
30607
  const prevScreenSharer = (0, import_react_use40.usePrevious)(amIScreenSharing);
30607
30608
  const prevWhiteboardOwner = (0, import_react_use40.usePrevious)(isWhiteboardOwner);
30608
30609
  (0, import_react181.useEffect)(() => {
@@ -31547,7 +31548,7 @@ var HLSView_exports = {};
31547
31548
  __export(HLSView_exports, {
31548
31549
  default: () => HLSView_default
31549
31550
  });
31550
- var import_react195, import_react_use43, import_hls_player3, import_screenfull3, import_ts_pattern11, import_react_sdk98, import_react_icons93, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
31551
+ var import_react195, import_react_use43, import_hls_player3, import_screenfull3, import_ts_pattern11, import_react_sdk97, import_react_icons93, hlsPlayer, toastMap, ToggleChat, HLSView, HLSView_default;
31551
31552
  var init_HLSView = __esm({
31552
31553
  "src/Prebuilt/layouts/HLSView.jsx"() {
31553
31554
  "use strict";
@@ -31557,7 +31558,7 @@ var init_HLSView = __esm({
31557
31558
  import_hls_player3 = require("@100mslive/hls-player");
31558
31559
  import_screenfull3 = __toESM(require("screenfull"));
31559
31560
  import_ts_pattern11 = require("ts-pattern");
31560
- import_react_sdk98 = require("@100mslive/react-sdk");
31561
+ import_react_sdk97 = require("@100mslive/react-sdk");
31561
31562
  import_react_icons93 = require("@100mslive/react-icons");
31562
31563
  init_ChatToggle();
31563
31564
  init_HlsStatsOverlay();
@@ -31584,11 +31585,11 @@ var init_HLSView = __esm({
31584
31585
  toastMap = {};
31585
31586
  ToggleChat = () => {
31586
31587
  const { elements } = useRoomLayoutConferencingScreen();
31587
- const sidepane = (0, import_react_sdk98.useHMSStore)((0, import_react_sdk98.selectAppData)(APP_DATA.sidePane));
31588
+ const sidepane = (0, import_react_sdk97.useHMSStore)((0, import_react_sdk97.selectAppData)(APP_DATA.sidePane));
31588
31589
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
31589
31590
  const showChat = !!(elements == null ? void 0 : elements.chat);
31590
31591
  const isMobile = (0, import_react_use43.useMedia)(config.media.md);
31591
- const hmsActions = (0, import_react_sdk98.useHMSActions)();
31592
+ const hmsActions = (0, import_react_sdk97.useHMSActions)();
31592
31593
  (0, import_react195.useEffect)(() => {
31593
31594
  (0, import_ts_pattern11.match)({ sidepane, isMobile, showChat }).with({ isMobile: true, showChat: true, sidepane: import_ts_pattern11.P.when((value) => !value) }, () => {
31594
31595
  toggleChat();
@@ -31603,10 +31604,10 @@ var init_HLSView = __esm({
31603
31604
  var _a8, _b7, _c, _d, _e, _f;
31604
31605
  const videoRef = (0, import_react195.useRef)(null);
31605
31606
  const hlsViewRef = (0, import_react195.useRef)();
31606
- const hlsState = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectHLSState);
31607
- const enablHlsStats = (0, import_react_sdk98.useHMSStore)((0, import_react_sdk98.selectAppData)(APP_DATA.hlsStats));
31608
- const notification = (0, import_react_sdk98.useHMSNotifications)(import_react_sdk98.HMSNotificationTypes.POLL_STOPPED);
31609
- const hmsActions = (0, import_react_sdk98.useHMSActions)();
31607
+ const hlsState = (0, import_react_sdk97.useHMSStore)(import_react_sdk97.selectHLSState);
31608
+ const enablHlsStats = (0, import_react_sdk97.useHMSStore)((0, import_react_sdk97.selectAppData)(APP_DATA.hlsStats));
31609
+ const notification = (0, import_react_sdk97.useHMSNotifications)(import_react_sdk97.HMSNotificationTypes.POLL_STOPPED);
31610
+ const hmsActions = (0, import_react_sdk97.useHMSActions)();
31610
31611
  const { themeType } = useTheme();
31611
31612
  const [streamEnded, setStreamEnded] = (0, import_react195.useState)(false);
31612
31613
  let [hlsStatsState, setHlsStatsState] = (0, import_react195.useState)(null);
@@ -31621,7 +31622,7 @@ var init_HLSView = __esm({
31621
31622
  const [isPaused, setIsPaused] = (0, import_react195.useState)(false);
31622
31623
  const [show, toggle] = (0, import_react_use43.useToggle)(false);
31623
31624
  const lastHlsUrl = (0, import_react_use43.usePrevious)(hlsUrl);
31624
- const vanillaStore = (0, import_react_sdk98.useHMSVanillaStore)();
31625
+ const vanillaStore = (0, import_react_sdk97.useHMSVanillaStore)();
31625
31626
  const [controlsVisible, setControlsVisible] = (0, import_react195.useState)(true);
31626
31627
  const [isUserSelectedAuto, setIsUserSelectedAuto] = (0, import_react195.useState)(true);
31627
31628
  const [qualityDropDownOpen, setQualityDropDownOpen] = (0, import_react195.useState)(false);
@@ -31705,8 +31706,8 @@ var init_HLSView = __esm({
31705
31706
  const parsedPayload = parsePayload(payload);
31706
31707
  if (parsedPayload.startsWith("poll:")) {
31707
31708
  const pollId = parsedPayload.substr(parsedPayload.indexOf(":") + 1);
31708
- const poll = vanillaStore.getState((0, import_react_sdk98.selectPollByID)(pollId));
31709
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk98.selectPeerNameByID)(poll.startedBy)) || "Participant";
31709
+ const poll = vanillaStore.getState((0, import_react_sdk97.selectPollByID)(pollId));
31710
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk97.selectPeerNameByID)(poll.startedBy)) || "Participant";
31710
31711
  if (!toastMap[pollId]) {
31711
31712
  const toastID = ToastManager.addToast({
31712
31713
  title: `${pollStartedBy} started a ${poll.type}: ${poll.title}`,
@@ -31834,7 +31835,7 @@ var init_HLSView = __esm({
31834
31835
  const onDoubleClickHandler = (0, import_react195.useCallback)(
31835
31836
  (event) => {
31836
31837
  var _a9;
31837
- if (!(isMobile || isLandscape) || ((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) !== import_react_sdk98.HLSPlaylistType.DVR) {
31838
+ if (!(isMobile || isLandscape) || ((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) !== import_react_sdk97.HLSPlaylistType.DVR) {
31838
31839
  return;
31839
31840
  }
31840
31841
  const sidePercentage = event.screenX * 100 / event.target.clientWidth;
@@ -31852,7 +31853,7 @@ var init_HLSView = __esm({
31852
31853
  );
31853
31854
  const onClickHandler = (0, import_react195.useCallback)(() => __async(void 0, null, function* () {
31854
31855
  var _a9;
31855
- (0, import_ts_pattern11.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk98.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
31856
+ (0, import_ts_pattern11.match)({ isMobile, isLandscape, playlist_type: (_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type }).with({ playlist_type: import_react_sdk97.HLSPlaylistType.DVR, isMobile: false, isLandscape: false }, () => __async(void 0, null, function* () {
31856
31857
  if (isPaused) {
31857
31858
  yield hlsPlayer == null ? void 0 : hlsPlayer.play();
31858
31859
  } else {
@@ -31940,7 +31941,7 @@ var init_HLSView = __esm({
31940
31941
  },
31941
31942
  onKeyDown: (event) => __async(void 0, null, function* () {
31942
31943
  var _a9;
31943
- if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR) {
31944
+ if (((_a9 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _a9.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR) {
31944
31945
  yield keyHandler(event);
31945
31946
  }
31946
31947
  }),
@@ -31986,7 +31987,7 @@ var init_HLSView = __esm({
31986
31987
  opacity: controlsVisible ? `1` : "0"
31987
31988
  }
31988
31989
  },
31989
- !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR && /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, /* @__PURE__ */ import_react195.default.createElement(
31990
+ !showLoader && ((_b7 = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _b7.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR && /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, /* @__PURE__ */ import_react195.default.createElement(
31990
31991
  HMSVideoPlayer.Seeker,
31991
31992
  {
31992
31993
  title: "backward",
@@ -32063,7 +32064,7 @@ var init_HLSView = __esm({
32063
32064
  align: "start",
32064
32065
  css: {
32065
32066
  position: "absolute",
32066
- bottom: isFullScreen && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR ? "$8" : "0",
32067
+ bottom: isFullScreen && ((_c = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _c.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR ? "$8" : "0",
32067
32068
  left: "0",
32068
32069
  zIndex: 1,
32069
32070
  background: isMobile || isLandscape ? "" : `linear-gradient(180deg, ${theme.colors.background_dim.value}00 29.46%, ${theme.colors.background_dim.value}A3 100%);`,
@@ -32073,7 +32074,7 @@ var init_HLSView = __esm({
32073
32074
  transition: "visibility 0s 0.5s, opacity 0.5s linear"
32074
32075
  }
32075
32076
  },
32076
- ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
32077
+ ((_d = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _d.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Progress, { seekProgress, setSeekProgress }) : null,
32077
32078
  /* @__PURE__ */ import_react195.default.createElement(
32078
32079
  HMSVideoPlayer.Controls.Root,
32079
32080
  {
@@ -32081,7 +32082,7 @@ var init_HLSView = __esm({
32081
32082
  p: "$4 $8"
32082
32083
  }
32083
32084
  },
32084
- /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, /* @__PURE__ */ import_react195.default.createElement(
32085
+ /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Controls.Left, null, !(isMobile || isLandscape) && /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, ((_e = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _e.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(import_react195.default.Fragment, null, /* @__PURE__ */ import_react195.default.createElement(
32085
32086
  HMSVideoPlayer.Seeker,
32086
32087
  {
32087
32088
  onClick: () => {
@@ -32131,7 +32132,7 @@ var init_HLSView = __esm({
32131
32132
  },
32132
32133
  isVideoLive ? "LIVE" : "GO LIVE"
32133
32134
  )))
32134
- ), (isMobile || isLandscape) && !isVideoLive && ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk98.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Duration, null) : null),
32135
+ ), (isMobile || isLandscape) && !isVideoLive && ((_f = hlsState == null ? void 0 : hlsState.variants[0]) == null ? void 0 : _f.playlist_type) === import_react_sdk97.HLSPlaylistType.DVR ? /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Duration, null) : null),
32135
32136
  /* @__PURE__ */ import_react195.default.createElement(HMSVideoPlayer.Controls.Right, null, hasCaptions && !(isMobile || isLandscape) && /* @__PURE__ */ import_react195.default.createElement(HLSCaptionSelector, { isEnabled: isCaptionEnabled }), availableLayers.length > 0 && !(isMobile || isLandscape) ? /* @__PURE__ */ import_react195.default.createElement(
32136
32137
  HLSQualitySelector,
32137
32138
  {
@@ -32156,14 +32157,14 @@ var init_HLSView = __esm({
32156
32157
  });
32157
32158
 
32158
32159
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
32159
- var import_react196, import_ts_pattern12, import_react_sdk99, HLSView2, VideoStreamingSection;
32160
+ var import_react196, import_ts_pattern12, import_react_sdk98, HLSView2, VideoStreamingSection;
32160
32161
  var init_VideoStreamingSection = __esm({
32161
32162
  "src/Prebuilt/layouts/VideoStreamingSection.tsx"() {
32162
32163
  "use strict";
32163
32164
  init_define_process_env();
32164
32165
  import_react196 = __toESM(require("react"));
32165
32166
  import_ts_pattern12 = require("ts-pattern");
32166
- import_react_sdk99 = require("@100mslive/react-sdk");
32167
+ import_react_sdk98 = require("@100mslive/react-sdk");
32167
32168
  init_FullPageProgress();
32168
32169
  init_GridLayout();
32169
32170
  init_Layout();
@@ -32182,11 +32183,11 @@ var init_VideoStreamingSection = __esm({
32182
32183
  hideControls = false
32183
32184
  }) => {
32184
32185
  var _a8, _b7, _c, _d;
32185
- const localPeerRole = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectLocalPeerRoleName);
32186
- const isConnected = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectIsConnectedToRoom);
32187
- const peerSharing = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectPeerScreenSharing);
32188
- const isWhiteboardOpen = (_a8 = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectWhiteboard)) == null ? void 0 : _a8.open;
32189
- const hmsActions = (0, import_react_sdk99.useHMSActions)();
32186
+ const localPeerRole = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectLocalPeerRoleName);
32187
+ const isConnected = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectIsConnectedToRoom);
32188
+ const peerSharing = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectPeerScreenSharing);
32189
+ const isWhiteboardOpen = (_a8 = (0, import_react_sdk98.useHMSStore)(import_react_sdk98.selectWhiteboard)) == null ? void 0 : _a8.open;
32190
+ const hmsActions = (0, import_react_sdk98.useHMSActions)();
32190
32191
  const waitingViewerRole = useWaitingViewerRole();
32191
32192
  const urlToIframe = useUrlToEmbed();
32192
32193
  const pdfAnnotatorActive = usePDFConfig();
@@ -32299,13 +32300,13 @@ var init_RoomDetailsHeader = __esm({
32299
32300
  });
32300
32301
 
32301
32302
  // src/Prebuilt/components/Header/common.jsx
32302
- var import_react198, import_react_sdk100, import_react_icons95, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
32303
+ var import_react198, import_react_sdk99, import_react_icons95, CamaraFlipActions, AudioActions, AudioSelectionSheet, SelectWithLabel;
32303
32304
  var init_common2 = __esm({
32304
32305
  "src/Prebuilt/components/Header/common.jsx"() {
32305
32306
  "use strict";
32306
32307
  init_define_process_env();
32307
32308
  import_react198 = __toESM(require("react"));
32308
- import_react_sdk100 = require("@100mslive/react-sdk");
32309
+ import_react_sdk99 = require("@100mslive/react-sdk");
32309
32310
  import_react_icons95 = require("@100mslive/react-icons");
32310
32311
  init_Divider2();
32311
32312
  init_Label2();
@@ -32315,12 +32316,12 @@ var init_common2 = __esm({
32315
32316
  init_IconButton3();
32316
32317
  init_ToastManager();
32317
32318
  CamaraFlipActions = () => {
32318
- const actions = (0, import_react_sdk100.useHMSActions)();
32319
- const { allDevices } = (0, import_react_sdk100.useDevices)();
32319
+ const actions = (0, import_react_sdk99.useHMSActions)();
32320
+ const { allDevices } = (0, import_react_sdk99.useDevices)();
32320
32321
  const { videoInput } = allDevices;
32321
- const isVideoOn = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectIsLocalVideoEnabled);
32322
- const videoTrackId = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectLocalVideoTrackID);
32323
- const localVideoTrack = (0, import_react_sdk100.useHMSStore)((0, import_react_sdk100.selectVideoTrackByID)(videoTrackId));
32322
+ const isVideoOn = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectIsLocalVideoEnabled);
32323
+ const videoTrackId = (0, import_react_sdk99.useHMSStore)(import_react_sdk99.selectLocalVideoTrackID);
32324
+ const localVideoTrack = (0, import_react_sdk99.useHMSStore)((0, import_react_sdk99.selectVideoTrackByID)(videoTrackId));
32324
32325
  if (!videoInput || !(videoInput == null ? void 0 : videoInput.length) || !(localVideoTrack == null ? void 0 : localVideoTrack.facingMode)) {
32325
32326
  return null;
32326
32327
  }
@@ -32343,7 +32344,7 @@ var init_common2 = __esm({
32343
32344
  ));
32344
32345
  };
32345
32346
  AudioActions = () => {
32346
- const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk100.useDevices)();
32347
+ const { allDevices, selectedDeviceIDs, updateDevice } = (0, import_react_sdk99.useDevices)();
32347
32348
  const shouldShowAudioOutput = "setSinkId" in HTMLMediaElement.prototype;
32348
32349
  const { audioInput, audioOutput } = allDevices;
32349
32350
  let availableAudioDevices = audioInput;
@@ -32352,7 +32353,7 @@ var init_common2 = __esm({
32352
32353
  availableAudioDevices = audioOutput;
32353
32354
  selectedAudio = selectedDeviceIDs.audioOutput;
32354
32355
  }
32355
- const hmsActions = (0, import_react_sdk100.useHMSActions)();
32356
+ const hmsActions = (0, import_react_sdk99.useHMSActions)();
32356
32357
  const audioFiltered = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => !!item.label);
32357
32358
  const currentSelection = availableAudioDevices == null ? void 0 : availableAudioDevices.find((item) => item.deviceId === selectedAudio);
32358
32359
  if (!audioFiltered) {
@@ -32373,7 +32374,7 @@ var init_common2 = __esm({
32373
32374
  try {
32374
32375
  yield updateDevice({
32375
32376
  deviceId,
32376
- deviceType: shouldShowAudioOutput ? import_react_sdk100.DeviceType.audioOutput : import_react_sdk100.DeviceType.audioInput
32377
+ deviceType: shouldShowAudioOutput ? import_react_sdk99.DeviceType.audioOutput : import_react_sdk99.DeviceType.audioInput
32377
32378
  });
32378
32379
  } catch (e) {
32379
32380
  ToastManager.addToast({
@@ -32457,23 +32458,23 @@ var init_common2 = __esm({
32457
32458
  });
32458
32459
 
32459
32460
  // src/Prebuilt/components/Header/Header.tsx
32460
- var import_react199, import_react_use45, import_react_sdk101, Header2;
32461
+ var import_react199, import_react_use45, import_react_sdk100, Header2;
32461
32462
  var init_Header = __esm({
32462
32463
  "src/Prebuilt/components/Header/Header.tsx"() {
32463
32464
  "use strict";
32464
32465
  init_define_process_env();
32465
32466
  import_react199 = __toESM(require("react"));
32466
32467
  import_react_use45 = require("react-use");
32467
- import_react_sdk101 = require("@100mslive/react-sdk");
32468
+ import_react_sdk100 = require("@100mslive/react-sdk");
32468
32469
  init_src();
32469
32470
  init_HeaderComponents();
32470
32471
  init_RoomDetailsHeader();
32471
32472
  init_StreamActions();
32472
32473
  init_common2();
32473
32474
  Header2 = () => {
32474
- const roomState = (0, import_react_sdk101.useHMSStore)(import_react_sdk101.selectRoomState);
32475
+ const roomState = (0, import_react_sdk100.useHMSStore)(import_react_sdk100.selectRoomState);
32475
32476
  const isMobile = (0, import_react_use45.useMedia)(config.media.md);
32476
- if (roomState !== import_react_sdk101.HMSRoomState.Connected) {
32477
+ if (roomState !== import_react_sdk100.HMSRoomState.Connected) {
32477
32478
  return /* @__PURE__ */ import_react199.default.createElement(import_react199.default.Fragment, null);
32478
32479
  }
32479
32480
  return /* @__PURE__ */ import_react199.default.createElement(Flex, { justify: "between", align: "center", css: { position: "relative", height: "100%" } }, /* @__PURE__ */ import_react199.default.createElement(Flex, { align: "center", gap: "2", css: { position: "absolute", left: "$10" } }, /* @__PURE__ */ import_react199.default.createElement(Logo, null), /* @__PURE__ */ import_react199.default.createElement(RoomDetailsHeader, null), /* @__PURE__ */ import_react199.default.createElement(SpeakerTag, null), isMobile && /* @__PURE__ */ import_react199.default.createElement(Flex, { align: "center", css: { gap: "$4" } }, /* @__PURE__ */ import_react199.default.createElement(LiveStatus, null), /* @__PURE__ */ import_react199.default.createElement(RecordingStatus, null), /* @__PURE__ */ import_react199.default.createElement(RecordingPauseStatus, null))), /* @__PURE__ */ import_react199.default.createElement(
@@ -32503,25 +32504,25 @@ var init_Header2 = __esm({
32503
32504
  });
32504
32505
 
32505
32506
  // src/Prebuilt/components/PreviousRoleInMetadata.tsx
32506
- var import_react200, import_react_sdk102, PreviousRoleInMetadata;
32507
+ var import_react200, import_react_sdk101, PreviousRoleInMetadata;
32507
32508
  var init_PreviousRoleInMetadata = __esm({
32508
32509
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx"() {
32509
32510
  "use strict";
32510
32511
  init_define_process_env();
32511
32512
  import_react200 = require("react");
32512
- import_react_sdk102 = require("@100mslive/react-sdk");
32513
+ import_react_sdk101 = require("@100mslive/react-sdk");
32513
32514
  init_useMetadata();
32514
32515
  PreviousRoleInMetadata = () => {
32515
- const vanillaStore = (0, import_react_sdk102.useHMSVanillaStore)();
32516
+ const vanillaStore = (0, import_react_sdk101.useHMSVanillaStore)();
32516
32517
  const { updateMetaData } = useMyMetadata();
32517
32518
  (0, import_react200.useEffect)(() => {
32518
- let previousRole = vanillaStore.getState(import_react_sdk102.selectLocalPeerRoleName);
32519
+ let previousRole = vanillaStore.getState(import_react_sdk101.selectLocalPeerRoleName);
32519
32520
  const unsubscribe = vanillaStore.subscribe((currentRole) => {
32520
32521
  if (previousRole !== currentRole && currentRole) {
32521
32522
  updateMetaData({ prevRole: previousRole });
32522
32523
  previousRole = currentRole;
32523
32524
  }
32524
- }, import_react_sdk102.selectLocalPeerRoleName);
32525
+ }, import_react_sdk101.selectLocalPeerRoleName);
32525
32526
  return unsubscribe;
32526
32527
  }, [vanillaStore]);
32527
32528
  return null;
@@ -32530,14 +32531,14 @@ var init_PreviousRoleInMetadata = __esm({
32530
32531
  });
32531
32532
 
32532
32533
  // src/Prebuilt/components/ConferenceScreen.tsx
32533
- var import_react201, import_uuid12, import_react_sdk103, ConferenceScreen;
32534
+ var import_react201, import_uuid12, import_react_sdk102, ConferenceScreen;
32534
32535
  var init_ConferenceScreen = __esm({
32535
32536
  "src/Prebuilt/components/ConferenceScreen.tsx"() {
32536
32537
  "use strict";
32537
32538
  init_define_process_env();
32538
32539
  import_react201 = __toESM(require("react"));
32539
32540
  import_uuid12 = require("uuid");
32540
- import_react_sdk103 = require("@100mslive/react-sdk");
32541
+ import_react_sdk102 = require("@100mslive/react-sdk");
32541
32542
  init_Footer3();
32542
32543
  init_MoreSettings();
32543
32544
  init_HLSFailureModal();
@@ -32561,19 +32562,17 @@ var init_ConferenceScreen = __esm({
32561
32562
  const { userName, endpoints, onJoin: onJoinFunc } = useHMSPrebuiltContext();
32562
32563
  const screenProps = useRoomLayoutConferencingScreen();
32563
32564
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
32564
- const roomState = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectRoomState);
32565
- const isConnectedToRoom = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectIsConnectedToRoom);
32566
- const hmsActions = (0, import_react_sdk103.useHMSActions)();
32565
+ const roomState = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectRoomState);
32566
+ const isConnectedToRoom = (0, import_react_sdk102.useHMSStore)(import_react_sdk102.selectIsConnectedToRoom);
32567
+ const hmsActions = (0, import_react_sdk102.useHMSActions)();
32567
32568
  const [hideControls, setHideControls] = (0, import_react201.useState)(false);
32568
- const dropdownList = (0, import_react_sdk103.useHMSStore)((0, import_react_sdk103.selectAppData)(APP_DATA.dropdownList));
32569
+ const dropdownList = (0, import_react_sdk102.useHMSStore)((0, import_react_sdk102.selectAppData)(APP_DATA.dropdownList));
32569
32570
  const authTokenInAppData = useAuthToken();
32570
32571
  const headerRef = (0, import_react201.useRef)(null);
32571
32572
  const footerRef = (0, import_react201.useRef)(null);
32572
32573
  const isMobileDevice = isAndroid || isIOS || isIPadOS;
32573
32574
  const dropdownListRef = (0, import_react201.useRef)();
32574
32575
  const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
32575
- const { toggleAudio, toggleVideo } = (0, import_react_sdk103.useAVToggle)();
32576
- const noAVPermissions = !(toggleAudio || toggleVideo);
32577
32576
  const showChat = !!((_a8 = screenProps.elements) == null ? void 0 : _a8.chat);
32578
32577
  const autoRoomJoined = (0, import_react201.useRef)(isPreviewScreenEnabled);
32579
32578
  const isMobileHLSStream = useMobileHLSStream();
@@ -32601,7 +32600,7 @@ var init_ConferenceScreen = __esm({
32601
32600
  };
32602
32601
  }, [dropdownList, hideControls, isMobileDevice]);
32603
32602
  (0, import_react201.useEffect)(() => {
32604
- if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk103.HMSRoomState.Connecting && !autoRoomJoined.current) {
32603
+ if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== import_react_sdk102.HMSRoomState.Connecting && !autoRoomJoined.current) {
32605
32604
  hmsActions.join({
32606
32605
  userName: userName || (0, import_uuid12.v4)(),
32607
32606
  authToken: authTokenInAppData,
@@ -32621,8 +32620,8 @@ var init_ConferenceScreen = __esm({
32621
32620
  PictureInPicture.stop().catch((error) => console.error("stopping pip", error.message));
32622
32621
  };
32623
32622
  }, [onJoinFunc]);
32624
- if (!isConnectedToRoom && ![import_react_sdk103.HMSRoomState.Reconnecting, import_react_sdk103.HMSRoomState.Disconnected].includes(roomState)) {
32625
- return /* @__PURE__ */ import_react201.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk103.HMSRoomState.Connecting ? "Joining..." : "" });
32623
+ if (!isConnectedToRoom && ![import_react_sdk102.HMSRoomState.Reconnecting, import_react_sdk102.HMSRoomState.Disconnected].includes(roomState)) {
32624
+ return /* @__PURE__ */ import_react201.default.createElement(FullPageProgress_default, { text: roomState === import_react_sdk102.HMSRoomState.Connecting ? "Joining..." : "" });
32626
32625
  }
32627
32626
  const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
32628
32627
  return /* @__PURE__ */ import_react201.default.createElement(import_react201.default.Fragment, null, isHLSStarted ? /* @__PURE__ */ import_react201.default.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ import_react201.default.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ import_react201.default.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ import_react201.default.createElement(
@@ -32697,7 +32696,7 @@ var init_ConferenceScreen = __esm({
32697
32696
  justify: "end",
32698
32697
  gap: "2"
32699
32698
  },
32700
- noAVPermissions ? /* @__PURE__ */ import_react201.default.createElement(RaiseHand, null) : null,
32699
+ /* @__PURE__ */ import_react201.default.createElement(RaiseHand, null),
32701
32700
  /* @__PURE__ */ import_react201.default.createElement(MoreSettings, { elements: screenProps.elements, screenType: screenProps.screenType }),
32702
32701
  /* @__PURE__ */ import_react201.default.createElement(
32703
32702
  Box,
@@ -32808,7 +32807,7 @@ var init_ErrorBoundary = __esm({
32808
32807
 
32809
32808
  // src/Prebuilt/services/FeatureFlags.jsx
32810
32809
  function FeatureFlagsInit() {
32811
- const roomId = (0, import_react_sdk104.useHMSStore)(import_react_sdk104.selectRoomID);
32810
+ const roomId = (0, import_react_sdk103.useHMSStore)(import_react_sdk103.selectRoomID);
32812
32811
  (0, import_react203.useEffect)(() => {
32813
32812
  if (roomId) {
32814
32813
  FeatureFlags.init(roomId);
@@ -32816,13 +32815,13 @@ function FeatureFlagsInit() {
32816
32815
  }, [roomId]);
32817
32816
  return null;
32818
32817
  }
32819
- var import_react203, import_react_sdk104, FeatureFlags;
32818
+ var import_react203, import_react_sdk103, FeatureFlags;
32820
32819
  var init_FeatureFlags = __esm({
32821
32820
  "src/Prebuilt/services/FeatureFlags.jsx"() {
32822
32821
  "use strict";
32823
32822
  init_define_process_env();
32824
32823
  import_react203 = require("react");
32825
- import_react_sdk104 = require("@100mslive/react-sdk");
32824
+ import_react_sdk103 = require("@100mslive/react-sdk");
32826
32825
  FeatureFlags = class {
32827
32826
  static init(roomId) {
32828
32827
  if (!window.HMS) {
@@ -32880,13 +32879,13 @@ var init_Init = __esm({
32880
32879
  });
32881
32880
 
32882
32881
  // src/Prebuilt/components/Input/KeyboardInputManager.js
32883
- var import_react205, import_react_sdk105, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
32882
+ var import_react205, import_react_sdk104, isEvenListenersAttached, _actions, _store, _toggleAudio, _toggleVideo, _hideSidepane, _toggleStatsForNerds, _toggleHlsStats, _keyDownHandler, _bind, _unbind, KeyboardInputManager, KeyboardHandler;
32884
32883
  var init_KeyboardInputManager = __esm({
32885
32884
  "src/Prebuilt/components/Input/KeyboardInputManager.js"() {
32886
32885
  "use strict";
32887
32886
  init_define_process_env();
32888
32887
  import_react205 = require("react");
32889
- import_react_sdk105 = require("@100mslive/react-sdk");
32888
+ import_react_sdk104 = require("@100mslive/react-sdk");
32890
32889
  init_constants();
32891
32890
  isEvenListenersAttached = false;
32892
32891
  KeyboardInputManager = class {
@@ -32894,27 +32893,27 @@ var init_KeyboardInputManager = __esm({
32894
32893
  __privateAdd(this, _actions, void 0);
32895
32894
  __privateAdd(this, _store, void 0);
32896
32895
  __privateAdd(this, _toggleAudio, () => __async(this, null, function* () {
32897
- const enabled = __privateGet(this, _store).getState(import_react_sdk105.selectIsLocalAudioEnabled);
32896
+ const enabled = __privateGet(this, _store).getState(import_react_sdk104.selectIsLocalAudioEnabled);
32898
32897
  yield __privateGet(this, _actions).setLocalAudioEnabled(!enabled);
32899
32898
  }));
32900
32899
  __privateAdd(this, _toggleVideo, () => __async(this, null, function* () {
32901
- const enabled = __privateGet(this, _store).getState(import_react_sdk105.selectIsLocalVideoEnabled);
32900
+ const enabled = __privateGet(this, _store).getState(import_react_sdk104.selectIsLocalVideoEnabled);
32902
32901
  yield __privateGet(this, _actions).setLocalVideoEnabled(!enabled);
32903
32902
  }));
32904
32903
  __privateAdd(this, _hideSidepane, () => {
32905
- if (__privateGet(this, _store).getState((0, import_react_sdk105.selectAppData)(APP_DATA.sidePane))) {
32904
+ if (__privateGet(this, _store).getState((0, import_react_sdk104.selectAppData)(APP_DATA.sidePane))) {
32906
32905
  __privateGet(this, _actions).setAppData(APP_DATA.sidePane, "");
32907
32906
  }
32908
32907
  });
32909
32908
  __privateAdd(this, _toggleStatsForNerds, () => {
32910
- const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk105.selectAppData)(APP_DATA.uiSettings));
32909
+ const uiSettings = __privateGet(this, _store).getState((0, import_react_sdk104.selectAppData)(APP_DATA.uiSettings));
32911
32910
  const statsEnabled = uiSettings.showStatsOnTiles;
32912
32911
  __privateGet(this, _actions).setAppData(APP_DATA.uiSettings, __spreadProps(__spreadValues({}, uiSettings), {
32913
32912
  showStatsOnTiles: !statsEnabled
32914
32913
  }));
32915
32914
  });
32916
32915
  __privateAdd(this, _toggleHlsStats, () => {
32917
- __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk105.selectAppData)(APP_DATA.hlsStats)));
32916
+ __privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState((0, import_react_sdk104.selectAppData)(APP_DATA.hlsStats)));
32918
32917
  });
32919
32918
  // eslint-disable-next-line complexity
32920
32919
  __privateAdd(this, _keyDownHandler, (e) => __async(this, null, function* () {
@@ -32972,8 +32971,8 @@ var init_KeyboardInputManager = __esm({
32972
32971
  _bind = new WeakMap();
32973
32972
  _unbind = new WeakMap();
32974
32973
  KeyboardHandler = () => {
32975
- const store = (0, import_react_sdk105.useHMSVanillaStore)();
32976
- const actions = (0, import_react_sdk105.useHMSActions)();
32974
+ const store = (0, import_react_sdk104.useHMSVanillaStore)();
32975
+ const actions = (0, import_react_sdk104.useHMSActions)();
32977
32976
  (0, import_react205.useEffect)(() => {
32978
32977
  const keyboardManager = new KeyboardInputManager(store, actions);
32979
32978
  keyboardManager.bindAllShortcuts();
@@ -33012,14 +33011,14 @@ var init_useRedirectToLeave = __esm({
33012
33011
  });
33013
33012
 
33014
33013
  // src/Prebuilt/AppStateContext.tsx
33015
- var import_react207, import_react_use46, import_react_sdk106, AppStateContext, useHMSAppStateContext, useAppStateManager;
33014
+ var import_react207, import_react_use46, import_react_sdk105, AppStateContext, useHMSAppStateContext, useAppStateManager;
33016
33015
  var init_AppStateContext = __esm({
33017
33016
  "src/Prebuilt/AppStateContext.tsx"() {
33018
33017
  "use strict";
33019
33018
  init_define_process_env();
33020
33019
  import_react207 = __toESM(require("react"));
33021
33020
  import_react_use46 = require("react-use");
33022
- import_react_sdk106 = require("@100mslive/react-sdk");
33021
+ import_react_sdk105 = require("@100mslive/react-sdk");
33023
33022
  init_VBHandler();
33024
33023
  init_roomLayoutProvider();
33025
33024
  init_useRedirectToLeave();
@@ -33040,7 +33039,7 @@ var init_AppStateContext = __esm({
33040
33039
  useAppStateManager = () => {
33041
33040
  const roomLayout = useRoomLayout();
33042
33041
  const [activeState, setActiveState] = import_react207.default.useState();
33043
- const roomState = (0, import_react_sdk106.useHMSStore)(import_react_sdk106.selectRoomState);
33042
+ const roomState = (0, import_react_sdk105.useHMSStore)(import_react_sdk105.selectRoomState);
33044
33043
  const prevRoomState = (0, import_react_use46.usePreviousDistinct)(roomState);
33045
33044
  const { isLeaveScreenEnabled } = useRoomLayoutLeaveScreen();
33046
33045
  const { isPreviewScreenEnabled } = useRoomLayoutPreviewScreen();
@@ -33052,14 +33051,14 @@ var init_AppStateContext = __esm({
33052
33051
  if (!roomLayout) {
33053
33052
  return;
33054
33053
  }
33055
- if (roomState === import_react_sdk106.HMSRoomState.Connected) {
33054
+ if (roomState === import_react_sdk105.HMSRoomState.Connected) {
33056
33055
  setActiveState("meeting" /* MEETING */);
33057
- } else if (prevRoomState && [import_react_sdk106.HMSRoomState.Reconnecting, import_react_sdk106.HMSRoomState.Connected, import_react_sdk106.HMSRoomState.Connecting].includes(prevRoomState) && [import_react_sdk106.HMSRoomState.Disconnecting, import_react_sdk106.HMSRoomState.Disconnected].includes(roomState)) {
33056
+ } else if (prevRoomState && [import_react_sdk105.HMSRoomState.Reconnecting, import_react_sdk105.HMSRoomState.Connected, import_react_sdk105.HMSRoomState.Connecting].includes(prevRoomState) && [import_react_sdk105.HMSRoomState.Disconnecting, import_react_sdk105.HMSRoomState.Disconnected].includes(roomState)) {
33058
33057
  const goTo = isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */;
33059
33058
  setActiveState(isLeaveScreenEnabled ? "leave" /* LEAVE */ : goTo);
33060
33059
  VBHandler.reset();
33061
33060
  redirectToLeave(1e3);
33062
- } else if (!prevRoomState && roomState === import_react_sdk106.HMSRoomState.Disconnected) {
33061
+ } else if (!prevRoomState && roomState === import_react_sdk105.HMSRoomState.Disconnected) {
33063
33062
  setActiveState(isPreviewScreenEnabled ? "preview" /* PREVIEW */ : "meeting" /* MEETING */);
33064
33063
  }
33065
33064
  }, [roomLayout, roomState, isLeaveScreenEnabled, isPreviewScreenEnabled, prevRoomState, redirectToLeave]);
@@ -33194,7 +33193,7 @@ var init_MwebLandscapePrompt = __esm({
33194
33193
 
33195
33194
  // src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx
33196
33195
  function AutoplayBlockedModal() {
33197
- const { error, resetError, unblockAudio } = (0, import_react_sdk107.useAutoplayError)();
33196
+ const { error, resetError, unblockAudio } = (0, import_react_sdk106.useAutoplayError)();
33198
33197
  return /* @__PURE__ */ import_react210.default.createElement(
33199
33198
  Dialog.Root,
33200
33199
  {
@@ -33219,33 +33218,33 @@ function AutoplayBlockedModal() {
33219
33218
  )))
33220
33219
  );
33221
33220
  }
33222
- var import_react210, import_react_sdk107;
33221
+ var import_react210, import_react_sdk106;
33223
33222
  var init_AutoplayBlockedModal = __esm({
33224
33223
  "src/Prebuilt/components/Notifications/AutoplayBlockedModal.tsx"() {
33225
33224
  "use strict";
33226
33225
  init_define_process_env();
33227
33226
  import_react210 = __toESM(require("react"));
33228
- import_react_sdk107 = require("@100mslive/react-sdk");
33227
+ import_react_sdk106 = require("@100mslive/react-sdk");
33229
33228
  init_src();
33230
33229
  init_DialogContent2();
33231
33230
  }
33232
33231
  });
33233
33232
 
33234
33233
  // src/Prebuilt/components/Notifications/ChatNotifications.tsx
33235
- var import_react211, import_uuid13, import_react_sdk108, import_react_icons99, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
33234
+ var import_react211, import_uuid13, import_react_sdk107, import_react_icons99, NOTIFICATION_TIME_DIFFERENCE, ChatNotifications;
33236
33235
  var init_ChatNotifications = __esm({
33237
33236
  "src/Prebuilt/components/Notifications/ChatNotifications.tsx"() {
33238
33237
  "use strict";
33239
33238
  init_define_process_env();
33240
33239
  import_react211 = __toESM(require("react"));
33241
33240
  import_uuid13 = require("uuid");
33242
- import_react_sdk108 = require("@100mslive/react-sdk");
33241
+ import_react_sdk107 = require("@100mslive/react-sdk");
33243
33242
  import_react_icons99 = require("@100mslive/react-icons");
33244
33243
  init_ToastManager();
33245
33244
  NOTIFICATION_TIME_DIFFERENCE = 5e3;
33246
33245
  ChatNotifications = () => {
33247
- const chatState = (0, import_react_sdk108.useHMSStore)((0, import_react_sdk108.selectSessionStore)("chatState" /* CHAT_STATE */));
33248
- const localPeerId = (0, import_react_sdk108.useHMSStore)(import_react_sdk108.selectLocalPeerID);
33246
+ const chatState = (0, import_react_sdk107.useHMSStore)((0, import_react_sdk107.selectSessionStore)("chatState" /* CHAT_STATE */));
33247
+ const localPeerId = (0, import_react_sdk107.useHMSStore)(import_react_sdk107.selectLocalPeerID);
33249
33248
  (0, import_react211.useEffect)(() => {
33250
33249
  var _a8, _b7;
33251
33250
  if (!chatState || ((_a8 = chatState.updatedBy) == null ? void 0 : _a8.peerId) === localPeerId) {
@@ -33268,13 +33267,13 @@ var init_ChatNotifications = __esm({
33268
33267
  });
33269
33268
 
33270
33269
  // src/Prebuilt/components/Toast/ToastConfig.jsx
33271
- var import_react212, import_react_sdk109, import_react_icons100, ChatAction, HandRaiseAction, ToastConfig;
33270
+ var import_react212, import_react_sdk108, import_react_icons100, ChatAction, HandRaiseAction, ToastConfig;
33272
33271
  var init_ToastConfig = __esm({
33273
33272
  "src/Prebuilt/components/Toast/ToastConfig.jsx"() {
33274
33273
  "use strict";
33275
33274
  init_define_process_env();
33276
33275
  import_react212 = __toESM(require("react"));
33277
- import_react_sdk109 = require("@100mslive/react-sdk");
33276
+ import_react_sdk108 = require("@100mslive/react-sdk");
33278
33277
  import_react_icons100 = require("@100mslive/react-icons");
33279
33278
  init_Button2();
33280
33279
  init_roomLayoutProvider();
@@ -33290,10 +33289,10 @@ var init_ToastConfig = __esm({
33290
33289
  });
33291
33290
  HandRaiseAction = import_react212.default.forwardRef(({ id = "", isSingleHandRaise = true }, ref) => {
33292
33291
  var _a8, _b7, _c;
33293
- const hmsActions = (0, import_react_sdk109.useHMSActions)();
33292
+ const hmsActions = (0, import_react_sdk108.useHMSActions)();
33294
33293
  const toggleSidepane = useSidepaneToggle(SIDE_PANE_OPTIONS.PARTICIPANTS);
33295
33294
  const isParticipantsOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.PARTICIPANTS);
33296
- const peer = (0, import_react_sdk109.useHMSStore)((0, import_react_sdk109.selectPeerByID)(id));
33295
+ const peer = (0, import_react_sdk108.useHMSStore)((0, import_react_sdk108.selectPeerByID)(id));
33297
33296
  const layout = useRoomLayout();
33298
33297
  const {
33299
33298
  bring_to_stage_label,
@@ -33531,21 +33530,21 @@ var init_ToastBatcher = __esm({
33531
33530
  });
33532
33531
 
33533
33532
  // src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx
33534
- var import_react213, import_react_sdk110, HandRaisedNotifications;
33533
+ var import_react213, import_react_sdk109, HandRaisedNotifications;
33535
33534
  var init_HandRaisedNotifications = __esm({
33536
33535
  "src/Prebuilt/components/Notifications/HandRaisedNotifications.tsx"() {
33537
33536
  "use strict";
33538
33537
  init_define_process_env();
33539
33538
  import_react213 = require("react");
33540
- import_react_sdk110 = require("@100mslive/react-sdk");
33539
+ import_react_sdk109 = require("@100mslive/react-sdk");
33541
33540
  init_ToastBatcher();
33542
33541
  init_useRoomLayoutScreen();
33543
33542
  init_useUISettings();
33544
33543
  init_constants();
33545
33544
  HandRaisedNotifications = () => {
33546
- const notification = (0, import_react_sdk110.useHMSNotifications)(import_react_sdk110.HMSNotificationTypes.HAND_RAISE_CHANGED);
33547
- const roomState = (0, import_react_sdk110.useHMSStore)(import_react_sdk110.selectRoomState);
33548
- const vanillaStore = (0, import_react_sdk110.useHMSVanillaStore)();
33545
+ const notification = (0, import_react_sdk109.useHMSNotifications)(import_react_sdk109.HMSNotificationTypes.HAND_RAISE_CHANGED);
33546
+ const roomState = (0, import_react_sdk109.useHMSStore)(import_react_sdk109.selectRoomState);
33547
+ const vanillaStore = (0, import_react_sdk109.useHMSVanillaStore)();
33549
33548
  const { on_stage_exp } = useRoomLayoutConferencingScreen().elements || {};
33550
33549
  const isSubscribing = !!useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.METADATA_UPDATED);
33551
33550
  (0, import_react213.useEffect)(() => {
@@ -33553,11 +33552,11 @@ var init_HandRaisedNotifications = __esm({
33553
33552
  if (!(notification == null ? void 0 : notification.data)) {
33554
33553
  return;
33555
33554
  }
33556
- if (roomState !== import_react_sdk110.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
33555
+ if (roomState !== import_react_sdk109.HMSRoomState.Connected || notification.data.isLocal || !isSubscribing) {
33557
33556
  return;
33558
33557
  }
33559
- const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk110.selectHasPeerHandRaised)(notification.data.id));
33560
- const peer = vanillaStore.getState((0, import_react_sdk110.selectPeerByID)(notification.data.id));
33558
+ const hasPeerHandRaised = vanillaStore.getState((0, import_react_sdk109.selectHasPeerHandRaised)(notification.data.id));
33559
+ const peer = vanillaStore.getState((0, import_react_sdk109.selectPeerByID)(notification.data.id));
33561
33560
  if (hasPeerHandRaised) {
33562
33561
  const showCTA = (peer == null ? void 0 : peer.roleName) && ((_a8 = (on_stage_exp == null ? void 0 : on_stage_exp.off_stage_roles) || []) == null ? void 0 : _a8.includes(peer.roleName));
33563
33562
  ToastBatcher.showToast({ notification, type: showCTA ? "RAISE_HAND_HLS" : "RAISE_HAND" });
@@ -33570,17 +33569,17 @@ var init_HandRaisedNotifications = __esm({
33570
33569
  });
33571
33570
 
33572
33571
  // src/Prebuilt/components/Notifications/InitErrorModal.tsx
33573
- var import_react214, import_react_sdk111, InitErrorModal;
33572
+ var import_react214, import_react_sdk110, InitErrorModal;
33574
33573
  var init_InitErrorModal = __esm({
33575
33574
  "src/Prebuilt/components/Notifications/InitErrorModal.tsx"() {
33576
33575
  "use strict";
33577
33576
  init_define_process_env();
33578
33577
  import_react214 = __toESM(require("react"));
33579
- import_react_sdk111 = require("@100mslive/react-sdk");
33578
+ import_react_sdk110 = require("@100mslive/react-sdk");
33580
33579
  init_src();
33581
33580
  init_DialogContent2();
33582
33581
  InitErrorModal = () => {
33583
- const notification = (0, import_react_sdk111.useHMSNotifications)(import_react_sdk111.HMSNotificationTypes.ERROR);
33582
+ const notification = (0, import_react_sdk110.useHMSNotifications)(import_react_sdk110.HMSNotificationTypes.ERROR);
33584
33583
  const [showModal, setShowModal] = (0, import_react214.useState)(false);
33585
33584
  const [info, setInfo] = (0, import_react214.useState)({ title: "Init Error", description: "" });
33586
33585
  (0, import_react214.useEffect)(() => {
@@ -33609,23 +33608,23 @@ var init_InitErrorModal = __esm({
33609
33608
  });
33610
33609
 
33611
33610
  // src/Prebuilt/components/Notifications/PeerNotifications.tsx
33612
- var import_react215, import_react_sdk112, notificationTypes, PeerNotifications;
33611
+ var import_react215, import_react_sdk111, notificationTypes, PeerNotifications;
33613
33612
  var init_PeerNotifications = __esm({
33614
33613
  "src/Prebuilt/components/Notifications/PeerNotifications.tsx"() {
33615
33614
  "use strict";
33616
33615
  init_define_process_env();
33617
33616
  import_react215 = require("react");
33618
- import_react_sdk112 = require("@100mslive/react-sdk");
33617
+ import_react_sdk111 = require("@100mslive/react-sdk");
33619
33618
  init_ToastBatcher();
33620
33619
  init_useUISettings();
33621
33620
  init_constants();
33622
33621
  notificationTypes = [
33623
- import_react_sdk112.HMSNotificationTypes.PEER_LIST,
33624
- import_react_sdk112.HMSNotificationTypes.PEER_JOINED,
33625
- import_react_sdk112.HMSNotificationTypes.PEER_LEFT
33622
+ import_react_sdk111.HMSNotificationTypes.PEER_LIST,
33623
+ import_react_sdk111.HMSNotificationTypes.PEER_JOINED,
33624
+ import_react_sdk111.HMSNotificationTypes.PEER_LEFT
33626
33625
  ];
33627
33626
  PeerNotifications = () => {
33628
- const notification = (0, import_react_sdk112.useHMSNotifications)(notificationTypes);
33627
+ const notification = (0, import_react_sdk111.useHMSNotifications)(notificationTypes);
33629
33628
  const isPeerJoinSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_JOINED);
33630
33629
  const isPeerLeftSubscribed = useSubscribedNotifications(SUBSCRIBED_NOTIFICATIONS.PEER_LEFT);
33631
33630
  const [selectedPeer, setPeerSelector] = useSetSubscribedChatSelector(CHAT_SELECTOR.PEER);
@@ -33635,17 +33634,17 @@ var init_PeerNotifications = __esm({
33635
33634
  }
33636
33635
  console.debug(`[${notification.type}]`, notification);
33637
33636
  switch (notification.type) {
33638
- case import_react_sdk112.HMSNotificationTypes.PEER_LIST:
33637
+ case import_react_sdk111.HMSNotificationTypes.PEER_LIST:
33639
33638
  if (!isPeerJoinSubscribed || notification.data.length === 0) {
33640
33639
  return;
33641
33640
  }
33642
33641
  break;
33643
- case import_react_sdk112.HMSNotificationTypes.PEER_JOINED:
33642
+ case import_react_sdk111.HMSNotificationTypes.PEER_JOINED:
33644
33643
  if (!isPeerJoinSubscribed) {
33645
33644
  return;
33646
33645
  }
33647
33646
  break;
33648
- case import_react_sdk112.HMSNotificationTypes.PEER_LEFT:
33647
+ case import_react_sdk111.HMSNotificationTypes.PEER_LEFT:
33649
33648
  if (selectedPeer.id === notification.data.id) {
33650
33649
  setPeerSelector({});
33651
33650
  }
@@ -33681,7 +33680,7 @@ var init_ios_perm_0 = __esm({
33681
33680
 
33682
33681
  // src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
33683
33682
  function PermissionErrorModal() {
33684
- const notification = (0, import_react_sdk113.useHMSNotifications)(import_react_sdk113.HMSNotificationTypes.ERROR);
33683
+ const notification = (0, import_react_sdk112.useHMSNotifications)(import_react_sdk112.HMSNotificationTypes.ERROR);
33685
33684
  const [deviceType, setDeviceType] = (0, import_react216.useState)("");
33686
33685
  const [isSystemError, setIsSystemError] = (0, import_react216.useState)(false);
33687
33686
  const isMobile = (0, import_react_use48.useMedia)(config.media.md);
@@ -33740,14 +33739,14 @@ function PermissionErrorModal() {
33740
33739
  !isMobile ? /* @__PURE__ */ import_react216.default.createElement(Flex, { justify: "end", css: { w: "100%" } }, /* @__PURE__ */ import_react216.default.createElement(Button, { outlined: true, variant: "standard", onClick: () => setDeviceType("") }, "Dismiss")) : null
33741
33740
  ))) : null;
33742
33741
  }
33743
- var import_react216, import_react_use48, import_react_sdk113;
33742
+ var import_react216, import_react_use48, import_react_sdk112;
33744
33743
  var init_PermissionErrorModal = __esm({
33745
33744
  "src/Prebuilt/components/Notifications/PermissionErrorModal.tsx"() {
33746
33745
  "use strict";
33747
33746
  init_define_process_env();
33748
33747
  import_react216 = __toESM(require("react"));
33749
33748
  import_react_use48 = require("react-use");
33750
- import_react_sdk113 = require("@100mslive/react-sdk");
33749
+ import_react_sdk112 = require("@100mslive/react-sdk");
33751
33750
  init_src();
33752
33751
  init_android_perm_1();
33753
33752
  init_ios_perm_0();
@@ -33756,36 +33755,36 @@ var init_PermissionErrorModal = __esm({
33756
33755
  });
33757
33756
 
33758
33757
  // src/Prebuilt/components/Notifications/ReconnectNotifications.tsx
33759
- var import_react217, import_react_sdk114, notificationTypes2, notificationId, ReconnectNotifications;
33758
+ var import_react217, import_react_sdk113, notificationTypes2, notificationId, ReconnectNotifications;
33760
33759
  var init_ReconnectNotifications = __esm({
33761
33760
  "src/Prebuilt/components/Notifications/ReconnectNotifications.tsx"() {
33762
33761
  "use strict";
33763
33762
  init_define_process_env();
33764
33763
  import_react217 = __toESM(require("react"));
33765
- import_react_sdk114 = require("@100mslive/react-sdk");
33764
+ import_react_sdk113 = require("@100mslive/react-sdk");
33766
33765
  init_src();
33767
33766
  init_ToastConfig();
33768
33767
  init_ToastManager();
33769
33768
  notificationTypes2 = [
33770
- import_react_sdk114.HMSNotificationTypes.RECONNECTED,
33771
- import_react_sdk114.HMSNotificationTypes.RECONNECTING,
33772
- import_react_sdk114.HMSNotificationTypes.ERROR
33769
+ import_react_sdk113.HMSNotificationTypes.RECONNECTED,
33770
+ import_react_sdk113.HMSNotificationTypes.RECONNECTING,
33771
+ import_react_sdk113.HMSNotificationTypes.ERROR
33773
33772
  ];
33774
33773
  notificationId = null;
33775
33774
  ReconnectNotifications = () => {
33776
- const notification = (0, import_react_sdk114.useHMSNotifications)(notificationTypes2);
33775
+ const notification = (0, import_react_sdk113.useHMSNotifications)(notificationTypes2);
33777
33776
  const [open, setOpen] = (0, import_react217.useState)(false);
33778
33777
  (0, import_react217.useEffect)(() => {
33779
33778
  var _a8, _b7;
33780
33779
  if (!notification) {
33781
33780
  return;
33782
33781
  }
33783
- if (notification.type === import_react_sdk114.HMSNotificationTypes.ERROR && ((_a8 = notification.data) == null ? void 0 : _a8.isTerminal)) {
33782
+ if (notification.type === import_react_sdk113.HMSNotificationTypes.ERROR && ((_a8 = notification.data) == null ? void 0 : _a8.isTerminal)) {
33784
33783
  setOpen(false);
33785
- } else if (notification.type === import_react_sdk114.HMSNotificationTypes.RECONNECTED) {
33784
+ } else if (notification.type === import_react_sdk113.HMSNotificationTypes.RECONNECTED) {
33786
33785
  notificationId = ToastManager.replaceToast(notificationId, ToastConfig.RECONNECTED.single());
33787
33786
  setOpen(false);
33788
- } else if (notification.type === import_react_sdk114.HMSNotificationTypes.RECONNECTING) {
33787
+ } else if (notification.type === import_react_sdk113.HMSNotificationTypes.RECONNECTING) {
33789
33788
  notificationId = ToastManager.replaceToast(
33790
33789
  notificationId,
33791
33790
  ToastConfig.RECONNECTING.single((_b7 = notification.data) == null ? void 0 : _b7.message)
@@ -33815,30 +33814,30 @@ var init_ReconnectNotifications = __esm({
33815
33814
  });
33816
33815
 
33817
33816
  // src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
33818
- var import_react218, import_react_sdk115, import_react_icons101, TrackBulkUnmuteModal;
33817
+ var import_react218, import_react_sdk114, import_react_icons101, TrackBulkUnmuteModal;
33819
33818
  var init_TrackBulkUnmuteModal = __esm({
33820
33819
  "src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx"() {
33821
33820
  "use strict";
33822
33821
  init_define_process_env();
33823
33822
  import_react218 = __toESM(require("react"));
33824
- import_react_sdk115 = require("@100mslive/react-sdk");
33823
+ import_react_sdk114 = require("@100mslive/react-sdk");
33825
33824
  import_react_icons101 = require("@100mslive/react-icons");
33826
33825
  init_DialogContent2();
33827
33826
  TrackBulkUnmuteModal = () => {
33828
- const hmsActions = (0, import_react_sdk115.useHMSActions)();
33827
+ const hmsActions = (0, import_react_sdk114.useHMSActions)();
33829
33828
  const [muteNotification, setMuteNotification] = (0, import_react218.useState)(null);
33830
- const notification = (0, import_react_sdk115.useHMSNotifications)([
33831
- import_react_sdk115.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
33832
- import_react_sdk115.HMSNotificationTypes.ROOM_ENDED,
33833
- import_react_sdk115.HMSNotificationTypes.REMOVED_FROM_ROOM
33829
+ const notification = (0, import_react_sdk114.useHMSNotifications)([
33830
+ import_react_sdk114.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST,
33831
+ import_react_sdk114.HMSNotificationTypes.ROOM_ENDED,
33832
+ import_react_sdk114.HMSNotificationTypes.REMOVED_FROM_ROOM
33834
33833
  ]);
33835
33834
  (0, import_react218.useEffect)(() => {
33836
33835
  switch (notification == null ? void 0 : notification.type) {
33837
- case import_react_sdk115.HMSNotificationTypes.REMOVED_FROM_ROOM:
33838
- case import_react_sdk115.HMSNotificationTypes.ROOM_ENDED:
33836
+ case import_react_sdk114.HMSNotificationTypes.REMOVED_FROM_ROOM:
33837
+ case import_react_sdk114.HMSNotificationTypes.ROOM_ENDED:
33839
33838
  setMuteNotification(null);
33840
33839
  break;
33841
- case import_react_sdk115.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
33840
+ case import_react_sdk114.HMSNotificationTypes.CHANGE_MULTI_TRACK_STATE_REQUEST:
33842
33841
  if (notification == null ? void 0 : notification.data.enabled) {
33843
33842
  setMuteNotification(notification.data);
33844
33843
  }
@@ -33872,21 +33871,21 @@ var init_TrackBulkUnmuteModal = __esm({
33872
33871
  });
33873
33872
 
33874
33873
  // src/Prebuilt/components/Notifications/TrackNotifications.tsx
33875
- var import_react219, import_react_sdk116, notificationTypes3, TrackNotifications;
33874
+ var import_react219, import_react_sdk115, notificationTypes3, TrackNotifications;
33876
33875
  var init_TrackNotifications = __esm({
33877
33876
  "src/Prebuilt/components/Notifications/TrackNotifications.tsx"() {
33878
33877
  "use strict";
33879
33878
  init_define_process_env();
33880
33879
  import_react219 = require("react");
33881
- import_react_sdk116 = require("@100mslive/react-sdk");
33880
+ import_react_sdk115 = require("@100mslive/react-sdk");
33882
33881
  notificationTypes3 = [
33883
- import_react_sdk116.HMSNotificationTypes.TRACK_ADDED,
33884
- import_react_sdk116.HMSNotificationTypes.TRACK_REMOVED,
33885
- import_react_sdk116.HMSNotificationTypes.TRACK_MUTED,
33886
- import_react_sdk116.HMSNotificationTypes.TRACK_UNMUTED
33882
+ import_react_sdk115.HMSNotificationTypes.TRACK_ADDED,
33883
+ import_react_sdk115.HMSNotificationTypes.TRACK_REMOVED,
33884
+ import_react_sdk115.HMSNotificationTypes.TRACK_MUTED,
33885
+ import_react_sdk115.HMSNotificationTypes.TRACK_UNMUTED
33887
33886
  ];
33888
33887
  TrackNotifications = () => {
33889
- const notification = (0, import_react_sdk116.useHMSNotifications)(notificationTypes3);
33888
+ const notification = (0, import_react_sdk115.useHMSNotifications)(notificationTypes3);
33890
33889
  (0, import_react219.useEffect)(() => {
33891
33890
  if (notification) {
33892
33891
  console.debug(`[${notification.type}]`, notification);
@@ -33898,30 +33897,30 @@ var init_TrackNotifications = __esm({
33898
33897
  });
33899
33898
 
33900
33899
  // src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
33901
- var import_react220, import_react_sdk117, import_react_icons102, TrackUnmuteModal;
33900
+ var import_react220, import_react_sdk116, import_react_icons102, TrackUnmuteModal;
33902
33901
  var init_TrackUnmuteModal = __esm({
33903
33902
  "src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx"() {
33904
33903
  "use strict";
33905
33904
  init_define_process_env();
33906
33905
  import_react220 = __toESM(require("react"));
33907
- import_react_sdk117 = require("@100mslive/react-sdk");
33906
+ import_react_sdk116 = require("@100mslive/react-sdk");
33908
33907
  import_react_icons102 = require("@100mslive/react-icons");
33909
33908
  init_DialogContent2();
33910
33909
  TrackUnmuteModal = () => {
33911
- const hmsActions = (0, import_react_sdk117.useHMSActions)();
33912
- const notification = (0, import_react_sdk117.useHMSNotifications)([
33913
- import_react_sdk117.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
33914
- import_react_sdk117.HMSNotificationTypes.ROOM_ENDED,
33915
- import_react_sdk117.HMSNotificationTypes.REMOVED_FROM_ROOM
33910
+ const hmsActions = (0, import_react_sdk116.useHMSActions)();
33911
+ const notification = (0, import_react_sdk116.useHMSNotifications)([
33912
+ import_react_sdk116.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST,
33913
+ import_react_sdk116.HMSNotificationTypes.ROOM_ENDED,
33914
+ import_react_sdk116.HMSNotificationTypes.REMOVED_FROM_ROOM
33916
33915
  ]);
33917
33916
  const [muteNotification, setMuteNotification] = (0, import_react220.useState)(null);
33918
33917
  (0, import_react220.useEffect)(() => {
33919
33918
  switch (notification == null ? void 0 : notification.type) {
33920
- case import_react_sdk117.HMSNotificationTypes.REMOVED_FROM_ROOM:
33921
- case import_react_sdk117.HMSNotificationTypes.ROOM_ENDED:
33919
+ case import_react_sdk116.HMSNotificationTypes.REMOVED_FROM_ROOM:
33920
+ case import_react_sdk116.HMSNotificationTypes.ROOM_ENDED:
33922
33921
  setMuteNotification(null);
33923
33922
  break;
33924
- case import_react_sdk117.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
33923
+ case import_react_sdk116.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
33925
33924
  if (notification == null ? void 0 : notification.data.enabled) {
33926
33925
  setMuteNotification(notification.data);
33927
33926
  }
@@ -33954,17 +33953,17 @@ var init_TrackUnmuteModal = __esm({
33954
33953
  // src/Prebuilt/components/Notifications/Notifications.tsx
33955
33954
  function Notifications() {
33956
33955
  var _a8, _b7;
33957
- const localPeerID = (0, import_react_sdk118.useHMSStore)(import_react_sdk118.selectLocalPeerID);
33958
- const notification = (0, import_react_sdk118.useHMSNotifications)();
33956
+ const localPeerID = (0, import_react_sdk117.useHMSStore)(import_react_sdk117.selectLocalPeerID);
33957
+ const notification = (0, import_react_sdk117.useHMSNotifications)();
33959
33958
  const subscribedNotifications = useSubscribedNotifications() || {};
33960
- const roomState = (0, import_react_sdk118.useHMSStore)(import_react_sdk118.selectRoomState);
33959
+ const roomState = (0, import_react_sdk117.useHMSStore)(import_react_sdk117.selectRoomState);
33961
33960
  const updateRoomLayoutForRole = useUpdateRoomLayout();
33962
33961
  const isNotificationDisabled = useIsNotificationDisabled();
33963
33962
  const screenProps = useRoomLayoutConferencingScreen();
33964
- const vanillaStore = (0, import_react_sdk118.useHMSVanillaStore)();
33963
+ const vanillaStore = (0, import_react_sdk117.useHMSVanillaStore)();
33965
33964
  const togglePollView = usePollViewToggle();
33966
- const { showNotification } = (0, import_react_sdk118.useAwayNotifications)();
33967
- const amIScreenSharing = (0, import_react_sdk118.useHMSStore)(import_react_sdk118.selectIsLocalScreenShared);
33965
+ const { showNotification } = (0, import_react_sdk117.useAwayNotifications)();
33966
+ const amIScreenSharing = (0, import_react_sdk117.useHMSStore)(import_react_sdk117.selectIsLocalScreenShared);
33968
33967
  const logoURL = (_b7 = (_a8 = useRoomLayout()) == null ? void 0 : _a8.logo) == null ? void 0 : _b7.url;
33969
33968
  const handleRoleChangeDenied = (0, import_react221.useCallback)((request) => {
33970
33969
  ToastManager.addToast({
@@ -33972,17 +33971,17 @@ function Notifications() {
33972
33971
  variant: "error"
33973
33972
  });
33974
33973
  }, []);
33975
- (0, import_react_sdk118.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33974
+ (0, import_react_sdk117.useCustomEvent)({ type: ROLE_CHANGE_DECLINED, onEvent: handleRoleChangeDenied });
33976
33975
  (0, import_react221.useEffect)(() => {
33977
33976
  var _a9, _b8, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m2, _n2, _o2, _p;
33978
33977
  if (!notification || isNotificationDisabled) {
33979
33978
  return;
33980
33979
  }
33981
33980
  switch (notification.type) {
33982
- case import_react_sdk118.HMSNotificationTypes.NAME_UPDATED:
33981
+ case import_react_sdk117.HMSNotificationTypes.NAME_UPDATED:
33983
33982
  console.log(notification.data.id + " changed their name to " + notification.data.name);
33984
33983
  break;
33985
- case import_react_sdk118.HMSNotificationTypes.ERROR:
33984
+ case import_react_sdk117.HMSNotificationTypes.ERROR:
33986
33985
  if (((_a9 = notification.data) == null ? void 0 : _a9.isTerminal) && ((_b8 = notification.data) == null ? void 0 : _b8.action) !== "INIT") {
33987
33986
  if ([500, 6008].includes((_c = notification.data) == null ? void 0 : _c.code)) {
33988
33987
  ToastManager.addToast({
@@ -34014,7 +34013,7 @@ function Notifications() {
34014
34013
  title: `Error: ${(_k = notification.data) == null ? void 0 : _k.message} - ${(_l = notification.data) == null ? void 0 : _l.description}`
34015
34014
  });
34016
34015
  break;
34017
- case import_react_sdk118.HMSNotificationTypes.ROLE_UPDATED: {
34016
+ case import_react_sdk117.HMSNotificationTypes.ROLE_UPDATED: {
34018
34017
  if (((_m2 = notification.data) == null ? void 0 : _m2.isLocal) && ((_n2 = notification.data) == null ? void 0 : _n2.roleName)) {
34019
34018
  ToastManager.addToast({
34020
34019
  title: `You are now a ${notification.data.roleName}`
@@ -34023,7 +34022,7 @@ function Notifications() {
34023
34022
  }
34024
34023
  break;
34025
34024
  }
34026
- case import_react_sdk118.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
34025
+ case import_react_sdk117.HMSNotificationTypes.CHANGE_TRACK_STATE_REQUEST:
34027
34026
  const track = (_o2 = notification.data) == null ? void 0 : _o2.track;
34028
34027
  if (!notification.data.enabled) {
34029
34028
  ToastManager.addToast({
@@ -34032,21 +34031,21 @@ function Notifications() {
34032
34031
  });
34033
34032
  }
34034
34033
  break;
34035
- case import_react_sdk118.HMSNotificationTypes.REMOVED_FROM_ROOM:
34036
- case import_react_sdk118.HMSNotificationTypes.ROOM_ENDED:
34034
+ case import_react_sdk117.HMSNotificationTypes.REMOVED_FROM_ROOM:
34035
+ case import_react_sdk117.HMSNotificationTypes.ROOM_ENDED:
34037
34036
  ToastManager.addToast({
34038
34037
  title: `${notification.message}.
34039
34038
  ${notification.data.reason && `Reason: ${notification.data.reason}`}`
34040
34039
  });
34041
34040
  break;
34042
- case import_react_sdk118.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
34041
+ case import_react_sdk117.HMSNotificationTypes.DEVICE_CHANGE_UPDATE:
34043
34042
  ToastManager.addToast({
34044
34043
  title: notification.message
34045
34044
  });
34046
34045
  break;
34047
- case import_react_sdk118.HMSNotificationTypes.POLL_STARTED:
34046
+ case import_react_sdk117.HMSNotificationTypes.POLL_STARTED:
34048
34047
  if (notification.data.startedBy !== localPeerID && screenProps.screenType !== "hls_live_streaming") {
34049
- const pollStartedBy = vanillaStore.getState((0, import_react_sdk118.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
34048
+ const pollStartedBy = vanillaStore.getState((0, import_react_sdk117.selectPeerNameByID)(notification.data.startedBy)) || "Participant";
34050
34049
  const pollToastID = ToastManager.addToast({
34051
34050
  title: `${pollStartedBy} started a ${notification.data.type}: ${notification.data.title}`,
34052
34051
  action: /* @__PURE__ */ import_react221.default.createElement(
@@ -34068,14 +34067,14 @@ function Notifications() {
34068
34067
  pollToastKey[notification.data.id] = pollToastID;
34069
34068
  }
34070
34069
  break;
34071
- case import_react_sdk118.HMSNotificationTypes.POLL_STOPPED:
34070
+ case import_react_sdk117.HMSNotificationTypes.POLL_STOPPED:
34072
34071
  const pollID = notification == null ? void 0 : notification.data.id;
34073
34072
  if (pollID && (pollToastKey == null ? void 0 : pollToastKey[pollID])) {
34074
34073
  ToastManager.removeToast(pollToastKey == null ? void 0 : pollToastKey[notification.data.id]);
34075
34074
  delete pollToastKey[notification == null ? void 0 : notification.data.id];
34076
34075
  }
34077
34076
  break;
34078
- case import_react_sdk118.HMSNotificationTypes.NEW_MESSAGE:
34077
+ case import_react_sdk117.HMSNotificationTypes.NEW_MESSAGE:
34079
34078
  if (amIScreenSharing) {
34080
34079
  showNotification(`New message from ${notification.data.senderName}`, {
34081
34080
  body: notification.data.message,
@@ -34090,15 +34089,15 @@ function Notifications() {
34090
34089
  if (isNotificationDisabled) {
34091
34090
  return null;
34092
34091
  }
34093
- return /* @__PURE__ */ import_react221.default.createElement(import_react221.default.Fragment, null, /* @__PURE__ */ import_react221.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react221.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react221.default.createElement(TrackNotifications, null), roomState === import_react_sdk118.HMSRoomState.Connected ? /* @__PURE__ */ import_react221.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react221.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react221.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react221.default.createElement(PermissionErrorModal, null), /* @__PURE__ */ import_react221.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react221.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react221.default.createElement(HandRaisedNotifications, null));
34092
+ return /* @__PURE__ */ import_react221.default.createElement(import_react221.default.Fragment, null, /* @__PURE__ */ import_react221.default.createElement(TrackUnmuteModal, null), /* @__PURE__ */ import_react221.default.createElement(TrackBulkUnmuteModal, null), /* @__PURE__ */ import_react221.default.createElement(TrackNotifications, null), roomState === import_react_sdk117.HMSRoomState.Connected ? /* @__PURE__ */ import_react221.default.createElement(PeerNotifications, null) : null, /* @__PURE__ */ import_react221.default.createElement(ReconnectNotifications, null), /* @__PURE__ */ import_react221.default.createElement(AutoplayBlockedModal, null), /* @__PURE__ */ import_react221.default.createElement(PermissionErrorModal, null), /* @__PURE__ */ import_react221.default.createElement(InitErrorModal, null), /* @__PURE__ */ import_react221.default.createElement(ChatNotifications, null), /* @__PURE__ */ import_react221.default.createElement(HandRaisedNotifications, null));
34094
34093
  }
34095
- var import_react221, import_react_sdk118, import_react_icons103, pollToastKey;
34094
+ var import_react221, import_react_sdk117, import_react_icons103, pollToastKey;
34096
34095
  var init_Notifications = __esm({
34097
34096
  "src/Prebuilt/components/Notifications/Notifications.tsx"() {
34098
34097
  "use strict";
34099
34098
  init_define_process_env();
34100
34099
  import_react221 = __toESM(require("react"));
34101
- import_react_sdk118 = require("@100mslive/react-sdk");
34100
+ import_react_sdk117 = require("@100mslive/react-sdk");
34102
34101
  import_react_icons103 = require("@100mslive/react-icons");
34103
34102
  init_src();
34104
34103
  init_roomLayoutProvider();
@@ -34196,19 +34195,19 @@ var init_Toast3 = __esm({
34196
34195
  });
34197
34196
 
34198
34197
  // src/Prebuilt/components/Toast/ToastContainer.jsx
34199
- var import_react224, import_react_sdk119, ToastContainer;
34198
+ var import_react224, import_react_sdk118, ToastContainer;
34200
34199
  var init_ToastContainer = __esm({
34201
34200
  "src/Prebuilt/components/Toast/ToastContainer.jsx"() {
34202
34201
  "use strict";
34203
34202
  init_define_process_env();
34204
34203
  import_react224 = __toESM(require("react"));
34205
- import_react_sdk119 = require("@100mslive/react-sdk");
34204
+ import_react_sdk118 = require("@100mslive/react-sdk");
34206
34205
  init_Toast2();
34207
34206
  init_Toast3();
34208
34207
  init_ToastManager();
34209
34208
  init_constants();
34210
34209
  ToastContainer = () => {
34211
- const isConnected = (0, import_react_sdk119.useHMSStore)(import_react_sdk119.selectIsConnectedToRoom);
34210
+ const isConnected = (0, import_react_sdk118.useHMSStore)(import_react_sdk118.selectIsConnectedToRoom);
34212
34211
  const [toasts, setToast] = (0, import_react224.useState)([]);
34213
34212
  (0, import_react224.useEffect)(() => {
34214
34213
  ToastManager.addListener(setToast);
@@ -34265,18 +34264,18 @@ var init_RoomDetailsSheet = __esm({
34265
34264
  });
34266
34265
 
34267
34266
  // src/Prebuilt/layouts/Sheet.tsx
34268
- var import_react226, import_react_sdk120, Sheet2;
34267
+ var import_react226, import_react_sdk119, Sheet2;
34269
34268
  var init_Sheet3 = __esm({
34270
34269
  "src/Prebuilt/layouts/Sheet.tsx"() {
34271
34270
  "use strict";
34272
34271
  init_define_process_env();
34273
34272
  import_react226 = __toESM(require("react"));
34274
- import_react_sdk120 = require("@100mslive/react-sdk");
34273
+ import_react_sdk119 = require("@100mslive/react-sdk");
34275
34274
  init_RoomDetailsSheet();
34276
34275
  init_Layout();
34277
34276
  init_constants();
34278
34277
  Sheet2 = () => {
34279
- const sheet = (0, import_react_sdk120.useHMSStore)((0, import_react_sdk120.selectAppData)(APP_DATA.sheet));
34278
+ const sheet = (0, import_react_sdk119.useHMSStore)((0, import_react_sdk119.selectAppData)(APP_DATA.sheet));
34280
34279
  let ViewComponent;
34281
34280
  if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
34282
34281
  ViewComponent = /* @__PURE__ */ import_react226.default.createElement(RoomDetailsSheet, null);
@@ -34288,8 +34287,8 @@ var init_Sheet3 = __esm({
34288
34287
 
34289
34288
  // src/Prebuilt/plugins/FlyingEmoji.jsx
34290
34289
  function FlyingEmoji() {
34291
- const localPeerId = (0, import_react_sdk121.useHMSStore)(import_react_sdk121.selectLocalPeerID);
34292
- const vanillaStore = (0, import_react_sdk121.useHMSVanillaStore)();
34290
+ const localPeerId = (0, import_react_sdk120.useHMSStore)(import_react_sdk120.selectLocalPeerID);
34291
+ const vanillaStore = (0, import_react_sdk120.useHMSVanillaStore)();
34293
34292
  const [emojis, setEmojis] = (0, import_react227.useState)([]);
34294
34293
  const isMobile = (0, import_react_use50.useMedia)(config.media.md);
34295
34294
  const startingPoints = (0, import_react227.useMemo)(() => getStartingPoints(isMobile), [isMobile]);
@@ -34298,7 +34297,7 @@ function FlyingEmoji() {
34298
34297
  if (!emojiId || !senderId || document.hidden) {
34299
34298
  return;
34300
34299
  }
34301
- const senderPeerName = vanillaStore.getState((0, import_react_sdk121.selectPeerNameByID)(senderId));
34300
+ const senderPeerName = vanillaStore.getState((0, import_react_sdk120.selectPeerNameByID)(senderId));
34302
34301
  const nameToShow = localPeerId === senderId ? "You" : senderPeerName;
34303
34302
  const startingPoint = startingPoints[emojiCount % startingPoints.length];
34304
34303
  const id = emojiCount++;
@@ -34317,7 +34316,7 @@ function FlyingEmoji() {
34317
34316
  },
34318
34317
  [localPeerId, vanillaStore, startingPoints]
34319
34318
  );
34320
- (0, import_react_sdk121.useCustomEvent)({
34319
+ (0, import_react_sdk120.useCustomEvent)({
34321
34320
  type: EMOJI_REACTION_TYPE,
34322
34321
  onEvent: showFlyingEmoji
34323
34322
  });
@@ -34383,14 +34382,14 @@ function FlyingEmoji() {
34383
34382
  })
34384
34383
  );
34385
34384
  }
34386
- var import_react227, import_react_use50, import_react_sdk121, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
34385
+ var import_react227, import_react_use50, import_react_sdk120, emojiCount, flyAndFade, wiggleLeftRight, wiggleRightLeft, getStartingPoints;
34387
34386
  var init_FlyingEmoji = __esm({
34388
34387
  "src/Prebuilt/plugins/FlyingEmoji.jsx"() {
34389
34388
  "use strict";
34390
34389
  init_define_process_env();
34391
34390
  import_react227 = __toESM(require("react"));
34392
34391
  import_react_use50 = require("react-use");
34393
- import_react_sdk121 = require("@100mslive/react-sdk");
34392
+ import_react_sdk120 = require("@100mslive/react-sdk");
34394
34393
  init_Layout();
34395
34394
  init_Text2();
34396
34395
  init_Theme();
@@ -34423,45 +34422,45 @@ var init_FlyingEmoji = __esm({
34423
34422
 
34424
34423
  // src/Prebuilt/plugins/RemoteStopScreenshare.jsx
34425
34424
  function RemoteStopScreenshare() {
34426
- const actions = (0, import_react_sdk122.useHMSActions)();
34425
+ const actions = (0, import_react_sdk121.useHMSActions)();
34427
34426
  const onRemoteStopScreenshare = (0, import_react228.useCallback)(() => __async(this, null, function* () {
34428
34427
  yield actions.setScreenShareEnabled(false);
34429
34428
  }), [actions]);
34430
- (0, import_react_sdk122.useCustomEvent)({
34429
+ (0, import_react_sdk121.useCustomEvent)({
34431
34430
  type: REMOTE_STOP_SCREENSHARE_TYPE,
34432
34431
  onEvent: onRemoteStopScreenshare
34433
34432
  });
34434
34433
  return /* @__PURE__ */ import_react228.default.createElement(import_react228.default.Fragment, null);
34435
34434
  }
34436
- var import_react228, import_react_sdk122;
34435
+ var import_react228, import_react_sdk121;
34437
34436
  var init_RemoteStopScreenshare = __esm({
34438
34437
  "src/Prebuilt/plugins/RemoteStopScreenshare.jsx"() {
34439
34438
  "use strict";
34440
34439
  init_define_process_env();
34441
34440
  import_react228 = __toESM(require("react"));
34442
- import_react_sdk122 = require("@100mslive/react-sdk");
34441
+ import_react_sdk121 = require("@100mslive/react-sdk");
34443
34442
  init_constants();
34444
34443
  }
34445
34444
  });
34446
34445
 
34447
34446
  // src/Prebuilt/components/hooks/useAutoStartStreaming.tsx
34448
- var import_react229, import_react_sdk123, useAutoStartStreaming;
34447
+ var import_react229, import_react_sdk122, useAutoStartStreaming;
34449
34448
  var init_useAutoStartStreaming = __esm({
34450
34449
  "src/Prebuilt/components/hooks/useAutoStartStreaming.tsx"() {
34451
34450
  "use strict";
34452
34451
  init_define_process_env();
34453
34452
  import_react229 = require("react");
34454
- import_react_sdk123 = require("@100mslive/react-sdk");
34453
+ import_react_sdk122 = require("@100mslive/react-sdk");
34455
34454
  init_useUISettings();
34456
34455
  init_hooks();
34457
34456
  init_constants();
34458
34457
  useAutoStartStreaming = () => {
34459
34458
  const [isHLSStarted, setHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
34460
- const permissions = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectPermissions);
34459
+ const permissions = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectPermissions);
34461
34460
  const showStreamingUI = useShowStreamingUI();
34462
- const hmsActions = (0, import_react_sdk123.useHMSActions)();
34463
- const isConnected = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsConnectedToRoom);
34464
- const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk123.useRecordingStreaming)();
34461
+ const hmsActions = (0, import_react_sdk122.useHMSActions)();
34462
+ const isConnected = (0, import_react_sdk122.useHMSStore)(import_react_sdk122.selectIsConnectedToRoom);
34463
+ const { isHLSRunning, isRTMPRunning, isHLSRecordingOn, isBrowserRecordingOn } = (0, import_react_sdk122.useRecordingStreaming)();
34465
34464
  const streamStartedRef = (0, import_react229.useRef)(false);
34466
34465
  const startHLS = (0, import_react229.useCallback)(() => __async(void 0, null, function* () {
34467
34466
  try {
@@ -34511,13 +34510,13 @@ function AppRoutes({
34511
34510
  const { activeState, rejoin } = useAppStateManager();
34512
34511
  return /* @__PURE__ */ import_react230.default.createElement(AppStateContext.Provider, { value: { rejoin } }, /* @__PURE__ */ import_react230.default.createElement(import_react230.default.Fragment, null, activeState !== "leave" /* LEAVE */ && /* @__PURE__ */ import_react230.default.createElement(AppData, null), /* @__PURE__ */ import_react230.default.createElement(ToastContainer, null), /* @__PURE__ */ import_react230.default.createElement(Notifications, null), /* @__PURE__ */ import_react230.default.createElement(MwebLandscapePrompt, null), /* @__PURE__ */ import_react230.default.createElement(Sheet2, null), /* @__PURE__ */ import_react230.default.createElement(BackSwipe, null), !isNotificationsDisabled && /* @__PURE__ */ import_react230.default.createElement(FlyingEmoji, null), /* @__PURE__ */ import_react230.default.createElement(RemoteStopScreenshare, null), /* @__PURE__ */ import_react230.default.createElement(KeyboardHandler, null), /* @__PURE__ */ import_react230.default.createElement(AuthToken_default, { authTokenByRoomCodeEndpoint, defaultAuthToken }), roomLayout && activeState && /* @__PURE__ */ import_react230.default.createElement(AppStates, { activeState })));
34513
34512
  }
34514
- var import_react230, import_react_sdk124, HMSPrebuilt, AppStates, BackSwipe;
34513
+ var import_react230, import_react_sdk123, HMSPrebuilt, AppStates, BackSwipe;
34515
34514
  var init_App = __esm({
34516
34515
  "src/Prebuilt/App.tsx"() {
34517
34516
  "use strict";
34518
34517
  init_define_process_env();
34519
34518
  import_react230 = __toESM(require("react"));
34520
- import_react_sdk124 = require("@100mslive/react-sdk");
34519
+ import_react_sdk123 = require("@100mslive/react-sdk");
34521
34520
  init_AppData();
34522
34521
  init_AuthToken();
34523
34522
  init_ConferenceScreen();
@@ -34562,7 +34561,7 @@ var init_App = __esm({
34562
34561
  const [hydrated, setHydrated] = import_react230.default.useState(false);
34563
34562
  (0, import_react230.useEffect)(() => {
34564
34563
  setHydrated(true);
34565
- const hms = new import_react_sdk124.HMSReactiveStore();
34564
+ const hms = new import_react_sdk123.HMSReactiveStore();
34566
34565
  const hmsStore = hms.getStore();
34567
34566
  const hmsActions = hms.getActions();
34568
34567
  const hmsNotifications = hms.getNotifications();
@@ -34628,7 +34627,7 @@ var init_App = __esm({
34628
34627
  }
34629
34628
  },
34630
34629
  /* @__PURE__ */ import_react230.default.createElement(
34631
- import_react_sdk124.HMSRoomProvider,
34630
+ import_react_sdk123.HMSRoomProvider,
34632
34631
  {
34633
34632
  isHMSStatsOn: FeatureFlags.enableStatsForNerds,
34634
34633
  actions: (_a8 = reactiveStore.current) == null ? void 0 : _a8.hmsActions,
@@ -34698,8 +34697,8 @@ var init_App = __esm({
34698
34697
  return /* @__PURE__ */ import_react230.default.createElement(ConferenceScreen, null);
34699
34698
  };
34700
34699
  BackSwipe = () => {
34701
- const isConnectedToRoom = (0, import_react_sdk124.useHMSStore)(import_react_sdk124.selectIsConnectedToRoom);
34702
- const hmsActions = (0, import_react_sdk124.useHMSActions)();
34700
+ const isConnectedToRoom = (0, import_react_sdk123.useHMSStore)(import_react_sdk123.selectIsConnectedToRoom);
34701
+ const hmsActions = (0, import_react_sdk123.useHMSActions)();
34703
34702
  (0, import_react230.useEffect)(() => {
34704
34703
  const onRouteLeave = () => __async(void 0, null, function* () {
34705
34704
  if (isConnectedToRoom) {