@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.
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerNextSection.cjs +1 -1
- package/dist/BannerNextSection.js +1 -1
- package/dist/BannerSectionCarousel.cjs +3 -3
- package/dist/BannerSectionCarousel.js +19 -12
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +4 -4
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +2 -2
- package/dist/BlogListSection.cjs +7 -7
- package/dist/BlogListSection.js +157 -207
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +1 -1
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +2 -11
- package/dist/BlogSingleSection.js +20 -36
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +4 -4
- package/dist/BlogsSectionLarge.cjs +8 -16
- package/dist/BlogsSectionLarge.js +41 -59
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +4 -4
- package/dist/BlogsSectionSimpleCentered.cjs +12 -25
- package/dist/BlogsSectionSimpleCentered.js +64 -98
- package/dist/BlogsSectionWithFilters.cjs +10 -21
- package/dist/BlogsSectionWithFilters.js +106 -154
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +41 -87
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/{CategorySimpleCard-TJRJ_2Sb.js → CategorySimpleCard-BE6F0PFT.js} +1 -1
- package/dist/{CategorySimpleCard-lIdzBNDa.cjs → CategorySimpleCard-Dr1FxIY9.cjs} +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-B6uutenq.js → CustomStyles-YyM49BGx.js} +1 -1
- package/dist/{CustomStyles-dJQPJ4s4.cjs → CustomStyles-lzAjVMnI.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +4 -4
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +5 -5
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +105 -159
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +2 -2
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +2 -2
- package/dist/GiftCardsSection.cjs +10 -14
- package/dist/GiftCardsSection.js +77 -147
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +10 -10
- package/dist/MasonryGeneralCardsSection.js +45 -44
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +1 -1
- package/dist/PartnerBrandsSection.cjs +1 -1
- package/dist/PartnerBrandsSection.js +1 -1
- package/dist/PartnerCardsSection.cjs +1 -1
- package/dist/PartnerCardsSection.js +1 -1
- package/dist/PartnerStatsSection.cjs +1 -1
- package/dist/PartnerStatsSection.js +1 -1
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +13 -13
- package/dist/ProductsWithBannerSection.js +87 -168
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +2 -2
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +18 -22
- package/dist/ReviewsSection.js +101 -163
- package/dist/SalesCampaignsSection.cjs +25 -25
- package/dist/SalesCampaignsSection.js +267 -306
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +6 -19
- package/dist/ShopCardsSection.js +56 -102
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +3 -3
- package/dist/SimpleCategoriesSection.js +65 -68
- package/dist/SimpleProductsSection.cjs +7 -7
- package/dist/SimpleProductsSection.js +65 -138
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +1 -1
- package/dist/StatsSection.js +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/index-B7fBsitY.js +45 -0
- package/dist/{index-BkztbBWe.cjs → index-B96icAp4.cjs} +1 -1
- package/dist/index-BMAvJQBG.cjs +9 -0
- package/dist/index-BUdvfHpp.cjs +5 -0
- package/dist/{index-tdg_Vmed.cjs → index-BXkL0HmX.cjs} +1 -1
- package/dist/index-C6amCwRZ.js +25 -0
- package/dist/index-C8R9lsWG.cjs +1 -0
- package/dist/{index-Djo0ZcRE.js → index-CCwfh-7A.js} +1 -1
- package/dist/{index-jGcy-5M_.js → index-CNUuIL97.js} +2 -2
- package/dist/index-CeQvy566.cjs +11 -0
- package/dist/{index-DsINTjQk.cjs → index-ChHUGfjn.cjs} +1 -1
- package/dist/index-Cyt4EUZ6.js +20 -0
- package/dist/{index-DEypPQRI.js → index-D6_3Q8lN.js} +1 -1
- package/dist/{index-D4-_TrSn.cjs → index-DnbzopIv.cjs} +1 -1
- package/dist/{index-rhYVjszT.js → index-DtVJCOWc.js} +2 -2
- package/dist/index-DueyY06i.cjs +368 -0
- package/dist/{index-D4OKsSqi.cjs → index-HzW6OHFF.cjs} +1 -1
- package/dist/{index-3GKF_7BJ.cjs → index-RrqW9QBJ.cjs} +1 -1
- package/dist/index-VTkAaA-n.js +18 -0
- package/dist/{index-CM6vzQBx.js → index-eOeAkUSU.js} +1 -1
- package/dist/{index-Dx2hfxCG.js → index-gHaK62BZ.js} +2 -2
- package/dist/index-zIt6TVeg.js +753 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/style-BFPpppS9.js +73 -0
- package/dist/{style-D54KOzZj.js → style-CP_urKvc.js} +1 -1
- package/dist/style-CQdEALKR.cjs +59 -0
- package/dist/{style-Boz6dk5s.cjs → style-cJUZrJoG.cjs} +1 -1
- package/dist/{utils-CITgSxXe.cjs → utils-BK6B_Y9X.cjs} +2 -2
- package/dist/{utils-MoGhNMmj.js → utils-BUdHa0nB.js} +16 -23
- package/package.json +1 -1
- package/dist/index-BGNavrtB.cjs +0 -368
- package/dist/index-BHcrzV2G.js +0 -54
- package/dist/index-Bj1KWOV4.cjs +0 -11
- package/dist/index-BsAddfgC.cjs +0 -1
- package/dist/index-Cn4bq6ZX.js +0 -84
- package/dist/index-CuRcxKQH.js +0 -42
- package/dist/index-DB1J-G6Z.js +0 -38
- package/dist/index-DkPva6Gr.cjs +0 -20
- package/dist/index-fzBXDy05.cjs +0 -16
- package/dist/index-gFZSZLba.js +0 -882
- package/dist/style-DvkivBNg.js +0 -74
- package/dist/style-Ito6YFqi.cjs +0 -64
package/dist/BlogListSection.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { n as
|
|
6
|
-
import { P as
|
|
7
|
-
import { B as
|
|
8
|
-
import { s as
|
|
1
|
+
import { jsxs as n, jsx as i, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as L, useRef as W, cloneElement as E, Suspense as M, memo as q, useMemo as D } from "react";
|
|
3
|
+
import z from "./Icon.js";
|
|
4
|
+
import _ from "./IconButton.js";
|
|
5
|
+
import { n as F, q as G, s as H, v as I, m as J } from "./utils-BUdHa0nB.js";
|
|
6
|
+
import { P as K } from "./index-D6_3Q8lN.js";
|
|
7
|
+
import { B as Q } from "./style-CP_urKvc.js";
|
|
8
|
+
import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
9
9
|
import { d as O } from "./breakpoints-BubDitvo.js";
|
|
10
|
-
import { b as
|
|
11
|
-
const Y =
|
|
10
|
+
import { b as V, c as P, a as c, e as X } from "./style-BFPpppS9.js";
|
|
11
|
+
const Y = S.a`
|
|
12
12
|
text-decoration: none;
|
|
13
13
|
color: var(--gray-950);
|
|
14
14
|
display: flex;
|
|
@@ -77,7 +77,7 @@ const Y = T.a`
|
|
|
77
77
|
font-weight: 600;
|
|
78
78
|
line-height: 1.5rem;
|
|
79
79
|
letter-spacing: 0.1px;
|
|
80
|
-
${
|
|
80
|
+
${F(3)}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
& .wrapper__tags {
|
|
@@ -178,62 +178,62 @@ const Y = T.a`
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
`, Z =
|
|
181
|
+
`, Z = L(
|
|
182
182
|
({
|
|
183
|
-
blogUuid:
|
|
184
|
-
title:
|
|
185
|
-
imageUrl:
|
|
186
|
-
options:
|
|
187
|
-
publishedAt:
|
|
188
|
-
timeToReadText:
|
|
189
|
-
timeToRead:
|
|
190
|
-
numberOfLikes:
|
|
191
|
-
numberOfComments:
|
|
192
|
-
isBookmarked:
|
|
193
|
-
onSelectCard:
|
|
183
|
+
blogUuid: a,
|
|
184
|
+
title: t,
|
|
185
|
+
imageUrl: m,
|
|
186
|
+
options: o,
|
|
187
|
+
publishedAt: d,
|
|
188
|
+
timeToReadText: w = "{0} min read",
|
|
189
|
+
timeToRead: y = 0,
|
|
190
|
+
numberOfLikes: v = 0,
|
|
191
|
+
numberOfComments: k = 0,
|
|
192
|
+
isBookmarked: g = !1,
|
|
193
|
+
onSelectCard: C = () => {
|
|
194
194
|
},
|
|
195
|
-
onBookmark:
|
|
195
|
+
onBookmark: N = () => {
|
|
196
196
|
},
|
|
197
|
-
onShare:
|
|
197
|
+
onShare: f = () => {
|
|
198
198
|
},
|
|
199
|
-
bookmarkComponent: s = /* @__PURE__ */
|
|
200
|
-
metadata:
|
|
201
|
-
titleSlug:
|
|
202
|
-
LinkComponent:
|
|
203
|
-
hasShare:
|
|
204
|
-
hasDelete:
|
|
205
|
-
onDelete:
|
|
199
|
+
bookmarkComponent: s = /* @__PURE__ */ i(b, {}),
|
|
200
|
+
metadata: l,
|
|
201
|
+
titleSlug: h,
|
|
202
|
+
LinkComponent: e,
|
|
203
|
+
hasShare: u = !0,
|
|
204
|
+
hasDelete: p = !1,
|
|
205
|
+
onDelete: $ = () => {
|
|
206
206
|
}
|
|
207
|
-
},
|
|
208
|
-
const U =
|
|
209
|
-
key: `bookmark_blog__${
|
|
210
|
-
isBookmarked:
|
|
211
|
-
blogUuid:
|
|
212
|
-
onBookmark: (
|
|
213
|
-
ref:
|
|
207
|
+
}, B) => {
|
|
208
|
+
const U = e || "a", j = () => J(s) ? E(s, {
|
|
209
|
+
key: `bookmark_blog__${a}__${g}`,
|
|
210
|
+
isBookmarked: g,
|
|
211
|
+
blogUuid: a,
|
|
212
|
+
onBookmark: (R, A) => N(R, A),
|
|
213
|
+
ref: B,
|
|
214
214
|
componentName: "ExploreBlogSectionCard"
|
|
215
|
-
}) : /* @__PURE__ */
|
|
216
|
-
return /* @__PURE__ */
|
|
215
|
+
}) : /* @__PURE__ */ i(b, {}), T = W();
|
|
216
|
+
return /* @__PURE__ */ n(
|
|
217
217
|
Y,
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
220
|
-
name:
|
|
221
|
-
"data-accessor":
|
|
222
|
-
onClick: (
|
|
219
|
+
ref: T,
|
|
220
|
+
name: l == null ? void 0 : l.name,
|
|
221
|
+
"data-accessor": l == null ? void 0 : l.accessor,
|
|
222
|
+
onClick: (r) => C(r, T),
|
|
223
223
|
className: "blog-card-item",
|
|
224
224
|
as: U,
|
|
225
|
-
...
|
|
225
|
+
...e ? { to: `/blog/${h}` } : { href: `/blog/${h}` },
|
|
226
226
|
children: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
|
|
227
|
+
/* @__PURE__ */ n("div", { className: "image-container", children: [
|
|
228
|
+
p && /* @__PURE__ */ i(
|
|
229
229
|
"div",
|
|
230
230
|
{
|
|
231
231
|
className: "action mobile-only",
|
|
232
|
-
onClick: (
|
|
233
|
-
|
|
232
|
+
onClick: (r) => {
|
|
233
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
234
234
|
},
|
|
235
|
-
children: /* @__PURE__ */
|
|
236
|
-
|
|
235
|
+
children: /* @__PURE__ */ i(
|
|
236
|
+
_,
|
|
237
237
|
{
|
|
238
238
|
icon: " mng-lnc-close",
|
|
239
239
|
borderRadius: "curved",
|
|
@@ -242,67 +242,67 @@ const Y = T.a`
|
|
|
242
242
|
color: "neutral",
|
|
243
243
|
size: "medium",
|
|
244
244
|
onClick: () => {
|
|
245
|
-
|
|
245
|
+
$();
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
)
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ i(K, { src: m, className: "wrapper__image" })
|
|
252
252
|
] }),
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
253
|
+
/* @__PURE__ */ n("div", { className: "wrapper__content", children: [
|
|
254
|
+
/* @__PURE__ */ n("div", { className: "wrapper__subcontent", children: [
|
|
255
|
+
/* @__PURE__ */ n("div", { className: "wrapper__info", children: [
|
|
256
|
+
/* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
257
|
+
p && /* @__PURE__ */ i(
|
|
258
258
|
"div",
|
|
259
259
|
{
|
|
260
260
|
className: "action desktop-only",
|
|
261
|
-
onClick: (
|
|
262
|
-
|
|
261
|
+
onClick: (r) => {
|
|
262
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
263
263
|
},
|
|
264
|
-
children: /* @__PURE__ */
|
|
265
|
-
|
|
264
|
+
children: /* @__PURE__ */ i(
|
|
265
|
+
_,
|
|
266
266
|
{
|
|
267
267
|
icon: " mng-lnc-close",
|
|
268
268
|
borderRadius: "curved",
|
|
269
269
|
btnType: "basic",
|
|
270
270
|
color: "neutral",
|
|
271
271
|
onClick: () => {
|
|
272
|
-
|
|
272
|
+
$();
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
)
|
|
276
276
|
}
|
|
277
277
|
)
|
|
278
278
|
] }),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
/* @__PURE__ */
|
|
281
|
-
|
|
279
|
+
/* @__PURE__ */ n("div", { className: "wrapper__tags-action", children: [
|
|
280
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: o && (o == null ? void 0 : o.map((r, R) => /* @__PURE__ */ i(
|
|
281
|
+
Q,
|
|
282
282
|
{
|
|
283
|
-
color:
|
|
284
|
-
children:
|
|
283
|
+
color: r == null ? void 0 : r.color,
|
|
284
|
+
children: r == null ? void 0 : r.name
|
|
285
285
|
},
|
|
286
|
-
`blog-card-sponsored-option__${
|
|
286
|
+
`blog-card-sponsored-option__${R + 1}`
|
|
287
287
|
))) }),
|
|
288
|
-
/* @__PURE__ */
|
|
288
|
+
/* @__PURE__ */ n(
|
|
289
289
|
"div",
|
|
290
290
|
{
|
|
291
291
|
className: "info__content mobile-only",
|
|
292
|
-
onClick: (
|
|
293
|
-
|
|
292
|
+
onClick: (r) => {
|
|
293
|
+
r.stopPropagation(), r.preventDefault();
|
|
294
294
|
},
|
|
295
295
|
children: [
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
/* @__PURE__ */ i(j, {}),
|
|
297
|
+
u && /* @__PURE__ */ i(
|
|
298
|
+
_,
|
|
299
299
|
{
|
|
300
300
|
icon: " mng-lnc-share",
|
|
301
301
|
borderRadius: "curved",
|
|
302
302
|
btnType: "basic",
|
|
303
303
|
color: "neutral",
|
|
304
304
|
onClick: () => {
|
|
305
|
-
|
|
305
|
+
f();
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
)
|
|
@@ -311,40 +311,40 @@ const Y = T.a`
|
|
|
311
311
|
)
|
|
312
312
|
] })
|
|
313
313
|
] }),
|
|
314
|
-
/* @__PURE__ */
|
|
315
|
-
/* @__PURE__ */
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
|
|
318
|
-
)} • ${
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
/* @__PURE__ */
|
|
322
|
-
|
|
314
|
+
/* @__PURE__ */ n("div", { className: "wrapper__info", children: [
|
|
315
|
+
/* @__PURE__ */ n("div", { className: "info__content", children: [
|
|
316
|
+
/* @__PURE__ */ i("div", { className: "info__text", children: `${G(
|
|
317
|
+
d
|
|
318
|
+
)} • ${H(w, y)}` }),
|
|
319
|
+
/* @__PURE__ */ n("div", { className: "info__text", children: [
|
|
320
|
+
/* @__PURE__ */ n("div", { children: [
|
|
321
|
+
/* @__PURE__ */ i(z, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
|
|
322
|
+
I(v)
|
|
323
323
|
] }),
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */
|
|
326
|
-
|
|
324
|
+
/* @__PURE__ */ n("div", { children: [
|
|
325
|
+
/* @__PURE__ */ i(z, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
|
|
326
|
+
I(k)
|
|
327
327
|
] })
|
|
328
328
|
] })
|
|
329
329
|
] }),
|
|
330
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ n(
|
|
331
331
|
"div",
|
|
332
332
|
{
|
|
333
333
|
className: "info__content desktop-only",
|
|
334
|
-
onClick: (
|
|
335
|
-
|
|
334
|
+
onClick: (r) => {
|
|
335
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
336
336
|
},
|
|
337
337
|
children: [
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
/* @__PURE__ */ i(j, {}),
|
|
339
|
+
u && /* @__PURE__ */ i(
|
|
340
|
+
_,
|
|
341
341
|
{
|
|
342
342
|
icon: " mng-lnc-share",
|
|
343
343
|
borderRadius: "curved",
|
|
344
344
|
btnType: "basic",
|
|
345
345
|
color: "neutral",
|
|
346
346
|
onClick: () => {
|
|
347
|
-
|
|
347
|
+
f();
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
)
|
|
@@ -357,7 +357,7 @@ const Y = T.a`
|
|
|
357
357
|
}
|
|
358
358
|
);
|
|
359
359
|
}
|
|
360
|
-
), x =
|
|
360
|
+
), x = S.div`
|
|
361
361
|
display: flex;
|
|
362
362
|
flex-direction: column;
|
|
363
363
|
align-items: flex-start;
|
|
@@ -381,133 +381,83 @@ const Y = T.a`
|
|
|
381
381
|
bottom: -1.25rem;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`, ee =
|
|
384
|
+
`, ee = S(V)`
|
|
385
385
|
@media ${O("S")} {
|
|
386
386
|
& > div {
|
|
387
387
|
flex-direction: column;
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
`, re = ({ keyPrefix:
|
|
391
|
-
/* @__PURE__ */
|
|
392
|
-
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
|
|
395
|
-
/* @__PURE__ */
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
400
|
-
] })
|
|
390
|
+
`, re = ({ keyPrefix: a }) => /* @__PURE__ */ i(ee, { children: [1, 2, 3, 4, 5].map((t) => /* @__PURE__ */ n(P, { children: [
|
|
391
|
+
/* @__PURE__ */ i(c, { height: "9.5rem", width: "17.75rem" }),
|
|
392
|
+
/* @__PURE__ */ n(X, { children: [
|
|
393
|
+
/* @__PURE__ */ i(c, { height: "1.5rem", width: "100%" }),
|
|
394
|
+
/* @__PURE__ */ n(P, { children: [
|
|
395
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
396
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
397
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
398
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" })
|
|
401
399
|
] })
|
|
402
|
-
] }
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
410
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
411
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
412
|
-
] })
|
|
413
|
-
] })
|
|
414
|
-
] }, `${o}-2`),
|
|
415
|
-
/* @__PURE__ */ t(l, { children: [
|
|
416
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
417
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
418
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
419
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
420
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
421
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
422
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
423
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
424
|
-
] })
|
|
425
|
-
] })
|
|
426
|
-
] }, `${o}-3`),
|
|
427
|
-
/* @__PURE__ */ t(l, { children: [
|
|
428
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
429
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
430
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
431
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
432
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
433
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
434
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
435
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
436
|
-
] })
|
|
437
|
-
] })
|
|
438
|
-
] }, `${o}-4`),
|
|
439
|
-
/* @__PURE__ */ t(l, { children: [
|
|
440
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
441
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
442
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
443
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
444
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
445
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
446
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
447
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
448
|
-
] })
|
|
449
|
-
] })
|
|
450
|
-
] }, `${o}-5`)
|
|
451
|
-
] }), ie = ({
|
|
452
|
-
keyPrefix: o,
|
|
453
|
-
isLoading: m = !1,
|
|
454
|
-
fallbackComponent: h = /* @__PURE__ */ e(y, {}),
|
|
455
|
-
children: a
|
|
456
|
-
}) => /* @__PURE__ */ e(M, { fallbackComponent: h, children: m === !0 ? /* @__PURE__ */ e(re, { keyPrefix: o }) : a }), te = D(Z), ge = W(
|
|
400
|
+
] })
|
|
401
|
+
] }, `${a}-${t}`)) }), ie = ({
|
|
402
|
+
keyPrefix: a,
|
|
403
|
+
isLoading: t = !1,
|
|
404
|
+
fallbackComponent: m = /* @__PURE__ */ i(b, {}),
|
|
405
|
+
children: o
|
|
406
|
+
}) => /* @__PURE__ */ i(M, { fallbackComponent: m, children: t === !0 ? /* @__PURE__ */ i(re, { keyPrefix: a }) : o }), ne = q(Z), fe = L(
|
|
457
407
|
({
|
|
458
|
-
timeToReadText:
|
|
459
|
-
items:
|
|
460
|
-
isLoading:
|
|
461
|
-
onSelectCard:
|
|
408
|
+
timeToReadText: a = "{0} min read",
|
|
409
|
+
items: t,
|
|
410
|
+
isLoading: m = !1,
|
|
411
|
+
onSelectCard: o = () => {
|
|
462
412
|
},
|
|
463
|
-
onShare:
|
|
413
|
+
onShare: d = () => {
|
|
464
414
|
},
|
|
465
|
-
onBookmark:
|
|
415
|
+
onBookmark: w = () => {
|
|
466
416
|
},
|
|
467
|
-
getImage:
|
|
417
|
+
getImage: y = () => {
|
|
468
418
|
},
|
|
469
|
-
isSeparated:
|
|
470
|
-
bookmarkComponent:
|
|
471
|
-
componentName:
|
|
472
|
-
LinkComponent:
|
|
473
|
-
hasShare:
|
|
474
|
-
hasDelete:
|
|
419
|
+
isSeparated: v = !0,
|
|
420
|
+
bookmarkComponent: k = /* @__PURE__ */ i(b, {}),
|
|
421
|
+
componentName: g,
|
|
422
|
+
LinkComponent: C,
|
|
423
|
+
hasShare: N = !0,
|
|
424
|
+
hasDelete: f = !1,
|
|
475
425
|
onDelete: s = () => {
|
|
476
426
|
}
|
|
477
|
-
},
|
|
478
|
-
const
|
|
479
|
-
var
|
|
480
|
-
return /* @__PURE__ */
|
|
481
|
-
|
|
427
|
+
}, l) => {
|
|
428
|
+
const h = D(() => t == null ? void 0 : t.map((e, u) => {
|
|
429
|
+
var p;
|
|
430
|
+
return /* @__PURE__ */ i(
|
|
431
|
+
ne,
|
|
482
432
|
{
|
|
483
|
-
blogUuid:
|
|
484
|
-
title:
|
|
485
|
-
titleSlug:
|
|
486
|
-
options:
|
|
487
|
-
publishedAt:
|
|
488
|
-
timeToReadText:
|
|
489
|
-
timeToRead:
|
|
490
|
-
numberOfLikes:
|
|
491
|
-
numberOfComments:
|
|
492
|
-
isSponsored:
|
|
493
|
-
isBookmarked:
|
|
494
|
-
onSelectCard: (
|
|
495
|
-
hasShare:
|
|
496
|
-
hasDelete:
|
|
497
|
-
onDelete: () => s == null ? void 0 : s(
|
|
498
|
-
onShare: () =>
|
|
499
|
-
onBookmark:
|
|
500
|
-
imageUrl:
|
|
501
|
-
bookmarkComponent:
|
|
502
|
-
metadata: { name:
|
|
503
|
-
LinkComponent:
|
|
433
|
+
blogUuid: e == null ? void 0 : e.uuid,
|
|
434
|
+
title: e == null ? void 0 : e.title,
|
|
435
|
+
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
436
|
+
options: e == null ? void 0 : e.options,
|
|
437
|
+
publishedAt: e == null ? void 0 : e.publishedAt,
|
|
438
|
+
timeToReadText: a,
|
|
439
|
+
timeToRead: e == null ? void 0 : e.timeToRead,
|
|
440
|
+
numberOfLikes: e == null ? void 0 : e.numberOfLikes,
|
|
441
|
+
numberOfComments: e == null ? void 0 : e.numberOfComments,
|
|
442
|
+
isSponsored: e == null ? void 0 : e.isSponsored,
|
|
443
|
+
isBookmarked: e == null ? void 0 : e.isBookmarked,
|
|
444
|
+
onSelectCard: ($, B) => o == null ? void 0 : o(e, B),
|
|
445
|
+
hasShare: N,
|
|
446
|
+
hasDelete: f,
|
|
447
|
+
onDelete: () => s == null ? void 0 : s(e),
|
|
448
|
+
onShare: () => d == null ? void 0 : d(e),
|
|
449
|
+
onBookmark: w,
|
|
450
|
+
imageUrl: y(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
451
|
+
bookmarkComponent: k,
|
|
452
|
+
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
453
|
+
LinkComponent: C
|
|
504
454
|
},
|
|
505
|
-
`blog-card-item__${
|
|
455
|
+
`blog-card-item__${u + 1}__${(p = e == null ? void 0 : e.isBookmarked) == null ? void 0 : p.toString()}`
|
|
506
456
|
);
|
|
507
|
-
}), [
|
|
508
|
-
return /* @__PURE__ */
|
|
457
|
+
}), [t]);
|
|
458
|
+
return /* @__PURE__ */ i(ie, { isLoading: m, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ i(x, { ref: l, className: v ? "separated" : "", children: h }) });
|
|
509
459
|
}
|
|
510
460
|
);
|
|
511
461
|
export {
|
|
512
|
-
|
|
462
|
+
fe as default
|
|
513
463
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-B96icAp4.cjs"),N=require("./Button.cjs"),y=require("./style-DIWAdlai.cjs"),P=c.memo(M.SimpleProductCard),R=c.forwardRef(({buttonText:o,buttonLink:t,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:p},m)=>{const b=j.useDetectMobile(),g=c.useMemo(()=>{var u;return(u=r==null?void 0:r.slice(0,4))==null?void 0:u.map((e,q)=>i.jsx(P,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(_,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:p},q))},[r]);return i.jsxs(y.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(N,{text:o,borderRadius:"curved",btnType:b?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(t)})]})});module.exports=R;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { memo as N, forwardRef as M, useMemo as P } from "react";
|
|
3
3
|
import { u as _ } from "./useDetectMobile-B0Jog4jQ.js";
|
|
4
|
-
import { S as w } from "./index-
|
|
4
|
+
import { S as w } from "./index-CNUuIL97.js";
|
|
5
5
|
import y from "./Button.js";
|
|
6
6
|
import { W as U } from "./style-BzaX45du.js";
|
|
7
7
|
const j = N(w), C = M(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-DnbzopIv.cjs"),f=require("./Button.cjs"),j=require("./style-DIWAdlai.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { memo as b, forwardRef as _, useMemo as w } from "react";
|
|
3
3
|
import { u as v } from "./useDetectMobile-B0Jog4jQ.js";
|
|
4
|
-
import { S as M } from "./index-
|
|
4
|
+
import { S as M } from "./index-gHaK62BZ.js";
|
|
5
5
|
import C from "./Button.js";
|
|
6
6
|
import { W as N } from "./style-BzaX45du.js";
|
|
7
7
|
const S = b(M), L = _(
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("react"),g=require("./index-HzW6OHFF.cjs"),l=require("./style-CQdEALKR.cjs"),a=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=a.styled(l.SkeletonAnimationColumnContainer)`
|
|
2
2
|
@media ${d.down("S")} {
|
|
3
3
|
& > div {
|
|
4
4
|
height: 13.25rem;
|
|
5
|
-
|
|
6
|
-
background: linear-gradient(
|
|
7
|
-
to right,
|
|
8
|
-
transparent 0%,
|
|
9
|
-
#f4f6fb 40%,
|
|
10
|
-
#f4f6fb 100%
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
box-shadow: none;
|
|
14
5
|
}
|
|
15
6
|
}
|
|
16
|
-
`,S=({keyPrefix:
|
|
7
|
+
`,S=({keyPrefix:t})=>n.jsx(x,{children:n.jsx(l.SkeletonRect,{width:"100%",height:"11.25rem"},`${t}-0`)}),h=({keyPrefix:t,isLoading:r=!1,fallbackComponent:o=n.jsx(n.Fragment,{}),children:e})=>n.jsx(s.Suspense,{fallbackComponent:o,children:r===!0?n.jsx(S,{keyPrefix:t}):e}),j=s.forwardRef((t,r)=>{const{isLoading:o,item:e,onSelectCard:i=()=>{},getImage:u=()=>{},LinkComponent:c}=t;return n.jsx(h,{isLoading:o,keyPrefix:"blogs-single-skeleton",children:n.jsx(g.BlogCardLarge,{ref:r,title:e==null?void 0:e.title,imageUrl:u(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,text:e==null?void 0:e.description,titleSlug:e==null?void 0:e.titleSlug,buttonText:e==null?void 0:e.buttonText,onCardClick:()=>i(e==null?void 0:e.titleSlug),LinkComponent:c})})});module.exports=j;
|
|
@@ -1,57 +1,41 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as o, Fragment as i } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as g, forwardRef as d } from "react";
|
|
3
|
-
import { B as u } from "./index-
|
|
4
|
-
import { b as
|
|
5
|
-
import { s as
|
|
6
|
-
import { d as
|
|
7
|
-
const
|
|
8
|
-
@media ${
|
|
3
|
+
import { B as u } from "./index-DtVJCOWc.js";
|
|
4
|
+
import { b as c, a as S } from "./style-BFPpppS9.js";
|
|
5
|
+
import { s as f } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
6
|
+
import { d as p } from "./breakpoints-BubDitvo.js";
|
|
7
|
+
const m = f(c)`
|
|
8
|
+
@media ${p("S")} {
|
|
9
9
|
& > div {
|
|
10
10
|
height: 13.25rem;
|
|
11
|
-
|
|
12
|
-
background: linear-gradient(
|
|
13
|
-
to right,
|
|
14
|
-
transparent 0%,
|
|
15
|
-
#f4f6fb 40%,
|
|
16
|
-
#f4f6fb 100%
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
box-shadow: none;
|
|
20
11
|
}
|
|
21
12
|
}
|
|
22
|
-
`,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
borderRadius: "0.75rem"
|
|
27
|
-
},
|
|
28
|
-
`${o}-1`
|
|
29
|
-
) }), m = ({
|
|
30
|
-
keyPrefix: o,
|
|
31
|
-
isLoading: n = !1,
|
|
32
|
-
fallbackComponent: t = /* @__PURE__ */ r(i, {}),
|
|
13
|
+
`, h = ({ keyPrefix: n }) => /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(S, { width: "100%", height: "11.25rem" }, `${n}-0`) }), C = ({
|
|
14
|
+
keyPrefix: n,
|
|
15
|
+
isLoading: t = !1,
|
|
16
|
+
fallbackComponent: r = /* @__PURE__ */ o(i, {}),
|
|
33
17
|
children: e
|
|
34
|
-
}) => /* @__PURE__ */
|
|
18
|
+
}) => /* @__PURE__ */ o(g, { fallbackComponent: r, children: t === !0 ? /* @__PURE__ */ o(h, { keyPrefix: n }) : e }), y = d((n, t) => {
|
|
35
19
|
const {
|
|
36
|
-
isLoading:
|
|
20
|
+
isLoading: r,
|
|
37
21
|
item: e,
|
|
38
22
|
onSelectCard: l = () => {
|
|
39
23
|
},
|
|
40
|
-
getImage:
|
|
24
|
+
getImage: s = () => {
|
|
41
25
|
},
|
|
42
|
-
LinkComponent:
|
|
43
|
-
} =
|
|
44
|
-
return /* @__PURE__ */
|
|
26
|
+
LinkComponent: a
|
|
27
|
+
} = n;
|
|
28
|
+
return /* @__PURE__ */ o(C, { isLoading: r, keyPrefix: "blogs-single-skeleton", children: /* @__PURE__ */ o(
|
|
45
29
|
u,
|
|
46
30
|
{
|
|
47
|
-
ref:
|
|
31
|
+
ref: t,
|
|
48
32
|
title: e == null ? void 0 : e.title,
|
|
49
|
-
imageUrl:
|
|
33
|
+
imageUrl: s(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
50
34
|
text: e == null ? void 0 : e.description,
|
|
51
35
|
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
52
36
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
53
37
|
onCardClick: () => l(e == null ? void 0 : e.titleSlug),
|
|
54
|
-
LinkComponent:
|
|
38
|
+
LinkComponent: a
|
|
55
39
|
}
|
|
56
40
|
) });
|
|
57
41
|
});
|