@ubnt/store.core 9.60.0-new-design → 9.60.0

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 (555) hide show
  1. package/CHANGELOG.md +1 -129
  2. package/lib/_virtual/_virtual_multi-entry.js +10 -13
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +11 -13
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +2 -12
  7. package/lib/apis/smartcat.js +4 -27
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +4 -27
  10. package/lib/apis/smartcat.mjs.map +1 -1
  11. package/lib/assets/attention.svg +5 -5
  12. package/lib/assets/attention2.svg +5 -5
  13. package/lib/assets/close2.svg +2 -3
  14. package/lib/assets/close3.svg +3 -2
  15. package/lib/assets/icons/menu/{icon-location-pin.svg.js → icon-globe.svg.js} +6 -6
  16. package/lib/assets/icons/menu/icon-globe.svg.js.map +1 -0
  17. package/lib/assets/icons/menu/icon-globe.svg.mjs +3 -0
  18. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +1 -0
  19. package/lib/assets/logoUnifi.svg +2 -10
  20. package/lib/assets/pause.svg +3 -3
  21. package/lib/assets/pause2.svg +3 -3
  22. package/lib/components/Accordion/Accordion.js +4 -4
  23. package/lib/components/Avatar/Avatar.js +2 -2
  24. package/lib/components/BackInStock/BackInStock.types.d.ts +0 -1
  25. package/lib/components/Button/Button.js +5 -12
  26. package/lib/components/Button/Button.js.map +1 -1
  27. package/lib/components/Button/Button.mjs +1 -8
  28. package/lib/components/Button/Button.mjs.map +1 -1
  29. package/lib/components/Button/CartButton.d.ts +1 -3
  30. package/lib/components/Button/CartButton.js +6 -11
  31. package/lib/components/Button/CartButton.js.map +1 -1
  32. package/lib/components/Button/CartButton.mjs +4 -8
  33. package/lib/components/Button/CartButton.mjs.map +1 -1
  34. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  35. package/lib/components/ButtonGroup/ButtonGroup.js +9 -16
  36. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  37. package/lib/components/ButtonGroup/ButtonGroup.mjs +9 -16
  38. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  39. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +6 -10
  40. package/lib/components/ButtonGroup/ButtonGroup.styles.js +20 -60
  41. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  42. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +20 -60
  43. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  44. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +0 -5
  45. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.d.ts +1 -1
  46. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js +4 -16
  47. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.js.map +1 -1
  48. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs +5 -17
  49. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.mjs.map +1 -1
  50. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +1 -5
  51. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js +17 -82
  52. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.js.map +1 -1
  53. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs +17 -82
  54. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.mjs.map +1 -1
  55. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.types.d.ts +0 -4
  56. package/lib/components/CardSection/Card/Card.js +6 -6
  57. package/lib/components/CardSection/CardSection.js +2 -2
  58. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  59. package/lib/components/CartIcon/CartIcon.js +2 -2
  60. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +2 -4
  61. package/lib/components/CategoryTabs/CategoryTabs.styles.js +5 -8
  62. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  63. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +6 -7
  64. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  65. package/lib/components/Checkbox/Checkbox.js +4 -4
  66. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  67. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  68. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  69. package/lib/components/Container/Container.d.ts +1 -1
  70. package/lib/components/Container/Container.js +4 -5
  71. package/lib/components/Container/Container.js.map +1 -1
  72. package/lib/components/Container/Container.mjs +4 -5
  73. package/lib/components/Container/Container.mjs.map +1 -1
  74. package/lib/components/Container/index.stories.d.ts +5 -5
  75. package/lib/components/CustomImage/CustomImage.js +12 -12
  76. package/lib/components/Explore/Explore.js +5 -5
  77. package/lib/components/Explore/ExploreData.js +12 -12
  78. package/lib/components/Explore/ExploreData.js.map +1 -1
  79. package/lib/components/Explore/ExploreData.mjs +12 -12
  80. package/lib/components/Explore/ExploreData.mjs.map +1 -1
  81. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  82. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  83. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  84. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  85. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  86. package/lib/components/Footer/Footer.js +2 -2
  87. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  88. package/lib/components/Gallery/Gallery.context.js +17 -17
  89. package/lib/components/Gallery/Gallery.js +9 -9
  90. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  91. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  92. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  93. package/lib/components/GridGallery/GridGallery.js +8 -8
  94. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  95. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  96. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  97. package/lib/components/Header/AccountMenu/AccountMenu.js +20 -30
  98. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  99. package/lib/components/Header/AccountMenu/AccountMenu.mjs +3 -13
  100. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  101. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  102. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  103. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  104. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  105. package/lib/components/Header/Header.js +43 -43
  106. package/lib/components/Header/Header.js.map +1 -1
  107. package/lib/components/Header/Header.mjs +9 -9
  108. package/lib/components/Header/Header.mjs.map +1 -1
  109. package/lib/components/Header/Header.styles.d.ts +12 -7
  110. package/lib/components/Header/Header.styles.js +32 -10
  111. package/lib/components/Header/Header.styles.js.map +1 -1
  112. package/lib/components/Header/Header.styles.mjs +31 -10
  113. package/lib/components/Header/Header.styles.mjs.map +1 -1
  114. package/lib/components/Header/Header.types.d.ts +5 -29
  115. package/lib/components/Header/Header.types.js +1 -2
  116. package/lib/components/Header/Header.types.js.map +1 -1
  117. package/lib/components/Header/Header.types.mjs +1 -2
  118. package/lib/components/Header/Header.types.mjs.map +1 -1
  119. package/lib/components/Header/IsolatedHeader.d.ts +0 -1
  120. package/lib/components/Header/IsolatedHeader.js +50 -50
  121. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  122. package/lib/components/Header/IsolatedHeader.mjs +46 -47
  123. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  124. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  125. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  126. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  127. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  128. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  129. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  130. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +0 -1
  131. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  132. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  133. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  134. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  135. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  136. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  137. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +109 -116
  138. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  139. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +104 -111
  140. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  141. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +0 -9
  142. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +1 -15
  143. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  144. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +2 -13
  145. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  146. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +6 -12
  147. package/lib/components/Header/Overlay/Overlay.js +3 -3
  148. package/lib/components/Header/ProHeader/ProHeader.d.ts +5 -9
  149. package/lib/components/Header/ProHeader/ProHeader.js +189 -270
  150. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  151. package/lib/components/Header/ProHeader/ProHeader.mjs +171 -251
  152. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  153. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +25 -30
  154. package/lib/components/Header/ProHeader/ProHeader.styles.js +66 -119
  155. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  156. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +65 -112
  157. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  158. package/lib/components/Header/translations/ar.json.js +1 -4
  159. package/lib/components/Header/translations/ar.json.js.map +1 -1
  160. package/lib/components/Header/translations/ar.json.mjs +2 -4
  161. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  162. package/lib/components/Header/translations/de.json.js +1 -4
  163. package/lib/components/Header/translations/de.json.js.map +1 -1
  164. package/lib/components/Header/translations/de.json.mjs +2 -4
  165. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  166. package/lib/components/Header/translations/el.json.js +1 -4
  167. package/lib/components/Header/translations/el.json.js.map +1 -1
  168. package/lib/components/Header/translations/el.json.mjs +2 -4
  169. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  170. package/lib/components/Header/translations/en.json.js +1 -7
  171. package/lib/components/Header/translations/en.json.js.map +1 -1
  172. package/lib/components/Header/translations/en.json.mjs +2 -6
  173. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  174. package/lib/components/Header/translations/es.json.js +1 -4
  175. package/lib/components/Header/translations/es.json.js.map +1 -1
  176. package/lib/components/Header/translations/es.json.mjs +2 -4
  177. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  178. package/lib/components/Header/translations/fr.json.js +1 -4
  179. package/lib/components/Header/translations/fr.json.js.map +1 -1
  180. package/lib/components/Header/translations/fr.json.mjs +2 -4
  181. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  182. package/lib/components/Header/translations/it.json.js +1 -4
  183. package/lib/components/Header/translations/it.json.js.map +1 -1
  184. package/lib/components/Header/translations/it.json.mjs +2 -4
  185. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  186. package/lib/components/Header/translations/ja.json.js +1 -4
  187. package/lib/components/Header/translations/ja.json.js.map +1 -1
  188. package/lib/components/Header/translations/ja.json.mjs +2 -4
  189. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  190. package/lib/components/Header/translations/pt-BR.json.js +1 -4
  191. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  192. package/lib/components/Header/translations/pt-BR.json.mjs +2 -4
  193. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  194. package/lib/components/Header/translations/zh-Hans.json.js +1 -4
  195. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  196. package/lib/components/Header/translations/zh-Hans.json.mjs +2 -4
  197. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  198. package/lib/components/Header/translations/zh-Hant-TW.json.js +1 -4
  199. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  200. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +2 -4
  201. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  202. package/lib/components/Hero/Hero.js +5 -5
  203. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  204. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  205. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  206. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  207. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  208. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  209. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  210. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  211. package/lib/components/LandingPage/LandingPage.js +2 -2
  212. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  213. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  214. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  215. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  216. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  217. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  218. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  219. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  220. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  221. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  222. package/lib/components/LoaderDots/LoaderDots.js +1 -3
  223. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  224. package/lib/components/LoaderDots/LoaderDots.mjs +1 -3
  225. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  226. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +1 -2
  227. package/lib/components/LoaderDots/LoaderDots.styles.js +1 -11
  228. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  229. package/lib/components/LoaderDots/LoaderDots.styles.mjs +1 -11
  230. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  231. package/lib/components/LoaderDots/LoaderDots.types.d.ts +0 -2
  232. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  233. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  234. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  235. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  236. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  237. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  238. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  239. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  240. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  241. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  242. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  243. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  244. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  245. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
  246. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  247. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  248. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  249. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  250. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  251. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  252. package/lib/components/MobileModal/MobileModal.js +4 -4
  253. package/lib/components/Modal/Modal.js +3 -3
  254. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  255. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  256. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  257. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  258. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  259. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  260. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  261. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  262. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  263. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  264. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  265. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  266. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  267. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  268. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +2 -4
  269. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  270. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +2 -4
  271. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  272. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js +2 -2
  273. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.js.map +1 -1
  274. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs +2 -2
  275. package/lib/components/ModelCompareV3/data/products/cloudKeyG2Plus.mjs.map +1 -1
  276. package/lib/components/ModelCompareV3/data/products/express.js +3 -3
  277. package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
  278. package/lib/components/ModelCompareV3/data/products/express.mjs +3 -3
  279. package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
  280. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js +2 -4
  281. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.js.map +1 -1
  282. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs +2 -4
  283. package/lib/components/ModelCompareV3/data/products/gatewayEnterprise.mjs.map +1 -1
  284. package/lib/components/ModelCompareV3/data/products/gatewayLite.js +2 -4
  285. package/lib/components/ModelCompareV3/data/products/gatewayLite.js.map +1 -1
  286. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs +2 -4
  287. package/lib/components/ModelCompareV3/data/products/gatewayLite.mjs.map +1 -1
  288. package/lib/components/ModelCompareV3/data/products/gatewayMax.js +2 -4
  289. package/lib/components/ModelCompareV3/data/products/gatewayMax.js.map +1 -1
  290. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs +2 -4
  291. package/lib/components/ModelCompareV3/data/products/gatewayMax.mjs.map +1 -1
  292. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js +2 -4
  293. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.js.map +1 -1
  294. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs +2 -4
  295. package/lib/components/ModelCompareV3/data/products/gatewayProfessional.mjs.map +1 -1
  296. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js +1 -3
  297. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.js.map +1 -1
  298. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs +1 -3
  299. package/lib/components/ModelCompareV3/data/products/officialUniFiHosting.mjs.map +1 -1
  300. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  301. package/lib/components/ModelCompareV3/data/products/ucgMax.js.map +1 -1
  302. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  303. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs.map +1 -1
  304. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +3 -3
  305. package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
  306. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +3 -3
  307. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
  308. package/lib/components/ModelCompareV3/data/products/udmPro.js +3 -3
  309. package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
  310. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +3 -3
  311. package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
  312. package/lib/components/ModelCompareV3/data/products/udmProMax.js +3 -3
  313. package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
  314. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +3 -3
  315. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
  316. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +3 -3
  317. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
  318. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +3 -3
  319. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
  320. package/lib/components/ModelCompareV3/data/products/udr.js +41 -5
  321. package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
  322. package/lib/components/ModelCompareV3/data/products/udr.mjs +21 -5
  323. package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
  324. package/lib/components/ModelCompareV3/data/products/udw.js +3 -3
  325. package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
  326. package/lib/components/ModelCompareV3/data/products/udw.mjs +3 -3
  327. package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
  328. package/lib/components/Pagination/Pagination.js +3 -3
  329. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  330. package/lib/components/ProductCard/ProductCard.js +7 -7
  331. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  332. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  333. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  334. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  335. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  336. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  337. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  338. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  339. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  340. package/lib/components/ProductWizard/Options/Options.js +3 -3
  341. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  342. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  343. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  344. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  345. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  346. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  347. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  348. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  349. package/lib/components/QuantityInput/QuantityInput.js +1 -6
  350. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  351. package/lib/components/QuantityInput/QuantityInput.mjs +1 -6
  352. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  353. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  354. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -2
  355. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  356. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -2
  357. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  358. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  359. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  360. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +6 -6
  361. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  362. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  363. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +4 -4
  364. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  365. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  366. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  367. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +8 -8
  368. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  369. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  370. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  371. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  372. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  373. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  374. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +15 -15
  375. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  376. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  377. package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -1
  378. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -1
  379. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  380. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  381. package/lib/components/ScrollWrapper/ScrollWrapper.js +26 -34
  382. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  383. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
  384. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  385. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
  386. package/lib/components/Search/Input/Input.d.ts +1 -1
  387. package/lib/components/Search/Input/Input.js +8 -8
  388. package/lib/components/Search/Input/Input.js.map +1 -1
  389. package/lib/components/Search/Input/Input.mjs +4 -4
  390. package/lib/components/Search/Input/Input.mjs.map +1 -1
  391. package/lib/components/Search/Input/Input.styles.js +1 -0
  392. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  393. package/lib/components/Search/Input/Input.styles.mjs +1 -0
  394. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  395. package/lib/components/Search/Input/Input.types.d.ts +2 -3
  396. package/lib/components/Search/Modal/Modal.js +3 -3
  397. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  398. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  399. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  400. package/lib/components/Tooltip/Tooltip.js +5 -5
  401. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  402. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  403. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  404. package/lib/components/VideoPlayerNew/VideoPlayer.js +21 -21
  405. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  406. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  407. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  408. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  409. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  410. package/lib/components/index.d.ts +0 -1
  411. package/lib/components/index.js +0 -2
  412. package/lib/components/index.js.map +1 -1
  413. package/lib/components/index.mjs +0 -2
  414. package/lib/components/index.mjs.map +1 -1
  415. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  416. package/lib/constants/icons/options/colors/index.js +3 -3
  417. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  418. package/lib/constants/icons/options/styles/index.js +3 -3
  419. package/lib/constants/optionIcons.js +6 -6
  420. package/lib/constants/optionIcons.mjs +4 -4
  421. package/lib/constants/proStoreCategories/mapping/filters.d.ts +0 -17
  422. package/lib/constants/proStoreCategories/mapping/filters.js +0 -17
  423. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  424. package/lib/constants/proStoreCategories/mapping/filters.mjs +0 -17
  425. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  426. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -4
  427. package/lib/constants/proStoreCategories/mapping/index.js +51 -50
  428. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  429. package/lib/constants/proStoreCategories/mapping/index.mjs +49 -49
  430. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  431. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +0 -5
  432. package/lib/constants/proStoreCategories/mapping/redirects.js +3 -18
  433. package/lib/constants/proStoreCategories/mapping/redirects.js.map +1 -1
  434. package/lib/constants/proStoreCategories/mapping/redirects.mjs +3 -18
  435. package/lib/constants/proStoreCategories/mapping/redirects.mjs.map +1 -1
  436. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +9 -9
  437. package/lib/constants/proStoreCategories/mapping/unifi.js +9 -9
  438. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  439. package/lib/constants/proStoreCategories/mapping/unifi.mjs +9 -9
  440. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  441. package/lib/constants/proStoreCategories/translations/ar.json.js +3 -7
  442. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  443. package/lib/constants/proStoreCategories/translations/ar.json.mjs +4 -7
  444. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  445. package/lib/constants/proStoreCategories/translations/de.json.js +3 -7
  446. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  447. package/lib/constants/proStoreCategories/translations/de.json.mjs +4 -7
  448. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  449. package/lib/constants/proStoreCategories/translations/el.json.js +3 -7
  450. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  451. package/lib/constants/proStoreCategories/translations/el.json.mjs +4 -7
  452. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  453. package/lib/constants/proStoreCategories/translations/en.json.js +3 -7
  454. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  455. package/lib/constants/proStoreCategories/translations/en.json.mjs +4 -7
  456. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  457. package/lib/constants/proStoreCategories/translations/es.json.js +3 -7
  458. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  459. package/lib/constants/proStoreCategories/translations/es.json.mjs +4 -7
  460. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  461. package/lib/constants/proStoreCategories/translations/fr.json.js +3 -7
  462. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  463. package/lib/constants/proStoreCategories/translations/fr.json.mjs +4 -7
  464. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  465. package/lib/constants/proStoreCategories/translations/it.json.js +3 -7
  466. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  467. package/lib/constants/proStoreCategories/translations/it.json.mjs +4 -7
  468. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  469. package/lib/constants/proStoreCategories/translations/ja.json.js +3 -7
  470. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  471. package/lib/constants/proStoreCategories/translations/ja.json.mjs +4 -7
  472. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  473. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -7
  474. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  475. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +4 -7
  476. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  477. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -7
  478. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  479. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +4 -7
  480. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  481. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -7
  482. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  483. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +4 -7
  484. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  485. package/lib/constants/proStoreFilters/mapping.d.ts +3 -55
  486. package/lib/constants/proStoreFilters/mapping.js +10 -140
  487. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  488. package/lib/constants/proStoreFilters/mapping.mjs +10 -140
  489. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  490. package/lib/constants/theme.js +0 -4
  491. package/lib/constants/theme.js.map +1 -1
  492. package/lib/constants/theme.mjs +0 -4
  493. package/lib/constants/theme.mjs.map +1 -1
  494. package/lib/contexts/MenuContext/context.js +34 -34
  495. package/lib/contexts/MenuContext/context.js.map +1 -1
  496. package/lib/contexts/MenuContext/context.mjs +1 -1
  497. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  498. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  499. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  500. package/lib/helpers/index.js +0 -1
  501. package/lib/helpers/index.js.map +1 -1
  502. package/lib/helpers/index.mjs +1 -1
  503. package/lib/helpers/proStoreCategories.js +2 -2
  504. package/lib/helpers/ux.d.ts +0 -8
  505. package/lib/helpers/ux.js +0 -15
  506. package/lib/helpers/ux.js.map +1 -1
  507. package/lib/helpers/ux.mjs +1 -15
  508. package/lib/helpers/ux.mjs.map +1 -1
  509. package/lib/hooks/useHasTouch.js +3 -3
  510. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  511. package/lib/hooks/useHorizontalScroll.js +2 -2
  512. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  513. package/lib/hooks/useScrollToY.js +2 -2
  514. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  515. package/lib/hooks/useTranslation.js +6 -6
  516. package/lib/utils/nextjs/ssr/registry.js +2 -2
  517. package/package.json +1 -1
  518. package/lib/assets/cart-secondary.svg +0 -5
  519. package/lib/assets/icon-location-pin.svg +0 -5
  520. package/lib/assets/icons/cart-secondary.svg.js +0 -27
  521. package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
  522. package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
  523. package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
  524. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +0 -1
  525. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +0 -3
  526. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +0 -1
  527. package/lib/components/ButtonGroupBasic/index.stories.d.ts +0 -6
  528. package/lib/components/Header/Header.stories.d.ts +0 -111
  529. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +0 -7
  530. package/lib/components/Header/LogoIcon/LogoIcon.js +0 -46
  531. package/lib/components/Header/LogoIcon/LogoIcon.js.map +0 -1
  532. package/lib/components/Header/LogoIcon/LogoIcon.mjs +0 -36
  533. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +0 -1
  534. package/lib/components/Header/LogoIcon/index.d.ts +0 -1
  535. package/lib/components/Header/LogoIcon/index.js +0 -6
  536. package/lib/components/Header/LogoIcon/index.js.map +0 -1
  537. package/lib/components/Header/LogoIcon/index.mjs +0 -3
  538. package/lib/components/Header/LogoIcon/index.mjs.map +0 -1
  539. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +0 -2
  540. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +0 -79
  541. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +0 -1
  542. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +0 -71
  543. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +0 -1
  544. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +0 -5
  545. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +0 -11
  546. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +0 -86
  547. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +0 -1
  548. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +0 -72
  549. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +0 -1
  550. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +0 -12
  551. package/lib/components/ProductTechSpecsV2/index.d.ts +0 -1
  552. package/lib/components/ProductTechSpecsV2/index.js +0 -6
  553. package/lib/components/ProductTechSpecsV2/index.js.map +0 -1
  554. package/lib/components/ProductTechSpecsV2/index.mjs +0 -3
  555. package/lib/components/ProductTechSpecsV2/index.mjs.map +0 -1
@@ -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 reactUse = require('react-use');
6
6
  var layout = require('../../constants/layout.js');
7
7
  require('../../contexts/MenuContext/mapping.js');
@@ -73,17 +73,17 @@ const MeetUniFiVideoPlayer = ({
73
73
  }).then(res => res.default)
74
74
  }
75
75
  });
76
- const latestEpisode = React.useMemo(() => {
76
+ const latestEpisode = react.useMemo(() => {
77
77
  return episodes.sort((a, b) => b.episode - a.episode).sort((a, b) => b.season - a.season)[0];
78
78
  }, [episodes]);
79
- const [isVideoPlayerOpen, setIsVideoPlayerOpen] = React.useState(false);
80
- const [currentEpisode, setCurrentEpisode] = React.useState(latestEpisode);
81
- const previewVideoRef = React.useRef(null);
79
+ const [isVideoPlayerOpen, setIsVideoPlayerOpen] = react.useState(false);
80
+ const [currentEpisode, setCurrentEpisode] = react.useState(latestEpisode);
81
+ const previewVideoRef = react.useRef(null);
82
82
  const isDesktop = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
83
- const [inViewForPreview, setInViewForPreview] = React.useState(false);
84
- const videoRef = React.useRef(null);
85
- const [previewVideoBufferLoaded, setPreviewVideoBufferLoaded] = React.useState(false);
86
- React.useEffect(() => {
83
+ const [inViewForPreview, setInViewForPreview] = react.useState(false);
84
+ const videoRef = react.useRef(null);
85
+ const [previewVideoBufferLoaded, setPreviewVideoBufferLoaded] = react.useState(false);
86
+ react.useEffect(() => {
87
87
  let timer;
88
88
  if (isInView && !isVideoPlayerOpen) {
89
89
  timer = setTimeout(() => {
@@ -97,21 +97,21 @@ const MeetUniFiVideoPlayer = ({
97
97
  clearTimeout(timer);
98
98
  };
99
99
  }, [isInView, isVideoPlayerOpen]);
100
- React.useEffect(() => {
100
+ react.useEffect(() => {
101
101
  if (inViewForPreview && previewVideoBufferLoaded) {
102
102
  try {
103
103
  previewVideoRef.current?.play();
104
104
  } catch {}
105
105
  }
106
106
  }, [inViewForPreview, previewVideoBufferLoaded]);
107
- const handleEpisodeClick = React.useCallback(id2 => {
107
+ const handleEpisodeClick = react.useCallback(id2 => {
108
108
  const foundEpisode = episodes.find(e => e.id === id2);
109
109
  if (foundEpisode) {
110
110
  setCurrentEpisode(foundEpisode);
111
111
  setIsVideoPlayerOpen(true);
112
112
  }
113
113
  }, [episodes]);
114
- const handleEpisodeMouseOver = React.useCallback(() => {
114
+ const handleEpisodeMouseOver = react.useCallback(() => {
115
115
  const previewVideo = previewVideoRef.current;
116
116
  if (previewVideo) {
117
117
  try {
@@ -119,7 +119,7 @@ const MeetUniFiVideoPlayer = ({
119
119
  } catch {}
120
120
  }
121
121
  }, []);
122
- const handleEpisodeMouseOut = React.useCallback(async () => {
122
+ const handleEpisodeMouseOut = react.useCallback(async () => {
123
123
  const previewVideo = previewVideoRef.current;
124
124
  if (previewVideo) {
125
125
  try {
@@ -127,7 +127,7 @@ const MeetUniFiVideoPlayer = ({
127
127
  } catch {}
128
128
  }
129
129
  }, []);
130
- const episodeCards = React.useMemo(() => {
130
+ const episodeCards = react.useMemo(() => {
131
131
  const episodeCards2 = [];
132
132
  if (episodes.length > 1) {
133
133
  episodeCards2.push(...episodes.map(episode => {
@@ -161,11 +161,11 @@ const MeetUniFiVideoPlayer = ({
161
161
  }
162
162
  return episodeCards2;
163
163
  }, [comingSoon, episodes, handleEpisodeClick, handleEpisodeMouseOut, handleEpisodeMouseOver]);
164
- const activeEpisodeCardIndex = React.useMemo(() => {
164
+ const activeEpisodeCardIndex = react.useMemo(() => {
165
165
  return episodeCards.findIndex(card => card.id === currentEpisode.id);
166
166
  }, [currentEpisode.id, episodeCards]);
167
- const [backgroundDisabled, setBackgroundDisabled] = React.useState(false);
168
- React.useEffect(() => {
167
+ const [backgroundDisabled, setBackgroundDisabled] = react.useState(false);
168
+ react.useEffect(() => {
169
169
  if (isVideoPlayerOpen) {
170
170
  setBackgroundDisabled(true);
171
171
  return;
@@ -178,7 +178,7 @@ const MeetUniFiVideoPlayer = ({
178
178
  }
179
179
  setBackgroundDisabled(false);
180
180
  }, [inViewForPreview, isVideoPlayerOpen, previewVideoBufferLoaded]);
181
- const heading = React.useMemo(() => {
181
+ const heading = react.useMemo(() => {
182
182
  if (flipTitle) {
183
183
  return {
184
184
  episodeTitle: title,
@@ -27,7 +27,7 @@ export declare const PreviewVideoGradient: import("styled-components").StyledCom
27
27
  export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
28
28
  $hidden: boolean;
29
29
  }, never>;
30
- export declare const EpisodeTrack: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, draggable, alignActive, disableScrollToActive, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {
30
+ export declare const EpisodeTrack: import("styled-components").StyledComponent<({ align, direction, items, fillType, fillColor, accentColor, arrowColor, scrollStepType, gap, className, arrowFadeColor, activeIndex, circleArrowBackground, arrowGap, gradientSize, hideArrows, onScrollChange, enableWheelScroll, arrowIcon, draggable, }: import("../ScrollWrapper/ScrollWrapper.types").ScrollWrapperProps) => JSX.Element, import("styled-components").DefaultTheme, {
31
31
  $extendedHeight?: boolean;
32
32
  }, never>;
33
33
  export declare const BottomGradient: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -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 MicrositeFeatureProgressBar = require('../MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js');
6
6
  var MicrositeColumnFeatureProgressBar_styles = require('./MicrositeColumnFeatureProgressBar.styles.js');
7
7
  "use strict";
@@ -17,7 +17,7 @@ const MicrositeColumnFeatureProgressBar = ({
17
17
  children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeColumnFeatureProgressBar_styles.BlockTitle, {
18
18
  children: block.title
19
19
  }), /* @__PURE__ */jsxRuntime.jsx(MicrositeColumnFeatureProgressBar_styles.BlockFeatures, {
20
- children: block.features.map((feature, index2) => /* @__PURE__ */React.createElement(MicrositeFeatureProgressBar.MicrositeFeatureProgressBar, {
20
+ children: block.features.map((feature, index2) => /* @__PURE__ */react.createElement(MicrositeFeatureProgressBar.MicrositeFeatureProgressBar, {
21
21
  ...feature,
22
22
  key: index2
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 asset = require('../../utils/asset.js');
6
6
  require('../CustomImage/index.js');
7
7
  require('./assets/check-blue.svg.js');
@@ -31,7 +31,7 @@ const MicrositeFeatureChecklist = ({
31
31
  cta,
32
32
  motif
33
33
  }) => {
34
- const divider = React.useMemo(() => asset.imageSrc(motif === "dark" ? dividerDark__default["default"] : dividerLight__default["default"]), [motif]);
34
+ const divider = react.useMemo(() => asset.imageSrc(motif === "dark" ? dividerDark__default["default"] : dividerLight__default["default"]), [motif]);
35
35
  return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.Container, {
36
36
  motif,
37
37
  children: [/* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.Titles, {
@@ -72,7 +72,7 @@ const FeatureGridItem = ({
72
72
  description,
73
73
  motif
74
74
  }) => {
75
- const check = React.useMemo(() => asset.imageSrc(motif === "dark" ? checkBlue__default["default"] : checkGray__default["default"]), [motif]);
75
+ const check = react.useMemo(() => asset.imageSrc(motif === "dark" ? checkBlue__default["default"] : checkGray__default["default"]), [motif]);
76
76
  return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureChecklist_styles.GridItemContainer, {
77
77
  motif,
78
78
  children: [/* @__PURE__ */jsxRuntime.jsx(MicrositeFeatureChecklist_styles.GridItemCheckbox, {
@@ -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 MicrositeFeatureProgressBar_styles = require('./MicrositeFeatureProgressBar.styles.js');
6
6
  var MicrositeFeatureProgressBar_types = require('./MicrositeFeatureProgressBar.types.js');
7
7
  "use strict";
@@ -21,8 +21,8 @@ const MicrositeFeatureProgressBar = ({
21
21
  className,
22
22
  type = MicrositeFeatureProgressBar_types.MicrositeFeatureProgressBarType.DEFAULT
23
23
  }) => {
24
- const partitionedProgress = React.useMemo(() => Math.min(Math.max(barValue, 0), max), [barValue, max]);
25
- const mobilePartitionedProgress = React.useMemo(() => Math.min(Math.max(tabletBar?.value ?? 0, 0), tabletBar?.max ?? max), [tabletBar?.value, tabletBar?.max, max]);
24
+ const partitionedProgress = react.useMemo(() => Math.min(Math.max(barValue, 0), max), [barValue, max]);
25
+ const mobilePartitionedProgress = react.useMemo(() => Math.min(Math.max(tabletBar?.value ?? 0, 0), tabletBar?.max ?? max), [tabletBar?.value, tabletBar?.max, max]);
26
26
  return /* @__PURE__ */jsxRuntime.jsxs(MicrositeFeatureProgressBar_styles.Container, {
27
27
  $small: type === MicrositeFeatureProgressBar_types.MicrositeFeatureProgressBarType.COLUMN,
28
28
  className,
@@ -2,7 +2,7 @@
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
4
  var round = require('lodash/round');
5
- var React = require('react');
5
+ var react = require('react');
6
6
  var reactUse = require('react-use');
7
7
  var layout = require('../../constants/layout.js');
8
8
  var MicrositeHero_styles = require('./MicrositeHero.styles.js');
@@ -30,22 +30,22 @@ const MicrositeHero = ({
30
30
  icons,
31
31
  transitions: customTransitions
32
32
  }) => {
33
- const videoRef = React.useRef(null);
34
- const videoInnerWrapRef = React.useRef(null);
35
- const loopVideoRef = React.useRef(null);
36
- const headingWrapRef = React.useRef(null);
37
- const headingInnerWrapRef = React.useRef(null);
38
- const buyButtonRef = React.useRef(null);
39
- const frameRef = React.useRef(0);
40
- const [currentSlide, setCurrentSlide] = React.useState(0);
33
+ const videoRef = react.useRef(null);
34
+ const videoInnerWrapRef = react.useRef(null);
35
+ const loopVideoRef = react.useRef(null);
36
+ const headingWrapRef = react.useRef(null);
37
+ const headingInnerWrapRef = react.useRef(null);
38
+ const buyButtonRef = react.useRef(null);
39
+ const frameRef = react.useRef(0);
40
+ const [currentSlide, setCurrentSlide] = react.useState(0);
41
41
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.MOBILE_AND_DOWN, false);
42
42
  const isDesktop = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
43
43
  const {
44
44
  width
45
45
  } = reactUse.useWindowSize();
46
- const [isVideoPlaying, setIsVideoPlaying] = React.useState(false);
47
- const [loopActive, setLoopActive] = React.useState(false);
48
- const animateText = React.useCallback(() => {
46
+ const [isVideoPlaying, setIsVideoPlaying] = react.useState(false);
47
+ const [loopActive, setLoopActive] = react.useState(false);
48
+ const animateText = react.useCallback(() => {
49
49
  const videoElement = videoRef.current;
50
50
  const headingWrapElement = headingWrapRef.current;
51
51
  const headingInnerWrapElement = headingInnerWrapRef.current;
@@ -96,7 +96,7 @@ const MicrositeHero = ({
96
96
  }
97
97
  frameRef.current = requestAnimationFrame(animateText);
98
98
  }, [currentSlide, customTransitions, isDesktop, isMobile, video.slides]);
99
- React.useEffect(() => {
99
+ react.useEffect(() => {
100
100
  if (variant === MicrositeHero_types.HeroVariant.productPage) {
101
101
  return;
102
102
  }
@@ -105,14 +105,14 @@ const MicrositeHero = ({
105
105
  cancelAnimationFrame(frameRef.current);
106
106
  };
107
107
  }, [animateText, variant]);
108
- const handleLoopVideoPlay = React.useCallback(() => {
108
+ const handleLoopVideoPlay = react.useCallback(() => {
109
109
  const loopVideo = loopVideoRef.current;
110
110
  if (!loopVideo) {
111
111
  return;
112
112
  }
113
113
  loopVideo.play();
114
114
  }, []);
115
- React.useEffect(() => {
115
+ react.useEffect(() => {
116
116
  const video2 = videoRef.current;
117
117
  const handleVideoEnded = () => {
118
118
  setLoopActive(true);
@@ -123,7 +123,7 @@ const MicrositeHero = ({
123
123
  video2?.removeEventListener("ended", handleVideoEnded);
124
124
  };
125
125
  }, [handleLoopVideoPlay]);
126
- React.useEffect(() => {
126
+ react.useEffect(() => {
127
127
  const loopVideo = loopVideoRef.current;
128
128
  if (!loopVideo) {
129
129
  return;
@@ -139,10 +139,10 @@ const MicrositeHero = ({
139
139
  }, 1e3);
140
140
  });
141
141
  }, []);
142
- const aspectRatio = React.useMemo(() => {
142
+ const aspectRatio = react.useMemo(() => {
143
143
  return round__default["default"](video.width / video.height, 2);
144
144
  }, [video.height, video.width]);
145
- const iconBreakPoint = React.useMemo(() => {
145
+ const iconBreakPoint = react.useMemo(() => {
146
146
  if (!icons?.length) {
147
147
  return 0;
148
148
  }
@@ -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 MicrositeIntroductionBlock_styles = require('./MicrositeIntroductionBlock.styles.js');
6
6
  var MicrositeIntroductionBlock_types = require('./MicrositeIntroductionBlock.types.js');
7
7
  "use strict";
@@ -10,8 +10,8 @@ const MicrositeIntroductionBlock = ({
10
10
  className,
11
11
  buyButton
12
12
  }) => {
13
- const videoRef = React.useRef(null);
14
- const handleReplay = React.useCallback(async () => {
13
+ const videoRef = react.useRef(null);
14
+ const handleReplay = react.useCallback(async () => {
15
15
  if (!videoRef.current) {
16
16
  return;
17
17
  }
@@ -22,7 +22,7 @@ const MicrositeIntroductionBlock = ({
22
22
  } catch {}
23
23
  }
24
24
  }, []);
25
- const BuyButtonFragment = React.useMemo(() => {
25
+ const BuyButtonFragment = react.useMemo(() => {
26
26
  if (!buyButton) return null;
27
27
  return /* @__PURE__ */jsxRuntime.jsx(MicrositeIntroductionBlock_styles.MicrositeBuyButton, {
28
28
  ...buyButton
@@ -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
  var MicrositePageContext = require('../Microsites/MicrositePageContext.js');
7
7
  var Microsites_types = require('../Microsites/Microsites.types.js');
@@ -13,11 +13,11 @@ const RESET_STEP_MS = 20;
13
13
  const GridItem = ({
14
14
  item
15
15
  }) => {
16
- const context = React.useContext(MicrositePageContext.MicrositePageContext);
16
+ const context = react.useContext(MicrositePageContext.MicrositePageContext);
17
17
  const playOnHover = item.media.type === MicrositeMediaGrid_types.AssetType.Video && item.media.playOnHover;
18
- const [playing, setPlaying] = React.useState(!playOnHover);
19
- const animationFrame = React.useRef(0);
20
- const resetCurrentTime = React.useCallback(el => {
18
+ const [playing, setPlaying] = react.useState(!playOnHover);
19
+ const animationFrame = react.useRef(0);
20
+ const resetCurrentTime = react.useCallback(el => {
21
21
  if (playing || !el.currentTime) return;
22
22
  if (el.currentTime >= el.duration) {
23
23
  el.currentTime = 0;
@@ -32,16 +32,16 @@ const GridItem = ({
32
32
  }
33
33
  });
34
34
  }, [playing]);
35
- const videoRef = React.useRef(null);
36
- const onMouseEnter = React.useCallback(() => {
35
+ const videoRef = react.useRef(null);
36
+ const onMouseEnter = react.useCallback(() => {
37
37
  if (!playOnHover) return;
38
38
  setPlaying(true);
39
39
  }, [playOnHover]);
40
- const onMouseLeave = React.useCallback(() => {
40
+ const onMouseLeave = react.useCallback(() => {
41
41
  if (!playOnHover) return;
42
42
  setPlaying(false);
43
43
  }, [playOnHover]);
44
- React.useEffect(() => {
44
+ react.useEffect(() => {
45
45
  const el = videoRef.current;
46
46
  if (!el) return;
47
47
  if (playing) {
@@ -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,4 +1,4 @@
1
- export declare const Wrap: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const Wrap: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
2
2
  export declare const HeadingWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const Heading: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
4
4
  export declare const SubHeading: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
@@ -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;
@@ -68,7 +68,7 @@ const MicrositeVideoSlideshow = ({
68
68
  }, [
69
69
  // HACK: needed currentFeatureSlide?.id to retrigger the effect
70
70
  currentFeatureSlide?.id]);
71
- const handleVideoPlaybackClick = React.useCallback(async () => {
71
+ const handleVideoPlaybackClick = react.useCallback(async () => {
72
72
  const video = videoRef.current;
73
73
  if (!video) {
74
74
  return;
@@ -83,8 +83,8 @@ const MicrositeVideoSlideshow = ({
83
83
  } catch {}
84
84
  }
85
85
  }, []);
86
- const sortedSlidesDesc = React.useMemo(() => [...(slides ?? [])].sort((a, b) => b.timestamp - a.timestamp), [slides]);
87
- React.useEffect(() => {
86
+ const sortedSlidesDesc = react.useMemo(() => [...(slides ?? [])].sort((a, b) => b.timestamp - a.timestamp), [slides]);
87
+ react.useEffect(() => {
88
88
  const video = videoRef.current;
89
89
  if (!video) {
90
90
  return;
@@ -99,7 +99,7 @@ const MicrositeVideoSlideshow = ({
99
99
  clearInterval(interval);
100
100
  };
101
101
  }, [currentFeatureSlide?.id, sortedSlidesDesc]);
102
- const handleSlideClick = React.useCallback(slide => async () => {
102
+ const handleSlideClick = react.useCallback(slide => async () => {
103
103
  const video = videoRef.current;
104
104
  if (!video) {
105
105
  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('../Button/index.js');
6
6
  require('../StyleableSvgImage/index.js');
7
7
  require('./assets/arrowDown.svg.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
  }