@ubnt/store.core 9.53.0-alpha.4 → 9.53.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/_virtual/_virtual_multi-entry.js +14 -12
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +14 -12
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js +1 -1
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +1 -1
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/ai-360.jpg +0 -0
  11. package/lib/assets/ai-3602.jpg +0 -0
  12. package/lib/assets/ai-bullet.jpg +0 -0
  13. package/lib/assets/ai-bullet2.jpg +0 -0
  14. package/lib/assets/ai-dslr.jpg +0 -0
  15. package/lib/assets/ai-dslr2.jpg +0 -0
  16. package/lib/assets/building-bridge-xg.jpg +0 -0
  17. package/lib/assets/building-bridge-xg2.jpg +0 -0
  18. package/lib/assets/close2.svg +2 -3
  19. package/lib/assets/close3.svg +3 -2
  20. package/lib/assets/e7-audience.jpg +0 -0
  21. package/lib/assets/e7-audience2.jpg +0 -0
  22. package/lib/assets/flex.jpg +0 -0
  23. package/lib/assets/flex2.jpg +0 -0
  24. package/lib/assets/g4-instant.jpg +0 -0
  25. package/lib/assets/g4-instant2.jpg +0 -0
  26. package/lib/assets/g5-bullet.jpg +0 -0
  27. package/lib/assets/g5-bullet2.jpg +0 -0
  28. package/lib/assets/g5-dome.jpg +0 -0
  29. package/lib/assets/g5-dome2.jpg +0 -0
  30. package/lib/assets/g5-flex.jpg +0 -0
  31. package/lib/assets/g5-flex2.jpg +0 -0
  32. package/lib/assets/g5-ptz.jpg +0 -0
  33. package/lib/assets/g5-ptz2.jpg +0 -0
  34. package/lib/assets/g5-turret-ultra.jpg +0 -0
  35. package/lib/assets/g5-turret-ultra2.jpg +0 -0
  36. package/lib/assets/industrial.jpg +0 -0
  37. package/lib/assets/industrial2.jpg +0 -0
  38. package/lib/assets/intercom.jpg +0 -0
  39. package/lib/assets/intercom2.jpg +0 -0
  40. package/lib/assets/pause.svg +3 -3
  41. package/lib/assets/pause2.svg +3 -3
  42. package/lib/components/Accordion/Accordion.js +4 -4
  43. package/lib/components/Avatar/Avatar.js +2 -2
  44. package/lib/components/Button/Button.js +6 -6
  45. package/lib/components/Button/CartButton.js +2 -2
  46. package/lib/components/CardSection/Card/Card.js +6 -6
  47. package/lib/components/CardSection/CardSection.js +2 -2
  48. package/lib/components/CartIcon/CartIcon.js +2 -2
  49. package/lib/components/Checkbox/Checkbox.js +4 -4
  50. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  51. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  52. package/lib/components/Container/Container.js +2 -2
  53. package/lib/components/CustomImage/CustomImage.js +12 -12
  54. package/lib/components/Explore/Explore.js +5 -5
  55. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  56. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  57. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  58. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  59. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  60. package/lib/components/Footer/Footer.js +2 -2
  61. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  62. package/lib/components/Gallery/Gallery.context.js +17 -17
  63. package/lib/components/Gallery/Gallery.js +9 -9
  64. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  65. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  66. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  67. package/lib/components/GridGallery/GridGallery.js +8 -8
  68. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  69. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  70. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  71. package/lib/components/Header/AccountMenu/AccountMenu.js +19 -19
  72. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  73. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  74. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  75. package/lib/components/Header/Header.js +34 -34
  76. package/lib/components/Header/IsolatedHeader.js +7 -7
  77. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  78. package/lib/components/Header/MobileLinksModal/MobileMenu.js +3 -3
  79. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  80. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  81. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  82. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +6 -6
  83. package/lib/components/Header/Overlay/Overlay.js +3 -3
  84. package/lib/components/Header/ProHeader/ProHeader.js +35 -35
  85. package/lib/components/Hero/Hero.js +5 -5
  86. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  87. package/lib/components/ImageCarousel/ImageCarousel.js +29 -29
  88. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  89. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  90. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  91. package/lib/components/LandingPage/LandingPage.js +2 -2
  92. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  93. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  94. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  95. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  96. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  97. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  98. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  99. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  100. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  101. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  102. package/lib/components/MicrositeHeader/MicrositeHeader.js +4 -4
  103. package/lib/components/MicrositeHeader/components/DropdownMenu/DropdownMenu.js +4 -4
  104. package/lib/components/MicrositeHeader/components/HeaderContent/HeaderContent.js +13 -13
  105. package/lib/components/MicrositeHeader/components/SiteMap/SiteMap.js +2 -2
  106. package/lib/components/MicrositeHeader/components/SiteMapColumns/SiteMapColumns.js +15 -15
  107. package/lib/components/MicrositeHeader/components/VisualTopology/LinePaths.js +3 -3
  108. package/lib/components/MicrositeHeader/components/VisualTopology/VisualTopology.js +9 -9
  109. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  110. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  111. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  112. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  113. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  114. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  115. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
  116. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  117. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  118. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  119. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  120. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  121. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  122. package/lib/components/MobileModal/MobileModal.js +4 -4
  123. package/lib/components/Modal/Modal.js +3 -3
  124. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  125. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  126. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  127. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  128. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  129. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  130. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  131. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  132. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  133. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  134. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  135. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  136. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  137. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  138. package/lib/components/ModelCompareV4/CompareTable/CompareTable.js +8 -8
  139. package/lib/components/ModelCompareV4/CompareTable/CompareTableMarkup.js +14 -14
  140. package/lib/components/ModelCompareV4/CompareTable/CompareTableOverflowScrollButton.js +3 -3
  141. package/lib/components/ModelCompareV4/CompareTable/PropertyValueGridItem.js +2 -2
  142. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/ScrollGroup.js +5 -5
  143. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/context.js +3 -3
  144. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupItem.js +8 -8
  145. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  146. package/lib/components/ModelCompareV4/CompareTable/ScrollGroup/useScrollGroupTo.js +2 -2
  147. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGrid.js +7 -7
  148. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridBody.js +2 -2
  149. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridHeader.js +5 -5
  150. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/StickyGridItem.js +2 -2
  151. package/lib/components/ModelCompareV4/CompareTable/StickyGrid/context.js +3 -3
  152. package/lib/components/ModelCompareV4/ModelCompareV4.js +5 -5
  153. package/lib/components/ModelCompareV4/ProductList/ProductList.js +11 -11
  154. package/lib/components/Pagination/Pagination.js +3 -3
  155. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  156. package/lib/components/ProductCard/ProductCard.js +7 -7
  157. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  158. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  159. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  160. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  161. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  162. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  163. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  164. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  165. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  166. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  167. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  168. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  169. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  170. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +80 -0
  171. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  172. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +66 -0
  173. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  174. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  175. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  176. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  177. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  178. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  179. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  180. package/lib/components/ProductWizard/Options/Options.js +3 -3
  181. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  182. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  183. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  184. package/lib/components/QuantityControls/QuantityControls.js +4 -4
  185. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  186. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  187. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  188. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  189. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  190. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  191. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  192. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  193. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  194. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  195. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  196. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  197. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  198. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  199. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  200. package/lib/components/ScrollWrapper/ScrollWrapper.js +17 -17
  201. package/lib/components/Search/Input/Input.js +4 -4
  202. package/lib/components/Search/Modal/Modal.js +3 -3
  203. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  204. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  205. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  206. package/lib/components/TogglableStaticCompareTables/TogglableStaticCompareTable.js +8 -8
  207. package/lib/components/Tooltip/Tooltip.js +5 -5
  208. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  209. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  210. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  211. package/lib/components/VideoPlayerNew/VideoPlayer.js +21 -21
  212. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  213. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  214. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  215. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  216. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  217. package/lib/components/index.d.ts +1 -0
  218. package/lib/components/index.js +2 -0
  219. package/lib/components/index.js.map +1 -1
  220. package/lib/components/index.mjs +2 -0
  221. package/lib/components/index.mjs.map +1 -1
  222. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  223. package/lib/constants/icons/options/colors/index.js +3 -3
  224. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  225. package/lib/constants/icons/options/styles/index.js +3 -3
  226. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.js +1 -1
  227. package/lib/constants/modelCompareData/assets/BuildingBridge/building-bridge-xg.jpg.mjs +2 -2
  228. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.js +1 -1
  229. package/lib/constants/modelCompareData/assets/Bullet/ai-bullet.jpg.mjs +2 -2
  230. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.js +1 -1
  231. package/lib/constants/modelCompareData/assets/Bullet/ai-dslr.jpg.mjs +2 -2
  232. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.js +1 -1
  233. package/lib/constants/modelCompareData/assets/Bullet/g5-bullet.jpg.mjs +2 -2
  234. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.js +1 -1
  235. package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
  236. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.js +1 -1
  237. package/lib/constants/modelCompareData/assets/Compact/g5-flex.jpg.mjs +2 -2
  238. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.js +1 -1
  239. package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.mjs +2 -2
  240. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
  241. package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.mjs +2 -2
  242. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.js +1 -1
  243. package/lib/constants/modelCompareData/assets/DomeTurret/g5-turret-ultra.jpg.mjs +2 -2
  244. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.js +1 -1
  245. package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.mjs +2 -2
  246. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.js +1 -1
  247. package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.mjs +2 -2
  248. package/lib/constants/modelCompareData/assets/Switching/flex.jpg.js +1 -1
  249. package/lib/constants/modelCompareData/assets/Switching/flex.jpg.mjs +2 -2
  250. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.js +1 -1
  251. package/lib/constants/modelCompareData/assets/Switching/industrial.jpg.mjs +2 -2
  252. package/lib/constants/modelCompareData/assets/WiFi/e7-audience.jpg.js +1 -1
  253. package/lib/constants/modelCompareData/assets/WiFi/e7-audience.jpg.mjs +2 -2
  254. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.js +1 -1
  255. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-bullet.jpg.mjs +2 -2
  256. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.js +1 -1
  257. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/ai-dslr.jpg.mjs +2 -2
  258. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.js +1 -1
  259. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/bullet/g5-bullet.jpg.mjs +2 -2
  260. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
  261. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.mjs +2 -2
  262. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.js +1 -1
  263. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g5-flex.jpg.mjs +2 -2
  264. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.js +1 -1
  265. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.mjs +2 -2
  266. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
  267. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.mjs +2 -2
  268. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.js +1 -1
  269. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-turret-ultra.jpg.mjs +2 -2
  270. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.js +1 -1
  271. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.mjs +2 -2
  272. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.js +1 -1
  273. package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.mjs +2 -2
  274. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.js +1 -1
  275. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/flex.jpg.mjs +2 -2
  276. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.js +1 -1
  277. package/lib/constants/modelCompareData/assets/product-list-assets/switches/utility/industrial.jpg.mjs +2 -2
  278. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.js +1 -1
  279. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/building-bridge/building-bridge-xg.jpg.mjs +2 -2
  280. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/mega-capacity/e7-audience.jpg.js +1 -1
  281. package/lib/constants/modelCompareData/assets/product-list-assets/wifi/mega-capacity/e7-audience.jpg.mjs +2 -2
  282. package/lib/constants/modelCompareData/data/products/ai360.js +2 -2
  283. package/lib/constants/modelCompareData/data/products/ai360.mjs +2 -2
  284. package/lib/constants/modelCompareData/data/products/aiBullet.js +2 -2
  285. package/lib/constants/modelCompareData/data/products/aiBullet.mjs +2 -2
  286. package/lib/constants/modelCompareData/data/products/aiDslr.js +2 -2
  287. package/lib/constants/modelCompareData/data/products/aiDslr.mjs +2 -2
  288. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.js +2 -2
  289. package/lib/constants/modelCompareData/data/products/buildingBridgeXG.mjs +2 -2
  290. package/lib/constants/modelCompareData/data/products/flex.js +2 -2
  291. package/lib/constants/modelCompareData/data/products/flex.mjs +2 -2
  292. package/lib/constants/modelCompareData/data/products/g4Instant.js +2 -2
  293. package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
  294. package/lib/constants/modelCompareData/data/products/g5Bullet.js +2 -2
  295. package/lib/constants/modelCompareData/data/products/g5Bullet.mjs +2 -2
  296. package/lib/constants/modelCompareData/data/products/g5Dome.js +2 -2
  297. package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
  298. package/lib/constants/modelCompareData/data/products/g5Flex.js +2 -2
  299. package/lib/constants/modelCompareData/data/products/g5Flex.mjs +2 -2
  300. package/lib/constants/modelCompareData/data/products/g5Ptz.js +2 -2
  301. package/lib/constants/modelCompareData/data/products/g5Ptz.mjs +2 -2
  302. package/lib/constants/modelCompareData/data/products/g5TurretUltra.js +2 -2
  303. package/lib/constants/modelCompareData/data/products/g5TurretUltra.mjs +2 -2
  304. package/lib/constants/modelCompareData/data/products/industrial.js +2 -2
  305. package/lib/constants/modelCompareData/data/products/industrial.mjs +2 -2
  306. package/lib/constants/modelCompareData/data/products/intercom.js +2 -2
  307. package/lib/constants/modelCompareData/data/products/intercom.mjs +2 -2
  308. package/lib/constants/modelCompareData/data/products/shared-product-data/e7Audience.js +2 -2
  309. package/lib/constants/modelCompareData/data/products/shared-product-data/e7Audience.mjs +2 -2
  310. package/lib/constants/optionIcons.js +6 -6
  311. package/lib/constants/optionIcons.mjs +4 -4
  312. package/lib/contexts/MenuContext/context.js +35 -35
  313. package/lib/contexts/MicrositeMenuContext/context.js +9 -9
  314. package/lib/helpers/proStoreCategories.js +2 -2
  315. package/lib/hooks/useHasTouch.js +3 -3
  316. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  317. package/lib/hooks/useHorizontalScroll.js +2 -2
  318. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  319. package/lib/hooks/useScrollToY.js +2 -2
  320. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  321. package/lib/hooks/useTranslation.js +6 -6
  322. package/lib/utils/nextjs/ssr/registry.js +2 -2
  323. package/package.json +1 -1
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var MicrositeProductGrid_styles = require('./MicrositeProductGrid.styles.js');
6
6
  "use strict";
7
7
  const RESET_STEP_MS = 20;
8
8
  const GridItem = ({
9
9
  item
10
10
  }) => {
11
- const [playing, setPlaying] = react.useState(!item.media.playOnHover);
12
- const animationFrame = react.useRef(0);
13
- const resetCurrentTime = react.useCallback(el => {
11
+ const [playing, setPlaying] = React.useState(!item.media.playOnHover);
12
+ const animationFrame = React.useRef(0);
13
+ const resetCurrentTime = React.useCallback(el => {
14
14
  if (playing || !el.currentTime) return;
15
15
  if (el.currentTime >= el.duration) {
16
16
  el.currentTime = 0;
@@ -25,16 +25,16 @@ const GridItem = ({
25
25
  }
26
26
  });
27
27
  }, [playing]);
28
- const videoRef = react.useRef(null);
29
- const onMouseEnter = react.useCallback(() => {
28
+ const videoRef = React.useRef(null);
29
+ const onMouseEnter = React.useCallback(() => {
30
30
  if (!item.media.playOnHover) return;
31
31
  setPlaying(true);
32
32
  }, [item.media.playOnHover]);
33
- const onMouseLeave = react.useCallback(() => {
33
+ const onMouseLeave = React.useCallback(() => {
34
34
  if (!item.media.playOnHover) return;
35
35
  setPlaying(false);
36
36
  }, [item.media.playOnHover]);
37
- react.useEffect(() => {
37
+ React.useEffect(() => {
38
38
  const el = videoRef.current;
39
39
  if (!el) return;
40
40
  if (playing) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var MicrositeProductLearnMoreBlock = require('./MicrositeProductLearnMoreBlock.js');
6
6
  var MicrositeProductLearnMoreBlock_styles = require('./MicrositeProductLearnMoreBlock.styles.js');
7
7
  "use strict";
@@ -12,7 +12,7 @@ const MicrositeProductLearnMoreBlockWrap = ({
12
12
  return null;
13
13
  }
14
14
  return /* @__PURE__ */jsxRuntime.jsx(MicrositeProductLearnMoreBlock_styles.BoxWrap, {
15
- children: features.map((feature, index) => /* @__PURE__ */react.createElement(MicrositeProductLearnMoreBlock.MicrositeProductLearnMoreBlock, {
15
+ children: features.map((feature, index) => /* @__PURE__ */React.createElement(MicrositeProductLearnMoreBlock.MicrositeProductLearnMoreBlock, {
16
16
  ...feature,
17
17
  key: `microsite-learn-more-block-${index}`
18
18
  }))
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../contexts/MenuContext/index.js');
6
6
  require('../Header/Navigation/index.js');
7
7
  var MicrositeSubSubNavigation_styles = require('./MicrositeSubSubNavigation.styles.js');
@@ -16,8 +16,8 @@ const MicrositeSubSubNavigation = ({
16
16
  const {
17
17
  activeNavigationSection
18
18
  } = context.useMenu();
19
- const currentSecondLevelNavItem = react.useMemo(() => activeNavigationSection.items.find(item => item.active), [activeNavigationSection.items]);
20
- const thirdLevelNavItems = react.useMemo(() => currentSecondLevelNavItem?.items.find(item => item.active)?.items, [currentSecondLevelNavItem?.items]);
19
+ const currentSecondLevelNavItem = React.useMemo(() => activeNavigationSection.items.find(item => item.active), [activeNavigationSection.items]);
20
+ const thirdLevelNavItems = React.useMemo(() => currentSecondLevelNavItem?.items.find(item => item.active)?.items, [currentSecondLevelNavItem?.items]);
21
21
  if (!thirdLevelNavItems?.length) {
22
22
  return null;
23
23
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var theme = require('../../constants/theme.js');
6
6
  var asset = require('../../utils/asset.js');
7
7
  require('../MicrositeSectionWrap/index.js');
@@ -11,7 +11,7 @@ require('./assets/play.svg.js');
11
11
  var MicrositeVideoSlideshow_styles = require('./MicrositeVideoSlideshow.styles.js');
12
12
  var MicrositeSectionWrap = require('../MicrositeSectionWrap/MicrositeSectionWrap.js');
13
13
  var PlayIcon = require("../../assets/play.svg");
14
- var PauseIcon = require("../../assets/pause.svg");
14
+ var PauseIcon = require("../../assets/pause2.svg");
15
15
  var ActiveIconBox = require("../../assets/active-icon-box.svg");
16
16
  function _interopDefault(e) {
17
17
  return e && e.__esModule ? e : {
@@ -34,16 +34,16 @@ const MicrositeVideoSlideshow = ({
34
34
  monoColorIcons,
35
35
  buyButton
36
36
  }) => {
37
- const [currentFeatureSlide, setCurrentFeatureSlide] = react.useState(slides?.[0]);
38
- const [slideshowStarted, setSlideshowStarted] = react.useState(false);
39
- const videoRef = react.useRef(null);
40
- const [videoProgress, setVideoProgress] = react.useState(0);
41
- react.useEffect(() => {
37
+ const [currentFeatureSlide, setCurrentFeatureSlide] = React.useState(slides?.[0]);
38
+ const [slideshowStarted, setSlideshowStarted] = React.useState(false);
39
+ const videoRef = React.useRef(null);
40
+ const [videoProgress, setVideoProgress] = React.useState(0);
41
+ React.useEffect(() => {
42
42
  if (isInView && !slideshowStarted) {
43
43
  setSlideshowStarted(true);
44
44
  }
45
45
  }, [isInView, slideshowStarted]);
46
- react.useEffect(() => {
46
+ React.useEffect(() => {
47
47
  if (!slideshowStarted) {
48
48
  return;
49
49
  }
@@ -53,7 +53,7 @@ const MicrositeVideoSlideshow = ({
53
53
  }
54
54
  video?.play().catch(() => {});
55
55
  }, [slideshowStarted]);
56
- react.useEffect(() => {
56
+ React.useEffect(() => {
57
57
  const video = videoRef.current;
58
58
  if (!video) {
59
59
  return;
@@ -69,7 +69,7 @@ const MicrositeVideoSlideshow = ({
69
69
  // HACK: needed currentFeatureSlide?.id to retrigger the effect
70
70
  // eslint-disable-next-line react-hooks/exhaustive-deps
71
71
  currentFeatureSlide?.id]);
72
- const handleVideoPlaybackClick = react.useCallback(async () => {
72
+ const handleVideoPlaybackClick = React.useCallback(async () => {
73
73
  const video = videoRef.current;
74
74
  if (!video) {
75
75
  return;
@@ -84,8 +84,8 @@ const MicrositeVideoSlideshow = ({
84
84
  } catch {}
85
85
  }
86
86
  }, []);
87
- const sortedSlidesDesc = react.useMemo(() => [...(slides ?? [])].sort((a, b) => b.timestamp - a.timestamp), [slides]);
88
- react.useEffect(() => {
87
+ const sortedSlidesDesc = React.useMemo(() => [...(slides ?? [])].sort((a, b) => b.timestamp - a.timestamp), [slides]);
88
+ React.useEffect(() => {
89
89
  const video = videoRef.current;
90
90
  if (!video) {
91
91
  return;
@@ -100,7 +100,7 @@ const MicrositeVideoSlideshow = ({
100
100
  clearInterval(interval);
101
101
  };
102
102
  }, [currentFeatureSlide?.id, sortedSlidesDesc]);
103
- const handleSlideClick = react.useCallback(slide => async () => {
103
+ const handleSlideClick = React.useCallback(slide => async () => {
104
104
  const video = videoRef.current;
105
105
  if (!video) {
106
106
  return;
@@ -9,7 +9,7 @@ import './assets/play.svg.mjs';
9
9
  import { VideoBlock, Video, VideoControls, VideoInnerWrap, ProgressCircle, PlayIcon, PauseIcon, SlideRow, Slide, FeatureIconWrap, FeatureIconActiveBackground, FeatureIcon, FeatureTitle, MicrositeBuyButton } from './MicrositeVideoSlideshow.styles.mjs';
10
10
  import { MicrositeSectionWrap } from '../MicrositeSectionWrap/MicrositeSectionWrap.mjs';
11
11
  import PlayIcon__default from "../../assets/play.svg";
12
- import PauseIcon__default from "../../assets/pause.svg";
12
+ import PauseIcon__default from "../../assets/pause2.svg";
13
13
  import ActiveIconBox__default from "../../assets/active-icon-box.svg";
14
14
  "use strict";
15
15
  const MicrositeVideoSlideshow = ({
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var PauseIcon = require("../../../assets/pause.svg");
6
+ var PauseIcon = require("../../../assets/pause2.svg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
@@ -1,3 +1,3 @@
1
- export * from "../../../assets/pause.svg";
2
- export { default } from "../../../assets/pause.svg";
1
+ export * from "../../../assets/pause2.svg";
2
+ export { default } from "../../../assets/pause2.svg";
3
3
  //# sourceMappingURL=pause.svg.mjs.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  "use strict";
5
- const MicrositePageContext = react.createContext(null);
5
+ const MicrositePageContext = React.createContext(null);
6
6
  exports.MicrositePageContext = MicrositePageContext;
7
7
  //# sourceMappingURL=MicrositePageContext.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../Explore/index.js');
6
6
  var ExploreData = require('../Explore/ExploreData.js');
7
7
  require('../MicrositeColumnFeatureProgressBar/index.js');
@@ -36,9 +36,9 @@ const MicrositeProductPage = ({
36
36
  storeId,
37
37
  className
38
38
  }) => {
39
- const [activeFullscreenType, setActiveFullscreenType] = react.useState(null);
39
+ const [activeFullscreenType, setActiveFullscreenType] = React.useState(null);
40
40
  const context = MicrositeProductPageContext.useMicrositeProductPage();
41
- const showBuyButton = react.useMemo(() => {
41
+ const showBuyButton = React.useMemo(() => {
42
42
  return context?.showBuyButton ?? false;
43
43
  }, [context?.showBuyButton]);
44
44
  if (!Array.isArray(blocks) || blocks.length === 0) {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  "use strict";
6
- const MicrositeProductPageContext = react.createContext(null);
6
+ const MicrositeProductPageContext = React.createContext(null);
7
7
  const MicrositeProductPageContextProvider = ({
8
8
  showBuyButton,
9
9
  children
@@ -16,7 +16,7 @@ const MicrositeProductPageContextProvider = ({
16
16
  });
17
17
  };
18
18
  function useMicrositeProductPage() {
19
- return react.useContext(MicrositeProductPageContext);
19
+ return React.useContext(MicrositeProductPageContext);
20
20
  }
21
21
  exports.MicrositeProductPageContext = MicrositeProductPageContext;
22
22
  exports.MicrositeProductPageContextProvider = MicrositeProductPageContextProvider;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../assets/icons/arrowDown.svg.js');
6
6
  require('../Button/index.js');
7
7
  require('../StyleableSvgImage/index.js');
@@ -23,17 +23,17 @@ const MobileModal = function MobileModal2({
23
23
  children,
24
24
  closeButtonProps
25
25
  }) {
26
- const handleOnAfterOpen = react.useCallback(() => {
26
+ const handleOnAfterOpen = React.useCallback(() => {
27
27
  if (lockScroll) {
28
28
  document.body.style.overflow = "hidden";
29
29
  }
30
30
  }, [lockScroll]);
31
- const handleOnAfterClose = react.useCallback(() => {
31
+ const handleOnAfterClose = React.useCallback(() => {
32
32
  if (lockScroll) {
33
33
  document.body.style.overflow = "unset";
34
34
  }
35
35
  }, [lockScroll]);
36
- react.useEffect(() => {
36
+ React.useEffect(() => {
37
37
  if (isOpen) {
38
38
  handleOnAfterOpen();
39
39
  } else if (!isOpen) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Modal$1 = require('@ubnt/ui-components/Modal');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var Modal_styles = require('./Modal.styles.js');
7
7
  "use strict";
8
8
  const Modal = function Modal2({
@@ -14,13 +14,13 @@ const Modal = function Modal2({
14
14
  if (!overlayClassName) {
15
15
  overlayClassName = "react-modal-portal-overlay";
16
16
  }
17
- const handleAfterOpen = react.useCallback(() => {
17
+ const handleAfterOpen = React.useCallback(() => {
18
18
  if (lockScroll) {
19
19
  document.body.style.overflow = "hidden";
20
20
  }
21
21
  rest.onAfterOpen?.();
22
22
  }, [lockScroll, rest]);
23
- const handleAfterClose = react.useCallback(() => {
23
+ const handleAfterClose = React.useCallback(() => {
24
24
  if (lockScroll) {
25
25
  document.body.style.overflow = "unset";
26
26
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  require('../../constants/modelCompareData/assets/arrow-right.svg.js');
7
7
  require('../StyleableSvgImage/index.js');
@@ -30,7 +30,7 @@ function ModelCompareOverflowScrollButton({
30
30
  scrollTo
31
31
  } = context.useStickyGrid();
32
32
  const icon = typeof arrowRightIcon__default["default"] === "string" ? arrowRightIcon__default["default"] : arrowRightIcon__default["default"].src;
33
- const handleClick = react.useCallback(() => {
33
+ const handleClick = React.useCallback(() => {
34
34
  const anyScrollItem = scrollGroupItemsRef.current?.[0]?.refObject.current;
35
35
  if (!anyScrollItem) {
36
36
  return;
@@ -46,7 +46,7 @@ function ModelCompareOverflowScrollButton({
46
46
  behavior: "smooth"
47
47
  });
48
48
  }, [onClickColumnDiff, scrollGroupItemsRef, scrollTo, totalColumns, totalDeadSpace]);
49
- const arrowOffset = react.useMemo(() => {
49
+ const arrowOffset = React.useMemo(() => {
50
50
  if (isSmallScreen) {
51
51
  return rotationDegrees < 180 ? -5 : 0;
52
52
  }
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  require('../../constants/modelCompareData/assets/check.svg.js');
7
7
  require('../../constants/modelCompareData/assets/minus.svg.js');
@@ -61,7 +61,7 @@ function PropertyValueComponent({
61
61
  const {
62
62
  languageDirection
63
63
  } = context.useMenu();
64
- const asterisks = react.useMemo(() => {
64
+ const asterisks = React.useMemo(() => {
65
65
  if (!productProperty?.value.asterisk) {
66
66
  return null;
67
67
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var Tooltip = require('@ubnt/ui-components/Tooltip');
5
- var react = require('react');
5
+ var React = require('react');
6
6
  var reactUse = require('react-use');
7
7
  var styled = require('styled-components');
8
8
  var useModelCompareTranslation = require('../../constants/modelCompareData/translations/useModelCompareTranslation.js');
@@ -52,7 +52,7 @@ const ModelCompareV3 = ({
52
52
  storeId
53
53
  } = context.useMenu();
54
54
  const section = index.sections[id];
55
- const products = react.useMemo(() => section.products.map(product => ({
55
+ const products = React.useMemo(() => section.products.map(product => ({
56
56
  ...product,
57
57
  propertyValues: product.propertyValues.map(propertyValue => ({
58
58
  propertyId: propertyValue.propertyId,
@@ -68,7 +68,7 @@ const ModelCompareV3 = ({
68
68
  // Parse footnotes
69
69
  footnotes: product.footnotes?.map(footnote => typeof footnote === "string" ? footnote : footnote(storeId)).filter(f => !!f)
70
70
  })), [additionalProductData, formatMessage, section.products, storeId]);
71
- const properties = react.useMemo(() => section.properties.map(property => ({
71
+ const properties = React.useMemo(() => section.properties.map(property => ({
72
72
  ...property,
73
73
  title: formatMessage(property.title),
74
74
  tooltip: property.tooltip && formatMessage(property.tooltip)
@@ -116,7 +116,7 @@ const ModelCompare = ({
116
116
  } = reactUse.useWindowSize();
117
117
  const isSmallScreen = screenWidth < ModelCompareV3_styles.MOBILE_BREAKPOINT;
118
118
  const leftColumnWidth = isSmallScreen ? 0 : Math.min(screenWidth / 4, propertyColumnWidth);
119
- const maxImageHeight = react.useMemo(() => {
119
+ const maxImageHeight = React.useMemo(() => {
120
120
  return Math.max(...products.map(p => p.image.height));
121
121
  }, [products]);
122
122
  const stickOffset = !headerStickOffset ? 0 : headerStickOffset({
@@ -124,13 +124,13 @@ const ModelCompare = ({
124
124
  });
125
125
  const templateColumnWidth = isSmallScreen ? "100%" : `${columnWidth}px`;
126
126
  const templateColumns = `1fr ${leftColumnWidth}px repeat(${products.length}, ${templateColumnWidth}) 1fr`;
127
- const getStorePathParts = react.useCallback(storePathParts => {
127
+ const getStorePathParts = React.useCallback(storePathParts => {
128
128
  if (typeof storePathParts === "function") {
129
129
  return storePathParts(storeId);
130
130
  }
131
131
  return storePathParts;
132
132
  }, [storeId]);
133
- const getStoreHref = react.useCallback(product => {
133
+ const getStoreHref = React.useCallback(product => {
134
134
  const storePathParts = getStorePathParts(product.storePathParts);
135
135
  if (!storePathParts) {
136
136
  return void 0;
@@ -150,13 +150,13 @@ const ModelCompare = ({
150
150
  variant: storePathParts.variant
151
151
  } : void 0]);
152
152
  }, [createSiteUrl, getStorePathParts]);
153
- const hasNotes = react.useMemo(() => {
153
+ const hasNotes = React.useMemo(() => {
154
154
  return products.some(el => !!el.notes?.length);
155
155
  }, [products]);
156
- const hasFootnotes = react.useMemo(() => {
156
+ const hasFootnotes = React.useMemo(() => {
157
157
  return products.some(el => el.footnotes?.length);
158
158
  }, [products]);
159
- const getComingSoonButtonText = react.useCallback(product => {
159
+ const getComingSoonButtonText = React.useCallback(product => {
160
160
  const buttonText = product.comingSoonButtonText;
161
161
  if (typeof buttonText === "string") {
162
162
  return formatMessage(buttonText);
@@ -169,7 +169,7 @@ const ModelCompare = ({
169
169
  }
170
170
  return formatMessage("Coming Soon");
171
171
  }, [formatMessage, storeId]);
172
- const renderButton = react.useCallback(p => {
172
+ const renderButton = React.useCallback(p => {
173
173
  if (p.addToCartButton) {
174
174
  return p.addToCartButton;
175
175
  }
@@ -211,7 +211,7 @@ const ModelCompare = ({
211
211
  children: formatMessage("Buy Now")
212
212
  });
213
213
  }, [createSiteUrl, formatMessage, getComingSoonButtonText, getStoreHref, onLinkClick, showBuyButton, storeId]);
214
- const renderBadges = react.useCallback(product => {
214
+ const renderBadges = React.useCallback(product => {
215
215
  if (!showBadges) {
216
216
  return null;
217
217
  }
@@ -235,7 +235,7 @@ const ModelCompare = ({
235
235
  }
236
236
  return null;
237
237
  }, [formatMessage, showBadges]);
238
- const renderProductHeader = react.useCallback(product => {
238
+ const renderProductHeader = React.useCallback(product => {
239
239
  const storeHref = getStoreHref(product);
240
240
  const techspecsHref = product.techspecsPath && createSiteUrl(product.techspecsPath);
241
241
  const productTitleHref = linkToStoreTitleClick ? storeHref : techspecsHref;
@@ -301,7 +301,7 @@ const ModelCompare = ({
301
301
  stickX: true
302
302
  }), products.map(product => renderProductHeader(product)), /* @__PURE__ */jsxRuntime.jsx(ModelCompareV3_styles.CenterPlaceholderGridItem, {})]
303
303
  }), /* @__PURE__ */jsxRuntime.jsxs(StickyGridBody.StickyGridBody, {
304
- children: [properties.map(property => /* @__PURE__ */jsxRuntime.jsxs(react.Fragment, {
304
+ children: [properties.map(property => /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
305
305
  children: [/* @__PURE__ */jsxRuntime.jsx(ModelCompareV3_styles.CenterPlaceholderGridItem, {}), /* @__PURE__ */jsxRuntime.jsx(ModelCompareV3_styles.PropertyTitleGridItem, {
306
306
  stickX: true,
307
307
  children: leftColumnWidth > 0 && /* @__PURE__ */jsxRuntime.jsxs(ModelCompareV3_styles.PropertyTitleGridItemContent, {
@@ -312,7 +312,7 @@ const ModelCompare = ({
312
312
  src: property.icon
313
313
  })
314
314
  }), /* @__PURE__ */jsxRuntime.jsx(ModelCompareV3_styles.PropertyTitle, {
315
- children: property.title.split("\n").map((part, i, arr) => i < arr.length - 1 ? /* @__PURE__ */jsxRuntime.jsxs(react.Fragment, {
315
+ children: property.title.split("\n").map((part, i, arr) => i < arr.length - 1 ? /* @__PURE__ */jsxRuntime.jsxs(React.Fragment, {
316
316
  children: [part, /* @__PURE__ */jsxRuntime.jsx("br", {})]
317
317
  }, i) : part)
318
318
  }), property.tooltip && /* @__PURE__ */jsxRuntime.jsxs(ModelCompareV3_styles.PropertyTooltip, {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  var useModelCompareTranslation = require('../../constants/modelCompareData/translations/useModelCompareTranslation.js');
7
7
  var theme = require('../../constants/theme.js');
@@ -20,10 +20,10 @@ const ProductGroupsGrid = ({
20
20
  const {
21
21
  formatMessage
22
22
  } = useModelCompareTranslation.useModelCompareTranslation();
23
- const allProductGroups = react.useMemo(() => {
23
+ const allProductGroups = React.useMemo(() => {
24
24
  return products.map(p => p.productGroup ?? null);
25
25
  }, [products]);
26
- const groupGroups = react.useMemo(() => {
26
+ const groupGroups = React.useMemo(() => {
27
27
  const result = [];
28
28
  let current = {
29
29
  productGroup: null,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var context = require('./context.js');
6
6
  "use strict";
7
7
  function ScrollGroup({
@@ -10,15 +10,15 @@ function ScrollGroup({
10
10
  onAddItem,
11
11
  onResizeItem
12
12
  }) {
13
- const scrollGroupItemsRef = react.useRef([]);
14
- const currentManualScrollMetaRef = react.useRef(null);
15
- const registerItem = react.useCallback(item => {
13
+ const scrollGroupItemsRef = React.useRef([]);
14
+ const currentManualScrollMetaRef = React.useRef(null);
15
+ const registerItem = React.useCallback(item => {
16
16
  scrollGroupItemsRef.current.push(item);
17
17
  return () => {
18
18
  scrollGroupItemsRef.current = scrollGroupItemsRef.current.filter(existingItem => existingItem !== item);
19
19
  };
20
20
  }, []);
21
- const contextValue = react.useMemo(() => ({
21
+ const contextValue = React.useMemo(() => ({
22
22
  registerItem,
23
23
  scrollGroupItemsRef,
24
24
  currentManualScrollMetaRef,
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  "use strict";
5
- const ScrollGroupContext = react.createContext(null);
5
+ const ScrollGroupContext = React.createContext(null);
6
6
  function useScrollGroupContext() {
7
- const contextValue = react.useContext(ScrollGroupContext);
7
+ const contextValue = React.useContext(ScrollGroupContext);
8
8
  if (!contextValue) {
9
9
  throw new Error("Please wrap this component in <ScrollGroup />");
10
10
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  var context = require('./context.js');
5
5
  var useScrollGroupSetScroll = require('./useScrollGroupSetScroll.js');
6
6
  "use strict";
@@ -13,13 +13,13 @@ function useScrollGroupItem(item) {
13
13
  onAddItem,
14
14
  onResizeItem
15
15
  } = context.useScrollGroupContext();
16
- react.useEffect(() => {
16
+ React.useEffect(() => {
17
17
  const unregisterItem = registerItem(item);
18
18
  return () => {
19
19
  unregisterItem();
20
20
  };
21
21
  }, [item, registerItem]);
22
- react.useEffect(() => {
22
+ React.useEffect(() => {
23
23
  const element = item.refObject.current;
24
24
  if (element) {
25
25
  const handler = event => {
@@ -32,18 +32,18 @@ function useScrollGroupItem(item) {
32
32
  }
33
33
  return void 0;
34
34
  }, [item, item.refObject, onScrollItem]);
35
- const onAddItemRef = react.useRef(onAddItem);
36
- react.useEffect(() => {
35
+ const onAddItemRef = React.useRef(onAddItem);
36
+ React.useEffect(() => {
37
37
  onAddItemRef.current = onAddItem;
38
38
  }, [onAddItem]);
39
- react.useEffect(() => {
39
+ React.useEffect(() => {
40
40
  const element = item.refObject.current;
41
41
  if (element) {
42
42
  onAddItemRef.current?.(element);
43
43
  }
44
44
  return void 0;
45
45
  }, [item, item.refObject, onAddItem]);
46
- react.useEffect(() => {
46
+ React.useEffect(() => {
47
47
  const element = item.refObject.current;
48
48
  if (!element) {
49
49
  return void 0;
@@ -57,7 +57,7 @@ function useScrollGroupItem(item) {
57
57
  };
58
58
  }, [item.refObject, onResizeItem]);
59
59
  const scrollAllTo = useScrollGroupSetScroll.useScrollGroupSetScroll();
60
- react.useEffect(() => {
60
+ React.useEffect(() => {
61
61
  const thisElement = item.refObject.current;
62
62
  if (!thisElement) {
63
63
  return;
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  var context = require('./context.js');
5
5
  "use strict";
6
6
  function useScrollGroupSetScroll() {
7
7
  const {
8
8
  scrollGroupItemsRef
9
9
  } = context.useScrollGroupContext();
10
- return react.useCallback(offset => {
10
+ return React.useCallback(offset => {
11
11
  scrollGroupItemsRef.current?.forEach(({
12
12
  refObject
13
13
  }) => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  var context = require('./context.js');
5
5
  var useScrollGroupSetScroll = require('./useScrollGroupSetScroll.js');
6
6
  "use strict";
@@ -10,7 +10,7 @@ function useScrollGroupTo() {
10
10
  currentManualScrollMetaRef
11
11
  } = context.useScrollGroupContext();
12
12
  const setGroupScroll = useScrollGroupSetScroll.useScrollGroupSetScroll();
13
- return react.useCallback(offset => {
13
+ return React.useCallback(offset => {
14
14
  currentManualScrollMetaRef.current = {
15
15
  target: offset
16
16
  };
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  require('../ScrollGroup/index.js');
7
7
  var context$1 = require('./context.js');
@@ -20,10 +20,10 @@ function StickyGrid({
20
20
  templateColumns,
21
21
  gap
22
22
  }) {
23
- const wrapperRef = react.useRef(null);
24
- const [isAtMinX, setIsAtMinX] = react.useState(true);
25
- const [isAtMaxX, setIsAtMaxX] = react.useState(true);
26
- const evaluateXEndpoints = react.useCallback(element => {
23
+ const wrapperRef = React.useRef(null);
24
+ const [isAtMinX, setIsAtMinX] = React.useState(true);
25
+ const [isAtMaxX, setIsAtMaxX] = React.useState(true);
26
+ const evaluateXEndpoints = React.useCallback(element => {
27
27
  if (element.scrollLeft === 0) {
28
28
  if (!isAtMinX) {
29
29
  setIsAtMinX(true);
@@ -39,7 +39,7 @@ function StickyGrid({
39
39
  setIsAtMaxX(false);
40
40
  }
41
41
  }, [isAtMaxX, isAtMinX]);
42
- const value = react.useMemo(() => ({
42
+ const value = React.useMemo(() => ({
43
43
  templateColumns,
44
44
  gap,
45
45
  isAtMaxX,
@@ -69,7 +69,7 @@ function StickyGridProvider({
69
69
  scrollGroupItemsRef
70
70
  } = context.useScrollGroupContext();
71
71
  return /* @__PURE__ */jsxRuntime.jsx(context$1.StickyGridContext.Provider, {
72
- value: react.useMemo(() => ({
72
+ value: React.useMemo(() => ({
73
73
  ...value,
74
74
  scrollGroupItemsRef,
75
75
  scrollTo