@lanaco/lnc-react-ui 4.0.226 → 4.0.227

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 (79) hide show
  1. package/dist/BannerSectionCarousel.cjs +3 -3
  2. package/dist/BannerSectionCarousel.js +18 -11
  3. package/dist/BlogCardsSponsoredSection.cjs +1 -1
  4. package/dist/BlogCardsSponsoredSection.js +1 -1
  5. package/dist/BlogListSection.cjs +7 -7
  6. package/dist/BlogListSection.js +157 -207
  7. package/dist/BlogSingleSection.cjs +2 -11
  8. package/dist/BlogSingleSection.js +19 -35
  9. package/dist/BlogsSectionDetailed.cjs +1 -1
  10. package/dist/BlogsSectionDetailed.js +1 -1
  11. package/dist/BlogsSectionLarge.cjs +8 -16
  12. package/dist/BlogsSectionLarge.js +40 -58
  13. package/dist/BlogsSectionSimple.cjs +1 -1
  14. package/dist/BlogsSectionSimple.js +1 -1
  15. package/dist/BlogsSectionSimpleCentered.cjs +12 -25
  16. package/dist/BlogsSectionSimpleCentered.js +64 -98
  17. package/dist/BlogsSectionWithFilters.cjs +10 -21
  18. package/dist/BlogsSectionWithFilters.js +106 -154
  19. package/dist/BrandHitsSection.cjs +7 -7
  20. package/dist/BrandHitsSection.js +41 -87
  21. package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
  22. package/dist/DetailedProductsInfinitiveSection.js +2 -2
  23. package/dist/DetailedProductsSection.cjs +1 -1
  24. package/dist/DetailedProductsSection.js +2 -2
  25. package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
  26. package/dist/FieldOfInterestsMasonrySection.js +105 -159
  27. package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
  28. package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
  29. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
  30. package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
  31. package/dist/GeneralWithTagsCardsSection.cjs +1 -1
  32. package/dist/GeneralWithTagsCardsSection.js +1 -1
  33. package/dist/GiftCardsSection.cjs +10 -14
  34. package/dist/GiftCardsSection.js +76 -146
  35. package/dist/MasonryGeneralCardsSection.cjs +10 -10
  36. package/dist/MasonryGeneralCardsSection.js +45 -44
  37. package/dist/OverlayGeneralCardsSection.cjs +1 -1
  38. package/dist/OverlayGeneralCardsSection.js +1 -1
  39. package/dist/ProductsWithBannerSection.cjs +13 -13
  40. package/dist/ProductsWithBannerSection.js +87 -168
  41. package/dist/QuattroCardsSection.cjs +1 -1
  42. package/dist/QuattroCardsSection.js +1 -1
  43. package/dist/ReviewsSection.cjs +18 -22
  44. package/dist/ReviewsSection.js +101 -163
  45. package/dist/SalesCampaignsSection.cjs +14 -14
  46. package/dist/SalesCampaignsSection.js +299 -330
  47. package/dist/ShopCardsSection.cjs +6 -19
  48. package/dist/ShopCardsSection.js +54 -100
  49. package/dist/SimpleCategoriesSection.cjs +3 -3
  50. package/dist/SimpleCategoriesSection.js +64 -67
  51. package/dist/SimpleProductsSection.cjs +7 -7
  52. package/dist/SimpleProductsSection.js +65 -138
  53. package/dist/UrgentSaleProductsSection.cjs +1 -1
  54. package/dist/UrgentSaleProductsSection.js +1 -1
  55. package/dist/index-B7fBsitY.js +45 -0
  56. package/dist/index-BMAvJQBG.cjs +9 -0
  57. package/dist/index-BUdvfHpp.cjs +5 -0
  58. package/dist/index-BXT1eY2D.js +753 -0
  59. package/dist/index-C6amCwRZ.js +25 -0
  60. package/dist/index-C8R9lsWG.cjs +1 -0
  61. package/dist/index-CeQvy566.cjs +11 -0
  62. package/dist/index-Cyt4EUZ6.js +20 -0
  63. package/dist/index-D3QZziO_.cjs +368 -0
  64. package/dist/index-VTkAaA-n.js +18 -0
  65. package/dist/style-BFPpppS9.js +73 -0
  66. package/dist/style-CQdEALKR.cjs +59 -0
  67. package/package.json +1 -1
  68. package/dist/index-BGNavrtB.cjs +0 -368
  69. package/dist/index-BHcrzV2G.js +0 -54
  70. package/dist/index-Bj1KWOV4.cjs +0 -11
  71. package/dist/index-BsAddfgC.cjs +0 -1
  72. package/dist/index-Cn4bq6ZX.js +0 -84
  73. package/dist/index-CuRcxKQH.js +0 -42
  74. package/dist/index-DB1J-G6Z.js +0 -38
  75. package/dist/index-DkPva6Gr.cjs +0 -20
  76. package/dist/index-fzBXDy05.cjs +0 -16
  77. package/dist/index-gFZSZLba.js +0 -882
  78. package/dist/style-DvkivBNg.js +0 -74
  79. package/dist/style-Ito6YFqi.cjs +0 -64
@@ -1,368 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),m=require("react"),y=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),D=require("./breakpoints-CcVm-gVm.cjs"),i=require("./utils-CITgSxXe.cjs"),Ne=require("./index-DsINTjQk.cjs"),W=require("./Badge.cjs"),$e=require("./Popover.cjs"),Le=require("./PopoverTrigger.cjs"),We=require("./PopoverContent.cjs"),Ee=require("./useDetectMobile-DYV6V1yw.cjs"),J=require("./Icon.cjs"),n=require("./style-Ito6YFqi.cjs"),Fe=y.styled.a`
2
- display: flex;
3
- flex-direction: column;
4
- gap: 0.5rem;
5
- cursor: pointer;
6
- overflow: hidden;
7
- width: 100%;
8
- text-decoration: none;
9
- color: var(--gray-950, #14161a);
10
- position: relative;
11
-
12
- & .prevent-el {
13
- height: 0;
14
- width: 0;
15
- }
16
- & .seller {
17
- text-transform: uppercase;
18
- ${i.truncateText()}
19
- color: var(--gray-500);
20
- font-size: 0.625rem;
21
- font-weight: 400;
22
- }
23
-
24
- & .wrapper-card-1 {
25
- display: flex;
26
- flex-direction: column;
27
- gap: 0.12rem;
28
- }
29
-
30
- & .wrapper-card-2 {
31
- display: flex;
32
- flex-direction: column;
33
- gap: 0;
34
- }
35
-
36
- & .wrapper-card-3 {
37
- display: flex;
38
- flex-wrap: wrap;
39
- gap: 0.25rem;
40
-
41
- & > div {
42
- & > div {
43
- width: 100% !important;
44
- }
45
- }
46
- }
47
-
48
- & .tag {
49
- height: 1.5rem;
50
- gap: 0.25rem;
51
- padding: 0.25rem 0.375rem;
52
- border-radius: 0.375rem;
53
- background: #f9fafb;
54
- border: 1px solid var(--gray-95012, #14161a1f);
55
- font-weight: 400;
56
- font-size: 0.75rem;
57
- line-height: 1rem;
58
- letter-spacing: 0.025rem;
59
- color: var(--gray-950, #14161a);
60
- white-space: nowrap;
61
- flex: 0 0 auto;
62
-
63
- & i {
64
- color: var(--yellow-500, #f59e0b);
65
- }
66
- }
67
-
68
- & .card-title {
69
- font-size: 0.875rem;
70
- font-weight: 600;
71
- ${i.truncateTextInRows(2)}
72
- }
73
-
74
- & .price-text {
75
- font-size: 1rem;
76
- font-weight: 600;
77
- ${i.truncateText()}
78
- display: flex;
79
- align-items: end;
80
- gap: 0.5rem;
81
- color: var(--gray-950, #14161a);
82
-
83
- &.new-price {
84
- color: var(--danger-600, #e11d48);
85
- }
86
-
87
- & .full-price {
88
- text-decoration: line-through;
89
- font-size: 0.75rem;
90
- font-weight: 400;
91
- padding-bottom: 0.125rem;
92
- color: var(--gray-600, #676e79);
93
- ${i.truncateText()}
94
- }
95
- }
96
-
97
- & .location-text {
98
- font-size: 0.75rem;
99
- font-weight: 400;
100
- color: var(--gray-600, #676e79);
101
- ${i.truncateText()}
102
- }
103
-
104
- & .tags-wrapper {
105
- display: flex;
106
- gap: 0.5rem;
107
- }
108
-
109
- & .tags-popover__trigger {
110
- display: flex;
111
- gap: 0.25rem;
112
- }
113
-
114
- & .campaign-badges {
115
- position: absolute;
116
- top: 0.5rem;
117
- left: 0.75rem;
118
- display: flex;
119
- gap: 0.25rem;
120
- flex-wrap: wrap;
121
- justify-content: flex-start;
122
- z-index: 1;
123
- width: max-content;
124
- max-width: 7rem;
125
- }
126
-
127
- & .campaign-badge {
128
- width: fit-content;
129
- height: 1.5rem;
130
- border-radius: 0.25rem;
131
- display: flex;
132
- align-items: center;
133
- justify-content: center;
134
- color: white;
135
- font-size: 1rem;
136
- padding-inline: 0.15rem;
137
-
138
- i {
139
- ::before {
140
- margin-inline: 0;
141
- }
142
- }
143
- }
144
-
145
- & .campaign-badge-adddiscount {
146
- background-color: #f43f5e;
147
- }
148
-
149
- & .campaign-badge-freeshipping {
150
- background-color: #1abc86;
151
- }
152
-
153
- & .campaign-badge-freequantity {
154
- background-color: #2691d9;
155
- }
156
-
157
- & .campaign-badge-includegifts {
158
- background-color: #8b5cf6;
159
- }
160
-
161
- & .campaign-badge-urgent {
162
- background-color: #e11d48;
163
- width: fit-content;
164
- padding-inline: 0.5rem;
165
- }
166
-
167
- @media ${D.down("S")} {
168
- overflow: visible;
169
-
170
- & .wrapper-card-3 {
171
- flex-wrap: nowrap;
172
- justify-content: flex-start;
173
- overflow-x: scroll;
174
- width: 8.875rem !important;
175
-
176
- -webkit-overflow-scrolling: touch;
177
- ::-webkit-scrollbar {
178
- -webkit-appearance: none;
179
- }
180
- -ms-overflow-style: none;
181
- /* Internet Explorer 10+ */
182
- scrollbar-width: none;
183
- /* Firefox */
184
-
185
- &::-webkit-scrollbar {
186
- display: none;
187
- /* Safari and Chrome */
188
- }
189
-
190
- & > div {
191
- & > div {
192
- width: 8.875rem !important;
193
- }
194
- }
195
- }
196
-
197
- & .tags-popover__trigger {
198
- overflow-x: scroll;
199
- justify-content: flex-start;
200
- width: 100%;
201
-
202
- -webkit-overflow-scrolling: touch;
203
- ::-webkit-scrollbar {
204
- -webkit-appearance: none;
205
- }
206
- -ms-overflow-style: none;
207
- /* Internet Explorer 10+ */
208
- scrollbar-width: none;
209
- /* Firefox */
210
-
211
- &::-webkit-scrollbar {
212
- display: none;
213
- /* Safari and Chrome */
214
- }
215
- }
216
-
217
- & .price-text {
218
- font-size: 0.875rem;
219
- font-weight: 600;
220
-
221
- & .full-price {
222
- display: none;
223
- }
224
- }
225
- }
226
-
227
- &:hover .product-image-wrapper img {
228
- transform: scale(1.1);
229
- }
230
- `,qe=y.styled.div`
231
- position: relative;
232
- overflow: hidden;
233
- border-radius: 0.75rem;
234
- width: 100%;
235
- aspect-ratio: 1 / 1;
236
- border: 1px solid #0c15201f;
237
-
238
- & .bookmarking-btn {
239
- position: absolute;
240
- right: 0.5rem;
241
- top: 0.5rem;
242
- z-index: 1;
243
-
244
- display: none;
245
-
246
- align-items: center;
247
- justify-content: center;
248
-
249
- width: 2.25rem;
250
- height: 2.25rem;
251
- border-radius: ${s=>i.getBorderRadiusValueWithUnits(s.theme,"curved")};
252
- border: 1px solid var(--gray-95008);
253
- background-color: white;
254
- color: var(--gray-950);
255
- transition: transform 0.2s ease;
256
-
257
- &:hover {
258
- transform: scale(1.05);
259
- }
260
-
261
- i {
262
- color: #14161a;
263
- font-size: 1.1rem;
264
- line-height: 1;
265
- }
266
- }
267
-
268
- &:hover {
269
- & .bookmarking-btn {
270
- display: flex;
271
- }
272
- }
273
-
274
- & img {
275
- display: block;
276
- width: 100%;
277
- height: 100%;
278
- object-fit: cover;
279
- border-radius: 0.75rem;
280
- transition: var(--transition, all 0.3s ease);
281
- }
282
-
283
- @media ${D.down("S")} {
284
- & img {
285
- width: 8.875rem;
286
- height: 8.875rem;
287
- min-width: 8.875rem;
288
- min-height: 8.875rem;
289
- object-fit: cover;
290
- }
291
-
292
- & .bookmarking-btn {
293
- display: flex;
294
- bottom: 0.5rem;
295
- top: unset;
296
- }
297
- }
298
- `,ze=y.styled.div`
299
- background: var(--white, #fff);
300
- z-index: 1;
301
-
302
- border: 1px solid var(--gray-200, #dddfe4);
303
- border-radius: 0.5rem;
304
- line-height: 1rem;
305
- position: absolute;
306
- padding: 0.5rem 0.75rem;
307
- top: 0.5rem;
308
- left: 25%;
309
- transform: translateX(-50%);
310
- min-width: 13rem;
311
-
312
- &::before,
313
- &::after {
314
- content: "";
315
- position: absolute;
316
- left: 50%;
317
- transform: translateX(-50%);
318
- border-style: solid;
319
- border-width: 0.625rem;
320
- }
321
-
322
- &::after {
323
- top: -1.1875rem;
324
- border-color: transparent transparent var(--white, #fff) transparent;
325
- }
326
-
327
- &::before {
328
- top: -1.25rem;
329
- border-color: transparent transparent var(--gray-200, #dddfe4) transparent;
330
- }
331
-
332
- & .tags-popover__content {
333
- display: flex;
334
- flex-wrap: wrap;
335
- flex-direction: column;
336
- gap: 0.375rem;
337
- font-size: 0.75rem;
338
- font-weight: 400;
339
-
340
- & .tags-popover__name {
341
- color: var(--gray-600, #676e79);
342
- }
343
-
344
- & .tags-popover__value {
345
- color: var(--gray-950, #14161a);
346
- }
347
- }
348
- `,De=y.styled.div`
349
- display: flex;
350
- align-items: center;
351
- gap: 0.25rem;
352
- color: var(--gray-500);
353
- font-size: 0.75rem;
354
- font-weight: 500;
355
-
356
- & i {
357
- font-size: 1rem;
358
- color: var(--warning-500, #F59E0B);
359
- }
360
- `,Ve=m.forwardRef(({sponsoredText:s="Sponsored"},P)=>e.jsxs(De,{ref:P,className:"sponsored-line",children:[e.jsx("i",{className:"mng-lnc-paw2"}),e.jsx("span",{children:s})]})),Ge="Vehicles_Cars",Ie="Vehicles_Motorcycles",Oe="Vehicles_Trucks",Ue="Vehicles_AgriculturalMachines_Tractors",Be="Vehicles_ConstructionMachines",Me="Vehicles_Bus",Te="Vehicles_Campers",Ae="RealEstates_",l={Mileage:{icon:"mng-lnc-road",measure:"km"},YearOfProduction:{icon:"mng-lnc-calendar",measure:""},Fuel:{icon:"mng-lnc-gas-station",measure:""},EnginePowerKW:{icon:"mng-lnc-engine",measure:"kW"},Transmission:{icon:"mng-lnc-transmission",measure:""},Model:{icon:"mng-lnc-application",measure:""},Brand:{icon:"mng-lnc-car--front",measure:""},SurfaceArea:{icon:"mng-lnc-right-angle",measure:""},Floor:{icon:"mng-lnc-elevator",measure:""},FurnishedCondition:{icon:"mng-lnc-sofa-01",measure:""},AdType:{icon:"mng-lnc-notes",measure:""},NumberOfRooms:{icon:"mng-lnc-meeting-room",measure:""},HeatingType:{icon:"mng-lnc-heat",measure:""},AirConditioning:{icon:"mng-lnc-air-conditioner",measure:""},Type:{icon:"mng-lnc-house-building",measure:""},Parking:{icon:"mng-lnc-parking-area-circle",measure:""},Internet:{icon:"mng-lnc-wifi-02",measure:""},State:{icon:"mng-lnc-settings-1",measure:""},NumberOfPremises:{icon:"mng-lnc-meeting-room",measure:""},Pool:{icon:"mng-lnc-pool",measure:""},Approach:{icon:"mng-lnc-driveway",measure:""},NumberOfBeds:{icon:"mng-lnc-bed",measure:""},Kitchen:{icon:"mng-lnc-fridge",measure:""},BathroomToilet:{icon:"mng-lnc-bath",measure:""},default:{icon:" mng-lnc-clock--filled",measure:""}},x={ADDDISCOUNT:" mng-lnc-percentage",URGENT:" mng-lnc-flash",FREEQUANTITY:" mng-lnc-3d-software",INCLUDEGIFTS:" mng-lnc-gift",FREESHIPPING:" mng-lnc-delivery--parcel"},Xe=m.forwardRef((s,P)=>{const{uuid:h,sellerUuid:E,name:Z,price:R=0,sellingPrice:S,currency:k,isNegotiable:_,isFree:N,imageUrl:ee,location:re,sponsored:ne,imageComponent:V,freeText:oe="Free",negotiableText:te="Negotiable",tags:t=[],categoryCode:$,categoryName:ie,condition:G,quantity:F,trade:I,sponsoredText:se,forCart:ae,forOrder:le,contactSeller:ce,hasVariants:de,hasQuantities:me,status:he,onBookmark:q=()=>{},actionComponent:w,bookmarked:O,bookmarkLists:ue,metadata:v,sellerName:U,nameSlug:L,onSelectCard:pe=()=>{},activeSalesPackages:u,urgentText:ge="Urgent",LinkComponent:B,hasFreeShipping:fe}=s,be=B||"a",z=Ee.useDetectMobile(),we=()=>{var d;if(!i.isDefined(w))return e.jsx(e.Fragment,{});const r=w,o=(d=w==null?void 0:w.props)==null?void 0:d.children,a=m.cloneElement(o,{key:`bookmark_pr__${O}`,bookmarked:O,productUuid:h,onAddToBookmark:()=>q(!0,h),onRemoveFromBookmark:()=>q(!1,h),bookmarkedUuidList:ue,sellerUuid:E,handleBookmarking:q,forCart:ae,forOrder:le,contactSeller:ce,hasVariants:de,status:he,quantity:F,hasQuantities:me,productBasicInfo:{uuid:h,price:R,sellingPrice:S,categoryCode:$,categoryName:ie,currency:k,isNegotiable:_,isFree:N}});return m.cloneElement(r,void 0,a)},M=[Ge,Ie,Oe,Ue,Be,Me,Te,Ae].some(r=>$==null?void 0:$.includes(r)),[ve,T]=m.useState(!1),je=()=>{T(!0)},xe=()=>{T(!1)},c=m.useRef(null),f=m.useRef([]),[Se,A]=m.useState(t==null?void 0:t.length),ke=()=>{var d,j,C;if(!(c!=null&&c.current)||((d=f==null?void 0:f.current)==null?void 0:d.length)===0)return;if(z){A(t==null?void 0:t.length);return}const r=(j=c==null?void 0:c.current)==null?void 0:j.offsetWidth;let o=0,a=0;for(let p=0;p<(t==null?void 0:t.length);p++){const b=((C=f==null?void 0:f.current[p])==null?void 0:C.offsetWidth)||0,g=o+b+4;if(g<=r)o+=g,a++;else break}A(a)};m.useEffect(()=>{const r=c==null?void 0:c.current;if(!r)return;const o=new ResizeObserver(()=>{ke()});return o.observe(r),()=>{o.disconnect()}},[t,z]);const Ce=()=>{var r;return e.jsx("div",{className:"tags-popover__trigger",children:(r=t==null?void 0:t.slice(0,Se))==null?void 0:r.map((o,a)=>{var b,g,H,K,Q;const d=((b=l==null?void 0:l[o==null?void 0:o.code])==null?void 0:b.icon)??((g=l==null?void 0:l.default)==null?void 0:g.icon)??"",j=((H=o==null?void 0:o.measurementUnit)==null?void 0:H.symbol)??((K=l==null?void 0:l[o==null?void 0:o.code])==null?void 0:K.measure)??"",p=[(o==null?void 0:o.value)??((Q=o==null?void 0:o.multiOptions)==null?void 0:Q[0])??"",j].filter(Boolean).join(" ");return e.jsxs(W,{ref:_e=>f.current[a]=_e,className:"tag",children:[e.jsx("i",{className:d}),p]},`detailed-products-section-tag__${a+1}`)})})},ye=()=>e.jsx("div",{className:"tags-popover__content",children:t==null?void 0:t.map((r,o)=>{var p,b,g;const a=((p=r==null?void 0:r.measurementUnit)==null?void 0:p.symbol)??((b=l==null?void 0:l[r==null?void 0:r.code])==null?void 0:b.measure)??"",j=[(r==null?void 0:r.value)??((g=r==null?void 0:r.multiOptions)==null?void 0:g[0])??"",a].filter(Boolean).join(" "),C=r==null?void 0:r.name;return e.jsxs("div",{children:[e.jsx("span",{className:"tags-popover__name",children:`${C}: `}),e.jsx("span",{className:"tags-popover__value",children:j})]},`detailed-products-section-tag-dropdown__${o+1}`)})}),Pe=()=>e.jsxs(e.Fragment,{children:[G&&e.jsx(W,{className:"tag",children:G},"detailed-products-section-tag__condition"),F&&e.jsx(W,{className:"tag",children:F},"detailed-products-section-tag__quantity"),I&&e.jsx(W,{className:"tag",children:I},"detailed-products-section-tag__trade")]}),X=R>0&&k&&_!==!0&&N!==!0&&R!==S,Re=u==null?void 0:u.some(r=>(r==null?void 0:r.salesPackageCode)==="FreeShipping"),Y=fe===!0&&!Re;return e.jsxs(Fe,{ref:c,className:"product-card","data-accessor":v==null?void 0:v.accessor,name:v==null?void 0:v.name,onClick:r=>pe(r,c),as:be,...B?{to:`/product/${i.isDefinedNotEmptyString(L)?`${L}-`:""}${h}`}:{href:`/product/${i.isDefinedNotEmptyString(L)?`${L}-`:""}${h}`},children:[e.jsxs(qe,{className:"product-image-wrapper",children:[i.isDefined(w)&&e.jsx("div",{className:"prevent-el",onClick:r=>{r==null||r.preventDefault(),r==null||r.stopPropagation()},children:e.jsx(we,{})}),i.isDefined(V)?V:e.jsx(Ne.ProductImageWrapper,{src:ee})]}),(Y||u&&u.length>0)&&e.jsxs("div",{className:"campaign-badges",children:[Y&&e.jsx("div",{className:"campaign-badge campaign-badge-freeshipping",children:e.jsx(J,{icon:x==null?void 0:x.FREESHIPPING,sizeInUnits:"1rem"})}),u==null?void 0:u.map((r,o)=>{var a,d;return e.jsxs("div",{className:`campaign-badge campaign-badge-${(a=r==null?void 0:r.salesPackageCode)==null?void 0:a.toLowerCase()}`,children:[(r==null?void 0:r.salesPackageCode)!=="Urgent"&&e.jsx(J,{icon:x==null?void 0:x[(d=r==null?void 0:r.salesPackageCode)==null?void 0:d.toUpperCase()],sizeInUnits:"1rem"}),(r==null?void 0:r.salesPackageCode)==="Urgent"&&e.jsx(e.Fragment,{children:ge})]},o)})]}),e.jsxs("div",{className:"wrapper-card-1",children:[e.jsx("div",{className:"seller",title:U,children:U}),e.jsx("div",{className:"card-title",children:Z})]}),e.jsxs("div",{className:"wrapper-card-3",onClick:r=>{r==null||r.preventDefault(),r==null||r.stopPropagation()},children:[M&&e.jsx("div",{...z?{}:{onMouseEnter:je,onMouseLeave:xe},children:e.jsxs($e,{placement:"bottom",open:ve,children:[e.jsx(Le,{children:Ce()}),e.jsx(We,{style:{all:"unset"},children:e.jsx(ze,{children:ye()})})]})}),!M&&Pe()]}),e.jsxs("div",{className:"wrapper-card-2",children:[e.jsxs("div",{className:`price-text ${X?"new-price":""}`,children:[S>0&&k&&_!==!0&&N!==!0&&e.jsx("div",{children:`${i.formatPrice(S)} ${i.GetCurrencySymbol(k)}`}),X&&e.jsx("div",{className:`${S>0?"full-price":""}`,children:`${i.formatPrice(R)} ${i.GetCurrencySymbol(k)}`}),_&&te,N&&oe]}),e.jsx("div",{className:"location-text",children:re})]}),ne===!0&&e.jsx(Ve,{sponsoredText:se})]})}),Ye=y.styled(n.SkeletonRowWrapper)`
361
- @media ${D.down("S")} {
362
- & > div {
363
- &:nth-of-type(even) {
364
- display: none;
365
- }
366
- }
367
- }
368
- `,He=({keyPrefix:s})=>e.jsxs(Ye,{children:[e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonColumnWrapper,{height:"1rem",children:e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"})}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonColumnWrapper,{height:"2rem",children:e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})})]},`${s}-1`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${s}-2`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${s}-3`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${s}-4`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${s}-5`),e.jsxs(n.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(n.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(n.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${s}-6`)]}),Ke=({keyPrefix:s,isLoading:P=!1,fallbackComponent:h=e.jsx(e.Fragment,{}),children:E})=>e.jsx(m.Suspense,{fallbackComponent:h,children:P===!0?e.jsx(He,{keyPrefix:s}):E});exports.DetailedProductCard=Xe;exports.SuspenseDetailedProductCard=Ke;
@@ -1,54 +0,0 @@
1
- import { jsxs as i, jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { Suspense as d } from "react";
3
- import { S as m, a as o } from "./style-DvkivBNg.js";
4
- import { s as l } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
- import { d as c } from "./breakpoints-BubDitvo.js";
6
- const f = l(m)`
7
- @media ${c("S")} {
8
- flex-direction: column;
9
-
10
- & > div {
11
- background: linear-gradient(
12
- to right,
13
- transparent 0%,
14
- #f4f6fb 40%,
15
- #f4f6fb 100%
16
- );
17
-
18
- box-shadow: none;
19
- }
20
- }
21
- `, h = ({ keyPrefix: r }) => /* @__PURE__ */ i(f, { children: [
22
- /* @__PURE__ */ e(
23
- o,
24
- {
25
- height: "23rem",
26
- borderRadius: "0.75rem"
27
- },
28
- `${r}-1`
29
- ),
30
- /* @__PURE__ */ e(
31
- o,
32
- {
33
- height: "23rem",
34
- borderRadius: "0.75rem"
35
- },
36
- `${r}-2`
37
- ),
38
- /* @__PURE__ */ e(
39
- o,
40
- {
41
- height: "23rem",
42
- borderRadius: "0.75rem"
43
- },
44
- `${r}-3`
45
- )
46
- ] }), R = ({
47
- keyPrefix: r,
48
- isLoading: t = !1,
49
- fallbackComponent: n = /* @__PURE__ */ e(a, {}),
50
- children: s
51
- }) => /* @__PURE__ */ e(d, { fallbackComponent: n, children: t === !0 ? /* @__PURE__ */ e(h, { keyPrefix: r }) : s });
52
- export {
53
- R as S
54
- };
@@ -1,11 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),i=require("react"),t=require("./style-Ito6YFqi.cjs"),o=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),h=require("./breakpoints-CcVm-gVm.cjs"),a=o.styled(t.SkeletonRowWrapper)`
2
- &.skeleton__tags {
3
- max-width: 50rem;
4
- }
5
-
6
- @media ${h.down("S")} {
7
- &.skeleton__tags {
8
- overflow-x: hidden;
9
- }
10
- }
11
- `,d=({keyPrefix:n})=>e.jsxs(a,{className:"skeleton__cards",children:[e.jsx(t.SkeletonLinePlaceholder,{height:"13.75rem"},`${n}-1`),e.jsx(t.SkeletonLinePlaceholder,{height:"13.75rem"},`${n}-2`),e.jsx(t.SkeletonLinePlaceholder,{height:"13.75rem"},`${n}-3`)]}),m=({keyPrefix:n,isLoading:r=!1,fallbackComponent:s=e.jsx(e.Fragment,{}),children:l})=>e.jsx(i.Suspense,{fallbackComponent:s,children:r===!0?e.jsx(d,{keyPrefix:n}):l}),c=({keyPrefix:n})=>e.jsxs(a,{className:"skeleton__tags",children:[e.jsx(t.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",children:e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})},`${n}-1`),e.jsx(t.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})},`${n}-2`),e.jsx(t.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})},`${n}-3`),e.jsx(t.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})},`${n}-4`),e.jsx(t.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:e.jsx(t.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})},`${n}-5`)]}),g=({keyPrefix:n,isLoading:r=!1,fallbackComponent:s=e.jsx(e.Fragment,{}),children:l})=>e.jsx(i.Suspense,{fallbackComponent:s,children:r===!0?e.jsx(c,{keyPrefix:n}):l});exports.SuspenseFieldOfInterestsWithTagsCard=m;exports.SuspenseFieldOfInterestsWithTagsTag=g;
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),s=require("./style-Ito6YFqi.cjs"),c=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),i=c.styled(s.SkeletonRowWrapper)``,d=({keyPrefix:r})=>e.jsxs(i,{children:[e.jsx(s.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${r}-1`),e.jsx(s.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${r}-2`),e.jsx(s.SkeletonLinePlaceholder,{width:"5rem",borderRadius:"0.75rem"},`${r}-3`)]}),u=({keyPrefix:r,isLoading:t=!1,fallbackComponent:n=e.jsx(e.Fragment,{}),children:o})=>e.jsx(l.Suspense,{fallbackComponent:n,children:t===!0?e.jsx(d,{keyPrefix:r}):o});exports.SuspenseSelectBar=u;
@@ -1,84 +0,0 @@
1
- import { jsxs as m, jsx as e, Fragment as h } from "react/jsx-runtime";
2
- import { Suspense as l } from "react";
3
- import { S as d, a as r, b as n } from "./style-DvkivBNg.js";
4
- import { s as g } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
- import { d as c } from "./breakpoints-BubDitvo.js";
6
- const o = g(d)`
7
- &.skeleton__tags {
8
- max-width: 50rem;
9
- }
10
-
11
- @media ${c("S")} {
12
- &.skeleton__tags {
13
- overflow-x: hidden;
14
- }
15
- }
16
- `, p = ({ keyPrefix: t }) => /* @__PURE__ */ m(o, { className: "skeleton__cards", children: [
17
- /* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-1`),
18
- /* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-2`),
19
- /* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-3`)
20
- ] }), f = ({
21
- keyPrefix: t,
22
- isLoading: s = !1,
23
- fallbackComponent: a = /* @__PURE__ */ e(h, {}),
24
- children: i
25
- }) => /* @__PURE__ */ e(l, { fallbackComponent: a, children: s === !0 ? /* @__PURE__ */ e(p, { keyPrefix: t }) : i }), u = ({ keyPrefix: t }) => /* @__PURE__ */ m(o, { className: "skeleton__tags", children: [
26
- /* @__PURE__ */ e(
27
- n,
28
- {
29
- alignItems: "center",
30
- gap: "0.5rem",
31
- children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
32
- },
33
- `${t}-1`
34
- ),
35
- /* @__PURE__ */ e(
36
- n,
37
- {
38
- alignItems: "center",
39
- gap: "0.5rem",
40
- noGradient: !0,
41
- children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
42
- },
43
- `${t}-2`
44
- ),
45
- /* @__PURE__ */ e(
46
- n,
47
- {
48
- alignItems: "center",
49
- gap: "0.5rem",
50
- noGradient: !0,
51
- children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
52
- },
53
- `${t}-3`
54
- ),
55
- /* @__PURE__ */ e(
56
- n,
57
- {
58
- alignItems: "center",
59
- gap: "0.5rem",
60
- noGradient: !0,
61
- children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
62
- },
63
- `${t}-4`
64
- ),
65
- /* @__PURE__ */ e(
66
- n,
67
- {
68
- alignItems: "center",
69
- gap: "0.5rem",
70
- noGradient: !0,
71
- children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
72
- },
73
- `${t}-5`
74
- )
75
- ] }), T = ({
76
- keyPrefix: t,
77
- isLoading: s = !1,
78
- fallbackComponent: a = /* @__PURE__ */ e(h, {}),
79
- children: i
80
- }) => /* @__PURE__ */ e(l, { fallbackComponent: a, children: s === !0 ? /* @__PURE__ */ e(u, { keyPrefix: t }) : i });
81
- export {
82
- T as S,
83
- f as a
84
- };
@@ -1,42 +0,0 @@
1
- import { jsxs as n, jsx as e, Fragment as d } from "react/jsx-runtime";
2
- import { Suspense as l } from "react";
3
- import { b as m, S as t, a as o } from "./style-DvkivBNg.js";
4
- import { s as h } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
- import { d as p } from "./breakpoints-BubDitvo.js";
6
- const c = h(m)`
7
- @media ${p("S")} {
8
- flex-direction: column;
9
-
10
- & > div {
11
- flex-direction: column;
12
-
13
- & > div {
14
- background: linear-gradient(
15
- to right,
16
- transparent 0%,
17
- #f4f6fb 40%,
18
- #f4f6fb 100%
19
- );
20
-
21
- box-shadow: none;
22
- }
23
- }
24
- }
25
- `, f = ({ keyPrefix: r }) => /* @__PURE__ */ n(c, { children: [
26
- /* @__PURE__ */ n(t, { children: [
27
- /* @__PURE__ */ e(o, { height: "11.25rem" }, `${r}-1`),
28
- /* @__PURE__ */ e(o, { height: "11.25rem" }, `${r}-2`)
29
- ] }),
30
- /* @__PURE__ */ n(t, { children: [
31
- /* @__PURE__ */ e(o, { height: "11.25rem" }, `${r}-3`),
32
- /* @__PURE__ */ e(o, { height: "11.25rem" }, `${r}-4`)
33
- ] })
34
- ] }), C = ({
35
- keyPrefix: r,
36
- isLoading: s = !1,
37
- fallbackComponent: a = /* @__PURE__ */ e(d, {}),
38
- children: i
39
- }) => /* @__PURE__ */ e(l, { fallbackComponent: a, children: s === !0 ? /* @__PURE__ */ e(f, { keyPrefix: r }) : i });
40
- export {
41
- C as S
42
- };
@@ -1,38 +0,0 @@
1
- import { jsxs as a, jsx as e, Fragment as m } from "react/jsx-runtime";
2
- import { Suspense as d } from "react";
3
- import { S as i, a as t } from "./style-DvkivBNg.js";
4
- import { s as l } from "./emotion-styled.browser.esm-DfbrHHed.js";
5
- const p = l(i)``, S = ({ keyPrefix: r }) => /* @__PURE__ */ a(p, { children: [
6
- /* @__PURE__ */ e(
7
- t,
8
- {
9
- width: "5rem",
10
- borderRadius: "0.75rem"
11
- },
12
- `${r}-1`
13
- ),
14
- /* @__PURE__ */ e(
15
- t,
16
- {
17
- width: "5rem",
18
- borderRadius: "0.75rem"
19
- },
20
- `${r}-2`
21
- ),
22
- /* @__PURE__ */ e(
23
- t,
24
- {
25
- width: "5rem",
26
- borderRadius: "0.75rem"
27
- },
28
- `${r}-3`
29
- )
30
- ] }), R = ({
31
- keyPrefix: r,
32
- isLoading: o = !1,
33
- fallbackComponent: s = /* @__PURE__ */ e(m, {}),
34
- children: n
35
- }) => /* @__PURE__ */ e(d, { fallbackComponent: s, children: o === !0 ? /* @__PURE__ */ e(S, { keyPrefix: r }) : n });
36
- export {
37
- R as S
38
- };
@@ -1,20 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./style-Ito6YFqi.cjs"),i=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),c=i.styled(n.SkeletonColumnWrapper)`
2
- @media ${d.down("S")} {
3
- flex-direction: column;
4
-
5
- & > div {
6
- flex-direction: column;
7
-
8
- & > div {
9
- background: linear-gradient(
10
- to right,
11
- transparent 0%,
12
- #f4f6fb 40%,
13
- #f4f6fb 100%
14
- );
15
-
16
- box-shadow: none;
17
- }
18
- }
19
- }
20
- `,a=({keyPrefix:r})=>e.jsxs(c,{children:[e.jsxs(n.SkeletonRowWrapper,{children:[e.jsx(n.SkeletonLinePlaceholder,{height:"11.25rem"},`${r}-1`),e.jsx(n.SkeletonLinePlaceholder,{height:"11.25rem"},`${r}-2`)]}),e.jsxs(n.SkeletonRowWrapper,{children:[e.jsx(n.SkeletonLinePlaceholder,{height:"11.25rem"},`${r}-3`),e.jsx(n.SkeletonLinePlaceholder,{height:"11.25rem"},`${r}-4`)]})]}),h=({keyPrefix:r,isLoading:o=!1,fallbackComponent:s=e.jsx(e.Fragment,{}),children:t})=>e.jsx(l.Suspense,{fallbackComponent:s,children:o===!0?e.jsx(a,{keyPrefix:r}):t});exports.SuspenseBlogCardsSponsored=h;
@@ -1,16 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),i=require("react"),n=require("./style-Ito6YFqi.cjs"),l=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),a=l.styled(n.SkeletonRowWrapper)`
2
- @media ${d.down("S")} {
3
- flex-direction: column;
4
-
5
- & > div {
6
- background: linear-gradient(
7
- to right,
8
- transparent 0%,
9
- #f4f6fb 40%,
10
- #f4f6fb 100%
11
- );
12
-
13
- box-shadow: none;
14
- }
15
- }
16
- `,c=({keyPrefix:r})=>e.jsxs(a,{children:[e.jsx(n.SkeletonLinePlaceholder,{height:"23rem",borderRadius:"0.75rem"},`${r}-1`),e.jsx(n.SkeletonLinePlaceholder,{height:"23rem",borderRadius:"0.75rem"},`${r}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"23rem",borderRadius:"0.75rem"},`${r}-3`)]}),u=({keyPrefix:r,isLoading:t=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:s})=>e.jsx(i.Suspense,{fallbackComponent:o,children:t===!0?e.jsx(c,{keyPrefix:r}):s});exports.SuspenseBlogsSectionDetailed=u;