sass-template-common 0.9.23 → 0.9.24

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.
@@ -1,4 +1,4 @@
1
- import { jsx as n, jsxs as g, Fragment as K } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as g, Fragment as Y } from "react/jsx-runtime";
2
2
  import * as js from "react";
3
3
  import ce, { useState as J, useRef as Da, useCallback as oe, useEffect as xe, createElement as Re, forwardRef as Pn, Fragment as xt, useMemo as ss, Component as _a } from "react";
4
4
  let ns = {
@@ -96,7 +96,7 @@ const Ga = () => {
96
96
  r[i] = i;
97
97
  }), r;
98
98
  }, [t]), { ANALYTICS_ga4: a } = _();
99
- return a && /* @__PURE__ */ g(K, { children: [
99
+ return a && /* @__PURE__ */ g(Y, { children: [
100
100
  /* @__PURE__ */ n("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + a }),
101
101
  /* @__PURE__ */ n(
102
102
  "script",
@@ -119,7 +119,7 @@ const Ga = () => {
119
119
  ] });
120
120
  }, Ha = () => {
121
121
  const { ANALYTICS_gtm: e } = _();
122
- return e && /* @__PURE__ */ g(K, { children: [
122
+ return e && /* @__PURE__ */ g(Y, { children: [
123
123
  /* @__PURE__ */ n(
124
124
  "script",
125
125
  {
@@ -261,11 +261,11 @@ function On() {
261
261
  }, U.valueOf = function() {
262
262
  return this.$d.getTime();
263
263
  }, U.startOf = function(I, M) {
264
- var k = this, V = !!L.u(M) || M, v = L.p(I), E = function(te, Y) {
265
- var ie = L.w(k.$u ? Date.UTC(k.$y, Y, te) : new Date(k.$y, Y, te), k);
264
+ var k = this, V = !!L.u(M) || M, v = L.p(I), E = function(te, K) {
265
+ var ie = L.w(k.$u ? Date.UTC(k.$y, K, te) : new Date(k.$y, K, te), k);
266
266
  return V ? ie : ie.endOf(l);
267
- }, B = function(te, Y) {
268
- return L.w(k.toDate()[te].apply(k.toDate("s"), (V ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), k);
267
+ }, B = function(te, K) {
268
+ return L.w(k.toDate()[te].apply(k.toDate("s"), (V ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), k);
269
269
  }, G = this.$W, D = this.$M, Q = this.$D, F = "set" + (this.$u ? "UTC" : "");
270
270
  switch (v) {
271
271
  case p:
@@ -318,15 +318,15 @@ function On() {
318
318
  }, U.format = function(I) {
319
319
  var M = this, k = this.$locale();
320
320
  if (!this.isValid()) return k.invalidDate || A;
321
- var V = I || "YYYY-MM-DDTHH:mm:ssZ", v = L.z(this), E = this.$H, B = this.$m, G = this.$M, D = k.weekdays, Q = k.months, F = k.meridiem, W = function(Y, ie, P, ue) {
322
- return Y && (Y[ie] || Y(M, V)) || P[ie].slice(0, ue);
323
- }, X = function(Y) {
324
- return L.s(E % 12 || 12, Y, "0");
325
- }, te = F || function(Y, ie, P) {
326
- var ue = Y < 12 ? "AM" : "PM";
321
+ var V = I || "YYYY-MM-DDTHH:mm:ssZ", v = L.z(this), E = this.$H, B = this.$m, G = this.$M, D = k.weekdays, Q = k.months, F = k.meridiem, W = function(K, ie, P, ue) {
322
+ return K && (K[ie] || K(M, V)) || P[ie].slice(0, ue);
323
+ }, X = function(K) {
324
+ return L.s(E % 12 || 12, K, "0");
325
+ }, te = F || function(K, ie, P) {
326
+ var ue = K < 12 ? "AM" : "PM";
327
327
  return P ? ue.toLowerCase() : ue;
328
328
  };
329
- return V.replace(y, (function(Y, ie) {
329
+ return V.replace(y, (function(K, ie) {
330
330
  return ie || (function(P) {
331
331
  switch (P) {
332
332
  case "YY":
@@ -379,7 +379,7 @@ function On() {
379
379
  return v;
380
380
  }
381
381
  return null;
382
- })(Y) || v.replace(":", "");
382
+ })(K) || v.replace(":", "");
383
383
  }));
384
384
  }, U.utcOffset = function() {
385
385
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
@@ -1113,7 +1113,7 @@ const ur = async (e, t) => {
1113
1113
  t.value || "",
1114
1114
  e.replaces
1115
1115
  ), a = yr(s);
1116
- return /* @__PURE__ */ n(K, { children: a.map((r, i) => {
1116
+ return /* @__PURE__ */ n(Y, { children: a.map((r, i) => {
1117
1117
  const o = r[1] || r[3] || "", c = r[2]?.trim() || "";
1118
1118
  return Mn(o, c, i, e.name);
1119
1119
  }) });
@@ -1128,7 +1128,7 @@ const ur = async (e, t) => {
1128
1128
  ).split(
1129
1129
  /(<script\b[\s\S]*?<\/script\s*>|<script\b[^>]*\/?>)/gi
1130
1130
  );
1131
- return /* @__PURE__ */ n(K, { children: a.map((r, i) => {
1131
+ return /* @__PURE__ */ n(Y, { children: a.map((r, i) => {
1132
1132
  const o = r.match(
1133
1133
  /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i
1134
1134
  );
@@ -1162,7 +1162,7 @@ function vd(e) {
1162
1162
  const Nr = () => {
1163
1163
  const { PUBLIC_ASSETS_URL: e } = _();
1164
1164
  return e && e !== "false" && /* @__PURE__ */ n("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" });
1165
- }, { PUBLIC_ASSETS_URL: Vt } = _(), Sr = Vt && Vt !== "false" ? Vt : "", Ks = ({ images: e }) => /* @__PURE__ */ n(K, { children: e.map(
1165
+ }, { PUBLIC_ASSETS_URL: Vt } = _(), Sr = Vt && Vt !== "false" ? Vt : "", Ks = ({ images: e }) => /* @__PURE__ */ n(Y, { children: e.map(
1166
1166
  (t, s) => t.href !== "" && /* @__PURE__ */ n(
1167
1167
  "link",
1168
1168
  {
@@ -1537,7 +1537,7 @@ const Br = async ({
1537
1537
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
1538
1538
  }
1539
1539
  `;
1540
- return /* @__PURE__ */ n(K, { children: e.useS3Font ? /* @__PURE__ */ g(K, { children: [
1540
+ return /* @__PURE__ */ n(Y, { children: e.useS3Font ? /* @__PURE__ */ g(Y, { children: [
1541
1541
  /* @__PURE__ */ n(
1542
1542
  "link",
1543
1543
  {
@@ -1554,13 +1554,20 @@ const Br = async ({
1554
1554
  ),
1555
1555
  /* @__PURE__ */ n("noscript", { children: /* @__PURE__ */ n("link", { rel: "stylesheet", href: e.fontS3Url }) }),
1556
1556
  /* @__PURE__ */ n("style", { dangerouslySetInnerHTML: { __html: t } })
1557
- ] }) : /* @__PURE__ */ n(
1558
- "link",
1559
- {
1560
- rel: "stylesheet",
1561
- href: `https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay ?? "swap"}`
1562
- }
1563
- ) });
1557
+ ] }) : /* @__PURE__ */ g(Y, { children: [
1558
+ /* @__PURE__ */ n(
1559
+ "link",
1560
+ {
1561
+ rel: "stylesheet",
1562
+ media: "print",
1563
+ onLoad: (s) => {
1564
+ s.currentTarget.onload = null, s.currentTarget.media = "all";
1565
+ },
1566
+ href: `https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay ?? "swap"}`
1567
+ }
1568
+ ),
1569
+ /* @__PURE__ */ n("noscript", { children: /* @__PURE__ */ n("link", { rel: "stylesheet", href: `https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay ?? "swap"}` }) })
1570
+ ] }) });
1564
1571
  }, Gn = {
1565
1572
  404: () => {
1566
1573
  },
@@ -4755,7 +4762,7 @@ async function Zd({
4755
4762
  currentNew: u,
4756
4763
  internalPath: f
4757
4764
  });
4758
- return /* @__PURE__ */ g(K, { children: [
4765
+ return /* @__PURE__ */ g(Y, { children: [
4759
4766
  /* @__PURE__ */ n("meta", { charSet: "utf-8" }),
4760
4767
  /* @__PURE__ */ n("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
4761
4768
  Z,
@@ -4853,7 +4860,7 @@ const Xd = ({
4853
4860
  currentNew: c,
4854
4861
  internalPath: o
4855
4862
  }), p = l.before.active, f = l.after.active, A = p ? l.before.customData ? l.before.customData : h : void 0, w = f ? l.after.customData ? l.after.customData : h : void 0;
4856
- return /* @__PURE__ */ g(K, { children: [
4863
+ return /* @__PURE__ */ g(Y, { children: [
4857
4864
  /* @__PURE__ */ n(Dn, { name: "bodybefore", banners: s, replaces: A }),
4858
4865
  e,
4859
4866
  /* @__PURE__ */ n(Va, {}),
@@ -5461,7 +5468,7 @@ const Ke = (e) => {
5461
5468
  }, u = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, h = () => {
5462
5469
  if (c && a?.tags?.length && a.tags.length > 0) {
5463
5470
  const p = a.tags[0], f = p.name;
5464
- return ce.createElement(o, { className: "sass-com-nd-sectionDescriptionContainer section" }, /* @__PURE__ */ g(K, { children: [
5471
+ return ce.createElement(o, { className: "sass-com-nd-sectionDescriptionContainer section" }, /* @__PURE__ */ g(Y, { children: [
5465
5472
  p.approved ? /* @__PURE__ */ n(
5466
5473
  O,
5467
5474
  {
@@ -5476,7 +5483,7 @@ const Ke = (e) => {
5476
5483
  ] }));
5477
5484
  } else if (r?.section?.url) {
5478
5485
  const p = r.section.name;
5479
- return ce.createElement(o, { className: "sass-com-nd-sectionDescriptionContainer section" }, /* @__PURE__ */ g(K, { children: [
5486
+ return ce.createElement(o, { className: "sass-com-nd-sectionDescriptionContainer section" }, /* @__PURE__ */ g(Y, { children: [
5480
5487
  /* @__PURE__ */ n(
5481
5488
  O,
5482
5489
  {
@@ -5522,7 +5529,7 @@ const Ke = (e) => {
5522
5529
  ) : e.main?.title?.section
5523
5530
  ),
5524
5531
  e.config?.showsubtitle && /* @__PURE__ */ n(d, {}),
5525
- (e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ n(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
5532
+ (e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ n(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
5526
5533
  O,
5527
5534
  {
5528
5535
  block_subPublication: m?.autor,
@@ -5576,7 +5583,7 @@ const Lo = (e) => {
5576
5583
  src: r[0]?.url ? r[0]?.url : void 0
5577
5584
  }
5578
5585
  ),
5579
- t && /* @__PURE__ */ g(K, { children: [
5586
+ t && /* @__PURE__ */ g(Y, { children: [
5580
5587
  /* @__PURE__ */ n(
5581
5588
  "div",
5582
5589
  {
@@ -5630,7 +5637,7 @@ const Lo = (e) => {
5630
5637
  src: r[0]?.url ? r[0]?.url : ""
5631
5638
  }
5632
5639
  ),
5633
- t && /* @__PURE__ */ g(K, { children: [
5640
+ t && /* @__PURE__ */ g(Y, { children: [
5634
5641
  /* @__PURE__ */ n(
5635
5642
  "div",
5636
5643
  {
@@ -7126,7 +7133,7 @@ const Lo = (e) => {
7126
7133
  c
7127
7134
  )) })
7128
7135
  ] }),
7129
- r && /* @__PURE__ */ n(K, { children: r }),
7136
+ r && /* @__PURE__ */ n(Y, { children: r }),
7130
7137
  /* @__PURE__ */ g("section", { className: "sass-com-ft-copyrigth", children: [
7131
7138
  /* @__PURE__ */ n("p", { className: "sass-com-ft-copyrigthText", children: e.copyrigth }),
7132
7139
  /* @__PURE__ */ n(
@@ -7423,7 +7430,7 @@ const rm = (e) => {
7423
7430
  children: e.children
7424
7431
  }
7425
7432
  ),
7426
- /* @__PURE__ */ n(K, { children: e.paginatorComponent })
7433
+ /* @__PURE__ */ n(Y, { children: e.paginatorComponent })
7427
7434
  ] });
7428
7435
  }, ke = (e) => {
7429
7436
  const {
@@ -7594,7 +7601,7 @@ const rm = (e) => {
7594
7601
  ] }), ba = (e) => {
7595
7602
  let t = "";
7596
7603
  return e.preview.description && (t = e.preview.description), e.preview.copyright && (t = `${t} ${e.preview.copyright}`), e.preview.photographer && (t = `${t} ${e.preview.photographer}`), /* @__PURE__ */ n("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ n(Ce, { preview: e.preview, isLarge: !0, priorityHigh: !0, figCaption: t }) });
7597
- }, Wo = (e) => /* @__PURE__ */ n(K, { children: /* @__PURE__ */ g("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
7604
+ }, Wo = (e) => /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ g("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
7598
7605
  /* @__PURE__ */ n(ba, { preview: e.preview }),
7599
7606
  /* @__PURE__ */ g("div", { className: "sass-com-lbh-textBox", children: [
7600
7607
  /* @__PURE__ */ g("div", { className: "sass-com-lbh-contentBox", children: [
@@ -8192,7 +8199,7 @@ const rm = (e) => {
8192
8199
  children: t?.data[0]?.main?.title.home ?? ""
8193
8200
  }
8194
8201
  );
8195
- return /* @__PURE__ */ g(K, { children: [
8202
+ return /* @__PURE__ */ g(Y, { children: [
8196
8203
  /* @__PURE__ */ n(
8197
8204
  "input",
8198
8205
  {
@@ -8535,7 +8542,7 @@ const rm = (e) => {
8535
8542
  ]
8536
8543
  }
8537
8544
  );
8538
- return /* @__PURE__ */ g(K, { children: [
8545
+ return /* @__PURE__ */ g(Y, { children: [
8539
8546
  e.childrenContentPosition === "before-headers" && o,
8540
8547
  /* @__PURE__ */ n(ec, { ...e }),
8541
8548
  !e.showOnlyStickyHeader && /* @__PURE__ */ n(sc, { ...e }),
@@ -9004,7 +9011,7 @@ const rm = (e) => {
9004
9011
  }
9005
9012
  }
9006
9013
  ),
9007
- e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ n(K, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ n(
9014
+ e?.config?.showtime && e.config?.showauthor && /* @__PURE__ */ n(Y, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ n(
9008
9015
  O,
9009
9016
  {
9010
9017
  block_subPublication: s?.autor,
@@ -9426,7 +9433,7 @@ const hm = (e) => {
9426
9433
  ] }),
9427
9434
  /* @__PURE__ */ n("div", { className: "sass-bs-m2c-bannerContent", children: e.halfPageBanner })
9428
9435
  ] });
9429
- }, pm = (e) => /* @__PURE__ */ g(K, { children: [
9436
+ }, pm = (e) => /* @__PURE__ */ g(Y, { children: [
9430
9437
  /* @__PURE__ */ n(
9431
9438
  Oo,
9432
9439
  {
@@ -9923,7 +9930,7 @@ const hm = (e) => {
9923
9930
  }
9924
9931
  );
9925
9932
  case "op2":
9926
- return /* @__PURE__ */ n(K, { children: t.length > 0 ? /* @__PURE__ */ n(
9933
+ return /* @__PURE__ */ n(Y, { children: t.length > 0 ? /* @__PURE__ */ n(
9927
9934
  cs,
9928
9935
  {
9929
9936
  className: "padding-0",
@@ -9984,7 +9991,7 @@ const hm = (e) => {
9984
9991
  }
9985
9992
  ) });
9986
9993
  default:
9987
- return /* @__PURE__ */ n(K, {});
9994
+ return /* @__PURE__ */ n(Y, {});
9988
9995
  }
9989
9996
  }, wm = (e) => {
9990
9997
  const { data: t } = e;
@@ -10130,7 +10137,7 @@ const hm = (e) => {
10130
10137
  ) }) : null;
10131
10138
  }, Ec = (e) => {
10132
10139
  const t = e.option === "liveblogs";
10133
- return /* @__PURE__ */ g(K, { children: [
10140
+ return /* @__PURE__ */ g(Y, { children: [
10134
10141
  /* @__PURE__ */ n(() => {
10135
10142
  const a = {
10136
10143
  ...e.news[0],
@@ -11179,7 +11186,7 @@ async function el(e) {
11179
11186
  a
11180
11187
  ), d = await Xc(d, m), d = zc(d), d = Fc(d);
11181
11188
  const u = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: h, CONFIG_blockDefaultTwitterHydrator: p } = _(), f = t.config.articlepreview === qe.fotoGaleria && t.hascontent?.hasgalleryimages;
11182
- return /* @__PURE__ */ g(K, { children: [
11189
+ return /* @__PURE__ */ g(Y, { children: [
11183
11190
  i !== "liveblogs" && e.showHeaderImage ? f ? /* @__PURE__ */ n(
11184
11191
  _c,
11185
11192
  {
@@ -11262,7 +11269,7 @@ const tl = (e) => {
11262
11269
  getVideos: p
11263
11270
  } = e;
11264
11271
  if (m)
11265
- return /* @__PURE__ */ g(K, { children: [
11272
+ return /* @__PURE__ */ g(Y, { children: [
11266
11273
  /* @__PURE__ */ n(
11267
11274
  el,
11268
11275
  {
@@ -11297,7 +11304,7 @@ const tl = (e) => {
11297
11304
  getVideos: l
11298
11305
  } = e;
11299
11306
  if (!(!r || !r[0]))
11300
- return /* @__PURE__ */ n(K, { children: /* @__PURE__ */ g(bc, { className: "sass-pg-news-contentLayout2", children: [
11307
+ return /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ g(bc, { className: "sass-pg-news-contentLayout2", children: [
11301
11308
  /* @__PURE__ */ n(
11302
11309
  Ec,
11303
11310
  {
@@ -11425,7 +11432,7 @@ const tl = (e) => {
11425
11432
  };
11426
11433
  switch (s) {
11427
11434
  case "op1":
11428
- return /* @__PURE__ */ n(K, { children: /* @__PURE__ */ g(An, { children: [
11435
+ return /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ g(An, { children: [
11429
11436
  /* @__PURE__ */ n(Jo, { autor: a[0], autorIcon: e.autorIcon, socialIconsFilled: u }),
11430
11437
  /* @__PURE__ */ n(
11431
11438
  ya,
@@ -11508,9 +11515,9 @@ const tl = (e) => {
11508
11515
  )
11509
11516
  ] }) });
11510
11517
  case "op2":
11511
- return /* @__PURE__ */ n(K, { children: /* @__PURE__ */ g(An, { children: [
11518
+ return /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ g(An, { children: [
11512
11519
  /* @__PURE__ */ n($o, { autor: a[0], autorIcon: e.autorIcon, socialIconsFilled: u }),
11513
- Array.isArray(t) ? /* @__PURE__ */ g(K, { children: [
11520
+ Array.isArray(t) ? /* @__PURE__ */ g(Y, { children: [
11514
11521
  /* @__PURE__ */ n(
11515
11522
  Ea,
11516
11523
  {
@@ -11562,7 +11569,7 @@ const tl = (e) => {
11562
11569
  )
11563
11570
  ] }) });
11564
11571
  default:
11565
- return /* @__PURE__ */ n(K, {});
11572
+ return /* @__PURE__ */ n(Y, {});
11566
11573
  }
11567
11574
  }, tt = ({ className: e }) => /* @__PURE__ */ n(
11568
11575
  "svg",
@@ -11733,8 +11740,8 @@ function Cm({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
11733
11740
  u(!1);
11734
11741
  }
11735
11742
  }, x = o.password || "";
11736
- return /* @__PURE__ */ g(K, { children: [
11737
- f === "register" && /* @__PURE__ */ g(K, { children: [
11743
+ return /* @__PURE__ */ g(Y, { children: [
11744
+ f === "register" && /* @__PURE__ */ g(Y, { children: [
11738
11745
  /* @__PURE__ */ g("button", { onClick: w, className: "sass-pg-login-google", children: [
11739
11746
  /* @__PURE__ */ n(
11740
11747
  "img",
@@ -11915,7 +11922,7 @@ function Nm({
11915
11922
  L && L !== "" ? (document.cookie = "redirect_after_login=; Max-Age=0; path=/", window.location.pathname = L, window.location.hash = "comentarios") : window.location.pathname = "/auth/success";
11916
11923
  }
11917
11924
  };
11918
- return /* @__PURE__ */ g(K, { children: [
11925
+ return /* @__PURE__ */ g(Y, { children: [
11919
11926
  a === "login" && /* @__PURE__ */ n(
11920
11927
  ol,
11921
11928
  {
@@ -12079,7 +12086,7 @@ function ol({
12079
12086
  handleGoogleLogin: d,
12080
12087
  t: u
12081
12088
  }) {
12082
- return /* @__PURE__ */ g(K, { children: [
12089
+ return /* @__PURE__ */ g(Y, { children: [
12083
12090
  /* @__PURE__ */ g("button", { onClick: d, className: "sass-pg-login-google", children: [
12084
12091
  /* @__PURE__ */ n(
12085
12092
  "img",
@@ -12401,7 +12408,7 @@ const xm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12401
12408
  }
12402
12409
  }
12403
12410
  ),
12404
- t && /* @__PURE__ */ g(K, { children: [
12411
+ t && /* @__PURE__ */ g(Y, { children: [
12405
12412
  /* @__PURE__ */ n(
12406
12413
  "div",
12407
12414
  {
@@ -12726,7 +12733,7 @@ const xm = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12726
12733
  children: s ? Ie(e.main?.subtitle?.striped) : e.main?.subtitle?.striped
12727
12734
  }
12728
12735
  ),
12729
- (e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ n(K, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ n(
12736
+ (e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ n(Y, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ n(
12730
12737
  O,
12731
12738
  {
12732
12739
  block_subPublication: e.DATE_CONFIG?.SUB_PUBLICATION_PREFIX_IN_ROUTES?.autor,
@@ -13043,13 +13050,13 @@ function Cl() {
13043
13050
  function te(P) {
13044
13051
  return x(P) === i;
13045
13052
  }
13046
- function Y(P) {
13053
+ function K(P) {
13047
13054
  return x(P) === r;
13048
13055
  }
13049
13056
  function ie(P) {
13050
13057
  return x(P) === u;
13051
13058
  }
13052
- ae.AsyncMode = b, ae.ConcurrentMode = T, ae.ContextConsumer = R, ae.ContextProvider = H, ae.Element = Z, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = z, ae.Memo = se, ae.Portal = q, ae.Profiler = U, ae.StrictMode = I, ae.Suspense = M, ae.isAsyncMode = V, ae.isConcurrentMode = v, ae.isContextConsumer = E, ae.isContextProvider = B, ae.isElement = G, ae.isForwardRef = D, ae.isFragment = Q, ae.isLazy = F, ae.isMemo = W, ae.isPortal = X, ae.isProfiler = te, ae.isStrictMode = Y, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
13059
+ ae.AsyncMode = b, ae.ConcurrentMode = T, ae.ContextConsumer = R, ae.ContextProvider = H, ae.Element = Z, ae.ForwardRef = j, ae.Fragment = L, ae.Lazy = z, ae.Memo = se, ae.Portal = q, ae.Profiler = U, ae.StrictMode = I, ae.Suspense = M, ae.isAsyncMode = V, ae.isConcurrentMode = v, ae.isContextConsumer = E, ae.isContextProvider = B, ae.isElement = G, ae.isForwardRef = D, ae.isFragment = Q, ae.isLazy = F, ae.isMemo = W, ae.isPortal = X, ae.isProfiler = te, ae.isStrictMode = K, ae.isSuspense = ie, ae.isValidElementType = N, ae.typeOf = x;
13053
13060
  })()), ae;
13054
13061
  }
13055
13062
  var Cn;
@@ -13217,8 +13224,8 @@ function xl() {
13217
13224
  function w(v) {
13218
13225
  if (process.env.NODE_ENV !== "production")
13219
13226
  var E = {}, B = 0;
13220
- function G(Q, F, W, X, te, Y, ie) {
13221
- if (X = X || h, Y = Y || W, ie !== s) {
13227
+ function G(Q, F, W, X, te, K, ie) {
13228
+ if (X = X || h, K = K || W, ie !== s) {
13222
13229
  if (m) {
13223
13230
  var P = new Error(
13224
13231
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
@@ -13228,11 +13235,11 @@ function xl() {
13228
13235
  var ue = X + ":" + W;
13229
13236
  !E[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
13230
13237
  B < 3 && (i(
13231
- "You are manually calling a React.PropTypes validation function for the `" + Y + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
13238
+ "You are manually calling a React.PropTypes validation function for the `" + K + "` prop on `" + X + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
13232
13239
  ), E[ue] = !0, B++);
13233
13240
  }
13234
13241
  }
13235
- return F[W] == null ? Q ? F[W] === null ? new A("The " + te + " `" + Y + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new A("The " + te + " `" + Y + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : v(F, W, X, te, Y);
13242
+ return F[W] == null ? Q ? F[W] === null ? new A("The " + te + " `" + K + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new A("The " + te + " `" + K + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : v(F, W, X, te, K);
13236
13243
  }
13237
13244
  var D = G.bind(null, !1);
13238
13245
  return D.isRequired = G.bind(null, !0), D;
@@ -13241,9 +13248,9 @@ function xl() {
13241
13248
  function E(B, G, D, Q, F, W) {
13242
13249
  var X = B[G], te = I(X);
13243
13250
  if (te !== v) {
13244
- var Y = M(X);
13251
+ var K = M(X);
13245
13252
  return new A(
13246
- "Invalid " + Q + " `" + F + "` of type " + ("`" + Y + "` supplied to `" + D + "`, expected ") + ("`" + v + "`."),
13253
+ "Invalid " + Q + " `" + F + "` of type " + ("`" + K + "` supplied to `" + D + "`, expected ") + ("`" + v + "`."),
13247
13254
  { expectedType: v }
13248
13255
  );
13249
13256
  }
@@ -13264,9 +13271,9 @@ function xl() {
13264
13271
  return new A("Invalid " + Q + " `" + F + "` of type " + ("`" + X + "` supplied to `" + D + "`, expected an array."));
13265
13272
  }
13266
13273
  for (var te = 0; te < W.length; te++) {
13267
- var Y = v(W, te, D, Q, F + "[" + te + "]", s);
13268
- if (Y instanceof Error)
13269
- return Y;
13274
+ var K = v(W, te, D, Q, F + "[" + te + "]", s);
13275
+ if (K instanceof Error)
13276
+ return K;
13270
13277
  }
13271
13278
  return null;
13272
13279
  }
@@ -13330,9 +13337,9 @@ function xl() {
13330
13337
  return new A("Invalid " + Q + " `" + F + "` of type " + ("`" + X + "` supplied to `" + D + "`, expected an object."));
13331
13338
  for (var te in W)
13332
13339
  if (a(W, te)) {
13333
- var Y = v(W, te, D, Q, F + "." + te, s);
13334
- if (Y instanceof Error)
13335
- return Y;
13340
+ var K = v(W, te, D, Q, F + "." + te, s);
13341
+ if (K instanceof Error)
13342
+ return K;
13336
13343
  }
13337
13344
  return null;
13338
13345
  }
@@ -13349,8 +13356,8 @@ function xl() {
13349
13356
  ), o;
13350
13357
  }
13351
13358
  function G(D, Q, F, W, X) {
13352
- for (var te = [], Y = 0; Y < v.length; Y++) {
13353
- var ie = v[Y], P = ie(D, Q, F, W, X, s);
13359
+ for (var te = [], K = 0; K < v.length; K++) {
13360
+ var ie = v[K], P = ie(D, Q, F, W, X, s);
13354
13361
  if (P == null)
13355
13362
  return null;
13356
13363
  P.data && a(P.data, "expectedType") && te.push(P.data.expectedType);
@@ -13377,10 +13384,10 @@ function xl() {
13377
13384
  if (X !== "object")
13378
13385
  return new A("Invalid " + Q + " `" + F + "` of type `" + X + "` " + ("supplied to `" + D + "`, expected `object`."));
13379
13386
  for (var te in v) {
13380
- var Y = v[te];
13381
- if (typeof Y != "function")
13382
- return L(D, Q, F, te, M(Y));
13383
- var ie = Y(W, te, D, Q, F + "." + te, s);
13387
+ var K = v[te];
13388
+ if (typeof K != "function")
13389
+ return L(D, Q, F, te, M(K));
13390
+ var ie = K(W, te, D, Q, F + "." + te, s);
13384
13391
  if (ie)
13385
13392
  return ie;
13386
13393
  }
@@ -13394,16 +13401,16 @@ function xl() {
13394
13401
  if (X !== "object")
13395
13402
  return new A("Invalid " + Q + " `" + F + "` of type `" + X + "` " + ("supplied to `" + D + "`, expected `object`."));
13396
13403
  var te = t({}, B[G], v);
13397
- for (var Y in te) {
13398
- var ie = v[Y];
13399
- if (a(v, Y) && typeof ie != "function")
13400
- return L(D, Q, F, Y, M(ie));
13404
+ for (var K in te) {
13405
+ var ie = v[K];
13406
+ if (a(v, K) && typeof ie != "function")
13407
+ return L(D, Q, F, K, M(ie));
13401
13408
  if (!ie)
13402
13409
  return new A(
13403
- "Invalid " + Q + " `" + F + "` key `" + Y + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(B[G], null, " ") + `
13410
+ "Invalid " + Q + " `" + F + "` key `" + K + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(B[G], null, " ") + `
13404
13411
  Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
13405
13412
  );
13406
- var P = ie(W, Y, D, Q, F + "." + Y, s);
13413
+ var P = ie(W, K, D, Q, F + "." + K, s);
13407
13414
  if (P)
13408
13415
  return P;
13409
13416
  }
@@ -13946,7 +13953,7 @@ const Ba = Dl(Gl, {
13946
13953
  /* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ n(Je, {}) }),
13947
13954
  /* @__PURE__ */ n("h2", { className: "sass-pg-cmt-rp-title", children: c.reportAbuseTitle }),
13948
13955
  l === "loading" && /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ n(Bs, {}) }),
13949
- l === "form" || l === "loading" ? /* @__PURE__ */ g(K, { children: [
13956
+ l === "form" || l === "loading" ? /* @__PURE__ */ g(Y, { children: [
13950
13957
  /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-optionsContainer", children: y.map((x) => /* @__PURE__ */ g("label", { className: "sass-pg-cmt-rp-option", children: [
13951
13958
  /* @__PURE__ */ n(
13952
13959
  "input",
@@ -13985,7 +13992,7 @@ const Ba = Dl(Gl, {
13985
13992
  }
13986
13993
  )
13987
13994
  ] })
13988
- ] }) : /* @__PURE__ */ g(K, { children: [
13995
+ ] }) : /* @__PURE__ */ g(Y, { children: [
13989
13996
  /* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-successContainer", children: [
13990
13997
  /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-thumbsUp", children: /* @__PURE__ */ n(
13991
13998
  "svg",
@@ -14378,7 +14385,7 @@ const Ms = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin:
14378
14385
  w && (console.log("trigger3", { el: w }), w.click());
14379
14386
  });
14380
14387
  const A = m == "local" ? l : d && d !== "false" ? d : "";
14381
- return i ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: A + "/arte/" + c + "/Success.gif" }) }) : /* @__PURE__ */ g(K, { children: [
14388
+ return i ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: A + "/arte/" + c + "/Success.gif" }) }) : /* @__PURE__ */ g(Y, { children: [
14382
14389
  p && s.CONFIG_commentsV2 && /* @__PURE__ */ n(Wl, { API_ENV: s, icon: a, handleGoogleLogin: r, onClose: (w) => {
14383
14390
  w && h(!0), f(!1);
14384
14391
  } }),
@@ -14703,7 +14710,7 @@ const Ms = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin:
14703
14710
  API_ENV: o
14704
14711
  }) => {
14705
14712
  const [c, m] = J(!0), [l, d] = J("");
14706
- return /* @__PURE__ */ n(K, { children: /* @__PURE__ */ g("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
14713
+ return /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ g("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
14707
14714
  /* @__PURE__ */ n(
14708
14715
  Xl,
14709
14716
  {
@@ -14819,9 +14826,9 @@ const Ms = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin:
14819
14826
  }, L = y?.comments && y.comments.length > 0, z = L ? m.commentHeaderMessageWithComments : m.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Bs, {}) }), q = () => {
14820
14827
  !window || !window.location || (document.cookie = `redirect_after_login=${window.location.pathname}; path=/; max-age=300`, window.location.pathname = "/auth/login");
14821
14828
  };
14822
- return /* @__PURE__ */ g(K, { children: [
14823
- /* @__PURE__ */ n("div", { className: "comments-container", children: /* @__PURE__ */ n(he, { title: o.CONFIG_commentsV2 || L || e ? m.commentsSectionTitle : !1, children: /* @__PURE__ */ g(K, { children: [
14824
- /* @__PURE__ */ n("div", { className: "comments-header", children: e && s ? /* @__PURE__ */ g(K, { children: [
14829
+ return /* @__PURE__ */ g(Y, { children: [
14830
+ /* @__PURE__ */ n("div", { className: "comments-container", children: /* @__PURE__ */ n(he, { title: o.CONFIG_commentsV2 || L || e ? m.commentsSectionTitle : !1, children: /* @__PURE__ */ g(Y, { children: [
14831
+ /* @__PURE__ */ n("div", { className: "comments-header", children: e && s ? /* @__PURE__ */ g(Y, { children: [
14825
14832
  /* @__PURE__ */ n(
14826
14833
  wl,
14827
14834
  {
@@ -14840,7 +14847,7 @@ const Ms = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin:
14840
14847
  API_ENV: o
14841
14848
  }
14842
14849
  )
14843
- ] }) : o.CONFIG_commentsV2 ? /* @__PURE__ */ g(K, { children: [
14850
+ ] }) : o.CONFIG_commentsV2 ? /* @__PURE__ */ g(Y, { children: [
14844
14851
  /* @__PURE__ */ g("p", { className: "anonimus-message", children: [
14845
14852
  "¿Querés debatir con otros lectores? Comentá ahora de forma anónima o ",
14846
14853
  /* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick: q, children: "INICIA SESIÓN AQUÍ" }),
@@ -14918,7 +14925,7 @@ function nd({
14918
14925
  texts: m
14919
14926
  // termsAndConditionsUrl,
14920
14927
  }) {
14921
- return /* @__PURE__ */ n(K, { children: /* @__PURE__ */ n(
14928
+ return /* @__PURE__ */ n(Y, { children: /* @__PURE__ */ n(
14922
14929
  sd,
14923
14930
  {
14924
14931
  isAuthenticated: e,
@@ -16574,7 +16581,7 @@ const Bn = {
16574
16581
  data: i.slice(0, m),
16575
16582
  paths: s.paths
16576
16583
  });
16577
- return /* @__PURE__ */ g(K, { children: [
16584
+ return /* @__PURE__ */ g(Y, { children: [
16578
16585
  /* @__PURE__ */ n(
16579
16586
  ts,
16580
16587
  {
@@ -18,7 +18,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
18
18
  src: url("${e.fontS3Url}") format('woff2');
19
19
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
20
20
  }
21
- `;return s.jsx(s.Fragment,{children:e.useS3Font?s.jsxs(s.Fragment,{children:[s.jsx("link",{rel:"preload",as:"font",media:"print",onLoad:a=>{a.currentTarget.onload=null,a.currentTarget.media="all"},href:e.fontS3Url,type:"font/woff2",crossOrigin:"anonymous"}),s.jsx("noscript",{children:s.jsx("link",{rel:"stylesheet",href:e.fontS3Url})}),s.jsx("style",{dangerouslySetInnerHTML:{__html:t}})]}):s.jsx("link",{rel:"stylesheet",href:`https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay??"swap"}`})})},as={404:()=>{},home:()=>({"[author_replace]":"","[section_replace]":"home","[tag_replace]":"","[url_replace]":""}),slug:e=>({"[author_replace]":"","[section_replace]":e.pathname==="/index.html"?"home":e.slug??"","[tag_replace]":"","[url_replace]":""}),news:e=>({"[author_replace]":e.currentNew?.authors[0]?.name??"","[section_replace]":e.currentNew?.info?.section?.slug??"","[tag_replace]":Xt(e.currentNew?.keywords),"[url_replace]":ha(e.internalPath??"")}),seccion:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.seccion+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),tema:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.tema+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),"ultimas-noticias":e=>({"[author_replace]":"","[section_replace]":e.config?.paths["ultimas-noticias"]??"","[tag_replace]":"","[url_replace]":""}),video:e=>({"[author_replace]":"","[section_replace]":e.slug,"[tag_replace]":"","[url_replace]":""}),videos:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/videos/")[1]??"","[tag_replace]":"","[url_replace]":""}),pages:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),auth:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),contacto:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.contacto??"contacto","[tag_replace]":"","[url_replace]":""}),anuncia:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.anuncia??"anuncia","[tag_replace]":"","[url_replace]":""}),buscar:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.buscar??"","[tag_replace]":"","[url_replace]":""}),autor:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.autor+"/")[1]??"","[tag_replace]":"","[url_replace]":""})},Ta=e=>{if(!e)return e??"";if(e.search("/page/")===-1)return e.replace("/","");const t=e.split("/"),a=t.indexOf("page")-1;return a<0?e:(t[a]??"").replace("/","")},pe=e=>{const a=e.replace(/^\/|\/$/g,"").split("/"),n=a.indexOf("page");return n>0?`${a[n-1]??""}`:`${a[a.length-1]??""}`},xa={404:()=>"404",home:()=>"home",slug:e=>pe(e.pathname),news:e=>da(e.pathname)?.slug,seccion:e=>pe(e.pathname),tema:e=>pe(e.pathname),pages:e=>pe(e.pathname),auth:e=>pe(e.pathname),buscar:e=>pe(e.pathname),"ultimas-noticias":e=>pe(e.pathname),anuncia:e=>pe(e.pathname),contacto:e=>pe(e.pathname),autor:e=>pe(e.pathname),video:e=>pe(e.pathname),videos:e=>pe(e.pathname)},Xe=e=>{const t=e.split("/"),a=t[t.length-1]??"1";return Number(a)>0?Number(a):1},yo=(e,t=2)=>{if(!e||e.length===0)return[];const a=[];for(let n=0;n<t;n++){if(!e[n]||!e[n].preview)continue;const r=e[n].preview?.sizes;r&&(r.length>1?a.push({href:r[0]?.url??"",media:"(min-width: 900px)"},{href:r[1]?.url??"",media:"(max-width: 900px)"}):a.push({href:r[0]?.url??""}))}return a},Co=e=>{try{return JSON.stringify(e,null,2)}catch{return String(e)}},No=e=>{const{SERVICE_DEBUG:t,PUBLIC_API_HOST:a,PUBLIC_ENV:n,PUBLIC_PUBLICATION_ID:r}=G(),o=new Date().toISOString(),i=t?.projectName??"";return`<!doctype html>
21
+ `;return s.jsx(s.Fragment,{children:e.useS3Font?s.jsxs(s.Fragment,{children:[s.jsx("link",{rel:"preload",as:"font",media:"print",onLoad:a=>{a.currentTarget.onload=null,a.currentTarget.media="all"},href:e.fontS3Url,type:"font/woff2",crossOrigin:"anonymous"}),s.jsx("noscript",{children:s.jsx("link",{rel:"stylesheet",href:e.fontS3Url})}),s.jsx("style",{dangerouslySetInnerHTML:{__html:t}})]}):s.jsxs(s.Fragment,{children:[s.jsx("link",{rel:"stylesheet",media:"print",onLoad:a=>{a.currentTarget.onload=null,a.currentTarget.media="all"},href:`https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay??"swap"}`}),s.jsx("noscript",{children:s.jsx("link",{rel:"stylesheet",href:`https://fonts.googleapis.com/css2?${e.googleFontFamily}&display=${e.fontDisplay??"swap"}`})})]})})},as={404:()=>{},home:()=>({"[author_replace]":"","[section_replace]":"home","[tag_replace]":"","[url_replace]":""}),slug:e=>({"[author_replace]":"","[section_replace]":e.pathname==="/index.html"?"home":e.slug??"","[tag_replace]":"","[url_replace]":""}),news:e=>({"[author_replace]":e.currentNew?.authors[0]?.name??"","[section_replace]":e.currentNew?.info?.section?.slug??"","[tag_replace]":Xt(e.currentNew?.keywords),"[url_replace]":ha(e.internalPath??"")}),seccion:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.seccion+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),tema:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.tema+"/")[1]??"","[tag_replace]":"","[url_replace]":""}),"ultimas-noticias":e=>({"[author_replace]":"","[section_replace]":e.config?.paths["ultimas-noticias"]??"","[tag_replace]":"","[url_replace]":""}),video:e=>({"[author_replace]":"","[section_replace]":e.slug,"[tag_replace]":"","[url_replace]":""}),videos:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/videos/")[1]??"","[tag_replace]":"","[url_replace]":""}),pages:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),auth:e=>({"[author_replace]":"","[section_replace]":e.slug??"","[tag_replace]":"","[url_replace]":""}),contacto:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.contacto??"contacto","[tag_replace]":"","[url_replace]":""}),anuncia:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.anuncia??"anuncia","[tag_replace]":"","[url_replace]":""}),buscar:e=>({"[author_replace]":"","[section_replace]":e.config?.paths.buscar??"","[tag_replace]":"","[url_replace]":""}),autor:e=>({"[author_replace]":"","[section_replace]":e.pathname?.split("/"+e.config?.paths.autor+"/")[1]??"","[tag_replace]":"","[url_replace]":""})},Ta=e=>{if(!e)return e??"";if(e.search("/page/")===-1)return e.replace("/","");const t=e.split("/"),a=t.indexOf("page")-1;return a<0?e:(t[a]??"").replace("/","")},pe=e=>{const a=e.replace(/^\/|\/$/g,"").split("/"),n=a.indexOf("page");return n>0?`${a[n-1]??""}`:`${a[a.length-1]??""}`},xa={404:()=>"404",home:()=>"home",slug:e=>pe(e.pathname),news:e=>da(e.pathname)?.slug,seccion:e=>pe(e.pathname),tema:e=>pe(e.pathname),pages:e=>pe(e.pathname),auth:e=>pe(e.pathname),buscar:e=>pe(e.pathname),"ultimas-noticias":e=>pe(e.pathname),anuncia:e=>pe(e.pathname),contacto:e=>pe(e.pathname),autor:e=>pe(e.pathname),video:e=>pe(e.pathname),videos:e=>pe(e.pathname)},Xe=e=>{const t=e.split("/"),a=t[t.length-1]??"1";return Number(a)>0?Number(a):1},yo=(e,t=2)=>{if(!e||e.length===0)return[];const a=[];for(let n=0;n<t;n++){if(!e[n]||!e[n].preview)continue;const r=e[n].preview?.sizes;r&&(r.length>1?a.push({href:r[0]?.url??"",media:"(min-width: 900px)"},{href:r[1]?.url??"",media:"(max-width: 900px)"}):a.push({href:r[0]?.url??""}))}return a},Co=e=>{try{return JSON.stringify(e,null,2)}catch{return String(e)}},No=e=>{const{SERVICE_DEBUG:t,PUBLIC_API_HOST:a,PUBLIC_ENV:n,PUBLIC_PUBLICATION_ID:r}=G(),o=new Date().toISOString(),i=t?.projectName??"";return`<!doctype html>
22
22
  <html lang="es">
23
23
  <head>
24
24
  <meta charset="utf-8" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-template-common",
3
- "version": "0.9.23",
3
+ "version": "0.9.24",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"