@ubnt/store.core 9.64.0-beta.1 → 9.64.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 (1062) hide show
  1. package/CHANGELOG.md +131 -615
  2. package/lib/_virtual/_virtual_multi-entry.js +15 -25
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +13 -13
  5. package/lib/apis/smartcat.d.ts +12 -2
  6. package/lib/apis/smartcat.js +27 -4
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +27 -4
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/arrow2.svg +3 -0
  11. package/lib/assets/cart-secondary.svg +5 -0
  12. package/lib/assets/close2.svg +2 -3
  13. package/lib/assets/close3.svg +3 -2
  14. package/lib/assets/express.jpg +0 -0
  15. package/lib/assets/express2.jpg +0 -0
  16. package/lib/assets/express7.jpg +0 -0
  17. package/lib/assets/express72.jpg +0 -0
  18. package/lib/assets/icon-location-pin.svg +5 -0
  19. package/lib/assets/icons/{menu/icon-globe.svg.js → cart-secondary.svg.js} +6 -6
  20. package/lib/assets/icons/cart-secondary.svg.js.map +1 -0
  21. package/lib/assets/icons/cart-secondary.svg.mjs +3 -0
  22. package/lib/assets/icons/cart-secondary.svg.mjs.map +1 -0
  23. package/lib/{components/ModelCompareV3/assets/crestron.svg.js → assets/icons/menu/icon-location-pin.svg.js} +6 -6
  24. package/lib/assets/icons/menu/icon-location-pin.svg.js.map +1 -0
  25. package/lib/assets/icons/menu/icon-location-pin.svg.mjs +3 -0
  26. package/lib/assets/icons/menu/icon-location-pin.svg.mjs.map +1 -0
  27. package/lib/assets/logoUnifi.svg +10 -2
  28. package/lib/assets/minus4.svg +8 -8
  29. package/lib/assets/minus5.svg +8 -8
  30. package/lib/assets/payment-apple-pay.svg +12 -1
  31. package/lib/assets/payment-card.svg +12 -1
  32. package/lib/assets/payment-google-pay.svg +1 -1
  33. package/lib/assets/plus5.svg +9 -9
  34. package/lib/assets/plus6.svg +9 -9
  35. package/lib/assets/udr2.jpg +0 -0
  36. package/lib/assets/udr3.jpg +0 -0
  37. package/lib/assets/udr7.jpg +0 -0
  38. package/lib/assets/udr72.jpg +0 -0
  39. package/lib/components/Accordion/Accordion.js +13 -13
  40. package/lib/components/Accordion/Accordion.js.map +1 -1
  41. package/lib/components/Accordion/Accordion.mjs +9 -9
  42. package/lib/components/Accordion/Accordion.mjs.map +1 -1
  43. package/lib/components/Accordion/Accordion.styles.d.ts +18 -18
  44. package/lib/components/Accordion/Accordion.styles.js +22 -28
  45. package/lib/components/Accordion/Accordion.styles.js.map +1 -1
  46. package/lib/components/Accordion/Accordion.styles.mjs +22 -28
  47. package/lib/components/Accordion/Accordion.styles.mjs.map +1 -1
  48. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +21 -23
  49. package/lib/components/Avatar/Avatar.js +5 -6
  50. package/lib/components/Avatar/Avatar.js.map +1 -1
  51. package/lib/components/Avatar/Avatar.mjs +3 -4
  52. package/lib/components/Avatar/Avatar.mjs.map +1 -1
  53. package/lib/components/Avatar/Avatar.styles.d.ts +2 -2
  54. package/lib/components/BackInStock/BackInStock.styles.d.ts +7 -12
  55. package/lib/components/Badge/Badge.styles.d.ts +2 -2
  56. package/lib/components/Banner/Banner.js +4 -4
  57. package/lib/components/Banner/Banner.js.map +1 -1
  58. package/lib/components/Banner/Banner.mjs +4 -4
  59. package/lib/components/Banner/Banner.mjs.map +1 -1
  60. package/lib/components/Banner/Banner.styles.d.ts +16 -16
  61. package/lib/components/Banner/Banner.styles.js +9 -9
  62. package/lib/components/Banner/Banner.styles.js.map +1 -1
  63. package/lib/components/Banner/Banner.styles.mjs +9 -9
  64. package/lib/components/Banner/Banner.styles.mjs.map +1 -1
  65. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
  66. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +9 -9
  67. package/lib/components/Button/Button.js +12 -5
  68. package/lib/components/Button/Button.js.map +1 -1
  69. package/lib/components/Button/Button.mjs +8 -1
  70. package/lib/components/Button/Button.mjs.map +1 -1
  71. package/lib/components/Button/Button.styles.d.ts +4 -4
  72. package/lib/components/Button/CartButton.d.ts +3 -1
  73. package/lib/components/Button/CartButton.js +11 -6
  74. package/lib/components/Button/CartButton.js.map +1 -1
  75. package/lib/components/Button/CartButton.mjs +8 -4
  76. package/lib/components/Button/CartButton.mjs.map +1 -1
  77. package/lib/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  78. package/lib/components/ButtonGroup/ButtonGroup.js +11 -4
  79. package/lib/components/ButtonGroup/ButtonGroup.js.map +1 -1
  80. package/lib/components/ButtonGroup/ButtonGroup.mjs +11 -4
  81. package/lib/components/ButtonGroup/ButtonGroup.mjs.map +1 -1
  82. package/lib/components/ButtonGroup/ButtonGroup.styles.d.ts +12 -8
  83. package/lib/components/ButtonGroup/ButtonGroup.styles.js +46 -6
  84. package/lib/components/ButtonGroup/ButtonGroup.styles.js.map +1 -1
  85. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs +46 -6
  86. package/lib/components/ButtonGroup/ButtonGroup.styles.mjs.map +1 -1
  87. package/lib/components/ButtonGroup/ButtonGroup.types.d.ts +5 -0
  88. package/lib/components/ButtonGroupBasic/ButtonGroupBasic.styles.d.ts +5 -5
  89. package/lib/components/ButtonGroupBasic/index.stories.d.ts +6 -0
  90. package/lib/components/CardSection/Card/Card.js +16 -16
  91. package/lib/components/CardSection/Card/Card.js.map +1 -1
  92. package/lib/components/CardSection/Card/Card.mjs +10 -10
  93. package/lib/components/CardSection/Card/Card.mjs.map +1 -1
  94. package/lib/components/CardSection/Card/Card.styles.d.ts +21 -21
  95. package/lib/components/CardSection/Card/Card.styles.js +22 -22
  96. package/lib/components/CardSection/Card/Card.styles.js.map +1 -1
  97. package/lib/components/CardSection/Card/Card.styles.mjs +22 -22
  98. package/lib/components/CardSection/Card/Card.styles.mjs.map +1 -1
  99. package/lib/components/CardSection/CardSection.js +2 -2
  100. package/lib/components/CardSection/CardSection.styles.d.ts +4 -4
  101. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +11 -11
  102. package/lib/components/CartIcon/CartIcon.js +4 -4
  103. package/lib/components/CartIcon/CartIcon.js.map +1 -1
  104. package/lib/components/CartIcon/CartIcon.mjs +2 -2
  105. package/lib/components/CartIcon/CartIcon.mjs.map +1 -1
  106. package/lib/components/CartIcon/CartIcon.styles.d.ts +5 -5
  107. package/lib/components/CartIcon/CartIcon.styles.js +4 -4
  108. package/lib/components/CartIcon/CartIcon.styles.js.map +1 -1
  109. package/lib/components/CartIcon/CartIcon.styles.mjs +4 -4
  110. package/lib/components/CartIcon/CartIcon.styles.mjs.map +1 -1
  111. package/lib/components/CartSummary/CartSummary.js +1 -1
  112. package/lib/components/CartSummary/CartSummary.js.map +1 -1
  113. package/lib/components/CartSummary/CartSummary.mjs +1 -1
  114. package/lib/components/CartSummary/CartSummary.mjs.map +1 -1
  115. package/lib/components/CartSummary/CartSummary.styles.d.ts +13 -19
  116. package/lib/components/CartSummary/CartSummary.styles.js +2 -2
  117. package/lib/components/CartSummary/CartSummary.styles.js.map +1 -1
  118. package/lib/components/CartSummary/CartSummary.styles.mjs +2 -2
  119. package/lib/components/CartSummary/CartSummary.styles.mjs.map +1 -1
  120. package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +8 -6
  121. package/lib/components/CategoryTabs/CategoryTabs.styles.js +9 -6
  122. package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
  123. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +8 -7
  124. package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
  125. package/lib/components/Checkbox/Checkbox.js +4 -7
  126. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  127. package/lib/components/Checkbox/Checkbox.mjs +0 -3
  128. package/lib/components/Checkbox/Checkbox.mjs.map +1 -1
  129. package/lib/components/Checkbox/Checkbox.styles.d.ts +3 -3
  130. package/lib/components/CloserLookSection/CloserLookSection.js +11 -11
  131. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +8 -8
  132. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +5 -5
  133. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +3 -3
  134. package/lib/components/Compare/Compare.styles.d.ts +34 -36
  135. package/lib/components/CompareChart/CompareChart.styles.d.ts +36 -40
  136. package/lib/components/CompareSection/CompareSection.styles.d.ts +16 -18
  137. package/lib/components/Container/Container.d.ts +1 -1
  138. package/lib/components/Container/Container.js +5 -4
  139. package/lib/components/Container/Container.js.map +1 -1
  140. package/lib/components/Container/Container.mjs +5 -4
  141. package/lib/components/Container/Container.mjs.map +1 -1
  142. package/lib/components/Container/Container.styles.d.ts +3 -3
  143. package/lib/components/Container/index.stories.d.ts +5 -5
  144. package/lib/components/CustomImage/CustomImage.js +12 -12
  145. package/lib/components/CustomImage/CustomImage.styles.d.ts +12 -12
  146. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +4 -4
  147. package/lib/components/Explore/Explore.js +5 -5
  148. package/lib/components/Explore/Explore.styles.d.ts +28 -36
  149. package/lib/components/Explore/Explore.styles.js +6 -6
  150. package/lib/components/Explore/Explore.styles.js.map +1 -1
  151. package/lib/components/Explore/Explore.styles.mjs +6 -6
  152. package/lib/components/Explore/Explore.styles.mjs.map +1 -1
  153. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  154. package/lib/components/FeaturesSection_deprecated/Features/Features.js +2 -2
  155. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +15 -15
  156. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +23 -23
  157. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +1 -1
  158. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +22 -22
  159. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +1 -1
  160. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +2 -2
  161. package/lib/components/Footer/Footer.js +3 -2
  162. package/lib/components/Footer/Footer.js.map +1 -1
  163. package/lib/components/Footer/Footer.mjs +1 -0
  164. package/lib/components/Footer/Footer.mjs.map +1 -1
  165. package/lib/components/Footer/Footer.styles.d.ts +34 -39
  166. package/lib/components/Footer/Footer.styles.js +1 -1
  167. package/lib/components/Footer/Footer.styles.js.map +1 -1
  168. package/lib/components/Footer/Footer.styles.mjs +1 -1
  169. package/lib/components/Footer/Footer.styles.mjs.map +1 -1
  170. package/lib/components/Footer/hooks/useFooterContent.js +5 -5
  171. package/lib/components/Gallery/Gallery.context.js +17 -17
  172. package/lib/components/Gallery/Gallery.js +10 -10
  173. package/lib/components/Gallery/Gallery.js.map +1 -1
  174. package/lib/components/Gallery/Gallery.mjs +1 -1
  175. package/lib/components/Gallery/Gallery.mjs.map +1 -1
  176. package/lib/components/Gallery/Gallery.styles.d.ts +8 -12
  177. package/lib/components/Gallery/Gallery.styles.js +1 -3
  178. package/lib/components/Gallery/Gallery.styles.js.map +1 -1
  179. package/lib/components/Gallery/Gallery.styles.mjs +1 -3
  180. package/lib/components/Gallery/Gallery.styles.mjs.map +1 -1
  181. package/lib/components/Gallery/GalleryControls/GalleryControls.js +5 -5
  182. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +1 -1
  183. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +1 -1
  184. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +1 -1
  185. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.d.ts +9 -9
  186. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +2 -2
  187. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +1 -1
  188. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +2 -2
  189. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +1 -1
  190. package/lib/components/Gallery/GalleryItem/GalleryItem.js +13 -13
  191. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +1 -1
  192. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +5 -5
  193. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +1 -1
  194. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.d.ts +10 -10
  195. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +11 -11
  196. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +1 -1
  197. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +11 -11
  198. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +1 -1
  199. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +8 -8
  200. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.d.ts +8 -8
  201. package/lib/components/GradientButton/GradientButton.d.ts +1 -1
  202. package/lib/components/GradientButton/GradientButton.js +0 -2
  203. package/lib/components/GradientButton/GradientButton.js.map +1 -1
  204. package/lib/components/GradientButton/GradientButton.mjs +0 -2
  205. package/lib/components/GradientButton/GradientButton.mjs.map +1 -1
  206. package/lib/components/GradientButton/GradientButton.styles.d.ts +4 -4
  207. package/lib/components/GradientButton/GradientButton.styles.js +6 -6
  208. package/lib/components/GradientButton/GradientButton.styles.js.map +1 -1
  209. package/lib/components/GradientButton/GradientButton.styles.mjs +6 -6
  210. package/lib/components/GradientButton/GradientButton.styles.mjs.map +1 -1
  211. package/lib/components/GridGallery/GridGallery.js +9 -9
  212. package/lib/components/GridGallery/GridGallery.js.map +1 -1
  213. package/lib/components/GridGallery/GridGallery.mjs +1 -1
  214. package/lib/components/GridGallery/GridGallery.mjs.map +1 -1
  215. package/lib/components/GridGallery/GridGallery.styles.d.ts +13 -13
  216. package/lib/components/GridGallery/GridGallery.styles.js +2 -2
  217. package/lib/components/GridGallery/GridGallery.styles.js.map +1 -1
  218. package/lib/components/GridGallery/GridGallery.styles.mjs +2 -2
  219. package/lib/components/GridGallery/GridGallery.styles.mjs.map +1 -1
  220. package/lib/components/GridGallery/GridModal/GridModal.js +7 -7
  221. package/lib/components/GridGallery/GridModal/GridModal.js.map +1 -1
  222. package/lib/components/GridGallery/GridModal/GridModal.mjs +1 -1
  223. package/lib/components/GridGallery/GridModal/GridModal.mjs.map +1 -1
  224. package/lib/components/GridGallery/GridModal/GridModal.styles.d.ts +7 -7
  225. package/lib/components/GridGallery/GridModal/GridModal.styles.js +4 -4
  226. package/lib/components/GridGallery/GridModal/GridModal.styles.js.map +1 -1
  227. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs +4 -4
  228. package/lib/components/GridGallery/GridModal/GridModal.styles.mjs.map +1 -1
  229. package/lib/components/Header/AccountFrame/AccountFrame.js +12 -12
  230. package/lib/components/Header/AccountFrame/AccountFrame.js.map +1 -1
  231. package/lib/components/Header/AccountFrame/AccountFrame.mjs +1 -1
  232. package/lib/components/Header/AccountFrame/AccountFrame.mjs.map +1 -1
  233. package/lib/components/Header/AccountFrame/AccountFrame.styles.d.ts +15 -19
  234. package/lib/components/Header/AccountFrame/AccountFrame.styles.js +2 -2
  235. package/lib/components/Header/AccountFrame/AccountFrame.styles.js.map +1 -1
  236. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs +2 -2
  237. package/lib/components/Header/AccountFrame/AccountFrame.styles.mjs.map +1 -1
  238. package/lib/components/Header/AccountFrame/Mobile/Mobile.js +4 -4
  239. package/lib/components/Header/AccountFrame/Mobile/Mobile.styles.d.ts +3 -3
  240. package/lib/components/Header/AccountMenu/AccountMenu.js +30 -20
  241. package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
  242. package/lib/components/Header/AccountMenu/AccountMenu.mjs +13 -3
  243. package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
  244. package/lib/components/Header/AccountMenu/AccountMenu.styles.d.ts +12 -30
  245. package/lib/components/Header/CartModal/CartModal.styles.d.ts +13 -15
  246. package/lib/components/Header/CartModal/Empty/Empty.js +3 -3
  247. package/lib/components/Header/CartModal/Empty/Empty.styles.d.ts +1 -1
  248. package/lib/components/Header/CartModal/Item/Item.styles.d.ts +10 -10
  249. package/lib/components/Header/CartModalV2/CartModal.js +5 -5
  250. package/lib/components/Header/CartModalV2/CartModal.styles.d.ts +21 -23
  251. package/lib/components/Header/CartModalV2/Item/Item.js +4 -4
  252. package/lib/components/Header/CartModalV2/Item/Item.styles.d.ts +13 -13
  253. package/lib/components/Header/Header.js +40 -40
  254. package/lib/components/Header/Header.js.map +1 -1
  255. package/lib/components/Header/Header.mjs +6 -6
  256. package/lib/components/Header/Header.mjs.map +1 -1
  257. package/lib/components/Header/Header.stories.d.ts +111 -0
  258. package/lib/components/Header/Header.styles.d.ts +40 -49
  259. package/lib/components/Header/Header.styles.js +11 -33
  260. package/lib/components/Header/Header.styles.js.map +1 -1
  261. package/lib/components/Header/Header.styles.mjs +11 -32
  262. package/lib/components/Header/Header.styles.mjs.map +1 -1
  263. package/lib/components/Header/Header.types.d.ts +29 -5
  264. package/lib/components/Header/Header.types.js +2 -1
  265. package/lib/components/Header/Header.types.js.map +1 -1
  266. package/lib/components/Header/Header.types.mjs +2 -1
  267. package/lib/components/Header/Header.types.mjs.map +1 -1
  268. package/lib/components/Header/IsolatedHeader.d.ts +1 -0
  269. package/lib/components/Header/IsolatedHeader.js +50 -50
  270. package/lib/components/Header/IsolatedHeader.js.map +1 -1
  271. package/lib/components/Header/IsolatedHeader.mjs +47 -46
  272. package/lib/components/Header/IsolatedHeader.mjs.map +1 -1
  273. package/lib/components/Header/LanguageFrame/LanguageFrame.js +6 -6
  274. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.d.ts +17 -14
  275. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js +51 -0
  276. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.js.map +1 -1
  277. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs +47 -1
  278. package/lib/components/Header/LanguageFrame/LanguageFrame.styles.mjs.map +1 -1
  279. package/lib/components/Header/LanguageFrame/Mobile/Mobile.styles.d.ts +3 -3
  280. package/lib/components/Header/LinksModal/LinksModal.styles.d.ts +4 -4
  281. package/lib/components/Header/LogoIcon/LogoIcon.d.ts +7 -0
  282. package/lib/components/Header/LogoIcon/LogoIcon.js +46 -0
  283. package/lib/components/Header/LogoIcon/LogoIcon.js.map +1 -0
  284. package/lib/components/Header/LogoIcon/LogoIcon.mjs +36 -0
  285. package/lib/components/Header/LogoIcon/LogoIcon.mjs.map +1 -0
  286. package/lib/components/Header/LogoIcon/index.d.ts +1 -0
  287. package/lib/components/Header/LogoIcon/index.js +6 -0
  288. package/lib/components/Header/LogoIcon/index.js.map +1 -0
  289. package/lib/components/Header/LogoIcon/index.mjs +3 -0
  290. package/lib/components/Header/LogoIcon/index.mjs.map +1 -0
  291. package/lib/components/Header/MenuItem/MenuItem.js +5 -4
  292. package/lib/components/Header/MenuItem/MenuItem.js.map +1 -1
  293. package/lib/components/Header/MenuItem/MenuItem.mjs +5 -4
  294. package/lib/components/Header/MenuItem/MenuItem.mjs.map +1 -1
  295. package/lib/components/Header/MenuItem/MenuItem.styles.d.ts +15 -15
  296. package/lib/components/Header/MenuItem/MenuItem.styles.js +11 -11
  297. package/lib/components/Header/MenuItem/MenuItem.styles.js.map +1 -1
  298. package/lib/components/Header/MenuItem/MenuItem.styles.mjs +11 -11
  299. package/lib/components/Header/MenuItem/MenuItem.styles.mjs.map +1 -1
  300. package/lib/components/Header/MenuItem/MenuItem.types.d.ts +1 -0
  301. package/lib/components/Header/Navigation/Carousel/Carousel.js +11 -11
  302. package/lib/components/Header/Navigation/Carousel/Carousel.js.map +1 -1
  303. package/lib/components/Header/Navigation/Carousel/Carousel.mjs +6 -6
  304. package/lib/components/Header/Navigation/Carousel/Carousel.mjs.map +1 -1
  305. package/lib/components/Header/Navigation/Carousel/Carousel.styles.d.ts +20 -20
  306. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js +16 -16
  307. package/lib/components/Header/Navigation/Carousel/Carousel.styles.js.map +1 -1
  308. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs +16 -16
  309. package/lib/components/Header/Navigation/Carousel/Carousel.styles.mjs.map +1 -1
  310. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +19 -19
  311. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
  312. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +7 -7
  313. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
  314. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +23 -29
  315. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +19 -19
  316. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
  317. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +19 -19
  318. package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
  319. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +15 -15
  320. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  321. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +9 -9
  322. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  323. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +36 -40
  324. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +18 -18
  325. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
  326. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +18 -18
  327. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
  328. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.d.ts +1 -1
  329. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +124 -117
  330. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
  331. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +119 -112
  332. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
  333. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.d.ts +14 -7
  334. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js +15 -1
  335. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.js.map +1 -1
  336. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs +13 -2
  337. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.styles.mjs.map +1 -1
  338. package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +12 -6
  339. package/lib/components/Header/Overlay/Overlay.js +3 -3
  340. package/lib/components/Header/Overlay/Overlay.styles.d.ts +2 -2
  341. package/lib/components/Header/ProHeader/ProHeader.d.ts +9 -5
  342. package/lib/components/Header/ProHeader/ProHeader.js +290 -189
  343. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  344. package/lib/components/Header/ProHeader/ProHeader.mjs +270 -171
  345. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  346. package/lib/components/Header/ProHeader/ProHeader.styles.d.ts +49 -40
  347. package/lib/components/Header/ProHeader/ProHeader.styles.js +206 -68
  348. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  349. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +195 -67
  350. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  351. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +3 -3
  352. package/lib/components/Header/translations/ar.json.js +4 -1
  353. package/lib/components/Header/translations/ar.json.js.map +1 -1
  354. package/lib/components/Header/translations/ar.json.mjs +4 -2
  355. package/lib/components/Header/translations/ar.json.mjs.map +1 -1
  356. package/lib/components/Header/translations/de.json.js +4 -1
  357. package/lib/components/Header/translations/de.json.js.map +1 -1
  358. package/lib/components/Header/translations/de.json.mjs +4 -2
  359. package/lib/components/Header/translations/de.json.mjs.map +1 -1
  360. package/lib/components/Header/translations/el.json.js +4 -1
  361. package/lib/components/Header/translations/el.json.js.map +1 -1
  362. package/lib/components/Header/translations/el.json.mjs +4 -2
  363. package/lib/components/Header/translations/el.json.mjs.map +1 -1
  364. package/lib/components/Header/translations/en.json.js +7 -1
  365. package/lib/components/Header/translations/en.json.js.map +1 -1
  366. package/lib/components/Header/translations/en.json.mjs +6 -2
  367. package/lib/components/Header/translations/en.json.mjs.map +1 -1
  368. package/lib/components/Header/translations/es.json.js +4 -1
  369. package/lib/components/Header/translations/es.json.js.map +1 -1
  370. package/lib/components/Header/translations/es.json.mjs +4 -2
  371. package/lib/components/Header/translations/es.json.mjs.map +1 -1
  372. package/lib/components/Header/translations/fr.json.js +4 -1
  373. package/lib/components/Header/translations/fr.json.js.map +1 -1
  374. package/lib/components/Header/translations/fr.json.mjs +4 -2
  375. package/lib/components/Header/translations/fr.json.mjs.map +1 -1
  376. package/lib/components/Header/translations/it.json.js +4 -1
  377. package/lib/components/Header/translations/it.json.js.map +1 -1
  378. package/lib/components/Header/translations/it.json.mjs +4 -2
  379. package/lib/components/Header/translations/it.json.mjs.map +1 -1
  380. package/lib/components/Header/translations/ja.json.js +4 -1
  381. package/lib/components/Header/translations/ja.json.js.map +1 -1
  382. package/lib/components/Header/translations/ja.json.mjs +4 -2
  383. package/lib/components/Header/translations/ja.json.mjs.map +1 -1
  384. package/lib/components/Header/translations/pt-BR.json.js +4 -1
  385. package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
  386. package/lib/components/Header/translations/pt-BR.json.mjs +4 -2
  387. package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
  388. package/lib/components/Header/translations/zh-Hans.json.js +4 -1
  389. package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
  390. package/lib/components/Header/translations/zh-Hans.json.mjs +4 -2
  391. package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
  392. package/lib/components/Header/translations/zh-Hant-TW.json.js +4 -1
  393. package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
  394. package/lib/components/Header/translations/zh-Hant-TW.json.mjs +4 -2
  395. package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
  396. package/lib/components/Hero/Hero.js +5 -5
  397. package/lib/components/Hero/Hero.styles.d.ts +28 -28
  398. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +12 -12
  399. package/lib/components/HeroVideo/HeroVideo.js +5 -5
  400. package/lib/components/HeroVideo/HeroVideo.styles.d.ts +7 -7
  401. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +14 -14
  402. package/lib/components/ImageCarousel/ImageCarousel.js +30 -30
  403. package/lib/components/ImageCarousel/ImageCarousel.styles.d.ts +34 -38
  404. package/lib/components/ImageCarousel/ImageCarousel.styles.js +4 -5
  405. package/lib/components/ImageCarousel/ImageCarousel.styles.js.map +1 -1
  406. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs +4 -5
  407. package/lib/components/ImageCarousel/ImageCarousel.styles.mjs.map +1 -1
  408. package/lib/components/ImageModal/ImageModal.styles.d.ts +6 -8
  409. package/lib/components/ImageSequence/ImageSequence.js +8 -8
  410. package/lib/components/ImageSequence/ImageSequence.styles.d.ts +8 -8
  411. package/lib/components/InputSelect/InputSelect.styles.d.ts +8 -4
  412. package/lib/components/LandingPage/Block/Block.styles.d.ts +4 -4
  413. package/lib/components/LandingPage/Cards/Card/Card.js +4 -4
  414. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +17 -17
  415. package/lib/components/LandingPage/Cards/Cards.js +10 -10
  416. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +9 -9
  417. package/lib/components/LandingPage/Cards/Cards.styles.js +1 -1
  418. package/lib/components/LandingPage/Cards/Cards.styles.js.map +1 -1
  419. package/lib/components/LandingPage/Cards/Cards.styles.mjs +1 -1
  420. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +1 -1
  421. package/lib/components/LandingPage/LandingPage.js +2 -2
  422. package/lib/components/LandingPage/LandingPage.styles.d.ts +5 -5
  423. package/lib/components/LandingPagePro/LandingPagePro.js +13 -13
  424. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +3 -3
  425. package/lib/components/LandingPageSearch/LandingPageSearch.js +2 -2
  426. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +2 -2
  427. package/lib/components/LandingPageSearch/Modal/Modal.js +9 -9
  428. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +22 -26
  429. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +12 -12
  430. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +22 -22
  431. package/lib/components/LayoutRenderer/LayoutRenderer.js +8 -8
  432. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +21 -23
  433. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +54 -60
  434. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +49 -57
  435. package/lib/components/LearnMoreLink/LearnMoreLink.styles.d.ts +2 -2
  436. package/lib/components/Loader/Loader.styles.d.ts +4 -4
  437. package/lib/components/Loader/Spinner/Spinner.styles.d.ts +3 -3
  438. package/lib/components/LoaderDots/LoaderDots.d.ts +1 -1
  439. package/lib/components/LoaderDots/LoaderDots.js +3 -1
  440. package/lib/components/LoaderDots/LoaderDots.js.map +1 -1
  441. package/lib/components/LoaderDots/LoaderDots.mjs +3 -1
  442. package/lib/components/LoaderDots/LoaderDots.mjs.map +1 -1
  443. package/lib/components/LoaderDots/LoaderDots.styles.d.ts +4 -3
  444. package/lib/components/LoaderDots/LoaderDots.styles.js +11 -1
  445. package/lib/components/LoaderDots/LoaderDots.styles.js.map +1 -1
  446. package/lib/components/LoaderDots/LoaderDots.styles.mjs +11 -1
  447. package/lib/components/LoaderDots/LoaderDots.styles.mjs.map +1 -1
  448. package/lib/components/LoaderDots/LoaderDots.types.d.ts +2 -0
  449. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.js +7 -7
  450. package/lib/components/MeetUniFiVideoPlayer/EpisodeCard/EpisodeCard.styles.d.ts +9 -11
  451. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.js +18 -18
  452. package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +25 -25
  453. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js +2 -2
  454. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.js.map +1 -1
  455. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs +2 -2
  456. package/lib/components/MicrositeBuyButton/MicrositeBuyButton.mjs.map +1 -1
  457. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.js +2 -2
  458. package/lib/components/MicrositeColumnFeatureProgressBar/MicrositeColumnFeatureProgressBar.styles.d.ts +6 -6
  459. package/lib/components/MicrositeExploreCards/MicrositeExploreCards.styles.d.ts +8 -8
  460. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.js +3 -3
  461. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.d.ts +18 -20
  462. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js +2 -2
  463. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.js.map +1 -1
  464. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs +2 -2
  465. package/lib/components/MicrositeFeatureChecklist/MicrositeFeatureChecklist.styles.mjs.map +1 -1
  466. package/lib/components/MicrositeFeatureIcons/MicrositeFeatureIcons.styles.d.ts +11 -11
  467. package/lib/components/MicrositeFeatureList/MicrositeFeatureList.styles.d.ts +14 -14
  468. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.js +3 -3
  469. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.d.ts +24 -28
  470. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js +2 -2
  471. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.js.map +1 -1
  472. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs +2 -2
  473. package/lib/components/MicrositeFeatureProgressBar/MicrositeFeatureProgressBar.styles.mjs.map +1 -1
  474. package/lib/components/MicrositeHero/MicrositeHero.js +18 -18
  475. package/lib/components/MicrositeHero/MicrositeHero.styles.d.ts +41 -41
  476. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.js +4 -4
  477. package/lib/components/MicrositeIntroductionBlock/MicrositeIntroductionBlock.styles.d.ts +6 -6
  478. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +9 -9
  479. package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -15
  480. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.js +8 -8
  481. package/lib/components/MicrositeProductGrid/MicrositeProductGrid.styles.d.ts +15 -15
  482. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.d.ts +12 -14
  483. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js +2 -2
  484. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.js.map +1 -1
  485. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs +2 -2
  486. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlock.styles.mjs.map +1 -1
  487. package/lib/components/MicrositeProductLearnMoreBlock/MicrositeProductLearnMoreBlockWrap.js +2 -2
  488. package/lib/components/MicrositeSection/AllFeaturesButton/AllFeaturesButton.styles.d.ts +3 -5
  489. package/lib/components/MicrositeSection/Features/Features.styles.d.ts +15 -15
  490. package/lib/components/MicrositeSection/MicrositeSection.styles.d.ts +24 -24
  491. package/lib/components/MicrositeSectionWrap/MicrositeSectionWrap.styles.d.ts +6 -8
  492. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.js +3 -3
  493. package/lib/components/MicrositeSubSubNavigation/MicrositeSubSubNavigation.styles.d.ts +2 -2
  494. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.js +12 -12
  495. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +17 -17
  496. package/lib/components/Microsites/MicrositePageContext.js +2 -2
  497. package/lib/components/Microsites/MicrositeProductPage.js +3 -3
  498. package/lib/components/Microsites/MicrositeProductPage.styles.d.ts +8 -16
  499. package/lib/components/Microsites/context/MicrositeProductPageContext.js +3 -3
  500. package/lib/components/MobileModal/MobileModal.js +4 -4
  501. package/lib/components/MobileModal/MobileModal.styles.d.ts +8 -8
  502. package/lib/components/Modal/Modal.js +3 -3
  503. package/lib/components/Modal/Modal.styles.d.ts +1 -1
  504. package/lib/components/ModelCompareV3/ModelCompareOverflowScrollButton.js +3 -3
  505. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +2 -2
  506. package/lib/components/ModelCompareV3/ModelCompareV3.js +14 -14
  507. package/lib/components/ModelCompareV3/ModelCompareV3.styles.d.ts +34 -84
  508. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +7 -8
  509. package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
  510. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +7 -8
  511. package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
  512. package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +0 -1
  513. package/lib/components/ModelCompareV3/ProductGroupsGrid.js +3 -3
  514. package/lib/components/ModelCompareV3/ScrollGroup/ScrollGroup.js +5 -5
  515. package/lib/components/ModelCompareV3/ScrollGroup/context.js +3 -3
  516. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupItem.js +8 -8
  517. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupSetScroll.js +2 -2
  518. package/lib/components/ModelCompareV3/ScrollGroup/useScrollGroupTo.js +2 -2
  519. package/lib/components/ModelCompareV3/StickyGrid/StickyGrid.js +7 -7
  520. package/lib/components/ModelCompareV3/StickyGrid/StickyGridBody.js +2 -2
  521. package/lib/components/ModelCompareV3/StickyGrid/StickyGridHeader.js +5 -5
  522. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.d.ts +2 -2
  523. package/lib/components/ModelCompareV3/StickyGrid/StickyGridItem.js +2 -2
  524. package/lib/components/ModelCompareV3/StickyGrid/StickyGridOverlay.d.ts +1 -1
  525. package/lib/components/ModelCompareV3/StickyGrid/context.js +3 -3
  526. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  527. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  528. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  529. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  530. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  531. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  532. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  533. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  534. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  535. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  536. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  537. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  538. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  539. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  540. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  541. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  542. package/lib/components/ModelCompareV3/data/CloudGateways.js +6 -6
  543. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +4 -4
  544. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js +2 -3
  545. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.js.map +1 -1
  546. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs +2 -3
  547. package/lib/components/ModelCompareV3/data/EnterpriseSwitching.mjs.map +1 -1
  548. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js +3 -10
  549. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.js.map +1 -1
  550. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs +3 -10
  551. package/lib/components/ModelCompareV3/data/ProfessionalMaxSwitching.mjs.map +1 -1
  552. package/lib/components/ModelCompareV3/data/Switching.js +2 -3
  553. package/lib/components/ModelCompareV3/data/Switching.js.map +1 -1
  554. package/lib/components/ModelCompareV3/data/Switching.mjs +2 -3
  555. package/lib/components/ModelCompareV3/data/Switching.mjs.map +1 -1
  556. package/lib/components/ModelCompareV3/data/products/aggregation.js +0 -7
  557. package/lib/components/ModelCompareV3/data/products/aggregation.js.map +1 -1
  558. package/lib/components/ModelCompareV3/data/products/aggregation.mjs +0 -7
  559. package/lib/components/ModelCompareV3/data/products/aggregation.mjs.map +1 -1
  560. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js +1 -1
  561. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.js.map +1 -1
  562. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs +1 -1
  563. package/lib/components/ModelCompareV3/data/products/cloudKeyEnterprise.mjs.map +1 -1
  564. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js +0 -7
  565. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.js.map +1 -1
  566. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs +0 -7
  567. package/lib/components/ModelCompareV3/data/products/enterpriseAggregation.mjs.map +1 -1
  568. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js +0 -7
  569. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.js.map +1 -1
  570. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs +0 -7
  571. package/lib/components/ModelCompareV3/data/products/enterpriseCampus24PoE.mjs.map +1 -1
  572. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js +0 -7
  573. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.js.map +1 -1
  574. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs +0 -7
  575. package/lib/components/ModelCompareV3/data/products/enterpriseCampus48PoE.mjs.map +1 -1
  576. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  577. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  578. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  579. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  580. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js +0 -7
  581. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.js.map +1 -1
  582. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs +0 -7
  583. package/lib/components/ModelCompareV3/data/products/highCapacityAggregation.mjs.map +1 -1
  584. package/lib/components/ModelCompareV3/data/products/missionCritical.js +0 -7
  585. package/lib/components/ModelCompareV3/data/products/missionCritical.js.map +1 -1
  586. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs +0 -7
  587. package/lib/components/ModelCompareV3/data/products/missionCritical.mjs.map +1 -1
  588. package/lib/components/ModelCompareV3/data/products/professionalHd24.js +0 -7
  589. package/lib/components/ModelCompareV3/data/products/professionalHd24.js.map +1 -1
  590. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs +0 -7
  591. package/lib/components/ModelCompareV3/data/products/professionalHd24.mjs.map +1 -1
  592. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js +0 -7
  593. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.js.map +1 -1
  594. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs +0 -7
  595. package/lib/components/ModelCompareV3/data/products/professionalHd24Poe.mjs.map +1 -1
  596. package/lib/components/ModelCompareV3/data/products/professionalMax16.js +0 -7
  597. package/lib/components/ModelCompareV3/data/products/professionalMax16.js.map +1 -1
  598. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs +0 -7
  599. package/lib/components/ModelCompareV3/data/products/professionalMax16.mjs.map +1 -1
  600. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js +0 -7
  601. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.js.map +1 -1
  602. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs +0 -7
  603. package/lib/components/ModelCompareV3/data/products/professionalMax16PoE.mjs.map +1 -1
  604. package/lib/components/ModelCompareV3/data/products/professionalMax24.js +0 -7
  605. package/lib/components/ModelCompareV3/data/products/professionalMax24.js.map +1 -1
  606. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs +0 -7
  607. package/lib/components/ModelCompareV3/data/products/professionalMax24.mjs.map +1 -1
  608. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js +0 -7
  609. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.js.map +1 -1
  610. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs +0 -7
  611. package/lib/components/ModelCompareV3/data/products/professionalMax24PoE.mjs.map +1 -1
  612. package/lib/components/ModelCompareV3/data/products/professionalMax48.js +0 -7
  613. package/lib/components/ModelCompareV3/data/products/professionalMax48.js.map +1 -1
  614. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs +0 -7
  615. package/lib/components/ModelCompareV3/data/products/professionalMax48.mjs.map +1 -1
  616. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js +0 -7
  617. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.js.map +1 -1
  618. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs +0 -7
  619. package/lib/components/ModelCompareV3/data/products/professionalMax48PoE.mjs.map +1 -1
  620. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js +0 -8
  621. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.js.map +1 -1
  622. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs +0 -8
  623. package/lib/components/ModelCompareV3/data/products/switchesEnterprise.mjs.map +1 -1
  624. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js +0 -7
  625. package/lib/components/ModelCompareV3/data/products/switchesProfessional.js.map +1 -1
  626. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs +0 -7
  627. package/lib/components/ModelCompareV3/data/products/switchesProfessional.mjs.map +1 -1
  628. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js +0 -7
  629. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.js.map +1 -1
  630. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs +0 -7
  631. package/lib/components/ModelCompareV3/data/products/switchesProfessionalHd.mjs.map +1 -1
  632. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js +1 -10
  633. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.js.map +1 -1
  634. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs +1 -10
  635. package/lib/components/ModelCompareV3/data/products/switchesProfessionalMax.mjs.map +1 -1
  636. package/lib/components/ModelCompareV3/data/products/switchesStandard.js +0 -7
  637. package/lib/components/ModelCompareV3/data/products/switchesStandard.js.map +1 -1
  638. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs +0 -7
  639. package/lib/components/ModelCompareV3/data/products/switchesStandard.mjs.map +1 -1
  640. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  641. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  642. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  643. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  644. package/lib/components/ModelCompareV3/data/properties/index.d.ts +0 -1
  645. package/lib/components/ModelCompareV3/data/properties/index.js +0 -2
  646. package/lib/components/ModelCompareV3/data/properties/index.js.map +1 -1
  647. package/lib/components/ModelCompareV3/data/properties/index.mjs +0 -1
  648. package/lib/components/ModelCompareV3/data/properties/index.mjs.map +1 -1
  649. package/lib/components/ModelCompareV3/translations/ar.json.js +10 -10
  650. package/lib/components/ModelCompareV3/translations/ar.json.mjs +10 -10
  651. package/lib/components/ModelCompareV3/translations/de.json.js +2 -2
  652. package/lib/components/ModelCompareV3/translations/de.json.mjs +2 -2
  653. package/lib/components/ModelCompareV3/translations/el.json.js +1 -1
  654. package/lib/components/ModelCompareV3/translations/el.json.mjs +1 -1
  655. package/lib/components/ModelCompareV3/translations/en.json.js +0 -2
  656. package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
  657. package/lib/components/ModelCompareV3/translations/en.json.mjs +0 -2
  658. package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
  659. package/lib/components/ModelCompareV3/translations/es.json.js +2 -2
  660. package/lib/components/ModelCompareV3/translations/es.json.mjs +2 -2
  661. package/lib/components/ModelCompareV3/translations/fr.json.js +1 -1
  662. package/lib/components/ModelCompareV3/translations/fr.json.mjs +1 -1
  663. package/lib/components/ModelCompareV3/translations/it.json.js +1 -1
  664. package/lib/components/ModelCompareV3/translations/it.json.mjs +1 -1
  665. package/lib/components/ModelCompareV3/translations/ja.json.js +7 -7
  666. package/lib/components/ModelCompareV3/translations/ja.json.mjs +7 -7
  667. package/lib/components/ModelCompareV3/translations/pt-BR.json.js +1 -1
  668. package/lib/components/ModelCompareV3/translations/pt-BR.json.mjs +1 -1
  669. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  670. package/lib/components/ModelCompareV3/translations/zh-Hans.json.js +5 -5
  671. package/lib/components/ModelCompareV3/translations/zh-Hans.json.mjs +5 -5
  672. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.js +8 -8
  673. package/lib/components/ModelCompareV3/translations/zh-Hant-TW.json.mjs +8 -8
  674. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +5 -5
  675. package/lib/components/Pagination/Pagination.js +3 -3
  676. package/lib/components/Pagination/Pagination.styles.d.ts +4 -4
  677. package/lib/components/Popover/Popover.styles.d.ts +7 -11
  678. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +16 -16
  679. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +7 -7
  680. package/lib/components/ProductCard/ProductCard.js +7 -7
  681. package/lib/components/ProductCard/ProductCard.styles.d.ts +16 -16
  682. package/lib/components/ProductCardPopup/ProductCardPopup.js +8 -8
  683. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +37 -45
  684. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +3 -3
  685. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +1 -1
  686. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +3 -3
  687. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +1 -1
  688. package/lib/components/ProductCompare/ProductCompare.js +7 -7
  689. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +18 -18
  690. package/lib/components/ProductDetails/ProductDetails.js +5 -5
  691. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +2 -2
  692. package/lib/components/ProductGrid/ProductGrid.js +10 -10
  693. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +13 -10
  694. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +3 -3
  695. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +6 -6
  696. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +9 -11
  697. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +6 -6
  698. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +7 -7
  699. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +2 -2
  700. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +6 -6
  701. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +14 -14
  702. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.d.ts +2 -0
  703. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js +79 -0
  704. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.js.map +1 -0
  705. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs +71 -0
  706. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.mjs.map +1 -0
  707. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.stories.d.ts +5 -0
  708. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.d.ts +11 -0
  709. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js +86 -0
  710. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.js.map +1 -0
  711. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs +72 -0
  712. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.styles.mjs.map +1 -0
  713. package/lib/components/ProductTechSpecsV2/ProductTechSpecs.types.d.ts +12 -0
  714. package/lib/components/ProductTechSpecsV2/index.d.ts +1 -0
  715. package/lib/components/ProductTechSpecsV2/index.js +6 -0
  716. package/lib/components/ProductTechSpecsV2/index.js.map +1 -0
  717. package/lib/components/ProductTechSpecsV2/index.mjs +3 -0
  718. package/lib/components/ProductTechSpecsV2/index.mjs.map +1 -0
  719. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +18 -20
  720. package/lib/components/ProductWizard/Options/Options.js +3 -3
  721. package/lib/components/ProductWizard/Options/Options.styles.d.ts +2 -2
  722. package/lib/components/ProductWizard/ProductWizard.js +2 -2
  723. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +16 -22
  724. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +10 -10
  725. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +1 -1
  726. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +5 -5
  727. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +1 -1
  728. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +9 -9
  729. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +1 -1
  730. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +1 -1
  731. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +1 -1
  732. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +1 -1
  733. package/lib/components/ProgressCircle/ProgressCircle.js +4 -4
  734. package/lib/components/QuantityControls/QuantityControls.js +6 -6
  735. package/lib/components/QuantityControls/QuantityControls.js.map +1 -1
  736. package/lib/components/QuantityControls/QuantityControls.mjs +2 -2
  737. package/lib/components/QuantityControls/QuantityControls.mjs.map +1 -1
  738. package/lib/components/QuantityControls/QuantityControls.styles.d.ts +2 -2
  739. package/lib/components/QuantityControls/QuantityControls.types.d.ts +1 -1
  740. package/lib/components/QuantityInput/QuantityInput.js +6 -1
  741. package/lib/components/QuantityInput/QuantityInput.js.map +1 -1
  742. package/lib/components/QuantityInput/QuantityInput.mjs +6 -1
  743. package/lib/components/QuantityInput/QuantityInput.mjs.map +1 -1
  744. package/lib/components/QuantityInput/QuantityInput.styles.d.ts +12 -16
  745. package/lib/components/RelatedProducts/RelatedProducts.js +5 -5
  746. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +14 -14
  747. package/lib/components/RelatedProducts/RelatedProducts.styles.js +2 -2
  748. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +1 -1
  749. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +2 -2
  750. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +1 -1
  751. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +21 -23
  752. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +16 -36
  753. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +16 -38
  754. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +1 -1
  755. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +2 -602
  756. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
  757. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +2 -598
  758. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
  759. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +36 -36
  760. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.styles.d.ts +6 -6
  761. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +1 -5
  762. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +0 -4
  763. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
  764. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +0 -4
  765. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
  766. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.js +12 -12
  767. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/DeviceSelect/DeviceSelect.styles.d.ts +13 -13
  768. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +5 -5
  769. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.styles.d.ts +20 -20
  770. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CheckboxSection.js +2 -2
  771. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +6 -6
  772. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
  773. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/Layout.styles.d.ts +6 -6
  774. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/SliderSection.js +3 -3
  775. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
  776. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
  777. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  778. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  779. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +7 -7
  780. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.styles.d.ts +9 -9
  781. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +6 -6
  782. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.js +9 -9
  783. package/lib/components/ResourceCalculatorV1/PoeCalculator/PoeCalculator.styles.d.ts +1 -1
  784. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/DesignCenterBanner/DesignCenterBanner.styles.d.ts +5 -5
  785. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.js +10 -10
  786. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerConfigurator.styles.d.ts +10 -10
  787. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +17 -17
  788. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
  789. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.styles.d.ts +17 -19
  790. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
  791. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
  792. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  793. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  794. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.js +2 -2
  795. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/RecommendedPoeSwitches/RecommendedPoeSwitches.styles.d.ts +16 -16
  796. package/lib/components/ResourceCalculatorV1/ResourceCalculator.js +6 -6
  797. package/lib/components/ResourceCalculatorV1/ResourceCalculator.styles.d.ts +3 -3
  798. package/lib/components/ResourceCalculatorV1/components/HorizontalOptionSelect/HorizontalOptionSelect.styles.d.ts +3 -3
  799. package/lib/components/ResourceCalculatorV1/translations/en.json.js +1 -5
  800. package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
  801. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +1 -5
  802. package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
  803. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  804. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.js +5 -5
  805. package/lib/components/ReverseLoopingVideo/ReverseLoopingVideo.styles.d.ts +3 -3
  806. package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
  807. package/lib/components/ScrollWrapper/ScrollWrapper.js +34 -26
  808. package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
  809. package/lib/components/ScrollWrapper/ScrollWrapper.mjs +16 -8
  810. package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
  811. package/lib/components/ScrollWrapper/ScrollWrapper.styles.d.ts +14 -18
  812. package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +2 -0
  813. package/lib/components/Search/Input/Input.d.ts +1 -1
  814. package/lib/components/Search/Input/Input.js +8 -8
  815. package/lib/components/Search/Input/Input.js.map +1 -1
  816. package/lib/components/Search/Input/Input.mjs +4 -4
  817. package/lib/components/Search/Input/Input.mjs.map +1 -1
  818. package/lib/components/Search/Input/Input.styles.d.ts +11 -13
  819. package/lib/components/Search/Input/Input.styles.js +1 -2
  820. package/lib/components/Search/Input/Input.styles.js.map +1 -1
  821. package/lib/components/Search/Input/Input.styles.mjs +1 -2
  822. package/lib/components/Search/Input/Input.styles.mjs.map +1 -1
  823. package/lib/components/Search/Input/Input.types.d.ts +3 -2
  824. package/lib/components/Search/Modal/Modal.js +3 -3
  825. package/lib/components/Search/Modal/Modal.styles.d.ts +18 -20
  826. package/lib/components/SearchInput/Input.styles.d.ts +7 -9
  827. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +1 -1
  828. package/lib/components/SkeletonLoader/SkeletonCircleLoader/SkeletonCircleLoader.styles.d.ts +3 -3
  829. package/lib/components/SkeletonLoader/SkeletonLinearLoader/SkeletonLinearLoader.styles.d.ts +3 -3
  830. package/lib/components/SkeletonLoader/SkeletonLoaderTable/SkeletonLoaderTable.styles.d.ts +8 -8
  831. package/lib/components/StaticModal/StaticModal.styles.d.ts +2 -2
  832. package/lib/components/StorageSliders/Slider/Slider.js +3 -3
  833. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +5 -7
  834. package/lib/components/StorageSliders/StorageSliders.context.js +20 -20
  835. package/lib/components/StorageSliders/StorageSliders.js +4 -4
  836. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +12 -12
  837. package/lib/components/StorybookUtils/StoryButtonColumn.d.ts +1 -1
  838. package/lib/components/StorybookUtils/StoryButtonRow.d.ts +1 -1
  839. package/lib/components/StorybookUtils/StoryWrapper.d.ts +2 -2
  840. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +9 -9
  841. package/lib/components/Toggle/Toggle.styles.d.ts +3 -3
  842. package/lib/components/Toggle/Toggle.styles.js +1 -1
  843. package/lib/components/Toggle/Toggle.styles.js.map +1 -1
  844. package/lib/components/Toggle/Toggle.styles.mjs +1 -1
  845. package/lib/components/Toggle/Toggle.styles.mjs.map +1 -1
  846. package/lib/components/Tooltip/Tooltip.js +5 -5
  847. package/lib/components/Tooltip/Tooltip.styles.d.ts +3 -33
  848. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +17 -17
  849. package/lib/components/UICare/UICare.styles.d.ts +16 -19
  850. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +6 -6
  851. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +7 -7
  852. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +7 -7
  853. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +18 -18
  854. package/lib/components/VariantSelector/Variant/Variant.js +40 -40
  855. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +65 -75
  856. package/lib/components/VariantSelector/VariantSelector.js +16 -16
  857. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +13 -17
  858. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +3 -3
  859. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +28 -32
  860. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +19 -23
  861. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +6 -8
  862. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +5 -5
  863. package/lib/components/VideoPlayerNew/VideoPlayer.js +20 -20
  864. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  865. package/lib/components/VideoPlayerNew/VideoPlayer.styles.d.ts +28 -31
  866. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js +2 -2
  867. package/lib/components/VideoPlayerNew/VideoPlayer.styles.js.map +1 -1
  868. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs +2 -2
  869. package/lib/components/VideoPlayerNew/VideoPlayer.styles.mjs.map +1 -1
  870. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  871. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  872. package/lib/components/index.d.ts +1 -0
  873. package/lib/components/index.js +2 -0
  874. package/lib/components/index.js.map +1 -1
  875. package/lib/components/index.mjs +2 -0
  876. package/lib/components/index.mjs.map +1 -1
  877. package/lib/{components/ResourceCalculatorV1/assets/consoles/udr7.png.js → constants/icons/header/arrow.svg.js} +6 -6
  878. package/lib/constants/icons/header/arrow.svg.js.map +1 -0
  879. package/lib/constants/icons/header/arrow.svg.mjs +3 -0
  880. package/lib/constants/icons/header/arrow.svg.mjs.map +1 -0
  881. package/lib/constants/icons/header/index.d.ts +1 -0
  882. package/lib/constants/icons/header/index.js +9 -0
  883. package/lib/constants/icons/header/index.js.map +1 -1
  884. package/lib/constants/icons/header/index.mjs +2 -0
  885. package/lib/constants/icons/header/index.mjs.map +1 -1
  886. package/lib/constants/icons/options/colors/black.svg.js +5 -5
  887. package/lib/constants/icons/options/colors/index.js +3 -3
  888. package/lib/constants/icons/options/styles/black.svg.js +5 -5
  889. package/lib/constants/icons/options/styles/index.js +3 -3
  890. package/lib/constants/mixin.d.ts +3 -3
  891. package/lib/constants/optionIcons.js +6 -6
  892. package/lib/constants/optionIcons.mjs +4 -4
  893. package/lib/constants/proStoreCategories/mapping/filters.d.ts +17 -0
  894. package/lib/constants/proStoreCategories/mapping/filters.js +17 -0
  895. package/lib/constants/proStoreCategories/mapping/filters.js.map +1 -1
  896. package/lib/constants/proStoreCategories/mapping/filters.mjs +17 -0
  897. package/lib/constants/proStoreCategories/mapping/filters.mjs.map +1 -1
  898. package/lib/constants/proStoreCategories/mapping/index.d.ts +3 -0
  899. package/lib/constants/proStoreCategories/mapping/index.js +25 -6
  900. package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
  901. package/lib/constants/proStoreCategories/mapping/index.mjs +25 -6
  902. package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
  903. package/lib/constants/proStoreCategories/mapping/mapping.d.ts +5 -0
  904. package/lib/constants/proStoreCategories/mapping/unifi.d.ts +3 -0
  905. package/lib/constants/proStoreCategories/mapping/unifi.js +3 -0
  906. package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
  907. package/lib/constants/proStoreCategories/mapping/unifi.mjs +3 -0
  908. package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
  909. package/lib/constants/proStoreCategories/translations/ar.json.js +9 -5
  910. package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
  911. package/lib/constants/proStoreCategories/translations/ar.json.mjs +9 -5
  912. package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
  913. package/lib/constants/proStoreCategories/translations/de.json.js +7 -3
  914. package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
  915. package/lib/constants/proStoreCategories/translations/de.json.mjs +7 -3
  916. package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
  917. package/lib/constants/proStoreCategories/translations/el.json.js +9 -5
  918. package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
  919. package/lib/constants/proStoreCategories/translations/el.json.mjs +9 -5
  920. package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
  921. package/lib/constants/proStoreCategories/translations/en.json.js +5 -0
  922. package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
  923. package/lib/constants/proStoreCategories/translations/en.json.mjs +5 -1
  924. package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
  925. package/lib/constants/proStoreCategories/translations/es.json.js +8 -4
  926. package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
  927. package/lib/constants/proStoreCategories/translations/es.json.mjs +8 -4
  928. package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
  929. package/lib/constants/proStoreCategories/translations/fr.json.js +8 -1
  930. package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
  931. package/lib/constants/proStoreCategories/translations/fr.json.mjs +8 -2
  932. package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
  933. package/lib/constants/proStoreCategories/translations/it.json.js +8 -4
  934. package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
  935. package/lib/constants/proStoreCategories/translations/it.json.mjs +8 -4
  936. package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
  937. package/lib/constants/proStoreCategories/translations/ja.json.js +8 -4
  938. package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
  939. package/lib/constants/proStoreCategories/translations/ja.json.mjs +8 -4
  940. package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
  941. package/lib/constants/proStoreCategories/translations/pt-BR.json.js +7 -3
  942. package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
  943. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +7 -3
  944. package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
  945. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +8 -1
  946. package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
  947. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +8 -2
  948. package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
  949. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +8 -1
  950. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
  951. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +8 -2
  952. package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
  953. package/lib/constants/proStoreFilters/mapping.d.ts +44 -8
  954. package/lib/constants/proStoreFilters/mapping.js +130 -16
  955. package/lib/constants/proStoreFilters/mapping.js.map +1 -1
  956. package/lib/constants/proStoreFilters/mapping.mjs +130 -16
  957. package/lib/constants/proStoreFilters/mapping.mjs.map +1 -1
  958. package/lib/constants/theme.js +4 -0
  959. package/lib/constants/theme.js.map +1 -1
  960. package/lib/constants/theme.mjs +4 -0
  961. package/lib/constants/theme.mjs.map +1 -1
  962. package/lib/contexts/MenuContext/context.js +34 -34
  963. package/lib/contexts/MenuContext/context.js.map +1 -1
  964. package/lib/contexts/MenuContext/context.mjs +1 -1
  965. package/lib/contexts/MenuContext/context.mjs.map +1 -1
  966. package/lib/contexts/MenuContext/mapping.js.map +1 -1
  967. package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
  968. package/lib/contexts/MenuContext/presets.d.ts +1 -1
  969. package/lib/contexts/MenuContext/presets.js +2 -4
  970. package/lib/contexts/MenuContext/presets.js.map +1 -1
  971. package/lib/contexts/MenuContext/presets.mjs +2 -4
  972. package/lib/contexts/MenuContext/presets.mjs.map +1 -1
  973. package/lib/helpers/index.d.ts +0 -1
  974. package/lib/helpers/index.js +1 -11
  975. package/lib/helpers/index.js.map +1 -1
  976. package/lib/helpers/index.mjs +1 -2
  977. package/lib/helpers/index.mjs.map +1 -1
  978. package/lib/helpers/proStoreCategories.js +2 -2
  979. package/lib/helpers/ux.d.ts +8 -0
  980. package/lib/helpers/ux.js +15 -0
  981. package/lib/helpers/ux.js.map +1 -1
  982. package/lib/helpers/ux.mjs +15 -1
  983. package/lib/helpers/ux.mjs.map +1 -1
  984. package/lib/hooks/useHasTouch.js +3 -3
  985. package/lib/hooks/useHddRetentionCalculator.js +5 -5
  986. package/lib/hooks/useHorizontalScroll.js +2 -2
  987. package/lib/hooks/useLockBodyScrollCustom.js +3 -3
  988. package/lib/hooks/useScrollToY.js +2 -2
  989. package/lib/hooks/useTestMediaElementVolumeSetter.js +3 -3
  990. package/lib/hooks/useTranslation.js +6 -6
  991. package/lib/types/generated.d.ts +1 -1
  992. package/lib/types/generated.js.map +1 -1
  993. package/lib/types/generated.mjs.map +1 -1
  994. package/lib/types/index.d.ts +0 -1
  995. package/lib/types/index.js +0 -2
  996. package/lib/types/index.js.map +1 -1
  997. package/lib/types/index.mjs +0 -1
  998. package/lib/types/index.mjs.map +1 -1
  999. package/lib/utils/address.d.ts +62 -278
  1000. package/lib/utils/address.js +8 -11
  1001. package/lib/utils/address.js.map +1 -1
  1002. package/lib/utils/address.mjs +8 -11
  1003. package/lib/utils/address.mjs.map +1 -1
  1004. package/lib/utils/array.d.ts +0 -4
  1005. package/lib/utils/array.js +0 -10
  1006. package/lib/utils/array.js.map +1 -1
  1007. package/lib/utils/array.mjs +1 -10
  1008. package/lib/utils/array.mjs.map +1 -1
  1009. package/lib/utils/nextjs/ssr/registry.js +2 -2
  1010. package/package.json +43 -42
  1011. package/lib/assets/crestron.svg +0 -3
  1012. package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
  1013. package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
  1014. package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
  1015. package/lib/assets/ucg-fiber.png +0 -0
  1016. package/lib/assets/udr7.png +0 -0
  1017. package/lib/assets/ux.png +0 -0
  1018. package/lib/assets/ux7.png +0 -0
  1019. package/lib/components/ModelCompareV3/assets/crestron.svg.js.map +0 -1
  1020. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs +0 -3
  1021. package/lib/components/ModelCompareV3/assets/crestron.svg.mjs.map +0 -1
  1022. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.d.ts +0 -2
  1023. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js +0 -18
  1024. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.js.map +0 -1
  1025. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs +0 -10
  1026. package/lib/components/ModelCompareV3/data/properties/crestronNaxNvxCertified.mjs.map +0 -1
  1027. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js +0 -27
  1028. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.js.map +0 -1
  1029. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs +0 -3
  1030. package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-fiber.png.mjs.map +0 -1
  1031. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.js.map +0 -1
  1032. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs +0 -3
  1033. package/lib/components/ResourceCalculatorV1/assets/consoles/udr7.png.mjs.map +0 -1
  1034. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js +0 -27
  1035. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.js.map +0 -1
  1036. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs +0 -3
  1037. package/lib/components/ResourceCalculatorV1/assets/consoles/ux.png.mjs.map +0 -1
  1038. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js +0 -27
  1039. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.js.map +0 -1
  1040. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs +0 -3
  1041. package/lib/components/ResourceCalculatorV1/assets/consoles/ux7.png.mjs.map +0 -1
  1042. package/lib/helpers/product.d.ts +0 -87
  1043. package/lib/helpers/product.js +0 -346
  1044. package/lib/helpers/product.js.map +0 -1
  1045. package/lib/helpers/product.mjs +0 -335
  1046. package/lib/helpers/product.mjs.map +0 -1
  1047. package/lib/helpers/product.test.d.ts +0 -1
  1048. package/lib/types/product.d.ts +0 -87
  1049. package/lib/types/product.js +0 -14
  1050. package/lib/types/product.js.map +0 -1
  1051. package/lib/types/product.mjs +0 -13
  1052. package/lib/types/product.mjs.map +0 -1
  1053. package/lib/utils/productSort.d.ts +0 -41
  1054. package/lib/utils/productSort.js +0 -67
  1055. package/lib/utils/productSort.js.map +0 -1
  1056. package/lib/utils/productSort.mjs +0 -60
  1057. package/lib/utils/productSort.mjs.map +0 -1
  1058. package/lib/utils/validations/lastNameSuperRefinement.d.ts +0 -11
  1059. package/lib/utils/validations/lastNameSuperRefinement.js +0 -25
  1060. package/lib/utils/validations/lastNameSuperRefinement.js.map +0 -1
  1061. package/lib/utils/validations/lastNameSuperRefinement.mjs +0 -21
  1062. package/lib/utils/validations/lastNameSuperRefinement.mjs.map +0 -1
@@ -1,21 +1,19 @@
1
- export declare const Wrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const HeaderBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const HeaderIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
- export declare const HeaderButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../Button/Button.types").ButtonProps & {
1
+ export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const HeaderBlock: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const HeaderIcon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const HeaderButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
5
5
  children?: import("react").ReactNode;
6
- } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
7
- children?: import("react").ReactNode;
8
- } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, keyof import("react").Component<any, {}, any>>;
9
- export declare const HeaderTextWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
- export declare const HeaderText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
- export declare const MainHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
12
- export declare const CategoryWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
- export declare const CategoryTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
- export declare const CategoryItemsWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
- export declare const CategoryItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
- export declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
17
- export declare const ItemMeta: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
18
- export declare const ItemImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
19
- export declare const ItemSubTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
20
- export declare const ItemTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
- export declare const ItemPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
+ } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const HeaderTextWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const HeaderText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const MainHeading: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
10
+ export declare const CategoryWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const CategoryTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const CategoryItemsWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
+ export declare const CategoryItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
14
+ export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
15
+ export declare const ItemMeta: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
16
+ export declare const ItemImage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
+ export declare const ItemSubTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
18
+ export declare const ItemTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
19
+ export declare const ItemPrice: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var optionIcons = require('../../../constants/optionIcons.js');
6
6
  var asset = require('../../../utils/asset.js');
7
7
  require('../../ButtonGroup/index.js');
@@ -15,7 +15,7 @@ const ProductWizardOptions = function ProductWizardOptions2({
15
15
  onlyIcons,
16
16
  className
17
17
  }) {
18
- const getOptionIcon = react.useCallback((optionSlug, optionValueSlug) => {
18
+ const getOptionIcon = React.useCallback((optionSlug, optionValueSlug) => {
19
19
  const option = optionSlug.toLowerCase();
20
20
  const value = optionValueSlug.toLowerCase();
21
21
  const icon = optionIcons.OPTION_ICONS[option]?.[value];
@@ -24,7 +24,7 @@ const ProductWizardOptions = function ProductWizardOptions2({
24
24
  }
25
25
  return asset.imageSrc(icon);
26
26
  }, []);
27
- const getItemsWithIcons = react.useCallback(option => option.values.map(({
27
+ const getItemsWithIcons = React.useCallback(option => option.values.map(({
28
28
  id,
29
29
  title,
30
30
  slug,
@@ -1,2 +1,2 @@
1
- export declare const Options: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const OptionPickerContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1
+ export declare const Options: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const OptionPickerContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../assets/icons/wizard/index.js');
6
6
  require('../NormalisedImage/index.js');
7
7
  require('../ProductWizardFootnotes/index.js');
@@ -43,7 +43,7 @@ const ProductWizard = function ProductWizard2({
43
43
  updateQuantity,
44
44
  translations
45
45
  }) {
46
- const addToCartBtnText = react.useMemo(() => {
46
+ const addToCartBtnText = React.useMemo(() => {
47
47
  if (isVariantSoldOut) {
48
48
  return translations.addToCartButton.soldOut;
49
49
  }
@@ -1,29 +1,23 @@
1
- export declare const AdjustButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
1
+ export declare const AdjustButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
2
2
  disabled?: boolean;
3
- }>> & string;
4
- export declare const PlusAdjustButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled"> & {
3
+ }, never>;
4
+ export declare const PlusAdjustButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
5
5
  disabled?: boolean;
6
- }, "tw" | "key" | "value" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "name" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
7
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
8
- }, never>> & string;
9
- export declare const MinusAdjustButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled"> & {
6
+ }, never>;
7
+ export declare const MinusAdjustButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
10
8
  disabled?: boolean;
11
- }, "tw" | "key" | "value" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "name" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & {
12
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
13
- }, never>> & string;
14
- export declare const AddToCartContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
- export declare const WizardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
16
- export declare const QuantityInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
9
+ }, never>;
10
+ export declare const AddToCartContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const WizardContainer: import("styled-components").StyledComponent<"section", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const QuantityInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
17
13
  disabled?: boolean;
18
- }>> & string;
19
- export declare const QuantityAdjustWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
14
+ }, never>;
15
+ export declare const QuantityAdjustWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
20
16
  $error: boolean;
21
17
  $disabled: boolean;
22
- }>> & string;
23
- export declare const TextWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
24
- export declare const Popover: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../Popover/Popover.types").PopoverProps, never>> & string & Omit<({ text, textAlign, position, className, }: import("../Popover/Popover.types").PopoverProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
25
- export declare const AddToCartButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../Button/Button.types").ButtonProps & {
18
+ }, never>;
19
+ export declare const TextWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
20
+ export declare const Popover: import("styled-components").StyledComponent<({ text, textAlign, position, className, }: import("../Popover/Popover.types").PopoverProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
21
+ export declare const AddToCartButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
26
22
  children?: import("react").ReactNode;
27
- } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Button/Button.types").ButtonProps & {
28
- children?: import("react").ReactNode;
29
- } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, keyof import("react").Component<any, {}, any>>;
23
+ } & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement | null>>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../../assets/icons/payment-apple-pay.svg.js');
6
6
  require('../../assets/icons/payment-card.svg.js');
7
7
  require('../../assets/icons/payment-google-pay.svg.js');
@@ -33,20 +33,20 @@ const PaymentGooglePaySrcLink = typeof PaymentGooglePay__default["default"] ===
33
33
  const PaymentCardSrc = {
34
34
  src: PaymentCardSrcLink,
35
35
  alt: "Card",
36
- width: 24,
37
- height: 25
36
+ width: 26,
37
+ height: 21
38
38
  };
39
39
  const PaymentApplePaySrc = {
40
40
  src: PaymentApplePaySrcLink,
41
41
  alt: "Apple Pay",
42
42
  width: 26,
43
- height: 19
43
+ height: 21
44
44
  };
45
45
  const PaymentGooglePaySrc = {
46
46
  src: PaymentGooglePaySrcLink,
47
47
  alt: "Google Pay",
48
- width: 30,
49
- height: 19
48
+ width: 26,
49
+ height: 21
50
50
  };
51
51
  const getPaymentIcon = type => {
52
52
  switch (type) {
@@ -77,7 +77,7 @@ const ProductWizardFootnotes = ({
77
77
  availablePaymentMethods,
78
78
  renderImage
79
79
  }) => {
80
- const limitErrorNode = react.useMemo(() => {
80
+ const limitErrorNode = React.useMemo(() => {
81
81
  if (limitsDisabled) {
82
82
  return;
83
83
  }
@@ -101,7 +101,7 @@ const ProductWizardFootnotes = ({
101
101
  }
102
102
  return void 0;
103
103
  }, [limitsDisabled, requiresLogin, maxRelevantLimitAddToCartQuantity, showLimitError, translations.errors.limitedToBuy, translations.errors.limitReached, translations.errors.limitErrorPer]);
104
- const getCardIcons = react.useCallback(() => {
104
+ const getCardIcons = React.useCallback(() => {
105
105
  const hasPaymentMethods = availablePaymentMethods && Object.keys(availablePaymentMethods).filter(item => {
106
106
  return !!availablePaymentMethods[item];
107
107
  }).length > 0;
@@ -119,7 +119,7 @@ const ProductWizardFootnotes = ({
119
119
  })
120
120
  });
121
121
  }, [availablePaymentMethods, renderImage]);
122
- const footnotes = react.useMemo(() => /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
122
+ const footnotes = React.useMemo(() => /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
123
123
  children: [getCardIcons(), translations?.footnotes?.shipping?.loading ? /* @__PURE__ */jsxRuntime.jsx(ProductWizardFootnotes_styles.SkeletonFootnote, {
124
124
  maxWidth: 120
125
125
  }) : translations?.footnotes?.shipping?.value && /* @__PURE__ */jsxRuntime.jsxs(ProductWizardFootnotes_styles.IconTextWrap, {
@@ -144,7 +144,7 @@ const ProductWizardFootnotes = ({
144
144
  })]
145
145
  })]
146
146
  }), [getCardIcons, translations.footnotes.shipping?.loading, translations.footnotes.shipping.value, translations.footnotes.warranty]);
147
- const hasFootnotes = react.useMemo(() => !!footnotes.props.children.filter(child => !!child).length, [footnotes.props.children]);
147
+ const hasFootnotes = React.useMemo(() => !!footnotes.props.children.filter(child => !!child).length, [footnotes.props.children]);
148
148
  if (!hasFootnotes && !enableLimitAndBackInStock && !limitErrorNode) {
149
149
  return null;
150
150
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProductWizardFootnotes.js","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\n\nimport PaymentApplePay from \"../../assets/icons/payment-apple-pay.svg\";\nimport PaymentCard from \"../../assets/icons/payment-card.svg\";\nimport PaymentGooglePay from \"../../assets/icons/payment-google-pay.svg\";\nimport {\n box,\n // hand,\n warranty,\n} from \"../../assets/icons/wizard\";\nimport { BackInStock } from \"../BackInStock\";\nimport type { PaymentTypes } from \"../ProductWizard/ProductWizard.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./ProductWizardFootnotes.styles\";\nimport type { ProductWizardFootnotesProps } from \"./ProductWizardFootnotes.types\";\n\nconst PaymentCardSrcLink =\n typeof PaymentCard === \"string\" ? PaymentCard : PaymentCard.src;\nconst PaymentApplePaySrcLink =\n typeof PaymentApplePay === \"string\" ? PaymentApplePay : PaymentApplePay.src;\nconst PaymentGooglePaySrcLink =\n typeof PaymentGooglePay === \"string\"\n ? PaymentGooglePay\n : PaymentGooglePay.src;\n\nconst PaymentCardSrc = {\n src: PaymentCardSrcLink,\n alt: \"Card\",\n width: 24,\n height: 25,\n};\n\nconst PaymentApplePaySrc = {\n src: PaymentApplePaySrcLink,\n alt: \"Apple Pay\",\n width: 26,\n height: 19,\n};\n\nconst PaymentGooglePaySrc = {\n src: PaymentGooglePaySrcLink,\n alt: \"Google Pay\",\n width: 30,\n height: 19,\n};\n\nconst getPaymentIcon = (type: keyof PaymentTypes) => {\n switch (type) {\n case \"applePay\": {\n return PaymentApplePaySrc;\n }\n case \"googlePay\": {\n return PaymentGooglePaySrc;\n }\n case \"card\": {\n return PaymentCardSrc;\n }\n }\n};\n\nexport const ProductWizardFootnotes = ({\n maxRelevantLimitAddToCartQuantity,\n // relevantLimitQuantity,\n limitsDisabled,\n requiresLogin,\n showLimitError,\n translations,\n enableLimitAndBackInStock,\n backInStockProps,\n className,\n availablePaymentMethods,\n renderImage,\n}: ProductWizardFootnotesProps) => {\n // #############################################################################\n // Limitations\n // #############################################################################\n const limitErrorNode = useMemo(() => {\n if (limitsDisabled) {\n return;\n }\n\n if (requiresLogin) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitedToBuy}\n </S.ErrorText>\n );\n }\n\n if (maxRelevantLimitAddToCartQuantity === 0) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitReached}\n </S.ErrorText>\n );\n }\n\n if (\n maxRelevantLimitAddToCartQuantity != null &&\n maxRelevantLimitAddToCartQuantity > 0 &&\n showLimitError\n ) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitErrorPer}\n </S.ErrorText>\n );\n }\n\n return undefined;\n }, [\n limitsDisabled,\n requiresLogin,\n maxRelevantLimitAddToCartQuantity,\n showLimitError,\n translations.errors.limitedToBuy,\n translations.errors.limitReached,\n translations.errors.limitErrorPer,\n ]);\n\n const getCardIcons = useCallback(() => {\n const hasPaymentMethods =\n availablePaymentMethods &&\n Object.keys(availablePaymentMethods).filter((item) => {\n return !!availablePaymentMethods[\n item as keyof typeof availablePaymentMethods\n ];\n }).length > 0;\n\n if (!availablePaymentMethods || !hasPaymentMethods) {\n return;\n }\n\n return (\n <S.ImageWrap>\n {Object.keys(availablePaymentMethods).map((key) => {\n const src = getPaymentIcon(key);\n\n return (\n <S.PaymentImage\n key={key}\n renderImage={renderImage}\n asset={src}\n sizes={`${src.width}px`}\n />\n );\n })}\n </S.ImageWrap>\n );\n }, [availablePaymentMethods, renderImage]);\n\n const footnotes = useMemo(\n () => (\n <>\n {getCardIcons()}\n {translations?.footnotes?.shipping?.loading ? (\n <S.SkeletonFootnote maxWidth={120} />\n ) : (\n translations?.footnotes?.shipping?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={box} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.shipping.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )}\n {translations?.footnotes?.warranty && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={warranty} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>{translations.footnotes.warranty}</S.FootnoteText>\n </S.IconTextWrap>\n )}\n {/* Hide limits */}\n {/* {translations?.footnotes?.limit?.loading ? (\n <S.SkeletonFootnote maxWidth={200} />\n ) : (\n !!relevantLimitQuantity &&\n translations?.footnotes?.limit?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={hand} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.limit.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )} */}\n </>\n ),\n [\n getCardIcons,\n translations.footnotes.shipping?.loading,\n translations.footnotes.shipping.value,\n translations.footnotes.warranty,\n ],\n );\n\n /**\n * Does the footnotes have any content\n */\n const hasFootnotes = useMemo(\n () => !!footnotes.props.children.filter((child: unknown) => !!child).length,\n [footnotes.props.children],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!hasFootnotes && !enableLimitAndBackInStock && !limitErrorNode) {\n return null;\n }\n\n return (\n <S.Wrap className={className}>\n {enableLimitAndBackInStock && (\n <>\n {backInStockProps && <BackInStock {...backInStockProps} />}\n {limitErrorNode}\n </>\n )}\n <S.FootnoteWrap>{footnotes}</S.FootnoteWrap>\n </S.Wrap>\n );\n};\n"],"names":["PaymentCardSrcLink","PaymentCard","src","PaymentApplePaySrcLink","PaymentApplePay","PaymentGooglePaySrcLink","PaymentGooglePay","PaymentCardSrc","alt","width","height","PaymentApplePaySrc","PaymentGooglePaySrc","getPaymentIcon","type","ProductWizardFootnotes","maxRelevantLimitAddToCartQuantity","limitsDisabled","requiresLogin","showLimitError","translations","enableLimitAndBackInStock","backInStockProps","className","availablePaymentMethods","renderImage","limitErrorNode","useMemo","jsx","S.ErrorText","children","errors","limitedToBuy","limitReached","limitErrorPer","getCardIcons","useCallback","hasPaymentMethods","Object","keys","filter","item","length","S.ImageWrap","map","key","S.PaymentImage","PaymentImage","asset","sizes","footnotes","jsxs","Fragment","shipping","loading","S.SkeletonFootnote","maxWidth","value","S.IconTextWrap","S.IconWrap","StyleableSvgImage","box","S.FootnoteText","FootnoteText","warranty","hasFootnotes","props","child","S.Wrap","BackInStock","S.FootnoteWrap","FootnoteWrap"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,kBACJ,GAAA,OAAOC,oBAAAA,CAAAA,SAAAA,CAAgB,KAAA,QAAA,GAAWA,oBAAAA,CAAAA,SAAAA,IAAcA,oBAAAA,CAAAA,SAAAA,CAAY,CAAAC,GAAA;AAC9D,MAAMC,sBACJ,GAAA,OAAOC,wBAAAA,CAAAA,SAAAA,CAAoB,KAAA,QAAA,GAAWA,wBAAAA,CAAAA,SAAAA,IAAkBA,wBAAAA,CAAAA,SAAAA,CAAgB,CAAAF,GAAA;AAC1E,MAAMG,uBACJ,GAAA,OAAOC,yBAAAA,CAAAA,SAAAA,CAAqB,KAAA,QAAA,GACxBA,yBAAAA,CAAAA,SAAAA,IACAA,yBAAAA,CAAAA,SAAAA,CAAiB,CAAAJ,GAAA;AAEvB,MAAMK,cAAiB,GAAA;EACrBL,GAAK,EAAAF,kBAAA;EACLQ,GAAK,EAAA,MAAA;EACLC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEA,MAAMC,kBAAqB,GAAA;EACzBT,GAAK,EAAAC,sBAAA;EACLK,GAAK,EAAA,WAAA;EACLC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEA,MAAME,mBAAsB,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gB,KAAM,CAAApC,QAAA,CAASU,MAAO,CAAC2B,KAAmB,IAAA,CAAC,CAACA,KAAK,CAAE,CAAAzB,MAAA,EACrE,CAACQ,SAAU,CAAAgB,KAAA,CAAMpC,QAAQ,CAAA,CAC3B;EAKA,IAAI,CAACmC,YAAA,IAAgB,CAAC5C,yBAAA,IAA6B,CAACK,cAAgB,EAAA;IAC3D,OAAA,IAAA;EACT;EAEA,OAAA,eACGyB,eAAA,CAAAiB,6BAAAA,CAAAA,IAAA,EAAA;IAAO7C,SACL;IAAAO,QAAA,EAAA,CAAAT,yBAAA,mBAEI8B,UAAA,CAAAA,IAAA,CAAAC,mBAAA,EAAA;MAAAtB,QAAA,EAAA,CAAoBR,gBAAA,IAAAM,eAAAA,UAAAA,CAAAA,GAAA,CAACyC,WAAAA,CAAAA,WAAa,EAAA;QAAA,GAAG/C;MAAkB,CAAA,CAAA,EACvDI,cAAA;KACH,CAAA,EAEDE,eAAAA,UAAAA,CAAAA,GAAA,CAAA0C,6BAAA,CAAAC,YAAA,EAAA;MAAgBzC,QAAU,EAAAoB;IAAA,CAAA,CAAA;EAC7B,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"ProductWizardFootnotes.js","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\n\nimport PaymentApplePay from \"../../assets/icons/payment-apple-pay.svg\";\nimport PaymentCard from \"../../assets/icons/payment-card.svg\";\nimport PaymentGooglePay from \"../../assets/icons/payment-google-pay.svg\";\nimport {\n box,\n // hand,\n warranty,\n} from \"../../assets/icons/wizard\";\nimport { BackInStock } from \"../BackInStock\";\nimport type { PaymentTypes } from \"../ProductWizard/ProductWizard.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./ProductWizardFootnotes.styles\";\nimport type { ProductWizardFootnotesProps } from \"./ProductWizardFootnotes.types\";\n\nconst PaymentCardSrcLink =\n typeof PaymentCard === \"string\" ? PaymentCard : PaymentCard.src;\nconst PaymentApplePaySrcLink =\n typeof PaymentApplePay === \"string\" ? PaymentApplePay : PaymentApplePay.src;\nconst PaymentGooglePaySrcLink =\n typeof PaymentGooglePay === \"string\"\n ? PaymentGooglePay\n : PaymentGooglePay.src;\n\nconst PaymentCardSrc = {\n src: PaymentCardSrcLink,\n alt: \"Card\",\n width: 26,\n height: 21,\n};\n\nconst PaymentApplePaySrc = {\n src: PaymentApplePaySrcLink,\n alt: \"Apple Pay\",\n width: 26,\n height: 21,\n};\n\nconst PaymentGooglePaySrc = {\n src: PaymentGooglePaySrcLink,\n alt: \"Google Pay\",\n width: 26,\n height: 21,\n};\n\nconst getPaymentIcon = (type: keyof PaymentTypes) => {\n switch (type) {\n case \"applePay\": {\n return PaymentApplePaySrc;\n }\n case \"googlePay\": {\n return PaymentGooglePaySrc;\n }\n case \"card\": {\n return PaymentCardSrc;\n }\n }\n};\n\nexport const ProductWizardFootnotes = ({\n maxRelevantLimitAddToCartQuantity,\n // relevantLimitQuantity,\n limitsDisabled,\n requiresLogin,\n showLimitError,\n translations,\n enableLimitAndBackInStock,\n backInStockProps,\n className,\n availablePaymentMethods,\n renderImage,\n}: ProductWizardFootnotesProps) => {\n // #############################################################################\n // Limitations\n // #############################################################################\n const limitErrorNode = useMemo(() => {\n if (limitsDisabled) {\n return;\n }\n\n if (requiresLogin) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitedToBuy}\n </S.ErrorText>\n );\n }\n\n if (maxRelevantLimitAddToCartQuantity === 0) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitReached}\n </S.ErrorText>\n );\n }\n\n if (\n maxRelevantLimitAddToCartQuantity != null &&\n maxRelevantLimitAddToCartQuantity > 0 &&\n showLimitError\n ) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitErrorPer}\n </S.ErrorText>\n );\n }\n\n return undefined;\n }, [\n limitsDisabled,\n requiresLogin,\n maxRelevantLimitAddToCartQuantity,\n showLimitError,\n translations.errors.limitedToBuy,\n translations.errors.limitReached,\n translations.errors.limitErrorPer,\n ]);\n\n const getCardIcons = useCallback(() => {\n const hasPaymentMethods =\n availablePaymentMethods &&\n Object.keys(availablePaymentMethods).filter((item) => {\n return !!availablePaymentMethods[\n item as keyof typeof availablePaymentMethods\n ];\n }).length > 0;\n\n if (!availablePaymentMethods || !hasPaymentMethods) {\n return;\n }\n\n return (\n <S.ImageWrap>\n {Object.keys(availablePaymentMethods).map((key) => {\n const src = getPaymentIcon(key);\n\n return (\n <S.PaymentImage\n key={key}\n renderImage={renderImage}\n asset={src}\n sizes={`${src.width}px`}\n />\n );\n })}\n </S.ImageWrap>\n );\n }, [availablePaymentMethods, renderImage]);\n\n const footnotes = useMemo(\n () => (\n <>\n {getCardIcons()}\n {translations?.footnotes?.shipping?.loading ? (\n <S.SkeletonFootnote maxWidth={120} />\n ) : (\n translations?.footnotes?.shipping?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={box} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.shipping.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )}\n {translations?.footnotes?.warranty && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={warranty} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>{translations.footnotes.warranty}</S.FootnoteText>\n </S.IconTextWrap>\n )}\n {/* Hide limits */}\n {/* {translations?.footnotes?.limit?.loading ? (\n <S.SkeletonFootnote maxWidth={200} />\n ) : (\n !!relevantLimitQuantity &&\n translations?.footnotes?.limit?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={hand} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.limit.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )} */}\n </>\n ),\n [\n getCardIcons,\n translations.footnotes.shipping?.loading,\n translations.footnotes.shipping.value,\n translations.footnotes.warranty,\n ],\n );\n\n /**\n * Does the footnotes have any content\n */\n const hasFootnotes = useMemo(\n () => !!footnotes.props.children.filter((child: unknown) => !!child).length,\n [footnotes.props.children],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!hasFootnotes && !enableLimitAndBackInStock && !limitErrorNode) {\n return null;\n }\n\n return (\n <S.Wrap className={className}>\n {enableLimitAndBackInStock && (\n <>\n {backInStockProps && <BackInStock {...backInStockProps} />}\n {limitErrorNode}\n </>\n )}\n <S.FootnoteWrap>{footnotes}</S.FootnoteWrap>\n </S.Wrap>\n );\n};\n"],"names":["PaymentCardSrcLink","PaymentCard","src","PaymentApplePaySrcLink","PaymentApplePay","PaymentGooglePaySrcLink","PaymentGooglePay","PaymentCardSrc","alt","width","height","PaymentApplePaySrc","PaymentGooglePaySrc","getPaymentIcon","type","ProductWizardFootnotes","maxRelevantLimitAddToCartQuantity","limitsDisabled","requiresLogin","showLimitError","translations","enableLimitAndBackInStock","backInStockProps","className","availablePaymentMethods","renderImage","limitErrorNode","useMemo","jsx","S.ErrorText","children","errors","limitedToBuy","limitReached","limitErrorPer","getCardIcons","useCallback","hasPaymentMethods","Object","keys","filter","item","length","S.ImageWrap","map","key","S.PaymentImage","PaymentImage","asset","sizes","footnotes","jsxs","Fragment","shipping","loading","S.SkeletonFootnote","maxWidth","value","S.IconTextWrap","S.IconWrap","StyleableSvgImage","box","S.FootnoteText","FootnoteText","warranty","hasFootnotes","props","child","S.Wrap","BackInStock","S.FootnoteWrap","FootnoteWrap"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,kBACJ,GAAA,OAAOC,oBAAAA,CAAAA,SAAAA,CAAgB,KAAA,QAAA,GAAWA,oBAAAA,CAAAA,SAAAA,IAAcA,oBAAAA,CAAAA,SAAAA,CAAY,CAAAC,GAAA;AAC9D,MAAMC,sBACJ,GAAA,OAAOC,wBAAAA,CAAAA,SAAA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CAAA;EAC7B,CAAA,CAAA;AAEJ,CAAA;"}
@@ -21,20 +21,20 @@ const PaymentGooglePaySrcLink = typeof PaymentGooglePay__default === "string" ?
21
21
  const PaymentCardSrc = {
22
22
  src: PaymentCardSrcLink,
23
23
  alt: "Card",
24
- width: 24,
25
- height: 25
24
+ width: 26,
25
+ height: 21
26
26
  };
27
27
  const PaymentApplePaySrc = {
28
28
  src: PaymentApplePaySrcLink,
29
29
  alt: "Apple Pay",
30
30
  width: 26,
31
- height: 19
31
+ height: 21
32
32
  };
33
33
  const PaymentGooglePaySrc = {
34
34
  src: PaymentGooglePaySrcLink,
35
35
  alt: "Google Pay",
36
- width: 30,
37
- height: 19
36
+ width: 26,
37
+ height: 21
38
38
  };
39
39
  const getPaymentIcon = type => {
40
40
  switch (type) {
@@ -1 +1 @@
1
- {"version":3,"file":"ProductWizardFootnotes.mjs","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\n\nimport PaymentApplePay from \"../../assets/icons/payment-apple-pay.svg\";\nimport PaymentCard from \"../../assets/icons/payment-card.svg\";\nimport PaymentGooglePay from \"../../assets/icons/payment-google-pay.svg\";\nimport {\n box,\n // hand,\n warranty,\n} from \"../../assets/icons/wizard\";\nimport { BackInStock } from \"../BackInStock\";\nimport type { PaymentTypes } from \"../ProductWizard/ProductWizard.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./ProductWizardFootnotes.styles\";\nimport type { ProductWizardFootnotesProps } from \"./ProductWizardFootnotes.types\";\n\nconst PaymentCardSrcLink =\n typeof PaymentCard === \"string\" ? PaymentCard : PaymentCard.src;\nconst PaymentApplePaySrcLink =\n typeof PaymentApplePay === \"string\" ? PaymentApplePay : PaymentApplePay.src;\nconst PaymentGooglePaySrcLink =\n typeof PaymentGooglePay === \"string\"\n ? PaymentGooglePay\n : PaymentGooglePay.src;\n\nconst PaymentCardSrc = {\n src: PaymentCardSrcLink,\n alt: \"Card\",\n width: 24,\n height: 25,\n};\n\nconst PaymentApplePaySrc = {\n src: PaymentApplePaySrcLink,\n alt: \"Apple Pay\",\n width: 26,\n height: 19,\n};\n\nconst PaymentGooglePaySrc = {\n src: PaymentGooglePaySrcLink,\n alt: \"Google Pay\",\n width: 30,\n height: 19,\n};\n\nconst getPaymentIcon = (type: keyof PaymentTypes) => {\n switch (type) {\n case \"applePay\": {\n return PaymentApplePaySrc;\n }\n case \"googlePay\": {\n return PaymentGooglePaySrc;\n }\n case \"card\": {\n return PaymentCardSrc;\n }\n }\n};\n\nexport const ProductWizardFootnotes = ({\n maxRelevantLimitAddToCartQuantity,\n // relevantLimitQuantity,\n limitsDisabled,\n requiresLogin,\n showLimitError,\n translations,\n enableLimitAndBackInStock,\n backInStockProps,\n className,\n availablePaymentMethods,\n renderImage,\n}: ProductWizardFootnotesProps) => {\n // #############################################################################\n // Limitations\n // #############################################################################\n const limitErrorNode = useMemo(() => {\n if (limitsDisabled) {\n return;\n }\n\n if (requiresLogin) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitedToBuy}\n </S.ErrorText>\n );\n }\n\n if (maxRelevantLimitAddToCartQuantity === 0) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitReached}\n </S.ErrorText>\n );\n }\n\n if (\n maxRelevantLimitAddToCartQuantity != null &&\n maxRelevantLimitAddToCartQuantity > 0 &&\n showLimitError\n ) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitErrorPer}\n </S.ErrorText>\n );\n }\n\n return undefined;\n }, [\n limitsDisabled,\n requiresLogin,\n maxRelevantLimitAddToCartQuantity,\n showLimitError,\n translations.errors.limitedToBuy,\n translations.errors.limitReached,\n translations.errors.limitErrorPer,\n ]);\n\n const getCardIcons = useCallback(() => {\n const hasPaymentMethods =\n availablePaymentMethods &&\n Object.keys(availablePaymentMethods).filter((item) => {\n return !!availablePaymentMethods[\n item as keyof typeof availablePaymentMethods\n ];\n }).length > 0;\n\n if (!availablePaymentMethods || !hasPaymentMethods) {\n return;\n }\n\n return (\n <S.ImageWrap>\n {Object.keys(availablePaymentMethods).map((key) => {\n const src = getPaymentIcon(key);\n\n return (\n <S.PaymentImage\n key={key}\n renderImage={renderImage}\n asset={src}\n sizes={`${src.width}px`}\n />\n );\n })}\n </S.ImageWrap>\n );\n }, [availablePaymentMethods, renderImage]);\n\n const footnotes = useMemo(\n () => (\n <>\n {getCardIcons()}\n {translations?.footnotes?.shipping?.loading ? (\n <S.SkeletonFootnote maxWidth={120} />\n ) : (\n translations?.footnotes?.shipping?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={box} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.shipping.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )}\n {translations?.footnotes?.warranty && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={warranty} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>{translations.footnotes.warranty}</S.FootnoteText>\n </S.IconTextWrap>\n )}\n {/* Hide limits */}\n {/* {translations?.footnotes?.limit?.loading ? (\n <S.SkeletonFootnote maxWidth={200} />\n ) : (\n !!relevantLimitQuantity &&\n translations?.footnotes?.limit?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={hand} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.limit.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )} */}\n </>\n ),\n [\n getCardIcons,\n translations.footnotes.shipping?.loading,\n translations.footnotes.shipping.value,\n translations.footnotes.warranty,\n ],\n );\n\n /**\n * Does the footnotes have any content\n */\n const hasFootnotes = useMemo(\n () => !!footnotes.props.children.filter((child: unknown) => !!child).length,\n [footnotes.props.children],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!hasFootnotes && !enableLimitAndBackInStock && !limitErrorNode) {\n return null;\n }\n\n return (\n <S.Wrap className={className}>\n {enableLimitAndBackInStock && (\n <>\n {backInStockProps && <BackInStock {...backInStockProps} />}\n {limitErrorNode}\n </>\n )}\n <S.FootnoteWrap>{footnotes}</S.FootnoteWrap>\n </S.Wrap>\n );\n};\n"],"names":["PaymentCardSrcLink","PaymentCard","src","PaymentApplePaySrcLink","PaymentApplePay","PaymentGooglePaySrcLink","PaymentGooglePay","PaymentCardSrc","alt","width","height","PaymentApplePaySrc","PaymentGooglePaySrc","getPaymentIcon","type","ProductWizardFootnotes","maxRelevantLimitAddToCartQuantity","limitsDisabled","requiresLogin","showLimitError","translations","enableLimitAndBackInStock","backInStockProps","className","availablePaymentMethods","renderImage","limitErrorNode","useMemo","jsx","S.ErrorText","children","errors","limitedToBuy","limitReached","limitErrorPer","getCardIcons","useCallback","hasPaymentMethods","Object","keys","filter","item","length","S.ImageWrap","map","key","S.PaymentImage","asset","sizes","footnotes","jsxs","Fragment","shipping","loading","S.SkeletonFootnote","maxWidth","value","S.IconTextWrap","S.IconWrap","StyleableSvgImage","box","S.FootnoteText","warranty","hasFootnotes","props","child","S.Wrap","BackInStock","S.FootnoteWrap"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,MAAMA,kBACJ,GAAA,OAAOC,oBAAgB,KAAA,QAAA,GAAWA,uBAAcA,oBAAY,CAAAC,GAAA;AAC9D,MAAMC,sBACJ,GAAA,OAAOC,wBAAoB,KAAA,QAAA,GAAWA,2BAAkBA,wBAAgB,CAAAF,GAAA;AAC1E,MAAMG,uBACJ,GAAA,OAAOC,yBAAqB,KAAA,QAAA,GACxBA,4BACAA,yBAAiB,CAAAJ,GAAA;AAEvB,MAAMK,cAAiB,GAAA;EACrBL,GAAK,EAAAF,kBAAA;EACLQ,GAAK,EAAA,MAAA;EACLC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEA,MAAMC,kBAAqB,GAAA;EACzBT,GAAK,EAAAC,sBAAA;E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AAO3C,SACL;IAAAO,QAAA,EAAA,CAAAT,yBAAA,mBAEI6B,IAAA,CAAAC,QAAA,EAAA;MAAArB,QAAA,EAAA,CAAoBR,gBAAA,IAAA,eAAAM,GAAA,CAACuC,WAAa,EAAA;QAAA,GAAG7C;MAAkB,CAAA,CAAA,EACvDI,cAAA;KACH,CAAA,EAED,eAAAE,GAAA,CAAAwC,YAAA,EAAA;MAAgBtC,QAAU,EAAAmB;IAAA,CAAA,CAAA;EAC7B,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"ProductWizardFootnotes.mjs","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.tsx"],"sourcesContent":["import { useCallback, useMemo } from \"react\";\n\nimport PaymentApplePay from \"../../assets/icons/payment-apple-pay.svg\";\nimport PaymentCard from \"../../assets/icons/payment-card.svg\";\nimport PaymentGooglePay from \"../../assets/icons/payment-google-pay.svg\";\nimport {\n box,\n // hand,\n warranty,\n} from \"../../assets/icons/wizard\";\nimport { BackInStock } from \"../BackInStock\";\nimport type { PaymentTypes } from \"../ProductWizard/ProductWizard.types\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport * as S from \"./ProductWizardFootnotes.styles\";\nimport type { ProductWizardFootnotesProps } from \"./ProductWizardFootnotes.types\";\n\nconst PaymentCardSrcLink =\n typeof PaymentCard === \"string\" ? PaymentCard : PaymentCard.src;\nconst PaymentApplePaySrcLink =\n typeof PaymentApplePay === \"string\" ? PaymentApplePay : PaymentApplePay.src;\nconst PaymentGooglePaySrcLink =\n typeof PaymentGooglePay === \"string\"\n ? PaymentGooglePay\n : PaymentGooglePay.src;\n\nconst PaymentCardSrc = {\n src: PaymentCardSrcLink,\n alt: \"Card\",\n width: 26,\n height: 21,\n};\n\nconst PaymentApplePaySrc = {\n src: PaymentApplePaySrcLink,\n alt: \"Apple Pay\",\n width: 26,\n height: 21,\n};\n\nconst PaymentGooglePaySrc = {\n src: PaymentGooglePaySrcLink,\n alt: \"Google Pay\",\n width: 26,\n height: 21,\n};\n\nconst getPaymentIcon = (type: keyof PaymentTypes) => {\n switch (type) {\n case \"applePay\": {\n return PaymentApplePaySrc;\n }\n case \"googlePay\": {\n return PaymentGooglePaySrc;\n }\n case \"card\": {\n return PaymentCardSrc;\n }\n }\n};\n\nexport const ProductWizardFootnotes = ({\n maxRelevantLimitAddToCartQuantity,\n // relevantLimitQuantity,\n limitsDisabled,\n requiresLogin,\n showLimitError,\n translations,\n enableLimitAndBackInStock,\n backInStockProps,\n className,\n availablePaymentMethods,\n renderImage,\n}: ProductWizardFootnotesProps) => {\n // #############################################################################\n // Limitations\n // #############################################################################\n const limitErrorNode = useMemo(() => {\n if (limitsDisabled) {\n return;\n }\n\n if (requiresLogin) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitedToBuy}\n </S.ErrorText>\n );\n }\n\n if (maxRelevantLimitAddToCartQuantity === 0) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitReached}\n </S.ErrorText>\n );\n }\n\n if (\n maxRelevantLimitAddToCartQuantity != null &&\n maxRelevantLimitAddToCartQuantity > 0 &&\n showLimitError\n ) {\n return (\n <S.ErrorText data-test-id=\"max-limit-error\">\n {translations.errors.limitErrorPer}\n </S.ErrorText>\n );\n }\n\n return undefined;\n }, [\n limitsDisabled,\n requiresLogin,\n maxRelevantLimitAddToCartQuantity,\n showLimitError,\n translations.errors.limitedToBuy,\n translations.errors.limitReached,\n translations.errors.limitErrorPer,\n ]);\n\n const getCardIcons = useCallback(() => {\n const hasPaymentMethods =\n availablePaymentMethods &&\n Object.keys(availablePaymentMethods).filter((item) => {\n return !!availablePaymentMethods[\n item as keyof typeof availablePaymentMethods\n ];\n }).length > 0;\n\n if (!availablePaymentMethods || !hasPaymentMethods) {\n return;\n }\n\n return (\n <S.ImageWrap>\n {Object.keys(availablePaymentMethods).map((key) => {\n const src = getPaymentIcon(key);\n\n return (\n <S.PaymentImage\n key={key}\n renderImage={renderImage}\n asset={src}\n sizes={`${src.width}px`}\n />\n );\n })}\n </S.ImageWrap>\n );\n }, [availablePaymentMethods, renderImage]);\n\n const footnotes = useMemo(\n () => (\n <>\n {getCardIcons()}\n {translations?.footnotes?.shipping?.loading ? (\n <S.SkeletonFootnote maxWidth={120} />\n ) : (\n translations?.footnotes?.shipping?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={box} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.shipping.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )}\n {translations?.footnotes?.warranty && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={warranty} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>{translations.footnotes.warranty}</S.FootnoteText>\n </S.IconTextWrap>\n )}\n {/* Hide limits */}\n {/* {translations?.footnotes?.limit?.loading ? (\n <S.SkeletonFootnote maxWidth={200} />\n ) : (\n !!relevantLimitQuantity &&\n translations?.footnotes?.limit?.value && (\n <S.IconTextWrap>\n <S.IconWrap>\n <StyleableSvgImage src={hand} width={20} height={20} />\n </S.IconWrap>\n\n <S.FootnoteText>\n {translations.footnotes.limit.value}\n </S.FootnoteText>\n </S.IconTextWrap>\n )\n )} */}\n </>\n ),\n [\n getCardIcons,\n translations.footnotes.shipping?.loading,\n translations.footnotes.shipping.value,\n translations.footnotes.warranty,\n ],\n );\n\n /**\n * Does the footnotes have any content\n */\n const hasFootnotes = useMemo(\n () => !!footnotes.props.children.filter((child: unknown) => !!child).length,\n [footnotes.props.children],\n );\n\n // #############################################################################\n // Render\n // #############################################################################\n if (!hasFootnotes && !enableLimitAndBackInStock && !limitErrorNode) {\n return null;\n }\n\n return (\n <S.Wrap className={className}>\n {enableLimitAndBackInStock && (\n <>\n {backInStockProps && <BackInStock {...backInStockProps} />}\n {limitErrorNode}\n </>\n )}\n <S.FootnoteWrap>{footnotes}</S.FootnoteWrap>\n </S.Wrap>\n );\n};\n"],"names":["PaymentCardSrcLink","PaymentCard","src","PaymentApplePaySrcLink","PaymentApplePay","PaymentGooglePaySrcLink","PaymentGooglePay","PaymentCardSrc","alt","width","height","PaymentApplePaySrc","PaymentGooglePaySrc","getPaymentIcon","type","ProductWizardFootnotes","maxRelevantLimitAddToCartQuantity","limitsDisabled","requiresLogin","showLimitError","translations","enableLimitAndBackInStock","backInStockProps","className","availablePaymentMethods","renderImage","limitErrorNode","useMemo","jsx","S.ErrorText","children","errors","limitedToBuy","limitReached","limitErrorPer","getCardIcons","useCallback","hasPaymentMethods","Object","keys","filter","item","length","S.ImageWrap","map","key","S.PaymentImage","asset","sizes","footnotes","jsxs","Fragment","shipping","loading","S.SkeletonFootnote","maxWidth","value","S.IconTextWrap","S.IconWrap","StyleableSvgImage","box","S.FootnoteText","warranty","hasFootnotes","props","child","S.Wrap","BackInStock","S.FootnoteWrap"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,MAAMA,kBACJ,GAAA,OAAOC,oBAAgB,KAAA,QAAA,GAAWA,uBAAcA,oBAAY,CAAAC,GAAA;AAC9D,MAAMC,sBACJ,GAAA,OAAOC,wBAAoB,KAAA,QAAA,GAAWA,2BAAkBA,wBAAgB,CAAAF,GAAA;AAC1E,MAAMG,uBACJ,GAAA,OAAOC,yBAAqB,KAAA,QAAA,GACxBA,4BACAA,yBAAiB,CAAAJ,GAAA;AAEvB,MAAMK,cAAiB,GAAA;EACrBL,GAAK,EAAAF,kBAAA;EACLQ,GAAK,EAAA,MAAA;EACLC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEA,MAAMC,kBAAqB,GAAA;EACzBT,GAAK,EAAAC,sBAAA;EACLK,GAAK,EAAA,WAAA;EACLC,KAAO,EAAA,EAAA;EACPC,MAAQ,EAAA;AACV,CAAA;AAEA,MAAME,mBAAsB,GAAA;EAC1BV,GAAK,EAAAG,uBAAA;EACLG,GAAK,EAAA,YAAA;EACLC,KAAO,EAAA,EAA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AA,CAAA,EACvDI,cAAA;KACH,CAAA,EAED,eAAAE,GAAA,CAAAwC,YAAA,EAAA;MAAgBtC,QAAU,EAAAmB;IAAA,CAAA,CAAA;EAC7B,CAAA,CAAA;AAEJ,CAAA;"}
@@ -1,9 +1,9 @@
1
- export declare const Wrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const FootnoteWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const ErrorText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
- export declare const IconTextWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const IconWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
- export declare const ImageWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
- export declare const PaymentImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../CustomImage/CustomImage.types").CustomImageProps, never>> & string & Omit<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
8
- export declare const FootnoteText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
- export declare const SkeletonFootnote: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../SkeletonFootnote/SkeletonFootnote").SkeletonFootnoteProps, never>> & string & Omit<({ className, maxWidth, }: import("../SkeletonFootnote/SkeletonFootnote").SkeletonFootnoteProps) => JSX.Element, keyof import("react").Component<any, {}, any>>;
1
+ export declare const Wrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const FootnoteWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const ErrorText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const IconTextWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
+ export declare const IconWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const ImageWrap: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
+ export declare const PaymentImage: import("styled-components").StyledComponent<({ motif, asset, sizes, className, margin, priority, fallbackImageSize, responsive, layout, renderImage, disableSkeleton, objectFit, disableBorderRadius, canFullscreen, onFullscreenChange, }: import("../CustomImage/CustomImage.types").CustomImageProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
8
+ export declare const FootnoteText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
+ export declare const SkeletonFootnote: import("styled-components").StyledComponent<({ className, maxWidth, }: import("../SkeletonFootnote/SkeletonFootnote").SkeletonFootnoteProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
@@ -35,7 +35,7 @@ const IconTextWrap = styled__default["default"].div`
35
35
  align-items: flex-start;
36
36
  color: ${theme.theme.colors.black65};
37
37
 
38
- &:not(:first-of-type) {
38
+ :not(:first-of-type) {
39
39
  margin-top: 12px;
40
40
  }
41
41
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductWizardFootnotes.styles.js","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { CustomImage } from \"../CustomImage\";\nimport { SkeletonFootnote as SkeletonFootnoteBase } from \"../SkeletonFootnote\";\n\nexport const Wrap = styled.div`\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n margin-top: 20px;\n`;\n\nexport const FootnoteWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const ErrorText = styled.div`\n margin: 0 auto;\n font-size: ${theme.font.size14};\n color: ${theme.colors.pomegranate};\n line-height: ${theme.lineHeight.text};\n`;\n\nexport const IconTextWrap = styled.div`\n display: flex;\n align-items: flex-start;\n color: ${theme.colors.black65};\n\n &:not(:first-of-type) {\n margin-top: 12px;\n }\n`;\n\nexport const IconWrap = styled.div`\n min-width: 20px;\n`;\n\nexport const ImageWrap = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const PaymentImage = styled(CustomImage)`\n margin: 0;\n`;\n\nexport const FootnoteText = styled.div`\n font-size: ${theme.font.size14};\n line-height: ${theme.lineHeight.size20};\n margin-left: 8px;\n`;\n\nexport const SkeletonFootnote = styled(SkeletonFootnoteBase)``;\n"],"names":["Wrap","styled","div","FootnoteWrap","ErrorText","theme","font","size14","colors","pomegranate","lineHeight","text","IconTextWrap","black65","IconWrap","ImageWrap","PaymentImage","CustomImage","FootnoteText","size20","SkeletonFootnote","SkeletonFootnoteBase"],"mappings":";;;;;;;;;;;;;;;AAMO,MAAMA,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQpB,MAAMC,eAAeF,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAME,YAAYH,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,eAEjBG,KAAA,CAAAA,KAAA,CAAMC,KAAKC,MAAM;AAAA,WACrBF,KAAA,CAAAA,KAAA,CAAMG,OAAOC,WAAW;AAAA,iBAClBJ,KAAA,CAAAA,KAAA,CAAMK,WAAWC,IAAI;AAAA,CAAA;AAG/B,MAAMC,eAAeX,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,WAGxBG,KAAA,CAAAA,KAAA,CAAMG,OAAOK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,WAAWb,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,CAAA;AAIxB,MAAMa,YAAYd,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnB,MAAAc,YAAA,GAAef,eAAAA,CAAAA,SAAAA,EAAOgB,WAAAA,CAAAA,WAAW,CAAA;AAAA;AAAA,CAAA;AAIvC,MAAMC,eAAejB,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,eACpBG,KAAA,CAAAA,KAAA,CAAMC,KAAKC,MAAM;AAAA,iBACfF,KAAA,CAAAA,KAAA,CAAMK,WAAWS,MAAM;AAAA;AAAA,CAAA;AAI3B,MAAAC,gBAAA,GAAmBnB,eAAAA,CAAAA,SAAAA,EAAOoB,kBAAAA,CAAAA,gBAAoB,CAAA,EAAA;;;;;;;;;"}
1
+ {"version":3,"file":"ProductWizardFootnotes.styles.js","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { CustomImage } from \"../CustomImage\";\nimport { SkeletonFootnote as SkeletonFootnoteBase } from \"../SkeletonFootnote\";\n\nexport const Wrap = styled.div`\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n margin-top: 20px;\n`;\n\nexport const FootnoteWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const ErrorText = styled.div`\n margin: 0 auto;\n font-size: ${theme.font.size14};\n color: ${theme.colors.pomegranate};\n line-height: ${theme.lineHeight.text};\n`;\n\nexport const IconTextWrap = styled.div`\n display: flex;\n align-items: flex-start;\n color: ${theme.colors.black65};\n\n :not(:first-of-type) {\n margin-top: 12px;\n }\n`;\n\nexport const IconWrap = styled.div`\n min-width: 20px;\n`;\n\nexport const ImageWrap = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const PaymentImage = styled(CustomImage)`\n margin: 0;\n`;\n\nexport const FootnoteText = styled.div`\n font-size: ${theme.font.size14};\n line-height: ${theme.lineHeight.size20};\n margin-left: 8px;\n`;\n\nexport const SkeletonFootnote = styled(SkeletonFootnoteBase)``;\n"],"names":["Wrap","styled","div","FootnoteWrap","ErrorText","theme","font","size14","colors","pomegranate","lineHeight","text","IconTextWrap","black65","IconWrap","ImageWrap","PaymentImage","CustomImage","FootnoteText","size20","SkeletonFootnote","SkeletonFootnoteBase"],"mappings":";;;;;;;;;;;;;;;AAMO,MAAMA,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQpB,MAAMC,eAAeF,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAME,YAAYH,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,eAEjBG,KAAA,CAAAA,KAAA,CAAMC,KAAKC,MAAM;AAAA,WACrBF,KAAA,CAAAA,KAAA,CAAMG,OAAOC,WAAW;AAAA,iBAClBJ,KAAA,CAAAA,KAAA,CAAMK,WAAWC,IAAI;AAAA,CAAA;AAG/B,MAAMC,eAAeX,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,WAGxBG,KAAA,CAAAA,KAAA,CAAMG,OAAOK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,WAAWb,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,CAAA;AAIxB,MAAMa,YAAYd,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnB,MAAAc,YAAA,GAAef,eAAAA,CAAAA,SAAAA,EAAOgB,WAAAA,CAAAA,WAAW,CAAA;AAAA;AAAA,CAAA;AAIvC,MAAMC,eAAejB,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA,eACpBG,KAAA,CAAAA,KAAA,CAAMC,KAAKC,MAAM;AAAA,iBACfF,KAAA,CAAAA,KAAA,CAAMK,WAAWS,MAAM;AAAA;AAAA,CAAA;AAI3B,MAAAC,gBAAA,GAAmBnB,eAAAA,CAAAA,SAAAA,EAAOoB,kBAAAA,CAAAA,gBAAoB,CAAA,EAAA;;;;;;;;;"}
@@ -27,7 +27,7 @@ const IconTextWrap = styled.div`
27
27
  align-items: flex-start;
28
28
  color: ${theme.colors.black65};
29
29
 
30
- &:not(:first-of-type) {
30
+ :not(:first-of-type) {
31
31
  margin-top: 12px;
32
32
  }
33
33
  `;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductWizardFootnotes.styles.mjs","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { CustomImage } from \"../CustomImage\";\nimport { SkeletonFootnote as SkeletonFootnoteBase } from \"../SkeletonFootnote\";\n\nexport const Wrap = styled.div`\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n margin-top: 20px;\n`;\n\nexport const FootnoteWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const ErrorText = styled.div`\n margin: 0 auto;\n font-size: ${theme.font.size14};\n color: ${theme.colors.pomegranate};\n line-height: ${theme.lineHeight.text};\n`;\n\nexport const IconTextWrap = styled.div`\n display: flex;\n align-items: flex-start;\n color: ${theme.colors.black65};\n\n &:not(:first-of-type) {\n margin-top: 12px;\n }\n`;\n\nexport const IconWrap = styled.div`\n min-width: 20px;\n`;\n\nexport const ImageWrap = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const PaymentImage = styled(CustomImage)`\n margin: 0;\n`;\n\nexport const FootnoteText = styled.div`\n font-size: ${theme.font.size14};\n line-height: ${theme.lineHeight.size20};\n margin-left: 8px;\n`;\n\nexport const SkeletonFootnote = styled(SkeletonFootnoteBase)``;\n"],"names":["Wrap","styled","div","FootnoteWrap","ErrorText","theme","font","size14","colors","pomegranate","lineHeight","text","IconTextWrap","black65","IconWrap","ImageWrap","PaymentImage","CustomImage","FootnoteText","size20","SkeletonFootnote","SkeletonFootnoteBase"],"mappings":";;;;;;;AAMO,MAAMA,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQpB,MAAMC,eAAeF,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAME,YAAYH,MAAO,CAAAC,GAAA;AAAA;AAAA,eAEjBG,KAAA,CAAMC,KAAKC,MAAM;AAAA,WACrBF,KAAA,CAAMG,OAAOC,WAAW;AAAA,iBAClBJ,KAAA,CAAMK,WAAWC,IAAI;AAAA,CAAA;AAG/B,MAAMC,eAAeX,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,WAGxBG,KAAA,CAAMG,OAAOK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,WAAWb,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAIxB,MAAMa,YAAYd,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnB,MAAAc,YAAA,GAAef,OAAOgB,WAAW,CAAA;AAAA;AAAA,CAAA;AAIvC,MAAMC,eAAejB,MAAO,CAAAC,GAAA;AAAA,eACpBG,KAAA,CAAMC,KAAKC,MAAM;AAAA,iBACfF,KAAA,CAAMK,WAAWS,MAAM;AAAA;AAAA,CAAA;AAI3B,MAAAC,gBAAA,GAAmBnB,OAAOoB,kBAAoB,CAAA,EAAA;"}
1
+ {"version":3,"file":"ProductWizardFootnotes.styles.mjs","sources":["../../../src/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport { theme } from \"../../constants/theme\";\nimport { CustomImage } from \"../CustomImage\";\nimport { SkeletonFootnote as SkeletonFootnoteBase } from \"../SkeletonFootnote\";\n\nexport const Wrap = styled.div`\n display: flex;\n flex-direction: column;\n gap: 20px;\n\n margin-top: 20px;\n`;\n\nexport const FootnoteWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const ErrorText = styled.div`\n margin: 0 auto;\n font-size: ${theme.font.size14};\n color: ${theme.colors.pomegranate};\n line-height: ${theme.lineHeight.text};\n`;\n\nexport const IconTextWrap = styled.div`\n display: flex;\n align-items: flex-start;\n color: ${theme.colors.black65};\n\n :not(:first-of-type) {\n margin-top: 12px;\n }\n`;\n\nexport const IconWrap = styled.div`\n min-width: 20px;\n`;\n\nexport const ImageWrap = styled.div`\n display: flex;\n gap: 8px;\n`;\n\nexport const PaymentImage = styled(CustomImage)`\n margin: 0;\n`;\n\nexport const FootnoteText = styled.div`\n font-size: ${theme.font.size14};\n line-height: ${theme.lineHeight.size20};\n margin-left: 8px;\n`;\n\nexport const SkeletonFootnote = styled(SkeletonFootnoteBase)``;\n"],"names":["Wrap","styled","div","FootnoteWrap","ErrorText","theme","font","size14","colors","pomegranate","lineHeight","text","IconTextWrap","black65","IconWrap","ImageWrap","PaymentImage","CustomImage","FootnoteText","size20","SkeletonFootnote","SkeletonFootnoteBase"],"mappings":";;;;;;;AAMO,MAAMA,OAAOC,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQpB,MAAMC,eAAeF,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAK5B,MAAME,YAAYH,MAAO,CAAAC,GAAA;AAAA;AAAA,eAEjBG,KAAA,CAAMC,KAAKC,MAAM;AAAA,WACrBF,KAAA,CAAMG,OAAOC,WAAW;AAAA,iBAClBJ,KAAA,CAAMK,WAAWC,IAAI;AAAA,CAAA;AAG/B,MAAMC,eAAeX,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,WAGxBG,KAAA,CAAMG,OAAOK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMC,WAAWb,MAAO,CAAAC,GAAA;AAAA;AAAA,CAAA;AAIxB,MAAMa,YAAYd,MAAO,CAAAC,GAAA;AAAA;AAAA;AAAA,CAAA;AAKnB,MAAAc,YAAA,GAAef,OAAOgB,WAAW,CAAA;AAAA;AAAA,CAAA;AAIvC,MAAMC,eAAejB,MAAO,CAAAC,GAAA;AAAA,eACpBG,KAAA,CAAMC,KAAKC,MAAM;AAAA,iBACfF,KAAA,CAAMK,WAAWS,MAAM;AAAA;AAAA,CAAA;AAI3B,MAAAC,gBAAA,GAAmBnB,OAAOoB,kBAAoB,CAAA,EAAA;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  var theme = require('../../constants/theme.js');
6
6
  "use strict";
7
7
  const ProgressCircle = ({
@@ -13,9 +13,9 @@ const ProgressCircle = ({
13
13
  backgroundColor = theme.theme.colors.white,
14
14
  className
15
15
  }) => {
16
- const radius = react.useMemo(() => (diameter - strokeWidth) / 2, [diameter, strokeWidth]);
17
- const circumference = react.useMemo(() => radius * 2 * Math.PI, [radius]);
18
- const strokeDashoffset = react.useMemo(() => circumference - (value ? value / 100 : 0) * circumference, [circumference, value]);
16
+ const radius = React.useMemo(() => (diameter - strokeWidth) / 2, [diameter, strokeWidth]);
17
+ const circumference = React.useMemo(() => radius * 2 * Math.PI, [radius]);
18
+ const strokeDashoffset = React.useMemo(() => circumference - (value ? value / 100 : 0) * circumference, [circumference, value]);
19
19
  return /* @__PURE__ */jsxRuntime.jsxs("svg", {
20
20
  className,
21
21
  width: diameter,
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var jsxRuntime = require('react/jsx-runtime');
4
- var react = require('react');
4
+ var React = require('react');
5
5
  require('../Button/index.js');
6
6
  var QuantityControls_styles = require('./QuantityControls.styles.js');
7
7
  var CartButton = require('../Button/CartButton.js');
@@ -16,15 +16,15 @@ const QuantityControls = function QuantityControls2({
16
16
  cartButton,
17
17
  allowZero
18
18
  }) {
19
- const handleOnUpdateQuantity = react.useCallback(e => {
19
+ const handleOnUpdateQuantity = React.useCallback(e => {
20
20
  const value = Math.max(0, parseInt(e.target.value) || 0);
21
21
  onUpdateQuantity(value);
22
22
  }, [onUpdateQuantity]);
23
- const handleOnAddToCart = react.useCallback(() => {
23
+ const handleOnAddToCart = React.useCallback(() => {
24
24
  if (!allowZero && quantity < 1) return;
25
- onAddToCart();
25
+ onAddToCart?.();
26
26
  }, [allowZero, onAddToCart, quantity]);
27
- const cartButtonDisabled = react.useMemo(() => {
27
+ const cartButtonDisabled = React.useMemo(() => {
28
28
  return disabled || !allowZero && quantity < 1 || cartButton?.disabled;
29
29
  }, [allowZero, cartButton?.disabled, disabled, quantity]);
30
30
  return /* @__PURE__ */jsxRuntime.jsxs(QuantityControls_styles.Wrap, {
@@ -35,7 +35,7 @@ const QuantityControls = function QuantityControls2({
35
35
  onUpdateQuantity: handleOnUpdateQuantity,
36
36
  onIncreaseQuantity: () => onUpdateQuantity(quantity + 1),
37
37
  onDecreaseQuantity: () => onUpdateQuantity(quantity > 0 ? quantity - 1 : 0)
38
- }), /* @__PURE__ */jsxRuntime.jsx(CartButton.CartButton, {
38
+ }), onAddToCart && /* @__PURE__ */jsxRuntime.jsx(CartButton.CartButton, {
39
39
  "data-test-id": "add-to-cart-btn",
40
40
  variant: "primary",
41
41
  ...cartButton,
@@ -1 +1 @@
1
- {"version":3,"file":"QuantityControls.js","sources":["../../../src/components/QuantityControls/QuantityControls.tsx"],"sourcesContent":["import type { ChangeEvent } from \"react\";\nimport { useCallback, useMemo } from \"react\";\n\nimport { CartButton } from \"../Button\";\nimport * as S from \"./QuantityControls.styles\";\nimport type { QuantityControlsProps } from \"./QuantityControls.types\";\n\nexport const QuantityControls = function QuantityControls({\n className,\n disabled,\n quantity,\n onUpdateQuantity,\n onAddToCart,\n hideQuantityInput,\n cartButton,\n allowZero,\n}: QuantityControlsProps) {\n const handleOnUpdateQuantity = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n const value = Math.max(0, parseInt(e.target.value) || 0);\n\n onUpdateQuantity(value);\n },\n [onUpdateQuantity],\n );\n\n const handleOnAddToCart = useCallback(() => {\n if (!allowZero && quantity < 1) return;\n\n onAddToCart();\n }, [allowZero, onAddToCart, quantity]);\n\n const cartButtonDisabled = useMemo(() => {\n return disabled || (!allowZero && quantity < 1) || cartButton?.disabled;\n }, [allowZero, cartButton?.disabled, disabled, quantity]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap className={className}>\n {!hideQuantityInput && (\n <S.QuantityInput\n disabled={disabled}\n quantity={quantity}\n onUpdateQuantity={handleOnUpdateQuantity}\n onIncreaseQuantity={() => onUpdateQuantity(quantity + 1)}\n onDecreaseQuantity={() =>\n onUpdateQuantity(quantity > 0 ? quantity - 1 : 0)\n }\n />\n )}\n <CartButton\n data-test-id=\"add-to-cart-btn\"\n variant=\"primary\"\n {...cartButton}\n disabled={cartButtonDisabled}\n onClick={(e) => {\n e.stopPropagation();\n handleOnAddToCart();\n }}\n />\n </S.Wrap>\n );\n};\n"],"names":["QuantityControls","QuantityControls2","className","disabled","quantity","onUpdateQuantity","onAddToCart","hideQuantityInput","cartButton","allowZero","handleOnUpdateQuantity","useCallback","e","value","Math","max","parseInt","target","handleOnAddToCart","cartButtonDisabled","useMemo","jsxs","S.Wrap","children","jsx","S.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AD,QAAA,GAAW,CAAC,CAAA;MACvDwB,oBAAoBA,CAAA,KAClBvB,gBAAA,CAAiBD,WAAW,CAAI,GAAAA,QAAA,GAAW,IAAI,CAAC;IAAA,CAEpD,CAAA,EAAA,eAEFoB,UAAA,CAAAA,GAAA,CAACK,UAAA,CAAAA,UAAA,EAAA;MACC,cAAa,EAAA,iBAAA;MACbC,OAAQ,EAAA,SAAA;MACP,GAAGtB,UAAA;MACJL,QAAU,EAAAgB,kBAAA;MACVY,OAAA,EAAUnB,CAAM,IAAA;QACdA,CAAA,CAAEoB,eAAgB,CAAA,CAAA;QACAd,iBAAA,EAAA;MACpB;IAAA,CACF,CAAA;EACF,CAAA,CAAA;AAEJ,CAAA;"}
1
+ {"version":3,"file":"QuantityControls.js","sources":["../../../src/components/QuantityControls/QuantityControls.tsx"],"sourcesContent":["import type { ChangeEvent } from \"react\";\nimport { useCallback, useMemo } from \"react\";\n\nimport { CartButton } from \"../Button\";\nimport * as S from \"./QuantityControls.styles\";\nimport type { QuantityControlsProps } from \"./QuantityControls.types\";\n\nexport const QuantityControls = function QuantityControls({\n className,\n disabled,\n quantity,\n onUpdateQuantity,\n onAddToCart,\n hideQuantityInput,\n cartButton,\n allowZero,\n}: QuantityControlsProps) {\n const handleOnUpdateQuantity = useCallback(\n (e: ChangeEvent<HTMLInputElement>) => {\n const value = Math.max(0, parseInt(e.target.value) || 0);\n\n onUpdateQuantity(value);\n },\n [onUpdateQuantity],\n );\n\n const handleOnAddToCart = useCallback(() => {\n if (!allowZero && quantity < 1) return;\n\n onAddToCart?.();\n }, [allowZero, onAddToCart, quantity]);\n\n const cartButtonDisabled = useMemo(() => {\n return disabled || (!allowZero && quantity < 1) || cartButton?.disabled;\n }, [allowZero, cartButton?.disabled, disabled, quantity]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap className={className}>\n {!hideQuantityInput && (\n <S.QuantityInput\n disabled={disabled}\n quantity={quantity}\n onUpdateQuantity={handleOnUpdateQuantity}\n onIncreaseQuantity={() => onUpdateQuantity(quantity + 1)}\n onDecreaseQuantity={() =>\n onUpdateQuantity(quantity > 0 ? quantity - 1 : 0)\n }\n />\n )}\n {onAddToCart && (\n <CartButton\n data-test-id=\"add-to-cart-btn\"\n variant=\"primary\"\n {...cartButton}\n disabled={cartButtonDisabled}\n onClick={(e) => {\n e.stopPropagation();\n handleOnAddToCart();\n }}\n />\n )}\n </S.Wrap>\n );\n};\n"],"names":["QuantityControls","QuantityControls2","className","disabled","quantity","onUpdateQuantity","onAddToCart","hideQuantityInput","cartButton","allowZero","handleOnUpdateQuantity","useCallback","e","value","Math","max","parseInt","target","handleOnAddToCart","cartButtonDisabled","useMemo","jsxs","S.Wrap","children","jsx","S.QuantityInput","QuantityInput","onIncreaseQuantity","onDecreaseQuantity","CartButton","variant","onClick","stopPropagation"],"mappings":";;;;;;;;AAOa,MAAAA,gBAAA,GAAmB,SAASA,iBAAiBC,CAAA;EACxDC,SAAA;EACAC,QAAA;EACAC,QAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,iBAAA;EACAC,UAAA;EACAC;AACF,CAA0B,EAAA;EACxB,MAAMC,sBAAyB,GAAAC,KAAA,CAAAA,WAAA,CAC5BC,CAAqC,IAAA;IAC9B,MAAAC,KAAA,GAAQC,KAAKC,GAAI,CAAA,CAAA,EAAGC,SAASJ,CAAE,CAAAK,MAAA,CAAOJ,KAAK,CAAA,IAAK,CAAC,CAAA;IAEvDR,gBAAA,CAAiBQ,KAAK,CAAA;EACxB,CAAA,EACA,CAACR,gBAAgB,CAAA,CACnB;EAEM,MAAAa,iBAAA,GAAoBP,KAAAA,CAAAA,YAAY,MAAM;IACtC,IAAA,CAACF,SAAa,IAAAL,QAAA,GAAW,CAAG,EAAA;IAElBE,WAAA,IAAA;EACb,CAAA,EAAA,CAACG,SAAW,EAAAH,WAAA,EAAaF,QAAQ,CAAC,CAAA;EAE/B,MAAAe,kBAAA,GAAqBC,KAAAA,CAAAA,QAAQ,MAAM;IACv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