@ubnt/store.core 9.71.0-beta.4 → 10.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1516) hide show
  1. package/CHANGELOG.md +99 -5063
  2. package/lib/_virtual/_virtual_multi-entry.js +110 -126
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js +124 -133
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +124 -133
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/box.svg +3 -4
  11. package/lib/assets/close2.svg +2 -3
  12. package/lib/assets/express.jpg +0 -0
  13. package/lib/assets/express2.jpg +0 -0
  14. package/lib/assets/express7.jpg +0 -0
  15. package/lib/assets/express72.jpg +0 -0
  16. package/lib/assets/hand.svg +5 -4
  17. package/lib/assets/icons/wizard/index.d.ts +0 -4
  18. package/lib/assets/icons/wizard/index.js +0 -4
  19. package/lib/assets/icons/wizard/index.js.map +1 -1
  20. package/lib/assets/icons/wizard/index.mjs +0 -4
  21. package/lib/assets/icons/wizard/index.mjs.map +1 -1
  22. package/lib/assets/icons/wizard/minus.svg.js +1 -1
  23. package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
  24. package/lib/assets/keyFeatures/box.svg.js +1 -1
  25. package/lib/assets/keyFeatures/box.svg.mjs +2 -2
  26. package/lib/assets/keyFeatures/reload.svg.js +1 -1
  27. package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
  28. package/lib/assets/minus.svg +1 -14
  29. package/lib/assets/minus2.svg +3 -1
  30. package/lib/assets/minus3.svg +13 -2
  31. package/lib/assets/payment-card.svg +4 -11
  32. package/lib/assets/plus.svg +1 -4
  33. package/lib/assets/plus3.svg +16 -1
  34. package/lib/assets/plus4.svg +15 -2
  35. package/lib/assets/reload.svg +2 -2
  36. package/lib/assets/reload2.svg +2 -2
  37. package/lib/assets/udmProSpecial.jpg +0 -0
  38. package/lib/assets/udmProSpecial2.jpg +0 -0
  39. package/lib/assets/udr2.jpg +0 -0
  40. package/lib/assets/udr3.jpg +0 -0
  41. package/lib/assets/udr7.jpg +0 -0
  42. package/lib/assets/udr72.jpg +0 -0
  43. package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
  44. package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
  45. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
  46. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
  47. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
  48. package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
  49. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
  50. package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
  51. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
  52. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
  53. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
  54. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
  55. package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
  56. package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
  57. package/lib/components/Header/Header.js +0 -4
  58. package/lib/components/Header/Header.js.map +1 -1
  59. package/lib/components/Header/Header.mjs +0 -4
  60. package/lib/components/Header/Header.mjs.map +1 -1
  61. package/lib/components/Header/Header.stories.d.ts +2 -3
  62. package/lib/components/Header/Header.styles.d.ts +1 -1
  63. package/lib/components/Header/Header.styles.js +2 -2
  64. package/lib/components/Header/Header.styles.js.map +1 -1
  65. package/lib/components/Header/Header.styles.mjs +2 -2
  66. package/lib/components/Header/Header.styles.mjs.map +1 -1
  67. package/lib/components/Header/Header.types.d.ts +0 -2
  68. package/lib/components/Header/Header.types.js.map +1 -1
  69. package/lib/components/Header/Header.types.mjs.map +1 -1
  70. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
  71. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
  72. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  73. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
  74. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  75. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
  76. package/lib/components/Header/ProHeader/ProHeader.d.ts +2 -1
  77. package/lib/components/Header/ProHeader/ProHeader.js +5 -3
  78. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  79. package/lib/components/Header/ProHeader/ProHeader.mjs +5 -4
  80. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  81. package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
  82. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  83. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
  84. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  85. package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
  86. package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
  87. package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
  88. package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
  89. package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
  90. package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
  91. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
  92. package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
  93. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
  94. package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
  95. package/lib/components/MicrositeBanner/index.d.ts +1 -0
  96. package/lib/components/MicrositeBanner/index.js +6 -0
  97. package/lib/components/MicrositeBanner/index.mjs +3 -0
  98. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
  99. package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
  100. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
  101. package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
  102. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
  103. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
  104. package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
  105. package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
  106. package/lib/components/MicrositeProgressCircle/index.js +6 -0
  107. package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
  108. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
  109. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
  110. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  111. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
  112. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  113. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
  114. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
  115. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  116. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  117. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  118. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  119. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  120. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  121. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  122. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  123. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  124. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  125. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  126. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  127. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  128. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  129. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  130. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  131. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  132. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  133. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  134. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  135. package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
  136. package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
  137. package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
  138. package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
  139. package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
  140. package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
  141. package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
  142. package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
  143. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  144. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  145. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  146. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  147. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  148. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  149. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  150. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  151. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  152. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  153. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  154. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  155. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
  156. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
  157. package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
  158. package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
  159. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
  160. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
  161. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  162. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
  163. package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
  164. package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
  165. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
  166. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
  167. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
  168. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
  169. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  170. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
  171. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  172. package/lib/components/ProductTechSpecs/index.js +8 -0
  173. package/lib/components/ProductTechSpecs/index.mjs +4 -0
  174. package/lib/components/QuantityInput/QuantityInput.js +1 -1
  175. package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
  176. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
  177. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
  178. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  179. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  180. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
  181. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
  182. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  183. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  184. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  185. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  186. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  187. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  188. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  189. package/lib/components/index.d.ts +32 -38
  190. package/lib/components/index.js +98 -110
  191. package/lib/components/index.js.map +1 -1
  192. package/lib/components/index.mjs +98 -110
  193. package/lib/components/index.mjs.map +1 -1
  194. package/lib/constants/icons/generic/index.js +6 -6
  195. package/lib/constants/icons/generic/index.mjs +2 -2
  196. package/lib/constants/icons/generic/minus.svg.js +5 -5
  197. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  198. package/lib/constants/icons/generic/plus.svg.js +5 -5
  199. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  200. package/lib/constants/icons/index.d.ts +0 -1
  201. package/lib/constants/icons/index.js +0 -2
  202. package/lib/constants/icons/index.js.map +1 -1
  203. package/lib/constants/icons/index.mjs +0 -2
  204. package/lib/constants/icons/index.mjs.map +1 -1
  205. package/lib/constants/mixin.d.ts +0 -1
  206. package/lib/constants/mixin.js +0 -6
  207. package/lib/constants/mixin.js.map +1 -1
  208. package/lib/constants/mixin.mjs +1 -6
  209. package/lib/constants/mixin.mjs.map +1 -1
  210. package/lib/constants/shopify/keyFeatureIcons.js +2 -2
  211. package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
  212. package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
  213. package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
  214. package/lib/helpers/shopify/iconParsing.js.map +1 -1
  215. package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
  216. package/lib/utils/index.d.ts +1 -3
  217. package/lib/utils/index.js +6 -10
  218. package/lib/utils/index.js.map +1 -1
  219. package/lib/utils/index.mjs +6 -10
  220. package/lib/utils/index.mjs.map +1 -1
  221. package/lib/utils/money/allocators/fixedAmount.js +9 -17
  222. package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
  223. package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
  224. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
  225. package/lib/utils/money/allocators/productAmount.js +38 -61
  226. package/lib/utils/money/allocators/productAmount.js.map +1 -1
  227. package/lib/utils/money/allocators/productAmount.mjs +38 -61
  228. package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
  229. package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
  230. package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
  231. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
  232. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
  233. package/package.json +1 -1
  234. package/lib/assets/accessApplication.svg +0 -394
  235. package/lib/assets/addToCart.svg +0 -3
  236. package/lib/assets/arrowRightMicro.svg +0 -3
  237. package/lib/assets/black.svg +0 -14
  238. package/lib/assets/blackFabric.png +0 -0
  239. package/lib/assets/blue.svg +0 -14
  240. package/lib/assets/box2.svg +0 -3
  241. package/lib/assets/camo.png +0 -0
  242. package/lib/assets/check3.svg +0 -3
  243. package/lib/assets/close3.svg +0 -3
  244. package/lib/assets/compare/fov-bullet.png.js +0 -27
  245. package/lib/assets/compare/fov-bullet.png.js.map +0 -1
  246. package/lib/assets/compare/fov-bullet.png.mjs +0 -3
  247. package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
  248. package/lib/assets/concrete.png +0 -0
  249. package/lib/assets/darkGrey.svg +0 -14
  250. package/lib/assets/design-uisp-mobile.png +0 -0
  251. package/lib/assets/design-uisp.png +0 -0
  252. package/lib/assets/design-unifi-mobile.png +0 -0
  253. package/lib/assets/design-unifi.png +0 -0
  254. package/lib/assets/fov-bullet.png +0 -0
  255. package/lib/assets/grey.svg +0 -13
  256. package/lib/assets/hand2.svg +0 -5
  257. package/lib/assets/icons/accessApplication.svg.js +0 -27
  258. package/lib/assets/icons/accessApplication.svg.js.map +0 -1
  259. package/lib/assets/icons/accessApplication.svg.mjs +0 -3
  260. package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
  261. package/lib/assets/icons/addToCart.svg.js +0 -27
  262. package/lib/assets/icons/addToCart.svg.js.map +0 -1
  263. package/lib/assets/icons/addToCart.svg.mjs +0 -3
  264. package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
  265. package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
  266. package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
  267. package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
  268. package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
  269. package/lib/assets/icons/link.svg.js +0 -27
  270. package/lib/assets/icons/link.svg.js.map +0 -1
  271. package/lib/assets/icons/link.svg.mjs +0 -3
  272. package/lib/assets/icons/link.svg.mjs.map +0 -1
  273. package/lib/assets/icons/networkApplication.svg.js +0 -27
  274. package/lib/assets/icons/networkApplication.svg.js.map +0 -1
  275. package/lib/assets/icons/networkApplication.svg.mjs +0 -3
  276. package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
  277. package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
  278. package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
  279. package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
  280. package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
  281. package/lib/assets/icons/payment-card.svg.js +0 -27
  282. package/lib/assets/icons/payment-card.svg.js.map +0 -1
  283. package/lib/assets/icons/payment-card.svg.mjs +0 -3
  284. package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
  285. package/lib/assets/icons/payment-google-pay.svg.js +0 -27
  286. package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
  287. package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
  288. package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
  289. package/lib/assets/icons/play-big.svg.js +0 -27
  290. package/lib/assets/icons/play-big.svg.js.map +0 -1
  291. package/lib/assets/icons/play-big.svg.mjs +0 -3
  292. package/lib/assets/icons/play-big.svg.mjs.map +0 -1
  293. package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
  294. package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
  295. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
  296. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
  297. package/lib/assets/icons/protectApplication.svg.js +0 -27
  298. package/lib/assets/icons/protectApplication.svg.js.map +0 -1
  299. package/lib/assets/icons/protectApplication.svg.mjs +0 -3
  300. package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
  301. package/lib/assets/icons/reload.svg.js +0 -27
  302. package/lib/assets/icons/reload.svg.js.map +0 -1
  303. package/lib/assets/icons/reload.svg.mjs +0 -3
  304. package/lib/assets/icons/reload.svg.mjs.map +0 -1
  305. package/lib/assets/icons/sliderThumb.svg.js +0 -27
  306. package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
  307. package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
  308. package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
  309. package/lib/assets/icons/talkApplication.svg.js +0 -27
  310. package/lib/assets/icons/talkApplication.svg.js.map +0 -1
  311. package/lib/assets/icons/talkApplication.svg.mjs +0 -3
  312. package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
  313. package/lib/assets/icons/wizard/box.svg.js +0 -27
  314. package/lib/assets/icons/wizard/box.svg.js.map +0 -1
  315. package/lib/assets/icons/wizard/box.svg.mjs +0 -3
  316. package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
  317. package/lib/assets/icons/wizard/hand.svg.js +0 -27
  318. package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
  319. package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
  320. package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
  321. package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
  322. package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
  323. package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
  324. package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
  325. package/lib/assets/icons/wizard/warranty.svg.js +0 -27
  326. package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
  327. package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
  328. package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
  329. package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
  330. package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
  331. package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
  332. package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
  333. package/lib/assets/landingPage/design-uisp.png.js +0 -27
  334. package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
  335. package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
  336. package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
  337. package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
  338. package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
  339. package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
  340. package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
  341. package/lib/assets/landingPage/design-unifi.png.js +0 -27
  342. package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
  343. package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
  344. package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
  345. package/lib/assets/landingPage/support-expert.png.js +0 -27
  346. package/lib/assets/landingPage/support-expert.png.js.map +0 -1
  347. package/lib/assets/landingPage/support-expert.png.mjs +0 -3
  348. package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
  349. package/lib/assets/landingPage/support-help.png.js +0 -27
  350. package/lib/assets/landingPage/support-help.png.js.map +0 -1
  351. package/lib/assets/landingPage/support-help.png.mjs +0 -3
  352. package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
  353. package/lib/assets/lightGrey.svg +0 -13
  354. package/lib/assets/link.svg +0 -3
  355. package/lib/assets/marble.png +0 -0
  356. package/lib/assets/networkApplication.svg +0 -21
  357. package/lib/assets/payment-apple-pay.svg +0 -12
  358. package/lib/assets/payment-card2.svg +0 -5
  359. package/lib/assets/payment-google-pay.svg +0 -1
  360. package/lib/assets/play-big.svg +0 -4
  361. package/lib/assets/plus5.svg +0 -16
  362. package/lib/assets/plus6.svg +0 -16
  363. package/lib/assets/popoverPointer.svg +0 -12
  364. package/lib/assets/previouslyPurchasedStar.svg +0 -3
  365. package/lib/assets/protectApplication.svg +0 -418
  366. package/lib/assets/reload3.svg +0 -3
  367. package/lib/assets/sliderThumb.svg +0 -5
  368. package/lib/assets/support-expert.png +0 -0
  369. package/lib/assets/support-help.png +0 -0
  370. package/lib/assets/talkApplication.svg +0 -45
  371. package/lib/assets/warranty.svg +0 -2
  372. package/lib/assets/white.svg +0 -13
  373. package/lib/assets/wood.png +0 -0
  374. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
  375. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
  376. package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
  377. package/lib/components/AppDownloadBanner/index.d.ts +0 -1
  378. package/lib/components/Banner/Banner.d.ts +0 -2
  379. package/lib/components/Banner/Banner.js.map +0 -1
  380. package/lib/components/Banner/Banner.mjs.map +0 -1
  381. package/lib/components/Banner/Banner.styles.js.map +0 -1
  382. package/lib/components/Banner/Banner.styles.mjs.map +0 -1
  383. package/lib/components/Banner/index.d.ts +0 -1
  384. package/lib/components/Banner/index.js +0 -6
  385. package/lib/components/Banner/index.mjs +0 -3
  386. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  387. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  388. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
  389. package/lib/components/Breadcrumbs/index.d.ts +0 -1
  390. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
  391. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
  392. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
  393. package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
  394. package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
  395. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
  396. package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
  397. package/lib/components/CarouselGallery/index.d.ts +0 -1
  398. package/lib/components/CartIcon/CartIcon.js.map +0 -1
  399. package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
  400. package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
  401. package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
  402. package/lib/components/CartSummary/CartSummary.d.ts +0 -2
  403. package/lib/components/CartSummary/CartSummary.js +0 -58
  404. package/lib/components/CartSummary/CartSummary.js.map +0 -1
  405. package/lib/components/CartSummary/CartSummary.mjs +0 -56
  406. package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
  407. package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
  408. package/lib/components/CartSummary/CartSummary.styles.js +0 -133
  409. package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
  410. package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
  411. package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
  412. package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
  413. package/lib/components/CartSummary/index.d.ts +0 -1
  414. package/lib/components/CartSummary/index.js +0 -6
  415. package/lib/components/CartSummary/index.mjs +0 -3
  416. package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
  417. package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
  418. package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
  419. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
  420. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
  421. package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
  422. package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
  423. package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
  424. package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
  425. package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
  426. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
  427. package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
  428. package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
  429. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
  430. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
  431. package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
  432. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
  433. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
  434. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
  435. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
  436. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
  437. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
  438. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
  439. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
  440. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
  441. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
  442. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
  443. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
  444. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
  445. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
  446. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
  447. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
  448. package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
  449. package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
  450. package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
  451. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
  452. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
  453. package/lib/components/CloserLookSection/index.d.ts +0 -1
  454. package/lib/components/CloserLookSection/index.js +0 -7
  455. package/lib/components/CloserLookSection/index.js.map +0 -1
  456. package/lib/components/CloserLookSection/index.mjs +0 -3
  457. package/lib/components/CloserLookSection/index.mjs.map +0 -1
  458. package/lib/components/Compare/Compare.d.ts +0 -2
  459. package/lib/components/Compare/Compare.styles.d.ts +0 -38
  460. package/lib/components/Compare/Compare.types.d.ts +0 -34
  461. package/lib/components/Compare/CompareData.d.ts +0 -22
  462. package/lib/components/Compare/ProductTable.d.ts +0 -6
  463. package/lib/components/Compare/index.d.ts +0 -2
  464. package/lib/components/CompareChart/CompareChart.d.ts +0 -2
  465. package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
  466. package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
  467. package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
  468. package/lib/components/CompareChart/index.d.ts +0 -2
  469. package/lib/components/CompareSection/CompareSection.d.ts +0 -5
  470. package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
  471. package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
  472. package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
  473. package/lib/components/CompareSection/index.d.ts +0 -1
  474. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
  475. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
  476. package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
  477. package/lib/components/DeploymentGallery/index.d.ts +0 -1
  478. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
  479. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
  480. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
  481. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
  482. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
  483. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
  484. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
  485. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
  486. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
  487. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
  488. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
  489. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
  490. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
  491. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
  492. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
  493. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
  494. package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
  495. package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
  496. package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
  497. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
  498. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
  499. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
  500. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
  501. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
  502. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
  503. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
  504. package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
  505. package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
  506. package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
  507. package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
  508. package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
  509. package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
  510. package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
  511. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
  512. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
  513. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
  514. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
  515. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
  516. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
  517. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
  518. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
  519. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
  520. package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
  521. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
  522. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
  523. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
  524. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
  525. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
  526. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
  527. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
  528. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
  529. package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
  530. package/lib/components/FeaturesSection_deprecated/index.js +0 -7
  531. package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
  532. package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
  533. package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
  534. package/lib/components/Gallery/Gallery.context.js +0 -141
  535. package/lib/components/Gallery/Gallery.context.js.map +0 -1
  536. package/lib/components/Gallery/Gallery.context.mjs +0 -138
  537. package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
  538. package/lib/components/Gallery/Gallery.js +0 -123
  539. package/lib/components/Gallery/Gallery.js.map +0 -1
  540. package/lib/components/Gallery/Gallery.mjs +0 -120
  541. package/lib/components/Gallery/Gallery.mjs.map +0 -1
  542. package/lib/components/Gallery/Gallery.styles.js +0 -86
  543. package/lib/components/Gallery/Gallery.styles.js.map +0 -1
  544. package/lib/components/Gallery/Gallery.styles.mjs +0 -73
  545. package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
  546. package/lib/components/Gallery/Gallery.types.js +0 -11
  547. package/lib/components/Gallery/Gallery.types.js.map +0 -1
  548. package/lib/components/Gallery/Gallery.types.mjs +0 -10
  549. package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
  550. package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
  551. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
  552. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
  553. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
  554. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
  555. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
  556. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
  557. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
  558. package/lib/components/Gallery/GalleryControls/index.js +0 -9
  559. package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
  560. package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
  561. package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
  562. package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
  563. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
  564. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
  565. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
  566. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
  567. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
  568. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
  569. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
  570. package/lib/components/Gallery/GalleryItem/index.js +0 -6
  571. package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
  572. package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
  573. package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
  574. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
  575. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
  576. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
  577. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
  578. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
  579. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
  580. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
  581. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
  582. package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
  583. package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
  584. package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
  585. package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
  586. package/lib/components/Gallery/index.js +0 -8
  587. package/lib/components/Gallery/index.mjs +0 -4
  588. package/lib/components/Gallery/utils.js +0 -9
  589. package/lib/components/Gallery/utils.js.map +0 -1
  590. package/lib/components/Gallery/utils.mjs +0 -8
  591. package/lib/components/Gallery/utils.mjs.map +0 -1
  592. package/lib/components/GridGallery/GridGallery.js +0 -197
  593. package/lib/components/GridGallery/GridGallery.js.map +0 -1
  594. package/lib/components/GridGallery/GridGallery.mjs +0 -189
  595. package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
  596. package/lib/components/GridGallery/GridGallery.styles.js +0 -132
  597. package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
  598. package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
  599. package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
  600. package/lib/components/GridGallery/GridGallery.types.js +0 -12
  601. package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
  602. package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
  603. package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
  604. package/lib/components/GridGallery/index.js +0 -6
  605. package/lib/components/GridGallery/index.js.map +0 -1
  606. package/lib/components/GridGallery/index.mjs +0 -3
  607. package/lib/components/GridGallery/index.mjs.map +0 -1
  608. package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
  609. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
  610. package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
  611. package/lib/components/Header/SearchTab/index.d.ts +0 -1
  612. package/lib/components/Hero/Hero.d.ts +0 -2
  613. package/lib/components/Hero/Hero.js +0 -158
  614. package/lib/components/Hero/Hero.js.map +0 -1
  615. package/lib/components/Hero/Hero.mjs +0 -146
  616. package/lib/components/Hero/Hero.mjs.map +0 -1
  617. package/lib/components/Hero/Hero.styles.d.ts +0 -44
  618. package/lib/components/Hero/Hero.styles.js +0 -349
  619. package/lib/components/Hero/Hero.styles.js.map +0 -1
  620. package/lib/components/Hero/Hero.styles.mjs +0 -320
  621. package/lib/components/Hero/Hero.styles.mjs.map +0 -1
  622. package/lib/components/Hero/Hero.types.d.ts +0 -31
  623. package/lib/components/Hero/Hero.types.js +0 -12
  624. package/lib/components/Hero/Hero.types.js.map +0 -1
  625. package/lib/components/Hero/Hero.types.mjs +0 -11
  626. package/lib/components/Hero/Hero.types.mjs.map +0 -1
  627. package/lib/components/Hero/index.d.ts +0 -1
  628. package/lib/components/Hero/index.js +0 -6
  629. package/lib/components/Hero/index.js.map +0 -1
  630. package/lib/components/Hero/index.mjs +0 -3
  631. package/lib/components/Hero/index.mjs.map +0 -1
  632. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
  633. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
  634. package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
  635. package/lib/components/HeroFadeGallery/index.d.ts +0 -1
  636. package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
  637. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
  638. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
  639. package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
  640. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
  641. package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
  642. package/lib/components/HowToUseSection/index.d.ts +0 -1
  643. package/lib/components/ImageModal/ImageModal.d.ts +0 -2
  644. package/lib/components/ImageModal/ImageModal.js +0 -42
  645. package/lib/components/ImageModal/ImageModal.js.map +0 -1
  646. package/lib/components/ImageModal/ImageModal.mjs +0 -40
  647. package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
  648. package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
  649. package/lib/components/ImageModal/ImageModal.styles.js +0 -64
  650. package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
  651. package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
  652. package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
  653. package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
  654. package/lib/components/ImageModal/index.d.ts +0 -1
  655. package/lib/components/ImageModal/index.js +0 -6
  656. package/lib/components/ImageModal/index.js.map +0 -1
  657. package/lib/components/ImageModal/index.mjs +0 -3
  658. package/lib/components/ImageModal/index.mjs.map +0 -1
  659. package/lib/components/LandingPage/Block/Block.d.ts +0 -2
  660. package/lib/components/LandingPage/Block/Block.js +0 -38
  661. package/lib/components/LandingPage/Block/Block.js.map +0 -1
  662. package/lib/components/LandingPage/Block/Block.mjs +0 -36
  663. package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
  664. package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
  665. package/lib/components/LandingPage/Block/Block.styles.js +0 -37
  666. package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
  667. package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
  668. package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
  669. package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
  670. package/lib/components/LandingPage/Block/index.d.ts +0 -1
  671. package/lib/components/LandingPage/Block/index.js +0 -6
  672. package/lib/components/LandingPage/Block/index.js.map +0 -1
  673. package/lib/components/LandingPage/Block/index.mjs +0 -3
  674. package/lib/components/LandingPage/Block/index.mjs.map +0 -1
  675. package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
  676. package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
  677. package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
  678. package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
  679. package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
  680. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
  681. package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
  682. package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
  683. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
  684. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
  685. package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
  686. package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
  687. package/lib/components/LandingPage/Cards/Card/index.js +0 -6
  688. package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
  689. package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
  690. package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
  691. package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
  692. package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
  693. package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
  694. package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
  695. package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
  696. package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
  697. package/lib/components/LandingPage/Cards/Cards.js +0 -127
  698. package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
  699. package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
  700. package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
  701. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
  702. package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
  703. package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
  704. package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
  705. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
  706. package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
  707. package/lib/components/LandingPage/Cards/index.d.ts +0 -2
  708. package/lib/components/LandingPage/Cards/index.js +0 -8
  709. package/lib/components/LandingPage/Cards/index.js.map +0 -1
  710. package/lib/components/LandingPage/Cards/index.mjs +0 -4
  711. package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
  712. package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
  713. package/lib/components/LandingPage/LandingPage.constants.js +0 -40
  714. package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
  715. package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
  716. package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
  717. package/lib/components/LandingPage/LandingPage.d.ts +0 -2
  718. package/lib/components/LandingPage/LandingPage.js +0 -116
  719. package/lib/components/LandingPage/LandingPage.js.map +0 -1
  720. package/lib/components/LandingPage/LandingPage.mjs +0 -102
  721. package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
  722. package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
  723. package/lib/components/LandingPage/LandingPage.styles.js +0 -66
  724. package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
  725. package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
  726. package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
  727. package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
  728. package/lib/components/LandingPage/index.d.ts +0 -1
  729. package/lib/components/LandingPage/index.js +0 -6
  730. package/lib/components/LandingPage/index.js.map +0 -1
  731. package/lib/components/LandingPage/index.mjs +0 -3
  732. package/lib/components/LandingPage/index.mjs.map +0 -1
  733. package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
  734. package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
  735. package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
  736. package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
  737. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
  738. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
  739. package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
  740. package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
  741. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
  742. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
  743. package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
  744. package/lib/components/LandingPagePro/index.d.ts +0 -1
  745. package/lib/components/LandingPagePro/index.js +0 -6
  746. package/lib/components/LandingPagePro/index.js.map +0 -1
  747. package/lib/components/LandingPagePro/index.mjs +0 -3
  748. package/lib/components/LandingPagePro/index.mjs.map +0 -1
  749. package/lib/components/LandingPagePro/utils.d.ts +0 -12
  750. package/lib/components/LandingPagePro/utils.js +0 -26
  751. package/lib/components/LandingPagePro/utils.js.map +0 -1
  752. package/lib/components/LandingPagePro/utils.mjs +0 -24
  753. package/lib/components/LandingPagePro/utils.mjs.map +0 -1
  754. package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
  755. package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
  756. package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
  757. package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
  758. package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
  759. package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
  760. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
  761. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
  762. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
  763. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
  764. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
  765. package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
  766. package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
  767. package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
  768. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
  769. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
  770. package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
  771. package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
  772. package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
  773. package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
  774. package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
  775. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
  776. package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
  777. package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
  778. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
  779. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
  780. package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
  781. package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
  782. package/lib/components/LandingPageSearch/Modal/index.js +0 -6
  783. package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
  784. package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
  785. package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
  786. package/lib/components/LandingPageSearch/index.d.ts +0 -1
  787. package/lib/components/LandingPageSearch/index.js +0 -6
  788. package/lib/components/LandingPageSearch/index.js.map +0 -1
  789. package/lib/components/LandingPageSearch/index.mjs +0 -3
  790. package/lib/components/LandingPageSearch/index.mjs.map +0 -1
  791. package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
  792. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
  793. package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
  794. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
  795. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
  796. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
  797. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
  798. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
  799. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
  800. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
  801. package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
  802. package/lib/components/LandingPageSidebar/index.d.ts +0 -1
  803. package/lib/components/LandingPageSidebar/index.js +0 -6
  804. package/lib/components/LandingPageSidebar/index.js.map +0 -1
  805. package/lib/components/LandingPageSidebar/index.mjs +0 -3
  806. package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
  807. package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
  808. package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
  809. package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
  810. package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
  811. package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
  812. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
  813. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
  814. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
  815. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
  816. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
  817. package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
  818. package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
  819. package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
  820. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
  821. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
  822. package/lib/components/LayoutRenderer/index.d.ts +0 -2
  823. package/lib/components/LayoutRenderer/index.js +0 -6
  824. package/lib/components/LayoutRenderer/index.js.map +0 -1
  825. package/lib/components/LayoutRenderer/index.mjs +0 -3
  826. package/lib/components/LayoutRenderer/index.mjs.map +0 -1
  827. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
  828. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
  829. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
  830. package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
  831. package/lib/components/LayoutRendererV1/index.d.ts +0 -1
  832. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
  833. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
  834. package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
  835. package/lib/components/LayoutRendererV2/index.d.ts +0 -1
  836. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
  837. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
  838. package/lib/components/NewToUnifiBox/index.d.ts +0 -1
  839. package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
  840. package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
  841. package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
  842. package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
  843. package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
  844. package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
  845. package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
  846. package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
  847. package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
  848. package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
  849. package/lib/components/NormalisedImage/index.d.ts +0 -2
  850. package/lib/components/NormalisedImage/index.js +0 -7
  851. package/lib/components/NormalisedImage/index.js.map +0 -1
  852. package/lib/components/NormalisedImage/index.mjs +0 -4
  853. package/lib/components/NormalisedImage/index.mjs.map +0 -1
  854. package/lib/components/Pagination/Pagination.d.ts +0 -2
  855. package/lib/components/Pagination/Pagination.js +0 -71
  856. package/lib/components/Pagination/Pagination.js.map +0 -1
  857. package/lib/components/Pagination/Pagination.mjs +0 -69
  858. package/lib/components/Pagination/Pagination.mjs.map +0 -1
  859. package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
  860. package/lib/components/Pagination/Pagination.styles.js +0 -51
  861. package/lib/components/Pagination/Pagination.styles.js.map +0 -1
  862. package/lib/components/Pagination/Pagination.styles.mjs +0 -41
  863. package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
  864. package/lib/components/Pagination/Pagination.types.d.ts +0 -5
  865. package/lib/components/Pagination/index.d.ts +0 -2
  866. package/lib/components/Pagination/index.js +0 -6
  867. package/lib/components/Pagination/index.js.map +0 -1
  868. package/lib/components/Pagination/index.mjs +0 -3
  869. package/lib/components/Pagination/index.mjs.map +0 -1
  870. package/lib/components/Popover/Popover.d.ts +0 -20
  871. package/lib/components/Popover/Popover.js +0 -37
  872. package/lib/components/Popover/Popover.js.map +0 -1
  873. package/lib/components/Popover/Popover.mjs +0 -29
  874. package/lib/components/Popover/Popover.mjs.map +0 -1
  875. package/lib/components/Popover/Popover.styles.d.ts +0 -15
  876. package/lib/components/Popover/Popover.styles.js +0 -122
  877. package/lib/components/Popover/Popover.styles.js.map +0 -1
  878. package/lib/components/Popover/Popover.styles.mjs +0 -111
  879. package/lib/components/Popover/Popover.styles.mjs.map +0 -1
  880. package/lib/components/Popover/Popover.types.d.ts +0 -8
  881. package/lib/components/Popover/index.d.ts +0 -1
  882. package/lib/components/Popover/index.js +0 -6
  883. package/lib/components/Popover/index.js.map +0 -1
  884. package/lib/components/Popover/index.mjs +0 -3
  885. package/lib/components/Popover/index.mjs.map +0 -1
  886. package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
  887. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
  888. package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
  889. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
  890. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
  891. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
  892. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
  893. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
  894. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
  895. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
  896. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
  897. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
  898. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
  899. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
  900. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
  901. package/lib/components/PriceRangeSlider/index.d.ts +0 -1
  902. package/lib/components/PriceRangeSlider/index.js +0 -6
  903. package/lib/components/PriceRangeSlider/index.js.map +0 -1
  904. package/lib/components/PriceRangeSlider/index.mjs +0 -3
  905. package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
  906. package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
  907. package/lib/components/ProductCard/ProductCard.constants.js +0 -18
  908. package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
  909. package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
  910. package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
  911. package/lib/components/ProductCard/ProductCard.d.ts +0 -2
  912. package/lib/components/ProductCard/ProductCard.js +0 -139
  913. package/lib/components/ProductCard/ProductCard.js.map +0 -1
  914. package/lib/components/ProductCard/ProductCard.mjs +0 -130
  915. package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
  916. package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
  917. package/lib/components/ProductCard/ProductCard.styles.js +0 -178
  918. package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
  919. package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
  920. package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
  921. package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
  922. package/lib/components/ProductCard/index.d.ts +0 -1
  923. package/lib/components/ProductCard/index.js +0 -6
  924. package/lib/components/ProductCard/index.js.map +0 -1
  925. package/lib/components/ProductCard/index.mjs +0 -3
  926. package/lib/components/ProductCard/index.mjs.map +0 -1
  927. package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
  928. package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
  929. package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
  930. package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
  931. package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
  932. package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
  933. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
  934. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
  935. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
  936. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
  937. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
  938. package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
  939. package/lib/components/ProductCardPopup/index.d.ts +0 -1
  940. package/lib/components/ProductCardPopup/index.js +0 -6
  941. package/lib/components/ProductCardPopup/index.js.map +0 -1
  942. package/lib/components/ProductCardPopup/index.mjs +0 -3
  943. package/lib/components/ProductCardPopup/index.mjs.map +0 -1
  944. package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
  945. package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
  946. package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
  947. package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
  948. package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
  949. package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
  950. package/lib/components/ProductCompare/ProductCompare.js +0 -158
  951. package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
  952. package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
  953. package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
  954. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
  955. package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
  956. package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
  957. package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
  958. package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
  959. package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
  960. package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
  961. package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
  962. package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
  963. package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
  964. package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
  965. package/lib/components/ProductCompare/index.d.ts +0 -1
  966. package/lib/components/ProductCompare/index.js +0 -6
  967. package/lib/components/ProductCompare/index.js.map +0 -1
  968. package/lib/components/ProductCompare/index.mjs +0 -3
  969. package/lib/components/ProductCompare/index.mjs.map +0 -1
  970. package/lib/components/ProductCompare/mapping.d.ts +0 -62
  971. package/lib/components/ProductCompare/mapping.js +0 -1107
  972. package/lib/components/ProductCompare/mapping.js.map +0 -1
  973. package/lib/components/ProductCompare/mapping.mjs +0 -1098
  974. package/lib/components/ProductCompare/mapping.mjs.map +0 -1
  975. package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
  976. package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
  977. package/lib/components/ProductDetails/ProductDetails.js +0 -53
  978. package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
  979. package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
  980. package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
  981. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
  982. package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
  983. package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
  984. package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
  985. package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
  986. package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
  987. package/lib/components/ProductDetails/index.d.ts +0 -2
  988. package/lib/components/ProductDetails/index.js +0 -8
  989. package/lib/components/ProductDetails/index.js.map +0 -1
  990. package/lib/components/ProductDetails/index.mjs +0 -4
  991. package/lib/components/ProductDetails/index.mjs.map +0 -1
  992. package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
  993. package/lib/components/ProductGrid/ProductGrid.js +0 -168
  994. package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
  995. package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
  996. package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
  997. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
  998. package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
  999. package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
  1000. package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
  1001. package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
  1002. package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
  1003. package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
  1004. package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
  1005. package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
  1006. package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
  1007. package/lib/components/ProductGrid/index.d.ts +0 -1
  1008. package/lib/components/ProductGrid/index.js +0 -6
  1009. package/lib/components/ProductGrid/index.js.map +0 -1
  1010. package/lib/components/ProductGrid/index.mjs +0 -3
  1011. package/lib/components/ProductGrid/index.mjs.map +0 -1
  1012. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
  1013. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
  1014. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
  1015. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
  1016. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
  1017. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
  1018. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
  1019. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
  1020. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
  1021. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
  1022. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
  1023. package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
  1024. package/lib/components/ProductKeyFeatures/index.js +0 -6
  1025. package/lib/components/ProductKeyFeatures/index.js.map +0 -1
  1026. package/lib/components/ProductKeyFeatures/index.mjs +0 -3
  1027. package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
  1028. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
  1029. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
  1030. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
  1031. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
  1032. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
  1033. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
  1034. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
  1035. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
  1036. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
  1037. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
  1038. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
  1039. package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
  1040. package/lib/components/ProductRecommendedAccessories/index.js +0 -6
  1041. package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
  1042. package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
  1043. package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
  1044. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
  1045. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
  1046. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
  1047. package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
  1048. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
  1049. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
  1050. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
  1051. package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
  1052. package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
  1053. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
  1054. package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
  1055. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
  1056. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
  1057. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
  1058. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
  1059. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
  1060. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
  1061. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
  1062. package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
  1063. package/lib/components/ProductSectionTabs/index.d.ts +0 -2
  1064. package/lib/components/ProductSectionTabs/index.js +0 -6
  1065. package/lib/components/ProductSectionTabs/index.js.map +0 -1
  1066. package/lib/components/ProductSectionTabs/index.mjs +0 -3
  1067. package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
  1068. package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
  1069. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
  1070. package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
  1071. package/lib/components/ProductUpsell/index.d.ts +0 -1
  1072. package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
  1073. package/lib/components/ProductWizard/Options/Options.js +0 -77
  1074. package/lib/components/ProductWizard/Options/Options.js.map +0 -1
  1075. package/lib/components/ProductWizard/Options/Options.mjs +0 -75
  1076. package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
  1077. package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
  1078. package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
  1079. package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
  1080. package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
  1081. package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
  1082. package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
  1083. package/lib/components/ProductWizard/Options/index.d.ts +0 -1
  1084. package/lib/components/ProductWizard/Options/index.js +0 -6
  1085. package/lib/components/ProductWizard/Options/index.js.map +0 -1
  1086. package/lib/components/ProductWizard/Options/index.mjs +0 -3
  1087. package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
  1088. package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
  1089. package/lib/components/ProductWizard/ProductWizard.js +0 -114
  1090. package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
  1091. package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
  1092. package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
  1093. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
  1094. package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
  1095. package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
  1096. package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
  1097. package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
  1098. package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
  1099. package/lib/components/ProductWizard/index.d.ts +0 -1
  1100. package/lib/components/ProductWizard/index.js +0 -6
  1101. package/lib/components/ProductWizard/index.js.map +0 -1
  1102. package/lib/components/ProductWizard/index.mjs +0 -3
  1103. package/lib/components/ProductWizard/index.mjs.map +0 -1
  1104. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
  1105. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
  1106. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
  1107. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
  1108. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
  1109. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
  1110. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
  1111. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
  1112. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
  1113. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
  1114. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
  1115. package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
  1116. package/lib/components/ProductWizardFootnotes/index.js +0 -6
  1117. package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
  1118. package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
  1119. package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
  1120. package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
  1121. package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
  1122. package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
  1123. package/lib/components/ProgressCircle/index.d.ts +0 -1
  1124. package/lib/components/ProgressCircle/index.js +0 -6
  1125. package/lib/components/ProgressCircle/index.js.map +0 -1
  1126. package/lib/components/ProgressCircle/index.mjs +0 -3
  1127. package/lib/components/ProgressCircle/index.mjs.map +0 -1
  1128. package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
  1129. package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
  1130. package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
  1131. package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
  1132. package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
  1133. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
  1134. package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
  1135. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
  1136. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
  1137. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
  1138. package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
  1139. package/lib/components/RelatedProducts/index.d.ts +0 -1
  1140. package/lib/components/RelatedProducts/index.js +0 -6
  1141. package/lib/components/RelatedProducts/index.js.map +0 -1
  1142. package/lib/components/RelatedProducts/index.mjs +0 -3
  1143. package/lib/components/RelatedProducts/index.mjs.map +0 -1
  1144. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
  1145. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
  1146. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
  1147. package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
  1148. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
  1149. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
  1150. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
  1151. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
  1152. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
  1153. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
  1154. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
  1155. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
  1156. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
  1157. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1158. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
  1159. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
  1160. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
  1161. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1162. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
  1163. package/lib/components/SearchInput/Input.styles.d.ts +0 -20
  1164. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
  1165. package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
  1166. package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
  1167. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
  1168. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
  1169. package/lib/components/SkeletonFootnote/index.d.ts +0 -1
  1170. package/lib/components/SkeletonFootnote/index.js +0 -6
  1171. package/lib/components/SkeletonFootnote/index.js.map +0 -1
  1172. package/lib/components/SkeletonFootnote/index.mjs +0 -3
  1173. package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
  1174. package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
  1175. package/lib/components/StorageSliders/Slider/Slider.js +0 -41
  1176. package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
  1177. package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
  1178. package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
  1179. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
  1180. package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
  1181. package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
  1182. package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
  1183. package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
  1184. package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
  1185. package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
  1186. package/lib/components/StorageSliders/Slider/index.js +0 -6
  1187. package/lib/components/StorageSliders/Slider/index.js.map +0 -1
  1188. package/lib/components/StorageSliders/Slider/index.mjs +0 -3
  1189. package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
  1190. package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
  1191. package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
  1192. package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
  1193. package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
  1194. package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
  1195. package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
  1196. package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
  1197. package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
  1198. package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
  1199. package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
  1200. package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
  1201. package/lib/components/StorageSliders/StorageSliders.js +0 -102
  1202. package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
  1203. package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
  1204. package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
  1205. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
  1206. package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
  1207. package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
  1208. package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
  1209. package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
  1210. package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
  1211. package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
  1212. package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
  1213. package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
  1214. package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
  1215. package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
  1216. package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
  1217. package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
  1218. package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
  1219. package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
  1220. package/lib/components/StorageSliders/index.d.ts +0 -1
  1221. package/lib/components/StorageSliders/index.js +0 -6
  1222. package/lib/components/StorageSliders/index.js.map +0 -1
  1223. package/lib/components/StorageSliders/index.mjs +0 -3
  1224. package/lib/components/StorageSliders/index.mjs.map +0 -1
  1225. package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
  1226. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
  1227. package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
  1228. package/lib/components/TabinationButtons/index.d.ts +0 -1
  1229. package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
  1230. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
  1231. package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
  1232. package/lib/components/TopologyScheme/index.d.ts +0 -2
  1233. package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
  1234. package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
  1235. package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
  1236. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
  1237. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
  1238. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
  1239. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
  1240. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
  1241. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
  1242. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
  1243. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
  1244. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
  1245. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
  1246. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
  1247. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
  1248. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
  1249. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
  1250. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
  1251. package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
  1252. package/lib/components/VariantSelector/CheckBox/index.js +0 -6
  1253. package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
  1254. package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
  1255. package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
  1256. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
  1257. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
  1258. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
  1259. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
  1260. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
  1261. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
  1262. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
  1263. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
  1264. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
  1265. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
  1266. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
  1267. package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
  1268. package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
  1269. package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
  1270. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
  1271. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
  1272. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
  1273. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
  1274. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
  1275. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
  1276. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
  1277. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
  1278. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
  1279. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
  1280. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
  1281. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
  1282. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
  1283. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
  1284. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
  1285. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
  1286. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
  1287. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
  1288. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
  1289. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
  1290. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
  1291. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
  1292. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
  1293. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
  1294. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
  1295. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
  1296. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
  1297. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
  1298. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
  1299. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
  1300. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
  1301. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
  1302. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
  1303. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
  1304. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
  1305. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
  1306. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
  1307. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
  1308. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
  1309. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
  1310. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
  1311. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
  1312. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
  1313. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
  1314. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
  1315. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
  1316. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
  1317. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
  1318. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
  1319. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
  1320. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
  1321. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
  1322. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
  1323. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
  1324. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
  1325. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
  1326. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
  1327. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
  1328. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
  1329. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
  1330. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
  1331. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
  1332. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
  1333. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
  1334. package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
  1335. package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
  1336. package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
  1337. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
  1338. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
  1339. package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
  1340. package/lib/components/VariantSelector/Variant/Variant.js +0 -699
  1341. package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
  1342. package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
  1343. package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
  1344. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
  1345. package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
  1346. package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
  1347. package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
  1348. package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
  1349. package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
  1350. package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
  1351. package/lib/components/VariantSelector/Variant/index.js +0 -6
  1352. package/lib/components/VariantSelector/Variant/index.js.map +0 -1
  1353. package/lib/components/VariantSelector/Variant/index.mjs +0 -3
  1354. package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
  1355. package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
  1356. package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
  1357. package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
  1358. package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
  1359. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
  1360. package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
  1361. package/lib/components/VariantSelector/VariantSelector.js +0 -162
  1362. package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
  1363. package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
  1364. package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
  1365. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
  1366. package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
  1367. package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
  1368. package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
  1369. package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
  1370. package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
  1371. package/lib/components/VariantSelector/index.d.ts +0 -1
  1372. package/lib/components/VariantSelector/index.js +0 -6
  1373. package/lib/components/VariantSelector/index.js.map +0 -1
  1374. package/lib/components/VariantSelector/index.mjs +0 -3
  1375. package/lib/components/VariantSelector/index.mjs.map +0 -1
  1376. package/lib/components/VariantSelector/utils.d.ts +0 -11
  1377. package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
  1378. package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
  1379. package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
  1380. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
  1381. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
  1382. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
  1383. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
  1384. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
  1385. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
  1386. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
  1387. package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
  1388. package/lib/components/VariantSelectorItem/index.d.ts +0 -1
  1389. package/lib/components/VariantSelectorItem/index.js +0 -6
  1390. package/lib/components/VariantSelectorItem/index.js.map +0 -1
  1391. package/lib/components/VariantSelectorItem/index.mjs +0 -3
  1392. package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
  1393. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
  1394. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
  1395. package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
  1396. package/lib/components/VariantSelectorV1/index.d.ts +0 -1
  1397. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
  1398. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
  1399. package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
  1400. package/lib/components/VariantSelectorV2/index.d.ts +0 -1
  1401. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
  1402. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
  1403. package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
  1404. package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
  1405. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
  1406. package/lib/components/VideoPlayer/index.d.ts +0 -1
  1407. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
  1408. package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
  1409. package/lib/components/YouTubePlayer/index.d.ts +0 -1
  1410. package/lib/constants/icons/options/colors/black.svg.js +0 -27
  1411. package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
  1412. package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
  1413. package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
  1414. package/lib/constants/icons/options/colors/blue.svg.js +0 -27
  1415. package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
  1416. package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
  1417. package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
  1418. package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
  1419. package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
  1420. package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
  1421. package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
  1422. package/lib/constants/icons/options/colors/grey.svg.js +0 -27
  1423. package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
  1424. package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
  1425. package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
  1426. package/lib/constants/icons/options/colors/index.d.ts +0 -6
  1427. package/lib/constants/icons/options/colors/index.js +0 -63
  1428. package/lib/constants/icons/options/colors/index.js.map +0 -1
  1429. package/lib/constants/icons/options/colors/index.mjs +0 -14
  1430. package/lib/constants/icons/options/colors/index.mjs.map +0 -1
  1431. package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
  1432. package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
  1433. package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
  1434. package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
  1435. package/lib/constants/icons/options/colors/white.svg.js +0 -27
  1436. package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
  1437. package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
  1438. package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
  1439. package/lib/constants/icons/options/index.d.ts +0 -2
  1440. package/lib/constants/icons/options/index.js +0 -8
  1441. package/lib/constants/icons/options/index.js.map +0 -1
  1442. package/lib/constants/icons/options/index.mjs +0 -6
  1443. package/lib/constants/icons/options/index.mjs.map +0 -1
  1444. package/lib/constants/icons/options/styles/black.svg.js +0 -27
  1445. package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
  1446. package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
  1447. package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
  1448. package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
  1449. package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
  1450. package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
  1451. package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
  1452. package/lib/constants/icons/options/styles/camo.png.js +0 -27
  1453. package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
  1454. package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
  1455. package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
  1456. package/lib/constants/icons/options/styles/concrete.png.js +0 -27
  1457. package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
  1458. package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
  1459. package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
  1460. package/lib/constants/icons/options/styles/index.d.ts +0 -6
  1461. package/lib/constants/icons/options/styles/index.js +0 -63
  1462. package/lib/constants/icons/options/styles/index.js.map +0 -1
  1463. package/lib/constants/icons/options/styles/index.mjs +0 -14
  1464. package/lib/constants/icons/options/styles/index.mjs.map +0 -1
  1465. package/lib/constants/icons/options/styles/marble.png.js +0 -27
  1466. package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
  1467. package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
  1468. package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
  1469. package/lib/constants/icons/options/styles/wood.png.js +0 -27
  1470. package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
  1471. package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
  1472. package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
  1473. package/lib/constants/optionIcons.d.ts +0 -23
  1474. package/lib/constants/optionIcons.js +0 -97
  1475. package/lib/constants/optionIcons.js.map +0 -1
  1476. package/lib/constants/optionIcons.mjs +0 -76
  1477. package/lib/constants/optionIcons.mjs.map +0 -1
  1478. package/lib/helpers/shopify/product.d.ts +0 -5
  1479. package/lib/helpers/shopify/product.js +0 -52
  1480. package/lib/helpers/shopify/product.js.map +0 -1
  1481. package/lib/helpers/shopify/product.mjs +0 -50
  1482. package/lib/helpers/shopify/product.mjs.map +0 -1
  1483. package/lib/utils/cdn.d.ts +0 -5
  1484. package/lib/utils/collectionSlug.d.ts +0 -5
  1485. package/lib/utils/collectionSlug.js +0 -13
  1486. package/lib/utils/collectionSlug.js.map +0 -1
  1487. package/lib/utils/collectionSlug.mjs +0 -12
  1488. package/lib/utils/collectionSlug.mjs.map +0 -1
  1489. package/lib/utils/collectionSlug.test.d.ts +0 -1
  1490. package/lib/utils/variant.d.ts +0 -8
  1491. package/lib/utils/variant.js +0 -20
  1492. package/lib/utils/variant.js.map +0 -1
  1493. package/lib/utils/variant.mjs +0 -18
  1494. package/lib/utils/variant.mjs.map +0 -1
  1495. package/lib/utils/variant.test.d.ts +0 -1
  1496. package/lib/utils/wattage.d.ts +0 -11
  1497. package/lib/utils/wattage.js +0 -20
  1498. package/lib/utils/wattage.js.map +0 -1
  1499. package/lib/utils/wattage.mjs +0 -18
  1500. package/lib/utils/wattage.mjs.map +0 -1
  1501. package/lib/utils/wattage.test.d.ts +0 -1
  1502. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
  1503. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
  1504. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
  1505. /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
  1506. /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
  1507. /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
  1508. /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
  1509. /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
  1510. /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
  1511. /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
  1512. /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
  1513. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
  1514. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
  1515. /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
  1516. /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
@@ -8,14 +8,6 @@ import '../types/index.mjs';
8
8
  import { assert, assertUnreachable } from '../utils/errors.mjs';
9
9
  import { Language } from '../types/constants.mjs';
10
10
  "use strict";
11
- var __defProp = Object.defineProperty;
12
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, {
13
- enumerable: true,
14
- configurable: true,
15
- writable: true,
16
- value
17
- }) : obj[key] = value;
18
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
19
11
  var SmartcatEnvironment = /* @__PURE__ */(SmartcatEnvironment2 => {
20
12
  SmartcatEnvironment2["Dev"] = "proto";
21
13
  SmartcatEnvironment2["Stg"] = "qa";
@@ -37,44 +29,24 @@ const languageToSmartcatLocaleMapping = {
37
29
  [Language.Zh]: "zh-Hans",
38
30
  [Language.Tw]: "zh-Hant-TW"
39
31
  };
40
- const _SmartcatApi = class _SmartcatApi {
32
+ class SmartcatApi {
33
+ projectId;
34
+ collectionName;
35
+ axios;
36
+ logger;
37
+ escapeBracketDelimiters = false;
38
+ suffix;
39
+ targetLanguages;
40
+ languageToSmartcatLocaleMapping = languageToSmartcatLocaleMapping;
41
+ /**
42
+ * Depending on input we might need or not need suffixes.
43
+ */
44
+ hasSuffix;
45
+ /**
46
+ * Delimiter used to separate translation key "parts"
47
+ */
48
+ keyDelimiter = ".";
41
49
  constructor(config) {
42
- __publicField(this, "projectId");
43
- __publicField(this, "collectionName");
44
- __publicField(this, "axios");
45
- __publicField(this, "logger");
46
- __publicField(this, "escapeBracketDelimiters", false);
47
- __publicField(this, "suffix");
48
- __publicField(this, "targetLanguages");
49
- __publicField(this, "languageToSmartcatLocaleMapping", languageToSmartcatLocaleMapping);
50
- /**
51
- * Depending on input we might need or not need suffixes.
52
- */
53
- __publicField(this, "hasSuffix");
54
- /**
55
- * Delimiter used to separate translation key "parts"
56
- */
57
- __publicField(this, "keyDelimiter", ".");
58
- /**
59
- * Wait for SmartCat to fully translate all target languages.
60
- */
61
- __publicField(this, "pollAndWaitForCompletedTranslations", async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
62
- let pollRunCount = 0;
63
- let translationCompleted = false;
64
- while (!translationCompleted && pollRunCount < pollRunLimit) {
65
- this.logger?.info(`\u231B SmartCat translations in progress.`);
66
- translationCompleted = await this.checkProjectTranslationStatus();
67
- pollRunCount += 1;
68
- if (!translationCompleted) {
69
- await setTimeout(pollIntervalMs);
70
- }
71
- }
72
- if (translationCompleted) {
73
- await setTimeout(6e4);
74
- }
75
- this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
76
- return translationCompleted;
77
- });
78
50
  if ("enableLogs" in config) {
79
51
  this.logger = config.enableLogs ? console : void 0;
80
52
  } else if ("logger" in config) {
@@ -326,7 +298,7 @@ const _SmartcatApi = class _SmartcatApi {
326
298
  collections: this.collectionName,
327
299
  zip: "true",
328
300
  languages: this.targetLanguages?.map(lang => this.languageToSmartcatLocaleMapping[lang]).join(","),
329
- labels: _SmartcatApi.prepareLabels(options?.labels)
301
+ labels: SmartcatApi.prepareLabels(options?.labels)
330
302
  // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`
331
303
  };
332
304
  const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();
@@ -414,7 +386,7 @@ const _SmartcatApi = class _SmartcatApi {
414
386
  const preparedTranslationUploads = rawTranslationUploads.map(translationUpload => {
415
387
  let translations = {};
416
388
  for (const [key, value] of Object.entries(translationUpload.translations)) {
417
- if (!_SmartcatApi.isTranslatableValue(value)) {
389
+ if (!SmartcatApi.isTranslatableValue(value)) {
418
390
  continue;
419
391
  }
420
392
  const suffixedKey = this.addSuffixToKey(key, value);
@@ -462,7 +434,7 @@ const _SmartcatApi = class _SmartcatApi {
462
434
  collection: this.collectionName,
463
435
  "delete-missing-keys": !!options?.deleteMissingKeys,
464
436
  // TODO: was fallback empty string really needed?
465
- labels: _SmartcatApi.prepareLabels(options?.labels) || ""
437
+ labels: SmartcatApi.prepareLabels(options?.labels) || ""
466
438
  };
467
439
  const url = `integration/v2/project/${this.projectId}/import`;
468
440
  const smartCatSourceLanguageBuffer = Buffer.from(JSON.stringify(sourceTranslations));
@@ -478,91 +450,110 @@ const _SmartcatApi = class _SmartcatApi {
478
450
  }
479
451
  });
480
452
  }
481
- };
482
- /**
483
- * Static util to prettify translation for writing to file-system
484
- */
485
- __publicField(_SmartcatApi, "prettifyTranslation", translation => {
486
- return stableStringify(translation, {
487
- space: 2
488
- }) +
489
- // Add EOF newline
490
- `
491
- `;
492
- });
493
- /**
494
- * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
495
- */
496
- __publicField(_SmartcatApi, "isTranslatableValue", value => {
497
- const parsedValue = value?.trim();
498
- if (!parsedValue) {
499
- return false;
500
- }
501
- return !isDigitsOnlyRegex.test(parsedValue);
502
- });
503
- /**
504
- * Centralized method to get Smartcat label based on environment.
505
- * ! Change with caution as it impacts how translaitons will be read from Smartcat.
506
- */
507
- __publicField(_SmartcatApi, "getSmartcatLabel", env => {
508
- switch (env) {
509
- case "proto" /* Dev */:
510
- return "DEV";
511
- case "qa" /* Stg */:
512
- return "STG";
513
- // ! Not really reusable for other projects, didn't make sense right now to create generic label for it
514
- case "new-design" /* NewDesign */:
515
- return "NEW-DESIGN";
516
- case "prod" /* Prod */:
517
- return "MAIN";
518
- default:
519
- {
520
- assertUnreachable(env);
521
- }
522
- }
523
- });
524
- /**
525
- * Get smartcat environment based on branch name
526
- */
527
- __publicField(_SmartcatApi, "getSmartcatEnvironmentFromGhBranchName", ghRepositoryBranchName => {
528
- switch (ghRepositoryBranchName) {
529
- case "master":
530
- case "main":
531
- {
532
- return "prod" /* Prod */;
533
- }
534
- case "new-design":
535
- {
536
- return "new-design" /* NewDesign */;
537
- }
538
- case "beta":
539
- // For store.core beta releases
540
- case "stg":
541
- // Historical GH repos
542
- case "qa":
543
- {
544
- return "qa" /* Stg */;
545
- }
546
- case "alpha":
547
- // For store.core alpha releases
548
- case "dev":
549
- // Historical GH repos
550
- case "proto":
551
- {
552
- return "proto" /* Dev */;
553
- }
554
- default:
555
- {
556
- throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
453
+ /**
454
+ * Wait for SmartCat to fully translate all target languages.
455
+ */
456
+ pollAndWaitForCompletedTranslations = async (pollRunLimit = 20, pollIntervalMs = 1e4) => {
457
+ let pollRunCount = 0;
458
+ let translationCompleted = false;
459
+ while (!translationCompleted && pollRunCount < pollRunLimit) {
460
+ this.logger?.info(`\u231B SmartCat translations in progress.`);
461
+ translationCompleted = await this.checkProjectTranslationStatus();
462
+ pollRunCount += 1;
463
+ if (!translationCompleted) {
464
+ await setTimeout(pollIntervalMs);
557
465
  }
558
- }
559
- });
560
- /**
561
- * Util to prepare labels for passing into request parameters
562
- */
563
- __publicField(_SmartcatApi, "prepareLabels", labels => {
564
- return labels?.map(label => label.trim()).filter(Boolean).join(",");
565
- });
566
- let SmartcatApi = _SmartcatApi;
466
+ }
467
+ if (translationCompleted) {
468
+ await setTimeout(6e4);
469
+ }
470
+ this.logger?.info(translationCompleted ? "\u2705 SmartCat translations completed." : "\u274C Max retries reached when waiting for SmartCat translations to complete.");
471
+ return translationCompleted;
472
+ };
473
+ /**
474
+ * Static util to prettify translation for writing to file-system
475
+ */
476
+ static prettifyTranslation = translation => {
477
+ return stableStringify(translation, {
478
+ space: 2
479
+ }) +
480
+ // Add EOF newline
481
+ `
482
+ `;
483
+ };
484
+ /**
485
+ * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate
486
+ */
487
+ static isTranslatableValue = value => {
488
+ const parsedValue = value?.trim();
489
+ if (!parsedValue) {
490
+ return false;
491
+ }
492
+ return !isDigitsOnlyRegex.test(parsedValue);
493
+ };
494
+ /**
495
+ * Centralized method to get Smartcat label based on environment.
496
+ * ! Change with caution as it impacts how translaitons will be read from Smartcat.
497
+ */
498
+ static getSmartcatLabel = env => {
499
+ switch (env) {
500
+ case "proto" /* Dev */:
501
+ return "DEV";
502
+ case "qa" /* Stg */:
503
+ return "STG";
504
+ // ! Not really reusable for other projects, didn't make sense right now to create generic label for it
505
+ case "new-design" /* NewDesign */:
506
+ return "NEW-DESIGN";
507
+ case "prod" /* Prod */:
508
+ return "MAIN";
509
+ default:
510
+ {
511
+ assertUnreachable(env);
512
+ }
513
+ }
514
+ };
515
+ /**
516
+ * Get smartcat environment based on branch name
517
+ */
518
+ static getSmartcatEnvironmentFromGhBranchName = ghRepositoryBranchName => {
519
+ switch (ghRepositoryBranchName) {
520
+ case "master":
521
+ case "main":
522
+ {
523
+ return "prod" /* Prod */;
524
+ }
525
+ case "new-design":
526
+ {
527
+ return "new-design" /* NewDesign */;
528
+ }
529
+ case "beta":
530
+ // For store.core beta releases
531
+ case "stg":
532
+ // Historical GH repos
533
+ case "qa":
534
+ {
535
+ return "qa" /* Stg */;
536
+ }
537
+ case "alpha":
538
+ // For store.core alpha releases
539
+ case "dev":
540
+ // Historical GH repos
541
+ case "proto":
542
+ {
543
+ return "proto" /* Dev */;
544
+ }
545
+ default:
546
+ {
547
+ throw new Error(`Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`);
548
+ }
549
+ }
550
+ };
551
+ /**
552
+ * Util to prepare labels for passing into request parameters
553
+ */
554
+ static prepareLabels = labels => {
555
+ return labels?.map(label => label.trim()).filter(Boolean).join(",");
556
+ };
557
+ }
567
558
  export { SmartcatApi, SmartcatEnvironment };
568
559
  //# sourceMappingURL=smartcat.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","_SmartcatApi","constructor","config","__publicField","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","logger","info","checkProjectTranslationStatus","setTimeoutAsync","enableLogs","console","escapeBracketDelimiters","projectId","auth","collectionName","targetLanguages","suffixMode","suffix","hasSuffix","suffixRegex","test","indexOf","keyDelimiter","Error","authBase64","Buffer","from","accountId","apiSecret","toString","axios","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","translation","stableStringify","space","parsedValue","trim","env","assertUnreachable","ghRepositoryBranchName","label","SmartcatApi"],"mappings":";;;;;;;;;;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBAAA,KAAM,CAAA,GAAA,OAAA;EACNA,qBAAA,KAAM,CAAA,GAAA,IAAA;EACNA,qBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,qBAAA,MAAO,CAAA,GAAA,MAAA;EAJGA,OAAAA,oBAAAA;AAAA,CAAA,EAAAA,mBAAA,IAAA,CAAA,CAAA,CAAA;AAqBZ,MAAMC,iBAAoB,GAAA,OAAA;AA0E1B,MAAMC,+BAA4D,GAAA;EAChE,CAACC,QAAS,CAAAC,EAAE,GAAG,IAAA;EACf,CAACD,QAAS,CAAAE,EAAE,GAAG,IAAA;EACf,CAACF,QAAS,CAAAG,EAAE,GAAG,IAAA;EACf,CAACH,QAAS,CAAAI,EAAE,GAAG,IAAA;EACf,CAACJ,QAAS,CAAAK,EAAE,GAAG,IAAA;EACf,CAACL,QAAS,CAAAM,EAAE,GAAG,IAAA;EACf,CAACN,QAAS,CAAAO,EAAE,GAAG,IAAA;EACf,CAACP,QAAS,CAAAQ,EAAE,GAAG,IAAA;EACf,CAACR,QAAS,CAAAS,EAAE,GAAG,OAAA;EACf,CAACT,QAAS,CAAAU,EAAE,GAAG,SAAA;EACf,CAACV,QAAS,CAAAW,EAAE,GAAG;AACjB,CAAA;AAmBO,MAAMC,YAAA,GAAN,MAAMA,YAAY,CAAA;EAoBvBC,YAAYC,MAA2B,EAAA;IAnB/BC,aAAA,CAAA,IAAA,EAAA,WAAA,CAAA;IACAA,aAAA,CAAA,IAAA,EAAA,gBAAA,CAAA;IACAA,aAAA,CAAA,IAAA,EAAA,OAAA,CAAA;IACAA,aAAA,CAA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,2BAA2B2K,sBAAsB,4BACnD,CAAA;MAAA;EACF;AAEJ,CAAA,CAAA;AAAA;AAAA;AAAA;AAKAlM,aA30BW,CAAAH,YAAA,EA20BK,eAAgB,EAACgI,MAA0C,IAAA;EACzE,OAAOA,MACH,EAAA9D,GAAA,CAAKoI,KAAA,IAAUA,KAAM,CAAAJ,IAAA,EAAM,CAAA,CAC5BtF,MAAO,CAAAK,OAAO,CACd,CAAA7D,IAAA,CAAK,GAAG,CAAA;AACb,CAAA,CAAA;AAh1BK,IAAMmJ,WAAN,GAAAvM,YAAA;"}
1
+ {"version":3,"file":"smartcat.mjs","sources":["../../src/apis/smartcat.ts"],"sourcesContent":["/* eslint-disable no-await-in-loop */\nimport AdmZip from \"adm-zip\";\nimport type { AxiosInstance } from \"axios\";\nimport axios from \"axios\";\nimport { createHash } from \"crypto\";\nimport stableStringify from \"json-stable-stringify\";\nimport invert from \"lodash/invert\";\nimport type { Agent as HttpsAgent } from \"node:https\";\nimport { setTimeout as setTimeoutAsync } from \"node:timers/promises\";\nimport type { Logger as PinoLogger } from \"pino\";\n\nimport type { Nullish } from \"../types\";\nimport { Language } from \"../types\";\nimport { assert, assertUnreachable } from \"../utils/errors\";\n\ntype SmartcatCredentials = {\n apiSecret: string;\n accountId: string;\n projectId: string;\n collectionName: string;\n};\n\ntype SmartcatProject = {\n // Workflow type and id mapping for project\n workflowStages: Array<{\n id: string;\n stageType: \"translation\" | \"postediting\";\n }>;\n documents: Array<{\n // Collection name the document belongs to\n name: string;\n // Flag for if auto translations are complete on smartcat side\n pretranslateCompleted: boolean;\n // Workflow progress of a document\n workflowStages: Array<{\n id: string;\n progress: number;\n }>;\n // Target language of the document\n targetLanguage: string;\n }>;\n};\n\nexport enum SmartcatEnvironment {\n Dev = \"proto\",\n Stg = \"qa\",\n NewDesign = \"new-design\",\n Prod = \"prod\",\n}\n\ntype TranslationObject = Record<string, string>;\n\ntype TranslationUploadObject = {\n translations: TranslationObject;\n /**\n * (Optional) Labels that will be appended to all segments in the upload. Existing labels in SC remains untouched.\n */\n appendLabels?: string[];\n};\n\n/**\n * Basic check if given string only consists of digits\n * ! Doesn't support decimal and thousand separated numbers as it's not a relevant practical use case right now\n */\nconst isDigitsOnlyRegex = /^\\d+$/;\n\nexport type SmartcatApiConfig = {\n auth: SmartcatCredentials;\n /**\n * (optional) Parse single brackets variable delimiters before upstream to Smartcat, from \"{x}\" to \"{{x}}\".\n * @default false\n */\n escapeBracketDelimiters?: boolean;\n /**\n * (optional) Pass https agent to try to keep connections open.\n */\n httpsAgent?: HttpsAgent;\n /**\n * (optional) Languages that will be downloaded from Smartcat.\n * When omitted, all languages will be downloaded.\n */\n targetLanguages?: Language[];\n /**\n * (optional) Custom language to Smartcat locale mapping (e.g. microsite pt differs)\n * When omitted, default mapping will be used.\n */\n languageToSmartcatLocaleMapping?: Record<Language, string>;\n // #############################################################################\n // Logging options\n // #############################################################################\n} & (\n | {\n /**\n * (optional) To enable logging via console.log\n * @default false\n * @deprecated Use newer `logger` option instead, while transitioning for backwards compatibility `enableLogs:\n * true` will utilize console for logging.\n */\n enableLogs?: boolean;\n }\n | {\n /**\n * (optional) Pass Pino or Console (as console.log) instance to enable logging.\n * @default Console\n */\n logger?: PinoLogger | Console;\n }\n) &\n // #############################################################################\n // Suffix options\n // #############################################################################\n (| {\n /**\n * No suffix to be used in translation keys\n * @example 'commons.button.buyNow'\n */\n suffixMode: \"none\";\n }\n | {\n /**\n * Custom suffix to use in translation keys\n * @example `commons.button.buyNow.${suffix}`\n */\n suffixMode: \"custom\";\n /**\n * * ! Must be a non-empty string which doesn't contain the key delimiter \".\" character otherwise will fail\n */\n suffix: string;\n }\n | {\n /**\n * Auto generate (7-character) hash-suffix from the default (english) value\n * @example 'commons.button.buyNow.nk31jnb'\n */\n suffixMode: \"auto\";\n }\n );\n\nconst languageToSmartcatLocaleMapping: Record<Language, string> = {\n [Language.Ar]: \"ar\",\n [Language.De]: \"de\",\n [Language.En]: \"en\",\n [Language.Es]: \"es\",\n [Language.Fr]: \"fr\",\n [Language.El]: \"el\",\n [Language.It]: \"it\",\n [Language.Ja]: \"ja\",\n [Language.Pt]: \"pt-BR\",\n [Language.Zh]: \"zh-Hans\",\n [Language.Tw]: \"zh-Hant-TW\",\n};\n\n/**\n * ####################################################################################\n * # Description:\n * - Uploading a local source of truth (English) locale file to a Smartcat project.\n * Before uploading locale file, a hash is created from the value of the text entry and added as suffix to the key of the text entry.\n *\n * - Downloading translated locale files and only keep translation entries where the \"key.{hash of value}\"\n * matches exactly to the source of truth \"key.{hash of value}\"\n *\n * # Script usage:\n * - Running `runFullSync` will first upload a source of truth locale file to Smartcat,\n * then we poll the smartcat severs until the new locales are full translated by Smartcat AI.\n * When translations are done, we download and process the translated files.\n *\n * - Each of these actions can be run separately as well.\n * ####################################################################################\n */\nexport class SmartcatApi {\n private projectId: string;\n private collectionName: string;\n private axios: AxiosInstance;\n private logger?: PinoLogger | Console;\n private escapeBracketDelimiters: boolean = false;\n private suffix: string | null;\n private targetLanguages: Language[] | undefined;\n private languageToSmartcatLocaleMapping: Record<Language, string> =\n languageToSmartcatLocaleMapping;\n /**\n * Depending on input we might need or not need suffixes.\n */\n private hasSuffix: boolean;\n\n /**\n * Delimiter used to separate translation key \"parts\"\n */\n public keyDelimiter = \".\";\n\n constructor(config: SmartcatApiConfig) {\n // Legacy\n if (\"enableLogs\" in config) {\n // eslint-disable-next-line sonarjs/deprecation\n this.logger = config.enableLogs ? console : undefined;\n // Newer\n } else if (\"logger\" in config) {\n this.logger = config.logger;\n }\n this.escapeBracketDelimiters = !!config.escapeBracketDelimiters;\n this.projectId = config.auth.projectId;\n this.collectionName = config.auth.collectionName;\n this.targetLanguages = config.targetLanguages;\n\n // Language mapping override\n if (config.languageToSmartcatLocaleMapping) {\n this.languageToSmartcatLocaleMapping =\n config.languageToSmartcatLocaleMapping;\n }\n\n switch (config.suffixMode) {\n case \"none\": {\n this.suffix = null;\n this.hasSuffix = false;\n break;\n }\n case \"custom\": {\n const suffixRegex = /^[a-zA-Z0-9-]+$/;\n\n if (\n // Empty string\n !config.suffix ||\n // Contains invalid characters\n !suffixRegex.test(config.suffix) ||\n // Contains key delimiter\n config.suffix.indexOf(this.keyDelimiter) > -1\n ) {\n throw new Error(\n \"Invalid custom suffix provided for SmartcatApi.suffix. Can only contain alphanumeric characters and hyphens.\",\n );\n }\n this.suffix = config.suffix;\n this.hasSuffix = true;\n break;\n }\n case \"auto\": {\n this.suffix = null;\n this.hasSuffix = true;\n break;\n }\n default:\n throw new Error(`Unsupported or missing value for SmartcatApi.suffix`);\n }\n\n const authBase64 = Buffer.from(\n `${config.auth.accountId}:${config.auth.apiSecret}`,\n ).toString(\"base64\");\n\n this.axios = axios.create({\n httpsAgent: config.httpsAgent,\n baseURL: \"https://us.smartcat.ai/api/\",\n headers: {\n Authorization: `Basic ${authBase64}`,\n },\n });\n }\n\n // #############################################################################\n // Internal helpers\n // #############################################################################\n /**\n * Smartcat locale --> enum Language mapping for filenames\n */\n private getSmartcatLocaleToLanguageMap() {\n return invert(this.languageToSmartcatLocaleMapping);\n }\n\n // #############################################################################\n // Key/Suffix/Hash helpers\n // #############################################################################\n\n /**\n * Hash the text value from translation entry value from reference language\n */\n private generateHashSuffixFromValue(value: string): string {\n // Using same amount of chars (7) as GIT uses for shorthand hash.\n const shorthandHashCharCount = 7;\n\n return createHash(\"sha256\")\n .update(value)\n .digest(\"hex\")\n .substring(0, shorthandHashCharCount);\n }\n\n /**\n * Create suffix for given value depending on configuration\n */\n public createSuffix(value: string): string {\n assert(\n this.hasSuffix,\n \"Can't call `createSuffix` for instance without a suffix\",\n );\n\n return this.suffix || this.generateHashSuffixFromValue(value);\n }\n\n /**\n * Util to create translation key.\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.createTranslationKey(['a', 'b', 'c']) // 'a.b.c'\n */\n public createTranslationKey(parts: string[]): string {\n return parts.join(this.keyDelimiter);\n }\n\n /**\n * Util to parse a translation key\n * ! Recommended to be used to create key on consumer side of Smartcat class for a consistent experience\n *\n * @example smartcatApi.parseTranslationKey('a.b.c'); // ['a', 'b', 'c'];\n */\n public parseTranslationKey(key: string): string[] {\n return key.split(this.keyDelimiter);\n }\n\n /**\n * Returns the key with suffix created by hashing the value.\n */\n public addSuffixToKey(key: string, value: string): string {\n return this.hasSuffix\n ? this.createTranslationKey([key, this.createSuffix(value)])\n : key;\n }\n\n /**\n * Takes a SmartCat text entry key (with hash) and returns the key without it\n */\n public removeSuffixFromKey(key: string): string {\n return this.hasSuffix\n ? this.createTranslationKey(this.parseTranslationKey(key).slice(0, -1))\n : key;\n }\n\n // #############################################################################\n // Transform data helpers\n // #############################################################################\n\n /**\n * Filter out entries that are not included in source of truth\n * translations and remove suffix from keys.\n */\n public processSmartcatTranslations(\n sourceOfTruthTranslations: TranslationObject,\n smartcatTranslations: TranslationObject,\n ): TranslationObject {\n // Append suffix to source of truth translations.\n const sourceOfTruthKeysWithSuffix = new Set(\n Object.entries(sourceOfTruthTranslations).map(([key, value]) =>\n this.addSuffixToKey(key, value),\n ),\n );\n\n // Normalise translated entry keys by removing the hash from key name.\n const result: TranslationObject = {};\n for (const key in smartcatTranslations) {\n // Ignore key from smartcat if not in source-of-truth\n if (!sourceOfTruthKeysWithSuffix.has(key)) {\n continue;\n }\n\n const normalisedKey = this.removeSuffixFromKey(key);\n const value = smartcatTranslations[key];\n\n if (value !== undefined) {\n result[normalisedKey] = value;\n }\n }\n\n return result;\n }\n\n /**\n * Parse string variable delimiters between smartcat and local delimiters.\n * Only top level delimiter pairs that don't have child delimiters or child curly brackets should be transformed.\n */\n private parseVariableDelimiters(\n input: string,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): string {\n /**\n * Constant icu string delimiters that we avoid to transform,\n * can conflict with the variable delimiters without error.\n */\n const icuStringDelimiters = {\n open: \"{\",\n close: \"}\",\n };\n\n /**\n * Evaluate what delimiters to transform from and to\n */\n const delimiterOptions = {\n local: {\n open: \"{\",\n close: \"}\",\n },\n smartcat: {\n open: \"{{\",\n close: \"}}\",\n },\n };\n const delimiters =\n mode === \"toSmartcatDelimiters\"\n ? {\n from: delimiterOptions.local,\n to: delimiterOptions.smartcat,\n }\n : {\n from: delimiterOptions.smartcat,\n to: delimiterOptions.local,\n };\n\n // Cheap check - return unmodified if input does not contain any opening or any closing variable delimiters\n if (\n !input.includes(delimiters.from.open) ||\n !input.includes(delimiters.from.close)\n ) {\n return input;\n }\n\n let result = \"\"; // Final result\n let lastPosition = 0; // This helps in building the result string\n let icuStringDepth = 0;\n /**\n * When finding an opening delimiter, closing delimiter index is already\n * evaluated and therefor we store it until it's reached.\n * Gets reset to `null` when this index in the iteration is reached.\n */\n let nextValidClosingVariableDelimiterIndex: null | number = null;\n\n for (let i = 0; i < input.length; i++) {\n // Hold current char\n const currentChar = input[i];\n\n // If currently inside ICU string, track the depth and continue to next char\n if (icuStringDepth > 0) {\n if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n } else if (currentChar === icuStringDelimiters.close) {\n icuStringDepth--;\n }\n\n continue;\n }\n\n /**\n * Encounter of a closing delimiter\n */\n if (i === nextValidClosingVariableDelimiterIndex) {\n // Get inner content between variable delimiters\n const variableInnerContent = input.slice(\n lastPosition + delimiters.from.open.length,\n i,\n );\n // Transform delimiters\n result += `${delimiters.to.open}${variableInnerContent}${delimiters.to.close}`;\n // Move the last position past this closing brace\n lastPosition = i + delimiters.from.close.length;\n // Reset closing delimiter index\n nextValidClosingVariableDelimiterIndex = null;\n // Go next after closing variable\n continue;\n } else if (nextValidClosingVariableDelimiterIndex !== null) {\n // Go next until reaching closing variable delimiter\n continue;\n }\n\n /**\n * Evaluate if current position is index of an opening delimiter\n */\n const isVariableOpeningBracketPattern =\n input.substring(i, i + delimiters.from.open.length) ===\n delimiters.from.open;\n if (isVariableOpeningBracketPattern) {\n // Evaluate start and end indexes of variable brackets.\n const innerContentStartIndex = i + delimiters.from.open.length;\n const closingVariableDelimiterIndex = input.indexOf(\n delimiters.from.close,\n innerContentStartIndex,\n );\n\n // Check if we can find the closing delimiter, else the opening delimiter can not be valid\n if (closingVariableDelimiterIndex !== -1) {\n // Variable delimiters inner content, excluding the delimiters\n const variableInnerContent = input.substring(\n innerContentStartIndex,\n closingVariableDelimiterIndex,\n );\n // Characters not allowed for variable inner content - helps to avoid transforming ICU string delimiters\n const illegalVariableCharacterRegex = /[{},#]/;\n // If delimiters inner content contains illegal characters, the opening bracket is not a valid variable.\n const isValidVariableOpeningDelimiters =\n !illegalVariableCharacterRegex.test(variableInnerContent);\n\n if (isValidVariableOpeningDelimiters) {\n // Append everything up to this delimiter to the result\n result += input.substring(lastPosition, i);\n // Update the last position to the current index\n lastPosition = i;\n // Store the closing delimiter index\n nextValidClosingVariableDelimiterIndex =\n closingVariableDelimiterIndex;\n } else if (currentChar === icuStringDelimiters.open) {\n // When reached - ICU string begins here\n icuStringDepth++;\n }\n }\n } else if (currentChar === icuStringDelimiters.open) {\n icuStringDepth++;\n }\n }\n\n // Append any remaining part of the input string to result\n result += input.slice(lastPosition);\n return result;\n }\n\n /**\n * Helper to parse variable placeholders for a translation file\n */\n public parseTranslationVariableDelimiters(\n translations: TranslationObject,\n mode: \"toSmartcatDelimiters\" | \"toLocalDelimiters\",\n ): TranslationObject {\n return Object.fromEntries(\n Object.entries(translations).map(([key, value]) => [\n key,\n this.parseVariableDelimiters(value, mode),\n ]),\n );\n }\n\n /**\n * Check if SmartCat has translated all target languages.\n */\n private async checkProjectTranslationStatus(): Promise<boolean> {\n try {\n // Fetch project data\n const res = await this.axios.get(\n `/integration/v1/project/${this.projectId}`,\n );\n const project = res.data as SmartcatProject;\n\n // Find the auto translation workflow id\n const autoTranslationWorkflowId = project.workflowStages.find(\n (workflow) => workflow.stageType === \"translation\",\n )?.id;\n if (!autoTranslationWorkflowId) {\n throw new Error(\n \"Could not find auto translation workflow id in SmartCat project.\",\n );\n }\n\n // Get relevant documents\n const documents = project.documents.filter((doc) => {\n const isInCollection = doc.name === this.collectionName;\n const isRequestedTargetLanguage = Boolean(\n !this.targetLanguages ||\n this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .includes(doc.targetLanguage),\n );\n\n return isInCollection && isRequestedTargetLanguage;\n });\n\n // Check if all documents have 100% progress in auto translation workflow\n return documents.every((doc) => {\n const autoTranslationWorkflow = doc.workflowStages.find(\n (workflow) => workflow.id === autoTranslationWorkflowId,\n );\n return autoTranslationWorkflow?.progress === 100;\n });\n } catch (error) {\n this.logger?.error(error, \"❌ Failed to get project\");\n throw error;\n }\n }\n\n // #############################################################################\n // Api methods\n // #############################################################################\n\n /**\n * Download translations from Smartcat.\n */\n public async downloadSmartcatTranslations(\n defaultTranslations: TranslationObject,\n options?: {\n /**\n * (optional) List of labels to export keys that are marked with labels\n * @default undefined\n */\n labels?: string[];\n /**\n * (optional) Max attempt count for polling download ready status.\n * @default 10\n */\n maxAttemptCount?: number;\n /**\n * (optional) Interval in milliseconds between each polling attempt.\n * @default 5000\n */\n intervalMs?: number;\n },\n ): Promise<Record<Language, TranslationObject>> {\n // https://developers.smartcat.com/api/#run-export-from-software-localization-project\n const url = `integration/v2/project/${this.projectId}/export`;\n const params = {\n \"completion-state\": \"draft\",\n \"output-file-path-template\": \"{LANGUAGE}.json\",\n collections: this.collectionName,\n zip: \"true\",\n languages: this.targetLanguages\n ?.map((lang) => this.languageToSmartcatLocaleMapping[lang])\n .join(\",\"),\n labels: SmartcatApi.prepareLabels(options?.labels),\n // FIXME: Look into only exporting values that has changed since last export minus some time via `modified-since`\n };\n\n const smartcatLocaleToLanguageMap = this.getSmartcatLocaleToLanguageMap();\n\n try {\n const exportResponse = await this.axios.post(\n url,\n {},\n {\n params,\n headers: {\n \"Content-Type\": \"application/json-patch+json\",\n },\n },\n );\n const taskID = exportResponse.data;\n\n const pollMaxAttemptCount = options?.maxAttemptCount ?? 10;\n const pollInterval = options?.intervalMs ?? 5000;\n\n const translations: Record<string, TranslationObject> = {};\n let pollAttempt = 0;\n let exportSuccessful = false;\n\n // Polling loop to check if the export is successful\n while (!exportSuccessful && pollAttempt < pollMaxAttemptCount) {\n pollAttempt += 1;\n\n const checkUrl = `integration/v1/document/export/${taskID}/`;\n const checkResponse = await this.axios.get(checkUrl, {\n responseType: \"arraybuffer\",\n // Don't throw errors for all errors below 500 so we can handle it gracefully\n validateStatus: (status) => status < 500,\n });\n\n if (checkResponse.status === 200) {\n // Unzip and discard the zip file, rename.\n const zip = new AdmZip(checkResponse.data);\n const zipEntries = zip.getEntries();\n\n for (const zipEntry of zipEntries) {\n if (!zipEntry.isDirectory) {\n // Extract the content of the file\n const data = zip.readFile(zipEntry);\n\n if (!data) {\n throw new Error(\n \"Exported smarcat document does not include any data\",\n );\n }\n\n const locale = zipEntry.entryName.replace(\".json\", \"\");\n const mappedLocale = smartcatLocaleToLanguageMap[locale];\n\n if (!mappedLocale) {\n this.logger?.warn(\n `Couldn't find map for SmartCat locale ${locale}, skipping file.`,\n );\n continue;\n }\n\n const parsedTranslations = JSON.parse(data.toString());\n\n // Process downloaded translations.\n let result = this.processSmartcatTranslations(\n defaultTranslations,\n parsedTranslations,\n );\n\n // Escape content variable delimiters.\n if (this.escapeBracketDelimiters) {\n result = this.parseTranslationVariableDelimiters(\n result,\n \"toLocalDelimiters\",\n );\n }\n\n translations[mappedLocale] = result;\n }\n }\n\n // Exit loop.\n exportSuccessful = true;\n } else if (checkResponse.status === 204) {\n this.logger?.info(\n `The task ID ${taskID} is not ready yet, will try again`,\n );\n\n // Wait for some time before checking again\n await setTimeoutAsync(pollInterval);\n } else if (checkResponse.status === 404) {\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 404`,\n );\n } else if (checkResponse.status === 422) {\n let response: unknown;\n try {\n // Convert ArrayBuffer to Buffer\n const buffer = Buffer.from(checkResponse.data);\n // Decode buffer to string\n const jsonString = buffer.toString(\"utf8\");\n\n response = jsonString;\n } catch {\n response = \"!! Unable to parse response !!\";\n }\n this.logger?.error(\n response,\n \"❌ Failed to download smartcat translations, endpoint returned 422\",\n );\n throw new Error(\n `Failed to download smartcat translations, endpoint returned 422`,\n );\n } else {\n // Unknown status response.\n throw new Error(\n `Failed to download smartcat translations, endpoint returned unknown status code ${checkResponse.status}`,\n );\n }\n }\n\n if (!exportSuccessful) {\n throw new Error(\n \"Max retries reached when trying to export files from SmartCat.\",\n );\n }\n\n this.logger?.info(\n \"✅ Download target language locale documents complete.\",\n );\n\n return translations;\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed downloading locale files from SmartCat\\n\",\n );\n\n throw error;\n }\n }\n\n /**\n * Exposed method for uploading source translations to Smartcat.\n */\n public async uploadSourceTranslations(\n // Source translations that will be uploaded to SmartCat.\n sourceTranslations: TranslationUploadObject | TranslationUploadObject[],\n options?: {\n // When true, deleting all keys in the smartcat collection that does not exist in sourceTranslations.\n deleteMissingKeys?: boolean;\n },\n ): Promise<void> {\n try {\n const rawTranslationUploads = Array.isArray(sourceTranslations)\n ? sourceTranslations\n : [sourceTranslations];\n\n /**\n * Prepare translations for upload by:\n * 1. Ignore non-translatable values.\n * 2. Add suffix to key based on settings.\n * 3. Escape variable delimiters based on settings.\n */\n const preparedTranslationUploads = rawTranslationUploads.map(\n (translationUpload) => {\n let translations: TranslationObject = {};\n\n for (const [key, value] of Object.entries(\n translationUpload.translations,\n )) {\n if (!SmartcatApi.isTranslatableValue(value)) {\n continue;\n }\n const suffixedKey = this.addSuffixToKey(key, value);\n translations[suffixedKey] = value;\n }\n\n // Prepare variable delimiters.\n if (this.escapeBracketDelimiters) {\n translations = this.parseTranslationVariableDelimiters(\n translations,\n \"toSmartcatDelimiters\",\n );\n }\n\n return {\n ...translationUpload,\n translations,\n };\n },\n );\n\n /**\n * Upload all translations together and make the data purge in SC.\n */\n if (options?.deleteMissingKeys) {\n // Merge all prepared translations into one object.\n const combinedTranslations: TranslationObject =\n preparedTranslationUploads.reduce((acc, current) => {\n return { ...acc, ...current.translations };\n }, {});\n\n await this.smartcatUploadRequest(combinedTranslations, {\n deleteMissingKeys: true,\n });\n\n this.logger?.info(\"🧹 Deleted unused translations from Smartcat.\");\n }\n\n /**\n * Upload each translation object separately to apply labels.\n */\n for (const translationUpload of preparedTranslationUploads) {\n await this.smartcatUploadRequest(translationUpload.translations, {\n labels: translationUpload.appendLabels,\n });\n }\n\n this.logger?.info(\"✅ Upload source translations to SmartCat complete.\");\n } catch (error) {\n this.logger?.error(\n error,\n \"❌ Failed uploading source translations to SmartCat.\",\n );\n throw error;\n }\n }\n\n /**\n * Internal helper method for uploading source translations to Smartcat.\n * @see https://developers.smartcat.com/api/#import-keys-and-values-from-files-into-the-software-localization-project\n */\n private async smartcatUploadRequest(\n sourceTranslations: TranslationObject,\n options?: {\n labels?: string[];\n deleteMissingKeys?: boolean;\n },\n ) {\n const queryParams = {\n format: \"json\",\n language: \"en\",\n collection: this.collectionName,\n \"delete-missing-keys\": !!options?.deleteMissingKeys,\n // TODO: was fallback empty string really needed?\n labels: SmartcatApi.prepareLabels(options?.labels) || \"\",\n };\n\n const url = `integration/v2/project/${this.projectId}/import`;\n\n const smartCatSourceLanguageBuffer = Buffer.from(\n JSON.stringify(sourceTranslations),\n );\n\n const fileBlob = new Blob([smartCatSourceLanguageBuffer], {\n type: \"application/octet-stream\",\n });\n\n const formData = new FormData();\n formData.append(\"file\", fileBlob);\n\n await this.axios.post(url, formData, {\n params: queryParams,\n headers: { \"Content-Type\": \"multipart/form-data\" },\n });\n }\n\n /**\n * Wait for SmartCat to fully translate all target languages.\n */\n public pollAndWaitForCompletedTranslations = async (\n pollRunLimit = 20,\n pollIntervalMs = 10000,\n ): Promise<boolean> => {\n let pollRunCount = 0;\n let translationCompleted = false;\n\n while (!translationCompleted && pollRunCount < pollRunLimit) {\n this.logger?.info(`⌛ SmartCat translations in progress.`);\n\n translationCompleted = await this.checkProjectTranslationStatus();\n pollRunCount += 1;\n\n if (!translationCompleted) {\n await setTimeoutAsync(pollIntervalMs);\n }\n }\n\n /**\n * HACK\n * Since there is a bug with smartcat returning true for `pretranslateCompleted`\n * before they are updated in smartcat. We implement an artificial sleep to let\n * smartcat update the target translations before we download them.\n */\n if (translationCompleted) {\n await setTimeoutAsync(60000);\n }\n\n this.logger?.info(\n translationCompleted\n ? \"✅ SmartCat translations completed.\"\n : \"❌ Max retries reached when waiting for SmartCat translations to complete.\",\n );\n\n return translationCompleted;\n };\n\n /**\n * Static util to prettify translation for writing to file-system\n */\n static readonly prettifyTranslation = (\n translation: TranslationObject,\n ): string => {\n return (\n stableStringify(translation, { space: 2 }) +\n // Add EOF newline\n `\\n`\n );\n };\n\n /**\n * Checks if given value is translatable a.k.a if it's worth sending over to smartcat to translate\n */\n static readonly isTranslatableValue = (value: Nullish<string>): boolean => {\n // Trim to check if given string isn't just spaces which is not worth translating\n const parsedValue = value?.trim();\n\n // Ignore empty values\n if (!parsedValue) {\n return false;\n }\n\n // Don't translate values that are digits only\n return !isDigitsOnlyRegex.test(parsedValue);\n };\n\n /**\n * Centralized method to get Smartcat label based on environment.\n * ! Change with caution as it impacts how translaitons will be read from Smartcat.\n */\n static readonly getSmartcatLabel = (env: SmartcatEnvironment): string => {\n switch (env) {\n case SmartcatEnvironment.Dev:\n return \"DEV\";\n case SmartcatEnvironment.Stg:\n return \"STG\";\n // ! Not really reusable for other projects, didn't make sense right now to create generic label for it\n case SmartcatEnvironment.NewDesign:\n return \"NEW-DESIGN\";\n case SmartcatEnvironment.Prod:\n return \"MAIN\";\n default: {\n assertUnreachable(env);\n }\n }\n };\n\n /**\n * Get smartcat environment based on branch name\n */\n static readonly getSmartcatEnvironmentFromGhBranchName = (\n ghRepositoryBranchName: string,\n ): SmartcatEnvironment => {\n switch (ghRepositoryBranchName) {\n case \"master\":\n case \"main\": {\n return SmartcatEnvironment.Prod;\n }\n case \"new-design\": {\n return SmartcatEnvironment.NewDesign;\n }\n case \"beta\": // For store.core beta releases\n case \"stg\": // Historical GH repos\n case \"qa\": {\n return SmartcatEnvironment.Stg;\n }\n case \"alpha\": // For store.core alpha releases\n case \"dev\": // Historical GH repos\n case \"proto\": {\n return SmartcatEnvironment.Dev;\n }\n\n default: {\n throw new Error(\n `Unsupported branch name ${ghRepositoryBranchName} for Smartcat environment.`,\n );\n }\n }\n };\n\n /**\n * Util to prepare labels for passing into request parameters\n */\n static readonly prepareLabels = (labels?: string[]): string | undefined => {\n return labels\n ?.map((label) => label.trim())\n .filter(Boolean)\n .join(\",\");\n };\n}\n"],"names":["SmartcatEnvironment","isDigitsOnlyRegex","languageToSmartcatLocaleMapping","Language","Ar","De","En","Es","Fr","El","It","Ja","Pt","Zh","Tw","SmartcatApi","projectId","collectionName","axios","logger","escapeBracketDelimiters","suffix","targetLanguages","hasSuffix","keyDelimiter","constructor","config","enableLogs","console","auth","suffixMode","suffixRegex","test","indexOf","Error","authBase64","Buffer","from","accountId","apiSecret","toString","create","httpsAgent","baseURL","headers","Authorization","getSmartcatLocaleToLanguageMap","invert","generateHashSuffixFromValue","value","shorthandHashCharCount","createHash","update","digest","substring","createSuffix","assert","createTranslationKey","parts","join","parseTranslationKey","key","split","addSuffixToKey","removeSuffixFromKey","slice","processSmartcatTranslations","sourceOfTruthTranslations","smartcatTranslations","sourceOfTruthKeysWithSuffix","Set","Object","entries","map","result","has","normalisedKey","parseVariableDelimiters","input","mode","icuStringDelimiters","open","close","delimiterOptions","local","smartcat","delimiters","to","includes","lastPosition","icuStringDepth","nextValidClosingVariableDelimiterIndex","i","length","currentChar","variableInnerContent","isVariableOpeningBracketPattern","innerContentStartIndex","closingVariableDelimiterIndex","illegalVariableCharacterRegex","isValidVariableOpeningDelimiters","parseTranslationVariableDelimiters","translations","fromEntries","checkProjectTranslationStatus","res","get","project","data","autoTranslationWorkflowId","workflowStages","find","workflow","stageType","id","documents","filter","doc","isInCollection","name","isRequestedTargetLanguage","Boolean","lang","targetLanguage","every","autoTranslationWorkflow","progress","error","downloadSmartcatTranslations","defaultTranslations","options","url","params","collections","zip","languages","labels","prepareLabels","smartcatLocaleToLanguageMap","exportResponse","post","taskID","pollMaxAttemptCount","maxAttemptCount","pollInterval","intervalMs","pollAttempt","exportSuccessful","checkUrl","checkResponse","responseType","validateStatus","status","AdmZip","zipEntries","getEntries","zipEntry","isDirectory","readFile","locale","entryName","replace","mappedLocale","warn","parsedTranslations","JSON","parse","info","setTimeoutAsync","response","buffer","jsonString","uploadSourceTranslations","sourceTranslations","rawTranslationUploads","Array","isArray","preparedTranslationUploads","translationUpload","isTranslatableValue","suffixedKey","deleteMissingKeys","combinedTranslations","reduce","acc","current","smartcatUploadRequest","appendLabels","queryParams","format","language","collection","smartCatSourceLanguageBuffer","stringify","fileBlob","Blob","type","formData","FormData","append","pollAndWaitForCompletedTranslations","pollRunLimit","pollIntervalMs","pollRunCount","translationCompleted","prettifyTranslation","translation","stableStringify","space","parsedValue","trim","getSmartcatLabel","env","assertUnreachable","getSmartcatEnvironmentFromGhBranchName","ghRepositoryBranchName","label"],"mappings":";;;;;;;;;;AA2CY,IAAAA,mBAAA,GAAA,gBAAAA,oBAAL,IAAA;EACLA,qBAAA,KAAM,CAAA,GAAA,OAAA;EACNA,qBAAA,KAAM,CAAA,GAAA,IAAA;EACNA,qBAAA,WAAY,CAAA,GAAA,YAAA;EACZA,qBAAA,MAAO,CAAA,GAAA,MAAA;EAJGA,OAAAA,oBAAAA;AAAA,CAAA,EAAAA,mBAAA,IAAA,CAAA,CAAA,CAAA;AAqBZ,MAAMC,iBAAoB,GAAA,OAAA;AA0E1B,MAAMC,+BAA4D,GAAA;EAChE,CAACC,QAAS,CAAAC,EAAE,GAAG,IAAA;EACf,CAACD,QAAS,CAAAE,EAAE,GAAG,IAAA;EACf,CAACF,QAAS,CAAAG,EAAE,GAAG,IAAA;EACf,CAACH,QAAS,CAAAI,EAAE,GAAG,IAAA;EACf,CAACJ,QAAS,CAAAK,EAAE,GAAG,IAAA;EACf,CAACL,QAAS,CAAAM,EAAE,GAAG,IAAA;EACf,CAACN,QAAS,CAAAO,EAAE,GAAG,IAAA;EACf,CAACP,QAAS,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AgB,GAACD,MAA0C,IAAA;IACzE,OAAOA,MACH,EAAA/D,GAAA,CAAK+I,KAAA,IAAUA,KAAM,CAAAN,IAAA,EAAM,CAAA,CAC5B9F,MAAO,CAAAK,OAAO,CACd,CAAA9D,IAAA,CAAK,GAAG,CAAA;EACb,CAAA;AACF;"}
@@ -1,4 +1,3 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M16 5.88251L10.444 3.10555C10.164 2.96539 9.836 2.96539 9.556 3.10555L6.778 4.49403L5.655 5.05567L4 5.88251L3.556 6.10434C3.215 6.27374 3 6.62464 3 7.00781V12.8783C3 13.2615 3.215 13.6114 3.556 13.7818L10 17.0004L12.75 15.6271L13.75 15.1269L16.444 13.7808C16.785 13.6104 17 13.2605 17 12.8773V7.00781C17 6.62464 16.784 6.27374 16.444 6.10434L16 5.88251ZM10 4.00902L15.829 6.92109L13.701 7.98388L7.898 5.0587L10 4.00902ZM9.5 15.6261L4 12.8773V7.95968L9.5 10.7084V15.6261ZM4.171 6.92109L6.775 5.62034L12.578 8.54552L10 9.83317L4.171 6.92109ZM16 12.8773L13.75 14.0016L12.75 14.5018L10.5 15.6261V10.7084L12.75 9.58411V11.4546C12.75 11.7329 12.974 11.9587 13.25 11.9587C13.526 11.9587 13.75 11.7329 13.75 11.4546V9.08398L16 7.95968V12.8773Z" fill="#838691"/>
3
- </svg>
4
-
1
+ <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16 6.38208L10.444 3.60512C10.164 3.46496 9.836 3.46496 9.556 3.60512L6.778 4.9936L5.655 5.55524L4 6.38208L3.556 6.60391C3.215 6.77331 3 7.12421 3 7.50738V13.3779C3 13.7611 3.215 14.111 3.556 14.2814L10 17.5L12.75 16.1266L13.75 15.6265L16.444 14.2804C16.785 14.11 17 13.7601 17 13.3769V7.50738C17 7.12421 16.784 6.77331 16.444 6.60391L16 6.38208ZM10 4.50859L15.829 7.42067L13.701 8.48345L7.898 5.55827L10 4.50859ZM9.5 16.1256L4 13.3769V8.45925L9.5 11.208V16.1256ZM4.171 7.42067L6.775 6.11991L12.578 9.0451L10 10.3327L4.171 7.42067ZM16 13.3769L13.75 14.5012L12.75 15.0013L10.5 16.1256V11.208L12.75 10.0837V11.9541C12.75 12.2324 12.974 12.4583 13.25 12.4583C13.526 12.4583 13.75 12.2324 13.75 11.9541V9.58355L16 8.45925V13.3769Z" fill="#212124"/>
3
+ </svg>
@@ -1,4 +1,3 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none"
2
- xmlns="http://www.w3.org/2000/svg">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M5.2175 18.6475C4.9275 18.9375 4.9275 19.4175 5.2175 19.7075C5.5075 19.9975 5.9875 19.9975 6.2775 19.7075L12.4675 13.5175L18.6575 19.7075C18.9475 19.9975 19.4275 19.9975 19.7175 19.7075C20.0075 19.4175 20.0075 18.9375 19.7175 18.6475L13.5275 12.4675L19.7175 6.2775C20.0075 5.9875 20.0075 5.5075 19.7175 5.2175C19.4275 4.9275 18.9475 4.9275 18.6575 5.2175L12.4675 11.4075L6.2775 5.2175C5.9875 4.9275 5.5075 4.9275 5.2175 5.2175C4.9275 5.5075 4.9275 5.9875 5.2175 6.2775L11.4075 12.4675L5.2175 18.6475Z" fill="currentColor"/>
1
+ <svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.7175 18.6475C5.4275 18.9375 5.4275 19.4175 5.7175 19.7075C6.0075 19.9975 6.4875 19.9975 6.7775 19.7075L12.9675 13.5175L19.1575 19.7075C19.4475 19.9975 19.9275 19.9975 20.2175 19.7075C20.5075 19.4175 20.5075 18.9375 20.2175 18.6475L14.0275 12.4675L20.2175 6.2775C20.5075 5.9875 20.5075 5.5075 20.2175 5.2175C19.9275 4.9275 19.4475 4.9275 19.1575 5.2175L12.9675 11.4075L6.7775 5.2175C6.4875 4.9275 6.0075 4.9275 5.7175 5.2175C5.4275 5.5075 5.4275 5.9875 5.7175 6.2775L11.9075 12.4675L5.7175 18.6475Z" fill="#36373C"/>
4
3
  </svg>
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +1,5 @@
1
- <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M14.4 6C14.188 6 13.985 6.041 13.8 6.117V4.6C13.8 3.716 13.084 3 12.2 3C11.962 3 11.737 3.052 11.534 3.146C11.339 2.483 10.726 2 10 2C9.275 2 8.662 2.483 8.466 3.145C8.263 3.052 8.038 3 7.8 3C6.917 3 6.2 3.716 6.2 4.6V5.117C6.015 5.041 5.812 5 5.6 5C4.717 5 4 5.716 4 6.6V12C4 12.341 4.028 12.675 4.084 13C4.559 15.838 7.027 18 10 18C12.613 18 14.835 16.331 15.658 14C15.772 13.678 15.859 13.344 15.916 13C15.972 12.675 16 12.341 16 12V7.6C16 6.716 15.284 6 14.4 6ZM15 12C15 12.342 14.965 12.677 14.899 13C14.828 13.348 14.721 13.683 14.582 14C13.809 15.765 12.046 17 10 17C7.586 17 5.565 15.28 5.101 13C5.035 12.677 5 12.342 5 12V6.6C5 6.269 5.269 6 5.6 6C5.931 6 6.2 6.269 6.2 6.6V10.5C6.2 10.7761 6.42386 11 6.7 11C6.97614 11 7.2 10.7761 7.2 10.5V4.6C7.2 4.269 7.469 4 7.8 4C8.131 4 8.4 4.269 8.4 4.6V9.5C8.4 9.77614 8.62386 10 8.9 10C9.17614 10 9.4 9.77614 9.4 9.5V3.6C9.4 3.269 9.669 3 10 3C10.331 3 10.6 3.269 10.6 3.6V9.5C10.6 9.77614 10.8239 10 11.1 10C11.3761 10 11.6 9.77614 11.6 9.5V4.6C11.6 4.269 11.869 4 12.2 4C12.531 4 12.8 4.269 12.8 4.6V11.5C12.8 11.7761 13.0239 12 13.3 12C13.5761 12 13.8 11.7761 13.8 11.5V7.6C13.8 7.525 13.814 7.454 13.839 7.388C13.924 7.162 14.143 7 14.4 7C14.731 7 15 7.269 15 7.6V12Z" fill="#838691"/>
3
- </svg>
4
-
1
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g id="icon">
3
+ <path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M16.8836 6.84646V6.85954C17.2037 6.62296 17.6035 6.48247 18.0371 6.48247C19.089 6.48247 19.9417 7.30916 19.9417 8.32893V9.82431C20.2619 9.58767 20.6617 9.44714 21.0954 9.44714C22.1473 9.44714 23 10.2738 23 11.2936L22.9999 19.4738C22.9999 22.5258 20.4479 25 17.2998 25L14.9693 25C13.232 25 11.5463 24.4268 10.1897 23.3747C8.69236 22.2135 7.55375 20.6751 6.89863 18.9281L6.12164 16.8561C5.40452 14.9437 8.0391 13.5632 9.29645 15.1925L10.0161 16.1251V8.32893C10.0161 7.30916 10.8689 6.48247 11.9207 6.48247C12.3544 6.48247 12.7542 6.623 13.0744 6.85965V6.84646C13.0744 5.82669 13.9271 5 14.979 5C16.0309 5 16.8836 5.82669 16.8836 6.84646ZM21.8599 19.4738L21.86 11.2936C21.86 10.8842 21.5177 10.5524 21.0954 10.5524C20.6732 10.5524 20.3309 10.8842 20.3309 11.2936V15.7178C20.3309 16.1401 19.9885 16.4824 19.5663 16.4824C19.144 16.4824 18.8017 16.1401 18.8017 15.7178V8.32893C18.8017 7.91957 18.4594 7.58771 18.0371 7.58771C17.6149 7.58771 17.2726 7.91957 17.2726 8.32893V14.6127C17.2726 15.0349 16.9304 15.3772 16.5082 15.3772C16.0859 15.3772 15.7437 15.035 15.7436 14.6127L15.7436 6.84646C15.7436 6.4371 15.4013 6.10524 14.979 6.10524C14.5568 6.10524 14.2144 6.4371 14.2144 6.84646V15.7178C14.2144 16.1401 13.8721 16.4824 13.4499 16.4824C13.0276 16.4824 12.6853 16.1401 12.6853 15.7178V8.32893C12.6853 7.91957 12.343 7.58771 11.9207 7.58771C11.4985 7.58771 11.1562 7.91957 11.1562 8.32893L11.1562 18.4508C11.1562 18.7696 10.7374 18.9047 10.5404 18.6494L8.38362 15.8546C7.91212 15.2436 6.92414 15.7613 7.19307 16.4785L7.97005 18.5505C8.55365 20.1067 9.56796 21.4772 10.9018 22.5116C11.9609 23.3329 13.2555 23.8113 14.6035 23.8848C14.7251 23.8914 14.847 23.8948 14.9693 23.8948L15.1203 23.8948V23.8987H16.2603V23.8948H17.2998C19.8182 23.8948 21.8599 21.9154 21.8599 19.4738Z" fill="#212124"/>
4
+ </g>
5
+ </svg>
@@ -1,6 +1,2 @@
1
- export { default as box } from "./box.svg";
2
- export { default as hand } from "./hand.svg";
3
1
  export { default as minus } from "./minus.svg";
4
2
  export { default as plus } from "./plus.svg";
5
- export { default as popoverPointer } from "./popoverPointer.svg";
6
- export { default as warranty } from "./warranty.svg";
@@ -1,10 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./box.svg.js');
4
- require('./hand.svg.js');
5
3
  require('./minus.svg.js');
6
4
  require('./plus.svg.js');
7
- require('./popoverPointer.svg.js');
8
- require('./warranty.svg.js');
9
5
  "use strict";
10
6
  //# sourceMappingURL=index.js.map