@lanaco/lnc-react-ui 4.0.226 → 4.0.228

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 (267) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +1 -1
  3. package/dist/AccordionSummary.cjs +1 -1
  4. package/dist/AccordionSummary.js +1 -1
  5. package/dist/ActionsToolbar.cjs +1 -1
  6. package/dist/ActionsToolbar.js +1 -1
  7. package/dist/Alert.cjs +1 -1
  8. package/dist/Alert.js +1 -1
  9. package/dist/Avatar.cjs +1 -1
  10. package/dist/Avatar.js +1 -1
  11. package/dist/Badge.cjs +1 -1
  12. package/dist/Badge.js +1 -1
  13. package/dist/BannerNextSection.cjs +1 -1
  14. package/dist/BannerNextSection.js +1 -1
  15. package/dist/BannerSectionCarousel.cjs +3 -3
  16. package/dist/BannerSectionCarousel.js +19 -12
  17. package/dist/BannerSectionSimple.cjs +1 -1
  18. package/dist/BannerSectionSimple.js +1 -1
  19. package/dist/BannerSectionWithList.cjs +1 -1
  20. package/dist/BannerSectionWithList.js +1 -1
  21. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  22. package/dist/BlogCardsSponsoredSection.js +4 -4
  23. package/dist/BlogCategoryCardsSection.cjs +1 -1
  24. package/dist/BlogCategoryCardsSection.js +1 -1
  25. package/dist/BlogExploreSection.cjs +1 -1
  26. package/dist/BlogExploreSection.js +2 -2
  27. package/dist/BlogListSection.cjs +7 -7
  28. package/dist/BlogListSection.js +157 -207
  29. package/dist/BlogProductCardsSection.cjs +1 -1
  30. package/dist/BlogProductCardsSection.js +1 -1
  31. package/dist/BlogShopCardsSection.cjs +1 -1
  32. package/dist/BlogShopCardsSection.js +1 -1
  33. package/dist/BlogSingleSection.cjs +2 -11
  34. package/dist/BlogSingleSection.js +20 -36
  35. package/dist/BlogsSectionDetailed.cjs +1 -1
  36. package/dist/BlogsSectionDetailed.js +4 -4
  37. package/dist/BlogsSectionLarge.cjs +8 -16
  38. package/dist/BlogsSectionLarge.js +41 -59
  39. package/dist/BlogsSectionSimple.cjs +1 -1
  40. package/dist/BlogsSectionSimple.js +4 -4
  41. package/dist/BlogsSectionSimpleCentered.cjs +12 -25
  42. package/dist/BlogsSectionSimpleCentered.js +64 -98
  43. package/dist/BlogsSectionWithFilters.cjs +10 -21
  44. package/dist/BlogsSectionWithFilters.js +106 -154
  45. package/dist/BrandHitsSection.cjs +7 -7
  46. package/dist/BrandHitsSection.js +41 -87
  47. package/dist/Breadcrumbs.cjs +1 -1
  48. package/dist/Breadcrumbs.js +1 -1
  49. package/dist/Button.cjs +1 -1
  50. package/dist/Button.js +1 -1
  51. package/dist/ButtonGroup.cjs +1 -1
  52. package/dist/ButtonGroup.js +1 -1
  53. package/dist/CalorieCalculatorSection.cjs +1 -1
  54. package/dist/CalorieCalculatorSection.js +1 -1
  55. package/dist/{CategorySimpleCard-TJRJ_2Sb.js → CategorySimpleCard-BE6F0PFT.js} +1 -1
  56. package/dist/{CategorySimpleCard-lIdzBNDa.cjs → CategorySimpleCard-Dr1FxIY9.cjs} +1 -1
  57. package/dist/CheckBoxInput.cjs +1 -1
  58. package/dist/CheckBoxInput.js +1 -1
  59. package/dist/Chip.cjs +1 -1
  60. package/dist/Chip.js +1 -1
  61. package/dist/ColorInput.cjs +1 -1
  62. package/dist/ColorInput.js +1 -1
  63. package/dist/ConfirmationForm.cjs +1 -1
  64. package/dist/ConfirmationForm.js +1 -1
  65. package/dist/CustomLoanMapSection.cjs +1 -1
  66. package/dist/CustomLoanMapSection.js +1 -1
  67. package/dist/{CustomStyles-B6uutenq.js → CustomStyles-YyM49BGx.js} +1 -1
  68. package/dist/{CustomStyles-dJQPJ4s4.cjs → CustomStyles-lzAjVMnI.cjs} +1 -1
  69. package/dist/DateInput.cjs +1 -1
  70. package/dist/DateInput.js +1 -1
  71. package/dist/DecimalInput.cjs +1 -1
  72. package/dist/DecimalInput.js +1 -1
  73. package/dist/DecimalInputV2.cjs +1 -1
  74. package/dist/DecimalInputV2.js +1 -1
  75. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  76. package/dist/DetailedProductsInfinitiveSection.js +4 -4
  77. package/dist/DetailedProductsSection.cjs +1 -1
  78. package/dist/DetailedProductsSection.js +5 -5
  79. package/dist/DetailsView.cjs +1 -1
  80. package/dist/DetailsView.js +1 -1
  81. package/dist/DoubleRangeSlider.cjs +1 -1
  82. package/dist/DoubleRangeSlider.js +1 -1
  83. package/dist/DragAndDropFile.cjs +1 -1
  84. package/dist/DragAndDropFile.js +1 -1
  85. package/dist/DragDropFiles.cjs +1 -1
  86. package/dist/DragDropFiles.js +1 -1
  87. package/dist/Drawer.cjs +1 -1
  88. package/dist/Drawer.js +1 -1
  89. package/dist/Dropdown.cjs +1 -1
  90. package/dist/Dropdown.js +2 -2
  91. package/dist/DropdownItem.cjs +1 -1
  92. package/dist/DropdownItem.js +1 -1
  93. package/dist/DropdownLookup.cjs +1 -1
  94. package/dist/DropdownLookup.js +1 -1
  95. package/dist/DropdownMenu.cjs +1 -1
  96. package/dist/DropdownMenu.js +1 -1
  97. package/dist/EditableTable.cjs +1 -1
  98. package/dist/EditableTable.js +1 -1
  99. package/dist/FeedbackSection.cjs +1 -1
  100. package/dist/FeedbackSection.js +1 -1
  101. package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
  102. package/dist/FieldOfInterestsMasonrySection.js +105 -159
  103. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
  104. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
  105. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  106. package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
  107. package/dist/FileInput.cjs +1 -1
  108. package/dist/FileInput.js +1 -1
  109. package/dist/FlexGridItem.cjs +1 -1
  110. package/dist/FlexGridItem.js +1 -1
  111. package/dist/FormField.cjs +1 -1
  112. package/dist/FormField.js +1 -1
  113. package/dist/FormView.cjs +1 -1
  114. package/dist/FormView.js +1 -1
  115. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  116. package/dist/GeneralWithTagsCardsSection.js +2 -2
  117. package/dist/GiftCardsSection.cjs +10 -14
  118. package/dist/GiftCardsSection.js +77 -147
  119. package/dist/Icon.cjs +1 -1
  120. package/dist/Icon.js +1 -1
  121. package/dist/IconButton.cjs +1 -1
  122. package/dist/IconButton.js +1 -1
  123. package/dist/Kanban.cjs +1 -1
  124. package/dist/Kanban.js +1 -1
  125. package/dist/KanbanActionsToolbar.cjs +1 -1
  126. package/dist/KanbanActionsToolbar.js +1 -1
  127. package/dist/KanbanView.cjs +1 -1
  128. package/dist/KanbanView.js +1 -1
  129. package/dist/Link.cjs +1 -1
  130. package/dist/Link.js +1 -1
  131. package/dist/LoanCalculatorSection.cjs +1 -1
  132. package/dist/LoanCalculatorSection.js +1 -1
  133. package/dist/LocationFinderSection.cjs +1 -1
  134. package/dist/LocationFinderSection.js +1 -1
  135. package/dist/LocationSearchSection.cjs +1 -1
  136. package/dist/LocationSearchSection.js +1 -1
  137. package/dist/MasonryGeneralCardsSection.cjs +10 -10
  138. package/dist/MasonryGeneralCardsSection.js +45 -44
  139. package/dist/MenuItem.cjs +1 -1
  140. package/dist/MenuItem.js +1 -1
  141. package/dist/Modal.cjs +1 -1
  142. package/dist/Modal.js +1 -1
  143. package/dist/MultiSelectDropdown.cjs +1 -1
  144. package/dist/MultiSelectDropdown.js +1 -1
  145. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  146. package/dist/MultiSelectDropdownLookup.js +1 -1
  147. package/dist/NestedDropdownItem.cjs +1 -1
  148. package/dist/NestedDropdownItem.js +1 -1
  149. package/dist/NestedMenuItem.cjs +1 -1
  150. package/dist/NestedMenuItem.js +1 -1
  151. package/dist/NotificationContainer.cjs +1 -1
  152. package/dist/NotificationContainer.js +1 -1
  153. package/dist/NotificationMessage.cjs +1 -1
  154. package/dist/NotificationMessage.js +1 -1
  155. package/dist/NumberInput.cjs +1 -1
  156. package/dist/NumberInput.js +1 -1
  157. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  158. package/dist/OverlayGeneralCardsSection.js +1 -1
  159. package/dist/PartnerBrandsSection.cjs +1 -1
  160. package/dist/PartnerBrandsSection.js +1 -1
  161. package/dist/PartnerCardsSection.cjs +1 -1
  162. package/dist/PartnerCardsSection.js +1 -1
  163. package/dist/PartnerStatsSection.cjs +1 -1
  164. package/dist/PartnerStatsSection.js +1 -1
  165. package/dist/PasswordInput.cjs +1 -1
  166. package/dist/PasswordInput.js +1 -1
  167. package/dist/PopoverContent.cjs +1 -1
  168. package/dist/PopoverContent.js +1 -1
  169. package/dist/ProductsWithBannerSection.cjs +13 -13
  170. package/dist/ProductsWithBannerSection.js +87 -168
  171. package/dist/ProgressBar.cjs +1 -1
  172. package/dist/ProgressBar.js +1 -1
  173. package/dist/QuattroCardsSection.cjs +1 -1
  174. package/dist/QuattroCardsSection.js +2 -2
  175. package/dist/QuizSection.cjs +1 -1
  176. package/dist/QuizSection.js +1 -1
  177. package/dist/RadioInput.cjs +1 -1
  178. package/dist/RadioInput.js +1 -1
  179. package/dist/RangeSlider.cjs +1 -1
  180. package/dist/RangeSlider.js +1 -1
  181. package/dist/ReviewsSection.cjs +18 -22
  182. package/dist/ReviewsSection.js +101 -163
  183. package/dist/SalesCampaignsSection.cjs +25 -25
  184. package/dist/SalesCampaignsSection.js +267 -306
  185. package/dist/Separator.cjs +1 -1
  186. package/dist/Separator.js +1 -1
  187. package/dist/ShopCardsSection.cjs +6 -19
  188. package/dist/ShopCardsSection.js +56 -102
  189. package/dist/Sidebar.cjs +1 -1
  190. package/dist/Sidebar.js +1 -1
  191. package/dist/SimpleCategoriesSection.cjs +3 -3
  192. package/dist/SimpleCategoriesSection.js +65 -68
  193. package/dist/SimpleProductsSection.cjs +7 -7
  194. package/dist/SimpleProductsSection.js +65 -138
  195. package/dist/Spinner.cjs +1 -1
  196. package/dist/Spinner.js +1 -1
  197. package/dist/StatsSection.cjs +1 -1
  198. package/dist/StatsSection.js +1 -1
  199. package/dist/Surface.cjs +1 -1
  200. package/dist/Surface.js +1 -1
  201. package/dist/SwipeableDrawer.cjs +1 -1
  202. package/dist/SwipeableDrawer.js +1 -1
  203. package/dist/TabItem.cjs +1 -1
  204. package/dist/TabItem.js +1 -1
  205. package/dist/Table.cjs +1 -1
  206. package/dist/Table.js +1 -1
  207. package/dist/TableView.cjs +1 -1
  208. package/dist/TableView.js +1 -1
  209. package/dist/TextAreaInput.cjs +1 -1
  210. package/dist/TextAreaInput.js +1 -1
  211. package/dist/TextInput.cjs +1 -1
  212. package/dist/TextInput.js +1 -1
  213. package/dist/ThemeProvider.cjs +1 -1
  214. package/dist/ThemeProvider.js +1 -1
  215. package/dist/TimeInput.cjs +1 -1
  216. package/dist/TimeInput.js +1 -1
  217. package/dist/Toggle.cjs +1 -1
  218. package/dist/Toggle.js +1 -1
  219. package/dist/TreeMenuSeparator.cjs +1 -1
  220. package/dist/TreeMenuSeparator.js +1 -1
  221. package/dist/UploadedFile.cjs +1 -1
  222. package/dist/UploadedFile.js +1 -1
  223. package/dist/UrgentSaleProductsSection.cjs +1 -1
  224. package/dist/UrgentSaleProductsSection.js +1 -1
  225. package/dist/index-B7fBsitY.js +45 -0
  226. package/dist/{index-BkztbBWe.cjs → index-B96icAp4.cjs} +1 -1
  227. package/dist/index-BMAvJQBG.cjs +9 -0
  228. package/dist/index-BUdvfHpp.cjs +5 -0
  229. package/dist/{index-tdg_Vmed.cjs → index-BXkL0HmX.cjs} +1 -1
  230. package/dist/index-C6amCwRZ.js +25 -0
  231. package/dist/index-C8R9lsWG.cjs +1 -0
  232. package/dist/{index-Djo0ZcRE.js → index-CCwfh-7A.js} +1 -1
  233. package/dist/{index-jGcy-5M_.js → index-CNUuIL97.js} +2 -2
  234. package/dist/index-CeQvy566.cjs +11 -0
  235. package/dist/{index-DsINTjQk.cjs → index-ChHUGfjn.cjs} +1 -1
  236. package/dist/index-Cyt4EUZ6.js +20 -0
  237. package/dist/{index-DEypPQRI.js → index-D6_3Q8lN.js} +1 -1
  238. package/dist/{index-D4-_TrSn.cjs → index-DnbzopIv.cjs} +1 -1
  239. package/dist/{index-rhYVjszT.js → index-DtVJCOWc.js} +2 -2
  240. package/dist/index-DueyY06i.cjs +368 -0
  241. package/dist/{index-D4OKsSqi.cjs → index-HzW6OHFF.cjs} +1 -1
  242. package/dist/{index-3GKF_7BJ.cjs → index-RrqW9QBJ.cjs} +1 -1
  243. package/dist/index-VTkAaA-n.js +18 -0
  244. package/dist/{index-CM6vzQBx.js → index-eOeAkUSU.js} +1 -1
  245. package/dist/{index-Dx2hfxCG.js → index-gHaK62BZ.js} +2 -2
  246. package/dist/index-zIt6TVeg.js +753 -0
  247. package/dist/index.cjs +1 -1
  248. package/dist/index.js +2 -2
  249. package/dist/style-BFPpppS9.js +73 -0
  250. package/dist/{style-D54KOzZj.js → style-CP_urKvc.js} +1 -1
  251. package/dist/style-CQdEALKR.cjs +59 -0
  252. package/dist/{style-Boz6dk5s.cjs → style-cJUZrJoG.cjs} +1 -1
  253. package/dist/{utils-CITgSxXe.cjs → utils-BK6B_Y9X.cjs} +2 -2
  254. package/dist/{utils-MoGhNMmj.js → utils-BUdHa0nB.js} +16 -23
  255. package/package.json +1 -1
  256. package/dist/index-BGNavrtB.cjs +0 -368
  257. package/dist/index-BHcrzV2G.js +0 -54
  258. package/dist/index-Bj1KWOV4.cjs +0 -11
  259. package/dist/index-BsAddfgC.cjs +0 -1
  260. package/dist/index-Cn4bq6ZX.js +0 -84
  261. package/dist/index-CuRcxKQH.js +0 -42
  262. package/dist/index-DB1J-G6Z.js +0 -38
  263. package/dist/index-DkPva6Gr.cjs +0 -20
  264. package/dist/index-fzBXDy05.cjs +0 -16
  265. package/dist/index-gFZSZLba.js +0 -882
  266. package/dist/style-DvkivBNg.js +0 -74
  267. package/dist/style-Ito6YFqi.cjs +0 -64
@@ -1,13 +1,13 @@
1
- import { jsxs as t, jsx as r, Fragment as W } from "react/jsx-runtime";
2
- import { forwardRef as N, useRef as P, Suspense as U, memo as G, useMemo as j } from "react";
3
- import { s as R } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { d as h } from "./breakpoints-BubDitvo.js";
5
- import { u as M } from "./useDetectMobile-B0Jog4jQ.js";
6
- import { R as y } from "./style-D54KOzZj.js";
7
- import { n as B, m as L, l as C } from "./utils-MoGhNMmj.js";
8
- import { P as _ } from "./index-DEypPQRI.js";
9
- import { b as s, a as i, S as g, c as f } from "./style-DvkivBNg.js";
10
- const z = R.div`
1
+ import { jsxs as s, jsx as r, Fragment as v } from "react/jsx-runtime";
2
+ import { forwardRef as P, useRef as N, Suspense as U, memo as W, useMemo as y } from "react";
3
+ import { s as g } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
+ import { d } from "./breakpoints-BubDitvo.js";
5
+ import { u as R } from "./useDetectMobile-B0Jog4jQ.js";
6
+ import { R as j } from "./style-CP_urKvc.js";
7
+ import { n as M, m as z, l as b } from "./utils-BUdHa0nB.js";
8
+ import { P as B } from "./index-D6_3Q8lN.js";
9
+ import { b as _, a as h, c as C, e as D, d as I } from "./style-BFPpppS9.js";
10
+ const L = g.div`
11
11
  width: 100%;
12
12
  height: 22.5rem;
13
13
  min-height: 22.5rem;
@@ -25,7 +25,7 @@ const z = R.div`
25
25
  object-fit: cover;
26
26
  }
27
27
 
28
- @media ${h("S")} {
28
+ @media ${d("S")} {
29
29
  height: 100%;
30
30
  min-height: 100%;
31
31
  max-height: 100%;
@@ -40,25 +40,25 @@ const z = R.div`
40
40
  }
41
41
  }
42
42
  }
43
- `, D = R.div`
43
+ `, T = g.div`
44
44
  display: grid;
45
- grid-template-columns: ${(a) => `repeat(${a.limit}, minmax(0, 1fr))`};
45
+ grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
46
46
  gap: 1.25rem;
47
47
 
48
- @media ${h("M")} {
48
+ @media ${d("M")} {
49
49
  grid-template-columns: repeat(3, minmax(0, 1fr));
50
50
  }
51
51
 
52
- @media ${h("S")} {
52
+ @media ${d("S")} {
53
53
  grid-template-columns: repeat(2, minmax(0, 1fr));
54
54
  gap: 1rem;
55
55
  }
56
56
 
57
- @media ${h("XS")} {
57
+ @media ${d("XS")} {
58
58
  grid-template-columns: 1fr;
59
59
  gap: 0.75rem;
60
60
  }
61
- `, I = R.a`
61
+ `, q = g.a`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  gap: 0.5rem;
@@ -76,10 +76,10 @@ const z = R.div`
76
76
  & .card-title {
77
77
  font-size: 0.875rem;
78
78
  font-weight: 600;
79
- ${B(2)}
79
+ ${M(2)}
80
80
  }
81
81
 
82
- @media ${h("S")} {
82
+ @media ${d("S")} {
83
83
  & img {
84
84
  width: 8.875rem;
85
85
  height: 8.875rem;
@@ -90,198 +90,117 @@ const z = R.div`
90
90
  object-fit: cover;
91
91
  }
92
92
  }
93
- `, T = N((a, l) => {
93
+ `, A = P((t, n) => {
94
94
  const {
95
95
  uuid: o,
96
- title: m,
96
+ title: i,
97
97
  image: c,
98
- sellerUuid: v,
99
- onSelectCard: S = () => {
98
+ sellerUuid: $,
99
+ onSelectCard: f = () => {
100
100
  },
101
- imageComponent: p,
102
- metadata: d,
103
- nameSlug: n,
104
- LinkComponent: u
105
- } = a, b = u || "a", w = P(null);
106
- return /* @__PURE__ */ t(
107
- I,
101
+ imageComponent: u,
102
+ metadata: a,
103
+ nameSlug: m,
104
+ LinkComponent: l
105
+ } = t, p = l || "a", S = N(null);
106
+ return /* @__PURE__ */ s(
107
+ q,
108
108
  {
109
- ref: w,
109
+ ref: S,
110
110
  className: "product-card",
111
- name: d == null ? void 0 : d.name,
112
- "data-accessor": d == null ? void 0 : d.accessor,
113
- onClick: (e) => S(e, l),
114
- as: b,
115
- ...u ? {
116
- to: `/product/${C(n) ? `${n}-` : ""}${o}`
111
+ name: a == null ? void 0 : a.name,
112
+ "data-accessor": a == null ? void 0 : a.accessor,
113
+ onClick: (e) => f(e, n),
114
+ as: p,
115
+ ...l ? {
116
+ to: `/product/${b(m) ? `${m}-` : ""}${o}`
117
117
  } : {
118
- href: `/product/${C(n) ? `${n}-` : ""}${o}`
118
+ href: `/product/${b(m) ? `${m}-` : ""}${o}`
119
119
  },
120
120
  children: [
121
- L(p) ? p : /* @__PURE__ */ r(_, { src: c }),
122
- /* @__PURE__ */ r("div", { className: "card-title", children: m })
121
+ z(u) ? u : /* @__PURE__ */ r(B, { src: c }),
122
+ /* @__PURE__ */ r("div", { className: "card-title", children: i })
123
123
  ]
124
124
  }
125
125
  );
126
- }), q = R(s)`
127
- @media ${h("S")} {
126
+ }), E = g(_)`
127
+ @media ${d("S")} {
128
128
  & .skeleton__banner {
129
129
  height: 100%;
130
130
  aspect-ratio: 1 / 1;
131
131
  }
132
132
  }
133
- `, E = ({ keyPrefix: a }) => /* @__PURE__ */ t(q, { children: [
134
- /* @__PURE__ */ r(i, { height: "22.5rem", className: "skeleton__banner" }),
135
- /* @__PURE__ */ t(g, { children: [
136
- /* @__PURE__ */ t(s, { gap: "0.5rem", children: [
137
- /* @__PURE__ */ r(
138
- f,
139
- {
140
- height: "100%",
141
- width: "100%",
142
- borderRadius: "0.75rem"
143
- }
144
- ),
145
- /* @__PURE__ */ r(s, { height: "1rem", children: /* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }) }),
146
- /* @__PURE__ */ t(g, { gap: "0.5rem", children: [
147
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
148
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
149
- ] }),
150
- /* @__PURE__ */ r(s, { height: "2rem", children: /* @__PURE__ */ r(i, { height: "2rem", borderRadius: "0.75rem" }) })
151
- ] }, `${a}-1`),
152
- /* @__PURE__ */ t(
153
- s,
154
- {
155
- gap: "0.5rem",
156
- noGradient: !0,
157
- children: [
158
- /* @__PURE__ */ r(
159
- f,
160
- {
161
- height: "100%",
162
- width: "100%",
163
- borderRadius: "0.75rem"
164
- }
165
- ),
166
- /* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
167
- /* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
168
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
169
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
170
- ] }),
171
- /* @__PURE__ */ r(i, { height: "2rem", borderRadius: "0.75rem" })
172
- ]
173
- },
174
- `${a}-2`
175
- ),
176
- /* @__PURE__ */ t(
177
- s,
178
- {
179
- gap: "0.5rem",
180
- noGradient: !0,
181
- children: [
182
- /* @__PURE__ */ r(
183
- f,
184
- {
185
- height: "100%",
186
- width: "100%",
187
- borderRadius: "0.75rem"
188
- }
189
- ),
190
- /* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
191
- /* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
192
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
193
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
194
- ] }),
195
- /* @__PURE__ */ r(i, { height: "2rem", borderRadius: "0.75rem" })
196
- ]
197
- },
198
- `${a}-3`
199
- ),
200
- /* @__PURE__ */ t(
201
- s,
202
- {
203
- gap: "0.5rem",
204
- noGradient: !0,
205
- children: [
206
- /* @__PURE__ */ r(
207
- f,
208
- {
209
- height: "100%",
210
- width: "100%",
211
- borderRadius: "0.75rem"
212
- }
213
- ),
214
- /* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
215
- /* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
216
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
217
- /* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
218
- ] }),
219
- /* @__PURE__ */ r(i, { height: "2rem", borderRadius: "0.75rem" })
220
- ]
221
- },
222
- `${a}-4`
223
- )
224
- ] })
225
- ] }), F = ({
226
- keyPrefix: a,
227
- isLoading: l = !1,
228
- fallbackComponent: o = /* @__PURE__ */ r(W, {}),
229
- children: m
230
- }) => /* @__PURE__ */ r(U, { fallbackComponent: o, children: l === !0 ? /* @__PURE__ */ r(E, { keyPrefix: a }) : m }), k = G(T), Z = N((a, l) => {
133
+ `, F = ({ keyPrefix: t }) => /* @__PURE__ */ s(E, { children: [
134
+ /* @__PURE__ */ r(h, { width: "100%", height: "10rem", className: "skeleton__banner" }),
135
+ /* @__PURE__ */ r(C, { children: [1, 2, 3, 4].map((n) => /* @__PURE__ */ s(D, { gap: "0.5rem", children: [
136
+ /* @__PURE__ */ r(I, { size: "6rem" }),
137
+ /* @__PURE__ */ r(h, { width: "100%", height: "1rem" }),
138
+ /* @__PURE__ */ s(C, { gap: "0.5rem", children: [
139
+ /* @__PURE__ */ r(h, { width: "100%", height: "1.5rem" }),
140
+ /* @__PURE__ */ r(h, { width: "100%", height: "1.5rem" })
141
+ ] }),
142
+ /* @__PURE__ */ r(h, { width: "100%", height: "1.5rem" })
143
+ ] }, `${t}-${n}`)) })
144
+ ] }), G = ({
145
+ keyPrefix: t,
146
+ isLoading: n = !1,
147
+ fallbackComponent: o = /* @__PURE__ */ r(v, {}),
148
+ children: i
149
+ }) => /* @__PURE__ */ r(U, { fallbackComponent: o, children: n === !0 ? /* @__PURE__ */ r(F, { keyPrefix: t }) : i }), k = W(A), x = P((t, n) => {
231
150
  const {
232
151
  icon: o,
233
- items: m,
152
+ items: i,
234
153
  limit: c = 4,
235
- imageUrl: v,
236
- title: S = "Season inspiration",
237
- isLoading: p = !1,
238
- getImage: d = () => {
154
+ imageUrl: $,
155
+ title: f = "Season inspiration",
156
+ isLoading: u = !1,
157
+ getImage: a = () => {
239
158
  },
240
- componentName: n,
241
- LinkComponent: u
242
- } = a, b = M(), w = j(() => /* @__PURE__ */ r(W, { children: b === !0 ? m == null ? void 0 : m.map((e, $) => /* @__PURE__ */ r(
159
+ componentName: m,
160
+ LinkComponent: l
161
+ } = t, p = R(), S = y(() => /* @__PURE__ */ r(v, { children: p === !0 ? i == null ? void 0 : i.map((e, w) => /* @__PURE__ */ r(
243
162
  k,
244
163
  {
245
164
  title: e == null ? void 0 : e.name,
246
165
  sellerUuid: e == null ? void 0 : e.sellerUuid,
247
166
  uuid: e == null ? void 0 : e.uuid,
248
167
  nameSlug: e == null ? void 0 : e.nameSlug,
249
- image: d(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
250
- metadata: { name: n, accessor: e == null ? void 0 : e.accessor },
251
- LinkComponent: u
168
+ image: a(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
169
+ metadata: { name: m, accessor: e == null ? void 0 : e.accessor },
170
+ LinkComponent: l
252
171
  },
253
- $
254
- )) : m == null ? void 0 : m.slice(0, c).map((e, $) => /* @__PURE__ */ r(
172
+ w
173
+ )) : i == null ? void 0 : i.slice(0, c).map((e, w) => /* @__PURE__ */ r(
255
174
  k,
256
175
  {
257
176
  title: e == null ? void 0 : e.name,
258
177
  sellerUuid: e == null ? void 0 : e.sellerUuid,
259
178
  uuid: e == null ? void 0 : e.uuid,
260
179
  nameSlug: e == null ? void 0 : e.nameSlug,
261
- image: d(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
262
- metadata: { name: n, accessor: e == null ? void 0 : e.accessor },
263
- LinkComponent: u
180
+ image: a(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
181
+ metadata: { name: m, accessor: e == null ? void 0 : e.accessor },
182
+ LinkComponent: l
264
183
  },
265
- $
266
- )) }), [m, b, c]);
267
- return /* @__PURE__ */ t(y, { ref: l, children: [
268
- /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: [
269
- C(o) && /* @__PURE__ */ r("i", { className: o }),
270
- /* @__PURE__ */ r("span", { children: S })
184
+ w
185
+ )) }), [i, p, c]);
186
+ return /* @__PURE__ */ s(j, { ref: n, children: [
187
+ /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ s("div", { className: "regular-title-text", children: [
188
+ b(o) && /* @__PURE__ */ r("i", { className: o }),
189
+ /* @__PURE__ */ r("span", { children: f })
271
190
  ] }) }),
272
- /* @__PURE__ */ t(
273
- F,
191
+ /* @__PURE__ */ s(
192
+ G,
274
193
  {
275
- isLoading: p,
194
+ isLoading: u,
276
195
  keyPrefix: "products-with-banner-skeleton",
277
196
  children: [
278
- /* @__PURE__ */ r(z, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: v }) }),
279
- /* @__PURE__ */ r(D, { limit: c, children: w })
197
+ /* @__PURE__ */ r(L, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: $ }) }),
198
+ /* @__PURE__ */ r(T, { limit: c, children: S })
280
199
  ]
281
200
  }
282
201
  )
283
202
  ] });
284
203
  });
285
204
  export {
286
- Z as default
205
+ x as default
287
206
  };
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),n=require("react"),i=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),r=require("./utils-CITgSxXe.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=i.styled.div`
1
+ "use strict";const l=require("react/jsx-runtime"),n=require("react"),i=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),r=require("./utils-BK6B_Y9X.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=i.styled.div`
2
2
  width: 100%;
3
3
  position: relative;
4
4
  background-color: ${e=>r.getColorRgbaValue(e.theme,"Progress",e.color,"enabled","unfilled")};
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as b } from "react/jsx-runtime";
2
2
  import { forwardRef as u, isValidElement as f, cloneElement as P } from "react";
3
3
  import { s as t } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { c as a, d as x } from "./utils-MoGhNMmj.js";
4
+ import { c as a, d as x } from "./utils-BUdHa0nB.js";
5
5
  import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const w = t.div`
7
7
  width: 100%;
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),m=require("./utils-CITgSxXe.cjs"),g=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),p=require("./breakpoints-CcVm-gVm.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./styled-components.browser.esm-BaNxtZgB.cjs"),h=require("./index-DkPva6Gr.cjs"),b=g.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),m=require("./utils-BK6B_Y9X.cjs"),g=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),p=require("./breakpoints-CcVm-gVm.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./styled-components.browser.esm-BaNxtZgB.cjs"),h=require("./index-BMAvJQBG.cjs"),b=g.styled.div`
2
2
  position: absolute;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,11 +1,11 @@
1
1
  import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as p, memo as u, useMemo as h } from "react";
3
- import { t as _, n as b, l as w } from "./utils-MoGhNMmj.js";
3
+ import { t as _, n as b, l as w } from "./utils-BUdHa0nB.js";
4
4
  import { s as g } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
5
  import { d as m } from "./breakpoints-BubDitvo.js";
6
6
  import { u as y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
7
7
  import { q as v } from "./styled-components.browser.esm-Cfeh8eHg.js";
8
- import { S as q } from "./index-CuRcxKQH.js";
8
+ import { S as q } from "./index-C6amCwRZ.js";
9
9
  const k = g.div`
10
10
  position: absolute;
11
11
  top: 0;
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),i=require("react"),N=require("./utils-CITgSxXe.cjs"),R=require("./Button.cjs"),Q=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),I=require("./breakpoints-CcVm-gVm.cjs"),P=require("./Icon.cjs"),Y=require("./ProgressBar.cjs"),q=Q.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),i=require("react"),N=require("./utils-BK6B_Y9X.cjs"),R=require("./Button.cjs"),Q=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),I=require("./breakpoints-CcVm-gVm.cjs"),P=require("./Icon.cjs"),Y=require("./ProgressBar.cjs"),q=Q.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  justify-content: center;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as I, useState as w, useRef as B, useEffect as re } from "react";
3
- import { y as ae, l as te, m as J, s as ie } from "./utils-MoGhNMmj.js";
3
+ import { y as ae, l as te, m as J, s as ie } from "./utils-BUdHa0nB.js";
4
4
  import z from "./Button.js";
5
5
  import { s as U } from "./emotion-styled.browser.esm-DfbrHHed.js";
6
6
  import { d as E } from "./breakpoints-BubDitvo.js";
@@ -1,4 +1,4 @@
1
- "use strict";const l=require("react/jsx-runtime"),h=require("react"),g=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),t=require("./utils-CITgSxXe.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=e=>e=="left"?"row-reverse":"row",B=g.styled.label`
1
+ "use strict";const l=require("react/jsx-runtime"),h=require("react"),g=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),t=require("./utils-BK6B_Y9X.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=e=>e=="left"?"row-reverse":"row",B=g.styled.label`
2
2
  min-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
3
3
  max-height: ${e=>t.getSizeValueWithUnits(e.theme,e.size)};
4
4
  width: 100%;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as u, jsx as l } from "react/jsx-runtime";
2
2
  import { forwardRef as B, useState as j } from "react";
3
3
  import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { e as b, d as N, f as P, c as i } from "./utils-MoGhNMmj.js";
4
+ import { e as b, d as N, f as P, c as i } from "./utils-BUdHa0nB.js";
5
5
  import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  const I = (e) => e == "left" ? "row-reverse" : "row", L = f.label`
7
7
  min-height: ${(e) => b(e.theme, e.size)};
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),x=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),r=require("react"),a=require("./utils-CITgSxXe.cjs"),F=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),U=require("./useUpdateEffect-BtMgpgIV.cjs"),_=({theme:e,size:i})=>{var u=a.getSizeValueWithUnits(e,i);return`
1
+ "use strict";const t=require("react/jsx-runtime"),x=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),r=require("react"),a=require("./utils-BK6B_Y9X.cjs"),F=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),U=require("./useUpdateEffect-BtMgpgIV.cjs"),_=({theme:e,size:i})=>{var u=a.getSizeValueWithUnits(e,i);return`
2
2
  min-height: ${u};
3
3
  max-height: ${u};
4
4
  `},g={small:"0.875rem",medium:"1.125rem",large:"1.375rem"},T=x.styled.div`
@@ -1,7 +1,7 @@
1
1
  import { jsxs as M, jsx as t, Fragment as L } from "react/jsx-runtime";
2
2
  import { s as v } from "./emotion-styled.browser.esm-DfbrHHed.js";
3
3
  import { forwardRef as W, useRef as X, useState as f, useCallback as q, useEffect as N } from "react";
4
- import { b as A, c as r, d as D, e as G } from "./utils-MoGhNMmj.js";
4
+ import { b as A, c as r, d as D, e as G } from "./utils-BUdHa0nB.js";
5
5
  import { u as H } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
6
6
  import { u as J } from "./useUpdateEffect-CuYWz7EA.js";
7
7
  const K = ({ theme: e, size: o }) => {
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),g=require("react"),l=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),S=require("./useDetectMobile-DYV6V1yw.cjs"),b=require("./utils-CITgSxXe.cjs"),k=require("./ThemeProvider.cjs"),v=require("./index-DsINTjQk.cjs"),i=require("./style-Ito6YFqi.cjs"),R=l.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),p=require("react"),o=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),x=require("./useDetectMobile-DYV6V1yw.cjs"),f=require("./utils-BK6B_Y9X.cjs"),y=require("./ThemeProvider.cjs"),S=require("./index-ChHUGfjn.cjs"),m=require("./style-CQdEALKR.cjs"),k=o.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  color: var(--darkest-950);
@@ -8,9 +8,9 @@
8
8
  font-weight: 600;
9
9
  font-size: 1.5rem;
10
10
  }
11
- `,y=l.styled.div`
11
+ `,R=o.styled.div`
12
12
  display: grid;
13
- grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
13
+ grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
14
14
  gap: 1.25rem;
15
15
 
16
16
  @media ${w.down("M")} {
@@ -24,12 +24,12 @@
24
24
  @media ${w.down("XS")} {
25
25
  grid-template-columns: repeat(1, 1fr);
26
26
  }
27
- `,$=l.styled.a`
27
+ `,$=o.styled.a`
28
28
  padding-top: 5rem;
29
29
  overflow: hidden;
30
30
  text-decoration: none;
31
31
  color: var(--gray-950);
32
- `,C=l.styled.div`
32
+ `,C=o.styled.div`
33
33
  position: relative;
34
34
  cursor: pointer;
35
35
  display: flex;
@@ -61,11 +61,11 @@
61
61
  font-size: 1.375rem;
62
62
  font-weight: 600;
63
63
  color: var(--gray-950, #14161a);
64
- ${b.truncateText()}
64
+ ${f.truncateText()}
65
65
  }
66
66
 
67
67
  & .cont-text {
68
- ${b.truncateTextInRows(2)}
68
+ ${f.truncateTextInRows(2)}
69
69
  }
70
70
  }
71
71
 
@@ -85,9 +85,9 @@
85
85
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1),
86
86
  0px 4px 6px -2px rgba(0, 0, 0, 0.05);
87
87
  }
88
- `,j=(t,o)=>b.getComponentPropValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled",o),P=l.styled.div`
89
- font-size: ${t=>j(t,"fontSize")};
90
- line-height: ${t=>j(t,"lineHeight")};
88
+ `,b=(r,n)=>f.getComponentPropValue(r.theme,"StarRating",r.color,r.disabled===!0?"disabled":"enabled",n),N=o.styled.div`
89
+ font-size: ${r=>b(r,"fontSize")};
90
+ line-height: ${r=>b(r,"lineHeight")};
91
91
  line-height: 1.5rem;
92
92
  width: fit-content;
93
93
  display: flex;
@@ -104,33 +104,29 @@
104
104
  font-weight: 400;
105
105
  font-size: 0.75rem;
106
106
  line-height: 1.5rem;
107
- color: ${t=>t.color};
107
+ color: ${r=>r.color};
108
108
  }
109
- `,L=l.styled.span`
109
+ `,z=o.styled.span`
110
110
  position: absolute;
111
111
  z-index: 1;
112
112
  display: block;
113
113
  top: 0;
114
114
  left: 0;
115
115
  overflow: hidden;
116
- width: ${t=>t.width}%;
116
+ width: ${r=>r.width}%;
117
117
 
118
- color: ${t=>b.getColorRgbaValue(t.theme,"StarRating",t.color,t.disabled===!0?"disabled":"enabled","filledColor")};
119
- `,N=l.styled.span`
118
+ color: ${r=>f.getColorRgbaValue(r.theme,"StarRating",r.color,r.disabled===!0?"disabled":"enabled","filledColor")};
119
+ `,q=o.styled.span`
120
120
  padding: 0;
121
121
  display: block;
122
122
  z-index: 0;
123
- color: ${t=>t.color};
124
- `,q=g.forwardRef((t,o)=>{const{rating:a=0,reviewCount:n=null,disabled:s=!1,tabIndex:d=0,className:p="",style:h={},color:c="primary",size:u="large"}=t,{theme:r}=k.useTheme(),m={theme:r,color:c,size:u,style:h,disabled:s},x=a/5*100;return e.jsxs(P,{ref:o,tabIndex:d,...m,className:`star-rating ${p}`,children:[e.jsxs("div",{className:"rating",children:[e.jsx(L,{className:"filled-stars",...m,width:x,children:"★★★★★"}),e.jsx(N,{...m,children:"★★★★★"})]}),!isNaN(n)&&Number.isFinite(n)&&e.jsx("div",{className:"review-count",children:`(${n.toLocaleString()})`})]})}),z=g.forwardRef((t,o)=>{const{image:a,text:n,title:s,link:d,rating:p,onSelectCard:h=()=>{},LinkComponent:c}=t,u=c||"a";return e.jsx($,{ref:o,className:"review-card",onClick:h,as:u,...c?{to:`/${d}`}:{href:`/${d}`},children:e.jsxs(C,{children:[e.jsx(v.ProductImageWrapper,{src:a}),e.jsxs("div",{className:"cont",children:[e.jsx("span",{className:"cont-title",children:s}),e.jsx("div",{className:"cont-text",children:n})]}),e.jsx(q,{color:"warning",rating:p})]})})}),M=l.styled(i.SkeletonRowWrapper)`
123
+ color: ${r=>r.color};
124
+ `,M=p.forwardRef((r,n)=>{const{rating:s=0,reviewCount:i=null,disabled:a=!1,tabIndex:l=0,className:g="",style:h={},color:d="primary",size:u="large"}=r,{theme:e}=y.useTheme(),c={theme:e,color:d,size:u,style:h,disabled:a},j=s/5*100;return t.jsxs(N,{ref:n,tabIndex:l,...c,className:`star-rating ${g}`,children:[t.jsxs("div",{className:"rating",children:[t.jsx(z,{className:"filled-stars",...c,width:j,children:"★★★★★"}),t.jsx(q,{...c,children:"★★★★★"})]}),!isNaN(i)&&Number.isFinite(i)&&t.jsx("div",{className:"review-count",children:`(${i.toLocaleString()})`})]})}),P=p.forwardRef((r,n)=>{const{image:s,text:i,title:a,link:l,rating:g,onSelectCard:h=()=>{},LinkComponent:d}=r,u=d||"a";return t.jsx($,{ref:n,className:"review-card",onClick:h,as:u,...d?{to:`/${l}`}:{href:`/${l}`},children:t.jsxs(C,{children:[t.jsx(S.ProductImageWrapper,{src:s}),t.jsxs("div",{className:"cont",children:[t.jsx("span",{className:"cont-title",children:a}),t.jsx("div",{className:"cont-text",children:i})]}),t.jsx(M,{color:"warning",rating:g})]})})}),F=o.styled(m.SkeletonAnimationContainer)`
125
125
  @media ${w.down("S")} {
126
126
  flex-direction: column;
127
127
 
128
128
  & > div {
129
129
  flex-direction: column;
130
-
131
- & > div {
132
- ${i.skeletonGradientBackground}
133
- }
134
130
  }
135
131
  }
136
- `,W=({keyPrefix:t})=>e.jsxs(M,{children:[e.jsxs(i.SkeletonColumnWrapper,{children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-1`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-2`),e.jsxs(i.SkeletonColumnWrapper,{noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"6.25rem",width:"6.25rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${t}-3`)]}),F=({keyPrefix:t,isLoading:o=!1,fallbackComponent:a=e.jsx(e.Fragment,{}),children:n})=>e.jsx(g.Suspense,{fallbackComponent:a,children:o===!0?e.jsx(W,{keyPrefix:t}):n}),f=g.memo(z),G=g.forwardRef((t,o)=>{const{title:a="Electronics reviews",items:n,limit:s=3,onSelectCard:d=()=>{},isLoading:p=!1,LinkComponent:h}=t,c=S.useDetectMobile(),u=g.useMemo(()=>e.jsx(e.Fragment,{children:c===!0?n==null?void 0:n.map((r,m)=>e.jsx(f,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m)):n==null?void 0:n.slice(0,s).map((r,m)=>e.jsx(f,{text:r==null?void 0:r.text,title:r==null?void 0:r.title,image:r==null?void 0:r.image,link:r==null?void 0:r.link,rating:r==null?void 0:r.ratingArithmeticMean,onSelectCard:()=>d(r),LinkComponent:h},m))}),[n,c,s]);return e.jsxs(R,{ref:o,children:[e.jsx("div",{className:"container-title",children:a}),e.jsx(F,{isLoading:p,keyPrefix:"reviews-skeleton",children:e.jsx(y,{limit:s,children:u})})]})});module.exports=G;
132
+ `,L=({keyPrefix:r})=>t.jsx(F,{children:[1,2,3].map(n=>t.jsxs(m.SkeletonColumnContainer,{children:[t.jsx(m.SkeletonSquare,{size:"6.25rem"}),t.jsx(m.SkeletonRect,{width:"100%",height:"2rem",borderRadius:"0.75rem"}),t.jsx(m.SkeletonRect,{width:"100%",height:"1rem",borderRadius:"0.75rem"}),t.jsx(m.SkeletonRect,{width:"100%",height:"1rem",borderRadius:"0.75rem"}),t.jsx(m.SkeletonRect,{height:"1rem",borderRadius:"0.75rem",width:"6rem"})]},`${r}-${n}`))}),T=({keyPrefix:r,isLoading:n=!1,fallbackComponent:s=t.jsx(t.Fragment,{}),children:i})=>t.jsx(p.Suspense,{fallbackComponent:s,children:n===!0?t.jsx(L,{keyPrefix:r}):i}),v=p.memo(P),W=p.forwardRef((r,n)=>{const{title:s="Electronics reviews",items:i,limit:a=3,onSelectCard:l=()=>{},isLoading:g=!1,LinkComponent:h}=r,d=x.useDetectMobile(),u=p.useMemo(()=>t.jsx(t.Fragment,{children:d===!0?i==null?void 0:i.map((e,c)=>t.jsx(v,{text:e==null?void 0:e.text,title:e==null?void 0:e.title,image:e==null?void 0:e.image,link:e==null?void 0:e.link,rating:e==null?void 0:e.ratingArithmeticMean,onSelectCard:()=>l(e),LinkComponent:h},c)):i==null?void 0:i.slice(0,a).map((e,c)=>t.jsx(v,{text:e==null?void 0:e.text,title:e==null?void 0:e.title,image:e==null?void 0:e.image,link:e==null?void 0:e.link,rating:e==null?void 0:e.ratingArithmeticMean,onSelectCard:()=>l(e),LinkComponent:h},c))}),[i,d,a]);return t.jsxs(k,{ref:n,children:[t.jsx("div",{className:"container-title",children:s}),t.jsx(T,{isLoading:g,keyPrefix:"reviews-skeleton",children:t.jsx(R,{limit:a,children:u})})]})});module.exports=W;