@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,18 +1,18 @@
1
- import { jsx as n, jsxs as i, Fragment as Ue } from "react/jsx-runtime";
2
- import { forwardRef as R, useRef as Se, useEffect as oe, Fragment as Ee, createElement as Me, useState as te, Suspense as Re, memo as je, useMemo as Oe } from "react";
3
- import { s as y } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
- import { b as ie, l as ae, m as Be, z as We, A as Ge, B as Ve, C as pe } from "./utils-MoGhNMmj.js";
5
- import { d as P, o as Fe } from "./breakpoints-BubDitvo.js";
6
- import $e from "./Icon.js";
7
- import { D as fe } from "./ShopAvatar-4-fCYGEc.js";
8
- import Ae from "./Badge.js";
9
- import { u as _e } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
- import ue from "./IconButton.js";
11
- import { u as Ce } from "./useDetectMobile-B0Jog4jQ.js";
12
- import { I as He } from "./index-DMmw5Ad5.js";
13
- import { m as qe } from "./motion-Ckekul_K.js";
14
- import { S as M, c as xe, b as be, a as w, d as ve } from "./style-DvkivBNg.js";
15
- const Ye = y.a`
1
+ import { jsx as r, jsxs as s, Fragment as Te } from "react/jsx-runtime";
2
+ import { forwardRef as M, useRef as be, useEffect as ne, Fragment as Pe, createElement as Le, useState as X, Suspense as Ue, memo as Ee, useMemo as Me } from "react";
3
+ import { s as w } from "./emotion-styled.browser.esm-DfbrHHed.js";
4
+ import { b as re, l as ee, m as je, z as Oe, A as Re, B as me } from "./utils-BUdHa0nB.js";
5
+ import { d as T, o as Be } from "./breakpoints-BubDitvo.js";
6
+ import ve from "./Icon.js";
7
+ import { D as pe } from "./ShopAvatar-4-fCYGEc.js";
8
+ import Ve from "./Badge.js";
9
+ import { u as we } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
10
+ import fe from "./IconButton.js";
11
+ import { u as Se } from "./useDetectMobile-B0Jog4jQ.js";
12
+ import { I as We } from "./index-DMmw5Ad5.js";
13
+ import { m as Ae } from "./motion-Ckekul_K.js";
14
+ import { S as Fe, c as he, d as He, e as qe, a as E, f as Ye } from "./style-BFPpppS9.js";
15
+ const Ze = w.a`
16
16
  text-decoration: none;
17
17
  color: var(--gray-950);
18
18
  cursor: pointer;
@@ -23,7 +23,7 @@ const Ye = y.a`
23
23
  border-radius: 1.25rem;
24
24
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
25
25
 
26
- ${(r) => r != null && r.sponsored ? `
26
+ ${(n) => n != null && n.sponsored ? `
27
27
  border: 1px solid transparent;
28
28
  background:
29
29
  linear-gradient(#ffffff, #ffffff) padding-box,
@@ -42,7 +42,7 @@ const Ye = y.a`
42
42
  }
43
43
  }
44
44
 
45
- @media ${P("S")} {
45
+ @media ${T("S")} {
46
46
  width: 100%;
47
47
  gap: 0;
48
48
 
@@ -55,8 +55,8 @@ const Ye = y.a`
55
55
  }
56
56
  }
57
57
  }
58
- `, Ze = y.div`
59
- border-radius: ${(r) => ie(r.theme, "edged")};
58
+ `, Ge = w.div`
59
+ border-radius: ${(n) => re(n.theme, "edged")};
60
60
  cursor: pointer;
61
61
 
62
62
  position: relative;
@@ -76,10 +76,10 @@ const Ye = y.a`
76
76
  }
77
77
  }
78
78
 
79
- @media ${P("S")} {
79
+ @media ${T("S")} {
80
80
  width: 14.5rem;
81
81
  }
82
- `, Je = y.div`
82
+ `, Je = w.div`
83
83
  flex: 1;
84
84
  display: flex;
85
85
  flex-direction: column;
@@ -162,7 +162,7 @@ const Ye = y.a`
162
162
  color: var(--gray-600, #676e79);
163
163
  }
164
164
 
165
- @media ${P("S")} {
165
+ @media ${T("S")} {
166
166
  padding: 1rem 0 0 0;
167
167
 
168
168
  & .campaign-title-text {
@@ -187,16 +187,16 @@ const Ye = y.a`
187
187
  gap: 0.25rem;
188
188
  }
189
189
  }
190
- `, we = (r = !1, t = !1, o = !1) => `
190
+ `, ue = (n = !1, t = !1, o = !1) => `
191
191
  display: flex;
192
192
  ${t ? "flex-wrap: wrap;" : ""}
193
193
  ${t ? "" : "flex-wrap: nowrap;"}
194
- ${r ? "align-items: center;" : ""}
194
+ ${n ? "align-items: center;" : ""}
195
195
  ${o ? "justify-content: center;" : ""}
196
- `, Ke = y.a`
196
+ `, Ke = w.a`
197
197
  text-decoration: none;
198
198
  color: var(--gray-950);
199
- ${(r) => r.hasPermission === !0 && "cursor: pointer"};
199
+ ${(n) => n.hasPermission === !0 && "cursor: pointer"};
200
200
 
201
201
  &:focus,
202
202
  &:hover,
@@ -211,13 +211,13 @@ const Ye = y.a`
211
211
  text-decoration: none;
212
212
  }
213
213
 
214
- ${we(!0)}
214
+ ${ue(!0)}
215
215
  gap: 0.5rem;
216
216
  color: var(--gray-950, #14161a);
217
217
  font-weight: 500;
218
218
  font-size: 1rem;
219
219
  line-height: 1.5rem;
220
- border-radius: ${(r) => ie(r.theme, "slight")};
220
+ border-radius: ${(n) => re(n.theme, "slight")};
221
221
  transition: all 0.25s ease;
222
222
  & .description {
223
223
  font-size: 0.85rem;
@@ -226,7 +226,7 @@ const Ye = y.a`
226
226
  font-weight: 400;
227
227
  }
228
228
  & .logo-wrapper {
229
- ${we(!0, !1, !0)}
229
+ ${ue(!0, !1, !0)}
230
230
  flex-shrink: 0;
231
231
  border-radius: 999px;
232
232
 
@@ -265,261 +265,253 @@ const Ye = y.a`
265
265
  background-color: var(--gray-95080, #14161acc);
266
266
  }
267
267
 
268
- @media ${P("S")} {
268
+ @media ${T("S")} {
269
269
  padding: 0;
270
270
  font-size: 0.875rem;
271
271
  }
272
- `, Qe = y.div`
272
+ `, Qe = w.div`
273
273
  position: absolute;
274
274
  top: 0.5rem;
275
- ${(r) => r.alignToLeft === !0 ? "left: 0.5rem;" : "right: 0.5rem;"}
275
+ ${(n) => n.alignToLeft === !0 ? "left: 0.5rem;" : "right: 0.5rem;"}
276
276
  display: flex;
277
277
  gap: 0.25rem;
278
- `, Xe = y.div`
279
- border-radius: ${(r) => ie(r.theme, r.borderRadius || "slight")};
280
- background-color: ${(r) => r == null ? void 0 : r.color};
278
+ `, Xe = w.div`
279
+ border-radius: ${(n) => re(n.theme, n.borderRadius || "slight")};
280
+ background-color: ${(n) => n == null ? void 0 : n.color};
281
281
  color: white;
282
282
  height: 1.5rem;
283
283
  min-width: 1.5rem;
284
- width: ${(r) => r.fitContent === !0 ? "fit-content" : "1.5rem"};
285
- ${(r) => r.fitContent === !0 && "padding: 0 0.1rem;"};
284
+ width: ${(n) => n.fitContent === !0 ? "fit-content" : "1.5rem"};
285
+ ${(n) => n.fitContent === !0 && "padding: 0 0.1rem;"};
286
286
  font-size: 0.75rem;
287
287
  display: flex;
288
288
  align-items: center;
289
289
  justify-content: center;
290
- padding: ${(r) => r.padding};
290
+ padding: ${(n) => n.padding};
291
291
  & i {
292
292
  font-size: 0.813rem;
293
293
  }
294
- `, er = R(({ src: r, ...t }, o) => {
295
- const a = Se();
296
- return oe(() => {
297
- var h;
298
- const s = (p) => {
299
- p.target.src = fe, p.onerror = null;
294
+ `, en = M(({ src: n, ...t }, o) => {
295
+ const a = be();
296
+ return ne(() => {
297
+ var p;
298
+ const i = (f) => {
299
+ f.target.src = pe, f.onerror = null;
300
300
  };
301
- return (h = a == null ? void 0 : a.current) == null || h.addEventListener("error", s), () => {
302
- var p;
303
- (p = a == null ? void 0 : a.current) == null || p.removeEventListener("error", s);
301
+ return (p = a == null ? void 0 : a.current) == null || p.addEventListener("error", i), () => {
302
+ var f;
303
+ (f = a == null ? void 0 : a.current) == null || f.removeEventListener("error", i);
304
304
  };
305
- }, []), /* @__PURE__ */ n(Ee, { ref: o, children: ae(r) ? /* @__PURE__ */ n("img", { ref: a, src: r, ...t }) : /* @__PURE__ */ n("img", { src: fe, ...t }) });
306
- }), rr = (r) => {
305
+ }, []), /* @__PURE__ */ r(Pe, { ref: o, children: ee(n) ? /* @__PURE__ */ r("img", { ref: a, src: n, ...t }) : /* @__PURE__ */ r("img", { src: pe, ...t }) });
306
+ }), nn = (n) => {
307
307
  const {
308
308
  uuid: t,
309
309
  hasPermission: o = !0,
310
310
  isUser: a,
311
- image: s,
312
- imageComponent: h,
313
- name: p,
311
+ image: i,
312
+ imageComponent: p,
313
+ name: f,
314
314
  notifications: S = 0,
315
315
  color: l = "primary",
316
- size: f = "large",
316
+ size: h = "large",
317
317
  style: c,
318
- disabled: C,
318
+ disabled: _,
319
319
  onClick: m = () => {
320
320
  },
321
321
  isActive: N,
322
322
  className: b,
323
323
  shopCategory: v,
324
324
  // new
325
- themeData: $,
326
- LinkComponent: k
327
- } = r, D = k || "a", u = {
328
- theme: _e(),
325
+ themeData: y,
326
+ LinkComponent: C
327
+ } = n, I = C || "a", u = {
328
+ theme: we(),
329
329
  color: l,
330
- size: f,
330
+ size: h,
331
331
  style: c,
332
- disabled: C
332
+ disabled: _
333
333
  };
334
- return /* @__PURE__ */ Me(
334
+ return /* @__PURE__ */ Le(
335
335
  Ke,
336
336
  {
337
337
  onClick: (g) => {
338
338
  g == null || g.preventDefault(), g.stopPropagation(), o === !0 && (m == null || m());
339
339
  },
340
340
  ...u,
341
- key: p,
341
+ key: f,
342
342
  className: `profile-item ${b}`,
343
343
  hasPermission: o,
344
344
  isActive: N,
345
- themeColor: ($ == null ? void 0 : $.code) || "transparent",
346
- as: D,
347
- ...k ? { to: `/${a ? "user" : "shop"}/${t}` } : { href: `/${a ? "user" : "shop"}/${t}` }
345
+ themeColor: (y == null ? void 0 : y.code) || "transparent",
346
+ as: I,
347
+ ...C ? { to: `/${a ? "user" : "shop"}/${t}` } : { href: `/${a ? "user" : "shop"}/${t}` }
348
348
  },
349
- /* @__PURE__ */ n("div", { className: "logo-wrapper", children: Be(h) ? h : s }),
350
- /* @__PURE__ */ i("div", { children: [
351
- /* @__PURE__ */ n("div", { className: "name", children: p }),
352
- !a && /* @__PURE__ */ n("div", { className: "description", children: v }),
353
- S > 0 && /* @__PURE__ */ n("div", { className: "notifications-number", children: /* @__PURE__ */ n(Ae, { className: "badge", color: "danger", size: "small", children: S > 99 ? "99+" : S }) })
349
+ /* @__PURE__ */ r("div", { className: "logo-wrapper", children: je(p) ? p : i }),
350
+ /* @__PURE__ */ s("div", { children: [
351
+ /* @__PURE__ */ r("div", { className: "name", children: f }),
352
+ !a && /* @__PURE__ */ r("div", { className: "description", children: v }),
353
+ S > 0 && /* @__PURE__ */ r("div", { className: "notifications-number", children: /* @__PURE__ */ r(Ve, { className: "badge", color: "danger", size: "small", children: S > 99 ? "99+" : S }) })
354
354
  ] })
355
355
  );
356
- }, ye = (r) => {
357
- if (r !== void 0) {
358
- const t = new Date(r), o = t.getFullYear(), a = t.getMonth() + 1;
356
+ }, xe = (n) => {
357
+ if (n !== void 0) {
358
+ const t = new Date(n), o = t.getFullYear(), a = t.getMonth() + 1;
359
359
  return `${String(t.getDate()).padStart(2)}. ${a}. ${o}.`;
360
360
  }
361
- }, nr = R((r, t) => {
362
- var he;
363
- const o = _e(), {
361
+ }, rn = M((n, t) => {
362
+ var ge;
363
+ const o = we(), {
364
364
  uuid: a,
365
- shopUuid: s,
366
- title: h = "",
365
+ shopUuid: i,
366
+ title: p = "",
367
367
  // description,
368
368
  // badges,
369
- coverPhoto: p,
369
+ coverPhoto: f,
370
370
  onSelect: S,
371
371
  // status,
372
372
  startDate: l,
373
- endDate: f,
373
+ endDate: h,
374
374
  salesPackages: c,
375
- shopName: C,
375
+ shopName: _,
376
376
  shopCategory: m,
377
377
  shopImage: N,
378
378
  shopImageComponent: b,
379
379
  className: v,
380
- onSelectCard: $ = () => {
380
+ onSelectCard: y = () => {
381
381
  },
382
- onSelectShop: k = () => {
382
+ onSelectShop: C = () => {
383
383
  },
384
- upcoming: D = !1,
384
+ upcoming: I = !1,
385
385
  upcomingCampaignText: d,
386
386
  campaignSingleText: u,
387
387
  salesCampaignTypes: g = [],
388
- startsInPrefixTextPlural: V,
388
+ startsInPrefixTextPlural: A,
389
389
  startsinSuffixTextPlural: F,
390
- startsInPrefixTextSingular: A,
391
- startsinSuffixTextSingular: H,
392
- endsInPrefixTextPlural: q,
393
- endsinSuffixTextPlural: Y,
394
- endsInPrefixTextSingular: j,
395
- endsinSuffixTextSingular: Z,
396
- endedText: J,
390
+ startsInPrefixTextSingular: H,
391
+ startsinSuffixTextSingular: q,
392
+ endsInPrefixTextPlural: te,
393
+ endsinSuffixTextPlural: ae,
394
+ endsInPrefixTextSingular: Y,
395
+ endsinSuffixTextSingular: oe,
396
+ endedText: Z,
397
397
  themeData: se,
398
398
  numberOfListings: z,
399
- numberOfListingsTextSingular: K,
400
- numberOfListingsTextPlural: O,
399
+ numberOfListingsTextSingular: G,
400
+ numberOfListingsTextPlural: j,
401
401
  metadata: e,
402
- LinkComponent: B,
403
- sponsored: le,
404
- ...Q
405
- } = r, ke = B || "a", ce = Se(), E = We(l, f), X = E !== -1 && (E == null ? void 0 : E.isEnded) === !0, ee = E !== -1 && !X, re = Ge(l), L = Ve(f), Ie = L !== null && L <= 2 && L > 0, de = pe(f), ge = de ? new Date(de) : null, Ne = /* @__PURE__ */ new Date(), ne = ge ? ge.getTime() - Ne.getTime() : null, W = ne !== null && ne > 0 && ne < 24 * 60 * 60 * 1e3, me = (x, U, I, _, T) => I === 1 ? `${x} ${I} ${_}` : `${U} ${I} ${T}`, De = () => {
406
- if (!f) return null;
407
- const x = pe(f), U = x ? new Date(x) : null;
408
- if (!U) return null;
409
- const I = ze, _ = U.getTime() - I.getTime();
410
- if (_ <= 0) return null;
411
- const T = Math.floor(_ / (1e3 * 60 * 60)), Pe = Math.floor(_ % (1e3 * 60 * 60) / (1e3 * 60)), Le = Math.floor(_ % (1e3 * 60) / 1e3);
412
- return { hours: T, minutes: Pe, seconds: Le };
413
- }, [ze, Te] = te(/* @__PURE__ */ new Date());
414
- oe(() => {
415
- if (!W) return;
402
+ LinkComponent: O,
403
+ sponsored: ie,
404
+ ...J
405
+ } = n, ye = O || "a", le = be(), L = Oe(l, h), R = L !== -1 && (L == null ? void 0 : L.isEnded) === !0, B = L !== -1 && !R, U = Re(l), ce = me(h), de = ce ? new Date(ce) : null, $e = /* @__PURE__ */ new Date(), K = de ? de.getTime() - $e.getTime() : null, V = K !== null && K > 0 && K < 24 * 60 * 60 * 1e3, _e = (x, P, k, $, D) => k === 1 ? `${x} ${k} ${$}` : `${P} ${k} ${D}`, Ce = () => {
406
+ if (!h) return null;
407
+ const x = me(h), P = x ? new Date(x) : null;
408
+ if (!P) return null;
409
+ const k = ke, $ = P.getTime() - k.getTime();
410
+ if ($ <= 0) return null;
411
+ const D = Math.floor($ / (1e3 * 60 * 60)), ze = Math.floor($ % (1e3 * 60 * 60) / (1e3 * 60)), De = Math.floor($ % (1e3 * 60) / 1e3);
412
+ return { hours: D, minutes: ze, seconds: De };
413
+ }, [ke, Ne] = X(/* @__PURE__ */ new Date());
414
+ ne(() => {
415
+ if (!V) return;
416
416
  const x = setInterval(() => {
417
- Te(/* @__PURE__ */ new Date());
417
+ Ne(/* @__PURE__ */ new Date());
418
418
  }, 1e3);
419
419
  return () => clearInterval(x);
420
- }, [W]);
421
- const G = W ? De() : null;
422
- return /* @__PURE__ */ i(
423
- Ye,
420
+ }, [V]);
421
+ const W = V ? Ce() : null, Q = !!(B && !R && V && W), Ie = Q || R || !B && U !== null && U > 0;
422
+ return /* @__PURE__ */ s(
423
+ Ze,
424
424
  {
425
- ref: ce,
425
+ ref: le,
426
426
  theme: o,
427
427
  className: v,
428
428
  name: e == null ? void 0 : e.name,
429
429
  "data-accessor": e == null ? void 0 : e.accessor,
430
- onClick: (x) => $(x, ce),
431
- as: ke,
432
- ...B ? { to: `/shop/${s}/campaign/${a}` } : { href: `/shop/${s}/campaign/${a}` },
433
- sponsored: le,
434
- ...Q,
430
+ onClick: (x) => y(x, le),
431
+ as: ye,
432
+ ...O ? { to: `/shop/${i}/campaign/${a}` } : { href: `/shop/${i}/campaign/${a}` },
433
+ sponsored: ie,
434
+ ...J,
435
435
  children: [
436
- /* @__PURE__ */ i(Ze, { theme: o, children: [
437
- /* @__PURE__ */ n("img", { src: p }),
438
- /* @__PURE__ */ n(Qe, { children: c == null ? void 0 : c.map((x, U) => {
439
- var I, _;
440
- return /* @__PURE__ */ n(
436
+ /* @__PURE__ */ s(Ge, { theme: o, children: [
437
+ /* @__PURE__ */ r("img", { src: f }),
438
+ /* @__PURE__ */ r(Qe, { children: c == null ? void 0 : c.map((x, P) => {
439
+ var k, $;
440
+ return /* @__PURE__ */ r(
441
441
  Xe,
442
442
  {
443
- color: (I = g == null ? void 0 : g.find((T) => T.value === x)) == null ? void 0 : I.color,
443
+ color: (k = g == null ? void 0 : g.find((D) => D.value === x)) == null ? void 0 : k.color,
444
444
  theme: o,
445
- children: /* @__PURE__ */ n(
446
- $e,
445
+ children: /* @__PURE__ */ r(
446
+ ve,
447
447
  {
448
- icon: (_ = g == null ? void 0 : g.find((T) => T.value === x)) == null ? void 0 : _.icon
448
+ icon: ($ = g == null ? void 0 : g.find((D) => D.value === x)) == null ? void 0 : $.icon
449
449
  }
450
450
  )
451
451
  },
452
- `package__${U}`
452
+ `package__${P}`
453
453
  );
454
454
  }) })
455
455
  ] }),
456
- /* @__PURE__ */ i(Je, { theme: o, children: [
457
- /* @__PURE__ */ n("div", { className: "text-block-wrapper", children: /* @__PURE__ */ i("div", { className: "title-block-wrapper", children: [
458
- /* @__PURE__ */ n("div", { className: "campaign-title", children: (he = D ? d : u) == null ? void 0 : he.toUpperCase() }),
459
- /* @__PURE__ */ n("div", { className: "campaign-title-text", children: h }),
460
- f && l && /* @__PURE__ */ i("div", { className: "campaign-date", children: [
461
- ye(l),
456
+ /* @__PURE__ */ s(Je, { theme: o, children: [
457
+ /* @__PURE__ */ r("div", { className: "text-block-wrapper", children: /* @__PURE__ */ s("div", { className: "title-block-wrapper", children: [
458
+ /* @__PURE__ */ r("div", { className: "campaign-title", children: (ge = I ? d : u) == null ? void 0 : ge.toUpperCase() }),
459
+ /* @__PURE__ */ r("div", { className: "campaign-title-text", children: p }),
460
+ h && l && /* @__PURE__ */ s("div", { className: "campaign-date", children: [
461
+ xe(l),
462
462
  " - ",
463
- ye(f)
463
+ xe(h)
464
464
  ] }),
465
- /* @__PURE__ */ i("div", { className: "timestamp-text", children: [
466
- z > 0 && /* @__PURE__ */ i("span", { className: "listings-text", children: [
465
+ /* @__PURE__ */ s("div", { className: "timestamp-text", children: [
466
+ z > 0 && /* @__PURE__ */ s("span", { className: "listings-text", children: [
467
467
  z,
468
468
  " ",
469
- z === 1 ? K : O,
470
- " ",
471
- "∙",
472
- " "
469
+ z === 1 ? G : j,
470
+ Ie ? " " : ""
473
471
  ] }),
474
- /* @__PURE__ */ n(
472
+ /* @__PURE__ */ r(
475
473
  "span",
476
474
  {
477
- className: `duration-text ${Ie ? "urgent" : ""} ${ee ? "" : "starts-in"}`,
478
- children: W && G ? /* @__PURE__ */ i("div", { className: "countdown-timer", children: [
479
- j,
475
+ className: `duration-text ${Q ? "urgent" : ""} ${B ? "" : "starts-in"}`,
476
+ children: Q ? /* @__PURE__ */ s("div", { className: "countdown-timer", children: [
477
+ Y,
480
478
  " ",
481
- G.hours.toString().padStart(2, "0"),
479
+ W.hours.toString().padStart(2, "0"),
482
480
  ":",
483
- G.minutes.toString().padStart(2, "0"),
481
+ W.minutes.toString().padStart(2, "0"),
484
482
  ":",
485
- G.seconds.toString().padStart(2, "0")
486
- ] }) : ee && !X && L !== null && L > 0 ? me(
487
- j,
488
- q,
489
- L,
490
- Z,
491
- Y
492
- ) : X ? J || "Završena" : !ee && re !== null && re > 0 ? me(
493
- A,
494
- V,
495
- re,
483
+ W.seconds.toString().padStart(2, "0")
484
+ ] }) : R ? Z || "Završena" : !B && U !== null && U > 0 ? _e(
496
485
  H,
486
+ A,
487
+ U,
488
+ q,
497
489
  F
498
490
  ) : null
499
491
  }
500
492
  )
501
493
  ] })
502
494
  ] }) }),
503
- /* @__PURE__ */ n(
504
- rr,
495
+ /* @__PURE__ */ r(
496
+ nn,
505
497
  {
506
498
  hasPermission: !0,
507
- image: /* @__PURE__ */ n(er, { src: N }),
499
+ image: /* @__PURE__ */ r(en, { src: N }),
508
500
  imageComponent: b,
509
501
  themeData: se,
510
502
  isActive: !0,
511
503
  isUser: !1,
512
- name: C,
504
+ name: _,
513
505
  shopCategory: m,
514
- uuid: s,
515
- onClick: () => k(s)
506
+ uuid: i,
507
+ onClick: () => C(i)
516
508
  }
517
509
  )
518
510
  ] })
519
511
  ]
520
512
  }
521
513
  );
522
- }), tr = y.div`
514
+ }), tn = w.div`
523
515
  margin: 0 auto;
524
516
  display: flex;
525
517
  flex-direction: column;
@@ -570,7 +562,7 @@ const Ye = y.a`
570
562
  }
571
563
  }
572
564
 
573
- @media ${P("S")} {
565
+ @media ${T("S")} {
574
566
  gap: 1.25rem;
575
567
 
576
568
  & .scrollable-section__header {
@@ -582,17 +574,17 @@ const Ye = y.a`
582
574
  }
583
575
  }
584
576
  }
585
- `, ar = y(qe.div)`
577
+ `, an = w(Ae.div)`
586
578
  display: grid;
587
- grid-template-columns: repeat(${(r) => r == null ? void 0 : r.numOfColumns}, 1fr);
579
+ grid-template-columns: repeat(${(n) => n == null ? void 0 : n.numOfColumns}, 1fr);
588
580
  gap: 1.5rem;
589
581
  width: 100%;
590
582
 
591
- @media ${Fe("M")} {
592
- grid-template-columns: repeat(${(r) => (r == null ? void 0 : r.tabletNumOfColumns) ?? 2}, 1fr);
583
+ @media ${Be("M")} {
584
+ grid-template-columns: repeat(${(n) => (n == null ? void 0 : n.tabletNumOfColumns) ?? 2}, 1fr);
593
585
  }
594
586
 
595
- @media ${P("S")} {
587
+ @media ${T("S")} {
596
588
  display: flex;
597
589
  flex-wrap: nowrap;
598
590
  overflow-x: scroll;
@@ -614,53 +606,53 @@ const Ye = y.a`
614
606
  /* Safari and Chrome */
615
607
  }
616
608
  }
617
- `, or = R(
609
+ `, on = M(
618
610
  ({
619
- icon: r,
611
+ icon: n,
620
612
  title: t,
621
613
  numOfSlides: o = 4,
622
614
  tabletNumOfSlides: a,
623
- showNavigation: s = !0,
624
- hasNextPage: h = !1,
625
- className: p = "",
615
+ showNavigation: i = !0,
616
+ hasNextPage: p = !1,
617
+ className: f = "",
626
618
  handleFetchNextPage: S = () => {
627
619
  },
628
620
  children: l
629
- }, f) => {
630
- const [c, C] = te(0), [m, N] = te(1), b = Ce(), v = (l == null ? void 0 : l.length) ?? 1;
631
- oe(() => {
621
+ }, h) => {
622
+ const [c, _] = X(0), [m, N] = X(1), b = Se(), v = (l == null ? void 0 : l.length) ?? 1;
623
+ ne(() => {
632
624
  const d = () => {
633
625
  N(o);
634
626
  };
635
627
  return window.addEventListener("resize", d), d(), () => window.removeEventListener("resize", d);
636
628
  }, []);
637
- const $ = b ? l : l == null ? void 0 : l.slice(c, c + m), k = (d) => {
629
+ const y = b ? l : l == null ? void 0 : l.slice(c, c + m), C = (d) => {
638
630
  var g;
639
631
  (g = d == null ? void 0 : d.target) == null || g.blur();
640
632
  const u = c + m;
641
- u < v && C(u), u + m >= v && h && S();
642
- }, D = (d) => {
633
+ u < v && _(u), u + m >= v && p && S();
634
+ }, I = (d) => {
643
635
  var u;
644
- (u = d == null ? void 0 : d.target) == null || u.blur(), c - m >= 0 && C(c - m);
636
+ (u = d == null ? void 0 : d.target) == null || u.blur(), c - m >= 0 && _(c - m);
645
637
  };
646
- return /* @__PURE__ */ i(tr, { ref: f, className: p, children: [
647
- /* @__PURE__ */ n("div", { className: "scrollable-section__header", children: /* @__PURE__ */ i("div", { className: "scrollable-section__title", children: [
648
- ae(r) && /* @__PURE__ */ n(
649
- $e,
638
+ return /* @__PURE__ */ s(tn, { ref: h, className: f, children: [
639
+ /* @__PURE__ */ r("div", { className: "scrollable-section__header", children: /* @__PURE__ */ s("div", { className: "scrollable-section__title", children: [
640
+ ee(n) && /* @__PURE__ */ r(
641
+ ve,
650
642
  {
651
- icon: r,
643
+ icon: n,
652
644
  color: "primary",
653
645
  sizeInUnits: "1.5rem",
654
646
  className: "title__icon"
655
647
  }
656
648
  ),
657
- ae(t) && /* @__PURE__ */ i("div", { className: "title__text", children: [
649
+ ee(t) && /* @__PURE__ */ s("div", { className: "title__text", children: [
658
650
  " ",
659
651
  t
660
652
  ] })
661
653
  ] }) }),
662
- /* @__PURE__ */ i(
663
- ar,
654
+ /* @__PURE__ */ s(
655
+ an,
664
656
  {
665
657
  numOfColumns: o,
666
658
  tabletNumOfColumns: a,
@@ -676,15 +668,15 @@ const Ye = y.a`
676
668
  },
677
669
  className: "scrollable-section__content",
678
670
  children: [
679
- $,
680
- b && h && /* @__PURE__ */ n(He, { onIsVisible: S })
671
+ y,
672
+ b && p && /* @__PURE__ */ r(We, { onIsVisible: S })
681
673
  ]
682
674
  },
683
675
  `scrollable-section__content-${c}`
684
676
  ),
685
- s && v > m && !b && /* @__PURE__ */ i("div", { className: "scrollable-section__navigation", children: [
686
- /* @__PURE__ */ n(
687
- ue,
677
+ i && v > m && !b && /* @__PURE__ */ s("div", { className: "scrollable-section__navigation", children: [
678
+ /* @__PURE__ */ r(
679
+ fe,
688
680
  {
689
681
  icon: "angle-left",
690
682
  borderRadius: "curved",
@@ -692,11 +684,11 @@ const Ye = y.a`
692
684
  color: "neutral",
693
685
  className: "navigation__arrow",
694
686
  disabled: c === 0,
695
- onClick: D
687
+ onClick: I
696
688
  }
697
689
  ),
698
- /* @__PURE__ */ n(
699
- ue,
690
+ /* @__PURE__ */ r(
691
+ fe,
700
692
  {
701
693
  icon: "angle-right",
702
694
  borderRadius: "curved",
@@ -704,17 +696,17 @@ const Ye = y.a`
704
696
  color: "neutral",
705
697
  className: "navigation__arrow",
706
698
  disabled: c + m >= v,
707
- onClick: k
699
+ onClick: C
708
700
  }
709
701
  )
710
702
  ] })
711
703
  ] });
712
704
  }
713
- ), ir = y.div`
705
+ ), sn = w.div`
714
706
  display: flex;
715
707
  flex: 1;
716
708
  width: 100%;
717
- max-height: ${(r) => r == null ? void 0 : r.maxHeight};
709
+ max-height: ${(n) => n == null ? void 0 : n.maxHeight};
718
710
  border-radius: 1.25rem;
719
711
 
720
712
  &:hover {
@@ -727,26 +719,26 @@ const Ye = y.a`
727
719
  border-radius: 1.25rem;
728
720
  object-fit: cover;
729
721
  }
730
- `, sr = R(
722
+ `, ln = M(
731
723
  ({
732
- sectionName: r,
724
+ sectionName: n,
733
725
  imageUrl: t,
734
726
  maxHeight: o = "16.25rem",
735
727
  className: a = "",
736
- handleClick: s = () => {
728
+ handleClick: i = () => {
737
729
  }
738
- }, h) => /* @__PURE__ */ n(
739
- ir,
730
+ }, p) => /* @__PURE__ */ r(
731
+ sn,
740
732
  {
741
- ref: h,
733
+ ref: p,
742
734
  maxHeight: o,
743
- onClick: s,
735
+ onClick: i,
744
736
  className: `itemless-banner ${a}`,
745
- children: /* @__PURE__ */ n("img", { src: t, alt: `itemless-banner__${r}` })
737
+ children: /* @__PURE__ */ r("img", { src: t, alt: `itemless-banner__${n}` })
746
738
  }
747
739
  )
748
- ), lr = y(M)`
749
- @media ${P("S")} {
740
+ ), cn = w(Fe)`
741
+ @media ${T("S")} {
750
742
  flex-direction: column;
751
743
 
752
744
  & .skeleton__image {
@@ -760,96 +752,65 @@ const Ye = y.a`
760
752
  }
761
753
  }
762
754
  }
763
- `, cr = ({ keyPrefix: r }) => /* @__PURE__ */ i(lr, { children: [
764
- /* @__PURE__ */ i(M, { children: [
765
- /* @__PURE__ */ n(
766
- xe,
767
- {
768
- width: "13.75rem",
769
- height: "13.75rem",
770
- className: "skeleton__image"
771
- },
772
- `${r}-1`
773
- ),
774
- /* @__PURE__ */ i(be, { noGradient: !0, children: [
775
- /* @__PURE__ */ n(w, { height: "1rem" }),
776
- /* @__PURE__ */ n(w, { height: "1.75rem" }),
777
- /* @__PURE__ */ n(w, { height: "1.25rem" }),
778
- /* @__PURE__ */ n(w, { height: "2rem" }),
779
- /* @__PURE__ */ i(M, { alignItems: "center", noGradient: !0, children: [
780
- /* @__PURE__ */ n(ve, { width: "2.5rem", height: "2.5rem" }),
781
- /* @__PURE__ */ n(w, { width: "5rem", height: "1.25rem" })
782
- ] })
783
- ] })
784
- ] }),
785
- /* @__PURE__ */ i(M, { noGradient: !0, children: [
786
- /* @__PURE__ */ n(
787
- xe,
788
- {
789
- width: "13.75rem",
790
- height: "13.75rem",
791
- className: "skeleton__image"
792
- },
793
- `${r}-2`
794
- ),
795
- /* @__PURE__ */ i(be, { noGradient: !0, children: [
796
- /* @__PURE__ */ n(w, { height: "1rem" }),
797
- /* @__PURE__ */ n(w, { height: "1.75rem" }),
798
- /* @__PURE__ */ n(w, { height: "1.25rem" }),
799
- /* @__PURE__ */ n(w, { height: "2rem" }),
800
- /* @__PURE__ */ i(M, { alignItems: "center", noGradient: !0, children: [
801
- /* @__PURE__ */ n(ve, { width: "2.5rem", height: "2.5rem" }),
802
- /* @__PURE__ */ n(w, { width: "5rem", height: "1.25rem" })
803
- ] })
755
+ `, dn = ({ keyPrefix: n }) => /* @__PURE__ */ r(cn, { children: [1, 2].map((t) => /* @__PURE__ */ s(he, { children: [
756
+ /* @__PURE__ */ r(He, { size: "13.75rem", className: "skeleton__image" }),
757
+ /* @__PURE__ */ s(qe, { children: [
758
+ /* @__PURE__ */ r(E, { width: "100%", height: "1rem" }),
759
+ /* @__PURE__ */ r(E, { width: "100%", height: "1.75rem" }),
760
+ /* @__PURE__ */ r(E, { width: "100%", height: "1.25rem" }),
761
+ /* @__PURE__ */ r(E, { width: "100%", height: "2rem" }),
762
+ /* @__PURE__ */ s(he, { alignItems: "center", children: [
763
+ /* @__PURE__ */ r(Ye, { size: "2.5rem" }),
764
+ /* @__PURE__ */ r(E, { width: "5rem", height: "1.25rem" })
804
765
  ] })
805
766
  ] })
806
- ] }), dr = ({
807
- keyPrefix: r,
767
+ ] }, `${n}-${t}`)) }), gn = ({
768
+ keyPrefix: n,
808
769
  isLoading: t = !1,
809
- fallbackComponent: o = /* @__PURE__ */ n(Ue, {}),
770
+ fallbackComponent: o = /* @__PURE__ */ r(Te, {}),
810
771
  children: a
811
- }) => /* @__PURE__ */ n(Re, { fallbackComponent: o, children: t === !0 ? /* @__PURE__ */ n(cr, { keyPrefix: r }) : a }), gr = je(nr), kr = R(
772
+ }) => /* @__PURE__ */ r(Ue, { fallbackComponent: o, children: t === !0 ? /* @__PURE__ */ r(dn, { keyPrefix: n }) : a }), mn = Ee(rn), Nn = M(
812
773
  ({
813
- sellerType: r = "Shop",
774
+ sellerType: n = "Shop",
814
775
  items: t = [],
815
776
  title: o,
816
777
  icon: a,
817
- isLoading: s,
818
- onSelectCard: h = () => {
778
+ isLoading: i,
779
+ onSelectCard: p = () => {
819
780
  },
820
- onSelectShop: p = () => {
781
+ onSelectShop: f = () => {
821
782
  },
822
783
  getImage: S = () => {
823
784
  },
824
785
  campaignSingleText: l,
825
- upcomingCampaignText: f,
786
+ upcomingCampaignText: h,
826
787
  salesCampaignTypes: c = [],
827
- startsInPrefixTextPlural: C,
788
+ startsInPrefixTextPlural: _,
828
789
  startsinSuffixTextPlural: m,
829
790
  startsInPrefixTextSingular: N,
830
791
  startsinSuffixTextSingular: b,
831
792
  endsInPrefixTextPlural: v,
832
- endsinSuffixTextPlural: $,
833
- endsInPrefixTextSingular: k,
834
- endsinSuffixTextSingular: D,
793
+ endsinSuffixTextPlural: y,
794
+ endsInPrefixTextSingular: C,
795
+ endsinSuffixTextSingular: I,
835
796
  endedText: d,
836
797
  numOfSlides: u = 4,
837
798
  showNavigation: g = !0,
838
- numberOfListingsTextSingular: V,
799
+ numberOfListingsTextSingular: A,
839
800
  numberOfListingsTextPlural: F,
840
- itemlessImageUrl: A,
841
- itemlessMaxHeight: H,
842
- handleItemlessLink: q = () => {
801
+ itemlessImageUrl: H,
802
+ itemlessMaxHeight: q,
803
+ handleItemlessLink: te = () => {
843
804
  },
844
- componentName: Y,
845
- hasNextPage: j = !1,
846
- handleFetchNextPage: Z = () => {
805
+ componentName: ae,
806
+ hasNextPage: Y = !1,
807
+ handleFetchNextPage: oe = () => {
847
808
  },
848
- LinkComponent: J
809
+ LinkComponent: Z
849
810
  }, se) => {
850
- const z = Ce(), K = Oe(() => {
851
- let O = t == null ? void 0 : t.map((e, B) => /* @__PURE__ */ n(
852
- gr,
811
+ const z = Se(), G = Me(() => {
812
+ let j = t == null ? void 0 : t.map((e, O) => /* @__PURE__ */ r(
813
+ mn,
853
814
  {
854
815
  className: `campaign-item ${(t == null ? void 0 : t.length) === 1 ? "horizontal-campaign-item" : ""}`,
855
816
  coverPhoto: S(
@@ -859,7 +820,7 @@ const Ye = y.a`
859
820
  description: e == null ? void 0 : e.description,
860
821
  endDate: e == null ? void 0 : e.endDate,
861
822
  salesPackages: e == null ? void 0 : e.salesPackages,
862
- sellerType: r,
823
+ sellerType: n,
863
824
  shopImage: e == null ? void 0 : e.profileImage,
864
825
  shopImageComponent: e == null ? void 0 : e.profileImageComponent,
865
826
  shopName: e == null ? void 0 : e.shopName,
@@ -868,62 +829,62 @@ const Ye = y.a`
868
829
  startDate: e == null ? void 0 : e.startDate,
869
830
  title: e == null ? void 0 : e.name,
870
831
  uuid: e == null ? void 0 : e.campaignUuid,
871
- onSelectCard: (le, Q) => h(e == null ? void 0 : e.campaignUuid, e == null ? void 0 : e.shopUuid, Q),
872
- onSelectShop: () => p(e == null ? void 0 : e.shopUuid),
832
+ onSelectCard: (ie, J) => p(e == null ? void 0 : e.campaignUuid, e == null ? void 0 : e.shopUuid, J),
833
+ onSelectShop: () => f(e == null ? void 0 : e.shopUuid),
873
834
  campaignSingleText: l,
874
- upcomingCampaignText: f,
835
+ upcomingCampaignText: h,
875
836
  upcoming: e == null ? void 0 : e.upcoming,
876
837
  salesCampaignTypes: c,
877
- startsInPrefixTextPlural: C,
838
+ startsInPrefixTextPlural: _,
878
839
  startsinSuffixTextPlural: m,
879
840
  startsInPrefixTextSingular: N,
880
841
  startsinSuffixTextSingular: b,
881
842
  endsInPrefixTextPlural: v,
882
- endsinSuffixTextPlural: $,
883
- endsInPrefixTextSingular: k,
884
- endsinSuffixTextSingular: D,
843
+ endsinSuffixTextPlural: y,
844
+ endsInPrefixTextSingular: C,
845
+ endsinSuffixTextSingular: I,
885
846
  endedText: d,
886
847
  themeData: e == null ? void 0 : e.themeData,
887
848
  numberOfListings: e == null ? void 0 : e.numberOfListings,
888
- numberOfListingsTextSingular: V,
849
+ numberOfListingsTextSingular: A,
889
850
  numberOfListingsTextPlural: F,
890
- metadata: { name: Y, accessor: e == null ? void 0 : e.accessor },
891
- LinkComponent: J,
851
+ metadata: { name: ae, accessor: e == null ? void 0 : e.accessor },
852
+ LinkComponent: Z,
892
853
  sponsored: e == null ? void 0 : e.sponsored
893
854
  },
894
- `campaign__item__${B}__${e == null ? void 0 : e.startDate}___${e == null ? void 0 : e.endDate}`
855
+ `campaign__item__${O}__${e == null ? void 0 : e.startDate}___${e == null ? void 0 : e.endDate}`
895
856
  ));
896
857
  return (t == null ? void 0 : t.length) < 4 && !z ? [
897
- ...O,
898
- /* @__PURE__ */ n(
899
- sr,
858
+ ...j,
859
+ /* @__PURE__ */ r(
860
+ ln,
900
861
  {
901
- imageUrl: A,
862
+ imageUrl: H,
902
863
  className: "campaign-item",
903
- maxHeight: H,
904
- handleClick: q
864
+ maxHeight: q,
865
+ handleClick: te
905
866
  },
906
867
  "itemless-campaign-section-banner"
907
868
  )
908
- ] : O;
869
+ ] : j;
909
870
  }, [t]);
910
- return /* @__PURE__ */ n(
911
- dr,
871
+ return /* @__PURE__ */ r(
872
+ gn,
912
873
  {
913
- isLoading: s,
874
+ isLoading: i,
914
875
  keyPrefix: "sales-campaign-skeleton",
915
- children: /* @__PURE__ */ n(
916
- or,
876
+ children: /* @__PURE__ */ r(
877
+ on,
917
878
  {
918
879
  icon: a,
919
880
  title: o,
920
881
  numOfSlides: u,
921
882
  tabletNumOfSlides: 2,
922
883
  showNavigation: g,
923
- hasNextPage: j,
924
- handleFetchNextPage: Z,
884
+ hasNextPage: Y,
885
+ handleFetchNextPage: oe,
925
886
  className: (t == null ? void 0 : t.length) < 4 && !z ? "itemless" : "",
926
- children: K
887
+ children: G
927
888
  },
928
889
  `sales-campaign-section__${z}`
929
890
  )
@@ -932,5 +893,5 @@ const Ye = y.a`
932
893
  }
933
894
  );
934
895
  export {
935
- kr as default
896
+ Nn as default
936
897
  };