@20minutes/tyr 2.47.9 → 2.47.10

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/index.es.js CHANGED
@@ -68419,42 +68419,32 @@ const tE = () => {
68419
68419
  pageEndpoint: r,
68420
68420
  imgEndpoint: o,
68421
68421
  seeMoreLink: s,
68422
- disableAds: l,
68423
- enableAnchoring: c = !0,
68424
- ...p
68425
- }) => {
68426
- const { variablesForQuery: v, refreshButton: h, ...x } = p;
68427
- return e.length === 0 ? null : (
68428
- // Set ads after 3rd and 7th posts
68429
- /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
68430
- /* @__PURE__ */ a.jsx(
68431
- be,
68432
- {
68433
- ...x,
68434
- "data-state": h?.state,
68435
- "data-latest-post-id": h?.latestPostId,
68436
- "data-brand-id": v?.brandId,
68437
- "data-live-id": v?.liveId,
68438
- children: e.map((w, _) => /* @__PURE__ */ a.jsx(
68439
- Ate,
68440
- {
68441
- post: w,
68442
- postIndex: _,
68443
- postsCount: e.length,
68444
- layout: t,
68445
- pageEndpoint: r,
68446
- imgEndpoint: o,
68447
- disableAds: l,
68448
- enableAnchoring: c
68449
- },
68450
- `${w.id}-${_}`
68451
- ))
68452
- }
68453
- ),
68454
- s && /* @__PURE__ */ a.jsx(me, { justifyContent: "center", my: "l", children: /* @__PURE__ */ a.jsx(Nn, { color: "primary", variant: "outlined", ...s }) })
68455
- ] })
68456
- );
68457
- }, $E = ({
68422
+ // Prevent internal props from being forwarded to the rendered Box
68423
+ variablesForQuery: l,
68424
+ refreshButton: c,
68425
+ disableAds: p,
68426
+ enableAnchoring: v = !0,
68427
+ ...h
68428
+ }) => e.length === 0 ? null : (
68429
+ // Set ads after 3rd and 7th posts
68430
+ /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
68431
+ /* @__PURE__ */ a.jsx(be, { ...h, children: e.map((x, w) => /* @__PURE__ */ a.jsx(
68432
+ Ate,
68433
+ {
68434
+ post: x,
68435
+ postIndex: w,
68436
+ postsCount: e.length,
68437
+ layout: t,
68438
+ pageEndpoint: r,
68439
+ imgEndpoint: o,
68440
+ disableAds: p,
68441
+ enableAnchoring: v
68442
+ },
68443
+ `${x.id}-${w}`
68444
+ )) }),
68445
+ s && /* @__PURE__ */ a.jsx(me, { justifyContent: "center", my: "l", children: /* @__PURE__ */ a.jsx(Nn, { color: "primary", variant: "outlined", ...s }) })
68446
+ ] })
68447
+ ), $E = ({
68458
68448
  items: e,
68459
68449
  seeMoreButton: t,
68460
68450
  ...r