@ubnt/store.core 9.54.2-beta.0 → 9.55.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 (501) hide show
  1. package/CHANGELOG.md +88 -513
  2. package/lib/_virtual/_virtual_multi-entry.js +3 -15
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +1 -3
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.d.ts +12 -2
  7. package/lib/apis/smartcat.js +27 -4
  8. package/lib/apis/smartcat.js.map +1 -1
  9. package/lib/apis/smartcat.mjs +27 -4
  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/cart-secondary.svg +5 -0
  14. package/lib/assets/icon-location-pin.svg +5 -0
  15. package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
  16. package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
  17. package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
  18. package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
  19. package/lib/{components/ModelCompareV3/assets/crestron.svg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
  20. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
  21. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
  22. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
  23. package/lib/assets/logoUnifi.svg +10 -2
  24. package/lib/assets/pause.svg +3 -3
  25. package/lib/assets/pause2.svg +3 -3
  26. package/lib/assets/udmPro.jpg +0 -0
  27. package/lib/assets/udmPro2.jpg +0 -0
  28. package/lib/assets/udmProMax.jpg +0 -0
  29. package/lib/assets/udmProMax2.jpg +0 -0
  30. package/lib/assets/udmProSpecial.jpg +0 -0
  31. package/lib/assets/udmProSpecial2.jpg +0 -0
  32. package/lib/components/Button/Button.js +7 -0
  33. package/lib/components/Button/Button.js.map +1 -1
  34. package/lib/components/Button/Button.mjs +8 -1
  35. package/lib/components/Button/Button.mjs.map +1 -1
  36. package/lib/components/Button/CartButton.d.ts +3 -1
  37. package/lib/components/Button/CartButton.js +9 -4
  38. package/lib/components/Button/CartButton.js.map +1 -1
  39. package/lib/components/Button/CartButton.mjs +8 -4
  40. package/lib/components/Button/CartButton.mjs.map +1 -1
  41. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  42. package/lib/components/ButtonGroup/ButtonGroup.js +16 -9
  43. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  44. package/lib/components/ButtonGroup/ButtonGroup.mjs +16 -9
  45. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  46. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +10 -6
  47. package/lib/components/ButtonGroup/ButtonGroup.styles.js +60 -20
  48. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  49. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +60 -20
  50. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  51. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  52. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  53. package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
  54. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +4 -2
  55. package/lib/components/CategoryTabs/CategoryTabs.styles.js +8 -5
  56. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  57. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +7 -6
  58. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  59. package/lib/components/Compare/Compare.styles.d.ts +5 -5
  60. package/lib/components/Container/Container.d.ts +1 -1
  61. package/lib/components/Container/Container.js +4 -3
  62. package/lib/components/Container/Container.js.map +1 -1
  63. package/lib/components/Container/Container.mjs +5 -4
  64. package/lib/components/Container/Container.mjs.map +1 -1
  65. package/lib/components/Container/index.stories.d.ts +5 -5
  66. package/lib/components/Header/AccountMenu/AccountMenu.js +11 -1
  67. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  68. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  69. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  70. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
  71. package/lib/components/Header/Header.js +6 -6
  72. package/lib/components/Header/Header.js.map +1 -1
  73. package/lib/components/Header/Header.mjs +6 -6
  74. package/lib/components/Header/Header.mjs.map +1 -1
  75. package/lib/components/Header/Header.stories.d.ts +111 -0
  76. package/lib/components/Header/Header.styles.d.ts +7 -12
  77. package/lib/components/Header/Header.styles.js +10 -32
  78. package/lib/components/Header/Header.styles.js.map +1 -1
  79. package/lib/components/Header/Header.styles.mjs +10 -31
  80. package/lib/components/Header/Header.styles.mjs.map +1 -1
  81. package/lib/components/Header/Header.types.d.ts +29 -5
  82. package/lib/components/Header/Header.types.js +2 -1
  83. package/lib/components/Header/Header.types.js.map +1 -1
  84. package/lib/components/Header/Header.types.mjs +2 -1
  85. package/lib/components/Header/Header.types.mjs.map +1 -1
  86. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  87. package/lib/components/Header/IsolatedHeader.js +44 -44
  88. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  89. package/lib/components/Header/IsolatedHeader.mjs +47 -46
  90. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  91. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
  92. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  93. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  94. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  95. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  96. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  97. package/lib/components/Header/LogoIcon/index.js +6 -0
  98. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  99. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  100. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  101. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +1 -1
  102. package/lib/components/Header/MenuItem/MenuItem.styles.js +3 -3
  103. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  104. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +3 -3
  105. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  106. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  107. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
  108. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -1
  109. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  110. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +110 -103
  111. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  112. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +111 -104
  113. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  114. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +9 -0
  115. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  116. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  117. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  118. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  119. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  120. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  121. package/lib/components/Header/ProHeader/ProHeader.js +250 -169
  122. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  123. package/lib/components/Header/ProHeader/ProHeader.mjs +251 -171
  124. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  125. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +30 -25
  126. package/lib/components/Header/ProHeader/ProHeader.styles.js +119 -66
  127. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  128. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +112 -65
  129. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  130. package/lib/components/Header/translations/ar.json.js +4 -1
  131. package/lib/components/Header/translations/ar.json.js.map +1 -1
  132. package/lib/components/Header/translations/ar.json.mjs +4 -2
  133. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  134. package/lib/components/Header/translations/de.json.js +4 -1
  135. package/lib/components/Header/translations/de.json.js.map +1 -1
  136. package/lib/components/Header/translations/de.json.mjs +4 -2
  137. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  138. package/lib/components/Header/translations/el.json.js +4 -1
  139. package/lib/components/Header/translations/el.json.js.map +1 -1
  140. package/lib/components/Header/translations/el.json.mjs +4 -2
  141. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  142. package/lib/components/Header/translations/en.json.js +7 -1
  143. package/lib/components/Header/translations/en.json.js.map +1 -1
  144. package/lib/components/Header/translations/en.json.mjs +6 -2
  145. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  146. package/lib/components/Header/translations/es.json.js +4 -1
  147. package/lib/components/Header/translations/es.json.js.map +1 -1
  148. package/lib/components/Header/translations/es.json.mjs +4 -2
  149. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  150. package/lib/components/Header/translations/fr.json.js +4 -1
  151. package/lib/components/Header/translations/fr.json.js.map +1 -1
  152. package/lib/components/Header/translations/fr.json.mjs +4 -2
  153. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  154. package/lib/components/Header/translations/it.json.js +4 -1
  155. package/lib/components/Header/translations/it.json.js.map +1 -1
  156. package/lib/components/Header/translations/it.json.mjs +4 -2
  157. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  158. package/lib/components/Header/translations/ja.json.js +4 -1
  159. package/lib/components/Header/translations/ja.json.js.map +1 -1
  160. package/lib/components/Header/translations/ja.json.mjs +4 -2
  161. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  162. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  163. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  164. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  165. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  166. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  167. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  168. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  169. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  170. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  171. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  172. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  173. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  174. package/lib/components/Hero/Hero.styles.d.ts +2 -2
  175. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +1 -1
  176. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +2 -2
  177. package/lib/components/ImageCarousel/ImageCarousel.js +0 -5
  178. package/lib/components/ImageCarousel/ImageCarousel.js.map +1 -1
  179. package/lib/components/ImageCarousel/ImageCarousel.mjs +0 -5
  180. package/lib/components/ImageCarousel/ImageCarousel.mjs.map +1 -1
  181. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +1 -1
  182. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +1 -1
  183. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +3 -3
  184. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +3 -3
  185. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  186. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  187. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  188. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  189. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  190. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +2 -1
  191. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  192. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  193. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  194. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  195. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  196. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
  197. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +1 -1
  198. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +1 -1
  199. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.mjs +1 -1
  200. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.js +1 -1
  201. package/lib/components/MicrositeVideoSlideshow/assets/pause.svg.mjs +2 -2
  202. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  203. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
  204. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.mjs +2 -2
  205. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.js +5 -5
  206. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProMax.jpg.mjs +2 -2
  207. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  208. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  209. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.js +1 -1
  210. package/lib/components/ModelCompareV3/assets/Consoles/udmPro.jpg.mjs +2 -2
  211. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.js +1 -1
  212. package/lib/components/ModelCompareV3/assets/Consoles/udmProMax.jpg.mjs +2 -2
  213. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  214. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  215. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  216. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  217. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  218. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  219. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  220. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  221. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  222. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  223. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  224. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  225. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  226. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  227. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  228. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  229. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  230. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  231. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  232. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  233. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  234. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  235. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  236. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  237. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  238. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  239. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  240. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  241. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  242. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  243. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  244. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  245. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  246. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  247. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  248. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  249. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  250. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  251. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  252. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  253. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  254. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  255. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  256. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  257. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  258. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  259. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  260. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  261. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  262. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  263. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  264. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  265. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  266. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  267. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  268. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  269. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  270. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  271. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  272. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  273. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  274. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  275. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  276. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  277. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  278. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  279. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  280. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  281. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  282. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  283. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  284. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  285. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  286. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  287. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  288. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  289. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  290. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  291. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  292. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  293. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  294. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  295. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  296. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  297. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  298. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  299. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  300. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  301. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  302. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  303. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  304. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  305. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  306. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  307. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  308. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  309. package/lib/components/ModelCompareV3/data/products/udmPro.js +1 -1
  310. package/lib/components/ModelCompareV3/data/products/udmPro.mjs +1 -1
  311. package/lib/components/ModelCompareV3/data/products/udmProMax.js +1 -1
  312. package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +1 -1
  313. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  314. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  315. package/lib/components/ModelCompareV3/data/products/waveMLO5.js +7 -1
  316. package/lib/components/ModelCompareV3/data/products/waveMLO5.js.map +1 -1
  317. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs +7 -1
  318. package/lib/components/ModelCompareV3/data/products/waveMLO5.mjs.map +1 -1
  319. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  320. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  321. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  322. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  323. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  324. package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
  325. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  326. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
  327. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  328. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  329. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +1 -1
  330. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +1 -1
  331. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +2 -2
  332. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
  333. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
  334. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
  335. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
  336. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
  337. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
  338. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
  339. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
  340. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  341. package/lib/components/ScrollWrapper/ScrollWrapper.js +16 -8
  342. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  343. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
  344. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  345. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
  346. package/lib/components/Search/Input/Input.d.ts +1 -1
  347. package/lib/components/Search/Input/Input.js +4 -4
  348. package/lib/components/Search/Input/Input.js.map +1 -1
  349. package/lib/components/Search/Input/Input.mjs +4 -4
  350. package/lib/components/Search/Input/Input.mjs.map +1 -1
  351. package/lib/components/Search/Input/Input.styles.js +0 -1
  352. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  353. package/lib/components/Search/Input/Input.styles.mjs +0 -1
  354. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  355. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  356. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  357. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  358. package/lib/components/VideoPlayerNew/assets/pause.svg.js +1 -1
  359. package/lib/components/VideoPlayerNew/assets/pause.svg.mjs +2 -2
  360. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  361. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  362. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  363. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  364. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  365. package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -0
  366. package/lib/constants/proStoreCategories/mapping/index.js +20 -6
  367. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  368. package/lib/constants/proStoreCategories/mapping/index.mjs +20 -6
  369. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  370. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  371. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +2 -0
  372. package/lib/constants/proStoreCategories/mapping/unifi.js +2 -0
  373. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  374. package/lib/constants/proStoreCategories/mapping/unifi.mjs +2 -0
  375. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  376. package/lib/constants/proStoreCategories/translations/ar.json.js +5 -4
  377. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  378. package/lib/constants/proStoreCategories/translations/ar.json.mjs +5 -4
  379. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  380. package/lib/constants/proStoreCategories/translations/de.json.js +5 -4
  381. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  382. package/lib/constants/proStoreCategories/translations/de.json.mjs +5 -4
  383. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  384. package/lib/constants/proStoreCategories/translations/el.json.js +6 -5
  385. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  386. package/lib/constants/proStoreCategories/translations/el.json.mjs +6 -5
  387. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  388. package/lib/constants/proStoreCategories/translations/en.json.js +5 -1
  389. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  390. package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -2
  391. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  392. package/lib/constants/proStoreCategories/translations/es.json.js +5 -4
  393. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  394. package/lib/constants/proStoreCategories/translations/es.json.mjs +5 -4
  395. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  396. package/lib/constants/proStoreCategories/translations/fr.json.js +5 -1
  397. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  398. package/lib/constants/proStoreCategories/translations/fr.json.mjs +5 -2
  399. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  400. package/lib/constants/proStoreCategories/translations/it.json.js +5 -4
  401. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  402. package/lib/constants/proStoreCategories/translations/it.json.mjs +5 -4
  403. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  404. package/lib/constants/proStoreCategories/translations/ja.json.js +5 -4
  405. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  406. package/lib/constants/proStoreCategories/translations/ja.json.mjs +5 -4
  407. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  408. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +5 -4
  409. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  410. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +5 -4
  411. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  412. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +5 -1
  413. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  414. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +5 -2
  415. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  416. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +5 -1
  417. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  418. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +5 -2
  419. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  420. package/lib/constants/proStoreFilters/mapping.d.ts +43 -7
  421. package/lib/constants/proStoreFilters/mapping.js +129 -15
  422. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  423. package/lib/constants/proStoreFilters/mapping.mjs +129 -15
  424. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  425. package/lib/constants/theme.js +4 -0
  426. package/lib/constants/theme.js.map +1 -1
  427. package/lib/constants/theme.mjs +4 -0
  428. package/lib/constants/theme.mjs.map +1 -1
  429. package/lib/contexts/MenuContext/context.js +1 -1
  430. package/lib/contexts/MenuContext/context.js.map +1 -1
  431. package/lib/contexts/MenuContext/context.mjs +1 -1
  432. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  433. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  434. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  435. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  436. package/lib/contexts/MenuContext/presets.js +2 -4
  437. package/lib/contexts/MenuContext/presets.js.map +1 -1
  438. package/lib/contexts/MenuContext/presets.mjs +2 -4
  439. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  440. package/lib/helpers/index.d.ts +0 -1
  441. package/lib/helpers/index.js +1 -11
  442. package/lib/helpers/index.js.map +1 -1
  443. package/lib/helpers/index.mjs +1 -2
  444. package/lib/helpers/index.mjs.map +1 -1
  445. package/lib/helpers/ux.d.ts +8 -0
  446. package/lib/helpers/ux.js +15 -0
  447. package/lib/helpers/ux.js.map +1 -1
  448. package/lib/helpers/ux.mjs +15 -1
  449. package/lib/helpers/ux.mjs.map +1 -1
  450. package/lib/types/generated.d.ts +1 -1
  451. package/lib/types/generated.js.map +1 -1
  452. package/lib/types/generated.mjs.map +1 -1
  453. package/lib/types/index.d.ts +0 -1
  454. package/lib/types/index.js +0 -2
  455. package/lib/types/index.js.map +1 -1
  456. package/lib/types/index.mjs +0 -1
  457. package/lib/types/index.mjs.map +1 -1
  458. package/lib/utils/address.d.ts +62 -278
  459. package/lib/utils/address.js +8 -11
  460. package/lib/utils/address.js.map +1 -1
  461. package/lib/utils/address.mjs +8 -11
  462. package/lib/utils/address.mjs.map +1 -1
  463. package/lib/utils/array.d.ts +0 -4
  464. package/lib/utils/array.js +0 -10
  465. package/lib/utils/array.js.map +1 -1
  466. package/lib/utils/array.mjs +1 -10
  467. package/lib/utils/array.mjs.map +1 -1
  468. package/package.json +1 -1
  469. package/lib/assets/crestron.svg +0 -3
  470. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  471. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  472. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  473. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  474. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  475. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  476. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  477. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  478. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  479. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  480. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  481. package/lib/helpers/product.d.ts +0 -87
  482. package/lib/helpers/product.js +0 -346
  483. package/lib/helpers/product.js.map +0 -1
  484. package/lib/helpers/product.mjs +0 -335
  485. package/lib/helpers/product.mjs.map +0 -1
  486. package/lib/helpers/product.test.d.ts +0 -1
  487. package/lib/types/product.d.ts +0 -87
  488. package/lib/types/product.js +0 -14
  489. package/lib/types/product.js.map +0 -1
  490. package/lib/types/product.mjs +0 -13
  491. package/lib/types/product.mjs.map +0 -1
  492. package/lib/utils/productSort.d.ts +0 -41
  493. package/lib/utils/productSort.js +0 -67
  494. package/lib/utils/productSort.js.map +0 -1
  495. package/lib/utils/productSort.mjs +0 -60
  496. package/lib/utils/productSort.mjs.map +0 -1
  497. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  498. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  499. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  500. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  501. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"ImageCarousel.mjs","sources":["../../../src/components/ImageCarousel/ImageCarousel.tsx"],"sourcesContent":["// import { useTranslation } from \"hooks/useTranslation\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport type React from \"react\";\nimport { useKeyPressEvent, useMedia } from \"react-use\";\n\nimport ArrowIcon from \"../../assets/icons/carouselArrow.svg\";\nimport ArrowNavIcon from \"../../assets/icons/carouselArrowNav.svg\";\nimport CloseIcon from \"../../assets/icons/carouselClose.svg\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\n// TODO: Implement this\n// import { useCookiesConsent } from \"../../contexts/CookiesConsentContext\";\n// import { CookiesConsentGroup } from \"../../contexts/CookiesConsentContext/types\";\n// import { VideoCookiesConsent } from \"../VideoCookiesConsent\";\nimport { CustomImage } from \"../CustomImage\";\nimport * as S from \"./ImageCarousel.styles\";\nimport type { ImageCarouselProps } from \"./ImageCarousel.types\";\n\nenum Direction {\n Next = \"next\",\n Previous = \"prev\",\n}\n\nconst TRANSITION_DURATION = 200;\n\nexport const ImageCarousel = function ImageCarousel({\n items,\n renderImage,\n handleActiveGalleryImageId,\n imageCarouselFullScreen,\n handleShowImageCarouselFullScreen,\n slideBackgroundColor,\n initialActiveIndex,\n}: ImageCarouselProps): JSX.Element {\n const carousel = useRef<HTMLDivElement>(null);\n const slider = useRef<HTMLDivElement>(null);\n const navigation = useRef<HTMLOListElement>(null);\n const prevSlideRef = useRef<number | null>(null);\n const [activeSlide, setActiveSlide] = useState(initialActiveIndex || 0);\n const [sliding, setSliding] = useState(false);\n const [navScrollable, setNavScrollable] = useState(false);\n const [scrollPosition, setScrollPosition] = useState(0);\n const [dragX, setDragX] = useState<null | number>(null);\n const [dragY, setDragY] = useState<null | number>(null);\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n const isTablet = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const scrollSlideIntoView = useCallback(\n (duration: number, nextSlide: number, prevSlide: number) => {\n setSliding(true);\n const container = carousel.current;\n const WIDTH = 100;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n const inProgress = progress < 1;\n const startingPosition = -WIDTH * prevSlide;\n const position = inProgress\n ? startingPosition + WIDTH * (prevSlide - nextSlide) * progress\n : startingPosition + WIDTH * (prevSlide - nextSlide);\n container.style.transform = `translate3d(${position}%, 0px, 0px)`;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n if (container !== null) {\n handleActiveGalleryImageId?.(null);\n }\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [handleActiveGalleryImageId],\n );\n\n const scrollNavIntoView = useCallback(\n (duration: number, scrollBy: number) => {\n setSliding(true);\n const container = navigation.current;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n const initialScroll = container.scrollLeft;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n container.scrollLeft = initialScroll + scrollBy * progress;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [setSliding],\n );\n\n const handleScrollNavItemIntoView = useCallback(\n (i: number) => {\n const container = navigation.current;\n\n if (container) {\n const containerRect = container.getBoundingClientRect();\n const actNav = container.children[i] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n if (actNavRect.right > containerRect.right) {\n const scrollStep = actNavRect.right - containerRect.right;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n } else if (actNavRect.left < containerRect.left) {\n const scrollStep = actNavRect.left - containerRect.left;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n }\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleNavArrowOnClick = useCallback(\n (direction: Direction) => {\n const container = navigation.current;\n\n const scrollItemCount = 5;\n const transition =\n // Increases by a half for each extra item\n TRANSITION_DURATION + TRANSITION_DURATION * (scrollItemCount - 1) * 0.5;\n const scrollNavigationBy =\n (S.navigationItemWidth + S.navigationItemMargin) * scrollItemCount;\n\n if (container) {\n if (direction === Direction.Next) {\n scrollNavIntoView(transition, scrollNavigationBy);\n }\n if (direction === Direction.Previous) {\n scrollNavIntoView(transition, -scrollNavigationBy);\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleArrowOnClick = useCallback(\n (direction: Direction) => {\n // Exit if already changing image\n if (sliding) {\n return;\n }\n\n const nextSlide =\n direction === Direction.Next ? activeSlide + 1 : activeSlide - 1;\n\n setActiveSlide(nextSlide);\n },\n [sliding, activeSlide],\n );\n\n const handleNavigationOnClick = useCallback((i: number) => {\n setActiveSlide(i);\n }, []);\n\n const enableNavScroll = () => {\n const container = navigation.current as HTMLElement;\n\n const scrollable =\n !!container && container.scrollWidth > container.clientWidth;\n setNavScrollable(scrollable);\n };\n\n const isHidden = (i: number): boolean => !(i === activeSlide || sliding);\n\n const handleNavScroll = useCallback((e: React.UIEvent<HTMLOListElement>) => {\n const navigation = e.target as HTMLElement;\n const position = navigation.scrollLeft;\n setScrollPosition(position);\n }, []);\n\n const navArrowActive = useCallback(\n (direction: Direction): boolean => {\n if (direction === Direction.Previous) {\n return scrollPosition > 0;\n } else if (direction === Direction.Next) {\n const container = navigation.current as HTMLElement;\n\n return container.scrollWidth - container.offsetWidth > scrollPosition;\n }\n\n return false;\n },\n [scrollPosition],\n );\n\n useEffect(() => {\n enableNavScroll();\n\n window.addEventListener(\"resize\", enableNavScroll);\n return () => window.removeEventListener(\"resize\", enableNavScroll);\n });\n\n // Scroll slider and navigation on activeSlide change\n useEffect(() => {\n if (!sliding) {\n scrollSlideIntoView(\n TRANSITION_DURATION,\n activeSlide,\n prevSlideRef.current !== null ? prevSlideRef.current : activeSlide, // To disable transition on first gallery load\n );\n }\n handleScrollNavItemIntoView(activeSlide);\n // sliding is not necessary here, otherwise it will go into loop\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeSlide, scrollSlideIntoView, handleScrollNavItemIntoView]);\n\n // Set previous slide to active slide, need to use it in slide transition\n useEffect(() => {\n prevSlideRef.current = activeSlide;\n\n // Stop video if slide changes\n if (items[activeSlide]?.isVideo && videoRef.current) {\n videoRef.current.currentTime = 0;\n videoRef.current.pause();\n isVideoHovering.current = false;\n }\n }, [activeSlide, items]);\n\n // Make sure that active slide is set to 0 when item input changes and there is only one image\n useEffect(() => {\n if (items.length === 1 && activeSlide !== 0) {\n setActiveSlide(0);\n }\n }, [items.length, activeSlide]);\n\n // #############################################################################\n // Cookies consent\n // #############################################################################\n /* Disabled for now since the current design does not have videos in gallery, might change later */\n // const { hasCookiesConsent } = useCookiesConsent();\n // const videoNoCookiesConsent = !hasCookiesConsent(\n // CookiesConsentGroup.Targeting\n // );\n\n // #############################################################################\n // Can fullscreen\n // #############################################################################\n /* Disabled for now since the current design does not have fullscreen, might change later */\n // const canFullscreen = useMemo(() => {\n // const isEmbed = items[activeSlide]?.data.__typename === \"Embed\";\n\n // return !isEmbed || (isEmbed && !videoNoCookiesConsent);\n // }, [activeSlide, items, videoNoCookiesConsent]);\n\n // #############################################################################\n // Arrow click events\n // #############################################################################\n const handlePrevArrowClick = useCallback(() => {\n // Exit if first image\n if (activeSlide === 0) {\n return;\n }\n\n handleArrowOnClick(Direction.Previous);\n }, [activeSlide, handleArrowOnClick]);\n\n const handleNextArrowClick = useCallback(() => {\n // Exit if last image\n if (activeSlide + 1 >= items.length) {\n return;\n }\n\n handleArrowOnClick(Direction.Next);\n }, [activeSlide, handleArrowOnClick, items.length]);\n\n // #############################################################################\n // Mouse events\n // #############################################################################\n const mouseDown = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n setDragX(event.pageX);\n setDragY(event.pageY);\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n setDragX(touch.pageX);\n setDragY(touch.pageY);\n }\n }\n },\n [],\n );\n\n const mouseUp = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n const container = slider.current as HTMLElement;\n const rect = container.getBoundingClientRect();\n let dragXPercentage = 0;\n let dragYPercentage = 0;\n\n if (!dragX || !slider || !dragY) {\n return;\n }\n\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n dragXPercentage = (event.pageX - dragX) / rect.width;\n dragYPercentage = (event.pageY - dragY) / rect.height;\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n dragXPercentage = (touch.pageX - dragX) / rect.width;\n dragYPercentage = (touch.pageY - dragY) / rect.height;\n }\n }\n\n const userScrollingY = dragYPercentage > 0.05 || dragYPercentage < -0.05;\n\n // user swiped right\n if (dragXPercentage < -0.05 && !userScrollingY) {\n handleNextArrowClick();\n }\n // user swiped left\n else if (dragXPercentage > 0.05 && !userScrollingY) {\n handlePrevArrowClick();\n }\n // onclick\n else if (\n dragXPercentage === 0 &&\n dragYPercentage === 0\n // && canFullscreen\n ) {\n handleShowImageCarouselFullScreen?.(true);\n }\n\n setDragX(null);\n },\n [\n dragX,\n dragY,\n handleNextArrowClick,\n handlePrevArrowClick,\n handleShowImageCarouselFullScreen,\n ],\n );\n\n const handleCloseFullScreen = useCallback(() => {\n if (imageCarouselFullScreen) {\n handleShowImageCarouselFullScreen?.(false);\n }\n }, [handleShowImageCarouselFullScreen, imageCarouselFullScreen]);\n\n // close fullscreen view when pressing escape\n useKeyPressEvent(\"Escape\", handleCloseFullScreen);\n\n // Change images on left/right arrow press\n useKeyPressEvent(\"ArrowLeft\", handlePrevArrowClick);\n useKeyPressEvent(\"ArrowRight\", handleNextArrowClick);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <>\n {imageCarouselFullScreen && (\n <S.CloseButton onClick={handleCloseFullScreen}>\n {/* eslint-disable-next-line @next/next/no-img-element */}\n <img\n src={typeof CloseIcon === \"string\" ? CloseIcon : CloseIcon.src}\n alt=\"\"\n />\n </S.CloseButton>\n )}\n <S.Container\n fullScreen={imageCarouselFullScreen}\n canFullscreen={false}\n // canFullscreen={canFullscreen}\n >\n <S.ContainerContentWrap>\n <S.FlexWrap>\n {/* Summary text for mobile full-screen gallery mode */}\n {/* TODO: Investigate how to fix translations for this taking into consideration that it is in store.shared repo */}\n {/* {imageCarouselFullScreen && isMobileView && (\n <S.SummaryText>\n {t(\n { id: \"product.page.imageSummary\" },\n { total: items.length, n: activeSlide + 1 }\n )}\n </S.SummaryText>\n )} */}\n </S.FlexWrap>\n <S.Carousel\n onMouseDown={mouseDown}\n onMouseUp={mouseUp}\n ref={slider}\n onTouchStart={mouseDown}\n onTouchEnd={mouseUp}\n >\n <S.CarouselViewport className=\"carousel__viewport\" ref={carousel}>\n {items.map((item, i) => (\n <S.CarouselSlide\n key={`carousel-slide-${item.id}`}\n hide={isHidden(i)}\n slideBackgroundColor={slideBackgroundColor}\n >\n <S.CarouselSlideInner\n onMouseEnter={() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.load();\n }\n }}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <S.Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={\n item.childAssets?.find((asset) => !asset.isVideo)?.src\n }\n $aspectRatio={item.width / item.height}\n controls={false}\n onCanPlayThrough={async () => {\n try {\n if (videoRef.current && isVideoHovering.current) {\n await videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }}\n onEnded={() => {\n if (videoRef.current) {\n try {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }\n }}\n /**\n * NOTE: Not enabling autoPlay for mobile devices because\n * the video element is left in the DOM and we don't want\n * it to start playing if it is not in visible.\n */\n />\n ) : (\n <CustomImage\n responsive\n renderImage={renderImage}\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item}\n sizes={`100%`}\n layout=\"fill\"\n objectFit=\"contain\"\n priority={i === 0} // prioritize 1st image\n />\n )}\n\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <CustomImage\n responsive\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item.data}\n sizes={`${imageCarouselFullScreen\n ? S.imageCarouselFullScreenWidth\n : S.productScreenChildContainerWidth\n }px`}\n priority={i === 0} // prioritize 1st image\n />\n )}\n {item.data.__typename === \"Embed\" && (\n <S.VideoWrap>\n {videoNoCookiesConsent ? (\n <VideoCookiesConsent videoSrc={item.data.url} />\n ) : (\n <S.Iframe\n src={item.data.url}\n title=\"YouTube video player\"\n allowFullScreen\n />\n )}\n </S.VideoWrap>\n )} */}\n </S.CarouselSlideInner>\n </S.CarouselSlide>\n ))}\n </S.CarouselViewport>\n </S.Carousel>\n\n {items.length > 1 && (\n <S.CarouselNavigation fullScreen={imageCarouselFullScreen}>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Previous}\n active={navArrowActive(Direction.Previous)}\n onClick={() => handleNavArrowOnClick(Direction.Previous)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n\n <S.CarouselNavigationList\n ref={navigation}\n navScrollable={navScrollable}\n onScroll={handleNavScroll}\n >\n {items.map((item, i) => (\n <S.CarouselNavigationListItem\n key={`carousel-navigation-${item.id}`}\n onClick={() => handleNavigationOnClick(i)}\n >\n {isTablet ? (\n <S.SliderDot active={activeSlide === i} />\n ) : (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <S.CarouselNavigationInnerWrap>\n <CustomImage\n renderImage={renderImage}\n asset={{\n src: item.isVideo\n ? item.childAssets?.find(\n (asset) => !asset.isVideo,\n )?.src || \"\"\n : item.src,\n alt: item.alt,\n height: 50,\n width: 50,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationInnerWrap>\n </S.CarouselNavigationButton>\n )}\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage asset={item.data} sizes=\"50px\" />\n </S.CarouselNavigationButton>\n )}\n {item.data.__typename === \"Embed\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage\n asset={{\n url: item.data.thumbnailUrl,\n height: item.data.thumbnailHeight,\n width: item.data.thumbnailWidth,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationButton>\n )} */}\n </S.CarouselNavigationListItem>\n ))}\n </S.CarouselNavigationList>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Next}\n active={navArrowActive(Direction.Next)}\n onClick={() => handleNavArrowOnClick(Direction.Next)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n </S.CarouselNavigation>\n )}\n </S.ContainerContentWrap>\n\n <S.CarouselArrowButton\n direction={Direction.Previous}\n hide={activeSlide === 0}\n onClick={() => handleArrowOnClick(Direction.Previous)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n\n <S.CarouselArrowButton\n direction={Direction.Next}\n hide={activeSlide === items.length - 1}\n onClick={() => handleArrowOnClick(Direction.Next)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n </S.Container>\n </>\n );\n};\n"],"names":["Direction","TRANSITION_DURATION","ImageCarousel","ImageCarousel2","items","renderImage","handleActiveGalleryImageId","imageCarouselFullScreen","handleShowImageCarouselFullScreen","slideBackgroundColor","initialActiveIndex","carousel","useRef","slider","navigation","prevSlideRef","activeSlide","setActiveSlide","useState","sliding","setSliding","navScrollable","setNavScrollable","scrollPosition","setScrollPosition","dragX","setDragX","dragY","setDragY","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","isTablet","TABLET_AND_DOWN","videoRef","isVideoHovering","scrollSlideIntoView","useCallback","duration","nextSlide","prevSlide","container","current","WIDTH","start","previousTimeStamp","step","timestamp","elapsed","progress","inProgress","startingPosition","position","style","transform","window","requestAnimationFrame","scrollNavIntoView","scrollBy","initialScroll","scrollLeft","handleScrollNavItemIntoView","i","containerRect","getBoundingClientRect","actNav","children","actNavRect","right","scrollStep","left","handleNavArrowOnClick","direction","scrollItemCount","transition","scrollNavigationBy","S.navigationItemWidth","S.navigationItemMargin","handleArrowOnClick","handleNavigationOnClick","enableNavScroll","scrollable","scrollWidth","clientWidth","isHidden","handleNavScroll","e","target","navArrowActive","offsetWidth","useEffect","addEventListener","removeEventListener","isVideo","currentTime","pause","length","handlePrevArrowClick","handleNextArrowClick","mouseDown","nativeEvent","MouseEvent","event","pageX","pageY","TouchEvent","touch","touches","changedTouches","mouseUp","rect","dragXPercentage","dragYPercentage","width","height","userScrollingY","handleCloseFullScreen","useKeyPressEvent","jsxs","Fragment","jsx","S.CloseButton","onClick","src","CloseIcon","alt","S.Container","fullScreen","canFullscreen","S.ContainerContentWrap","S.FlexWrap","S.Carousel","onMouseDown","onMouseUp","ref","onTouchStart","onTouchEnd","S.CarouselViewport","className","map","item","S.CarouselSlide","hide","S.CarouselSlideInner","onMouseEnter","isVideoPlaying","paused","ended","load","onMouseLeave","S.Video","muted","playsInline","poster","childAssets","find","asset","$aspectRatio","controls","onCanPlayThrough","play","onEnded","CustomImage","responsive","fallbackImageSize","sizes","layout","objectFit","priority","id","S.CarouselNavigation","S.NavigationArrowWrap","active","S.ArrowNavIcon","ArrowNavIcon","S.CarouselNavigationList","onScroll","S.CarouselNavigationListItem","S.SliderDot","S.CarouselNavigationButton","S.CarouselNavigationInnerWrap","S.CarouselArrowButton","S.ArrowIcon","ArrowIcon"],"mappings":";;;;;;;;;;;;;;AAiBA,IAAKA,SAAA,GAAA,gBAAAA,UAAL,IAAA;EACEA,WAAA,MAAO,CAAA,GAAA,MAAA;EACPA,WAAA,UAAW,CAAA,GAAA,MAAA;EAFRA,OAAAA,UAAAA;AAAA,CAAA,EAAAA,SAAA,IAAA,CAAA,CAAA,CAAA;AAKL,MAAMC,mBAAsB,GAAA,GAAA;AAEf,MA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EAAM/H,WAAgB,KAAAZ,KAAA,CAAM6F,MAAS,GAAA,CAAA;QACrC0B,OAAA,EAASA,CAAA,KAAM5C,kBAAA,CAAmB,MAAc,CAAA,UAAA,CAAA;QAChDiD,UAAY,EAAAzH,uBAAA;QAEZ4D,QAAA,EAAA,eAAAsD,GAAA,CAAC8D,SAAA,EAAA;UAAY3D,KAAK4D,kBAAW;UAAArE,MAAA,EAAQ,EAAI;UAAAD,KAAA,EAAO;SAAI;MAAA,CACtD,CAAA;IAAA,CACF,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"ImageCarousel.mjs","sources":["../../../src/components/ImageCarousel/ImageCarousel.tsx"],"sourcesContent":["// import { useTranslation } from \"hooks/useTranslation\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport type React from \"react\";\nimport { useKeyPressEvent, useMedia } from \"react-use\";\n\nimport ArrowIcon from \"../../assets/icons/carouselArrow.svg\";\nimport ArrowNavIcon from \"../../assets/icons/carouselArrowNav.svg\";\nimport CloseIcon from \"../../assets/icons/carouselClose.svg\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\n// TODO: Implement this\n// import { useCookiesConsent } from \"../../contexts/CookiesConsentContext\";\n// import { CookiesConsentGroup } from \"../../contexts/CookiesConsentContext/types\";\n// import { VideoCookiesConsent } from \"../VideoCookiesConsent\";\nimport { CustomImage } from \"../CustomImage\";\nimport * as S from \"./ImageCarousel.styles\";\nimport type { ImageCarouselProps } from \"./ImageCarousel.types\";\n\nenum Direction {\n Next = \"next\",\n Previous = \"prev\",\n}\n\nconst TRANSITION_DURATION = 200;\n\nexport const ImageCarousel = function ImageCarousel({\n items,\n renderImage,\n handleActiveGalleryImageId,\n imageCarouselFullScreen,\n handleShowImageCarouselFullScreen,\n slideBackgroundColor,\n initialActiveIndex,\n}: ImageCarouselProps): JSX.Element {\n const carousel = useRef<HTMLDivElement>(null);\n const slider = useRef<HTMLDivElement>(null);\n const navigation = useRef<HTMLOListElement>(null);\n const prevSlideRef = useRef<number | null>(null);\n const [activeSlide, setActiveSlide] = useState(initialActiveIndex || 0);\n const [sliding, setSliding] = useState(false);\n const [navScrollable, setNavScrollable] = useState(false);\n const [scrollPosition, setScrollPosition] = useState(0);\n const [dragX, setDragX] = useState<null | number>(null);\n const [dragY, setDragY] = useState<null | number>(null);\n const isMobileView = useMedia(BREAKPOINTS.MOBILE_AND_DOWN, false);\n const isTablet = useMedia(BREAKPOINTS.TABLET_AND_DOWN, false);\n\n const videoRef = useRef<HTMLVideoElement>(null);\n const isVideoHovering = useRef<boolean>(false);\n\n const scrollSlideIntoView = useCallback(\n (duration: number, nextSlide: number, prevSlide: number) => {\n setSliding(true);\n const container = carousel.current;\n const WIDTH = 100;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n const inProgress = progress < 1;\n const startingPosition = -WIDTH * prevSlide;\n const position = inProgress\n ? startingPosition + WIDTH * (prevSlide - nextSlide) * progress\n : startingPosition + WIDTH * (prevSlide - nextSlide);\n container.style.transform = `translate3d(${position}%, 0px, 0px)`;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n if (container !== null) {\n handleActiveGalleryImageId?.(null);\n }\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [handleActiveGalleryImageId],\n );\n\n const scrollNavIntoView = useCallback(\n (duration: number, scrollBy: number) => {\n setSliding(true);\n const container = navigation.current;\n\n if (container === null) {\n return;\n }\n\n let start: number | undefined;\n let previousTimeStamp: number;\n const initialScroll = container.scrollLeft;\n\n function step(timestamp: number) {\n if (start === undefined) {\n start = timestamp;\n }\n const elapsed = timestamp - start;\n const progress = (timestamp - start) / duration;\n\n if (previousTimeStamp !== timestamp && container !== null) {\n container.scrollLeft = initialScroll + scrollBy * progress;\n }\n\n if (elapsed < duration) {\n previousTimeStamp = timestamp;\n window.requestAnimationFrame(step);\n } else {\n setSliding(false);\n }\n }\n\n window.requestAnimationFrame(step);\n },\n [setSliding],\n );\n\n const handleScrollNavItemIntoView = useCallback(\n (i: number) => {\n const container = navigation.current;\n\n if (container) {\n const containerRect = container.getBoundingClientRect();\n const actNav = container.children[i] as HTMLElement;\n\n if (actNav) {\n const actNavRect = actNav.getBoundingClientRect();\n if (actNavRect.right > containerRect.right) {\n const scrollStep = actNavRect.right - containerRect.right;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n } else if (actNavRect.left < containerRect.left) {\n const scrollStep = actNavRect.left - containerRect.left;\n scrollNavIntoView(TRANSITION_DURATION, scrollStep);\n }\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleNavArrowOnClick = useCallback(\n (direction: Direction) => {\n const container = navigation.current;\n\n const scrollItemCount = 5;\n const transition =\n // Increases by a half for each extra item\n TRANSITION_DURATION + TRANSITION_DURATION * (scrollItemCount - 1) * 0.5;\n const scrollNavigationBy =\n (S.navigationItemWidth + S.navigationItemMargin) * scrollItemCount;\n\n if (container) {\n if (direction === Direction.Next) {\n scrollNavIntoView(transition, scrollNavigationBy);\n }\n if (direction === Direction.Previous) {\n scrollNavIntoView(transition, -scrollNavigationBy);\n }\n }\n },\n [scrollNavIntoView],\n );\n\n const handleArrowOnClick = useCallback(\n (direction: Direction) => {\n // Exit if already changing image\n if (sliding) {\n return;\n }\n\n const nextSlide =\n direction === Direction.Next ? activeSlide + 1 : activeSlide - 1;\n\n setActiveSlide(nextSlide);\n },\n [sliding, activeSlide],\n );\n\n const handleNavigationOnClick = useCallback((i: number) => {\n setActiveSlide(i);\n }, []);\n\n const enableNavScroll = () => {\n const container = navigation.current as HTMLElement;\n\n const scrollable =\n !!container && container.scrollWidth > container.clientWidth;\n setNavScrollable(scrollable);\n };\n\n const isHidden = (i: number): boolean => !(i === activeSlide || sliding);\n\n const handleNavScroll = useCallback((e: React.UIEvent<HTMLOListElement>) => {\n const navigation = e.target as HTMLElement;\n const position = navigation.scrollLeft;\n setScrollPosition(position);\n }, []);\n\n const navArrowActive = useCallback(\n (direction: Direction): boolean => {\n if (direction === Direction.Previous) {\n return scrollPosition > 0;\n } else if (direction === Direction.Next) {\n const container = navigation.current as HTMLElement;\n\n return container.scrollWidth - container.offsetWidth > scrollPosition;\n }\n\n return false;\n },\n [scrollPosition],\n );\n\n useEffect(() => {\n enableNavScroll();\n\n window.addEventListener(\"resize\", enableNavScroll);\n return () => window.removeEventListener(\"resize\", enableNavScroll);\n });\n\n // Scroll slider and navigation on activeSlide change\n useEffect(() => {\n if (!sliding) {\n scrollSlideIntoView(\n TRANSITION_DURATION,\n activeSlide,\n prevSlideRef.current !== null ? prevSlideRef.current : activeSlide, // To disable transition on first gallery load\n );\n }\n handleScrollNavItemIntoView(activeSlide);\n // sliding is not necessary here, otherwise it will go into loop\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [activeSlide, scrollSlideIntoView, handleScrollNavItemIntoView]);\n\n // Set previous slide to active slide, need to use it in slide transition\n useEffect(() => {\n prevSlideRef.current = activeSlide;\n\n // Stop video if slide changes\n if (items[activeSlide]?.isVideo && videoRef.current) {\n videoRef.current.currentTime = 0;\n videoRef.current.pause();\n isVideoHovering.current = false;\n }\n }, [activeSlide, items]);\n\n // #############################################################################\n // Cookies consent\n // #############################################################################\n /* Disabled for now since the current design does not have videos in gallery, might change later */\n // const { hasCookiesConsent } = useCookiesConsent();\n // const videoNoCookiesConsent = !hasCookiesConsent(\n // CookiesConsentGroup.Targeting\n // );\n\n // #############################################################################\n // Can fullscreen\n // #############################################################################\n /* Disabled for now since the current design does not have fullscreen, might change later */\n // const canFullscreen = useMemo(() => {\n // const isEmbed = items[activeSlide]?.data.__typename === \"Embed\";\n\n // return !isEmbed || (isEmbed && !videoNoCookiesConsent);\n // }, [activeSlide, items, videoNoCookiesConsent]);\n\n // #############################################################################\n // Arrow click events\n // #############################################################################\n const handlePrevArrowClick = useCallback(() => {\n // Exit if first image\n if (activeSlide === 0) {\n return;\n }\n\n handleArrowOnClick(Direction.Previous);\n }, [activeSlide, handleArrowOnClick]);\n\n const handleNextArrowClick = useCallback(() => {\n // Exit if last image\n if (activeSlide + 1 >= items.length) {\n return;\n }\n\n handleArrowOnClick(Direction.Next);\n }, [activeSlide, handleArrowOnClick, items.length]);\n\n // #############################################################################\n // Mouse events\n // #############################################################################\n const mouseDown = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n setDragX(event.pageX);\n setDragY(event.pageY);\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n setDragX(touch.pageX);\n setDragY(touch.pageY);\n }\n }\n },\n [],\n );\n\n const mouseUp = useCallback(\n (e: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>) => {\n const container = slider.current as HTMLElement;\n const rect = container.getBoundingClientRect();\n let dragXPercentage = 0;\n let dragYPercentage = 0;\n\n if (!dragX || !slider || !dragY) {\n return;\n }\n\n if (e.nativeEvent instanceof MouseEvent) {\n const event = e as React.MouseEvent<HTMLElement>;\n dragXPercentage = (event.pageX - dragX) / rect.width;\n dragYPercentage = (event.pageY - dragY) / rect.height;\n } else if (e.nativeEvent instanceof TouchEvent) {\n const event = e as React.TouchEvent<HTMLElement>;\n const touch = event.touches[0] || event.changedTouches[0];\n\n if (touch) {\n dragXPercentage = (touch.pageX - dragX) / rect.width;\n dragYPercentage = (touch.pageY - dragY) / rect.height;\n }\n }\n\n const userScrollingY = dragYPercentage > 0.05 || dragYPercentage < -0.05;\n\n // user swiped right\n if (dragXPercentage < -0.05 && !userScrollingY) {\n handleNextArrowClick();\n }\n // user swiped left\n else if (dragXPercentage > 0.05 && !userScrollingY) {\n handlePrevArrowClick();\n }\n // onclick\n else if (\n dragXPercentage === 0 &&\n dragYPercentage === 0\n // && canFullscreen\n ) {\n handleShowImageCarouselFullScreen?.(true);\n }\n\n setDragX(null);\n },\n [\n dragX,\n dragY,\n handleNextArrowClick,\n handlePrevArrowClick,\n handleShowImageCarouselFullScreen,\n ],\n );\n\n const handleCloseFullScreen = useCallback(() => {\n if (imageCarouselFullScreen) {\n handleShowImageCarouselFullScreen?.(false);\n }\n }, [handleShowImageCarouselFullScreen, imageCarouselFullScreen]);\n\n // close fullscreen view when pressing escape\n useKeyPressEvent(\"Escape\", handleCloseFullScreen);\n\n // Change images on left/right arrow press\n useKeyPressEvent(\"ArrowLeft\", handlePrevArrowClick);\n useKeyPressEvent(\"ArrowRight\", handleNextArrowClick);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <>\n {imageCarouselFullScreen && (\n <S.CloseButton onClick={handleCloseFullScreen}>\n {/* eslint-disable-next-line @next/next/no-img-element */}\n <img\n src={typeof CloseIcon === \"string\" ? CloseIcon : CloseIcon.src}\n alt=\"\"\n />\n </S.CloseButton>\n )}\n <S.Container\n fullScreen={imageCarouselFullScreen}\n canFullscreen={false}\n // canFullscreen={canFullscreen}\n >\n <S.ContainerContentWrap>\n <S.FlexWrap>\n {/* Summary text for mobile full-screen gallery mode */}\n {/* TODO: Investigate how to fix translations for this taking into consideration that it is in store.shared repo */}\n {/* {imageCarouselFullScreen && isMobileView && (\n <S.SummaryText>\n {t(\n { id: \"product.page.imageSummary\" },\n { total: items.length, n: activeSlide + 1 }\n )}\n </S.SummaryText>\n )} */}\n </S.FlexWrap>\n <S.Carousel\n onMouseDown={mouseDown}\n onMouseUp={mouseUp}\n ref={slider}\n onTouchStart={mouseDown}\n onTouchEnd={mouseUp}\n >\n <S.CarouselViewport className=\"carousel__viewport\" ref={carousel}>\n {items.map((item, i) => (\n <S.CarouselSlide\n key={`carousel-slide-${item.id}`}\n hide={isHidden(i)}\n slideBackgroundColor={slideBackgroundColor}\n >\n <S.CarouselSlideInner\n onMouseEnter={() => {\n // Keep track of if video is hovered to maintain loop\n isVideoHovering.current = true;\n\n if (!videoRef.current) {\n return;\n }\n\n // @see https://stackoverflow.com/a/6877530\n const isVideoPlaying = !!(\n videoRef.current.currentTime > 0 &&\n !videoRef.current.paused &&\n !videoRef.current.ended\n );\n\n if (!isVideoPlaying) {\n videoRef.current.load();\n }\n }}\n onMouseLeave={() => {\n isVideoHovering.current = false;\n }}\n >\n {item.isVideo ? (\n <S.Video\n ref={videoRef}\n src={item.src}\n width={item.width}\n height={item.height}\n muted\n playsInline\n poster={\n item.childAssets?.find((asset) => !asset.isVideo)?.src\n }\n $aspectRatio={item.width / item.height}\n controls={false}\n onCanPlayThrough={async () => {\n try {\n if (videoRef.current && isVideoHovering.current) {\n await videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }}\n onEnded={() => {\n if (videoRef.current) {\n try {\n if (!isVideoHovering.current) {\n // Stop auto-looping and reset video\n videoRef.current.pause();\n videoRef.current.currentTime = 0;\n } else {\n // Just reset video loop\n videoRef.current.currentTime = 0;\n videoRef.current.play();\n }\n } catch {\n // Do nothing\n }\n }\n }}\n /**\n * NOTE: Not enabling autoPlay for mobile devices because\n * the video element is left in the DOM and we don't want\n * it to start playing if it is not in visible.\n */\n />\n ) : (\n <CustomImage\n responsive\n renderImage={renderImage}\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item}\n sizes={`100%`}\n layout=\"fill\"\n objectFit=\"contain\"\n priority={i === 0} // prioritize 1st image\n />\n )}\n\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <CustomImage\n responsive\n fallbackImageSize={isMobileView ? \"medium\" : \"tiny\"}\n asset={item.data}\n sizes={`${imageCarouselFullScreen\n ? S.imageCarouselFullScreenWidth\n : S.productScreenChildContainerWidth\n }px`}\n priority={i === 0} // prioritize 1st image\n />\n )}\n {item.data.__typename === \"Embed\" && (\n <S.VideoWrap>\n {videoNoCookiesConsent ? (\n <VideoCookiesConsent videoSrc={item.data.url} />\n ) : (\n <S.Iframe\n src={item.data.url}\n title=\"YouTube video player\"\n allowFullScreen\n />\n )}\n </S.VideoWrap>\n )} */}\n </S.CarouselSlideInner>\n </S.CarouselSlide>\n ))}\n </S.CarouselViewport>\n </S.Carousel>\n\n {items.length > 1 && (\n <S.CarouselNavigation fullScreen={imageCarouselFullScreen}>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Previous}\n active={navArrowActive(Direction.Previous)}\n onClick={() => handleNavArrowOnClick(Direction.Previous)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n\n <S.CarouselNavigationList\n ref={navigation}\n navScrollable={navScrollable}\n onScroll={handleNavScroll}\n >\n {items.map((item, i) => (\n <S.CarouselNavigationListItem\n key={`carousel-navigation-${item.id}`}\n onClick={() => handleNavigationOnClick(i)}\n >\n {isTablet ? (\n <S.SliderDot active={activeSlide === i} />\n ) : (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <S.CarouselNavigationInnerWrap>\n <CustomImage\n renderImage={renderImage}\n asset={{\n src: item.isVideo\n ? item.childAssets?.find(\n (asset) => !asset.isVideo,\n )?.src || \"\"\n : item.src,\n alt: item.alt,\n height: 50,\n width: 50,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationInnerWrap>\n </S.CarouselNavigationButton>\n )}\n {/* Disabled for now since the current design does not have videos in gallery, might change later */}\n {/* {item.data.__typename === \"Asset\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage asset={item.data} sizes=\"50px\" />\n </S.CarouselNavigationButton>\n )}\n {item.data.__typename === \"Embed\" && (\n <S.CarouselNavigationButton active={activeSlide === i}>\n <CustomImage\n asset={{\n url: item.data.thumbnailUrl,\n height: item.data.thumbnailHeight,\n width: item.data.thumbnailWidth,\n }}\n sizes=\"50px\"\n />\n </S.CarouselNavigationButton>\n )} */}\n </S.CarouselNavigationListItem>\n ))}\n </S.CarouselNavigationList>\n {navScrollable && (\n <S.NavigationArrowWrap\n direction={Direction.Next}\n active={navArrowActive(Direction.Next)}\n onClick={() => handleNavArrowOnClick(Direction.Next)}\n >\n <S.ArrowNavIcon src={ArrowNavIcon} height={20} width={20} />\n </S.NavigationArrowWrap>\n )}\n </S.CarouselNavigation>\n )}\n </S.ContainerContentWrap>\n\n <S.CarouselArrowButton\n direction={Direction.Previous}\n hide={activeSlide === 0}\n onClick={() => handleArrowOnClick(Direction.Previous)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n\n <S.CarouselArrowButton\n direction={Direction.Next}\n hide={activeSlide === items.length - 1}\n onClick={() => handleArrowOnClick(Direction.Next)}\n fullScreen={imageCarouselFullScreen}\n >\n <S.ArrowIcon src={ArrowIcon} height={16} width={10} />\n </S.CarouselArrowButton>\n </S.Container>\n </>\n );\n};\n"],"names":["Direction","TRANSITION_DURATION","ImageCarousel","ImageCarousel2","items","renderImage","handleActiveGalleryImageId","imageCarouselFullScreen","handleShowImageCarouselFullScreen","slideBackgroundColor","initialActiveIndex","carousel","useRef","slider","navigation","prevSlideRef","activeSlide","setActiveSlide","useState","sliding","setSliding","navScrollable","setNavScrollable","scrollPosition","setScrollPosition","dragX","setDragX","dragY","setDragY","isMobileView","useMedia","BREAKPOINTS","MOBILE_AND_DOWN","isTablet","TABLET_AND_DOWN","videoRef","isVideoHovering","scrollSlideIntoView","useCallback","duration","nextSlide","prevSlide","container","current","WIDTH","start","previousTimeStamp","step","timestamp","elapsed","progress","inProgress","startingPosition","position","style","transform","window","requestAnimationFrame","scrollNavIntoView","scrollBy","initialScroll","scrollLeft","handleScrollNavItemIntoView","i","containerRect","getBoundingClientRect","actNav","children","actNavRect","right","scrollStep","left","handleNavArrowOnClick","direction","scrollItemCount","transition","scrollNavigationBy","S.navigationItemWidth","S.navigationItemMargin","handleArrowOnClick","handleNavigationOnClick","enableNavScroll","scrollable","scrollWidth","clientWidth","isHidden","handleNavScroll","e","target","navArrowActive","offsetWidth","useEffect","addEventListener","removeEventListener","isVideo","currentTime","pause","handlePrevArrowClick","handleNextArrowClick","length","mouseDown","nativeEvent","MouseEvent","event","pageX","pageY","TouchEvent","touch","touches","changedTouches","mouseUp","rect","dragXPercentage","dragYPercentage","width","height","userScrollingY","handleCloseFullScreen","useKeyPressEvent","jsxs","Fragment","jsx","S.CloseButton","onClick","src","CloseIcon","alt","S.Container","fullScreen","canFullscreen","S.ContainerContentWrap","S.FlexWrap","S.Carousel","onMouseDown","onMouseUp","ref","onTouchStart","onTouchEnd","S.CarouselViewport","className","map","item","S.CarouselSlide","hide","S.CarouselSlideInner","onMouseEnter","isVideoPlaying","paused","ended","load","onMouseLeave","S.Video","muted","playsInline","poster","childAssets","find","asset","$aspectRatio","controls","onCanPlayThrough","play","onEnded","CustomImage","responsive","fallbackImageSize","sizes","layout","objectFit","priority","id","S.CarouselNavigation","S.NavigationArrowWrap","active","S.ArrowNavIcon","ArrowNavIcon","S.CarouselNavigationList","onScroll","S.CarouselNavigationListItem","S.SliderDot","S.CarouselNavigationButton","S.CarouselNavigationInnerWrap","S.CarouselArrowButton","S.ArrowIcon","ArrowIcon"],"mappings":";;;;;;;;;;;;;;AAiBA,IAAKA,SAAA,GAAA,gBAAAA,UAAL,IAAA;EACEA,WAAA,MAAO,CAAA,GAAA,MAAA;EACPA,WAAA,UAAW,CAAA,GAAA,MAAA;EAFRA,OAAAA,UAAAA;AAAA,CAAA,EAAAA,SAAA,IAAA,CAAA,CAAA,CAAA;AAKL,MAAMC,mBAAsB,GAAA,GAAA;AAEf,MAAAC,aAAA,GAAgB,SAASA,cAAcC,CAAA;EAClDC,KAAA;EACAC,WAAA;EACAC,0BAAA;EACAC,uBAAA;EACAC,iCAAA;EACAC,oBAAA;EACAC;AACF,CAAoC,EAAA;EAC5B,MAAAC,QAAA,GAAWC,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export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
2
2
  export declare const ProductsContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const SearchLoader: import("styled-components").StyledComponent<({ height, maxWidth, className, }: import("../SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader").SkeletonLinearLoaderProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +1,4 @@
1
- export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
2
2
  export declare const ProductLayoutProductSectionWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
3
  export declare const ProductLayoutLeftSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
4
  export declare const ProductLayoutRightSide: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
- export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
1
+ export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {
2
2
  imageCarouselFullScreen?: boolean;
3
3
  }, never>;
4
- export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
4
+ export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {
5
5
  imageCarouselFullScreen?: boolean;
6
6
  }, never>;
7
7
  export declare const ProductSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -44,7 +44,7 @@ export declare const DescriptionIconWrap: import("styled-components").StyledComp
44
44
  export declare const BREADCRUMBS_HEIGHT: number;
45
45
  export declare const LAYOUT_DIVIDER_HEIGHT = 1;
46
46
  export declare const ProductLayoutDivider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
47
- export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
47
+ export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
48
48
  export declare const ProductLayoutBreadcrumbs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Breadcrumbs/Breadcrumbs.types").BreadcrumbsProps & import("react").RefAttributes<HTMLDivElement | null>>, import("styled-components").DefaultTheme, {
49
49
  showDivider?: boolean;
50
50
  }, never>;
@@ -1,7 +1,7 @@
1
- export declare const Container: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
1
+ export declare const Container: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {
2
2
  imageCarouselFullScreen?: boolean;
3
3
  }, never>;
4
- export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {
4
+ export declare const UpsellContainer: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {
5
5
  imageCarouselFullScreen?: boolean;
6
6
  }, never>;
7
7
  export declare const ProductSection: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -41,7 +41,7 @@ export declare const TopologyScheme: import("styled-components").StyledComponent
41
41
  export declare const DescriptionItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
42
42
  export declare const DescriptionIconCircle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
43
43
  export declare const DescriptionIconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
44
- export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
44
+ export declare const ProductLayoutContainer: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import("../Container/Container.types").ContainerProps & import("react").RefAttributes<HTMLDivElement>>>, import("styled-components").DefaultTheme, {}, never>;
45
45
  export declare const ProductLayoutHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
46
46
  export declare const ProductLayoutTitle: import("styled-components").StyledComponent<"h1", import("styled-components").DefaultTheme, {}, never>;
47
47
  export declare const ProductLayoutDescription: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +1,2 @@
1
1
  import type { Props } from "./LoaderDots.types";
2
- export declare const LoaderDots: ({ size }: Props) => JSX.Element;
2
+ export declare const LoaderDots: ({ size, color, }: Props) => JSX.Element;
@@ -14,10 +14,12 @@ function _interopDefault(e) {
14
14
  var LoaderDotsSvg__default = /*#__PURE__*/_interopDefault(LoaderDotsSvg);
15
15
  "use strict";
16
16
  const LoaderDots = function LoaderDots2({
17
- size = "medium"
17
+ size = "medium",
18
+ color
18
19
  }) {
19
20
  return /* @__PURE__ */jsxRuntime.jsx(LoaderDots_styles.Wrap, {
20
21
  size,
22
+ color,
21
23
  children: /* @__PURE__ */jsxRuntime.jsx(StyleableSvgImage.StyleableSvgImage, {
22
24
  src: LoaderDotsSvg__default["default"],
23
25
  width: LoaderDots_styles.SIZES[size].width,
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderDots.js","sources":["../../../src/components/LoaderDots/LoaderDots.tsx"],"sourcesContent":["import LoaderDotsSvg from \"../../assets/indicators/loaderDots.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./LoaderDots.styles\";\nimport type { Props } from \"./LoaderDots.types\";\n\nexport const LoaderDots = function LoaderDots({ size = \"medium\" }: Props) {\n return (\n <S.Wrap size={size}>\n <StyleableSvgImage\n src={LoaderDotsSvg}\n width={S.SIZES[size].width}\n height={S.SIZES[size].height}\n />\n </S.Wrap>\n );\n};\n"],"names":["LoaderDots","size","jsx","S.Wrap","Wrap","children","StyleableSvgImage","src","LoaderDotsSvg","width","S.SIZES","height"],"mappings":";;;;;;;;;;;;;;;AAKO,MAAMA,aAAa,SAASA,WAAAA,CAAW;EAAEC,IAAA,GAAO;CAAmB,EAAA;EACxE,OAAA,eACGC,UAAA,CAAAA,GAAA,CAAAC,iBAAA,CAAAC,IAAA,EAAA;IAAOH,IACN;IAAAI,QAAA,EAAA,eAAAH,UAAA,CAAAA,GAAA,CAACI,iBAAA,CAAAA,iBAAA,EAAA;MACCC,GAAK,EAAAC,sBAAA,CAAA,SAAA,CAAA;MACLC,KAAO,EAAAC,iBAAAA,CAAAA,KAAQ,CAAAT,IAAI,CAAE,CAAAQ,KAAA;MACrBE,MAAQ,EAAAD,iBAAAA,CAAAA,KAAQ,CAAAT,IAAI,CAAE,CAAAU;IAAA,CAE1B;EAAA,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"LoaderDots.js","sources":["../../../src/components/LoaderDots/LoaderDots.tsx"],"sourcesContent":["import LoaderDotsSvg from \"../../assets/indicators/loaderDots.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./LoaderDots.styles\";\nimport type { Props } from \"./LoaderDots.types\";\n\nexport const LoaderDots = function LoaderDots({\n size = \"medium\",\n color,\n}: Props) {\n return (\n <S.Wrap size={size} color={color}>\n <StyleableSvgImage\n src={LoaderDotsSvg}\n width={S.SIZES[size].width}\n height={S.SIZES[size].height}\n />\n </S.Wrap>\n );\n};\n"],"names":["LoaderDots","LoaderDots2","size","color","jsx","S.Wrap","children","StyleableSvgImage","src","LoaderDotsSvg","width","S.SIZES","height"],"mappings":";;;;;;;;;;;;;;;AAKa,MAAAA,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,QAAA;EACPC;AACF,CAAU,EAAA;EACR,OACGC,eAAAA,UAAAA,CAAAA,GAAA,CAAAC,iBAAAA,CAAAA,IAAA,EAAA;IAAOH;IAAYC,KAClB;IAAAG,QAAA,EAAA,eAAAF,UAAA,CAAAA,GAAA,CAACG,iBAAA,CAAAA,iBAAA,EAAA;MACCC,GAAK,EAAAC,sBAAA,CAAA,SAAA,CAAA;MACLC,KAAO,EAAAC,iBAAAA,CAAAA,KAAQ,CAAAT,IAAI,CAAE,CAAAQ,KAAA;MACrBE,MAAQ,EAAAD,iBAAAA,CAAAA,KAAQ,CAAAT,IAAI,CAAE,CAAAU;IAAA,CAE1B;EAAA,CAAA,CAAA;AAEJ,CAAA;"}
@@ -6,10 +6,12 @@ import { StyleableSvgImage } from '../StyleableSvgImage/StyleableSvgImage.mjs';
6
6
  import LoaderDotsSvg__default from "../../assets/loaderDots.svg";
7
7
  "use strict";
8
8
  const LoaderDots = function LoaderDots2({
9
- size = "medium"
9
+ size = "medium",
10
+ color
10
11
  }) {
11
12
  return /* @__PURE__ */jsx(Wrap, {
12
13
  size,
14
+ color,
13
15
  children: /* @__PURE__ */jsx(StyleableSvgImage, {
14
16
  src: LoaderDotsSvg__default,
15
17
  width: SIZES[size].width,
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderDots.mjs","sources":["../../../src/components/LoaderDots/LoaderDots.tsx"],"sourcesContent":["import LoaderDotsSvg from \"../../assets/indicators/loaderDots.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./LoaderDots.styles\";\nimport type { Props } from \"./LoaderDots.types\";\n\nexport const LoaderDots = function LoaderDots({ size = \"medium\" }: Props) {\n return (\n <S.Wrap size={size}>\n <StyleableSvgImage\n src={LoaderDotsSvg}\n width={S.SIZES[size].width}\n height={S.SIZES[size].height}\n />\n </S.Wrap>\n );\n};\n"],"names":["LoaderDots","size","jsx","S.Wrap","children","StyleableSvgImage","src","LoaderDotsSvg","width","S.SIZES","height"],"mappings":";;;;;;;AAKO,MAAMA,aAAa,SAASA,WAAAA,CAAW;EAAEC,IAAA,GAAO;CAAmB,EAAA;EACxE,OAAA,eACGC,GAAA,CAAAC,IAAA,EAAA;IAAOF,IACN;IAAAG,QAAA,EAAA,eAAAF,GAAA,CAACG,iBAAA,EAAA;MACCC,GAAK,EAAAC,sBAAA;MACLC,KAAO,EAAAC,KAAQ,CAAAR,IAAI,CAAE,CAAAO,KAAA;MACrBE,MAAQ,EAAAD,KAAQ,CAAAR,IAAI,CAAE,CAAAS;IAAA,CAE1B;EAAA,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"LoaderDots.mjs","sources":["../../../src/components/LoaderDots/LoaderDots.tsx"],"sourcesContent":["import LoaderDotsSvg from \"../../assets/indicators/loaderDots.svg\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./LoaderDots.styles\";\nimport type { Props } from \"./LoaderDots.types\";\n\nexport const LoaderDots = function LoaderDots({\n size = \"medium\",\n color,\n}: Props) {\n return (\n <S.Wrap size={size} color={color}>\n <StyleableSvgImage\n src={LoaderDotsSvg}\n width={S.SIZES[size].width}\n height={S.SIZES[size].height}\n />\n </S.Wrap>\n );\n};\n"],"names":["LoaderDots","LoaderDots2","size","color","jsx","S.Wrap","children","StyleableSvgImage","src","LoaderDotsSvg","width","S.SIZES","height"],"mappings":";;;;;;;AAKa,MAAAA,UAAA,GAAa,SAASA,WAAWC,CAAA;EAC5CC,IAAO,GAAA,QAAA;EACPC;AACF,CAAU,EAAA;EACR,OACG,eAAAC,GAAA,CAAAC,IAAA,EAAA;IAAOH;IAAYC,KAClB;IAAAG,QAAA,EAAA,eAAAF,GAAA,CAACG,iBAAA,EAAA;MACCC,GAAK,EAAAC,sBAAA;MACLC,KAAO,EAAAC,KAAQ,CAAAT,IAAI,CAAE,CAAAQ,KAAA;MACrBE,MAAQ,EAAAD,KAAQ,CAAAT,IAAI,CAAE,CAAAU;IAAA,CAE1B;EAAA,CAAA,CAAA;AAEJ,CAAA;"}
@@ -1,8 +1,9 @@
1
- import type { LoaderDotsSize } from "./LoaderDots.types";
1
+ import type { LoaderDotsColor, LoaderDotsSize } from "./LoaderDots.types";
2
2
  export declare const SIZES: Record<LoaderDotsSize, {
3
3
  width: number;
4
4
  height: number;
5
5
  }>;
6
6
  export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
7
  size: LoaderDotsSize;
8
+ color?: LoaderDotsColor;
8
9
  }, never>;
@@ -21,7 +21,17 @@ const SIZES = {
21
21
  };
22
22
  const Wrap = styled__default["default"].div`
23
23
  display: block;
24
- color: ${theme.theme.colors.white};
24
+ color: ${({
25
+ color
26
+ }) => {
27
+ if (!color) return theme.theme.colors.white;
28
+ switch (color) {
29
+ case "white":
30
+ return theme.theme.colors.white;
31
+ case "primaryBlue":
32
+ return theme.theme.colors.primaryBlue;
33
+ }
34
+ }};
25
35
  width: ${({
26
36
  size
27
37
  }) => SIZES[size].width}px;
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderDots.styles.js","sources":["../../../src/components/LoaderDots/LoaderDots.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LoaderDotsSize } from \"./LoaderDots.types\";\n\nexport const SIZES: Record<\n LoaderDotsSize,\n {\n width: number;\n height: number;\n }\n> = {\n large: {\n width: 36,\n height: 36,\n },\n medium: {\n width: 18,\n height: 18,\n },\n};\n\nexport const Wrap = styled.div<{ size: LoaderDotsSize }>`\n display: block;\n color: ${theme.colors.white};\n width: ${({ size }) => SIZES[size].width}px;\n height: ${({ size }) => SIZES[size].height}px;\n`;\n"],"names":["SIZES","large","width","height","medium","Wrap","styled","div","theme","colors","white","size"],"mappings":";;;;;;;;;;;AAKO,MAAMA,KAMT,GAAA;EACFC,KAAO,EAAA;IACLC,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,MAAQ,EAAA;IACNF,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV;AACF,CAAA;AAEO,MAAME,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,WAEhBC,KAAA,CAAAA,KAAA,CAAMC,OAAOC,KAAK;AAAA,WAClB,CAAC;EAAEC;MAAWX,KAAM,CAAAW,IAAI,EAAET,KAAK;AAAA,YAC9B,CAAC;EAAES;MAAWX,KAAM,CAAAW,IAAI,EAAER,MAAM;AAAA,CAAA;;"}
1
+ {"version":3,"file":"LoaderDots.styles.js","sources":["../../../src/components/LoaderDots/LoaderDots.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LoaderDotsColor, LoaderDotsSize } from \"./LoaderDots.types\";\n\nexport const SIZES: Record<\n LoaderDotsSize,\n {\n width: number;\n height: number;\n }\n> = {\n large: {\n width: 36,\n height: 36,\n },\n medium: {\n width: 18,\n height: 18,\n },\n};\n\nexport const Wrap = styled.div<{\n size: LoaderDotsSize;\n color?: LoaderDotsColor;\n}>`\n display: block;\n color: ${({ color }) => {\n if (!color) return theme.colors.white;\n\n switch (color) {\n case \"white\":\n return theme.colors.white;\n case \"primaryBlue\":\n return theme.colors.primaryBlue;\n }\n }};\n width: ${({ size }) => SIZES[size].width}px;\n height: ${({ size }) => SIZES[size].height}px;\n`;\n"],"names":["SIZES","large","width","height","medium","Wrap","styled","div","color","theme","colors","white","primaryBlue","size"],"mappings":";;;;;;;;;;;AAKO,MAAMA,KAMT,GAAA;EACFC,KAAO,EAAA;IACLC,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,MAAQ,EAAA;IACNF,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV;AACF,CAAA;AAEO,MAAME,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,WAKhB,CAAC;EAAEC;CAAY,KAAA;EACtB,IAAI,CAACA,KAAA,EAAc,OAAAC,WAAA,CAAMC,MAAO,CAAAC,KAAA;EAEhC,QAAQH,KAAO;IACb,KAAK,OAAA;MACH,OAAOC,YAAMC,MAAO,CAAAC,KAAA;IACtB,KAAK,aAAA;MACH,OAAOF,YAAMC,MAAO,CAAAE,WAAA;EACxB;AACF,CAAC;AAAA,WACQ,CAAC;EAAEC;MAAWb,KAAM,CAAAa,IAAI,EAAEX,KAAK;AAAA,YAC9B,CAAC;EAAEW;MAAWb,KAAM,CAAAa,IAAI,EAAEV,MAAM;AAAA,CAAA;;"}
@@ -13,7 +13,17 @@ const SIZES = {
13
13
  };
14
14
  const Wrap = styled.div`
15
15
  display: block;
16
- color: ${theme.colors.white};
16
+ color: ${({
17
+ color
18
+ }) => {
19
+ if (!color) return theme.colors.white;
20
+ switch (color) {
21
+ case "white":
22
+ return theme.colors.white;
23
+ case "primaryBlue":
24
+ return theme.colors.primaryBlue;
25
+ }
26
+ }};
17
27
  width: ${({
18
28
  size
19
29
  }) => SIZES[size].width}px;
@@ -1 +1 @@
1
- {"version":3,"file":"LoaderDots.styles.mjs","sources":["../../../src/components/LoaderDots/LoaderDots.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LoaderDotsSize } from \"./LoaderDots.types\";\n\nexport const SIZES: Record<\n LoaderDotsSize,\n {\n width: number;\n height: number;\n }\n> = {\n large: {\n width: 36,\n height: 36,\n },\n medium: {\n width: 18,\n height: 18,\n },\n};\n\nexport const Wrap = styled.div<{ size: LoaderDotsSize }>`\n display: block;\n color: ${theme.colors.white};\n width: ${({ size }) => SIZES[size].width}px;\n height: ${({ size }) => SIZES[size].height}px;\n`;\n"],"names":["SIZES","large","width","height","medium","Wrap","styled","div","theme","colors","white","size"],"mappings":";;;AAKO,MAAMA,KAMT,GAAA;EACFC,KAAO,EAAA;IACLC,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,MAAQ,EAAA;IACNF,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV;AACF,CAAA;AAEO,MAAME,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA,WAEhBC,KAAA,CAAMC,OAAOC,KAAK;AAAA,WAClB,CAAC;EAAEC;MAAWX,KAAM,CAAAW,IAAI,EAAET,KAAK;AAAA,YAC9B,CAAC;EAAES;MAAWX,KAAM,CAAAW,IAAI,EAAER,MAAM;AAAA,CAAA;"}
1
+ {"version":3,"file":"LoaderDots.styles.mjs","sources":["../../../src/components/LoaderDots/LoaderDots.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport type { LoaderDotsColor, LoaderDotsSize } from \"./LoaderDots.types\";\n\nexport const SIZES: Record<\n LoaderDotsSize,\n {\n width: number;\n height: number;\n }\n> = {\n large: {\n width: 36,\n height: 36,\n },\n medium: {\n width: 18,\n height: 18,\n },\n};\n\nexport const Wrap = styled.div<{\n size: LoaderDotsSize;\n color?: LoaderDotsColor;\n}>`\n display: block;\n color: ${({ color }) => {\n if (!color) return theme.colors.white;\n\n switch (color) {\n case \"white\":\n return theme.colors.white;\n case \"primaryBlue\":\n return theme.colors.primaryBlue;\n }\n }};\n width: ${({ size }) => SIZES[size].width}px;\n height: ${({ size }) => SIZES[size].height}px;\n`;\n"],"names":["SIZES","large","width","height","medium","Wrap","styled","div","color","theme","colors","white","primaryBlue","size"],"mappings":";;;AAKO,MAAMA,KAMT,GAAA;EACFC,KAAO,EAAA;IACLC,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,MAAQ,EAAA;IACNF,KAAO,EAAA,EAAA;IACPC,MAAQ,EAAA;EACV;AACF,CAAA;AAEO,MAAME,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA,WAKhB,CAAC;EAAEC;CAAY,KAAA;EACtB,IAAI,CAACA,KAAA,EAAc,OAAAC,KAAA,CAAMC,MAAO,CAAAC,KAAA;EAEhC,QAAQH,KAAO;IACb,KAAK,OAAA;MACH,OAAOC,MAAMC,MAAO,CAAAC,KAAA;IACtB,KAAK,aAAA;MACH,OAAOF,MAAMC,MAAO,CAAAE,WAAA;EACxB;AACF,CAAC;AAAA,WACQ,CAAC;EAAEC;MAAWb,KAAM,CAAAa,IAAI,EAAEX,KAAK;AAAA,YAC9B,CAAC;EAAEW;MAAWb,KAAM,CAAAa,IAAI,EAAEV,MAAM;AAAA,CAAA;"}
@@ -1,4 +1,6 @@
1
1
  export type LoaderDotsSize = "medium" | "large";
2
+ export type LoaderDotsColor = "white" | "primaryBlue";
2
3
  export type Props = {
3
4
  size?: LoaderDotsSize;
5
+ color?: LoaderDotsColor;
4
6
  };
@@ -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, }: 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, alignActive, disableScrollToActive, }: 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,4 +1,4 @@
1
- export declare const Wrap: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("../Container/Container.types").ContainerProps>, import("styled-components").DefaultTheme, {}, never>;
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>;
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>;
@@ -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/pause2.svg");
14
+ var PauseIcon = require("../../assets/pause.svg");
15
15
  var ActiveIconBox = require("../../assets/active-icon-box.svg");
16
16
  function _interopDefault(e) {
17
17
  return e && e.__esModule ? e : {
@@ -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/pause2.svg";
12
+ import PauseIcon__default from "../../assets/pause.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/pause2.svg");
6
+ var PauseIcon = require("../../../assets/pause.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/pause2.svg";
2
- export { default } from "../../../assets/pause2.svg";
1
+ export * from "../../../assets/pause.svg";
2
+ export { default } from "../../../assets/pause.svg";
3
3
  //# sourceMappingURL=pause.svg.mjs.map
@@ -469,7 +469,6 @@ export declare enum PropertyId {
469
469
  UsbCPeripheralSupport = "usbCPeripheralSupport",
470
470
  VantagePoint = "vantagePoint",
471
471
  LinkPuncturing = "linkPuncturing",
472
- CrestronNaxNvxCertified = "crestronNaxNvxCertified",
473
472
  RfFilteringTechnology = "rfFilteringTechnology",
474
473
  Weatherproofing = "weatherproofing",
475
474
  RedundantRj45Port = "redundantRj45Port",
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_pESvYnSE = require("../../../../../assets/udmPro.jpg");
6
+ var _externalAssets_CCo8CEpV = require("../../../../../assets/udmPro2.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_pESvYnSE__default = /*#__PURE__*/_interopDefault(_externalAssets_pESvYnSE);
12
+ var _externalAssets_CCo8CEpV__default = /*#__PURE__*/_interopDefault(_externalAssets_CCo8CEpV);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_pESvYnSE__default["default"];
16
+ return _externalAssets_CCo8CEpV__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_pESvYnSE).forEach(function (k) {
19
+ Object.keys(_externalAssets_CCo8CEpV).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_pESvYnSE[k];
23
+ return _externalAssets_CCo8CEpV[k];
24
24
  }
25
25
  });
26
26
  });
@@ -1,3 +1,3 @@
1
- export * from "../../../../../assets/udmPro.jpg";
2
- export { default } from "../../../../../assets/udmPro.jpg";
1
+ export * from "../../../../../assets/udmPro2.jpg";
2
+ export { default } from "../../../../../assets/udmPro2.jpg";
3
3
  //# sourceMappingURL=udmPro.jpg.mjs.map
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_CmLfPohF = require("../../../../../assets/udmProMax.jpg");
6
+ var _externalAssets_CMbJW0VT = require("../../../../../assets/udmProMax2.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_CmLfPohF__default = /*#__PURE__*/_interopDefault(_externalAssets_CmLfPohF);
12
+ var _externalAssets_CMbJW0VT__default = /*#__PURE__*/_interopDefault(_externalAssets_CMbJW0VT);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_CmLfPohF__default["default"];
16
+ return _externalAssets_CMbJW0VT__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_CmLfPohF).forEach(function (k) {
19
+ Object.keys(_externalAssets_CMbJW0VT).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_CmLfPohF[k];
23
+ return _externalAssets_CMbJW0VT[k];
24
24
  }
25
25
  });
26
26
  });
@@ -1,3 +1,3 @@
1
- export * from "../../../../../assets/udmProMax.jpg";
2
- export { default } from "../../../../../assets/udmProMax.jpg";
1
+ export * from "../../../../../assets/udmProMax2.jpg";
2
+ export { default } from "../../../../../assets/udmProMax2.jpg";
3
3
  //# sourceMappingURL=udmProMax.jpg.mjs.map
@@ -3,24 +3,24 @@
3
3
  Object.defineProperty(exports, '__esModule', {
4
4
  value: true
5
5
  });
6
- var _externalAssets_BUotdZNw = require("../../../../../assets/udmProSpecial.jpg");
6
+ var _externalAssets_CBGnWxM$ = require("../../../../../assets/udmProSpecial2.jpg");
7
7
  function _interopDefault(e) {
8
8
  return e && e.__esModule ? e : {
9
9
  default: e
10
10
  };
11
11
  }
12
- var _externalAssets_BUotdZNw__default = /*#__PURE__*/_interopDefault(_externalAssets_BUotdZNw);
12
+ var _externalAssets_CBGnWxM$__default = /*#__PURE__*/_interopDefault(_externalAssets_CBGnWxM$);
13
13
  Object.defineProperty(exports, "default", {
14
14
  enumerable: true,
15
15
  get: function () {
16
- return _externalAssets_BUotdZNw__default["default"];
16
+ return _externalAssets_CBGnWxM$__default["default"];
17
17
  }
18
18
  });
19
- Object.keys(_externalAssets_BUotdZNw).forEach(function (k) {
19
+ Object.keys(_externalAssets_CBGnWxM$).forEach(function (k) {
20
20
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
21
21
  enumerable: true,
22
22
  get: function () {
23
- return _externalAssets_BUotdZNw[k];
23
+ return _externalAssets_CBGnWxM$[k];
24
24
  }
25
25
  });
26
26
  });
@@ -1,3 +1,3 @@
1
- export * from "../../../../../assets/udmProSpecial.jpg";
2
- export { default } from "../../../../../assets/udmProSpecial.jpg";
1
+ export * from "../../../../../assets/udmProSpecial2.jpg";
2
+ export { default } from "../../../../../assets/udmProSpecial2.jpg";
3
3
  //# sourceMappingURL=udmProSpecial.jpg.mjs.map