@ubnt/store.core 9.59.0-beta.1 → 9.59.0-new-design

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 (678) hide show
  1. package/CHANGELOG.md +111 -567
  2. package/lib/_virtual/_virtual_multi-entry.js +15 -25
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
  5. package/lib/apis/smartcat.d.ts +12 -2
  6. package/lib/apis/smartcat.js +27 -4
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +27 -4
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/cart-secondary.svg +5 -0
  11. package/lib/assets/close2.svg +2 -3
  12. package/lib/assets/close3.svg +3 -2
  13. package/lib/assets/icon-location-pin.svg +5 -0
  14. package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
  15. package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
  16. package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
  17. package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
  18. package/lib/{components/ModelCompareV3/assets/crestron.svg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
  19. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
  20. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
  21. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
  22. package/lib/assets/logoUnifi.svg +10 -2
  23. package/lib/assets/minus4.svg +8 -8
  24. package/lib/assets/minus5.svg +8 -8
  25. package/lib/assets/pause.svg +3 -3
  26. package/lib/assets/pause2.svg +3 -3
  27. package/lib/assets/plus5.svg +9 -9
  28. package/lib/assets/plus6.svg +9 -9
  29. package/lib/assets/ucgMax.jpg +0 -0
  30. package/lib/assets/ucgMax2.jpg +0 -0
  31. package/lib/assets/ucgUltra.jpg +0 -0
  32. package/lib/assets/ucgUltra2.jpg +0 -0
  33. package/lib/components/Accordion/Accordion.js +4 -4
  34. package/lib/components/Avatar/Avatar.js +2 -2
  35. package/lib/components/Button/Button.js +12 -5
  36. package/lib/components/Button/Button.js.map +1 -1
  37. package/lib/components/Button/Button.mjs +8 -1
  38. package/lib/components/Button/Button.mjs.map +1 -1
  39. package/lib/components/Button/CartButton.d.ts +3 -1
  40. package/lib/components/Button/CartButton.js +11 -6
  41. package/lib/components/Button/CartButton.js.map +1 -1
  42. package/lib/components/Button/CartButton.mjs +8 -4
  43. package/lib/components/Button/CartButton.mjs.map +1 -1
  44. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  45. package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
  46. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  47. package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
  48. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  49. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
  50. package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
  51. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  52. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
  53. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  54. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  55. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  56. package/lib/components/CardSection/Card/Card.js +6 -6
  57. package/lib/components/CardSection/CardSection.js +3 -4
  58. package/lib/components/CardSection/CardSection.js.map +1 -1
  59. package/lib/components/CardSection/CardSection.mjs +1 -2
  60. package/lib/components/CardSection/CardSection.mjs.map +1 -1
  61. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  62. package/lib/components/CartIcon/CartIcon.js +2 -2
  63. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
  64. package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
  65. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  66. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
  67. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  68. package/lib/components/Checkbox/Checkbox.js +4 -4
  69. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  70. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  71. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  72. package/lib/components/Container/Container.d.ts +1 -1
  73. package/lib/components/Container/Container.js +5 -4
  74. package/lib/components/Container/Container.js.map +1 -1
  75. package/lib/components/Container/Container.mjs +5 -4
  76. package/lib/components/Container/Container.mjs.map +1 -1
  77. package/lib/components/Container/index.stories.d.ts +5 -5
  78. package/lib/components/CustomImage/CustomImage.js +12 -12
  79. package/lib/components/Explore/Explore.js +5 -5
  80. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  81. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  82. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  83. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  84. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  85. package/lib/components/Footer/Footer.js +2 -2
  86. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  87. package/lib/components/Gallery/Gallery.context.js +17 -17
  88. package/lib/components/Gallery/Gallery.js +9 -9
  89. package/lib/components/Gallery/GalleryControls/GalleryControls.js +4 -4
  90. package/lib/components/Gallery/GalleryItem/GalleryItem.js +8 -8
  91. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  92. package/lib/components/GridGallery/GridGallery.js +8 -8
  93. package/lib/components/GridGallery/GridModal/GridModal.js +6 -6
  94. package/lib/components/Header/AccountFrame/AccountFrame.js +11 -11
  95. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  96. package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
  97. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  98. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  99. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  100. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  101. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  102. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  103. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  104. package/lib/components/Header/Header.js +40 -40
  105. package/lib/components/Header/Header.js.map +1 -1
  106. package/lib/components/Header/Header.mjs +6 -6
  107. package/lib/components/Header/Header.mjs.map +1 -1
  108. package/lib/components/Header/Header.stories.d.ts +111 -0
  109. package/lib/components/Header/Header.styles.d.ts +7 -12
  110. package/lib/components/Header/Header.styles.js +10 -32
  111. package/lib/components/Header/Header.styles.js.map +1 -1
  112. package/lib/components/Header/Header.styles.mjs +10 -31
  113. package/lib/components/Header/Header.styles.mjs.map +1 -1
  114. package/lib/components/Header/Header.types.d.ts +29 -5
  115. package/lib/components/Header/Header.types.js +2 -1
  116. package/lib/components/Header/Header.types.js.map +1 -1
  117. package/lib/components/Header/Header.types.mjs +2 -1
  118. package/lib/components/Header/Header.types.mjs.map +1 -1
  119. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  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 +47 -46
  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/LogoIcon/LogoIcon.d.ts +7 -0
  126. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  127. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  128. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  129. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  130. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  131. package/lib/components/Header/LogoIcon/index.js +6 -0
  132. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  133. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  134. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  135. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  136. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  137. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  138. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  139. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  140. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  141. package/lib/components/Header/Navigation/Carousel/Carousel.js +5 -5
  142. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +12 -12
  143. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  144. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +6 -6
  145. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  146. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  147. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +116 -109
  148. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  149. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
  150. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  151. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
  152. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  153. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  154. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  155. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  156. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  157. package/lib/components/Header/Overlay/Overlay.js +3 -3
  158. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  159. package/lib/components/Header/ProHeader/ProHeader.js +270 -189
  160. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  161. package/lib/components/Header/ProHeader/ProHeader.mjs +251 -171
  162. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  163. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
  164. package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
  165. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  166. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
  167. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  168. package/lib/components/Header/translations/ar.json.js +4 -1
  169. package/lib/components/Header/translations/ar.json.js.map +1 -1
  170. package/lib/components/Header/translations/ar.json.mjs +4 -2
  171. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  172. package/lib/components/Header/translations/de.json.js +4 -1
  173. package/lib/components/Header/translations/de.json.js.map +1 -1
  174. package/lib/components/Header/translations/de.json.mjs +4 -2
  175. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  176. package/lib/components/Header/translations/el.json.js +4 -1
  177. package/lib/components/Header/translations/el.json.js.map +1 -1
  178. package/lib/components/Header/translations/el.json.mjs +4 -2
  179. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  180. package/lib/components/Header/translations/en.json.js +7 -1
  181. package/lib/components/Header/translations/en.json.js.map +1 -1
  182. package/lib/components/Header/translations/en.json.mjs +6 -2
  183. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  184. package/lib/components/Header/translations/es.json.js +4 -1
  185. package/lib/components/Header/translations/es.json.js.map +1 -1
  186. package/lib/components/Header/translations/es.json.mjs +4 -2
  187. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  188. package/lib/components/Header/translations/fr.json.js +4 -1
  189. package/lib/components/Header/translations/fr.json.js.map +1 -1
  190. package/lib/components/Header/translations/fr.json.mjs +4 -2
  191. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  192. package/lib/components/Header/translations/it.json.js +4 -1
  193. package/lib/components/Header/translations/it.json.js.map +1 -1
  194. package/lib/components/Header/translations/it.json.mjs +4 -2
  195. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  196. package/lib/components/Header/translations/ja.json.js +4 -1
  197. package/lib/components/Header/translations/ja.json.js.map +1 -1
  198. package/lib/components/Header/translations/ja.json.mjs +4 -2
  199. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  200. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  201. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  202. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  203. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  204. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  205. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  206. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  207. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  208. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  209. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  210. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  211. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  212. package/lib/components/Hero/Hero.js +5 -5
  213. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  214. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  215. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  216. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  217. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  218. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  219. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  220. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  221. package/lib/components/LandingPage/LandingPage.js +2 -2
  222. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  223. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  224. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  225. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  226. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  227. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  228. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  229. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  230. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  231. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  232. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  233. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  234. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  235. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  236. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
  237. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  238. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  239. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  240. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  241. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  242. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  243. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  244. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  245. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  246. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  247. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  248. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  249. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  250. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  251. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  252. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  253. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  254. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  255. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +13 -13
  256. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  257. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  258. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  259. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  260. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  261. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  262. package/lib/components/MobileModal/MobileModal.js +4 -4
  263. package/lib/components/Modal/Modal.js +3 -3
  264. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  265. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  266. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  267. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  268. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  269. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  270. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  271. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  272. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  273. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  274. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  275. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  276. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  277. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  278. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  279. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.js +5 -5
  280. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgMax.jpg.mjs +2 -2
  281. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.js +5 -5
  282. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/ucgUltra.jpg.mjs +2 -2
  283. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.js +1 -1
  284. package/lib/components/ModelCompareV3/assets/Consoles/ucgMax.jpg.mjs +2 -2
  285. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.js +1 -1
  286. package/lib/components/ModelCompareV3/assets/Consoles/ucgUltra.jpg.mjs +2 -2
  287. package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
  288. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
  289. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  290. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  291. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  292. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  293. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  294. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  295. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  296. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  297. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  298. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  299. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  300. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  301. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  302. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  303. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  304. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  305. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  306. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  307. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  308. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  309. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  310. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  311. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  312. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  313. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  314. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  315. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  316. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  317. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  318. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  319. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  320. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  321. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  322. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  323. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  324. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  325. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  326. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  327. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  328. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  329. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  330. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  331. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  332. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  333. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  334. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  335. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  336. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  337. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  338. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  339. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  340. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  341. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  342. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  343. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  344. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  345. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  346. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  347. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  348. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  349. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  350. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  351. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  352. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  353. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  354. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  355. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  356. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  357. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  358. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  359. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  360. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  361. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  362. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  363. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  364. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  365. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  366. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  367. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  368. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  369. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  370. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  371. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  372. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  373. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  374. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  375. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  376. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  377. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  378. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  379. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  380. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  381. package/lib/components/ModelCompareV3/data/products/ucgMax.js +1 -1
  382. package/lib/components/ModelCompareV3/data/products/ucgMax.mjs +1 -1
  383. package/lib/components/ModelCompareV3/data/products/ucgUltra.js +1 -1
  384. package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +1 -1
  385. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  386. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  387. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  388. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  389. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  390. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -10
  391. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -10
  392. package/lib/components/ModelCompareV3/translations/de.json.js +2 -2
  393. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -2
  394. package/lib/components/ModelCompareV3/translations/el.json.js +1 -1
  395. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -1
  396. package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
  397. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  398. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
  399. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  400. package/lib/components/ModelCompareV3/translations/es.json.js +2 -2
  401. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -2
  402. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -1
  403. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -1
  404. package/lib/components/ModelCompareV3/translations/it.json.js +1 -1
  405. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -1
  406. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -7
  407. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -7
  408. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -1
  409. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -1
  410. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  411. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -5
  412. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -5
  413. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -8
  414. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -8
  415. package/lib/components/Pagination/Pagination.js +3 -3
  416. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  417. package/lib/components/ProductCard/ProductCard.js +7 -7
  418. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  419. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  420. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  421. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  422. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  423. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  424. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  425. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  426. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  427. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  428. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  429. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  430. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  431. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  432. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  433. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  434. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +86 -0
  435. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  436. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -0
  437. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  438. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  439. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  440. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  441. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  442. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  443. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  444. package/lib/components/ProductWizard/Options/Options.js +3 -3
  445. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  446. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +5 -5
  447. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  448. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  449. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  450. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  451. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  452. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  453. package/lib/components/QuantityInput/QuantityInput.js +6 -1
  454. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  455. package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
  456. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  457. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  458. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  459. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  460. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  461. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  462. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  463. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  464. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  465. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  466. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  467. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  468. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  469. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  470. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  471. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  472. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  473. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  474. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  475. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  476. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  477. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  478. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  479. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  480. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  481. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  482. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  483. package/lib/components/ScrollWrapper/ScrollWrapper.js +32 -94
  484. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  485. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +15 -77
  486. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  487. package/lib/components/ScrollWrapper/ScrollWrapper.styles.d.ts +1 -3
  488. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js +0 -10
  489. package/lib/components/ScrollWrapper/ScrollWrapper.styles.js.map +1 -1
  490. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs +0 -10
  491. package/lib/components/ScrollWrapper/ScrollWrapper.styles.mjs.map +1 -1
  492. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -4
  493. package/lib/components/Search/Input/Input.d.ts +1 -1
  494. package/lib/components/Search/Input/Input.js +8 -8
  495. package/lib/components/Search/Input/Input.js.map +1 -1
  496. package/lib/components/Search/Input/Input.mjs +4 -4
  497. package/lib/components/Search/Input/Input.mjs.map +1 -1
  498. package/lib/components/Search/Input/Input.styles.js +0 -1
  499. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  500. package/lib/components/Search/Input/Input.styles.mjs +0 -1
  501. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  502. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  503. package/lib/components/Search/Modal/Modal.js +3 -3
  504. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  505. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  506. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  507. package/lib/components/Tooltip/Tooltip.js +5 -5
  508. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  509. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  510. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  511. package/lib/components/VideoPlayerNew/VideoPlayer.js +21 -21
  512. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +2 -2
  513. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  514. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  515. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  516. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  517. package/lib/components/index.d.ts +1 -0
  518. package/lib/components/index.js +2 -0
  519. package/lib/components/index.js.map +1 -1
  520. package/lib/components/index.mjs +2 -0
  521. package/lib/components/index.mjs.map +1 -1
  522. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  523. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  524. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  525. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  526. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  527. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -0
  528. package/lib/constants/proStoreCategories/mapping/index.js +20 -6
  529. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  530. package/lib/constants/proStoreCategories/mapping/index.mjs +20 -6
  531. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  532. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  533. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -0
  534. package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
  535. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  536. package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
  537. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  538. package/lib/constants/proStoreCategories/translations/ar.json.js +5 -4
  539. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  540. package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -4
  541. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  542. package/lib/constants/proStoreCategories/translations/de.json.js +5 -4
  543. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  544. package/lib/constants/proStoreCategories/translations/de.json.mjs +5 -4
  545. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  546. package/lib/constants/proStoreCategories/translations/el.json.js +6 -5
  547. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  548. package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -5
  549. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  550. package/lib/constants/proStoreCategories/translations/en.json.js +5 -1
  551. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  552. package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -2
  553. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  554. package/lib/constants/proStoreCategories/translations/es.json.js +5 -4
  555. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  556. package/lib/constants/proStoreCategories/translations/es.json.mjs +5 -4
  557. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  558. package/lib/constants/proStoreCategories/translations/fr.json.js +5 -1
  559. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  560. package/lib/constants/proStoreCategories/translations/fr.json.mjs +5 -2
  561. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  562. package/lib/constants/proStoreCategories/translations/it.json.js +5 -4
  563. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  564. package/lib/constants/proStoreCategories/translations/it.json.mjs +5 -4
  565. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  566. package/lib/constants/proStoreCategories/translations/ja.json.js +5 -4
  567. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  568. package/lib/constants/proStoreCategories/translations/ja.json.mjs +5 -4
  569. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  570. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +5 -4
  571. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  572. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +5 -4
  573. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  574. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +5 -1
  575. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  576. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +5 -2
  577. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  578. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +5 -1
  579. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  580. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +5 -2
  581. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  582. package/lib/constants/proStoreFilters/mapping.d.ts +43 -7
  583. package/lib/constants/proStoreFilters/mapping.js +129 -15
  584. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  585. package/lib/constants/proStoreFilters/mapping.mjs +129 -15
  586. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  587. package/lib/constants/theme.js +4 -0
  588. package/lib/constants/theme.js.map +1 -1
  589. package/lib/constants/theme.mjs +4 -0
  590. package/lib/constants/theme.mjs.map +1 -1
  591. package/lib/constants/url.d.ts +1 -1
  592. package/lib/constants/url.js +1 -1
  593. package/lib/constants/url.js.map +1 -1
  594. package/lib/constants/url.mjs +1 -1
  595. package/lib/constants/url.mjs.map +1 -1
  596. package/lib/contexts/MenuContext/context.js +34 -34
  597. package/lib/contexts/MenuContext/context.js.map +1 -1
  598. package/lib/contexts/MenuContext/context.mjs +1 -1
  599. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  600. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  601. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  602. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  603. package/lib/contexts/MenuContext/presets.js +2 -4
  604. package/lib/contexts/MenuContext/presets.js.map +1 -1
  605. package/lib/contexts/MenuContext/presets.mjs +2 -4
  606. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  607. package/lib/helpers/index.d.ts +0 -1
  608. package/lib/helpers/index.js +1 -11
  609. package/lib/helpers/index.js.map +1 -1
  610. package/lib/helpers/index.mjs +1 -2
  611. package/lib/helpers/index.mjs.map +1 -1
  612. package/lib/helpers/proStoreCategories.js +2 -2
  613. package/lib/helpers/ux.d.ts +8 -0
  614. package/lib/helpers/ux.js +15 -0
  615. package/lib/helpers/ux.js.map +1 -1
  616. package/lib/helpers/ux.mjs +15 -1
  617. package/lib/helpers/ux.mjs.map +1 -1
  618. package/lib/hooks/useHasTouch.js +3 -3
  619. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  620. package/lib/hooks/useHorizontalScroll.js +2 -2
  621. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  622. package/lib/hooks/useScrollToY.js +2 -2
  623. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  624. package/lib/hooks/useTranslation.js +6 -6
  625. package/lib/types/generated.d.ts +1 -1
  626. package/lib/types/generated.js.map +1 -1
  627. package/lib/types/generated.mjs.map +1 -1
  628. package/lib/types/index.d.ts +0 -1
  629. package/lib/types/index.js +0 -2
  630. package/lib/types/index.js.map +1 -1
  631. package/lib/types/index.mjs +0 -1
  632. package/lib/types/index.mjs.map +1 -1
  633. package/lib/utils/address.d.ts +62 -278
  634. package/lib/utils/address.js +8 -11
  635. package/lib/utils/address.js.map +1 -1
  636. package/lib/utils/address.mjs +8 -11
  637. package/lib/utils/address.mjs.map +1 -1
  638. package/lib/utils/array.d.ts +0 -4
  639. package/lib/utils/array.js +0 -10
  640. package/lib/utils/array.js.map +1 -1
  641. package/lib/utils/array.mjs +1 -10
  642. package/lib/utils/array.mjs.map +1 -1
  643. package/lib/utils/nextjs/ssr/registry.js +2 -2
  644. package/package.json +42 -42
  645. package/lib/assets/crestron.svg +0 -3
  646. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  647. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  648. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  649. package/lib/components/CardSection/CardSection.stories.d.ts +0 -7
  650. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  651. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  652. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  653. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  654. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  655. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  656. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  657. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  658. package/lib/helpers/product.d.ts +0 -87
  659. package/lib/helpers/product.js +0 -346
  660. package/lib/helpers/product.js.map +0 -1
  661. package/lib/helpers/product.mjs +0 -335
  662. package/lib/helpers/product.mjs.map +0 -1
  663. package/lib/helpers/product.test.d.ts +0 -1
  664. package/lib/types/product.d.ts +0 -87
  665. package/lib/types/product.js +0 -14
  666. package/lib/types/product.js.map +0 -1
  667. package/lib/types/product.mjs +0 -13
  668. package/lib/types/product.mjs.map +0 -1
  669. package/lib/utils/productSort.d.ts +0 -41
  670. package/lib/utils/productSort.js +0 -67
  671. package/lib/utils/productSort.js.map +0 -1
  672. package/lib/utils/productSort.mjs +0 -60
  673. package/lib/utils/productSort.mjs.map +0 -1
  674. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  675. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  676. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  677. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  678. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var react = require('react');
3
+ var React = require('react');
4
4
  require('../../../assets/socialMedia/facebook.svg.js');
5
5
  require('../../../assets/socialMedia/instagram.svg.js');
6
6
  require('../../../assets/socialMedia/x.svg.js');
@@ -174,12 +174,12 @@ const useFooterContent = () => {
174
174
  }).then(res => res.default)
175
175
  }
176
176
  });
177
- const urls = react.useMemo(() => {
177
+ const urls = React.useMemo(() => {
178
178
  return {
179
179
  termsAndConditions: getRegionalLink(TOC_LINKS, globalStoreId)
180
180
  };
181
181
  }, [globalStoreId]);
182
- const footerContent = react.useMemo(() => ({
182
+ const footerContent = React.useMemo(() => ({
183
183
  company: {
184
184
  header: {
185
185
  id: "company" /* Company */,
@@ -289,7 +289,7 @@ const useFooterContent = () => {
289
289
  }].filter(typeGuards.isNonNullish)
290
290
  }
291
291
  }), [context$1, createSiteUrl, formatMessage, globalStoreId]);
292
- const socialContent = react.useMemo(() => ({
292
+ const socialContent = React.useMemo(() => ({
293
293
  header: {
294
294
  id: "social" /* Social */,
295
295
  label: formatMessage("footer.header.social")
@@ -320,7 +320,7 @@ const useFooterContent = () => {
320
320
  target: "_blank"
321
321
  }].filter(typeGuards.isNonNullish)
322
322
  }), [formatMessage, globalStoreId]);
323
- const termsContent = react.useMemo(() => ({
323
+ const termsContent = React.useMemo(() => ({
324
324
  header: {
325
325
  id: "terms" /* Terms */,
326
326
  label: formatMessage("footer.header.terms")
@@ -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 Gallery_types = require('./Gallery.types.js');
6
6
  var utils = require('./utils.js');
7
7
  "use strict";
@@ -19,31 +19,31 @@ const defaultGalleryContextState = {
19
19
  resetTransitionState: () => {},
20
20
  currentImageLabel: "0/0"
21
21
  };
22
- const GalleryContext = react.createContext(defaultGalleryContextState);
22
+ const GalleryContext = React.createContext(defaultGalleryContextState);
23
23
  const GalleryControlsProvider = ({
24
24
  children,
25
25
  fade
26
26
  }) => {
27
- const [total, setTotal] = react.useState(0);
28
- const [controlsType, setControlsType] = react.useState(Gallery_types.GalleryControls.Inside);
29
- const showGalleryControls = react.useMemo(() => total > 1, [total]);
30
- const [visibleSlide, setVisibleSlideRaw] = react.useState(defaultGalleryContextState.visibleSlide);
31
- const [withTransition, setWithTransition] = react.useState(defaultGalleryContextState.withTransition);
32
- const [controlsDisabled, setControlsDisabled] = react.useState(false);
33
- const resetTransitionState = react.useCallback(() => {
27
+ const [total, setTotal] = React.useState(0);
28
+ const [controlsType, setControlsType] = React.useState(Gallery_types.GalleryControls.Inside);
29
+ const showGalleryControls = React.useMemo(() => total > 1, [total]);
30
+ const [visibleSlide, setVisibleSlideRaw] = React.useState(defaultGalleryContextState.visibleSlide);
31
+ const [withTransition, setWithTransition] = React.useState(defaultGalleryContextState.withTransition);
32
+ const [controlsDisabled, setControlsDisabled] = React.useState(false);
33
+ const resetTransitionState = React.useCallback(() => {
34
34
  setWithTransition(true);
35
35
  setControlsDisabled(false);
36
36
  }, []);
37
- const reset = react.useCallback(newTotal => {
37
+ const reset = React.useCallback(newTotal => {
38
38
  setTotal(newTotal);
39
39
  setVisibleSlideRaw(!fade && newTotal > 1 ? 1 : 0);
40
40
  resetTransitionState();
41
41
  }, [resetTransitionState, fade]);
42
- const setVisibleSlide = react.useCallback(nextVisibleState => {
42
+ const setVisibleSlide = React.useCallback(nextVisibleState => {
43
43
  setControlsDisabled(true);
44
44
  setVisibleSlideRaw(nextVisibleState);
45
45
  }, []);
46
- react.useEffect(() => {
46
+ React.useEffect(() => {
47
47
  if (fade || controlsDisabled || total <= 1) {
48
48
  return;
49
49
  }
@@ -65,7 +65,7 @@ const GalleryControlsProvider = ({
65
65
  });
66
66
  }
67
67
  }, [visibleSlide, controlsDisabled, total]);
68
- const setPrevious = react.useCallback(() => {
68
+ const setPrevious = React.useCallback(() => {
69
69
  if (controlsDisabled) {
70
70
  return;
71
71
  }
@@ -75,7 +75,7 @@ const GalleryControlsProvider = ({
75
75
  setVisibleSlide(currVisibleSlide => currVisibleSlide - 1);
76
76
  }
77
77
  }, [controlsDisabled, setVisibleSlide, total, fade]);
78
- const setNext = react.useCallback(() => {
78
+ const setNext = React.useCallback(() => {
79
79
  if (controlsDisabled) {
80
80
  return;
81
81
  }
@@ -85,7 +85,7 @@ const GalleryControlsProvider = ({
85
85
  setVisibleSlide(currVisibleSlide => currVisibleSlide + 1);
86
86
  }
87
87
  }, [controlsDisabled, setVisibleSlide, total, fade]);
88
- const jumpToSlide = react.useCallback(index => {
88
+ const jumpToSlide = React.useCallback(index => {
89
89
  if (controlsDisabled) {
90
90
  return;
91
91
  }
@@ -98,7 +98,7 @@ const GalleryControlsProvider = ({
98
98
  resetTransitionState();
99
99
  });
100
100
  }, [controlsDisabled, fade, setVisibleSlide, resetTransitionState]);
101
- const currentImageLabel = react.useMemo(() => {
101
+ const currentImageLabel = React.useMemo(() => {
102
102
  const isAnimatable = total > 1;
103
103
  const totalNormalised = isAnimatable ? total - (fade ? 0 : 2) : 1;
104
104
  let normalisedIndex = visibleSlide;
@@ -135,7 +135,7 @@ const GalleryControlsProvider = ({
135
135
  children
136
136
  });
137
137
  };
138
- const useGalleryControls = () => react.useContext(GalleryContext);
138
+ const useGalleryControls = () => React.useContext(GalleryContext);
139
139
  exports.GalleryControlsProvider = GalleryControlsProvider;
140
140
  exports.useGalleryControls = useGalleryControls;
141
141
  //# sourceMappingURL=Gallery.context.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
  var reactUse = require('react-use');
6
6
  var layout = require('../../constants/layout.js');
7
7
  var Gallery_context = require('./Gallery.context.js');
@@ -26,7 +26,7 @@ const parseGalleryEntries = (entries, fade) => {
26
26
  slidesWithClones.push(slidesWithClones[1]);
27
27
  return slidesWithClones;
28
28
  };
29
- const Gallery = react.memo(function Gallery2({
29
+ const Gallery = React.memo(function Gallery2({
30
30
  controls,
31
31
  entries,
32
32
  parsed,
@@ -46,25 +46,25 @@ const Gallery = react.memo(function Gallery2({
46
46
  visibleSlide,
47
47
  resetTransitionState
48
48
  } = Gallery_context.useGalleryControls();
49
- const galleryRef = react.useRef(null);
50
- const entriesParsed = react.useMemo(() => {
49
+ const galleryRef = React.useRef(null);
50
+ const entriesParsed = React.useMemo(() => {
51
51
  return parsed ? entries : parseGalleryEntries(entries, fade);
52
52
  }, [entries, fade, parsed]);
53
- react.useEffect(() => {
53
+ React.useEffect(() => {
54
54
  setControlsType(controls);
55
55
  }, [controls, setControlsType]);
56
- react.useEffect(() => {
56
+ React.useEffect(() => {
57
57
  reset(entriesParsed.length);
58
58
  }, [entriesParsed, reset]);
59
- const activeEntry = react.useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
60
- const couldBeNext = react.useCallback(index => {
59
+ const activeEntry = React.useMemo(() => entriesParsed[visibleSlide], [entriesParsed, visibleSlide]);
60
+ const couldBeNext = React.useCallback(index => {
61
61
  const potentialNextRightSlideIndex = visibleSlide + 1 > entriesParsed.length - 1 ? 0 : visibleSlide + 1;
62
62
  const potentialNextLeftSlideIndex = visibleSlide - 1 < 0 ? entriesParsed.length - 1 : visibleSlide - 1;
63
63
  return !!(potentialNextRightSlideIndex === index || potentialNextLeftSlideIndex === index);
64
64
  }, [entriesParsed.length, visibleSlide]);
65
65
  const isTabletUp = reactUse.useMedia(layout.BREAKPOINTS.TABLET_UP, false);
66
66
  const hoveredRaw = reactUse.useHoverDirty(galleryRef, isTabletUp);
67
- const [hovered, setHovered] = react.useState(false);
67
+ const [hovered, setHovered] = React.useState(false);
68
68
  reactUse.useDebounce(() => {
69
69
  setHovered(hoveredRaw);
70
70
  }, 10, [hoveredRaw]);
@@ -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/arrowRightMicro.svg.js');
6
6
  var Gallery_context = require('../Gallery.context.js');
7
7
  var GalleryControls_styles = require('./GalleryControls.styles.js');
@@ -13,7 +13,7 @@ function _interopDefault(e) {
13
13
  }
14
14
  var arrowRightMicroSvg__default = /*#__PURE__*/_interopDefault(arrowRightMicroSvg);
15
15
  "use strict";
16
- const GalleryControl = react.memo(function GalleryRightControl({
16
+ const GalleryControl = React.memo(function GalleryRightControl({
17
17
  label,
18
18
  side,
19
19
  rounded,
@@ -23,7 +23,7 @@ const GalleryControl = react.memo(function GalleryRightControl({
23
23
  setNext,
24
24
  setPrevious
25
25
  } = Gallery_context.useGalleryControls();
26
- const handleClick = react.useCallback(() => {
26
+ const handleClick = React.useCallback(() => {
27
27
  onClick?.();
28
28
  switch (side) {
29
29
  case "left":
@@ -57,7 +57,7 @@ const GalleryOutsideControlsInfo = () => {
57
57
  children: currentImageLabel
58
58
  });
59
59
  };
60
- const GalleryBottomControls = react.memo(function GalleryBottomControls2({
60
+ const GalleryBottomControls = React.memo(function GalleryBottomControls2({
61
61
  className,
62
62
  size,
63
63
  onControl
@@ -1,12 +1,12 @@
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
  var GalleryItem_styles = require('./GalleryItem.styles.js');
8
8
  "use strict";
9
- const GalleryItem = react.memo(function GalleryItem2({
9
+ const GalleryItem = React.memo(function GalleryItem2({
10
10
  item,
11
11
  renderImage,
12
12
  priority,
@@ -16,10 +16,10 @@ const GalleryItem = react.memo(function GalleryItem2({
16
16
  couldBeNext = true,
17
17
  objectFit = "cover"
18
18
  }) {
19
- const videoRef = react.useRef(null);
20
- const isVideoHovering = react.useRef(false);
19
+ const videoRef = React.useRef(null);
20
+ const isVideoHovering = React.useRef(false);
21
21
  const isMobile = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
22
- const handleMouseEnter = react.useCallback(() => {
22
+ const handleMouseEnter = React.useCallback(() => {
23
23
  isVideoHovering.current = true;
24
24
  if (!videoRef.current) {
25
25
  return;
@@ -40,8 +40,8 @@ const GalleryItem = react.memo(function GalleryItem2({
40
40
  };
41
41
  }
42
42
  }, []);
43
- const [isVisible, setIsVisible] = react.useState(isActive);
44
- react.useEffect(() => {
43
+ const [isVisible, setIsVisible] = React.useState(isActive);
44
+ React.useEffect(() => {
45
45
  if (!isActive) {
46
46
  window.setTimeout(() => {
47
47
  setIsVisible(false);
@@ -52,7 +52,7 @@ const GalleryItem = react.memo(function GalleryItem2({
52
52
  setIsVisible(true);
53
53
  }
54
54
  }, [isActive, isVisible]);
55
- react.useEffect(() => {
55
+ React.useEffect(() => {
56
56
  if (!isVisible && videoRef.current) {
57
57
  videoRef.current.pause();
58
58
  videoRef.current.currentTime = 0;
@@ -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
  require('../../ScrollWrapper/index.js');
7
7
  var Gallery_context = require('../Gallery.context.js');
@@ -18,26 +18,26 @@ const GalleryThumbnails = function GalleryThumbnails2({
18
18
  visibleSlide,
19
19
  jumpToSlide
20
20
  } = Gallery_context.useGalleryControls();
21
- const handleThumbnailClick = react.useCallback(index => {
21
+ const handleThumbnailClick = React.useCallback(index => {
22
22
  if (expanded) {
23
23
  onControl?.();
24
24
  jumpToSlide(index);
25
25
  }
26
26
  }, [expanded, jumpToSlide, onControl]);
27
- const [allowPointers, setAllowPointers] = react.useState(false);
27
+ const [allowPointers, setAllowPointers] = React.useState(false);
28
28
  reactUse.useDebounce(() => {
29
29
  setAllowPointers(expanded);
30
30
  }, GalleryThumbnails_styles.GALLERY_TRANSITION_MS, [expanded, visibleSlide]);
31
- const wrapRef = react.useRef(null);
32
- const [scrollOffset, setScrollOffset] = react.useState(0);
33
- const [containerWidth, setContainerWidth] = react.useState(0);
34
- const onScrollChange = react.useCallback(({
31
+ const wrapRef = React.useRef(null);
32
+ const [scrollOffset, setScrollOffset] = React.useState(0);
33
+ const [containerWidth, setContainerWidth] = React.useState(0);
34
+ const onScrollChange = React.useCallback(({
35
35
  scrollX
36
36
  }) => {
37
37
  setScrollOffset(scrollX);
38
38
  setContainerWidth(wrapRef.current?.offsetWidth ?? 0);
39
39
  }, []);
40
- react.useEffect(() => {
40
+ React.useEffect(() => {
41
41
  setScrollOffset(0);
42
42
  setContainerWidth(wrapRef.current?.offsetWidth ?? 0);
43
43
  }, [items]);
@@ -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
  require('../../assets/icons/play-big.svg.js');
7
7
  var layout = require('../../constants/layout.js');
@@ -27,11 +27,11 @@ const GridGallery = function GridGallery2({
27
27
  onModalToggle
28
28
  }) {
29
29
  const isTablet = reactUse.useMedia(layout.BREAKPOINTS.TABLET_AND_DOWN, false);
30
- const [activeModalId, setActiveModalId] = react.useState("");
31
- react.useEffect(() => {
30
+ const [activeModalId, setActiveModalId] = React.useState("");
31
+ React.useEffect(() => {
32
32
  onModalToggle?.(activeModalId);
33
33
  }, [onModalToggle, activeModalId]);
34
- const getAssetAspectRatioType = react.useCallback(asset => {
34
+ const getAssetAspectRatioType = React.useCallback(asset => {
35
35
  const aspectHeightRatio = asset.height / asset.width;
36
36
  const heightRatios = Object.values(GridGallery_styles.GRID_GALLERY_RATIOS).map(ratios => ratios.height);
37
37
  const heightRatio = number.findClosestNumber(heightRatios, aspectHeightRatio);
@@ -42,7 +42,7 @@ const GridGallery = function GridGallery2({
42
42
  }
43
43
  return GridGallery_types.RatioType.OneThird;
44
44
  }, []);
45
- const parsedAssets = react.useMemo(() => {
45
+ const parsedAssets = React.useMemo(() => {
46
46
  const parsed = assetsInitial.map(asset => {
47
47
  const ratioType = getAssetAspectRatioType(asset);
48
48
  return {
@@ -60,8 +60,8 @@ const GridGallery = function GridGallery2({
60
60
  return asset;
61
61
  });
62
62
  }, [assetsInitial, getAssetAspectRatioType]);
63
- const [assetRows, setAssetRows] = react.useState([]);
64
- const createAssetRows = react.useCallback(() => {
63
+ const [assetRows, setAssetRows] = React.useState([]);
64
+ const createAssetRows = React.useCallback(() => {
65
65
  const fullRows = [];
66
66
  const partialRows = [];
67
67
  const availableAssets = [...parsedAssets];
@@ -123,7 +123,7 @@ const GridGallery = function GridGallery2({
123
123
  }
124
124
  setAssetRows(fullRows);
125
125
  }, [parsedAssets]);
126
- react.useEffect(() => {
126
+ React.useEffect(() => {
127
127
  createAssetRows();
128
128
  }, [
129
129
  // HACK: needed parsedAssets to retrigger the effect
@@ -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
  require('../../../constants/icons/index.js');
7
7
  var Header_styles = require('../../Header/Header.styles.js');
@@ -24,9 +24,9 @@ const GridModal = function CartModal({
24
24
  height,
25
25
  videoStartTime
26
26
  }) {
27
- const ref = react.useRef(null);
28
- const refVideo = react.useRef(null);
29
- const [offsetTop, setOffsetTop] = react.useState(0);
27
+ const ref = React.useRef(null);
28
+ const refVideo = React.useRef(null);
29
+ const [offsetTop, setOffsetTop] = React.useState(0);
30
30
  reactUse.useClickAway(ref, onClose, ["click"]);
31
31
  reactUse.useLockBodyScroll(open);
32
32
  reactUse.useKeyPressEvent("Escape", () => {
@@ -34,12 +34,12 @@ const GridModal = function CartModal({
34
34
  onClose();
35
35
  }
36
36
  });
37
- react.useEffect(() => {
37
+ React.useEffect(() => {
38
38
  if (open && refVideo.current && videoStartTime) {
39
39
  refVideo.current.currentTime = videoStartTime;
40
40
  }
41
41
  }, [open, videoStartTime]);
42
- react.useEffect(() => {
42
+ React.useEffect(() => {
43
43
  if (window.scrollY === 0) {
44
44
  setOffsetTop(Header_styles.HEADER_HEIGHT);
45
45
  }
@@ -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 url = require('../../../constants/url.js');
7
7
  require('../../../contexts/MenuContext/mapping.js');
@@ -20,8 +20,8 @@ const AccountFrame = function AccountFrame2({
20
20
  renderImage,
21
21
  account
22
22
  }) {
23
- const ref = react.useRef(null);
24
- const name = react.useRef(null);
23
+ const ref = React.useRef(null);
24
+ const name = React.useRef(null);
25
25
  const {
26
26
  formatMessage
27
27
  } = useTranslation.useTranslation({
@@ -60,8 +60,8 @@ const AccountFrame = function AccountFrame2({
60
60
  }
61
61
  });
62
62
  const isHovering = reactUse.useHoverDirty(name);
63
- const [showPopover, setShowPopover] = react.useState(false);
64
- react.useEffect(() => {
63
+ const [showPopover, setShowPopover] = React.useState(false);
64
+ React.useEffect(() => {
65
65
  if (name.current) {
66
66
  const displayPopover = name.current.offsetWidth < name.current.scrollWidth;
67
67
  if (displayPopover && isHovering) {
@@ -71,7 +71,7 @@ const AccountFrame = function AccountFrame2({
71
71
  }
72
72
  }
73
73
  }, [isHovering]);
74
- const handleClose = react.useCallback(() => {
74
+ const handleClose = React.useCallback(() => {
75
75
  onClose();
76
76
  }, [onClose]);
77
77
  reactUse.useClickAway(ref, event => {
@@ -87,22 +87,22 @@ const AccountFrame = function AccountFrame2({
87
87
  handleClose();
88
88
  }
89
89
  }, ["click"]);
90
- const hasAccountEvents = react.useMemo(() => {
90
+ const hasAccountEvents = React.useMemo(() => {
91
91
  return !!(account && (account.handleLogin || account.handleRegister || account.handleLogout));
92
92
  }, [account]);
93
- const handleLogout = react.useCallback(() => {
93
+ const handleLogout = React.useCallback(() => {
94
94
  account?.handleLogout?.();
95
95
  handleClose();
96
96
  }, [handleClose, account]);
97
- const handleUnifiSiteManager = react.useCallback(() => {
97
+ const handleUnifiSiteManager = React.useCallback(() => {
98
98
  window.open(url.ExternalUrl.UNIFI_SITE_MANAGER);
99
99
  handleClose();
100
100
  }, [handleClose]);
101
- const handleOrderHistoryClick = react.useCallback(() => {
101
+ const handleOrderHistoryClick = React.useCallback(() => {
102
102
  account?.handleOrderHistory?.();
103
103
  handleClose();
104
104
  }, [account, handleClose]);
105
- const onManageAccount = react.useCallback(() => {
105
+ const onManageAccount = React.useCallback(() => {
106
106
  account?.handleManageAccount?.();
107
107
  handleClose();
108
108
  }, [account, handleClose]);
@@ -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 url = require('../../../../constants/url.js');
6
6
  require('../../../../contexts/MenuContext/mapping.js');
7
7
  require('../../../../hooks/index.js');
@@ -54,14 +54,14 @@ const AccountFrameMobile = function AccountFrameMobile2({
54
54
  }).then(res => res.default)
55
55
  }
56
56
  });
57
- const hasAccountEvents = react.useMemo(() => {
57
+ const hasAccountEvents = React.useMemo(() => {
58
58
  return !!(account?.handleLogin && account.handleRegister && account.handleLogout);
59
59
  }, [account]);
60
- const handleUnifiSiteManager = react.useCallback(() => {
60
+ const handleUnifiSiteManager = React.useCallback(() => {
61
61
  window.open(url.ExternalUrl.UNIFI_SITE_MANAGER);
62
62
  onClose();
63
63
  }, [onClose]);
64
- const onCloseFn = react.useCallback(fn => {
64
+ const onCloseFn = React.useCallback(fn => {
65
65
  return () => {
66
66
  fn?.();
67
67
  onClose();
@@ -5,7 +5,7 @@ var AccountMenu$1 = require('@ubnt/ui-components/aria/AccountMenu');
5
5
  var Avatar = require('@ubnt/ui-components/aria/Avatar');
6
6
  var experimental = require('@ubnt/ui-components/aria/experimental');
7
7
  var Button = require('@ubnt/ui-components/Button');
8
- var react = require('react');
8
+ var React = require('react');
9
9
  var reactUse = require('react-use');
10
10
  require('../../../assets/icons/menu/icon-avatar-placeholder-dark.png.js');
11
11
  require('../../../assets/icons/menu/icon-avatar-placeholder.png.js');
@@ -93,30 +93,30 @@ const AccountMenu = ({
93
93
  [constants.Language.Tw]: () => Promise.resolve(en["default"])
94
94
  }
95
95
  });
96
- const megaphoneHttpService = react.useMemo(() => {
96
+ const megaphoneHttpService = React.useMemo(() => {
97
97
  if (megaphoneServiceUrl) {
98
98
  return new megaphone_http_service["default"](megaphoneServiceUrl);
99
99
  }
100
100
  return null;
101
101
  }, [megaphoneServiceUrl]);
102
- const hasAccountEvents = react.useMemo(() => {
102
+ const hasAccountEvents = React.useMemo(() => {
103
103
  return !!(account && (account.handleLogin || account.handleRegister || account.handleLogout));
104
104
  }, [account]);
105
- const handleLogout = react.useCallback(() => {
105
+ const handleLogout = React.useCallback(() => {
106
106
  account?.handleLogout?.();
107
107
  }, [account]);
108
- const handleUnifiSiteManager = react.useCallback(() => {
108
+ const handleUnifiSiteManager = React.useCallback(() => {
109
109
  window.open(url.ExternalUrl.UNIFI_SITE_MANAGER);
110
110
  }, []);
111
- const handleOrderHistoryClick = react.useCallback(() => {
111
+ const handleOrderHistoryClick = React.useCallback(() => {
112
112
  account?.handleOrderHistory?.();
113
113
  }, [account]);
114
- const onManageAccount = react.useCallback(() => {
114
+ const onManageAccount = React.useCallback(() => {
115
115
  account?.handleManageAccount?.();
116
116
  }, [account]);
117
- const [announcements, setAnnouncements] = react.useState([]);
118
- const [, setIsAnnouncementsLoading] = react.useState(false);
119
- react.useEffect(() => {
117
+ const [announcements, setAnnouncements] = React.useState([]);
118
+ const [, setIsAnnouncementsLoading] = React.useState(false);
119
+ React.useEffect(() => {
120
120
  if (testStorybookAnnouncements?.length) {
121
121
  setAnnouncements(testStorybookAnnouncements);
122
122
  }
@@ -128,12 +128,12 @@ const AccountMenu = ({
128
128
  data
129
129
  }) => setAnnouncements(data ?? [])).catch(e => console.error(e)).finally(() => setIsAnnouncementsLoading(false));
130
130
  }, [megaphoneHttpService, testStorybookAnnouncements]);
131
- const unreadAnnouncements = react.useMemo(() => {
131
+ const unreadAnnouncements = React.useMemo(() => {
132
132
  return announcements.filter(({
133
133
  isRead
134
134
  }) => !isRead);
135
135
  }, [announcements]);
136
- const markAsRead = react.useCallback(async announcement => {
136
+ const markAsRead = React.useCallback(async announcement => {
137
137
  if (!megaphoneHttpService) {
138
138
  return;
139
139
  }
@@ -145,7 +145,7 @@ const AccountMenu = ({
145
145
  setAnnouncements([...filtered, announcement]);
146
146
  });
147
147
  }, [announcements, megaphoneHttpService]);
148
- const getAnnouncementButtons = react.useCallback((announcement, markAsRead2, onExternalClick) => {
148
+ const getAnnouncementButtons = React.useCallback((announcement, markAsRead2, onExternalClick) => {
149
149
  return [/* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.StyledMessageClearBtn, {
150
150
  variant: "inline",
151
151
  type: "button",
@@ -160,7 +160,7 @@ const AccountMenu = ({
160
160
  children: formatMessage("Show Me")
161
161
  }, `btn-show-me-${announcement.announcementId}`)];
162
162
  }, [formatMessage]);
163
- const mappedAnnouncements = react.useMemo(() => {
163
+ const mappedAnnouncements = React.useMemo(() => {
164
164
  return (unreadAnnouncements ?? [])?.map(announcement => ({
165
165
  ...announcement,
166
166
  id: announcement.announcementId,
@@ -181,7 +181,7 @@ const AccountMenu = ({
181
181
  animateIn,
182
182
  animateOut
183
183
  } = Avatar.useAnnouncementAnimation(START_KEY, "userAvatar" /* UserAvatar */);
184
- react.useEffect(() => {
184
+ React.useEffect(() => {
185
185
  if (announcements?.length) {
186
186
  animateIn();
187
187
  return;
@@ -191,20 +191,30 @@ const AccountMenu = ({
191
191
  }
192
192
  animateOut();
193
193
  }, [animateIn, animateOut, announcements, display]);
194
- const showOrderHistory = react.useMemo(() => !!(account?.customer && account?.handleOrderHistory), [account?.customer, account?.handleOrderHistory]);
195
- const showLogin = react.useMemo(() => !!(!account?.customer && account?.handleLogin), [account?.customer, account?.handleLogin]);
196
- const showUiAccount = react.useMemo(() => !!(!hasAccountEvents || account?.customer && !account?.handleManageAccount), [account?.customer, account?.handleManageAccount, hasAccountEvents]);
197
- const unifiSiteManagerButtonVariant = react.useMemo(() => {
194
+ const showOrderHistory = React.useMemo(() => !!(account?.customer && account?.handleOrderHistory), [account?.customer, account?.handleOrderHistory]);
195
+ const showLogin = React.useMemo(() => !!(!account?.customer && account?.handleLogin), [account?.customer, account?.handleLogin]);
196
+ const showUiAccount = React.useMemo(() => !!(!hasAccountEvents || account?.customer && !account?.handleManageAccount), [account?.customer, account?.handleManageAccount, hasAccountEvents]);
197
+ const unifiSiteManagerButtonVariant = React.useMemo(() => {
198
198
  if (showOrderHistory || showLogin || showUiAccount) {
199
199
  return "tertiary";
200
200
  }
201
201
  return "primary";
202
202
  }, [showLogin, showOrderHistory, showUiAccount]);
203
+ if (!account || account.loading) {
204
+ return /* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.UiAccountMenuWrap, {
205
+ children: /* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.IconWrap, {
206
+ motif,
207
+ children: /* @__PURE__ */jsxRuntime.jsx(Header_styles.SkeletonCircleLoader, {
208
+ diameter: Header_styles.HEADER_ICON_SIZE
209
+ })
210
+ })
211
+ });
212
+ }
203
213
  return /* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.UiAccountMenuWrap, {
204
214
  children: /* @__PURE__ */jsxRuntime.jsxs(AccountMenu$1.AccountMenu.Root, {
205
215
  onOpenChange: isOpen => isOpen ? onOpen?.() : onClose?.(),
206
216
  children: [/* @__PURE__ */jsxRuntime.jsx(AccountMenu$1.AccountMenu.Trigger, {
207
- children: account?.customer ? /* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.StyledAvatar, {
217
+ children: account.customer ? /* @__PURE__ */jsxRuntime.jsx(AccountMenu_styles.StyledAvatar, {
208
218
  image: account.customer.picture || (motif === "dark" ? AvatarDarkSrc : AvatarSrc),
209
219
  animate,
210
220
  alt: "Avatar",