sass-template-common 0.2.71 → 0.2.72
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/sass-template-common.js +827 -851
- package/dist/sass-template-common.umd.cjs +10 -12
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as f, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as La from "react";
|
|
3
|
-
import Te, { useState as K, useRef as Ps, useCallback as
|
|
3
|
+
import Te, { useState as K, useRef as Ps, useCallback as he, useEffect as De, createElement as st, forwardRef as Ds, Fragment as pn, useMemo as jr, Component as Qr } from "react";
|
|
4
4
|
let ta = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -157,7 +157,7 @@ function Ms() {
|
|
|
157
157
|
(function(n, s) {
|
|
158
158
|
e.exports = s();
|
|
159
159
|
})($r, (function() {
|
|
160
|
-
var n = 1e3, s = 6e4, r = 36e5, o = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week",
|
|
160
|
+
var n = 1e3, s = 6e4, r = 36e5, o = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
161
161
|
var U = ["th", "st", "nd", "rd"], x = M % 100;
|
|
162
162
|
return "[" + M + (U[(x - 20) % 10] || U[x] || U[0]) + "]";
|
|
163
163
|
} }, _ = function(M, U, x) {
|
|
@@ -168,12 +168,12 @@ function Ms() {
|
|
|
168
168
|
return (U <= 0 ? "+" : "-") + _(D, 2, "0") + ":" + _(I, 2, "0");
|
|
169
169
|
}, m: function M(U, x) {
|
|
170
170
|
if (U.date() < x.date()) return -M(x, U);
|
|
171
|
-
var D = 12 * (x.year() - U.year()) + (x.month() - U.month()), I = U.clone().add(D,
|
|
171
|
+
var D = 12 * (x.year() - U.year()) + (x.month() - U.month()), I = U.clone().add(D, h), z = x - I < 0, y = U.clone().add(D + (z ? -1 : 1), h);
|
|
172
172
|
return +(-(D + (x - I) / (z ? I - y : y - I)) || 0);
|
|
173
173
|
}, a: function(M) {
|
|
174
174
|
return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
|
|
175
175
|
}, p: function(M) {
|
|
176
|
-
return { M:
|
|
176
|
+
return { M: h, y: p, w: u, d: l, D: g, h: d, m: c, s: i, ms: o, Q: m }[M] || String(M || "").toLowerCase().replace(/s$/, "");
|
|
177
177
|
}, u: function(M) {
|
|
178
178
|
return M === void 0;
|
|
179
179
|
} }, b = "en", T = {};
|
|
@@ -251,7 +251,7 @@ function Ms() {
|
|
|
251
251
|
switch (y) {
|
|
252
252
|
case p:
|
|
253
253
|
return z ? S(1, 0) : S(31, 11);
|
|
254
|
-
case
|
|
254
|
+
case h:
|
|
255
255
|
return z ? S(1, B) : S(0, B + 1);
|
|
256
256
|
case u:
|
|
257
257
|
var F = this.$locale().weekStart || 0, Z = (j < F ? j + 7 : j) - F;
|
|
@@ -271,8 +271,8 @@ function Ms() {
|
|
|
271
271
|
}, U.endOf = function(x) {
|
|
272
272
|
return this.startOf(x, !1);
|
|
273
273
|
}, U.$set = function(x, D) {
|
|
274
|
-
var I, z = P.p(x), y = "set" + (this.$u ? "UTC" : ""), S = (I = {}, I[l] = y + "Date", I[g] = y + "Date", I[
|
|
275
|
-
if (z ===
|
|
274
|
+
var I, z = P.p(x), y = "set" + (this.$u ? "UTC" : ""), S = (I = {}, I[l] = y + "Date", I[g] = y + "Date", I[h] = y + "Month", I[p] = y + "FullYear", I[d] = y + "Hours", I[c] = y + "Minutes", I[i] = y + "Seconds", I[o] = y + "Milliseconds", I)[z], R = z === l ? this.$D + (D - this.$W) : D;
|
|
275
|
+
if (z === h || z === p) {
|
|
276
276
|
var j = this.clone().set(g, 1);
|
|
277
277
|
j.$d[S](R), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
|
|
278
278
|
} else S && this.$d[S](R);
|
|
@@ -288,7 +288,7 @@ function Ms() {
|
|
|
288
288
|
var H = G(z);
|
|
289
289
|
return P.w(H.date(H.date() + Math.round(B * x)), z);
|
|
290
290
|
};
|
|
291
|
-
if (y ===
|
|
291
|
+
if (y === h) return this.set(h, this.$M + x);
|
|
292
292
|
if (y === p) return this.set(p, this.$y + x);
|
|
293
293
|
if (y === l) return S(1);
|
|
294
294
|
if (y === u) return S(7);
|
|
@@ -372,10 +372,10 @@ function Ms() {
|
|
|
372
372
|
case p:
|
|
373
373
|
z = H() / 12;
|
|
374
374
|
break;
|
|
375
|
-
case
|
|
375
|
+
case h:
|
|
376
376
|
z = H();
|
|
377
377
|
break;
|
|
378
|
-
case
|
|
378
|
+
case m:
|
|
379
379
|
z = H() / 3;
|
|
380
380
|
break;
|
|
381
381
|
case u:
|
|
@@ -398,7 +398,7 @@ function Ms() {
|
|
|
398
398
|
}
|
|
399
399
|
return I ? z : P.a(z);
|
|
400
400
|
}, U.daysInMonth = function() {
|
|
401
|
-
return this.endOf(
|
|
401
|
+
return this.endOf(h).$D;
|
|
402
402
|
}, U.$locale = function() {
|
|
403
403
|
return T[this.$L];
|
|
404
404
|
}, U.locale = function(x, D) {
|
|
@@ -417,7 +417,7 @@ function Ms() {
|
|
|
417
417
|
return this.$d.toUTCString();
|
|
418
418
|
}, M;
|
|
419
419
|
})(), ce = te.prototype;
|
|
420
|
-
return G.prototype = ce, [["$ms", o], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M",
|
|
420
|
+
return G.prototype = ce, [["$ms", o], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", h], ["$y", p], ["$D", g]].forEach((function(M) {
|
|
421
421
|
ce[M[1]] = function(U) {
|
|
422
422
|
return this.$g(U, M[0], M[1]);
|
|
423
423
|
};
|
|
@@ -440,13 +440,13 @@ function Kr() {
|
|
|
440
440
|
return function(n, s, r) {
|
|
441
441
|
n = n || {};
|
|
442
442
|
var o = s.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
|
|
443
|
-
function c(l, u,
|
|
444
|
-
return o.fromToBase(l, u,
|
|
443
|
+
function c(l, u, h, m) {
|
|
444
|
+
return o.fromToBase(l, u, h, m);
|
|
445
445
|
}
|
|
446
|
-
r.en.relativeTime = i, o.fromToBase = function(l, u,
|
|
447
|
-
for (var g, A, w, v =
|
|
446
|
+
r.en.relativeTime = i, o.fromToBase = function(l, u, h, m, p) {
|
|
447
|
+
for (var g, A, w, v = h.$locale().relativeTime || i, N = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], _ = N.length, E = 0; E < _; E += 1) {
|
|
448
448
|
var b = N[E];
|
|
449
|
-
b.d && (g =
|
|
449
|
+
b.d && (g = m ? r(l).diff(h, b.d, !0) : h.diff(l, b.d, !0));
|
|
450
450
|
var T = (n.rounding || Math.round)(Math.abs(g));
|
|
451
451
|
if (w = g > 0, T <= b.r || !b.r) {
|
|
452
452
|
T <= 1 && E > 0 && (b = N[E - 1]);
|
|
@@ -523,10 +523,10 @@ function no() {
|
|
|
523
523
|
this.$y = A.getUTCFullYear(), this.$M = A.getUTCMonth(), this.$D = A.getUTCDate(), this.$W = A.getUTCDay(), this.$H = A.getUTCHours(), this.$m = A.getUTCMinutes(), this.$s = A.getUTCSeconds(), this.$ms = A.getUTCMilliseconds();
|
|
524
524
|
} else u.call(this);
|
|
525
525
|
};
|
|
526
|
-
var
|
|
526
|
+
var h = d.utcOffset;
|
|
527
527
|
d.utcOffset = function(A, w) {
|
|
528
528
|
var v = this.$utils().u;
|
|
529
|
-
if (v(A)) return this.$u ? 0 : v(this.$offset) ?
|
|
529
|
+
if (v(A)) return this.$u ? 0 : v(this.$offset) ? h.call(this) : this.$offset;
|
|
530
530
|
if (typeof A == "string" && (A = (function(b) {
|
|
531
531
|
b === void 0 && (b = "");
|
|
532
532
|
var T = b.match(s);
|
|
@@ -541,10 +541,10 @@ function no() {
|
|
|
541
541
|
var E = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
542
542
|
return (_ = this.local().add(N + E, n)).$offset = N, _.$x.$localOffset = E, _;
|
|
543
543
|
};
|
|
544
|
-
var
|
|
544
|
+
var m = d.format;
|
|
545
545
|
d.format = function(A) {
|
|
546
546
|
var w = A || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
547
|
-
return
|
|
547
|
+
return m.call(this, w);
|
|
548
548
|
}, d.valueOf = function() {
|
|
549
549
|
var A = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
550
550
|
return this.$d.valueOf() - 6e4 * A;
|
|
@@ -579,56 +579,56 @@ function oo() {
|
|
|
579
579
|
})(ro, (function() {
|
|
580
580
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, s = {};
|
|
581
581
|
return function(r, o, i) {
|
|
582
|
-
var c, d = function(
|
|
582
|
+
var c, d = function(m, p, g) {
|
|
583
583
|
g === void 0 && (g = {});
|
|
584
|
-
var A = new Date(
|
|
584
|
+
var A = new Date(m), w = (function(v, N) {
|
|
585
585
|
N === void 0 && (N = {});
|
|
586
586
|
var _ = N.timeZoneName || "short", E = v + "|" + _, b = s[E];
|
|
587
587
|
return b || (b = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: _ }), s[E] = b), b;
|
|
588
588
|
})(p, g);
|
|
589
589
|
return w.formatToParts(A);
|
|
590
|
-
}, l = function(
|
|
591
|
-
for (var g = d(
|
|
590
|
+
}, l = function(m, p) {
|
|
591
|
+
for (var g = d(m, p), A = [], w = 0; w < g.length; w += 1) {
|
|
592
592
|
var v = g[w], N = v.type, _ = v.value, E = n[N];
|
|
593
593
|
E >= 0 && (A[E] = parseInt(_, 10));
|
|
594
594
|
}
|
|
595
|
-
var b = A[3], T = b === 24 ? 0 : b, q = A[0] + "-" + A[1] + "-" + A[2] + " " + T + ":" + A[4] + ":" + A[5] + ":000", Q = +
|
|
595
|
+
var b = A[3], T = b === 24 ? 0 : b, q = A[0] + "-" + A[1] + "-" + A[2] + " " + T + ":" + A[4] + ":" + A[5] + ":000", Q = +m;
|
|
596
596
|
return (i.utc(q).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
597
597
|
}, u = o.prototype;
|
|
598
|
-
u.tz = function(
|
|
599
|
-
|
|
600
|
-
var g, A = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone:
|
|
598
|
+
u.tz = function(m, p) {
|
|
599
|
+
m === void 0 && (m = c);
|
|
600
|
+
var g, A = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: m }), N = Math.round((w - new Date(v)) / 1e3 / 60), _ = 15 * -Math.round(w.getTimezoneOffset() / 15) - N;
|
|
601
601
|
if (!Number(_)) g = this.utcOffset(0, p);
|
|
602
602
|
else if (g = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(_, !0), p) {
|
|
603
603
|
var E = g.utcOffset();
|
|
604
604
|
g = g.add(A - E, "minute");
|
|
605
605
|
}
|
|
606
|
-
return g.$x.$timezone =
|
|
607
|
-
}, u.offsetName = function(
|
|
608
|
-
var p = this.$x.$timezone || i.tz.guess(), g = d(this.valueOf(), p, { timeZoneName:
|
|
606
|
+
return g.$x.$timezone = m, g;
|
|
607
|
+
}, u.offsetName = function(m) {
|
|
608
|
+
var p = this.$x.$timezone || i.tz.guess(), g = d(this.valueOf(), p, { timeZoneName: m }).find((function(A) {
|
|
609
609
|
return A.type.toLowerCase() === "timezonename";
|
|
610
610
|
}));
|
|
611
611
|
return g && g.value;
|
|
612
612
|
};
|
|
613
|
-
var
|
|
614
|
-
u.startOf = function(
|
|
615
|
-
if (!this.$x || !this.$x.$timezone) return
|
|
613
|
+
var h = u.startOf;
|
|
614
|
+
u.startOf = function(m, p) {
|
|
615
|
+
if (!this.$x || !this.$x.$timezone) return h.call(this, m, p);
|
|
616
616
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
617
|
-
return
|
|
618
|
-
}, i.tz = function(
|
|
617
|
+
return h.call(g, m, p).tz(this.$x.$timezone, !0);
|
|
618
|
+
}, i.tz = function(m, p, g) {
|
|
619
619
|
var A = g && p, w = g || p || c, v = l(+i(), w);
|
|
620
|
-
if (typeof
|
|
620
|
+
if (typeof m != "string") return i(m).tz(w);
|
|
621
621
|
var N = (function(T, q, Q) {
|
|
622
622
|
var ee = T - 60 * q * 1e3, G = l(ee, Q);
|
|
623
623
|
if (q === G) return [ee, q];
|
|
624
624
|
var P = l(ee -= 60 * (G - q) * 1e3, Q);
|
|
625
625
|
return G === P ? [ee, G] : [T - 60 * Math.min(G, P) * 1e3, Math.max(G, P)];
|
|
626
|
-
})(i.utc(
|
|
626
|
+
})(i.utc(m, A).valueOf(), v, w), _ = N[0], E = N[1], b = i(_).utcOffset(E);
|
|
627
627
|
return b.$x.$timezone = w, b;
|
|
628
628
|
}, i.tz.guess = function() {
|
|
629
629
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
630
|
-
}, i.tz.setDefault = function(
|
|
631
|
-
c =
|
|
630
|
+
}, i.tz.setDefault = function(m) {
|
|
631
|
+
c = m;
|
|
632
632
|
};
|
|
633
633
|
};
|
|
634
634
|
}));
|
|
@@ -738,10 +738,10 @@ const C9 = async (e, t) => {
|
|
|
738
738
|
}, Mt = () => {
|
|
739
739
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = Y();
|
|
740
740
|
return e == "local" ? t : n && n !== "false" ? n : "";
|
|
741
|
-
},
|
|
741
|
+
}, ho = () => {
|
|
742
742
|
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = Y();
|
|
743
743
|
return e === "local" ? t : "";
|
|
744
|
-
},
|
|
744
|
+
}, mo = (e, t) => {
|
|
745
745
|
if (!e) return {};
|
|
746
746
|
const { PUBLIC_ASSETS_URL: n, PUBLIC_API_FRONT: s } = Y(), r = Gs(e.keywords) ?? "", o = e?.preview?.sizes ? e?.preview?.sizes[0]?.url : "", i = (n !== "false" ? n : s) ?? "";
|
|
747
747
|
return {
|
|
@@ -924,7 +924,7 @@ const C9 = async (e, t) => {
|
|
|
924
924
|
)
|
|
925
925
|
);
|
|
926
926
|
}), t;
|
|
927
|
-
},
|
|
927
|
+
}, me = async (e) => `${Mt()}${e}`, ga = (e, t) => {
|
|
928
928
|
const n = e || "";
|
|
929
929
|
return t ? n.replaceAll("[section_replace]", t["[section_replace]"] ?? "").replaceAll("[tag_replace]", t["[tag_replace]"] ?? "").replaceAll("[url_replace]", t["[url_replace]"] ?? "").replaceAll("[author_replace]", t["[author_replace]"] ?? "") || "" : n || "";
|
|
930
930
|
}, Hs = (e) => {
|
|
@@ -1167,9 +1167,9 @@ const To = async ({
|
|
|
1167
1167
|
logow: t.socialBlockLogo?.width,
|
|
1168
1168
|
logoh: t.socialBlockLogo?.height,
|
|
1169
1169
|
authorurl: n + "/autor/"
|
|
1170
|
-
}, u = e.split("/")[1],
|
|
1170
|
+
}, u = e.split("/")[1], h = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], m = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, p = r !== "false" && o !== "false" ? "/" + r + m : m;
|
|
1171
1171
|
i = (await Promise.all(
|
|
1172
|
-
|
|
1172
|
+
h.map(async (A) => {
|
|
1173
1173
|
const w = A === "/news-breadcrumb" ? { ...l, prefixtag: p } : l;
|
|
1174
1174
|
return await pa(w, A, s);
|
|
1175
1175
|
})
|
|
@@ -1531,7 +1531,7 @@ function Oo(e) {
|
|
|
1531
1531
|
let t;
|
|
1532
1532
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && $s(e.buffer), t;
|
|
1533
1533
|
}
|
|
1534
|
-
const Po = Tn("string"), _e = Tn("function"), Ws = Tn("number"), Gt = (e) => e !== null && typeof e == "object", Do = (e) => e === !0 || e === !1,
|
|
1534
|
+
const Po = Tn("string"), _e = Tn("function"), Ws = Tn("number"), Gt = (e) => e !== null && typeof e == "object", Do = (e) => e === !0 || e === !1, hn = (e) => {
|
|
1535
1535
|
if (xn(e) !== "object")
|
|
1536
1536
|
return !1;
|
|
1537
1537
|
const t = Aa(e);
|
|
@@ -1580,7 +1580,7 @@ const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typ
|
|
|
1580
1580
|
function na() {
|
|
1581
1581
|
const { caseless: e, skipUndefined: t } = Ks(this) && this || {}, n = {}, s = (r, o) => {
|
|
1582
1582
|
const i = e && Ys(n, o) || o;
|
|
1583
|
-
|
|
1583
|
+
hn(n[i]) && hn(r) ? n[i] = na(n[i], r) : hn(r) ? n[i] = na({}, r) : Nt(r) ? n[i] = r.slice() : (!t || !bt(r)) && (n[i] = r);
|
|
1584
1584
|
};
|
|
1585
1585
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
1586
1586
|
arguments[r] && Ht(arguments[r], s);
|
|
@@ -1661,8 +1661,8 @@ const Zo = (e, t, n, { allOwnKeys: s } = {}) => (Ht(t, (r, o) => {
|
|
|
1661
1661
|
});
|
|
1662
1662
|
};
|
|
1663
1663
|
return Nt(e) ? s(e) : s(String(e).split(t)), n;
|
|
1664
|
-
},
|
|
1665
|
-
},
|
|
1664
|
+
}, hi = () => {
|
|
1665
|
+
}, mi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
1666
1666
|
function fi(e) {
|
|
1667
1667
|
return !!(e && _e(e.append) && e[Fs] === "FormData" && e[En]);
|
|
1668
1668
|
}
|
|
@@ -1702,7 +1702,7 @@ const gi = (e) => {
|
|
|
1702
1702
|
isNumber: Ws,
|
|
1703
1703
|
isBoolean: Do,
|
|
1704
1704
|
isObject: Gt,
|
|
1705
|
-
isPlainObject:
|
|
1705
|
+
isPlainObject: hn,
|
|
1706
1706
|
isEmptyObject: Mo,
|
|
1707
1707
|
isReadableStream: $o,
|
|
1708
1708
|
isRequest: Wo,
|
|
@@ -1739,8 +1739,8 @@ const gi = (e) => {
|
|
|
1739
1739
|
freezeMethods: di,
|
|
1740
1740
|
toObjectSet: ui,
|
|
1741
1741
|
toCamelCase: ci,
|
|
1742
|
-
noop:
|
|
1743
|
-
toFiniteNumber:
|
|
1742
|
+
noop: hi,
|
|
1743
|
+
toFiniteNumber: mi,
|
|
1744
1744
|
findKey: Ys,
|
|
1745
1745
|
global: dt,
|
|
1746
1746
|
isContextDefined: Ks,
|
|
@@ -1861,24 +1861,24 @@ function In(e, t, n) {
|
|
|
1861
1861
|
}
|
|
1862
1862
|
return aa(g) ? !0 : (t.append(Ga(w, A, o), l(g)), !1);
|
|
1863
1863
|
}
|
|
1864
|
-
const
|
|
1864
|
+
const h = [], m = Object.assign(Ci, {
|
|
1865
1865
|
defaultVisitor: u,
|
|
1866
1866
|
convertValue: l,
|
|
1867
1867
|
isVisitable: aa
|
|
1868
1868
|
});
|
|
1869
1869
|
function p(g, A) {
|
|
1870
1870
|
if (!C.isUndefined(g)) {
|
|
1871
|
-
if (
|
|
1871
|
+
if (h.indexOf(g) !== -1)
|
|
1872
1872
|
throw Error("Circular reference detected in " + A.join("."));
|
|
1873
|
-
|
|
1873
|
+
h.push(g), C.forEach(g, function(v, N) {
|
|
1874
1874
|
(!(C.isUndefined(v) || v === null) && r.call(
|
|
1875
1875
|
t,
|
|
1876
1876
|
v,
|
|
1877
1877
|
C.isString(N) ? N.trim() : N,
|
|
1878
1878
|
A,
|
|
1879
|
-
|
|
1879
|
+
m
|
|
1880
1880
|
)) === !0 && p(v, A ? A.concat(N) : [N]);
|
|
1881
|
-
}),
|
|
1881
|
+
}), h.pop();
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
1884
|
if (!C.isObject(e))
|
|
@@ -2153,8 +2153,8 @@ const Oi = C.toObjectSet([
|
|
|
2153
2153
|
function It(e) {
|
|
2154
2154
|
return e && String(e).trim().toLowerCase();
|
|
2155
2155
|
}
|
|
2156
|
-
function
|
|
2157
|
-
return e === !1 || e == null ? e : C.isArray(e) ? e.map(
|
|
2156
|
+
function mn(e) {
|
|
2157
|
+
return e === !1 || e == null ? e : C.isArray(e) ? e.map(mn) : String(e);
|
|
2158
2158
|
}
|
|
2159
2159
|
function Di(e) {
|
|
2160
2160
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -2198,8 +2198,8 @@ let Ne = class {
|
|
|
2198
2198
|
const u = It(d);
|
|
2199
2199
|
if (!u)
|
|
2200
2200
|
throw new Error("header name must be a non-empty string");
|
|
2201
|
-
const
|
|
2202
|
-
(!
|
|
2201
|
+
const h = C.findKey(r, u);
|
|
2202
|
+
(!h || r[h] === void 0 || l === !0 || l === void 0 && r[h] !== !1) && (r[h || d] = mn(c));
|
|
2203
2203
|
}
|
|
2204
2204
|
const i = (c, d) => C.forEach(c, (l, u) => o(l, u, d));
|
|
2205
2205
|
if (C.isPlainObject(t) || t instanceof this.constructor)
|
|
@@ -2267,11 +2267,11 @@ let Ne = class {
|
|
|
2267
2267
|
return C.forEach(this, (r, o) => {
|
|
2268
2268
|
const i = C.findKey(s, o);
|
|
2269
2269
|
if (i) {
|
|
2270
|
-
n[i] =
|
|
2270
|
+
n[i] = mn(r), delete n[o];
|
|
2271
2271
|
return;
|
|
2272
2272
|
}
|
|
2273
2273
|
const c = t ? ji(o) : String(o).trim();
|
|
2274
|
-
c !== o && delete n[o], n[c] =
|
|
2274
|
+
c !== o && delete n[o], n[c] = mn(r), s[c] = !0;
|
|
2275
2275
|
}), this;
|
|
2276
2276
|
}
|
|
2277
2277
|
concat(...t) {
|
|
@@ -2362,13 +2362,13 @@ function Hi(e, t) {
|
|
|
2362
2362
|
return t = t !== void 0 ? t : 1e3, function(d) {
|
|
2363
2363
|
const l = Date.now(), u = s[o];
|
|
2364
2364
|
i || (i = l), n[r] = d, s[r] = l;
|
|
2365
|
-
let
|
|
2366
|
-
for (;
|
|
2367
|
-
|
|
2365
|
+
let h = o, m = 0;
|
|
2366
|
+
for (; h !== r; )
|
|
2367
|
+
m += n[h++], h = h % e;
|
|
2368
2368
|
if (r = (r + 1) % e, r === o && (o = (o + 1) % e), l - i < t)
|
|
2369
2369
|
return;
|
|
2370
2370
|
const p = u && l - u;
|
|
2371
|
-
return p ? Math.round(
|
|
2371
|
+
return p ? Math.round(m * 1e3 / p) : void 0;
|
|
2372
2372
|
};
|
|
2373
2373
|
}
|
|
2374
2374
|
function zi(e, t) {
|
|
@@ -2377,10 +2377,10 @@ function zi(e, t) {
|
|
|
2377
2377
|
n = u, r = null, o && (clearTimeout(o), o = null), e(...l);
|
|
2378
2378
|
};
|
|
2379
2379
|
return [(...l) => {
|
|
2380
|
-
const u = Date.now(),
|
|
2381
|
-
|
|
2380
|
+
const u = Date.now(), h = u - n;
|
|
2381
|
+
h >= s ? i(l, u) : (r = l, o || (o = setTimeout(() => {
|
|
2382
2382
|
o = null, i(r);
|
|
2383
|
-
}, s -
|
|
2383
|
+
}, s - h)));
|
|
2384
2384
|
}, () => r && i(r)];
|
|
2385
2385
|
}
|
|
2386
2386
|
const An = (e, t, n = 3) => {
|
|
@@ -2389,7 +2389,7 @@ const An = (e, t, n = 3) => {
|
|
|
2389
2389
|
return zi((o) => {
|
|
2390
2390
|
const i = o.loaded, c = o.lengthComputable ? o.total : void 0, d = i - s, l = r(d), u = i <= c;
|
|
2391
2391
|
s = i;
|
|
2392
|
-
const
|
|
2392
|
+
const h = {
|
|
2393
2393
|
loaded: i,
|
|
2394
2394
|
total: c,
|
|
2395
2395
|
progress: c ? i / c : void 0,
|
|
@@ -2400,7 +2400,7 @@ const An = (e, t, n = 3) => {
|
|
|
2400
2400
|
lengthComputable: c != null,
|
|
2401
2401
|
[t ? "download" : "upload"]: !0
|
|
2402
2402
|
};
|
|
2403
|
-
e(
|
|
2403
|
+
e(h);
|
|
2404
2404
|
}, n);
|
|
2405
2405
|
}, Fa = (e, t) => {
|
|
2406
2406
|
const n = e != null;
|
|
@@ -2455,14 +2455,14 @@ const Wa = (e) => e instanceof Ne ? { ...e } : e;
|
|
|
2455
2455
|
function ft(e, t) {
|
|
2456
2456
|
t = t || {};
|
|
2457
2457
|
const n = {};
|
|
2458
|
-
function s(l, u,
|
|
2459
|
-
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless:
|
|
2458
|
+
function s(l, u, h, m) {
|
|
2459
|
+
return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless: m }, l, u) : C.isPlainObject(u) ? C.merge({}, u) : C.isArray(u) ? u.slice() : u;
|
|
2460
2460
|
}
|
|
2461
|
-
function r(l, u,
|
|
2461
|
+
function r(l, u, h, m) {
|
|
2462
2462
|
if (C.isUndefined(u)) {
|
|
2463
2463
|
if (!C.isUndefined(l))
|
|
2464
|
-
return s(void 0, l,
|
|
2465
|
-
} else return s(l, u,
|
|
2464
|
+
return s(void 0, l, h, m);
|
|
2465
|
+
} else return s(l, u, h, m);
|
|
2466
2466
|
}
|
|
2467
2467
|
function o(l, u) {
|
|
2468
2468
|
if (!C.isUndefined(u))
|
|
@@ -2474,10 +2474,10 @@ function ft(e, t) {
|
|
|
2474
2474
|
return s(void 0, l);
|
|
2475
2475
|
} else return s(void 0, u);
|
|
2476
2476
|
}
|
|
2477
|
-
function c(l, u,
|
|
2478
|
-
if (
|
|
2477
|
+
function c(l, u, h) {
|
|
2478
|
+
if (h in t)
|
|
2479
2479
|
return s(l, u);
|
|
2480
|
-
if (
|
|
2480
|
+
if (h in e)
|
|
2481
2481
|
return s(void 0, l);
|
|
2482
2482
|
}
|
|
2483
2483
|
const d = {
|
|
@@ -2509,11 +2509,11 @@ function ft(e, t) {
|
|
|
2509
2509
|
socketPath: i,
|
|
2510
2510
|
responseEncoding: i,
|
|
2511
2511
|
validateStatus: c,
|
|
2512
|
-
headers: (l, u,
|
|
2512
|
+
headers: (l, u, h) => r(Wa(l), Wa(u), h, !0)
|
|
2513
2513
|
};
|
|
2514
2514
|
return C.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
2515
|
-
const
|
|
2516
|
-
C.isUndefined(
|
|
2515
|
+
const h = d[u] || r, m = h(e[u], t[u], u);
|
|
2516
|
+
C.isUndefined(m) && h !== c || (n[u] = m);
|
|
2517
2517
|
}), n;
|
|
2518
2518
|
}
|
|
2519
2519
|
const lr = (e) => {
|
|
@@ -2527,8 +2527,8 @@ const lr = (e) => {
|
|
|
2527
2527
|
i.setContentType(void 0);
|
|
2528
2528
|
else if (C.isFunction(n.getHeaders)) {
|
|
2529
2529
|
const d = n.getHeaders(), l = ["content-type", "content-length"];
|
|
2530
|
-
Object.entries(d).forEach(([u,
|
|
2531
|
-
l.includes(u.toLowerCase()) && i.set(u,
|
|
2530
|
+
Object.entries(d).forEach(([u, h]) => {
|
|
2531
|
+
l.includes(u.toLowerCase()) && i.set(u, h);
|
|
2532
2532
|
});
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
@@ -2542,7 +2542,7 @@ const lr = (e) => {
|
|
|
2542
2542
|
const r = lr(e);
|
|
2543
2543
|
let o = r.data;
|
|
2544
2544
|
const i = Ne.from(r.headers).normalize();
|
|
2545
|
-
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u,
|
|
2545
|
+
let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, h, m, p, g;
|
|
2546
2546
|
function A() {
|
|
2547
2547
|
p && p(), g && g(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
2548
2548
|
}
|
|
@@ -2585,7 +2585,7 @@ const lr = (e) => {
|
|
|
2585
2585
|
)), w = null;
|
|
2586
2586
|
}, o === void 0 && i.setContentType(null), "setRequestHeader" in w && C.forEach(i.toJSON(), function(E, b) {
|
|
2587
2587
|
w.setRequestHeader(b, E);
|
|
2588
|
-
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([
|
|
2588
|
+
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([m, g] = An(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = An(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (r.cancelToken || r.signal) && (u = (_) => {
|
|
2589
2589
|
w && (s(!_ || _.type ? new St(null, e, w) : _), w.abort(), w = null);
|
|
2590
2590
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
2591
2591
|
const N = Gi(r.url);
|
|
@@ -2659,10 +2659,10 @@ const lr = (e) => {
|
|
|
2659
2659
|
c(), d.close();
|
|
2660
2660
|
return;
|
|
2661
2661
|
}
|
|
2662
|
-
let
|
|
2662
|
+
let h = u.byteLength;
|
|
2663
2663
|
if (n) {
|
|
2664
|
-
let
|
|
2665
|
-
n(
|
|
2664
|
+
let m = o += h;
|
|
2665
|
+
n(m);
|
|
2666
2666
|
}
|
|
2667
2667
|
d.enqueue(new Uint8Array(u));
|
|
2668
2668
|
} catch (l) {
|
|
@@ -2704,18 +2704,18 @@ const lr = (e) => {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
}).headers.has("Content-Type");
|
|
2706
2706
|
return g && !A;
|
|
2707
|
-
}), u = i && c && Xa(() => C.isReadableStream(new s("").body)),
|
|
2707
|
+
}), u = i && c && Xa(() => C.isReadableStream(new s("").body)), h = {
|
|
2708
2708
|
stream: u && ((g) => g.body)
|
|
2709
2709
|
};
|
|
2710
2710
|
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2711
|
-
!
|
|
2711
|
+
!h[g] && (h[g] = (A, w) => {
|
|
2712
2712
|
let v = A && A[g];
|
|
2713
2713
|
if (v)
|
|
2714
2714
|
return v.call(A);
|
|
2715
2715
|
throw new W(`Response type '${g}' is not supported`, W.ERR_NOT_SUPPORT, w);
|
|
2716
2716
|
});
|
|
2717
2717
|
});
|
|
2718
|
-
const
|
|
2718
|
+
const m = async (g) => {
|
|
2719
2719
|
if (g == null)
|
|
2720
2720
|
return 0;
|
|
2721
2721
|
if (C.isBlob(g))
|
|
@@ -2731,7 +2731,7 @@ const lr = (e) => {
|
|
|
2731
2731
|
return (await d(g)).byteLength;
|
|
2732
2732
|
}, p = async (g, A) => {
|
|
2733
2733
|
const w = C.toFiniteNumber(g.getContentLength());
|
|
2734
|
-
return w ??
|
|
2734
|
+
return w ?? m(A);
|
|
2735
2735
|
};
|
|
2736
2736
|
return async (g) => {
|
|
2737
2737
|
let {
|
|
@@ -2799,7 +2799,7 @@ const lr = (e) => {
|
|
|
2799
2799
|
);
|
|
2800
2800
|
}
|
|
2801
2801
|
q = q || "text";
|
|
2802
|
-
let y = await
|
|
2802
|
+
let y = await h[C.findKey(h, q) || "text"](I, g);
|
|
2803
2803
|
return !z && M && M(), await new Promise((S, R) => {
|
|
2804
2804
|
ir(S, R, {
|
|
2805
2805
|
data: y,
|
|
@@ -2911,7 +2911,7 @@ function ts(e) {
|
|
|
2911
2911
|
), s.response.headers = Ne.from(s.response.headers))), Promise.reject(s);
|
|
2912
2912
|
});
|
|
2913
2913
|
}
|
|
2914
|
-
const
|
|
2914
|
+
const hr = "1.13.2", kn = {};
|
|
2915
2915
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2916
2916
|
kn[e] = function(s) {
|
|
2917
2917
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -2920,7 +2920,7 @@ const mr = "1.13.2", kn = {};
|
|
|
2920
2920
|
const ns = {};
|
|
2921
2921
|
kn.transitional = function(t, n, s) {
|
|
2922
2922
|
function r(o, i) {
|
|
2923
|
-
return "[Axios v" +
|
|
2923
|
+
return "[Axios v" + hr + "] Transitional option '" + o + "'" + i + (s ? ". " + s : "");
|
|
2924
2924
|
}
|
|
2925
2925
|
return (o, i, c) => {
|
|
2926
2926
|
if (t === !1)
|
|
@@ -3027,17 +3027,17 @@ let ut = class {
|
|
|
3027
3027
|
this.interceptors.response.forEach(function(A) {
|
|
3028
3028
|
l.push(A.fulfilled, A.rejected);
|
|
3029
3029
|
});
|
|
3030
|
-
let u,
|
|
3030
|
+
let u, h = 0, m;
|
|
3031
3031
|
if (!d) {
|
|
3032
3032
|
const g = [ts.bind(this), void 0];
|
|
3033
|
-
for (g.unshift(...c), g.push(...l),
|
|
3034
|
-
u = u.then(g[
|
|
3033
|
+
for (g.unshift(...c), g.push(...l), m = g.length, u = Promise.resolve(n); h < m; )
|
|
3034
|
+
u = u.then(g[h++], g[h++]);
|
|
3035
3035
|
return u;
|
|
3036
3036
|
}
|
|
3037
|
-
|
|
3037
|
+
m = c.length;
|
|
3038
3038
|
let p = n;
|
|
3039
|
-
for (;
|
|
3040
|
-
const g = c[
|
|
3039
|
+
for (; h < m; ) {
|
|
3040
|
+
const g = c[h++], A = c[h++];
|
|
3041
3041
|
try {
|
|
3042
3042
|
p = g(p);
|
|
3043
3043
|
} catch (w) {
|
|
@@ -3050,8 +3050,8 @@ let ut = class {
|
|
|
3050
3050
|
} catch (g) {
|
|
3051
3051
|
return Promise.reject(g);
|
|
3052
3052
|
}
|
|
3053
|
-
for (
|
|
3054
|
-
u = u.then(l[
|
|
3053
|
+
for (h = 0, m = l.length; h < m; )
|
|
3054
|
+
u = u.then(l[h++], l[h++]);
|
|
3055
3055
|
return u;
|
|
3056
3056
|
}
|
|
3057
3057
|
getUri(t) {
|
|
@@ -3084,7 +3084,7 @@ C.forEach(["post", "put", "patch"], function(t) {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
ut.prototype[t] = n(), ut.prototype[t + "Form"] = n(!0);
|
|
3086
3086
|
});
|
|
3087
|
-
let ic = class
|
|
3087
|
+
let ic = class mr {
|
|
3088
3088
|
constructor(t) {
|
|
3089
3089
|
if (typeof t != "function")
|
|
3090
3090
|
throw new TypeError("executor must be a function.");
|
|
@@ -3150,7 +3150,7 @@ let ic = class hr {
|
|
|
3150
3150
|
static source() {
|
|
3151
3151
|
let t;
|
|
3152
3152
|
return {
|
|
3153
|
-
token: new
|
|
3153
|
+
token: new mr(function(r) {
|
|
3154
3154
|
t = r;
|
|
3155
3155
|
}),
|
|
3156
3156
|
cancel: t
|
|
@@ -3250,7 +3250,7 @@ re.Axios = ut;
|
|
|
3250
3250
|
re.CanceledError = St;
|
|
3251
3251
|
re.CancelToken = ic;
|
|
3252
3252
|
re.isCancel = or;
|
|
3253
|
-
re.VERSION =
|
|
3253
|
+
re.VERSION = hr;
|
|
3254
3254
|
re.toFormData = In;
|
|
3255
3255
|
re.AxiosError = W;
|
|
3256
3256
|
re.Cancel = re.CanceledError;
|
|
@@ -3467,24 +3467,24 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3467
3467
|
axiosApi: e,
|
|
3468
3468
|
exclude: i
|
|
3469
3469
|
}), d = [];
|
|
3470
|
-
for (let
|
|
3471
|
-
for (let
|
|
3470
|
+
for (let h = 1; h <= r; h++)
|
|
3471
|
+
for (let m = 1; m <= o; m++)
|
|
3472
3472
|
d.push({
|
|
3473
3473
|
func: c.getBlockSass,
|
|
3474
|
-
slot_id:
|
|
3474
|
+
slot_id: h + "_" + m
|
|
3475
3475
|
});
|
|
3476
3476
|
const l = await Promise.allSettled([
|
|
3477
|
-
...d.map((
|
|
3477
|
+
...d.map((h) => h.func({ template: "Home_" + h.slot_id }))
|
|
3478
3478
|
]);
|
|
3479
3479
|
return (() => {
|
|
3480
|
-
const
|
|
3481
|
-
for (let
|
|
3480
|
+
const h = {};
|
|
3481
|
+
for (let m = 0; m < l.length; m++) {
|
|
3482
3482
|
const p = uo(
|
|
3483
|
-
l[
|
|
3484
|
-
), g = "Home_" + (Math.floor(
|
|
3485
|
-
p && (
|
|
3483
|
+
l[m]
|
|
3484
|
+
), g = "Home_" + (Math.floor(m / o) + 1) + "_" + (Math.floor(m % o) + 1);
|
|
3485
|
+
p && (h[g] = { ...p });
|
|
3486
3486
|
}
|
|
3487
|
-
return
|
|
3487
|
+
return h;
|
|
3488
3488
|
})();
|
|
3489
3489
|
}, uc = (e) => {
|
|
3490
3490
|
const t = Qs(e);
|
|
@@ -3504,7 +3504,7 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3504
3504
|
title: e.title,
|
|
3505
3505
|
description: e.description,
|
|
3506
3506
|
robots: "noindex"
|
|
3507
|
-
}),
|
|
3507
|
+
}), hc = {
|
|
3508
3508
|
404: (e) => {
|
|
3509
3509
|
const { meta: t } = e;
|
|
3510
3510
|
return be(t);
|
|
@@ -3533,7 +3533,7 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3533
3533
|
news: (e) => {
|
|
3534
3534
|
const { meta: t, config: n, currentNew: s } = e;
|
|
3535
3535
|
if (!s) return be(t);
|
|
3536
|
-
const r =
|
|
3536
|
+
const r = mo(s, n);
|
|
3537
3537
|
return r ? { ...t, ...r } : be(t);
|
|
3538
3538
|
},
|
|
3539
3539
|
seccion: async (e) => {
|
|
@@ -3547,11 +3547,11 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3547
3547
|
page: d
|
|
3548
3548
|
});
|
|
3549
3549
|
if (!u) return be(t);
|
|
3550
|
-
const
|
|
3551
|
-
return
|
|
3550
|
+
const h = u.data.data, m = h[0];
|
|
3551
|
+
return h.length < l || c.push({ rel: "next", url: $t(n, i, d) }), d > 1 && c.push({ rel: "prev", url: Wt(n, i, d) }), {
|
|
3552
3552
|
...t,
|
|
3553
|
-
title: `Últimas Noticias de ${
|
|
3554
|
-
description: `Todas las últimas noticias de ${
|
|
3553
|
+
title: `Últimas Noticias de ${m.info.section?.name} | ${n.name}`,
|
|
3554
|
+
description: `Todas las últimas noticias de ${m.info.section?.name} en ${n.name}`,
|
|
3555
3555
|
alternates: {
|
|
3556
3556
|
...t.alternates,
|
|
3557
3557
|
canonical: n.siteUrl + s
|
|
@@ -3565,13 +3565,13 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3565
3565
|
"msapplication-TileImage": n.msapplicationTileImage ?? ""
|
|
3566
3566
|
},
|
|
3567
3567
|
openGraph: {
|
|
3568
|
-
title: `${
|
|
3568
|
+
title: `${m.info.section?.name}`,
|
|
3569
3569
|
type: "website",
|
|
3570
3570
|
url: `${n.siteUrl}${s}`
|
|
3571
3571
|
},
|
|
3572
3572
|
twitter: {
|
|
3573
3573
|
card: "summary_large_image",
|
|
3574
|
-
title: `${
|
|
3574
|
+
title: `${m.info.section?.name}`,
|
|
3575
3575
|
domain: n.siteUrl,
|
|
3576
3576
|
url: `${n.siteUrl}${s}`
|
|
3577
3577
|
}
|
|
@@ -3581,12 +3581,12 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3581
3581
|
}
|
|
3582
3582
|
},
|
|
3583
3583
|
tema: async (e) => {
|
|
3584
|
-
const { meta: t, config: n, pathname: s, slug: r } = e, o = new lt(), i = s.split("/"), c = [], d = Yt(s), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(r || ""),
|
|
3584
|
+
const { meta: t, config: n, pathname: s, slug: r } = e, o = new lt(), i = s.split("/"), c = [], d = Yt(s), l = Number(n.newsListLimit) ?? 0, u = /([t][0-9]{4})\w+/.exec(r || ""), h = u && u?.length > 0 ? u[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: m } = Y();
|
|
3585
3585
|
try {
|
|
3586
3586
|
const p = await o.getNewsListTags({
|
|
3587
|
-
tagid:
|
|
3587
|
+
tagid: h,
|
|
3588
3588
|
size: l,
|
|
3589
|
-
tagtype: Number(
|
|
3589
|
+
tagtype: Number(m),
|
|
3590
3590
|
newstype: n.newsType,
|
|
3591
3591
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
3592
3592
|
page: d
|
|
@@ -3752,7 +3752,7 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3752
3752
|
user: o,
|
|
3753
3753
|
exclude: "groups",
|
|
3754
3754
|
imagesizes: r.sm
|
|
3755
|
-
}),
|
|
3755
|
+
}), h = await i.getNewsListAutor({
|
|
3756
3756
|
size: Number(n.newsListLimit) ?? 0,
|
|
3757
3757
|
user: o,
|
|
3758
3758
|
page: l,
|
|
@@ -3760,7 +3760,7 @@ const W9 = async (e, t, n, s, r, o, i) => {
|
|
|
3760
3760
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
3761
3761
|
imagesizes: r.md
|
|
3762
3762
|
});
|
|
3763
|
-
return
|
|
3763
|
+
return h ? (h.data.data.length < Number(n.newsListLimit) || d.push({
|
|
3764
3764
|
rel: "next",
|
|
3765
3765
|
url: $t(n, c, l)
|
|
3766
3766
|
}), l > 1 && d.push({
|
|
@@ -3808,8 +3808,8 @@ async function K9({
|
|
|
3808
3808
|
query: d,
|
|
3809
3809
|
currentNew: l,
|
|
3810
3810
|
banners: u,
|
|
3811
|
-
internalPath:
|
|
3812
|
-
config:
|
|
3811
|
+
internalPath: h,
|
|
3812
|
+
config: m,
|
|
3813
3813
|
socials: p,
|
|
3814
3814
|
speculationType: g = "Common",
|
|
3815
3815
|
preloadImageUrl: A,
|
|
@@ -3818,9 +3818,9 @@ async function K9({
|
|
|
3818
3818
|
custom_scriptReplaces: N,
|
|
3819
3819
|
head_custom_elements: _
|
|
3820
3820
|
}) {
|
|
3821
|
-
const E = v || await
|
|
3821
|
+
const E = v || await hc[r]({
|
|
3822
3822
|
meta: n,
|
|
3823
|
-
config:
|
|
3823
|
+
config: m,
|
|
3824
3824
|
currentNew: l,
|
|
3825
3825
|
pathname: o,
|
|
3826
3826
|
imgSizes: s,
|
|
@@ -3830,16 +3830,16 @@ async function K9({
|
|
|
3830
3830
|
}), b = Ao(E), T = N || zs[r]({
|
|
3831
3831
|
pathname: o,
|
|
3832
3832
|
slug: i,
|
|
3833
|
-
config:
|
|
3833
|
+
config: m,
|
|
3834
3834
|
currentNew: l,
|
|
3835
|
-
internalPath:
|
|
3835
|
+
internalPath: h
|
|
3836
3836
|
});
|
|
3837
3837
|
return /* @__PURE__ */ f(J, { children: [
|
|
3838
3838
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
3839
3839
|
/* @__PURE__ */ a("meta", { name: "viewport", content: "width=device-width" }),
|
|
3840
3840
|
b,
|
|
3841
3841
|
/* @__PURE__ */ a(yo, {}),
|
|
3842
|
-
t.ampConfig &&
|
|
3842
|
+
t.ampConfig && m.ampOption && t.ampConfig_slugIsValid && /* @__PURE__ */ a("link", { rel: "amphtml", href: m.siteUrl + "/amp" + o }),
|
|
3843
3843
|
t.preloadImages && l && l.preview?.sizes && /* @__PURE__ */ a(
|
|
3844
3844
|
ja,
|
|
3845
3845
|
{
|
|
@@ -3856,7 +3856,7 @@ async function K9({
|
|
|
3856
3856
|
}
|
|
3857
3857
|
),
|
|
3858
3858
|
t.preloadImages && A && /* @__PURE__ */ a(ja, { images: A }),
|
|
3859
|
-
/* @__PURE__ */ a(qo, { config:
|
|
3859
|
+
/* @__PURE__ */ a(qo, { config: m }),
|
|
3860
3860
|
/* @__PURE__ */ a(
|
|
3861
3861
|
Hs,
|
|
3862
3862
|
{
|
|
@@ -3865,39 +3865,39 @@ async function K9({
|
|
|
3865
3865
|
banners: u
|
|
3866
3866
|
}
|
|
3867
3867
|
),
|
|
3868
|
-
t.schemas_NewsArticle &&
|
|
3868
|
+
t.schemas_NewsArticle && h && /* @__PURE__ */ a(
|
|
3869
3869
|
To,
|
|
3870
3870
|
{
|
|
3871
|
-
BASE_URL:
|
|
3872
|
-
config:
|
|
3873
|
-
realPath:
|
|
3871
|
+
BASE_URL: m.siteUrl,
|
|
3872
|
+
config: m,
|
|
3873
|
+
realPath: h,
|
|
3874
3874
|
axiosApi: e
|
|
3875
3875
|
}
|
|
3876
3876
|
),
|
|
3877
|
-
/* @__PURE__ */ a(Io, { config:
|
|
3878
|
-
t.schemas_Videos &&
|
|
3877
|
+
/* @__PURE__ */ a(Io, { config: m, socials: p }),
|
|
3878
|
+
t.schemas_Videos && h && /* @__PURE__ */ a(
|
|
3879
3879
|
Uo,
|
|
3880
3880
|
{
|
|
3881
3881
|
axiosApi: e,
|
|
3882
|
-
realPath:
|
|
3883
|
-
config:
|
|
3882
|
+
realPath: h,
|
|
3883
|
+
config: m
|
|
3884
3884
|
}
|
|
3885
3885
|
),
|
|
3886
3886
|
t.schemas_ItemList && /* @__PURE__ */ a(
|
|
3887
3887
|
xo,
|
|
3888
3888
|
{
|
|
3889
|
-
config:
|
|
3889
|
+
config: m,
|
|
3890
3890
|
ROUTE: r,
|
|
3891
3891
|
pathname: o,
|
|
3892
3892
|
axiosApi: e
|
|
3893
3893
|
}
|
|
3894
3894
|
),
|
|
3895
|
-
t.schemas_WebsiteList && /* @__PURE__ */ a(ko, { config:
|
|
3895
|
+
t.schemas_WebsiteList && /* @__PURE__ */ a(ko, { config: m }),
|
|
3896
3896
|
/* @__PURE__ */ a(
|
|
3897
3897
|
So,
|
|
3898
3898
|
{
|
|
3899
3899
|
type: g,
|
|
3900
|
-
active:
|
|
3900
|
+
active: m.useSpeculationRules,
|
|
3901
3901
|
customSpeculation: w
|
|
3902
3902
|
}
|
|
3903
3903
|
),
|
|
@@ -3917,25 +3917,25 @@ const J9 = ({
|
|
|
3917
3917
|
scriptReplaces: l,
|
|
3918
3918
|
body_custom_elements: u
|
|
3919
3919
|
}) => {
|
|
3920
|
-
const
|
|
3920
|
+
const h = Hr(c, d), m = zs[t]({
|
|
3921
3921
|
pathname: s,
|
|
3922
3922
|
slug: r,
|
|
3923
3923
|
config: o,
|
|
3924
3924
|
currentNew: c,
|
|
3925
3925
|
internalPath: i
|
|
3926
|
-
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData :
|
|
3926
|
+
}), p = l.before.active, g = l.after.active, A = p ? l.before.customData ? l.before.customData : m : void 0, w = g ? l.after.customData ? l.after.customData : m : void 0;
|
|
3927
3927
|
return /* @__PURE__ */ f(J, { children: [
|
|
3928
3928
|
/* @__PURE__ */ a(Hs, { name: "bodybefore", banners: n, replaces: A }),
|
|
3929
3929
|
e,
|
|
3930
3930
|
/* @__PURE__ */ a(Fr, {}),
|
|
3931
3931
|
/* @__PURE__ */ a(Gr, {}),
|
|
3932
|
-
/* @__PURE__ */ a(zr, { dimensionValues:
|
|
3932
|
+
/* @__PURE__ */ a(zr, { dimensionValues: h }),
|
|
3933
3933
|
/* @__PURE__ */ a(Vr, {}),
|
|
3934
3934
|
u,
|
|
3935
3935
|
/* @__PURE__ */ a(wo, { name: "bodyafter", banners: n, replaces: w })
|
|
3936
3936
|
] });
|
|
3937
|
-
},
|
|
3938
|
-
content:
|
|
3937
|
+
}, mc = "_content_1tvgz_1", fc = {
|
|
3938
|
+
content: mc
|
|
3939
3939
|
}, gc = () => /* @__PURE__ */ a(
|
|
3940
3940
|
"svg",
|
|
3941
3941
|
{
|
|
@@ -3975,7 +3975,7 @@ function yc({
|
|
|
3975
3975
|
enableDrag: o,
|
|
3976
3976
|
onIndexChange: i
|
|
3977
3977
|
}) {
|
|
3978
|
-
const [c, d] = K(!1), [l, u] = K(0), [
|
|
3978
|
+
const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [v, N] = K(null), _ = Ps(null), [E, b] = K(1), T = he(() => {
|
|
3979
3979
|
if (r) return 1;
|
|
3980
3980
|
const y = _.current?.offsetWidth || window.innerWidth, S = n + s, R = Math.floor(y / S);
|
|
3981
3981
|
return Math.max(1, R);
|
|
@@ -3987,13 +3987,13 @@ function yc({
|
|
|
3987
3987
|
};
|
|
3988
3988
|
return y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y);
|
|
3989
3989
|
}, [T]);
|
|
3990
|
-
const Q =
|
|
3990
|
+
const Q = he(() => {
|
|
3991
3991
|
const y = T();
|
|
3992
3992
|
return Math.max(0, t - y);
|
|
3993
|
-
}, [t, T])(), ee =
|
|
3993
|
+
}, [t, T])(), ee = he(() => {
|
|
3994
3994
|
const y = T();
|
|
3995
3995
|
return y === 1 ? 1 : Math.max(1, Math.ceil(y / 2));
|
|
3996
|
-
}, [T]), G =
|
|
3996
|
+
}, [T]), G = he(
|
|
3997
3997
|
(y, S = 0) => {
|
|
3998
3998
|
if (r) {
|
|
3999
3999
|
const R = _.current?.offsetWidth || window.innerWidth;
|
|
@@ -4002,7 +4002,7 @@ function yc({
|
|
|
4002
4002
|
return -(y * (n + s)) + S;
|
|
4003
4003
|
},
|
|
4004
4004
|
[r, n, s]
|
|
4005
|
-
), P =
|
|
4005
|
+
), P = he(
|
|
4006
4006
|
(y) => {
|
|
4007
4007
|
const S = _.current?.offsetWidth || window.innerWidth, R = T(), j = ee();
|
|
4008
4008
|
if (r)
|
|
@@ -4013,27 +4013,27 @@ function yc({
|
|
|
4013
4013
|
}
|
|
4014
4014
|
},
|
|
4015
4015
|
[r, n, s, T, ee]
|
|
4016
|
-
), te =
|
|
4016
|
+
), te = he(
|
|
4017
4017
|
(y) => {
|
|
4018
|
-
o && (u(y),
|
|
4018
|
+
o && (u(y), m(y), g(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
|
|
4019
4019
|
},
|
|
4020
4020
|
[o]
|
|
4021
|
-
), ce =
|
|
4021
|
+
), ce = he(
|
|
4022
4022
|
(y) => {
|
|
4023
4023
|
if (!c || !o) return;
|
|
4024
4024
|
const S = y - l, R = (n + s) * 1.2, j = e === 0 && S > 0, B = e === Q && S < 0, H = j || B ? Math.sign(S) * Math.min(Math.abs(S), R) : S;
|
|
4025
|
-
|
|
4025
|
+
m(y), g(H);
|
|
4026
4026
|
},
|
|
4027
4027
|
[c, l, o, e, Q, n, s]
|
|
4028
|
-
), M =
|
|
4028
|
+
), M = he(
|
|
4029
4029
|
(y) => {
|
|
4030
4030
|
ce(y.clientX);
|
|
4031
4031
|
},
|
|
4032
4032
|
[ce]
|
|
4033
|
-
), U =
|
|
4033
|
+
), U = he(
|
|
4034
4034
|
(y) => {
|
|
4035
4035
|
if (!c || !o) return;
|
|
4036
|
-
const S =
|
|
4036
|
+
const S = h - l, R = Date.now() - A, j = Math.abs(S) / Math.max(R, 1), B = P(S), V = j > 0.5 && Math.abs(S) > 50 ? Math.max(B, 1) : B;
|
|
4037
4037
|
if (V > 0)
|
|
4038
4038
|
if (S > 0) {
|
|
4039
4039
|
const F = Math.max(0, e - V);
|
|
@@ -4046,7 +4046,7 @@ function yc({
|
|
|
4046
4046
|
},
|
|
4047
4047
|
[
|
|
4048
4048
|
c,
|
|
4049
|
-
|
|
4049
|
+
h,
|
|
4050
4050
|
l,
|
|
4051
4051
|
A,
|
|
4052
4052
|
e,
|
|
@@ -4057,22 +4057,22 @@ function yc({
|
|
|
4057
4057
|
M,
|
|
4058
4058
|
v
|
|
4059
4059
|
]
|
|
4060
|
-
), x =
|
|
4060
|
+
), x = he(
|
|
4061
4061
|
(y) => {
|
|
4062
4062
|
y.preventDefault(), ["a", "span"].includes(y.target?.localName) && N(y.target), te(y.clientX);
|
|
4063
4063
|
},
|
|
4064
4064
|
[te]
|
|
4065
|
-
), D =
|
|
4065
|
+
), D = he(
|
|
4066
4066
|
(y) => {
|
|
4067
4067
|
te(y.touches[0].clientX);
|
|
4068
4068
|
},
|
|
4069
4069
|
[te]
|
|
4070
|
-
), I =
|
|
4070
|
+
), I = he(
|
|
4071
4071
|
(y) => {
|
|
4072
4072
|
c && (y.preventDefault(), ce(y.touches[0].clientX));
|
|
4073
4073
|
},
|
|
4074
4074
|
[c, ce]
|
|
4075
|
-
), z =
|
|
4075
|
+
), z = he(
|
|
4076
4076
|
(y) => {
|
|
4077
4077
|
U(y);
|
|
4078
4078
|
},
|
|
@@ -4112,7 +4112,7 @@ function X9(e) {
|
|
|
4112
4112
|
fullPageWidth: i = !1,
|
|
4113
4113
|
pagination: c = !1,
|
|
4114
4114
|
enableDrag: d = !0
|
|
4115
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u,
|
|
4115
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = K(0), [m, p] = K(!1);
|
|
4116
4116
|
De(() => {
|
|
4117
4117
|
p(!0);
|
|
4118
4118
|
const G = document.getElementById("ssr-dummy_" + n);
|
|
@@ -4133,19 +4133,19 @@ function X9(e) {
|
|
|
4133
4133
|
cardGap: o,
|
|
4134
4134
|
fullPageWidth: i,
|
|
4135
4135
|
enableDrag: d,
|
|
4136
|
-
onIndexChange:
|
|
4137
|
-
}), b =
|
|
4136
|
+
onIndexChange: h
|
|
4137
|
+
}), b = he(
|
|
4138
4138
|
(G) => {
|
|
4139
4139
|
const P = Math.max(0, Math.min(G, v));
|
|
4140
|
-
|
|
4140
|
+
h(P);
|
|
4141
4141
|
},
|
|
4142
4142
|
[v]
|
|
4143
|
-
), T =
|
|
4143
|
+
), T = he(() => {
|
|
4144
4144
|
b(u - 1);
|
|
4145
|
-
}, [u, b]), q =
|
|
4145
|
+
}, [u, b]), q = he(() => {
|
|
4146
4146
|
b(u + 1);
|
|
4147
4147
|
}, [u, b]);
|
|
4148
|
-
if (!
|
|
4148
|
+
if (!m) return;
|
|
4149
4149
|
const Q = N(u, A), ee = i ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
4150
4150
|
return /* @__PURE__ */ f("div", { className: `${n}- carrousel-container`, children: [
|
|
4151
4151
|
u > 0 && /* @__PURE__ */ a(
|
|
@@ -4308,7 +4308,7 @@ function Et(e) {
|
|
|
4308
4308
|
}
|
|
4309
4309
|
const bc = "_content_3olxv_1", Cc = {
|
|
4310
4310
|
content: bc
|
|
4311
|
-
},
|
|
4311
|
+
}, ht = (e) => /* @__PURE__ */ a("div", { className: Cc.content, children: e.children }), _c = (e) => (e || "").replaceAll("[section_replace]", "").replaceAll("[tags_replace]", "").replaceAll("[url_replace]", "").replaceAll("[creator_replace]", ""), at = ({ banners: e, index: t }) => {
|
|
4312
4312
|
if (!e || e.length === 0) return null;
|
|
4313
4313
|
const n = e.find((s) => s.key === `middle_${t}`);
|
|
4314
4314
|
return n?.value && n.show ? /* @__PURE__ */ a(
|
|
@@ -4515,7 +4515,7 @@ const xt = (e) => {
|
|
|
4515
4515
|
if (e?.config?.showtime)
|
|
4516
4516
|
return Me(e.info?.date?.modified);
|
|
4517
4517
|
}, d = () => {
|
|
4518
|
-
const
|
|
4518
|
+
const h = {
|
|
4519
4519
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4520
4520
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4521
4521
|
"--colorSubTitle": e.colorSubTitle
|
|
@@ -4527,34 +4527,34 @@ const xt = (e) => {
|
|
|
4527
4527
|
dangerouslySetInnerHTML: {
|
|
4528
4528
|
__html: e.main.subtitle.rendered ?? e.main.subtitle.striped ?? ""
|
|
4529
4529
|
},
|
|
4530
|
-
style:
|
|
4530
|
+
style: h
|
|
4531
4531
|
}
|
|
4532
4532
|
);
|
|
4533
4533
|
}, l = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: se.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, u = () => {
|
|
4534
4534
|
if (i && s?.tags?.length && s.tags.length > 0) {
|
|
4535
|
-
const
|
|
4535
|
+
const h = s.tags[0], m = h.name;
|
|
4536
4536
|
return /* @__PURE__ */ f("h3", { className: se.sectionDescriptionContainer, children: [
|
|
4537
|
-
|
|
4537
|
+
h.approved ? /* @__PURE__ */ a(
|
|
4538
4538
|
O,
|
|
4539
4539
|
{
|
|
4540
|
-
"aria-label":
|
|
4540
|
+
"aria-label": m,
|
|
4541
4541
|
className: se.sectionDescription,
|
|
4542
|
-
href: vt(
|
|
4543
|
-
children:
|
|
4542
|
+
href: vt(h, o),
|
|
4543
|
+
children: m
|
|
4544
4544
|
}
|
|
4545
|
-
) : /* @__PURE__ */ a("div", { className: se.sectionDescription, children:
|
|
4545
|
+
) : /* @__PURE__ */ a("div", { className: se.sectionDescription, children: m }),
|
|
4546
4546
|
l()
|
|
4547
4547
|
] });
|
|
4548
4548
|
} else if (r?.section?.url) {
|
|
4549
|
-
const
|
|
4549
|
+
const h = r.section.name;
|
|
4550
4550
|
return /* @__PURE__ */ f("h3", { className: se.sectionDescriptionContainer, children: [
|
|
4551
4551
|
/* @__PURE__ */ a(
|
|
4552
4552
|
O,
|
|
4553
4553
|
{
|
|
4554
|
-
"aria-label":
|
|
4554
|
+
"aria-label": h,
|
|
4555
4555
|
className: se.sectionDescription,
|
|
4556
4556
|
href: r.section.url,
|
|
4557
|
-
children:
|
|
4557
|
+
children: h
|
|
4558
4558
|
}
|
|
4559
4559
|
),
|
|
4560
4560
|
l()
|
|
@@ -4792,7 +4792,7 @@ const tl = (e) => {
|
|
|
4792
4792
|
t.sizes.map(
|
|
4793
4793
|
async (o) => ({
|
|
4794
4794
|
...o,
|
|
4795
|
-
url: await
|
|
4795
|
+
url: await me(o.url)
|
|
4796
4796
|
})
|
|
4797
4797
|
)
|
|
4798
4798
|
), r = {
|
|
@@ -5799,15 +5799,15 @@ const tl = (e) => {
|
|
|
5799
5799
|
]
|
|
5800
5800
|
}
|
|
5801
5801
|
);
|
|
5802
|
-
}, ol = "_content_6azvz_1", il = "_subscribeImage_6azvz_22", cl = "_tag_6azvz_32", ll = "_contentTitle_6azvz_50", dl = "_title_6azvz_55", ul = "_inputStyled_6azvz_72",
|
|
5802
|
+
}, ol = "_content_6azvz_1", il = "_subscribeImage_6azvz_22", cl = "_tag_6azvz_32", ll = "_contentTitle_6azvz_50", dl = "_title_6azvz_55", ul = "_inputStyled_6azvz_72", hl = "_buttonStyled_6azvz_112", ml = "_contentTerms_6azvz_123", fl = "_subscribeText_6azvz_128", gl = "_terms_6azvz_138", qe = {
|
|
5803
5803
|
content: ol,
|
|
5804
5804
|
subscribeImage: il,
|
|
5805
5805
|
tag: cl,
|
|
5806
5806
|
contentTitle: ll,
|
|
5807
5807
|
title: dl,
|
|
5808
5808
|
inputStyled: ul,
|
|
5809
|
-
buttonStyled:
|
|
5810
|
-
contentTerms:
|
|
5809
|
+
buttonStyled: hl,
|
|
5810
|
+
contentTerms: ml,
|
|
5811
5811
|
subscribeText: fl,
|
|
5812
5812
|
terms: gl
|
|
5813
5813
|
}, pl = (e) => /* @__PURE__ */ f("section", { className: [qe.content, e.className ?? ""].join(" "), children: [
|
|
@@ -6287,13 +6287,13 @@ const tl = (e) => {
|
|
|
6287
6287
|
)
|
|
6288
6288
|
] })
|
|
6289
6289
|
] });
|
|
6290
|
-
}, cd = "_content_1msij_1", ld = "_imageContent_1msij_9", dd = "_width1Autor_1msij_18", ud = "_width2Autor_1msij_22",
|
|
6290
|
+
}, cd = "_content_1msij_1", ld = "_imageContent_1msij_9", dd = "_width1Autor_1msij_18", ud = "_width2Autor_1msij_22", hd = "_width3Autor_1msij_26", md = "_imageAutor_1msij_30", fd = "_imageStyled_1msij_69", gd = "_contentIconStyled_1msij_70", pd = "_avatarContent_1msij_87", Ad = "_journalistSection_1msij_101", wd = "_journalistInfo_1msij_109", yd = "_journalistInfoLink_1msij_110", vd = "_socialNetworkSection_1msij_146", bd = "_avatarStyled_1msij_158", Cd = "_article_1msij_163", _d = "_socialButton_1msij_167", Nd = "_facebookStyled_1msij_183", Sd = "_emailStyled_1msij_187", Ed = "_xStyled_1msij_191", xd = "_linkedinStyled_1msij_195", Td = "_whatsappStyled_1msij_199", Id = "_whatsappLink_1msij_203", kd = "_clipboardButton_1msij_219", Ud = "_googleProfileButton_1msij_255", de = {
|
|
6291
6291
|
content: cd,
|
|
6292
6292
|
imageContent: ld,
|
|
6293
6293
|
width1Autor: dd,
|
|
6294
6294
|
width2Autor: ud,
|
|
6295
|
-
width3Autor:
|
|
6296
|
-
imageAutor:
|
|
6295
|
+
width3Autor: hd,
|
|
6296
|
+
imageAutor: md,
|
|
6297
6297
|
imageStyled: fd,
|
|
6298
6298
|
contentIconStyled: gd,
|
|
6299
6299
|
avatarContent: pd,
|
|
@@ -6329,35 +6329,11 @@ const tl = (e) => {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
)
|
|
6331
6331
|
}
|
|
6332
|
-
), wn = (e) => /* @__PURE__ */
|
|
6333
|
-
"
|
|
6334
|
-
{
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
id: "Layer_1",
|
|
6338
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6339
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6340
|
-
x: "0px",
|
|
6341
|
-
y: "0px",
|
|
6342
|
-
viewBox: "0 0 30 30",
|
|
6343
|
-
overflow: "visible",
|
|
6344
|
-
xmlSpace: "preserve",
|
|
6345
|
-
...e,
|
|
6346
|
-
children: /* @__PURE__ */ a(
|
|
6347
|
-
"path",
|
|
6348
|
-
{
|
|
6349
|
-
fill: "currentColor",
|
|
6350
|
-
strokeWidth: "1.2656",
|
|
6351
|
-
strokeLinecap: "round",
|
|
6352
|
-
strokeLinejoin: "round",
|
|
6353
|
-
strokeMiterlimit: "10",
|
|
6354
|
-
d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
|
|
6355
|
-
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
|
|
6356
|
-
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
|
|
6357
|
-
}
|
|
6358
|
-
)
|
|
6359
|
-
}
|
|
6360
|
-
), Rd = (e) => /* @__PURE__ */ f(
|
|
6332
|
+
), wn = (e) => /* @__PURE__ */ f("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
6333
|
+
/* @__PURE__ */ a("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "#162950", stroke: "#162950", "stroke-width": "0.5" }),
|
|
6334
|
+
/* @__PURE__ */ a("path", { d: "M11.6141 33.4944L7.91316 33.5011C7.09486 33.5022 6.46473 32.847 6.46582 32.006L6.46801 15.4505C6.46801 14.6384 7.09158 14.0432 7.85627 14.0432L11.5211 14.041C12.3689 14.041 13.0023 14.6885 13.0023 15.5595L12.9925 32.1773C12.9925 32.9026 12.2978 33.4922 11.6152 33.4944H11.6141ZM11.6283 32.5544C11.8952 32.4932 12.067 32.3453 12.067 32.0605V15.5106C12.067 15.1835 11.8099 14.991 11.5233 14.991H7.85846C7.59809 14.9922 7.43728 15.1791 7.39789 15.4516V32.006C7.39789 32.2986 7.597 32.5511 7.88034 32.5511L11.6272 32.5555L11.6283 32.5544Z", fill: "#162950", stroke: "#162950", "stroke-width": "0.5" }),
|
|
6335
|
+
/* @__PURE__ */ a("path", { d: "M13.4654 9.03032C13.5595 10.9582 12.2708 12.6836 10.4296 13.0318C9.25798 13.2532 8.14212 12.9372 7.26804 12.1385C6.08982 11.0639 5.67082 9.39631 6.27142 7.88227C6.82716 6.48392 8.16072 5.51164 9.71855 5.4994C10.8103 5.4905 11.7829 5.93103 12.5038 6.75536C13.0628 7.3939 13.4206 8.12701 13.4654 9.03032ZM11.5094 11.5022C12.9447 10.2807 12.8058 8.12256 11.4645 7.05572C10.7119 6.45611 9.73058 6.29925 8.80289 6.61519C7.48464 7.06573 6.74621 8.42403 6.98141 9.82461C7.19255 11.0861 8.2012 11.9661 9.44068 12.1218C10.2097 12.2186 10.9022 12.0184 11.5094 11.5022Z", fill: "#162950", stroke: "#162950", "stroke-width": "0.5" })
|
|
6336
|
+
] }), Rd = (e) => /* @__PURE__ */ f(
|
|
6361
6337
|
"svg",
|
|
6362
6338
|
{
|
|
6363
6339
|
width: "25",
|
|
@@ -6577,9 +6553,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6577
6553
|
}, yn = (e) => {
|
|
6578
6554
|
const { currentPage: t, showNext: n, maxPages: s, pathname: r, query: o } = e, i = (c, d, l) => {
|
|
6579
6555
|
let u = "";
|
|
6580
|
-
const
|
|
6581
|
-
return
|
|
6582
|
-
p !== 0 && (u += `/${
|
|
6556
|
+
const h = d.split("/");
|
|
6557
|
+
return h.indexOf("page") !== -1 && h.splice(u.indexOf("page") - 1, h.length - 1), h.forEach((m, p) => {
|
|
6558
|
+
p !== 0 && (u += `/${m}`);
|
|
6583
6559
|
}), c === "next" ? u += `/page/${t + 1}${l ? `?query=${l}` : ""}` : u += `/page/${t - 1}${l ? `?query=${l}` : ""}`;
|
|
6584
6560
|
};
|
|
6585
6561
|
return (t > 1 || n && t < s) && /* @__PURE__ */ f("section", { className: Pn.content, children: [
|
|
@@ -6633,8 +6609,8 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6633
6609
|
overImage: d = "default",
|
|
6634
6610
|
isTitle: l,
|
|
6635
6611
|
priorityHigh: u = !1,
|
|
6636
|
-
isLarge:
|
|
6637
|
-
paths:
|
|
6612
|
+
isLarge: h,
|
|
6613
|
+
paths: m,
|
|
6638
6614
|
keywords: p
|
|
6639
6615
|
} = e;
|
|
6640
6616
|
return /* @__PURE__ */ f(
|
|
@@ -6658,7 +6634,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6658
6634
|
{
|
|
6659
6635
|
preview: r,
|
|
6660
6636
|
isVideo: i,
|
|
6661
|
-
isLarge:
|
|
6637
|
+
isLarge: h,
|
|
6662
6638
|
priorityHigh: u
|
|
6663
6639
|
}
|
|
6664
6640
|
)
|
|
@@ -6675,7 +6651,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6675
6651
|
config: c,
|
|
6676
6652
|
overImage: d,
|
|
6677
6653
|
isTitle: l,
|
|
6678
|
-
paths:
|
|
6654
|
+
paths: m,
|
|
6679
6655
|
keywords: p
|
|
6680
6656
|
}
|
|
6681
6657
|
) })
|
|
@@ -6760,11 +6736,11 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6760
6736
|
}, c1 = "_content_kro73_1", l1 = "_contentLayout_kro73_5", is = {
|
|
6761
6737
|
content: c1,
|
|
6762
6738
|
contentLayout: l1
|
|
6763
|
-
}, cs = (e) => /* @__PURE__ */ a("div", { className: is.content, children: /* @__PURE__ */ a(Vt, { className: `${is.contentLayout} ${e.className}`, children: e.children }) }), d1 = "_content_1nqra_1", u1 = "_before_1nqra_11",
|
|
6739
|
+
}, cs = (e) => /* @__PURE__ */ a("div", { className: is.content, children: /* @__PURE__ */ a(Vt, { className: `${is.contentLayout} ${e.className}`, children: e.children }) }), d1 = "_content_1nqra_1", u1 = "_before_1nqra_11", h1 = "_textContent_1nqra_22", m1 = "_title_1nqra_37", f1 = "_description_1nqra_46", g1 = "_linkStyled_1nqra_57", pt = {
|
|
6764
6740
|
content: d1,
|
|
6765
6741
|
before: u1,
|
|
6766
|
-
textContent:
|
|
6767
|
-
title:
|
|
6742
|
+
textContent: h1,
|
|
6743
|
+
title: m1,
|
|
6768
6744
|
description: f1,
|
|
6769
6745
|
linkStyled: g1
|
|
6770
6746
|
}, a3 = (e) => {
|
|
@@ -6886,7 +6862,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6886
6862
|
const t = e.trim();
|
|
6887
6863
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
6888
6864
|
}, nu = async (e) => {
|
|
6889
|
-
const { autor: t, autorIcon: n } = e, s = n, r = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = en(t?.addtional?.USER_USERFB ?? ""),
|
|
6865
|
+
const { autor: t, autorIcon: n } = e, s = n, r = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = en(t?.addtional?.USER_USERFB ?? ""), h = en(t?.addtional?.USER_USERIG ?? ""), m = en(t?.addtional?.USER_USERTWT ?? ""), p = en(t?.addtional?.USER_USERLIN ?? "");
|
|
6890
6866
|
return /* @__PURE__ */ a(
|
|
6891
6867
|
"section",
|
|
6892
6868
|
{
|
|
@@ -6899,7 +6875,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6899
6875
|
loading: "lazy",
|
|
6900
6876
|
alt: "",
|
|
6901
6877
|
className: fe.imageStyled,
|
|
6902
|
-
src: await
|
|
6878
|
+
src: await me(r)
|
|
6903
6879
|
}
|
|
6904
6880
|
) }) : /* @__PURE__ */ a(
|
|
6905
6881
|
"div",
|
|
@@ -6922,20 +6898,20 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6922
6898
|
children: /* @__PURE__ */ a(Na, { className: fe.socialIcon })
|
|
6923
6899
|
}
|
|
6924
6900
|
),
|
|
6925
|
-
|
|
6901
|
+
h && /* @__PURE__ */ a(
|
|
6926
6902
|
"a",
|
|
6927
6903
|
{
|
|
6928
|
-
href:
|
|
6904
|
+
href: h,
|
|
6929
6905
|
target: "_blank",
|
|
6930
6906
|
className: fe.socialIconLink,
|
|
6931
6907
|
rel: "noreferrer",
|
|
6932
6908
|
children: /* @__PURE__ */ a(Sa, { className: fe.socialIcon })
|
|
6933
6909
|
}
|
|
6934
6910
|
),
|
|
6935
|
-
|
|
6911
|
+
m && /* @__PURE__ */ a(
|
|
6936
6912
|
"a",
|
|
6937
6913
|
{
|
|
6938
|
-
href:
|
|
6914
|
+
href: m,
|
|
6939
6915
|
target: "_blank",
|
|
6940
6916
|
className: fe.socialIconLink,
|
|
6941
6917
|
rel: "noreferrer",
|
|
@@ -6956,7 +6932,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6956
6932
|
] })
|
|
6957
6933
|
}
|
|
6958
6934
|
);
|
|
6959
|
-
}, au = "_content_18ozj_1", su = "_contentInfo_18ozj_13", ru = "_contentAuthor_18ozj_26", ou = "_imageStyled_18ozj_33", iu = "_contentIconStyled_18ozj_42", cu = "_name_18ozj_64", lu = "_email_18ozj_72", du = "_description_18ozj_82", uu = "_contenSocialNetwork_18ozj_93",
|
|
6935
|
+
}, au = "_content_18ozj_1", su = "_contentInfo_18ozj_13", ru = "_contentAuthor_18ozj_26", ou = "_imageStyled_18ozj_33", iu = "_contentIconStyled_18ozj_42", cu = "_name_18ozj_64", lu = "_email_18ozj_72", du = "_description_18ozj_82", uu = "_contenSocialNetwork_18ozj_93", hu = "_socialIcon_18ozj_103", Se = {
|
|
6960
6936
|
content: au,
|
|
6961
6937
|
contentInfo: su,
|
|
6962
6938
|
contentAuthor: ru,
|
|
@@ -6966,9 +6942,9 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6966
6942
|
email: lu,
|
|
6967
6943
|
description: du,
|
|
6968
6944
|
contenSocialNetwork: uu,
|
|
6969
|
-
socialIcon:
|
|
6970
|
-
},
|
|
6971
|
-
const { autor: t, autorIcon: n } = e, s = n, r = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = t?.addtional?.USER_USERFB ?? "",
|
|
6945
|
+
socialIcon: hu
|
|
6946
|
+
}, mu = async (e) => {
|
|
6947
|
+
const { autor: t, autorIcon: n } = e, s = n, r = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", m = t?.addtional?.USER_USERTWT ?? "", p = t?.addtional?.USER_USERLIN ?? "";
|
|
6972
6948
|
return /* @__PURE__ */ a("section", { className: Se.content, children: /* @__PURE__ */ f("div", { className: Se.contentInfo, children: [
|
|
6973
6949
|
r ? /* @__PURE__ */ a(
|
|
6974
6950
|
"img",
|
|
@@ -6976,7 +6952,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6976
6952
|
fetchPriority: "low",
|
|
6977
6953
|
loading: "lazy",
|
|
6978
6954
|
className: Se.imageStyled,
|
|
6979
|
-
src: await
|
|
6955
|
+
src: await me(r)
|
|
6980
6956
|
}
|
|
6981
6957
|
) : /* @__PURE__ */ a("div", { className: Se.contentIconStyled, children: /* @__PURE__ */ a(s, {}) }),
|
|
6982
6958
|
/* @__PURE__ */ f("div", { className: Se.contentAuthor, children: [
|
|
@@ -6993,10 +6969,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
6993
6969
|
children: /* @__PURE__ */ a(Na, { className: Se.socialIcon })
|
|
6994
6970
|
}
|
|
6995
6971
|
),
|
|
6996
|
-
|
|
6972
|
+
h && /* @__PURE__ */ a(
|
|
6997
6973
|
"a",
|
|
6998
6974
|
{
|
|
6999
|
-
href:
|
|
6975
|
+
href: h,
|
|
7000
6976
|
target: "_blank",
|
|
7001
6977
|
rel: "noreferrer",
|
|
7002
6978
|
children: /* @__PURE__ */ a(
|
|
@@ -7008,10 +6984,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7008
6984
|
)
|
|
7009
6985
|
}
|
|
7010
6986
|
),
|
|
7011
|
-
|
|
6987
|
+
m && /* @__PURE__ */ a(
|
|
7012
6988
|
"a",
|
|
7013
6989
|
{
|
|
7014
|
-
href:
|
|
6990
|
+
href: m,
|
|
7015
6991
|
target: "_blank",
|
|
7016
6992
|
rel: "noreferrer",
|
|
7017
6993
|
children: /* @__PURE__ */ a(jt, { className: Se.socialIcon })
|
|
@@ -7086,7 +7062,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7086
7062
|
title: e?.main?.title?.section,
|
|
7087
7063
|
href: e.info.link.url,
|
|
7088
7064
|
children: /* @__PURE__ */ f("div", { style: { position: "relative" }, children: [
|
|
7089
|
-
/* @__PURE__ */ a("img", { src: await
|
|
7065
|
+
/* @__PURE__ */ a("img", { src: await me(e.preview.sizes[0]?.url || "") }),
|
|
7090
7066
|
/* @__PURE__ */ a(t, { className: `${Mn.playStyled} saas-image-play-icon` })
|
|
7091
7067
|
] })
|
|
7092
7068
|
}
|
|
@@ -7284,7 +7260,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7284
7260
|
socialMedia: Ju,
|
|
7285
7261
|
copyRights: Zu,
|
|
7286
7262
|
icon: Xu
|
|
7287
|
-
},
|
|
7263
|
+
}, eh = ({
|
|
7288
7264
|
sidebar: e,
|
|
7289
7265
|
socials: t,
|
|
7290
7266
|
copyrigth: n,
|
|
@@ -7435,12 +7411,12 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7435
7411
|
)
|
|
7436
7412
|
]
|
|
7437
7413
|
}
|
|
7438
|
-
),
|
|
7439
|
-
content:
|
|
7440
|
-
chipStyled:
|
|
7441
|
-
headLine:
|
|
7442
|
-
live:
|
|
7443
|
-
closeLiveStyled:
|
|
7414
|
+
), th = "_content_y5b1f_1", nh = "_chipStyled_y5b1f_17", ah = "_headLine_y5b1f_17", sh = "_live_y5b1f_25", rh = "_closeLiveStyled_y5b1f_87", qt = {
|
|
7415
|
+
content: th,
|
|
7416
|
+
chipStyled: nh,
|
|
7417
|
+
headLine: ah,
|
|
7418
|
+
live: sh,
|
|
7419
|
+
closeLiveStyled: rh
|
|
7444
7420
|
}, Nr = (e) => {
|
|
7445
7421
|
const { alertZone: t, id: n = "close-alert" } = e, s = () => /* @__PURE__ */ a(
|
|
7446
7422
|
O,
|
|
@@ -7483,21 +7459,21 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7483
7459
|
}
|
|
7484
7460
|
)
|
|
7485
7461
|
] });
|
|
7486
|
-
},
|
|
7487
|
-
content:
|
|
7488
|
-
linkStyled:
|
|
7489
|
-
linkSocialNetwork:
|
|
7490
|
-
title:
|
|
7491
|
-
tabs:
|
|
7492
|
-
socialNetwork:
|
|
7493
|
-
icon:
|
|
7494
|
-
facebook:
|
|
7495
|
-
youtube:
|
|
7496
|
-
x:
|
|
7497
|
-
instagram:
|
|
7498
|
-
gnews:
|
|
7499
|
-
tiktok:
|
|
7500
|
-
whatsapp:
|
|
7462
|
+
}, oh = "_content_18yq5_1", ih = "_linkStyled_18yq5_14", ch = "_linkSocialNetwork_18yq5_28", lh = "_title_18yq5_49", dh = "_tabs_18yq5_60", uh = "_socialNetwork_18yq5_68", hh = "_icon_18yq5_78", mh = "_facebook_18yq5_84", fh = "_youtube_18yq5_88", gh = "_x_18yq5_92", ph = "_instagram_18yq5_96", Ah = "_gnews_18yq5_100", wh = "_tiktok_18yq5_104", yh = "_whatsapp_18yq5_108", ze = {
|
|
7463
|
+
content: oh,
|
|
7464
|
+
linkStyled: ih,
|
|
7465
|
+
linkSocialNetwork: ch,
|
|
7466
|
+
title: lh,
|
|
7467
|
+
tabs: dh,
|
|
7468
|
+
socialNetwork: uh,
|
|
7469
|
+
icon: hh,
|
|
7470
|
+
facebook: mh,
|
|
7471
|
+
youtube: fh,
|
|
7472
|
+
x: gh,
|
|
7473
|
+
instagram: ph,
|
|
7474
|
+
gnews: Ah,
|
|
7475
|
+
tiktok: wh,
|
|
7476
|
+
whatsapp: yh
|
|
7501
7477
|
}, Sr = (e) => {
|
|
7502
7478
|
const { cintillo: t, tapeTitle: n, socials: s } = e, r = "", o = t?.findIndex((i) => i.link === r) ?? 0;
|
|
7503
7479
|
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */ f("section", { className: ze.content, children: [
|
|
@@ -7549,19 +7525,19 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7549
7525
|
i
|
|
7550
7526
|
)) })
|
|
7551
7527
|
] });
|
|
7552
|
-
},
|
|
7553
|
-
headerStyled:
|
|
7554
|
-
headerContent:
|
|
7555
|
-
iconContent:
|
|
7556
|
-
menuButton:
|
|
7557
|
-
logoStyled:
|
|
7558
|
-
buttonSection:
|
|
7559
|
-
buttonSectionSearch:
|
|
7560
|
-
headLineContent:
|
|
7561
|
-
headLineTitle:
|
|
7562
|
-
headLine:
|
|
7563
|
-
hasAlertZone:
|
|
7564
|
-
},
|
|
7528
|
+
}, vh = "_headerStyled_6yw62_1", bh = "_headerContent_6yw62_14", Ch = "_iconContent_6yw62_25", _h = "_menuButton_6yw62_34", Nh = "_logoStyled_6yw62_66", Sh = "_buttonSection_6yw62_94", Eh = "_buttonSectionSearch_6yw62_109", xh = "_headLineContent_6yw62_131", Th = "_headLineTitle_6yw62_144", Ih = "_headLine_6yw62_131", kh = "_hasAlertZone_6yw62_197", ke = {
|
|
7529
|
+
headerStyled: vh,
|
|
7530
|
+
headerContent: bh,
|
|
7531
|
+
iconContent: Ch,
|
|
7532
|
+
menuButton: _h,
|
|
7533
|
+
logoStyled: Nh,
|
|
7534
|
+
buttonSection: Sh,
|
|
7535
|
+
buttonSectionSearch: Eh,
|
|
7536
|
+
headLineContent: xh,
|
|
7537
|
+
headLineTitle: Th,
|
|
7538
|
+
headLine: Ih,
|
|
7539
|
+
hasAlertZone: kh
|
|
7540
|
+
}, Uh = (e) => {
|
|
7565
7541
|
const { alertZone: t } = e;
|
|
7566
7542
|
return /* @__PURE__ */ f("header", { className: ke.headerStyled, children: [
|
|
7567
7543
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ a(
|
|
@@ -7654,15 +7630,15 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7654
7630
|
}
|
|
7655
7631
|
)
|
|
7656
7632
|
] });
|
|
7657
|
-
},
|
|
7658
|
-
ul:
|
|
7659
|
-
li:
|
|
7660
|
-
liBefore:
|
|
7661
|
-
ulContent:
|
|
7662
|
-
contentModal:
|
|
7663
|
-
linkStyled:
|
|
7664
|
-
itemLink:
|
|
7665
|
-
},
|
|
7633
|
+
}, qh = "_ul_oit7k_1", Rh = "_li_oit7k_10", Lh = "_liBefore_oit7k_18", Bh = "_ulContent_oit7k_29", Oh = "_contentModal_oit7k_56", Ph = "_linkStyled_oit7k_68", Dh = "_itemLink_oit7k_93", Ve = {
|
|
7634
|
+
ul: qh,
|
|
7635
|
+
li: Rh,
|
|
7636
|
+
liBefore: Lh,
|
|
7637
|
+
ulContent: Bh,
|
|
7638
|
+
contentModal: Oh,
|
|
7639
|
+
linkStyled: Ph,
|
|
7640
|
+
itemLink: Dh
|
|
7641
|
+
}, Mh = (e) => {
|
|
7666
7642
|
const { items: t } = e;
|
|
7667
7643
|
return /* @__PURE__ */ a("ul", { className: Ve.ul, children: t.map((n, s) => /* @__PURE__ */ f("li", { className: `${Ve.liBefore} ${Ve.li}`, children: [
|
|
7668
7644
|
n.link ? /* @__PURE__ */ f(
|
|
@@ -7692,23 +7668,23 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7692
7668
|
}
|
|
7693
7669
|
) }, o)) }) })
|
|
7694
7670
|
] }, s)) });
|
|
7695
|
-
},
|
|
7696
|
-
headerStyled:
|
|
7697
|
-
headerContent:
|
|
7698
|
-
menuButtonSection:
|
|
7699
|
-
menuButton:
|
|
7700
|
-
buttonSection:
|
|
7701
|
-
buttonSectionSearch:
|
|
7702
|
-
hasAlertZone:
|
|
7703
|
-
buttonText: $
|
|
7704
|
-
logoContent:
|
|
7705
|
-
logoStyled:
|
|
7706
|
-
headLineContent:
|
|
7707
|
-
headLineTitle:
|
|
7708
|
-
menuSection:
|
|
7709
|
-
headLine:
|
|
7710
|
-
line:
|
|
7711
|
-
},
|
|
7671
|
+
}, jh = "_headerStyled_q9qvi_1", Qh = "_headerContent_q9qvi_23", Gh = "_menuButtonSection_q9qvi_33", Hh = "_menuButton_q9qvi_33", zh = "_buttonSection_q9qvi_84", Vh = "_buttonSectionSearch_q9qvi_101", Fh = "_hasAlertZone_q9qvi_112", $h = "_buttonText_q9qvi_131", Wh = "_logoContent_q9qvi_141", Yh = "_logoStyled_q9qvi_149", Kh = "_headLineContent_q9qvi_173", Jh = "_headLineTitle_q9qvi_188", Zh = "_menuSection_q9qvi_204", Xh = "_headLine_q9qvi_173", em = "_line_q9qvi_256", ve = {
|
|
7672
|
+
headerStyled: jh,
|
|
7673
|
+
headerContent: Qh,
|
|
7674
|
+
menuButtonSection: Gh,
|
|
7675
|
+
menuButton: Hh,
|
|
7676
|
+
buttonSection: zh,
|
|
7677
|
+
buttonSectionSearch: Vh,
|
|
7678
|
+
hasAlertZone: Fh,
|
|
7679
|
+
buttonText: $h,
|
|
7680
|
+
logoContent: Wh,
|
|
7681
|
+
logoStyled: Yh,
|
|
7682
|
+
headLineContent: Kh,
|
|
7683
|
+
headLineTitle: Jh,
|
|
7684
|
+
menuSection: Zh,
|
|
7685
|
+
headLine: Xh,
|
|
7686
|
+
line: em
|
|
7687
|
+
}, tm = (e) => {
|
|
7712
7688
|
const { menu: t, alertZone: n } = e;
|
|
7713
7689
|
return /* @__PURE__ */ f(
|
|
7714
7690
|
"header",
|
|
@@ -7785,7 +7761,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7785
7761
|
{
|
|
7786
7762
|
className: ve.menuSection,
|
|
7787
7763
|
style: e.showAlertPop ? { "--showAlertPop": "0px" } : {},
|
|
7788
|
-
children: Array.isArray(t) && /* @__PURE__ */ a(
|
|
7764
|
+
children: Array.isArray(t) && /* @__PURE__ */ a(Mh, { items: t })
|
|
7789
7765
|
}
|
|
7790
7766
|
)
|
|
7791
7767
|
]
|
|
@@ -7794,15 +7770,15 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7794
7770
|
]
|
|
7795
7771
|
}
|
|
7796
7772
|
);
|
|
7797
|
-
},
|
|
7798
|
-
childrenContent:
|
|
7799
|
-
childrenContentAux:
|
|
7800
|
-
op2:
|
|
7773
|
+
}, nm = "_childrenContent_wqlb4_1", am = "_childrenContentAux_wqlb4_12", sm = "_op2_wqlb4_25", jn = {
|
|
7774
|
+
childrenContent: nm,
|
|
7775
|
+
childrenContentAux: am,
|
|
7776
|
+
op2: sm
|
|
7801
7777
|
}, c3 = (e) => {
|
|
7802
7778
|
const { alertZone: t, children: n, sidebar: s } = e;
|
|
7803
7779
|
return /* @__PURE__ */ f(J, { children: [
|
|
7804
|
-
/* @__PURE__ */ a(
|
|
7805
|
-
!e.showOnlyStickyHeader && /* @__PURE__ */ a(
|
|
7780
|
+
/* @__PURE__ */ a(Uh, { ...e }),
|
|
7781
|
+
!e.showOnlyStickyHeader && /* @__PURE__ */ a(tm, { ...e }),
|
|
7806
7782
|
/* @__PURE__ */ f(
|
|
7807
7783
|
"div",
|
|
7808
7784
|
{
|
|
@@ -7829,7 +7805,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7829
7805
|
}
|
|
7830
7806
|
),
|
|
7831
7807
|
/* @__PURE__ */ a(
|
|
7832
|
-
|
|
7808
|
+
eh,
|
|
7833
7809
|
{
|
|
7834
7810
|
sidebarExtra: e.sidebarExtra,
|
|
7835
7811
|
searchKeyWord: e.searchKeyWord,
|
|
@@ -7839,26 +7815,26 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7839
7815
|
}
|
|
7840
7816
|
)
|
|
7841
7817
|
] });
|
|
7842
|
-
},
|
|
7843
|
-
content:
|
|
7844
|
-
tags:
|
|
7845
|
-
chipStyled:
|
|
7846
|
-
tagLink:
|
|
7847
|
-
tagStyled:
|
|
7848
|
-
},
|
|
7818
|
+
}, rm = "_content_16ydf_1", om = "_tags_16ydf_10", im = "_chipStyled_16ydf_20", cm = "_tagLink_16ydf_47", lm = "_tagStyled_16ydf_53", At = {
|
|
7819
|
+
content: rm,
|
|
7820
|
+
tags: om,
|
|
7821
|
+
chipStyled: im,
|
|
7822
|
+
tagLink: cm,
|
|
7823
|
+
tagStyled: lm
|
|
7824
|
+
}, dm = (e) => /* @__PURE__ */ a("section", { className: At.content, children: Array.isArray(e.tags) && /* @__PURE__ */ f("div", { className: At.tags, children: [
|
|
7849
7825
|
/* @__PURE__ */ a("p", { className: At.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7850
7826
|
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(O, { href: vt(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${At.chipStyled} ${At.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: At.chipStyled, children: t.name }, n))
|
|
7851
|
-
] }) }),
|
|
7852
|
-
contentBox:
|
|
7853
|
-
content:
|
|
7854
|
-
imageStyled:
|
|
7855
|
-
contentIconStyled:
|
|
7856
|
-
avatarContent:
|
|
7857
|
-
journalistSection:
|
|
7858
|
-
journalistInfo:
|
|
7859
|
-
socialNetworkSection:
|
|
7860
|
-
article:
|
|
7861
|
-
},
|
|
7827
|
+
] }) }), um = "_contentBox_1cum1_1", hm = "_content_1cum1_1", mm = "_imageStyled_1cum1_16", fm = "_contentIconStyled_1cum1_23", gm = "_avatarContent_1cum1_43", pm = "_journalistSection_1cum1_50", Am = "_journalistInfo_1cum1_56", wm = "_socialNetworkSection_1cum1_75", ym = "_article_1cum1_88", Pe = {
|
|
7828
|
+
contentBox: um,
|
|
7829
|
+
content: hm,
|
|
7830
|
+
imageStyled: mm,
|
|
7831
|
+
contentIconStyled: fm,
|
|
7832
|
+
avatarContent: gm,
|
|
7833
|
+
journalistSection: pm,
|
|
7834
|
+
journalistInfo: Am,
|
|
7835
|
+
socialNetworkSection: wm,
|
|
7836
|
+
article: ym
|
|
7837
|
+
}, vm = async (e) => {
|
|
7862
7838
|
const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, s = t?.info?.name ?? "", r = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", d = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", u = t?.addtional?.USER_USERLIN ?? "";
|
|
7863
7839
|
return n && /* @__PURE__ */ a("section", { className: Pe.contentBox, children: /* @__PURE__ */ f("div", { className: Pe.content, children: [
|
|
7864
7840
|
/* @__PURE__ */ f("div", { className: Pe.avatarContent, children: [
|
|
@@ -7874,7 +7850,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
7874
7850
|
loading: "lazy",
|
|
7875
7851
|
alt: "autor-image",
|
|
7876
7852
|
className: Pe.imageStyled,
|
|
7877
|
-
src: await
|
|
7853
|
+
src: await me(o)
|
|
7878
7854
|
}
|
|
7879
7855
|
) : /* @__PURE__ */ a("div", { className: Pe.contentIconStyled, children: e.autorIcon() })
|
|
7880
7856
|
}
|
|
@@ -8049,15 +8025,15 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8049
8025
|
}
|
|
8050
8026
|
)
|
|
8051
8027
|
] }) });
|
|
8052
|
-
},
|
|
8053
|
-
content:
|
|
8054
|
-
imageStyled:
|
|
8055
|
-
contentIconStyled:
|
|
8056
|
-
contentCard:
|
|
8057
|
-
contentInfo:
|
|
8058
|
-
fullName:
|
|
8059
|
-
LearnMoreLink:
|
|
8060
|
-
},
|
|
8028
|
+
}, bm = "_content_vmnac_1", Cm = "_imageStyled_vmnac_20", _m = "_contentIconStyled_vmnac_21", Nm = "_contentCard_vmnac_31", Sm = "_contentInfo_vmnac_70", Em = "_fullName_vmnac_76", xm = "_LearnMoreLink_vmnac_83", tt = {
|
|
8029
|
+
content: bm,
|
|
8030
|
+
imageStyled: Cm,
|
|
8031
|
+
contentIconStyled: _m,
|
|
8032
|
+
contentCard: Nm,
|
|
8033
|
+
contentInfo: Sm,
|
|
8034
|
+
fullName: Em,
|
|
8035
|
+
LearnMoreLink: xm
|
|
8036
|
+
}, Tm = async (e) => {
|
|
8061
8037
|
const { news: t, texts: n } = e;
|
|
8062
8038
|
return t.config?.showauthor && /* @__PURE__ */ a("div", { className: tt.content, children: Array.isArray(t.authors) && t.authors?.map(async (s) => /* @__PURE__ */ f(
|
|
8063
8039
|
"div",
|
|
@@ -8070,7 +8046,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8070
8046
|
fetchPriority: "low",
|
|
8071
8047
|
loading: "lazy",
|
|
8072
8048
|
className: tt.imageStyled,
|
|
8073
|
-
src: await
|
|
8049
|
+
src: await me(s.image.sizes[0]?.url || "")
|
|
8074
8050
|
},
|
|
8075
8051
|
s.fullname
|
|
8076
8052
|
) : /* @__PURE__ */ a("div", { className: tt.contentIconStyled, children: e.autorIcon }, s.fullname),
|
|
@@ -8096,16 +8072,16 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8096
8072
|
},
|
|
8097
8073
|
`author-${s.firstname}`
|
|
8098
8074
|
)) });
|
|
8099
|
-
},
|
|
8100
|
-
content:
|
|
8101
|
-
contentInfo:
|
|
8102
|
-
imageStyled:
|
|
8103
|
-
name:
|
|
8104
|
-
description:
|
|
8105
|
-
imageContainer:
|
|
8106
|
-
contentInfoWithoutImg:
|
|
8075
|
+
}, Im = "_content_eqhtq_1", km = "_contentInfo_eqhtq_24", Um = "_imageStyled_eqhtq_41", qm = "_name_eqhtq_46", Rm = "_description_eqhtq_51", Lm = "_imageContainer_eqhtq_56", Bm = "_contentInfoWithoutImg_eqhtq_107", rt = {
|
|
8076
|
+
content: Im,
|
|
8077
|
+
contentInfo: km,
|
|
8078
|
+
imageStyled: Um,
|
|
8079
|
+
name: qm,
|
|
8080
|
+
description: Rm,
|
|
8081
|
+
imageContainer: Lm,
|
|
8082
|
+
contentInfoWithoutImg: Bm
|
|
8107
8083
|
}, l3 = async (e) => {
|
|
8108
|
-
const t = e.img ? await
|
|
8084
|
+
const t = e.img ? await me(e.img) : "";
|
|
8109
8085
|
return /* @__PURE__ */ a("section", { className: `${rt.content} ${e.className}`, children: /* @__PURE__ */ f(
|
|
8110
8086
|
"div",
|
|
8111
8087
|
{
|
|
@@ -8133,16 +8109,16 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8133
8109
|
]
|
|
8134
8110
|
}
|
|
8135
8111
|
) });
|
|
8136
|
-
},
|
|
8137
|
-
content:
|
|
8138
|
-
contentNews:
|
|
8139
|
-
linkTitle:
|
|
8140
|
-
tag:
|
|
8141
|
-
tagmx:
|
|
8142
|
-
titular:
|
|
8143
|
-
correspondent:
|
|
8144
|
-
correspondentLink:
|
|
8145
|
-
description:
|
|
8112
|
+
}, Om = "_content_1j0pj_1", Pm = "_contentNews_1j0pj_10", Dm = "_linkTitle_1j0pj_27", Mm = "_tag_1j0pj_35", jm = "_tagmx_1j0pj_55", Qm = "_titular_1j0pj_70", Gm = "_correspondent_1j0pj_85", Hm = "_correspondentLink_1j0pj_96", zm = "_description_1j0pj_107", Ee = {
|
|
8113
|
+
content: Om,
|
|
8114
|
+
contentNews: Pm,
|
|
8115
|
+
linkTitle: Dm,
|
|
8116
|
+
tag: Mm,
|
|
8117
|
+
tagmx: jm,
|
|
8118
|
+
titular: Qm,
|
|
8119
|
+
correspondent: Gm,
|
|
8120
|
+
correspondentLink: Hm,
|
|
8121
|
+
description: zm
|
|
8146
8122
|
}, Ct = (e) => {
|
|
8147
8123
|
const { SHOW_TAG_BY_SECTION: t } = Y(), n = () => {
|
|
8148
8124
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
@@ -8333,11 +8309,11 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8333
8309
|
}
|
|
8334
8310
|
)
|
|
8335
8311
|
] });
|
|
8336
|
-
},
|
|
8337
|
-
content:
|
|
8338
|
-
firstSection:
|
|
8339
|
-
secondSection: $
|
|
8340
|
-
},
|
|
8312
|
+
}, Vm = "_content_1dcf7_1", Fm = "_firstSection_1dcf7_10", $m = "_secondSection_1dcf7_16", Qn = {
|
|
8313
|
+
content: Vm,
|
|
8314
|
+
firstSection: Fm,
|
|
8315
|
+
secondSection: $m
|
|
8316
|
+
}, Wm = ({
|
|
8341
8317
|
content: e,
|
|
8342
8318
|
customLargeSection: t,
|
|
8343
8319
|
customSmallSection: n,
|
|
@@ -8367,10 +8343,10 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8367
8343
|
}
|
|
8368
8344
|
)) })
|
|
8369
8345
|
] });
|
|
8370
|
-
},
|
|
8371
|
-
content:
|
|
8372
|
-
firstSection:
|
|
8373
|
-
},
|
|
8346
|
+
}, Ym = "_content_wsx1m_1", Km = "_firstSection_wsx1m_8", us = {
|
|
8347
|
+
content: Ym,
|
|
8348
|
+
firstSection: Km
|
|
8349
|
+
}, Jm = ({
|
|
8374
8350
|
content: e,
|
|
8375
8351
|
customLargeSection: t,
|
|
8376
8352
|
customSlimSection: n,
|
|
@@ -8404,12 +8380,12 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8404
8380
|
heightImageOverwriteMobile: "270px",
|
|
8405
8381
|
paths: s
|
|
8406
8382
|
}
|
|
8407
|
-
) }, o)) }),
|
|
8408
|
-
content:
|
|
8409
|
-
sectionDescription:
|
|
8410
|
-
title:
|
|
8411
|
-
subtitle:
|
|
8412
|
-
linkStyled:
|
|
8383
|
+
) }, o)) }), Zm = "_content_1n73e_1", Xm = "_sectionDescription_1n73e_13", e2 = "_title_1n73e_33", t2 = "_subtitle_1n73e_47", n2 = "_linkStyled_1n73e_58", ot = {
|
|
8384
|
+
content: Zm,
|
|
8385
|
+
sectionDescription: Xm,
|
|
8386
|
+
title: e2,
|
|
8387
|
+
subtitle: t2,
|
|
8388
|
+
linkStyled: n2
|
|
8413
8389
|
}, Er = (e) => {
|
|
8414
8390
|
const { SHOW_TAG_BY_SECTION: t } = Y(), n = () => {
|
|
8415
8391
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
@@ -8448,11 +8424,11 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8448
8424
|
e?.mainNew?.main?.subtitle?.rendered && /* @__PURE__ */ a("p", { className: ot.subtitle, children: e?.mainNew?.main?.subtitle?.striped }),
|
|
8449
8425
|
e.goTo && /* @__PURE__ */ a(O, { href: e.goTo.url, className: ot.linkStyled, children: e.goTo.description })
|
|
8450
8426
|
] });
|
|
8451
|
-
},
|
|
8452
|
-
headerSection:
|
|
8453
|
-
headerSectionLink:
|
|
8454
|
-
newsContent:
|
|
8455
|
-
},
|
|
8427
|
+
}, a2 = "_headerSection_drjnj_1", s2 = "_headerSectionLink_drjnj_12", r2 = "_newsContent_drjnj_17", Gn = {
|
|
8428
|
+
headerSection: a2,
|
|
8429
|
+
headerSectionLink: s2,
|
|
8430
|
+
newsContent: r2
|
|
8431
|
+
}, o2 = (e) => {
|
|
8456
8432
|
const { content: t, title: n, isVideo: s } = e;
|
|
8457
8433
|
if (!t || !t[0] || t.length === 0) return;
|
|
8458
8434
|
const r = e.slot_id && e.slot_id !== "Nota_1", o = {
|
|
@@ -8502,16 +8478,16 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8502
8478
|
})
|
|
8503
8479
|
] })
|
|
8504
8480
|
] });
|
|
8505
|
-
},
|
|
8506
|
-
content:
|
|
8507
|
-
autorContent:
|
|
8508
|
-
image:
|
|
8509
|
-
contentIcon:
|
|
8510
|
-
boxInformationContent:
|
|
8511
|
-
autorName:
|
|
8512
|
-
time:
|
|
8513
|
-
comment:
|
|
8514
|
-
title:
|
|
8481
|
+
}, i2 = "_content_1stvq_1", c2 = "_autorContent_1stvq_8", l2 = "_image_1stvq_24", d2 = "_contentIcon_1stvq_25", u2 = "_boxInformationContent_1stvq_47", h2 = "_autorName_1stvq_53", m2 = "_time_1stvq_85", f2 = "_comment_1stvq_98", g2 = "_title_1stvq_107", Fe = {
|
|
8482
|
+
content: i2,
|
|
8483
|
+
autorContent: c2,
|
|
8484
|
+
image: l2,
|
|
8485
|
+
contentIcon: d2,
|
|
8486
|
+
boxInformationContent: u2,
|
|
8487
|
+
autorName: h2,
|
|
8488
|
+
time: m2,
|
|
8489
|
+
comment: f2,
|
|
8490
|
+
title: g2
|
|
8515
8491
|
}, gn = async (e) => {
|
|
8516
8492
|
const { data: t, autorIcon: n } = e, s = n, r = () => t?.config?.showtime ? `${Me(t.info?.date?.modified)}` : "", o = /* @__PURE__ */ f("div", { className: Fe.autorContent, children: [
|
|
8517
8493
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
@@ -8520,7 +8496,7 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8520
8496
|
fetchPriority: "low",
|
|
8521
8497
|
loading: "lazy",
|
|
8522
8498
|
className: Fe.image,
|
|
8523
|
-
src: await
|
|
8499
|
+
src: await me(t?.authors[0]?.image?.sizes[0]?.url || ""),
|
|
8524
8500
|
alt: t?.authors[0]?.fullname
|
|
8525
8501
|
}
|
|
8526
8502
|
) : /* @__PURE__ */ a("div", { className: Fe.contentIcon, children: /* @__PURE__ */ a(s, {}) }),
|
|
@@ -8548,14 +8524,14 @@ const Md = "_content_r1co8_1", jd = "_videoContent_r1co8_20", Qd = "_articleSect
|
|
|
8548
8524
|
/* @__PURE__ */ a("p", { className: Fe.comment, children: je(t?.main?.subtitle?.striped || "") })
|
|
8549
8525
|
] })
|
|
8550
8526
|
] });
|
|
8551
|
-
},
|
|
8552
|
-
content:
|
|
8553
|
-
boxPosition:
|
|
8554
|
-
contentFlex:
|
|
8555
|
-
bannerContent:
|
|
8556
|
-
bannerContentAux:
|
|
8527
|
+
}, p2 = "_content_1d7mg_1", A2 = "_boxPosition_1d7mg_8", w2 = "_contentFlex_1d7mg_21", y2 = "_bannerContent_1d7mg_29", v2 = "_bannerContentAux_1d7mg_40", wt = {
|
|
8528
|
+
content: p2,
|
|
8529
|
+
boxPosition: A2,
|
|
8530
|
+
contentFlex: w2,
|
|
8531
|
+
bannerContent: y2,
|
|
8532
|
+
bannerContentAux: v2
|
|
8557
8533
|
};
|
|
8558
|
-
function
|
|
8534
|
+
function b2(e) {
|
|
8559
8535
|
const t = new Array(e.length), n = e.length / 2;
|
|
8560
8536
|
for (let s = 0; s < e.length; s++)
|
|
8561
8537
|
s % 2 === 0 ? t[Math.floor(s / 2)] = e[s] : t[n + Math.floor(s / 2)] = e[s];
|
|
@@ -8602,7 +8578,7 @@ const d3 = (e) => {
|
|
|
8602
8578
|
)
|
|
8603
8579
|
);
|
|
8604
8580
|
}
|
|
8605
|
-
const r = s.length % 2 === 0 ?
|
|
8581
|
+
const r = s.length % 2 === 0 ? b2(s) : s;
|
|
8606
8582
|
return /* @__PURE__ */ a("section", { style: e.customStyles, children: /* @__PURE__ */ a(
|
|
8607
8583
|
ge,
|
|
8608
8584
|
{
|
|
@@ -8615,13 +8591,13 @@ const d3 = (e) => {
|
|
|
8615
8591
|
] })
|
|
8616
8592
|
}
|
|
8617
8593
|
) });
|
|
8618
|
-
},
|
|
8619
|
-
content:
|
|
8620
|
-
title:
|
|
8594
|
+
}, C2 = "_content_w9viv_1", _2 = "_title_w9viv_10", hs = {
|
|
8595
|
+
content: C2,
|
|
8596
|
+
title: _2
|
|
8621
8597
|
}, u3 = (e) => {
|
|
8622
8598
|
const { showTitle: t = !0 } = e;
|
|
8623
|
-
return /* @__PURE__ */ f("div", { className:
|
|
8624
|
-
t && /* @__PURE__ */ a("p", { className:
|
|
8599
|
+
return /* @__PURE__ */ f("div", { className: hs.content, children: [
|
|
8600
|
+
t && /* @__PURE__ */ a("p", { className: hs.title, children: "Editorial" }),
|
|
8625
8601
|
/* @__PURE__ */ a(
|
|
8626
8602
|
xt,
|
|
8627
8603
|
{
|
|
@@ -8637,13 +8613,13 @@ const d3 = (e) => {
|
|
|
8637
8613
|
}
|
|
8638
8614
|
)
|
|
8639
8615
|
] });
|
|
8640
|
-
},
|
|
8641
|
-
content:
|
|
8642
|
-
newsContent:
|
|
8643
|
-
boxPosition:
|
|
8644
|
-
bannerContent:
|
|
8645
|
-
bannerContentAux:
|
|
8646
|
-
},
|
|
8616
|
+
}, N2 = "_content_1nd2h_1", S2 = "_newsContent_1nd2h_8", E2 = "_boxPosition_1nd2h_17", x2 = "_bannerContent_1nd2h_23", T2 = "_bannerContentAux_1nd2h_33", yt = {
|
|
8617
|
+
content: N2,
|
|
8618
|
+
newsContent: S2,
|
|
8619
|
+
boxPosition: E2,
|
|
8620
|
+
bannerContent: x2,
|
|
8621
|
+
bannerContentAux: T2
|
|
8622
|
+
}, h3 = (e) => {
|
|
8647
8623
|
const { news: t } = e;
|
|
8648
8624
|
return Array.isArray(t) && /* @__PURE__ */ f("div", { className: yt.content, children: [
|
|
8649
8625
|
/* @__PURE__ */ f("div", { className: yt.newsContent, children: [
|
|
@@ -8678,7 +8654,7 @@ const d3 = (e) => {
|
|
|
8678
8654
|
] }),
|
|
8679
8655
|
/* @__PURE__ */ a("div", { className: yt.bannerContent, children: e.halfPageBanner })
|
|
8680
8656
|
] });
|
|
8681
|
-
},
|
|
8657
|
+
}, m3 = (e) => /* @__PURE__ */ f(J, { children: [
|
|
8682
8658
|
/* @__PURE__ */ a(
|
|
8683
8659
|
pl,
|
|
8684
8660
|
{
|
|
@@ -8689,12 +8665,12 @@ const d3 = (e) => {
|
|
|
8689
8665
|
}
|
|
8690
8666
|
),
|
|
8691
8667
|
/* @__PURE__ */ a(Il, { ...e })
|
|
8692
|
-
] }),
|
|
8693
|
-
newsContent:
|
|
8694
|
-
newsContentWithLines:
|
|
8695
|
-
newsContentWithoutLines:
|
|
8696
|
-
contentSeparator:
|
|
8697
|
-
},
|
|
8668
|
+
] }), I2 = "_newsContent_gd57q_1", k2 = "_newsContentWithLines_gd57q_8", U2 = "_newsContentWithoutLines_gd57q_13", q2 = "_contentSeparator_gd57q_18", tn = {
|
|
8669
|
+
newsContent: I2,
|
|
8670
|
+
newsContentWithLines: k2,
|
|
8671
|
+
newsContentWithoutLines: U2,
|
|
8672
|
+
contentSeparator: q2
|
|
8673
|
+
}, R2 = (e) => {
|
|
8698
8674
|
const { content: t } = e;
|
|
8699
8675
|
if (!t || t.length === 0) return;
|
|
8700
8676
|
const n = (i) => e.hasLines && (i + 1) % 3 !== 0 ? tn.contentSeparator : "", s = [];
|
|
@@ -8746,7 +8722,7 @@ const d3 = (e) => {
|
|
|
8746
8722
|
}
|
|
8747
8723
|
);
|
|
8748
8724
|
}, xr = (e) => /* @__PURE__ */ a(ge, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
8749
|
-
|
|
8725
|
+
R2,
|
|
8750
8726
|
{
|
|
8751
8727
|
content: e.content,
|
|
8752
8728
|
paths: e.paths,
|
|
@@ -8758,16 +8734,16 @@ const d3 = (e) => {
|
|
|
8758
8734
|
showVideoTime: e.showVideoTime,
|
|
8759
8735
|
showVideosubtitle: e.showVideosubtitle
|
|
8760
8736
|
}
|
|
8761
|
-
) }),
|
|
8762
|
-
newsContent:
|
|
8763
|
-
contentSeparator:
|
|
8764
|
-
},
|
|
8737
|
+
) }), L2 = "_newsContent_1sb62_1", B2 = "_contentSeparator_1sb62_8", ms = {
|
|
8738
|
+
newsContent: L2,
|
|
8739
|
+
contentSeparator: B2
|
|
8740
|
+
}, O2 = (e) => {
|
|
8765
8741
|
const { content: t, title: n } = e;
|
|
8766
8742
|
if (!(!t || t.length === 0 || !Array.isArray(t)))
|
|
8767
8743
|
return /* @__PURE__ */ a(ge, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
8768
8744
|
"div",
|
|
8769
8745
|
{
|
|
8770
|
-
className: `${
|
|
8746
|
+
className: `${ms.newsContent} ${e.hasLines ? ms.contentSeparator : ""}`,
|
|
8771
8747
|
children: t?.map((s, r) => {
|
|
8772
8748
|
const o = e.slot_id && e.slot_id !== "Nota_1", i = {
|
|
8773
8749
|
...s,
|
|
@@ -8790,11 +8766,11 @@ const d3 = (e) => {
|
|
|
8790
8766
|
})
|
|
8791
8767
|
}
|
|
8792
8768
|
) });
|
|
8793
|
-
},
|
|
8794
|
-
newsContent:
|
|
8795
|
-
contentSeparator:
|
|
8796
|
-
newsContentWhitoutLine:
|
|
8797
|
-
},
|
|
8769
|
+
}, P2 = "_newsContent_1gbse_1", D2 = "_contentSeparator_1gbse_8", M2 = "_newsContentWhitoutLine_1gbse_29", Hn = {
|
|
8770
|
+
newsContent: P2,
|
|
8771
|
+
contentSeparator: D2,
|
|
8772
|
+
newsContentWhitoutLine: M2
|
|
8773
|
+
}, j2 = (e) => {
|
|
8798
8774
|
const { content: t, title: n } = e;
|
|
8799
8775
|
if (!(!t || t.length === 0))
|
|
8800
8776
|
return /* @__PURE__ */ a(ge, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
@@ -8823,11 +8799,11 @@ const d3 = (e) => {
|
|
|
8823
8799
|
})
|
|
8824
8800
|
}
|
|
8825
8801
|
) });
|
|
8826
|
-
},
|
|
8827
|
-
headerSection:
|
|
8828
|
-
headerSectionLink:
|
|
8829
|
-
newsContent:
|
|
8830
|
-
},
|
|
8802
|
+
}, Q2 = "_headerSection_1m1sp_3", G2 = "_headerSectionLink_1m1sp_16", H2 = "_newsContent_1m1sp_29", zn = {
|
|
8803
|
+
headerSection: Q2,
|
|
8804
|
+
headerSectionLink: G2,
|
|
8805
|
+
newsContent: H2
|
|
8806
|
+
}, z2 = (e) => {
|
|
8831
8807
|
const { content: t, title: n, isVideo: s = !0 } = e;
|
|
8832
8808
|
if (!t || t.length === 0) return;
|
|
8833
8809
|
const r = t[0], o = e.slot_id && e.slot_id !== "Nota_1", i = t.slice(1);
|
|
@@ -8887,13 +8863,13 @@ const d3 = (e) => {
|
|
|
8887
8863
|
})
|
|
8888
8864
|
] })
|
|
8889
8865
|
] });
|
|
8890
|
-
},
|
|
8891
|
-
content:
|
|
8892
|
-
linkImage:
|
|
8893
|
-
sectionDescription:
|
|
8894
|
-
dateText:
|
|
8895
|
-
textContent:
|
|
8896
|
-
},
|
|
8866
|
+
}, V2 = "_content_1qdkl_1", F2 = "_linkImage_1qdkl_30", $2 = "_sectionDescription_1qdkl_42", W2 = "_dateText_1qdkl_62", Y2 = "_textContent_1qdkl_73", Rt = {
|
|
8867
|
+
content: V2,
|
|
8868
|
+
linkImage: F2,
|
|
8869
|
+
sectionDescription: $2,
|
|
8870
|
+
dateText: W2,
|
|
8871
|
+
textContent: Y2
|
|
8872
|
+
}, K2 = async (e) => {
|
|
8897
8873
|
const { showNewsLikeTitle: t = !1 } = e;
|
|
8898
8874
|
return e && e.info ? /* @__PURE__ */ f(
|
|
8899
8875
|
"section",
|
|
@@ -8928,14 +8904,14 @@ const d3 = (e) => {
|
|
|
8928
8904
|
]
|
|
8929
8905
|
}
|
|
8930
8906
|
) : null;
|
|
8931
|
-
},
|
|
8932
|
-
content:
|
|
8933
|
-
contentSeparator:
|
|
8934
|
-
},
|
|
8935
|
-
newsContent:
|
|
8936
|
-
contentSeparator:
|
|
8937
|
-
hasLinesBlock:
|
|
8938
|
-
},
|
|
8907
|
+
}, J2 = "_content_yx3zm_1", Z2 = "_contentSeparator_yx3zm_7", fs = {
|
|
8908
|
+
content: J2,
|
|
8909
|
+
contentSeparator: Z2
|
|
8910
|
+
}, X2 = "_newsContent_1uamf_1", ef = "_contentSeparator_1uamf_8", tf = "_hasLinesBlock_1uamf_40", ia = {
|
|
8911
|
+
newsContent: X2,
|
|
8912
|
+
contentSeparator: ef,
|
|
8913
|
+
hasLinesBlock: tf
|
|
8914
|
+
}, nf = (e) => {
|
|
8939
8915
|
if (!e.content || e.content.length === 0) return;
|
|
8940
8916
|
const t = e.slot_id && e.slot_id !== "Nota_1";
|
|
8941
8917
|
return /* @__PURE__ */ a(ge, { title: e.title, children: /* @__PURE__ */ a(
|
|
@@ -8961,7 +8937,7 @@ const d3 = (e) => {
|
|
|
8961
8937
|
{
|
|
8962
8938
|
className: e.hasLines ? ia.hasLinesBlock : "",
|
|
8963
8939
|
children: /* @__PURE__ */ st(
|
|
8964
|
-
|
|
8940
|
+
K2,
|
|
8965
8941
|
{
|
|
8966
8942
|
...r,
|
|
8967
8943
|
key: s,
|
|
@@ -8974,7 +8950,7 @@ const d3 = (e) => {
|
|
|
8974
8950
|
})
|
|
8975
8951
|
}
|
|
8976
8952
|
) });
|
|
8977
|
-
},
|
|
8953
|
+
}, af = (e) => {
|
|
8978
8954
|
const { content: t, title: n, slot_id: s } = e, r = e.slot_id && e.slot_id !== "Nota_1";
|
|
8979
8955
|
return t && t.length !== 0 && /* @__PURE__ */ a(ge, { title: n, titleUrl: e.titleUrl, children: /* @__PURE__ */ a(
|
|
8980
8956
|
Et,
|
|
@@ -9009,15 +8985,15 @@ const d3 = (e) => {
|
|
|
9009
8985
|
})
|
|
9010
8986
|
}
|
|
9011
8987
|
) });
|
|
9012
|
-
},
|
|
9013
|
-
content:
|
|
9014
|
-
imageStyled:
|
|
9015
|
-
contentIcon:
|
|
9016
|
-
boxInformation:
|
|
9017
|
-
comment:
|
|
9018
|
-
title:
|
|
9019
|
-
authorName:
|
|
9020
|
-
},
|
|
8988
|
+
}, sf = "_content_1mj79_1", rf = "_imageStyled_1mj79_14", of = "_contentIcon_1mj79_23", cf = "_boxInformation_1mj79_44", lf = "_comment_1mj79_51", df = "_title_1mj79_60", uf = "_authorName_1mj79_81", nt = {
|
|
8989
|
+
content: sf,
|
|
8990
|
+
imageStyled: rf,
|
|
8991
|
+
contentIcon: of,
|
|
8992
|
+
boxInformation: cf,
|
|
8993
|
+
comment: lf,
|
|
8994
|
+
title: df,
|
|
8995
|
+
authorName: uf
|
|
8996
|
+
}, hf = async (e) => {
|
|
9021
8997
|
const { data: t } = e;
|
|
9022
8998
|
return /* @__PURE__ */ f("div", { className: nt.content, children: [
|
|
9023
8999
|
Array.isArray(t.authors) && t?.authors[0]?.image ? /* @__PURE__ */ a(
|
|
@@ -9026,7 +9002,7 @@ const d3 = (e) => {
|
|
|
9026
9002
|
fetchPriority: "low",
|
|
9027
9003
|
loading: "lazy",
|
|
9028
9004
|
className: nt.imageStyled,
|
|
9029
|
-
src: await
|
|
9005
|
+
src: await me(t?.authors[0]?.image?.sizes[0]?.url || ""),
|
|
9030
9006
|
alt: t?.authors[0]?.fullname
|
|
9031
9007
|
}
|
|
9032
9008
|
) : /* @__PURE__ */ a("div", { className: nt.contentIcon, children: e.autorIcon }),
|
|
@@ -9050,7 +9026,7 @@ const d3 = (e) => {
|
|
|
9050
9026
|
/* @__PURE__ */ a("p", { className: nt.comment, children: t?.main?.subtitle?.striped })
|
|
9051
9027
|
] })
|
|
9052
9028
|
] });
|
|
9053
|
-
},
|
|
9029
|
+
}, mf = (e) => {
|
|
9054
9030
|
const t = e.slot_id && e.slot_id !== "Nota_1";
|
|
9055
9031
|
return /* @__PURE__ */ a(ge, { titleUrl: e.titleUrl, title: e.title, children: /* @__PURE__ */ a(
|
|
9056
9032
|
Et,
|
|
@@ -9071,7 +9047,7 @@ const d3 = (e) => {
|
|
|
9071
9047
|
}
|
|
9072
9048
|
};
|
|
9073
9049
|
return /* @__PURE__ */ a(
|
|
9074
|
-
|
|
9050
|
+
hf,
|
|
9075
9051
|
{
|
|
9076
9052
|
autorIcon: e.autorIcon,
|
|
9077
9053
|
data: r,
|
|
@@ -9082,11 +9058,11 @@ const d3 = (e) => {
|
|
|
9082
9058
|
})
|
|
9083
9059
|
}
|
|
9084
9060
|
) });
|
|
9085
|
-
},
|
|
9086
|
-
content:
|
|
9087
|
-
newsContentSection:
|
|
9088
|
-
itemContent:
|
|
9089
|
-
ItemCustomContent:
|
|
9061
|
+
}, ff = "_content_1elhb_1", gf = "_newsContentSection_1elhb_5", pf = "_itemContent_1elhb_10", Af = "_ItemCustomContent_1elhb_16", Ye = {
|
|
9062
|
+
content: ff,
|
|
9063
|
+
newsContentSection: gf,
|
|
9064
|
+
itemContent: pf,
|
|
9065
|
+
ItemCustomContent: Af
|
|
9090
9066
|
}, ca = (e) => {
|
|
9091
9067
|
const { item: t, option: n } = e;
|
|
9092
9068
|
switch (n) {
|
|
@@ -9167,12 +9143,12 @@ const d3 = (e) => {
|
|
|
9167
9143
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9168
9144
|
}
|
|
9169
9145
|
),
|
|
9170
|
-
children: Array.isArray(t) && t?.map((u,
|
|
9171
|
-
d.includes(
|
|
9146
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(pn, { children: [
|
|
9147
|
+
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ye.itemContent + " banner-context", children: /* @__PURE__ */ a(
|
|
9172
9148
|
Ae,
|
|
9173
9149
|
{
|
|
9174
9150
|
banners: s ?? [],
|
|
9175
|
-
name: `block_2_${l[
|
|
9151
|
+
name: `block_2_${l[h + 1]}`
|
|
9176
9152
|
}
|
|
9177
9153
|
) }),
|
|
9178
9154
|
/* @__PURE__ */ a(
|
|
@@ -9183,9 +9159,9 @@ const d3 = (e) => {
|
|
|
9183
9159
|
option: r,
|
|
9184
9160
|
paths: e.paths
|
|
9185
9161
|
},
|
|
9186
|
-
|
|
9162
|
+
h
|
|
9187
9163
|
)
|
|
9188
|
-
] },
|
|
9164
|
+
] }, h))
|
|
9189
9165
|
}
|
|
9190
9166
|
) : /* @__PURE__ */ a(
|
|
9191
9167
|
"div",
|
|
@@ -9230,12 +9206,12 @@ const d3 = (e) => {
|
|
|
9230
9206
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9231
9207
|
}
|
|
9232
9208
|
),
|
|
9233
|
-
children: Array.isArray(t) && t?.map((u,
|
|
9234
|
-
d.includes(
|
|
9209
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(pn, { children: [
|
|
9210
|
+
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ye.itemContent, children: /* @__PURE__ */ a(
|
|
9235
9211
|
Ae,
|
|
9236
9212
|
{
|
|
9237
9213
|
banners: s ?? [],
|
|
9238
|
-
name: `block_2_${l[
|
|
9214
|
+
name: `block_2_${l[h + 1]}`
|
|
9239
9215
|
}
|
|
9240
9216
|
) }),
|
|
9241
9217
|
/* @__PURE__ */ a(
|
|
@@ -9246,9 +9222,9 @@ const d3 = (e) => {
|
|
|
9246
9222
|
option: r,
|
|
9247
9223
|
paths: e.paths
|
|
9248
9224
|
},
|
|
9249
|
-
|
|
9225
|
+
h
|
|
9250
9226
|
)
|
|
9251
|
-
] },
|
|
9227
|
+
] }, h))
|
|
9252
9228
|
}
|
|
9253
9229
|
) : /* @__PURE__ */ a(
|
|
9254
9230
|
"div",
|
|
@@ -9278,9 +9254,9 @@ const d3 = (e) => {
|
|
|
9278
9254
|
default:
|
|
9279
9255
|
return /* @__PURE__ */ a(J, {});
|
|
9280
9256
|
}
|
|
9281
|
-
},
|
|
9282
|
-
content:
|
|
9283
|
-
contactInfoContent:
|
|
9257
|
+
}, wf = "_content_gwsqy_1", yf = "_contactInfoContent_gwsqy_7", gs = {
|
|
9258
|
+
content: wf,
|
|
9259
|
+
contactInfoContent: yf
|
|
9284
9260
|
}, g3 = (e) => {
|
|
9285
9261
|
const { data: t } = e;
|
|
9286
9262
|
return /* @__PURE__ */ a("section", { className: gs.content, children: t.map((n, s) => /* @__PURE__ */ a(
|
|
@@ -9293,25 +9269,25 @@ const d3 = (e) => {
|
|
|
9293
9269
|
},
|
|
9294
9270
|
s
|
|
9295
9271
|
)) });
|
|
9296
|
-
},
|
|
9297
|
-
tagContent:
|
|
9298
|
-
contentLayout2:
|
|
9299
|
-
contentHeader:
|
|
9300
|
-
},
|
|
9301
|
-
content:
|
|
9302
|
-
},
|
|
9272
|
+
}, vf = "_tagContent_ee6yw_1", bf = "_contentLayout2_ee6yw_9", Cf = "_contentHeader_ee6yw_42", la = {
|
|
9273
|
+
tagContent: vf,
|
|
9274
|
+
contentLayout2: bf,
|
|
9275
|
+
contentHeader: Cf
|
|
9276
|
+
}, _f = "_content_1rbrt_1", Nf = {
|
|
9277
|
+
content: _f
|
|
9278
|
+
}, Sf = ({ children: e, className: t = "" }) => /* @__PURE__ */ a(
|
|
9303
9279
|
"div",
|
|
9304
9280
|
{
|
|
9305
|
-
className: `content-layout-2 ${
|
|
9281
|
+
className: `content-layout-2 ${Nf.content} ${t}`,
|
|
9306
9282
|
children: e
|
|
9307
9283
|
}
|
|
9308
|
-
),
|
|
9309
|
-
container:
|
|
9310
|
-
note:
|
|
9311
|
-
commercial:
|
|
9312
|
-
commercialContent:
|
|
9313
|
-
complement:
|
|
9314
|
-
},
|
|
9284
|
+
), Ef = "_container_8w9ca_1", xf = "_note_8w9ca_9", Tf = "_commercial_8w9ca_49", If = "_commercialContent_8w9ca_66", kf = "_complement_8w9ca_82", Lt = {
|
|
9285
|
+
container: Ef,
|
|
9286
|
+
note: xf,
|
|
9287
|
+
commercial: Tf,
|
|
9288
|
+
commercialContent: If,
|
|
9289
|
+
complement: kf
|
|
9290
|
+
}, Uf = (e) => /* @__PURE__ */ f("section", { className: Lt.container, children: [
|
|
9315
9291
|
/* @__PURE__ */ a("div", { className: Lt.note, children: e.children }),
|
|
9316
9292
|
/* @__PURE__ */ a("div", { className: Lt.commercial, children: /* @__PURE__ */ f("div", { className: Lt.commercialContent, children: [
|
|
9317
9293
|
e.slug === "liveblogs" && /* @__PURE__ */ a(z1, { itemList: e.itemList }),
|
|
@@ -9334,7 +9310,7 @@ const d3 = (e) => {
|
|
|
9334
9310
|
/* @__PURE__ */ a("div", { style: { position: "sticky", top: "110px" }, children: e.banner })
|
|
9335
9311
|
] }) }),
|
|
9336
9312
|
/* @__PURE__ */ a("div", { className: Lt.complement, children: e.complement })
|
|
9337
|
-
] }),
|
|
9313
|
+
] }), qf = (e) => {
|
|
9338
9314
|
const t = {
|
|
9339
9315
|
...e.news[0],
|
|
9340
9316
|
config: {
|
|
@@ -9420,19 +9396,19 @@ const d3 = (e) => {
|
|
|
9420
9396
|
}
|
|
9421
9397
|
);
|
|
9422
9398
|
}
|
|
9423
|
-
},
|
|
9424
|
-
content:
|
|
9425
|
-
contentWithinCard:
|
|
9426
|
-
contentDate:
|
|
9427
|
-
dateInfo:
|
|
9428
|
-
dot:
|
|
9429
|
-
contentTitle:
|
|
9430
|
-
contentTextList:
|
|
9431
|
-
contentButton:
|
|
9432
|
-
linkStyled:
|
|
9433
|
-
},
|
|
9434
|
-
content:
|
|
9435
|
-
},
|
|
9399
|
+
}, Rf = "_content_exb5o_1", Lf = "_contentWithinCard_exb5o_7", Bf = "_contentDate_exb5o_13", Of = "_dateInfo_exb5o_20", Pf = "_dot_exb5o_30", Df = "_contentTitle_exb5o_38", Mf = "_contentTextList_exb5o_47", jf = "_contentButton_exb5o_65", Qf = "_linkStyled_exb5o_71", $e = {
|
|
9400
|
+
content: Rf,
|
|
9401
|
+
contentWithinCard: Lf,
|
|
9402
|
+
contentDate: Bf,
|
|
9403
|
+
dateInfo: Of,
|
|
9404
|
+
dot: Pf,
|
|
9405
|
+
contentTitle: Df,
|
|
9406
|
+
contentTextList: Mf,
|
|
9407
|
+
contentButton: jf,
|
|
9408
|
+
linkStyled: Qf
|
|
9409
|
+
}, Gf = "_content_ifkxj_1", Hf = {
|
|
9410
|
+
content: Gf
|
|
9411
|
+
}, zf = (e) => /* @__PURE__ */ a("section", { className: Hf.content, id: e.id, children: e.children }), Vf = async (e, t, n) => {
|
|
9436
9412
|
if (!n) return e;
|
|
9437
9413
|
const s = /<span data-src="(.*?)"><\/span>/g, r = [...e.matchAll(s)];
|
|
9438
9414
|
let o = e;
|
|
@@ -9447,19 +9423,19 @@ const d3 = (e) => {
|
|
|
9447
9423
|
o = o.replace("ck-related-news", "ck-related-news-empty");
|
|
9448
9424
|
break;
|
|
9449
9425
|
}
|
|
9450
|
-
const u = l.preview?.sizes?.[0],
|
|
9426
|
+
const u = l.preview?.sizes?.[0], h = u ? await me(u.url) : "", m = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
9451
9427
|
l.preview?.sizes?.map(async (N) => {
|
|
9452
|
-
const _ = await
|
|
9428
|
+
const _ = await me(N.url);
|
|
9453
9429
|
return N.width < 200 ? `<source srcset="${_}" media="(width < 750px)"/>` : `<source srcset="${_}" media="(width >= 750px)"/>`;
|
|
9454
9430
|
})
|
|
9455
9431
|
)).reduce((N, _) => N += _, ""), v = `
|
|
9456
9432
|
<span data-src="${d}">
|
|
9457
9433
|
<picture style='display: flex'>
|
|
9458
9434
|
${w}
|
|
9459
|
-
<img fetchPriority='low' loading='lazy' src="${
|
|
9435
|
+
<img fetchPriority='low' loading='lazy' src="${h}" alt="${t.noteRelatedImageAlt}" />
|
|
9460
9436
|
</picture>
|
|
9461
9437
|
<div>
|
|
9462
|
-
<a class="section" href="${
|
|
9438
|
+
<a class="section" href="${m}">${p}</a>
|
|
9463
9439
|
<a class="title" href="${g}">${A}</a>
|
|
9464
9440
|
</div>
|
|
9465
9441
|
</span>
|
|
@@ -9467,7 +9443,7 @@ const d3 = (e) => {
|
|
|
9467
9443
|
o = o.replace(c, v);
|
|
9468
9444
|
}
|
|
9469
9445
|
return o;
|
|
9470
|
-
},
|
|
9446
|
+
}, Ff = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), $f = (e) => {
|
|
9471
9447
|
const t = /src="\/(.*?)"/g;
|
|
9472
9448
|
return e.replace(t, `src="${Mt()}/$1"`);
|
|
9473
9449
|
}, ps = {
|
|
@@ -9477,12 +9453,12 @@ const d3 = (e) => {
|
|
|
9477
9453
|
10: 4,
|
|
9478
9454
|
13: 5
|
|
9479
9455
|
};
|
|
9480
|
-
function
|
|
9456
|
+
function Wf(e) {
|
|
9481
9457
|
if (!e) return e;
|
|
9482
9458
|
const t = e.indexOf("/video");
|
|
9483
9459
|
return t === -1 ? e : e.substring(t);
|
|
9484
9460
|
}
|
|
9485
|
-
async function
|
|
9461
|
+
async function Yf(e, t) {
|
|
9486
9462
|
let n = "", s = 0;
|
|
9487
9463
|
const r = /<span\b[^>]*data-src=["']([^"']+)["'][^>]*>[\s\S]*?<\/span>/gi;
|
|
9488
9464
|
let o;
|
|
@@ -9491,14 +9467,14 @@ async function Y2(e, t) {
|
|
|
9491
9467
|
n += e.slice(s, i);
|
|
9492
9468
|
const d = o[0];
|
|
9493
9469
|
let l = o[1] ?? "";
|
|
9494
|
-
l && (l =
|
|
9470
|
+
l && (l = Wf(l));
|
|
9495
9471
|
const u = /data-type\s*=\s*["']?video["']?/i.test(d) || /video-type\s*=\s*["']?embedded["']?/i.test(d);
|
|
9496
|
-
let
|
|
9472
|
+
let h = d;
|
|
9497
9473
|
if (u && l)
|
|
9498
9474
|
try {
|
|
9499
|
-
const
|
|
9500
|
-
if (
|
|
9501
|
-
const g =
|
|
9475
|
+
const m = await t.iframe({ path: l }), p = t.schema ? await t.schema(l) : null;
|
|
9476
|
+
if (m && m.data) {
|
|
9477
|
+
const g = m.data.data[0];
|
|
9502
9478
|
let A = "";
|
|
9503
9479
|
const w = d.match(
|
|
9504
9480
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
@@ -9519,7 +9495,7 @@ async function Y2(e, t) {
|
|
|
9519
9495
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
9520
9496
|
src="${g.main?.code || ""}"></iframe>` : A = g.main?.code || "";
|
|
9521
9497
|
const N = v || g.main?.description || "";
|
|
9522
|
-
|
|
9498
|
+
h = `
|
|
9523
9499
|
<figure class="videoFigure">
|
|
9524
9500
|
${p && p.data && p.data.data ? `<script type="application/ld+json">${Sn(
|
|
9525
9501
|
JSON.stringify(p.data.data)
|
|
@@ -9529,20 +9505,20 @@ async function Y2(e, t) {
|
|
|
9529
9505
|
</figure>
|
|
9530
9506
|
`;
|
|
9531
9507
|
}
|
|
9532
|
-
} catch (
|
|
9533
|
-
console.error("replaceVideoSpansWithIframes error for", l,
|
|
9508
|
+
} catch (m) {
|
|
9509
|
+
console.error("replaceVideoSpansWithIframes error for", l, m), h = d;
|
|
9534
9510
|
}
|
|
9535
|
-
s = c, n +=
|
|
9511
|
+
s = c, n += h, r.lastIndex = c;
|
|
9536
9512
|
}
|
|
9537
9513
|
return n += e.slice(s), n;
|
|
9538
9514
|
}
|
|
9539
|
-
function
|
|
9515
|
+
function Kf(e) {
|
|
9540
9516
|
return e.replace(
|
|
9541
9517
|
/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
|
|
9542
9518
|
""
|
|
9543
9519
|
);
|
|
9544
9520
|
}
|
|
9545
|
-
const
|
|
9521
|
+
const Jf = async ({
|
|
9546
9522
|
itemList: e,
|
|
9547
9523
|
slug: t,
|
|
9548
9524
|
banners: n,
|
|
@@ -9552,9 +9528,9 @@ const J2 = async ({
|
|
|
9552
9528
|
}) => {
|
|
9553
9529
|
if (!e || e.length === 0 || !e[0]) return;
|
|
9554
9530
|
const i = e[0].list?.items?.map(async (c) => {
|
|
9555
|
-
const d =
|
|
9556
|
-
let l = $
|
|
9557
|
-
return l =
|
|
9531
|
+
const d = Ff(c.body.rendered);
|
|
9532
|
+
let l = $f(d);
|
|
9533
|
+
return l = Kf(l), l = await Yf(
|
|
9558
9534
|
l,
|
|
9559
9535
|
r
|
|
9560
9536
|
), {
|
|
@@ -9566,7 +9542,7 @@ const J2 = async ({
|
|
|
9566
9542
|
};
|
|
9567
9543
|
});
|
|
9568
9544
|
return /* @__PURE__ */ a("section", { className: $e.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(pn, { children: [
|
|
9569
|
-
/* @__PURE__ */ a(
|
|
9545
|
+
/* @__PURE__ */ a(zf, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: $e.contentWithinCard, children: [
|
|
9570
9546
|
(await c).date > 0 && /* @__PURE__ */ f("div", { className: $e.contentDate, children: [
|
|
9571
9547
|
/* @__PURE__ */ a(
|
|
9572
9548
|
"span",
|
|
@@ -9595,7 +9571,7 @@ const J2 = async ({
|
|
|
9595
9571
|
{
|
|
9596
9572
|
className: `contentTextList ${$e.contentTextList}`,
|
|
9597
9573
|
dangerouslySetInnerHTML: {
|
|
9598
|
-
__html: await
|
|
9574
|
+
__html: await Vf(
|
|
9599
9575
|
(await c).body.rendered.replace(/ /g, ""),
|
|
9600
9576
|
s,
|
|
9601
9577
|
o
|
|
@@ -9622,7 +9598,7 @@ const J2 = async ({
|
|
|
9622
9598
|
d
|
|
9623
9599
|
)
|
|
9624
9600
|
] }, d)) });
|
|
9625
|
-
},
|
|
9601
|
+
}, Zf = {
|
|
9626
9602
|
FaceBook: "facebook",
|
|
9627
9603
|
Instagram: "instagram",
|
|
9628
9604
|
WhatsApp: "whatsapp",
|
|
@@ -9633,7 +9609,7 @@ const J2 = async ({
|
|
|
9633
9609
|
Podcast: "podcast",
|
|
9634
9610
|
Telegram: "telegram"
|
|
9635
9611
|
};
|
|
9636
|
-
function
|
|
9612
|
+
function Xf({ url: e }) {
|
|
9637
9613
|
return e && e !== "" && /* @__PURE__ */ f(O, { href: e, className: de.googleProfileButton, children: [
|
|
9638
9614
|
/* @__PURE__ */ a(
|
|
9639
9615
|
"svg",
|
|
@@ -9671,7 +9647,7 @@ const e0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9671
9647
|
"a",
|
|
9672
9648
|
{
|
|
9673
9649
|
className: de.whatsappLink,
|
|
9674
|
-
href: n[
|
|
9650
|
+
href: n[Zf.WhatsApp].url,
|
|
9675
9651
|
rel: "noreferrer",
|
|
9676
9652
|
target: "_blank",
|
|
9677
9653
|
children: [
|
|
@@ -9709,7 +9685,7 @@ const e0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9709
9685
|
children: /* @__PURE__ */ a(Dd, { noteShare: e.noteShare })
|
|
9710
9686
|
}
|
|
9711
9687
|
),
|
|
9712
|
-
/* @__PURE__ */ a(
|
|
9688
|
+
/* @__PURE__ */ a(Xf, { url: e.noteShare?.googleProfile ?? "" }),
|
|
9713
9689
|
/* @__PURE__ */ f("section", { className: de.journalistSection, children: [
|
|
9714
9690
|
/* @__PURE__ */ a(
|
|
9715
9691
|
"div",
|
|
@@ -9726,7 +9702,7 @@ const e0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9726
9702
|
loading: "lazy",
|
|
9727
9703
|
alt: "autor",
|
|
9728
9704
|
className: `${de.imageStyled} ${de.imageAutor} `,
|
|
9729
|
-
src: await
|
|
9705
|
+
src: await me(c.image.sizes[0]?.url || "")
|
|
9730
9706
|
},
|
|
9731
9707
|
c.fullname
|
|
9732
9708
|
) : /* @__PURE__ */ a(
|
|
@@ -9795,45 +9771,45 @@ function d0(e) {
|
|
|
9795
9771
|
const t = e.children, n = `${e.slot_id}-`, s = e.visibleItems, r = e.cardGap ?? 20;
|
|
9796
9772
|
function o(c) {
|
|
9797
9773
|
const d = [], l = [];
|
|
9798
|
-
let u = "",
|
|
9799
|
-
for (let
|
|
9800
|
-
const p = `[data-index="${
|
|
9774
|
+
let u = "", h = !0;
|
|
9775
|
+
for (let m = 0; m < c; m++) {
|
|
9776
|
+
const p = `[data-index="${m}"]:checked ~ .carrousel-pagination li:nth-child(${m + 1}) {
|
|
9801
9777
|
background-color:var(--carrousel-pagination-background-color)
|
|
9802
9778
|
}`;
|
|
9803
9779
|
u += `
|
|
9804
9780
|
.${n}.carrousel-container {
|
|
9805
9781
|
${p}
|
|
9806
|
-
[data-index="${
|
|
9807
|
-
transform: translate(-${
|
|
9782
|
+
[data-index="${m}"]:checked ~ .carrousel-ssr {
|
|
9783
|
+
transform: translate(-${m * (100 + r) + "%"});
|
|
9808
9784
|
transition: transform 300ms;
|
|
9809
9785
|
}
|
|
9810
|
-
[data-index="${
|
|
9811
|
-
${
|
|
9786
|
+
[data-index="${m + 1}"]:checked ~ .visible-arrow.left[data-index="${m}"]
|
|
9787
|
+
${m < c - 1 ? `,[data-index="${m}"]:checked ~ .visible-arrow.right[data-index="${m}"]` : ""} {
|
|
9812
9788
|
display: flex;
|
|
9813
9789
|
}
|
|
9814
9790
|
}
|
|
9815
|
-
`,
|
|
9791
|
+
`, m > c - (s + 1) && (u += `
|
|
9816
9792
|
@media (min-width:900px) {
|
|
9817
9793
|
.${n}.carrousel-container {
|
|
9818
|
-
[data-index="${
|
|
9794
|
+
[data-index="${m}"]:checked ~ .visible-arrow.right[data-index="${m}"] {
|
|
9819
9795
|
display:none!important;
|
|
9820
9796
|
}
|
|
9821
9797
|
}
|
|
9822
9798
|
}`), d.push(
|
|
9823
|
-
`<input type="radio" name="${n + "card"}" ${
|
|
9799
|
+
`<input type="radio" name="${n + "card"}" ${h ? "checked" : ""} id="${n + "input-check-" + m}" data-index="${m}" />`
|
|
9824
9800
|
), l.push(`
|
|
9825
|
-
<label for="${n + "input-check-" +
|
|
9801
|
+
<label for="${n + "input-check-" + m}" data-index="${m}" class="visible-arrow left">
|
|
9826
9802
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
9827
9803
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
9828
9804
|
</svg>
|
|
9829
9805
|
</label>
|
|
9830
9806
|
|
|
9831
|
-
${
|
|
9807
|
+
${m < c - 1 ? `<label for="${n + "input-check-" + (m + 1)}" data-index="${m}" class="visible-arrow right">
|
|
9832
9808
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
9833
9809
|
<path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
|
|
9834
9810
|
</svg>
|
|
9835
9811
|
</label>` : ""}
|
|
9836
|
-
`),
|
|
9812
|
+
`), h = !1;
|
|
9837
9813
|
}
|
|
9838
9814
|
return `
|
|
9839
9815
|
<style>${u}</style>
|
|
@@ -9877,9 +9853,9 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
9877
9853
|
}
|
|
9878
9854
|
)
|
|
9879
9855
|
}
|
|
9880
|
-
),
|
|
9881
|
-
content:
|
|
9882
|
-
title:
|
|
9856
|
+
), h0 = "_content_cu8lm_1", m0 = "_title_cu8lm_18", As = {
|
|
9857
|
+
content: h0,
|
|
9858
|
+
title: m0
|
|
9883
9859
|
}, f0 = async ({
|
|
9884
9860
|
newsformated: e,
|
|
9885
9861
|
internal: t,
|
|
@@ -9969,15 +9945,15 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
9969
9945
|
}
|
|
9970
9946
|
}, b0 = "_content_156j7_1", C0 = {
|
|
9971
9947
|
content: b0
|
|
9972
|
-
},
|
|
9948
|
+
}, mt = {
|
|
9973
9949
|
videoEmbedded: "videoEmbedded",
|
|
9974
9950
|
videoYouTube: "videoYouTube",
|
|
9975
9951
|
iframe: "iframe",
|
|
9976
9952
|
fotoGaleria: "fotogaleria"
|
|
9977
9953
|
}, _0 = {
|
|
9978
|
-
[
|
|
9979
|
-
[
|
|
9980
|
-
[
|
|
9954
|
+
[mt.videoEmbedded]: f0,
|
|
9955
|
+
[mt.videoYouTube]: A0,
|
|
9956
|
+
[mt.iframe]: v0
|
|
9981
9957
|
}, N0 = ({ news: e, commonServices: t }) => {
|
|
9982
9958
|
const { config: n, info: s } = e, r = n.articlepreview, o = s.link.internal, i = r ? _0[r] : null;
|
|
9983
9959
|
return i ? /* @__PURE__ */ a("div", { className: C0.content, children: /* @__PURE__ */ a(
|
|
@@ -10000,25 +9976,25 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10000
9976
|
), T0 = async (e) => {
|
|
10001
9977
|
const { PUBLIC_IS_OFFLINE: t } = Y();
|
|
10002
9978
|
if (!(t === "true")) {
|
|
10003
|
-
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)],
|
|
10004
|
-
for (const
|
|
10005
|
-
const p =
|
|
9979
|
+
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], h = {};
|
|
9980
|
+
for (const m of u) {
|
|
9981
|
+
const p = m[1] ?? "", g = e.includes(p) ? { url: p } : null;
|
|
10006
9982
|
if (g) {
|
|
10007
|
-
const A = await
|
|
10008
|
-
|
|
9983
|
+
const A = await me(g.url) || "";
|
|
9984
|
+
h[p] = A;
|
|
10009
9985
|
}
|
|
10010
9986
|
}
|
|
10011
9987
|
return e.replace(
|
|
10012
9988
|
l,
|
|
10013
|
-
(
|
|
9989
|
+
(m, p) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${h[p] || p}"`
|
|
10014
9990
|
);
|
|
10015
9991
|
}
|
|
10016
9992
|
let s = e;
|
|
10017
9993
|
const r = /<figure\b[^>]*>([\s\S]*?)<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>([\s\S]*?)<\/figure>/g, o = [...e.matchAll(r)], i = /* @__PURE__ */ new Set();
|
|
10018
9994
|
for (const l of o) {
|
|
10019
|
-
const u = l[0],
|
|
10020
|
-
i.add(
|
|
10021
|
-
const
|
|
9995
|
+
const u = l[0], h = l[2] ?? "";
|
|
9996
|
+
i.add(h);
|
|
9997
|
+
const m = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10022
9998
|
let w = 0, v = 0;
|
|
10023
9999
|
if (A) {
|
|
10024
10000
|
const T = A.match(/w:(\d+)/), q = A.match(/h:(\d+)/);
|
|
@@ -10029,13 +10005,13 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10029
10005
|
sizes: [
|
|
10030
10006
|
{
|
|
10031
10007
|
scale: A || `w:${w},h:${v},t:2`,
|
|
10032
|
-
url:
|
|
10008
|
+
url: h,
|
|
10033
10009
|
width: w,
|
|
10034
10010
|
height: v
|
|
10035
10011
|
}
|
|
10036
10012
|
],
|
|
10037
10013
|
original: {
|
|
10038
|
-
url:
|
|
10014
|
+
url: h.split("?")[0],
|
|
10039
10015
|
width: w,
|
|
10040
10016
|
height: v
|
|
10041
10017
|
},
|
|
@@ -10050,9 +10026,9 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10050
10026
|
}
|
|
10051
10027
|
const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...s.matchAll(c)];
|
|
10052
10028
|
for (const l of d) {
|
|
10053
|
-
const u = l[0],
|
|
10054
|
-
if (i.has(
|
|
10055
|
-
const
|
|
10029
|
+
const u = l[0], h = l[1] ?? "";
|
|
10030
|
+
if (i.has(h)) continue;
|
|
10031
|
+
const m = u.match(/\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10056
10032
|
let w = 0, v = 0;
|
|
10057
10033
|
if (A) {
|
|
10058
10034
|
const T = A.match(/w:(\d+)/), q = A.match(/h:(\d+)/);
|
|
@@ -10063,13 +10039,13 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10063
10039
|
sizes: [
|
|
10064
10040
|
{
|
|
10065
10041
|
scale: A || `w:${w},h:${v},t:2`,
|
|
10066
|
-
url:
|
|
10042
|
+
url: h,
|
|
10067
10043
|
width: w,
|
|
10068
10044
|
height: v
|
|
10069
10045
|
}
|
|
10070
10046
|
],
|
|
10071
10047
|
original: {
|
|
10072
|
-
url:
|
|
10048
|
+
url: h.split("?")[0],
|
|
10073
10049
|
width: w,
|
|
10074
10050
|
height: v
|
|
10075
10051
|
},
|
|
@@ -10106,7 +10082,7 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10106
10082
|
).test(r)) {
|
|
10107
10083
|
s++;
|
|
10108
10084
|
const u = t.find(
|
|
10109
|
-
(
|
|
10085
|
+
(h) => h.key === `block_2_${n[s]}`
|
|
10110
10086
|
);
|
|
10111
10087
|
return u ? `${c}<div class="banner-context">${u.value}</div>` : c;
|
|
10112
10088
|
}
|
|
@@ -10119,13 +10095,13 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10119
10095
|
for (const o of n) {
|
|
10120
10096
|
const [i, c = ""] = o, d = o.index, l = d + i.length;
|
|
10121
10097
|
s += e.slice(r, d);
|
|
10122
|
-
const
|
|
10098
|
+
const h = [...c.matchAll(/data-src="([^"]+)"/g)].map(
|
|
10123
10099
|
(g) => g[1]
|
|
10124
10100
|
).map(
|
|
10125
10101
|
(g) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${g}" class="carrusel-note-item" width="800" height="469"/>`
|
|
10126
|
-
),
|
|
10127
|
-
slot_id:
|
|
10128
|
-
children:
|
|
10102
|
+
), m = "gallery_embeded" + d.toString(), p = d0({
|
|
10103
|
+
slot_id: m,
|
|
10104
|
+
children: h,
|
|
10129
10105
|
visibleItems: 1,
|
|
10130
10106
|
cardGap: 0
|
|
10131
10107
|
});
|
|
@@ -10141,19 +10117,19 @@ const u0 = (e) => /* @__PURE__ */ a(
|
|
|
10141
10117
|
(N) => d.includes(N?.[0]?.info.link.internal || "")
|
|
10142
10118
|
);
|
|
10143
10119
|
if (!l || !l[0]) continue;
|
|
10144
|
-
const u = l[0].preview?.sizes?.[0],
|
|
10120
|
+
const u = l[0].preview?.sizes?.[0], h = u ? await me(u.url) : "", m = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
10145
10121
|
l[0].preview?.sizes?.map(async (N, _) => {
|
|
10146
|
-
const E = await
|
|
10122
|
+
const E = await me(N.url);
|
|
10147
10123
|
return _ === 0 ? `<source srcset="${E}" media="(width >= 900px)"/>` : `<source srcset="${E}" media="(width < 900px)"/>`;
|
|
10148
10124
|
})
|
|
10149
10125
|
)).reduce((N, _) => N += _, ""), v = `
|
|
10150
10126
|
<span data-src="${d}">
|
|
10151
10127
|
<picture style='display: flex'>
|
|
10152
10128
|
${w}
|
|
10153
|
-
<img fetchPriority='low' loading='lazy' src="${
|
|
10129
|
+
<img fetchPriority='low' loading='lazy' src="${h}" alt="${t.noteRelatedImageAlt}" />
|
|
10154
10130
|
</picture>
|
|
10155
10131
|
<div>
|
|
10156
|
-
<a class="section" href="${
|
|
10132
|
+
<a class="section" href="${m}">${p}</a>
|
|
10157
10133
|
<a class="title" href="${g}">${A}</a>
|
|
10158
10134
|
</div>
|
|
10159
10135
|
</span>
|
|
@@ -10179,11 +10155,11 @@ async function q0(e, t) {
|
|
|
10179
10155
|
}
|
|
10180
10156
|
v !== -1 && v < N ? (d += 1, l = v + 4) : (d -= 1, l = N + 6);
|
|
10181
10157
|
}
|
|
10182
|
-
const
|
|
10158
|
+
const h = l, m = e.slice(i, h);
|
|
10183
10159
|
let p = null;
|
|
10184
10160
|
const g = /<span\b([^>]*)>/gi;
|
|
10185
10161
|
let A;
|
|
10186
|
-
for (; (A = g.exec(
|
|
10162
|
+
for (; (A = g.exec(m)) !== null; ) {
|
|
10187
10163
|
const v = A[1];
|
|
10188
10164
|
if (!v) break;
|
|
10189
10165
|
if (/data-type\s*=\s*["']?video["']?/i.test(v)) {
|
|
@@ -10195,7 +10171,7 @@ async function q0(e, t) {
|
|
|
10195
10171
|
}
|
|
10196
10172
|
}
|
|
10197
10173
|
if (!p) {
|
|
10198
|
-
const v =
|
|
10174
|
+
const v = m.match(
|
|
10199
10175
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
10200
10176
|
);
|
|
10201
10177
|
if (v) {
|
|
@@ -10210,7 +10186,7 @@ async function q0(e, t) {
|
|
|
10210
10186
|
if (v && v.data) {
|
|
10211
10187
|
const _ = v.data.data[0];
|
|
10212
10188
|
let E = "";
|
|
10213
|
-
const b =
|
|
10189
|
+
const b = m.match(
|
|
10214
10190
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10215
10191
|
), T = b && b[1] ? b[1].trim() : "";
|
|
10216
10192
|
_.info && _.info.type === "video-youtube" ? E = `<iframe
|
|
@@ -10243,8 +10219,8 @@ async function q0(e, t) {
|
|
|
10243
10219
|
console.error("insertVideos error for", p, v), w = "";
|
|
10244
10220
|
}
|
|
10245
10221
|
else
|
|
10246
|
-
w =
|
|
10247
|
-
s =
|
|
10222
|
+
w = m;
|
|
10223
|
+
s = h, n += w, r.lastIndex = h;
|
|
10248
10224
|
}
|
|
10249
10225
|
return n += e.slice(s), n = x0(n), n;
|
|
10250
10226
|
}
|
|
@@ -10266,9 +10242,9 @@ async function R0(e) {
|
|
|
10266
10242
|
e.texts,
|
|
10267
10243
|
s
|
|
10268
10244
|
), u = await q0(u, d), u = S0(u), u = E0(u);
|
|
10269
|
-
const
|
|
10245
|
+
const h = t.main.sources ?? [], m = t.config.articlepreview === mt.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
10270
10246
|
return /* @__PURE__ */ f("div", { className: nn.content, children: [
|
|
10271
|
-
o !== "liveblogs" && e.showHeaderImage ?
|
|
10247
|
+
o !== "liveblogs" && e.showHeaderImage ? m ? /* @__PURE__ */ a(
|
|
10272
10248
|
l0,
|
|
10273
10249
|
{
|
|
10274
10250
|
commonServices: l,
|
|
@@ -10299,7 +10275,7 @@ async function R0(e) {
|
|
|
10299
10275
|
}
|
|
10300
10276
|
),
|
|
10301
10277
|
/* @__PURE__ */ a(
|
|
10302
|
-
|
|
10278
|
+
Jf,
|
|
10303
10279
|
{
|
|
10304
10280
|
texts: e.texts,
|
|
10305
10281
|
itemList: i,
|
|
@@ -10309,9 +10285,9 @@ async function R0(e) {
|
|
|
10309
10285
|
newsRelatedListResponses: r ?? []
|
|
10310
10286
|
}
|
|
10311
10287
|
),
|
|
10312
|
-
|
|
10288
|
+
h.length > 0 && /* @__PURE__ */ f("div", { className: nn.noteSource, children: [
|
|
10313
10289
|
/* @__PURE__ */ a(u0, {}),
|
|
10314
|
-
/* @__PURE__ */ a("p", { children: e.texts.noteSource + (
|
|
10290
|
+
/* @__PURE__ */ a("p", { children: e.texts.noteSource + (h.length === 1 ? "" : "s") + ": " + h.map((p) => p.name).join(", ") })
|
|
10315
10291
|
] })
|
|
10316
10292
|
] });
|
|
10317
10293
|
}
|
|
@@ -10447,17 +10423,17 @@ const L0 = (e) => {
|
|
|
10447
10423
|
banner: (e) => /* @__PURE__ */ a(Ae, { ...e, name: e.slot_id.replace("Home", "block") }),
|
|
10448
10424
|
readest: (e) => /* @__PURE__ */ a(Ca, { ...e }),
|
|
10449
10425
|
"Modulo 1x3": (e) => /* @__PURE__ */ a(xr, { ...e }),
|
|
10450
|
-
"Modulo 1x4": (e) => /* @__PURE__ */ a(
|
|
10451
|
-
"Modulo 1x5": (e) => /* @__PURE__ */ a(
|
|
10452
|
-
"Destacado noticias": (e) => /* @__PURE__ */ a(
|
|
10426
|
+
"Modulo 1x4": (e) => /* @__PURE__ */ a(O2, { ...e }),
|
|
10427
|
+
"Modulo 1x5": (e) => /* @__PURE__ */ a(j2, { ...e }),
|
|
10428
|
+
"Destacado noticias": (e) => /* @__PURE__ */ a(o2, { ...e }),
|
|
10453
10429
|
"Destacado full width": (e) => /* @__PURE__ */ a(z0, { ...e }),
|
|
10454
|
-
"Destacado videos": (e) => /* @__PURE__ */ a(
|
|
10455
|
-
"Carrusel card": (e) => /* @__PURE__ */ a(
|
|
10430
|
+
"Destacado videos": (e) => /* @__PURE__ */ a(z2, { ...e }),
|
|
10431
|
+
"Carrusel card": (e) => /* @__PURE__ */ a(af, { ...e }),
|
|
10456
10432
|
"Carrusel story": (e) => /* @__PURE__ */ a(L0, { ...e }),
|
|
10457
10433
|
"Carrusel owl": (e) => /* @__PURE__ */ a(B0, { ...e }),
|
|
10458
10434
|
"Modulo fotogaleria": (e) => /* @__PURE__ */ a(O0, { ...e }),
|
|
10459
|
-
"Carrusel opinion": (e) => /* @__PURE__ */ a(
|
|
10460
|
-
"Modulo 1x3 card": (e) => /* @__PURE__ */ a(
|
|
10435
|
+
"Carrusel opinion": (e) => /* @__PURE__ */ a(mf, { ...e }),
|
|
10436
|
+
"Modulo 1x3 card": (e) => /* @__PURE__ */ a(nf, { ...e })
|
|
10461
10437
|
};
|
|
10462
10438
|
function Tr({
|
|
10463
10439
|
component: e,
|
|
@@ -10514,7 +10490,7 @@ const ys = {
|
|
|
10514
10490
|
},
|
|
10515
10491
|
Super: (e) => /* @__PURE__ */ a(Ct, { ...e.data[0], paths: e.paths }),
|
|
10516
10492
|
"3 notas verticales": (e) => /* @__PURE__ */ a(
|
|
10517
|
-
|
|
10493
|
+
Jm,
|
|
10518
10494
|
{
|
|
10519
10495
|
content: e.data,
|
|
10520
10496
|
customLargeSection: e.customLargeSection,
|
|
@@ -10523,7 +10499,7 @@ const ys = {
|
|
|
10523
10499
|
}
|
|
10524
10500
|
),
|
|
10525
10501
|
"3 notas horizontales": (e) => /* @__PURE__ */ a(
|
|
10526
|
-
|
|
10502
|
+
Wm,
|
|
10527
10503
|
{
|
|
10528
10504
|
content: e.data,
|
|
10529
10505
|
customLargeSection: e.customLargeSection,
|
|
@@ -10550,15 +10526,15 @@ const ys = {
|
|
|
10550
10526
|
showTagBySection: i
|
|
10551
10527
|
}) => {
|
|
10552
10528
|
const c = [], l = t, u = Object.keys(e).length / l;
|
|
10553
|
-
for (let
|
|
10554
|
-
for (let
|
|
10555
|
-
const p = "Home_" +
|
|
10529
|
+
for (let h = 1; h <= u; h++)
|
|
10530
|
+
for (let m = 1; m <= l; m++) {
|
|
10531
|
+
const p = "Home_" + h + "_" + m;
|
|
10556
10532
|
!e[p] || !e[p].blockSass || !e[p].blockSass[0] || !e[p].blockSass[0].value || !e[p].blockSass[0].block || e[p].blockSass[0].block === "No Mostrar" || c.push(
|
|
10557
10533
|
/* @__PURE__ */ f(
|
|
10558
10534
|
wc,
|
|
10559
10535
|
{
|
|
10560
10536
|
show: !!e[p].content?.data,
|
|
10561
|
-
order: (
|
|
10537
|
+
order: (h - 1) * l + (m - 1),
|
|
10562
10538
|
children: [
|
|
10563
10539
|
/* @__PURE__ */ a(
|
|
10564
10540
|
Tr,
|
|
@@ -10577,16 +10553,16 @@ const ys = {
|
|
|
10577
10553
|
}
|
|
10578
10554
|
}
|
|
10579
10555
|
),
|
|
10580
|
-
/* @__PURE__ */ a(
|
|
10556
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(
|
|
10581
10557
|
at,
|
|
10582
10558
|
{
|
|
10583
10559
|
banners: o,
|
|
10584
|
-
index: "dynamic_" +
|
|
10560
|
+
index: "dynamic_" + h + "_" + m
|
|
10585
10561
|
}
|
|
10586
10562
|
) })
|
|
10587
10563
|
]
|
|
10588
10564
|
},
|
|
10589
|
-
|
|
10565
|
+
h + "_" + m
|
|
10590
10566
|
)
|
|
10591
10567
|
);
|
|
10592
10568
|
}
|
|
@@ -10614,7 +10590,7 @@ const ys = {
|
|
|
10614
10590
|
banners: s
|
|
10615
10591
|
}
|
|
10616
10592
|
),
|
|
10617
|
-
/* @__PURE__ */ a(
|
|
10593
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 1 }) }),
|
|
10618
10594
|
/* @__PURE__ */ a(
|
|
10619
10595
|
Fn,
|
|
10620
10596
|
{
|
|
@@ -10623,7 +10599,7 @@ const ys = {
|
|
|
10623
10599
|
banners: s
|
|
10624
10600
|
}
|
|
10625
10601
|
),
|
|
10626
|
-
/* @__PURE__ */ a(
|
|
10602
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 1 }) }),
|
|
10627
10603
|
/* @__PURE__ */ a(
|
|
10628
10604
|
Fn,
|
|
10629
10605
|
{
|
|
@@ -10632,14 +10608,14 @@ const ys = {
|
|
|
10632
10608
|
banners: s
|
|
10633
10609
|
}
|
|
10634
10610
|
),
|
|
10635
|
-
/* @__PURE__ */ a(
|
|
10611
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 1 }) })
|
|
10636
10612
|
] });
|
|
10637
10613
|
}, V0 = (e) => {
|
|
10638
10614
|
const { config: t } = e, n = t.articlepreview;
|
|
10639
10615
|
return !![
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10616
|
+
mt.videoEmbedded,
|
|
10617
|
+
mt.videoYouTube,
|
|
10618
|
+
mt.iframe
|
|
10643
10619
|
].includes(n);
|
|
10644
10620
|
}, y3 = async (e) => {
|
|
10645
10621
|
const {
|
|
@@ -10653,11 +10629,11 @@ const ys = {
|
|
|
10653
10629
|
itemList: d = [],
|
|
10654
10630
|
socials: l,
|
|
10655
10631
|
getVideos: u
|
|
10656
|
-
} = e,
|
|
10632
|
+
} = e, h = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: p } = Y();
|
|
10657
10633
|
if (!(!o || !o[0]))
|
|
10658
|
-
return /* @__PURE__ */ a(J, { children: /* @__PURE__ */ f(
|
|
10634
|
+
return /* @__PURE__ */ a(J, { children: /* @__PURE__ */ f(Sf, { className: la.contentLayout2, children: [
|
|
10659
10635
|
/* @__PURE__ */ a(
|
|
10660
|
-
|
|
10636
|
+
qf,
|
|
10661
10637
|
{
|
|
10662
10638
|
option: e.slug,
|
|
10663
10639
|
news: o,
|
|
@@ -10666,7 +10642,7 @@ const ys = {
|
|
|
10666
10642
|
}
|
|
10667
10643
|
),
|
|
10668
10644
|
/* @__PURE__ */ a(at, { banners: s, index: 1 }),
|
|
10669
|
-
!
|
|
10645
|
+
!h && e.commonServices && /* @__PURE__ */ a(
|
|
10670
10646
|
N0,
|
|
10671
10647
|
{
|
|
10672
10648
|
news: o[0],
|
|
@@ -10674,7 +10650,7 @@ const ys = {
|
|
|
10674
10650
|
}
|
|
10675
10651
|
),
|
|
10676
10652
|
/* @__PURE__ */ a(
|
|
10677
|
-
|
|
10653
|
+
Uf,
|
|
10678
10654
|
{
|
|
10679
10655
|
texts: e.texts,
|
|
10680
10656
|
paths: e.paths,
|
|
@@ -10686,7 +10662,7 @@ const ys = {
|
|
|
10686
10662
|
banner: /* @__PURE__ */ a(Ae, { banners: s ?? [], name: "right_2" }),
|
|
10687
10663
|
complement: /* @__PURE__ */ f("div", { id: "comentarios", suppressHydrationWarning: !0, children: [
|
|
10688
10664
|
r.length > 0 && /* @__PURE__ */ a(
|
|
10689
|
-
|
|
10665
|
+
vm,
|
|
10690
10666
|
{
|
|
10691
10667
|
texts: e.texts,
|
|
10692
10668
|
autorIcon: e.autorIcon,
|
|
@@ -10695,7 +10671,7 @@ const ys = {
|
|
|
10695
10671
|
}
|
|
10696
10672
|
),
|
|
10697
10673
|
o[0].authors.length > 1 && /* @__PURE__ */ a(
|
|
10698
|
-
|
|
10674
|
+
Tm,
|
|
10699
10675
|
{
|
|
10700
10676
|
news: o[0],
|
|
10701
10677
|
autorIcon: e.autorIcon,
|
|
@@ -10704,7 +10680,7 @@ const ys = {
|
|
|
10704
10680
|
}
|
|
10705
10681
|
),
|
|
10706
10682
|
/* @__PURE__ */ a("div", { className: la.tagContent, children: /* @__PURE__ */ a(
|
|
10707
|
-
|
|
10683
|
+
dm,
|
|
10708
10684
|
{
|
|
10709
10685
|
tags: o[0]?.keywords?.tags,
|
|
10710
10686
|
paths: e.paths
|
|
@@ -10735,7 +10711,7 @@ const ys = {
|
|
|
10735
10711
|
)
|
|
10736
10712
|
}
|
|
10737
10713
|
),
|
|
10738
|
-
/* @__PURE__ */ a(
|
|
10714
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 2 }) }),
|
|
10739
10715
|
p && /* @__PURE__ */ f(J, { children: [
|
|
10740
10716
|
/* @__PURE__ */ a(
|
|
10741
10717
|
Tr,
|
|
@@ -10751,9 +10727,9 @@ const ys = {
|
|
|
10751
10727
|
}
|
|
10752
10728
|
}
|
|
10753
10729
|
),
|
|
10754
|
-
/* @__PURE__ */ a(
|
|
10730
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 3 }) })
|
|
10755
10731
|
] }),
|
|
10756
|
-
|
|
10732
|
+
m && /* @__PURE__ */ f(J, { children: [
|
|
10757
10733
|
/* @__PURE__ */ a(ge, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ a(
|
|
10758
10734
|
"div",
|
|
10759
10735
|
{
|
|
@@ -10769,7 +10745,7 @@ const ys = {
|
|
|
10769
10745
|
)
|
|
10770
10746
|
}
|
|
10771
10747
|
) }),
|
|
10772
|
-
/* @__PURE__ */ a(
|
|
10748
|
+
/* @__PURE__ */ a(ht, { children: /* @__PURE__ */ a(at, { banners: s, index: 4 }) })
|
|
10773
10749
|
] }),
|
|
10774
10750
|
t && t()
|
|
10775
10751
|
]
|
|
@@ -10870,7 +10846,7 @@ const ys = {
|
|
|
10870
10846
|
currentPage: d,
|
|
10871
10847
|
slug: l,
|
|
10872
10848
|
texts: u = {}
|
|
10873
|
-
} = e,
|
|
10849
|
+
} = e, h = [5, 10, 15], m = {
|
|
10874
10850
|
5: 1,
|
|
10875
10851
|
10: 2,
|
|
10876
10852
|
15: 3
|
|
@@ -10905,7 +10881,7 @@ const ys = {
|
|
|
10905
10881
|
}
|
|
10906
10882
|
),
|
|
10907
10883
|
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(pn, { children: [
|
|
10908
|
-
|
|
10884
|
+
h.includes(g + 1) && /* @__PURE__ */ a(
|
|
10909
10885
|
"div",
|
|
10910
10886
|
{
|
|
10911
10887
|
className: $n.itemContent + " banner-context",
|
|
@@ -10913,7 +10889,7 @@ const ys = {
|
|
|
10913
10889
|
Ae,
|
|
10914
10890
|
{
|
|
10915
10891
|
banners: o ?? [],
|
|
10916
|
-
name: `block_2_${
|
|
10892
|
+
name: `block_2_${m[g + 1]}`
|
|
10917
10893
|
}
|
|
10918
10894
|
)
|
|
10919
10895
|
}
|
|
@@ -10960,7 +10936,7 @@ const ys = {
|
|
|
10960
10936
|
] }) });
|
|
10961
10937
|
case "op2":
|
|
10962
10938
|
return /* @__PURE__ */ a(J, { children: /* @__PURE__ */ f(cs, { children: [
|
|
10963
|
-
/* @__PURE__ */ a(
|
|
10939
|
+
/* @__PURE__ */ a(mu, { autor: s[0], autorIcon: e.autorIcon }),
|
|
10964
10940
|
Array.isArray(t) ? /* @__PURE__ */ f(J, { children: [
|
|
10965
10941
|
/* @__PURE__ */ a(
|
|
10966
10942
|
xr,
|
|
@@ -11017,7 +10993,7 @@ const ys = {
|
|
|
11017
10993
|
}, tg = "_content_pq89v_1", ng = "_videoContent_pq89v_9", vs = {
|
|
11018
10994
|
content: tg,
|
|
11019
10995
|
videoContent: ng
|
|
11020
|
-
}, ag = "_container_1xr2t_1", sg = "_playStyled_1xr2t_6", rg = "_imageStyled_1xr2t_13", og = "_longer_1xr2t_26", ig = "_contentNews_1xr2t_31", cg = "_tagContent_1xr2t_51", lg = "_tag_1xr2t_51", dg = "_titular_1xr2t_68", ug = "_small_1xr2t_81",
|
|
10996
|
+
}, ag = "_container_1xr2t_1", sg = "_playStyled_1xr2t_6", rg = "_imageStyled_1xr2t_13", og = "_longer_1xr2t_26", ig = "_contentNews_1xr2t_31", cg = "_tagContent_1xr2t_51", lg = "_tag_1xr2t_51", dg = "_titular_1xr2t_68", ug = "_small_1xr2t_81", hg = "_figure_1xr2t_87", mg = "_backDrop_1xr2t_92", fg = "_backDropAux_1xr2t_100", Ot = {
|
|
11021
10997
|
container: ag,
|
|
11022
10998
|
playStyled: sg,
|
|
11023
10999
|
imageStyled: rg,
|
|
@@ -11027,8 +11003,8 @@ const ys = {
|
|
|
11027
11003
|
tag: lg,
|
|
11028
11004
|
titular: dg,
|
|
11029
11005
|
small: ug,
|
|
11030
|
-
figure:
|
|
11031
|
-
backDrop:
|
|
11006
|
+
figure: hg,
|
|
11007
|
+
backDrop: mg,
|
|
11032
11008
|
backDropAux: fg
|
|
11033
11009
|
}, bs = async (e) => {
|
|
11034
11010
|
const { size: t = "longer", video: n } = e, s = n.main.image.sizes[0]?.url ?? "";
|
|
@@ -11039,14 +11015,14 @@ const ys = {
|
|
|
11039
11015
|
"source",
|
|
11040
11016
|
{
|
|
11041
11017
|
media: "(width >=900px)",
|
|
11042
|
-
srcSet: await
|
|
11018
|
+
srcSet: await me(r.url)
|
|
11043
11019
|
},
|
|
11044
11020
|
o
|
|
11045
11021
|
) : /* @__PURE__ */ a(
|
|
11046
11022
|
"source",
|
|
11047
11023
|
{
|
|
11048
11024
|
media: "(width <900px)",
|
|
11049
|
-
srcSet: await
|
|
11025
|
+
srcSet: await me(r.url)
|
|
11050
11026
|
},
|
|
11051
11027
|
o
|
|
11052
11028
|
)),
|
|
@@ -11057,7 +11033,7 @@ const ys = {
|
|
|
11057
11033
|
loading: "lazy",
|
|
11058
11034
|
className: [Ot.imageStyled, Ot[t]].join(" "),
|
|
11059
11035
|
alt: "",
|
|
11060
|
-
src: s ? await
|
|
11036
|
+
src: s ? await me(s) : ""
|
|
11061
11037
|
}
|
|
11062
11038
|
)
|
|
11063
11039
|
] }) })
|
|
@@ -11149,10 +11125,10 @@ function _3({ containerId: e, containerId2: t }) {
|
|
|
11149
11125
|
if (!s && !r) return;
|
|
11150
11126
|
const o = s?.querySelectorAll("script[src]") ?? [], i = r?.querySelectorAll("script[src]") ?? [];
|
|
11151
11127
|
[...o, ...i].forEach((u) => {
|
|
11152
|
-
const
|
|
11153
|
-
Array.from(u.attributes).forEach((
|
|
11154
|
-
|
|
11155
|
-
}), u.replaceWith(
|
|
11128
|
+
const h = document.createElement("script");
|
|
11129
|
+
Array.from(u.attributes).forEach((m) => {
|
|
11130
|
+
h.setAttribute(m.name, m.value);
|
|
11131
|
+
}), u.replaceWith(h);
|
|
11156
11132
|
});
|
|
11157
11133
|
const d = document.querySelectorAll(
|
|
11158
11134
|
'script[src*="platform.twitter.com/widgets.js"]'
|
|
@@ -11317,20 +11293,20 @@ const xg = (e) => {
|
|
|
11317
11293
|
isVisible: s = !1,
|
|
11318
11294
|
stylesConfig: r
|
|
11319
11295
|
}) => {
|
|
11320
|
-
const [o, i] = K({ data: Array.from({ length: _s }, () => Ig) }), [c, d] = K(!1), l =
|
|
11296
|
+
const [o, i] = K({ data: Array.from({ length: _s }, () => Ig) }), [c, d] = K(!1), l = he(async () => {
|
|
11321
11297
|
if (!(c || !t?.info?.link?.internal)) {
|
|
11322
11298
|
d(!0);
|
|
11323
11299
|
try {
|
|
11324
11300
|
const u = new URLSearchParams({
|
|
11325
11301
|
section: e,
|
|
11326
11302
|
currentNewsLink: t.info.link.internal
|
|
11327
|
-
}),
|
|
11328
|
-
if (!
|
|
11329
|
-
throw i(void 0), new Error(`HTTP error! status: ${
|
|
11330
|
-
const
|
|
11303
|
+
}), h = await fetch(`/api/get-more-news?${u}`);
|
|
11304
|
+
if (!h.ok)
|
|
11305
|
+
throw i(void 0), new Error(`HTTP error! status: ${h.status}`);
|
|
11306
|
+
const m = await h.json();
|
|
11331
11307
|
i({
|
|
11332
|
-
...
|
|
11333
|
-
data:
|
|
11308
|
+
...m,
|
|
11309
|
+
data: m.data.slice(0, _s)
|
|
11334
11310
|
});
|
|
11335
11311
|
} catch (u) {
|
|
11336
11312
|
console.error("[/api/get-more-news] Error:", u.message), i(void 0);
|
|
@@ -11369,8 +11345,8 @@ const xg = (e) => {
|
|
|
11369
11345
|
info: d,
|
|
11370
11346
|
preview: l,
|
|
11371
11347
|
isVideo: u = !1,
|
|
11372
|
-
config:
|
|
11373
|
-
overImage:
|
|
11348
|
+
config: h,
|
|
11349
|
+
overImage: m = "default",
|
|
11374
11350
|
isTitle: p = !1,
|
|
11375
11351
|
isLarge: g = !1
|
|
11376
11352
|
} = r;
|
|
@@ -11408,8 +11384,8 @@ const xg = (e) => {
|
|
|
11408
11384
|
info: d,
|
|
11409
11385
|
preview: l,
|
|
11410
11386
|
share: e.share,
|
|
11411
|
-
config:
|
|
11412
|
-
overImage:
|
|
11387
|
+
config: h,
|
|
11388
|
+
overImage: m,
|
|
11413
11389
|
isTitle: p,
|
|
11414
11390
|
paths: r.paths,
|
|
11415
11391
|
isVisible: e.isVisible
|
|
@@ -11580,7 +11556,7 @@ async function N3({
|
|
|
11580
11556
|
username: t,
|
|
11581
11557
|
id: n,
|
|
11582
11558
|
type: l
|
|
11583
|
-
}),
|
|
11559
|
+
}), h = `${d}?${u.toString()}`;
|
|
11584
11560
|
try {
|
|
11585
11561
|
console.log("Reporting comment:", {
|
|
11586
11562
|
publication: e,
|
|
@@ -11588,31 +11564,31 @@ async function N3({
|
|
|
11588
11564
|
id: n,
|
|
11589
11565
|
type: s,
|
|
11590
11566
|
encodedType: l,
|
|
11591
|
-
url:
|
|
11567
|
+
url: h
|
|
11592
11568
|
});
|
|
11593
|
-
const
|
|
11569
|
+
const m = await re.post(h, null, {
|
|
11594
11570
|
headers: {
|
|
11595
11571
|
"User-Agent": "Bluestack",
|
|
11596
11572
|
"x-api-token": i,
|
|
11597
11573
|
"Content-Type": "application/json"
|
|
11598
11574
|
}
|
|
11599
11575
|
});
|
|
11600
|
-
if (console.log("Report response:",
|
|
11576
|
+
if (console.log("Report response:", m.data), m.status === 200 || m.status === 201)
|
|
11601
11577
|
return {
|
|
11602
11578
|
type: "success",
|
|
11603
11579
|
message: "Comentario reportado exitosamente",
|
|
11604
|
-
status:
|
|
11605
|
-
data:
|
|
11580
|
+
status: m.status,
|
|
11581
|
+
data: m.data
|
|
11606
11582
|
};
|
|
11607
|
-
throw new Error(`Respuesta inesperada del servidor: ${
|
|
11608
|
-
} catch (
|
|
11609
|
-
if (console.error("Error reporting comment:",
|
|
11610
|
-
const p =
|
|
11583
|
+
throw new Error(`Respuesta inesperada del servidor: ${m.status}`);
|
|
11584
|
+
} catch (m) {
|
|
11585
|
+
if (console.error("Error reporting comment:", m), re.isAxiosError(m)) {
|
|
11586
|
+
const p = m.response?.status, g = m.response?.data;
|
|
11611
11587
|
throw p === 400 ? new Error("Datos inválidos para el reporte") : p === 401 ? new Error("Token de API inválido") : p === 403 ? new Error("Acceso denegado para reportar comentario") : p === 404 ? new Error("Comentario no encontrado") : p === 409 ? new Error("El comentario ya fue reportado por este usuario") : p === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
11612
11588
|
g?.error || g?.message || `Error HTTP ${p}: No se pudo reportar el comentario`
|
|
11613
11589
|
);
|
|
11614
11590
|
}
|
|
11615
|
-
throw
|
|
11591
|
+
throw m;
|
|
11616
11592
|
}
|
|
11617
11593
|
}
|
|
11618
11594
|
const We = {
|
|
@@ -11672,7 +11648,7 @@ var Ns;
|
|
|
11672
11648
|
function tp() {
|
|
11673
11649
|
if (Ns) return ne;
|
|
11674
11650
|
Ns = 1;
|
|
11675
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112,
|
|
11651
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
11676
11652
|
function _(b) {
|
|
11677
11653
|
if (typeof b == "object" && b !== null) {
|
|
11678
11654
|
var T = b.$$typeof;
|
|
@@ -11684,7 +11660,7 @@ function tp() {
|
|
|
11684
11660
|
case s:
|
|
11685
11661
|
case o:
|
|
11686
11662
|
case r:
|
|
11687
|
-
case
|
|
11663
|
+
case h:
|
|
11688
11664
|
return b;
|
|
11689
11665
|
default:
|
|
11690
11666
|
switch (b = b && b.$$typeof, b) {
|
|
@@ -11706,7 +11682,7 @@ function tp() {
|
|
|
11706
11682
|
function E(b) {
|
|
11707
11683
|
return _(b) === l;
|
|
11708
11684
|
}
|
|
11709
|
-
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = s, ne.Lazy = g, ne.Memo = p, ne.Portal = n, ne.Profiler = o, ne.StrictMode = r, ne.Suspense =
|
|
11685
|
+
return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = i, ne.Element = t, ne.ForwardRef = u, ne.Fragment = s, ne.Lazy = g, ne.Memo = p, ne.Portal = n, ne.Profiler = o, ne.StrictMode = r, ne.Suspense = h, ne.isAsyncMode = function(b) {
|
|
11710
11686
|
return E(b) || _(b) === d;
|
|
11711
11687
|
}, ne.isConcurrentMode = E, ne.isContextConsumer = function(b) {
|
|
11712
11688
|
return _(b) === c;
|
|
@@ -11729,19 +11705,19 @@ function tp() {
|
|
|
11729
11705
|
}, ne.isStrictMode = function(b) {
|
|
11730
11706
|
return _(b) === r;
|
|
11731
11707
|
}, ne.isSuspense = function(b) {
|
|
11732
|
-
return _(b) ===
|
|
11708
|
+
return _(b) === h;
|
|
11733
11709
|
}, ne.isValidElementType = function(b) {
|
|
11734
|
-
return typeof b == "string" || typeof b == "function" || b === s || b === l || b === o || b === r || b ===
|
|
11710
|
+
return typeof b == "string" || typeof b == "function" || b === s || b === l || b === o || b === r || b === h || b === m || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === p || b.$$typeof === i || b.$$typeof === c || b.$$typeof === u || b.$$typeof === w || b.$$typeof === v || b.$$typeof === N || b.$$typeof === A);
|
|
11735
11711
|
}, ne.typeOf = _, ne;
|
|
11736
11712
|
}
|
|
11737
11713
|
var ae = {};
|
|
11738
11714
|
var Ss;
|
|
11739
11715
|
function np() {
|
|
11740
11716
|
return Ss || (Ss = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
11741
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112,
|
|
11717
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
11742
11718
|
function _(L) {
|
|
11743
11719
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11744
|
-
L === s || L === l || L === o || L === r || L ===
|
|
11720
|
+
L === s || L === l || L === o || L === r || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof === v || L.$$typeof === N || L.$$typeof === A);
|
|
11745
11721
|
}
|
|
11746
11722
|
function E(L) {
|
|
11747
11723
|
if (typeof L == "object" && L !== null) {
|
|
@@ -11755,7 +11731,7 @@ function np() {
|
|
|
11755
11731
|
case s:
|
|
11756
11732
|
case o:
|
|
11757
11733
|
case r:
|
|
11758
|
-
case
|
|
11734
|
+
case h:
|
|
11759
11735
|
return Ft;
|
|
11760
11736
|
default:
|
|
11761
11737
|
var Ra = Ft && Ft.$$typeof;
|
|
@@ -11775,7 +11751,7 @@ function np() {
|
|
|
11775
11751
|
}
|
|
11776
11752
|
}
|
|
11777
11753
|
}
|
|
11778
|
-
var b = d, T = l, q = c, Q = i, ee = t, G = u, P = s, te = g, ce = p, M = n, U = o, x = r, D =
|
|
11754
|
+
var b = d, T = l, q = c, Q = i, ee = t, G = u, P = s, te = g, ce = p, M = n, U = o, x = r, D = h, I = !1;
|
|
11779
11755
|
function z(L) {
|
|
11780
11756
|
return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(L) || E(L) === d;
|
|
11781
11757
|
}
|
|
@@ -11813,7 +11789,7 @@ function np() {
|
|
|
11813
11789
|
return E(L) === r;
|
|
11814
11790
|
}
|
|
11815
11791
|
function ie(L) {
|
|
11816
|
-
return E(L) ===
|
|
11792
|
+
return E(L) === h;
|
|
11817
11793
|
}
|
|
11818
11794
|
ae.AsyncMode = b, ae.ConcurrentMode = T, ae.ContextConsumer = q, ae.ContextProvider = Q, ae.Element = ee, ae.ForwardRef = G, ae.Fragment = P, ae.Lazy = te, ae.Memo = ce, ae.Portal = M, ae.Profiler = U, ae.StrictMode = x, ae.Suspense = D, ae.isAsyncMode = z, ae.isConcurrentMode = y, ae.isContextConsumer = S, ae.isContextProvider = R, ae.isElement = j, ae.isForwardRef = B, ae.isFragment = H, ae.isLazy = V, ae.isMemo = F, ae.isPortal = Z, ae.isProfiler = X, ae.isStrictMode = $, ae.isSuspense = ie, ae.isValidElementType = _, ae.typeOf = E;
|
|
11819
11795
|
})()), ae;
|
|
@@ -11857,12 +11833,12 @@ function ap() {
|
|
|
11857
11833
|
return Wn = r() ? Object.assign : function(o, i) {
|
|
11858
11834
|
for (var c, d = s(o), l, u = 1; u < arguments.length; u++) {
|
|
11859
11835
|
c = Object(arguments[u]);
|
|
11860
|
-
for (var
|
|
11861
|
-
t.call(c,
|
|
11836
|
+
for (var h in c)
|
|
11837
|
+
t.call(c, h) && (d[h] = c[h]);
|
|
11862
11838
|
if (e) {
|
|
11863
11839
|
l = e(c);
|
|
11864
|
-
for (var
|
|
11865
|
-
n.call(c, l[
|
|
11840
|
+
for (var m = 0; m < l.length; m++)
|
|
11841
|
+
n.call(c, l[m]) && (d[l[m]] = c[l[m]]);
|
|
11866
11842
|
}
|
|
11867
11843
|
}
|
|
11868
11844
|
return d;
|
|
@@ -11900,25 +11876,25 @@ function sp() {
|
|
|
11900
11876
|
if (process.env.NODE_ENV !== "production") {
|
|
11901
11877
|
for (var u in o)
|
|
11902
11878
|
if (s(o, u)) {
|
|
11903
|
-
var
|
|
11879
|
+
var h;
|
|
11904
11880
|
try {
|
|
11905
11881
|
if (typeof o[u] != "function") {
|
|
11906
|
-
var
|
|
11882
|
+
var m = Error(
|
|
11907
11883
|
(d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
11908
11884
|
);
|
|
11909
|
-
throw
|
|
11885
|
+
throw m.name = "Invariant Violation", m;
|
|
11910
11886
|
}
|
|
11911
|
-
|
|
11887
|
+
h = o[u](i, u, d, c, null, t);
|
|
11912
11888
|
} catch (g) {
|
|
11913
|
-
|
|
11889
|
+
h = g;
|
|
11914
11890
|
}
|
|
11915
|
-
if (
|
|
11916
|
-
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof
|
|
11917
|
-
),
|
|
11918
|
-
n[
|
|
11891
|
+
if (h && !(h instanceof Error) && e(
|
|
11892
|
+
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
11893
|
+
), h instanceof Error && !(h.message in n)) {
|
|
11894
|
+
n[h.message] = !0;
|
|
11919
11895
|
var p = l ? l() : "";
|
|
11920
11896
|
e(
|
|
11921
|
-
"Failed " + c + " type: " +
|
|
11897
|
+
"Failed " + c + " type: " + h.message + (p ?? "")
|
|
11922
11898
|
);
|
|
11923
11899
|
}
|
|
11924
11900
|
}
|
|
@@ -11947,12 +11923,12 @@ function rp() {
|
|
|
11947
11923
|
}
|
|
11948
11924
|
return Zn = function(c, d) {
|
|
11949
11925
|
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
11950
|
-
function
|
|
11926
|
+
function h(y) {
|
|
11951
11927
|
var S = y && (l && y[l] || y[u]);
|
|
11952
11928
|
if (typeof S == "function")
|
|
11953
11929
|
return S;
|
|
11954
11930
|
}
|
|
11955
|
-
var
|
|
11931
|
+
var m = "<<anonymous>>", p = {
|
|
11956
11932
|
array: v("array"),
|
|
11957
11933
|
bigint: v("bigint"),
|
|
11958
11934
|
bool: v("boolean"),
|
|
@@ -11984,7 +11960,7 @@ function rp() {
|
|
|
11984
11960
|
if (process.env.NODE_ENV !== "production")
|
|
11985
11961
|
var S = {}, R = 0;
|
|
11986
11962
|
function j(H, V, F, Z, X, $, ie) {
|
|
11987
|
-
if (Z = Z ||
|
|
11963
|
+
if (Z = Z || m, $ = $ || F, ie !== n) {
|
|
11988
11964
|
if (d) {
|
|
11989
11965
|
var L = new Error(
|
|
11990
11966
|
"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"
|
|
@@ -12063,7 +12039,7 @@ function rp() {
|
|
|
12063
12039
|
function T(y) {
|
|
12064
12040
|
function S(R, j, B, H, V) {
|
|
12065
12041
|
if (!(R[j] instanceof y)) {
|
|
12066
|
-
var F = y.name ||
|
|
12042
|
+
var F = y.name || m, Z = z(R[j]);
|
|
12067
12043
|
return new A("Invalid " + H + " `" + V + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected ") + ("instance of `" + F + "`."));
|
|
12068
12044
|
}
|
|
12069
12045
|
return null;
|
|
@@ -12190,7 +12166,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
12190
12166
|
return y.every(M);
|
|
12191
12167
|
if (y === null || c(y))
|
|
12192
12168
|
return !0;
|
|
12193
|
-
var S =
|
|
12169
|
+
var S = h(y);
|
|
12194
12170
|
if (S) {
|
|
12195
12171
|
var R = S.call(y), j;
|
|
12196
12172
|
if (S !== y.entries) {
|
|
@@ -12244,7 +12220,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
12244
12220
|
}
|
|
12245
12221
|
}
|
|
12246
12222
|
function z(y) {
|
|
12247
|
-
return !y.constructor || !y.constructor.name ?
|
|
12223
|
+
return !y.constructor || !y.constructor.name ? m : y.constructor.name;
|
|
12248
12224
|
}
|
|
12249
12225
|
return p.checkPropTypes = r, p.resetWarningCache = r.resetWarningCache, p.PropTypes = p, p;
|
|
12250
12226
|
}, Zn;
|
|
@@ -12259,12 +12235,12 @@ function op() {
|
|
|
12259
12235
|
function n() {
|
|
12260
12236
|
}
|
|
12261
12237
|
return n.resetWarningCache = t, Xn = function() {
|
|
12262
|
-
function s(i, c, d, l, u,
|
|
12263
|
-
if (
|
|
12264
|
-
var
|
|
12238
|
+
function s(i, c, d, l, u, h) {
|
|
12239
|
+
if (h !== e) {
|
|
12240
|
+
var m = new Error(
|
|
12265
12241
|
"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"
|
|
12266
12242
|
);
|
|
12267
|
-
throw
|
|
12243
|
+
throw m.name = "Invariant Violation", m;
|
|
12268
12244
|
}
|
|
12269
12245
|
}
|
|
12270
12246
|
s.isRequired = s;
|
|
@@ -12437,7 +12413,7 @@ qn.defaultProps = {
|
|
|
12437
12413
|
badge: "bottomright"
|
|
12438
12414
|
};
|
|
12439
12415
|
var ea, Ls;
|
|
12440
|
-
function
|
|
12416
|
+
function hp() {
|
|
12441
12417
|
if (Ls) return ea;
|
|
12442
12418
|
Ls = 1;
|
|
12443
12419
|
var e = ka(), t = {
|
|
@@ -12478,12 +12454,12 @@ function mp() {
|
|
|
12478
12454
|
function i(g) {
|
|
12479
12455
|
return e.isMemo(g) ? r : o[g.$$typeof] || t;
|
|
12480
12456
|
}
|
|
12481
|
-
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor,
|
|
12457
|
+
var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, m = Object.prototype;
|
|
12482
12458
|
function p(g, A, w) {
|
|
12483
12459
|
if (typeof A != "string") {
|
|
12484
|
-
if (
|
|
12485
|
-
var v =
|
|
12486
|
-
v && v !==
|
|
12460
|
+
if (m) {
|
|
12461
|
+
var v = h(A);
|
|
12462
|
+
v && v !== m && p(g, v, w);
|
|
12487
12463
|
}
|
|
12488
12464
|
var N = d(A);
|
|
12489
12465
|
l && (N = N.concat(l(A)));
|
|
@@ -12502,17 +12478,17 @@ function mp() {
|
|
|
12502
12478
|
}
|
|
12503
12479
|
return ea = p, ea;
|
|
12504
12480
|
}
|
|
12505
|
-
var
|
|
12506
|
-
const fp = /* @__PURE__ */ _t(
|
|
12507
|
-
function
|
|
12508
|
-
return
|
|
12481
|
+
var mp = hp();
|
|
12482
|
+
const fp = /* @__PURE__ */ _t(mp);
|
|
12483
|
+
function ha() {
|
|
12484
|
+
return ha = Object.assign || function(e) {
|
|
12509
12485
|
for (var t = 1; t < arguments.length; t++) {
|
|
12510
12486
|
var n = arguments[t];
|
|
12511
12487
|
for (var s in n)
|
|
12512
12488
|
Object.prototype.hasOwnProperty.call(n, s) && (e[s] = n[s]);
|
|
12513
12489
|
}
|
|
12514
12490
|
return e;
|
|
12515
|
-
},
|
|
12491
|
+
}, ha.apply(this, arguments);
|
|
12516
12492
|
}
|
|
12517
12493
|
function gp(e, t) {
|
|
12518
12494
|
if (e == null) return {};
|
|
@@ -12529,90 +12505,90 @@ function wp(e, t) {
|
|
|
12529
12505
|
return t = t || {}, function(s) {
|
|
12530
12506
|
var r = s.displayName || s.name || "Component", o = /* @__PURE__ */ (function(c) {
|
|
12531
12507
|
pp(d, c);
|
|
12532
|
-
function d(u,
|
|
12533
|
-
var
|
|
12534
|
-
return
|
|
12508
|
+
function d(u, h) {
|
|
12509
|
+
var m;
|
|
12510
|
+
return m = c.call(this, u, h) || this, m.state = {}, m.__scriptURL = "", m;
|
|
12535
12511
|
}
|
|
12536
12512
|
var l = d.prototype;
|
|
12537
12513
|
return l.asyncScriptLoaderGetScriptLoaderID = function() {
|
|
12538
12514
|
return this.__scriptLoaderID || (this.__scriptLoaderID = "async-script-loader-" + Ap++), this.__scriptLoaderID;
|
|
12539
12515
|
}, l.setupScriptURL = function() {
|
|
12540
12516
|
return this.__scriptURL = typeof e == "function" ? e() : e, this.__scriptURL;
|
|
12541
|
-
}, l.asyncScriptLoaderHandleLoad = function(
|
|
12542
|
-
var
|
|
12543
|
-
this.setState(
|
|
12544
|
-
return
|
|
12517
|
+
}, l.asyncScriptLoaderHandleLoad = function(h) {
|
|
12518
|
+
var m = this;
|
|
12519
|
+
this.setState(h, function() {
|
|
12520
|
+
return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
|
|
12545
12521
|
});
|
|
12546
12522
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
12547
|
-
var
|
|
12548
|
-
if (!
|
|
12523
|
+
var h = Le[this.__scriptURL];
|
|
12524
|
+
if (!h || !h.loaded)
|
|
12549
12525
|
throw new Error("Script is not loaded.");
|
|
12550
|
-
for (var
|
|
12551
|
-
|
|
12526
|
+
for (var m in h.observers)
|
|
12527
|
+
h.observers[m](h);
|
|
12552
12528
|
delete window[t.callbackName];
|
|
12553
12529
|
}, l.componentDidMount = function() {
|
|
12554
|
-
var
|
|
12555
|
-
if (A && typeof window[A] < "u" && (Le[
|
|
12530
|
+
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, w = g.callbackName, v = g.scriptId;
|
|
12531
|
+
if (A && typeof window[A] < "u" && (Le[m] = {
|
|
12556
12532
|
loaded: !0,
|
|
12557
12533
|
observers: {}
|
|
12558
|
-
}), Le[
|
|
12559
|
-
var N = Le[
|
|
12534
|
+
}), Le[m]) {
|
|
12535
|
+
var N = Le[m];
|
|
12560
12536
|
if (N && (N.loaded || N.errored)) {
|
|
12561
12537
|
this.asyncScriptLoaderHandleLoad(N);
|
|
12562
12538
|
return;
|
|
12563
12539
|
}
|
|
12564
12540
|
N.observers[p] = function(q) {
|
|
12565
|
-
return
|
|
12541
|
+
return h.asyncScriptLoaderHandleLoad(q);
|
|
12566
12542
|
};
|
|
12567
12543
|
return;
|
|
12568
12544
|
}
|
|
12569
12545
|
var _ = {};
|
|
12570
12546
|
_[p] = function(q) {
|
|
12571
|
-
return
|
|
12572
|
-
}, Le[
|
|
12547
|
+
return h.asyncScriptLoaderHandleLoad(q);
|
|
12548
|
+
}, Le[m] = {
|
|
12573
12549
|
loaded: !1,
|
|
12574
12550
|
observers: _
|
|
12575
12551
|
};
|
|
12576
12552
|
var E = document.createElement("script");
|
|
12577
|
-
E.src =
|
|
12553
|
+
E.src = m, E.async = !0;
|
|
12578
12554
|
for (var b in t.attributes)
|
|
12579
12555
|
E.setAttribute(b, t.attributes[b]);
|
|
12580
12556
|
v && (E.id = v);
|
|
12581
12557
|
var T = function(Q) {
|
|
12582
|
-
if (Le[
|
|
12583
|
-
var ee = Le[
|
|
12558
|
+
if (Le[m]) {
|
|
12559
|
+
var ee = Le[m], G = ee.observers;
|
|
12584
12560
|
for (var P in G)
|
|
12585
12561
|
Q(G[P]) && delete G[P];
|
|
12586
12562
|
}
|
|
12587
12563
|
};
|
|
12588
12564
|
w && typeof window < "u" && (window[w] = function() {
|
|
12589
|
-
return
|
|
12565
|
+
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
12590
12566
|
}), E.onload = function() {
|
|
12591
|
-
var q = Le[
|
|
12567
|
+
var q = Le[m];
|
|
12592
12568
|
q && (q.loaded = !0, T(function(Q) {
|
|
12593
12569
|
return w ? !1 : (Q(q), !0);
|
|
12594
12570
|
}));
|
|
12595
12571
|
}, E.onerror = function() {
|
|
12596
|
-
var q = Le[
|
|
12572
|
+
var q = Le[m];
|
|
12597
12573
|
q && (q.errored = !0, T(function(Q) {
|
|
12598
12574
|
return Q(q), !0;
|
|
12599
12575
|
}));
|
|
12600
12576
|
}, document.body.appendChild(E);
|
|
12601
12577
|
}, l.componentWillUnmount = function() {
|
|
12602
|
-
var
|
|
12578
|
+
var h = this.__scriptURL;
|
|
12603
12579
|
if (t.removeOnUnmount === !0)
|
|
12604
|
-
for (var
|
|
12605
|
-
|
|
12606
|
-
var g = Le[
|
|
12607
|
-
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Le[
|
|
12580
|
+
for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
|
|
12581
|
+
m[p].src.indexOf(h) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
|
|
12582
|
+
var g = Le[h];
|
|
12583
|
+
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Le[h]);
|
|
12608
12584
|
}, l.render = function() {
|
|
12609
|
-
var
|
|
12610
|
-
|
|
12611
|
-
var p =
|
|
12612
|
-
return
|
|
12585
|
+
var h = t.globalName, m = this.props;
|
|
12586
|
+
m.asyncScriptOnLoad;
|
|
12587
|
+
var p = m.forwardedRef, g = gp(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
12588
|
+
return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = p, st(s, g);
|
|
12613
12589
|
}, d;
|
|
12614
12590
|
})(Qr), i = Ds(function(c, d) {
|
|
12615
|
-
return st(o,
|
|
12591
|
+
return st(o, ha({}, c, {
|
|
12616
12592
|
forwardedRef: d
|
|
12617
12593
|
}));
|
|
12618
12594
|
});
|
|
@@ -12621,16 +12597,16 @@ function wp(e, t) {
|
|
|
12621
12597
|
}, fp(i, s);
|
|
12622
12598
|
};
|
|
12623
12599
|
}
|
|
12624
|
-
var
|
|
12600
|
+
var ma = "onloadcallback", yp = "grecaptcha";
|
|
12625
12601
|
function fa() {
|
|
12626
12602
|
return typeof window < "u" && window.recaptchaOptions || {};
|
|
12627
12603
|
}
|
|
12628
12604
|
function vp() {
|
|
12629
12605
|
var e = fa(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
12630
|
-
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" +
|
|
12606
|
+
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + ma + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + ma + "&render=explicit";
|
|
12631
12607
|
}
|
|
12632
12608
|
const qr = wp(vp, {
|
|
12633
|
-
callbackName:
|
|
12609
|
+
callbackName: ma,
|
|
12634
12610
|
globalName: yp,
|
|
12635
12611
|
attributes: fa().nonce ? {
|
|
12636
12612
|
nonce: fa().nonce
|
|
@@ -12684,7 +12660,7 @@ const qr = wp(vp, {
|
|
|
12684
12660
|
}) => {
|
|
12685
12661
|
const [i, c] = K("form"), [d, l] = K(
|
|
12686
12662
|
""
|
|
12687
|
-
), [u,
|
|
12663
|
+
), [u, h] = K(""), [m, p] = K(""), g = [
|
|
12688
12664
|
{ id: "spam", label: We.spam },
|
|
12689
12665
|
{
|
|
12690
12666
|
id: "inappropriate",
|
|
@@ -12704,10 +12680,10 @@ const qr = wp(vp, {
|
|
|
12704
12680
|
], A = async () => {
|
|
12705
12681
|
if (!(!d || !n)) {
|
|
12706
12682
|
if (kr(document).includes(n)) {
|
|
12707
|
-
|
|
12683
|
+
h("Ya has reportado este comentario.");
|
|
12708
12684
|
return;
|
|
12709
12685
|
}
|
|
12710
|
-
c("loading"),
|
|
12686
|
+
c("loading"), h("");
|
|
12711
12687
|
try {
|
|
12712
12688
|
const N = await (await fetch("/api/comments-report", {
|
|
12713
12689
|
method: "POST",
|
|
@@ -12718,7 +12694,7 @@ const qr = wp(vp, {
|
|
|
12718
12694
|
publication: s,
|
|
12719
12695
|
username: r,
|
|
12720
12696
|
id: n,
|
|
12721
|
-
captchaToken:
|
|
12697
|
+
captchaToken: m,
|
|
12722
12698
|
type: We[d]
|
|
12723
12699
|
// Enviamos el label completo
|
|
12724
12700
|
})
|
|
@@ -12730,11 +12706,11 @@ const qr = wp(vp, {
|
|
|
12730
12706
|
else
|
|
12731
12707
|
throw new Error(N.message || "Error al reportar comentario");
|
|
12732
12708
|
} catch (v) {
|
|
12733
|
-
console.error("Error reporting comment:", v),
|
|
12709
|
+
console.error("Error reporting comment:", v), h(v.message || "Error al reportar comentario"), c("form");
|
|
12734
12710
|
}
|
|
12735
12711
|
}
|
|
12736
12712
|
}, w = () => {
|
|
12737
|
-
c("form"), l(""),
|
|
12713
|
+
c("form"), l(""), h(""), t();
|
|
12738
12714
|
};
|
|
12739
12715
|
return !e || !n || !r ? null : /* @__PURE__ */ a("div", { className: ue.overlay, children: /* @__PURE__ */ f("div", { className: ue.popup, children: [
|
|
12740
12716
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: w, children: /* @__PURE__ */ a(Tt, {}) }),
|
|
@@ -12892,20 +12868,20 @@ async function Yp({
|
|
|
12892
12868
|
throw new Error("Invalid input types for publication or path");
|
|
12893
12869
|
if (!c)
|
|
12894
12870
|
throw new Error("Missing CMS API token");
|
|
12895
|
-
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION:
|
|
12896
|
-
if (isNaN(
|
|
12871
|
+
const { PUBLIC_ENV: d, PUBLIC_API_HOST: l, PUBLIC_API_PATH: u, PUBLIC_API_PATH_VERSION: h } = Y(), m = parseInt(String(n), 10), p = parseInt(String(s), 10);
|
|
12872
|
+
if (isNaN(m) || m <= 0)
|
|
12897
12873
|
throw new Error("Invalid size parameter");
|
|
12898
12874
|
if (isNaN(p) || p < 0)
|
|
12899
12875
|
throw new Error("Invalid sizereply parameter");
|
|
12900
|
-
const g = d !== "prod" ? `${l}${u}` :
|
|
12876
|
+
const g = d !== "prod" ? `${l}${u}` : ho(), A = new URLSearchParams({
|
|
12901
12877
|
publication: e,
|
|
12902
12878
|
path: t,
|
|
12903
|
-
size:
|
|
12879
|
+
size: m.toString(),
|
|
12904
12880
|
sizereply: p.toString(),
|
|
12905
12881
|
state: i
|
|
12906
12882
|
});
|
|
12907
12883
|
r && A.append("id", r), o && A.append("lastid", o);
|
|
12908
|
-
const w = `${g}${
|
|
12884
|
+
const w = `${g}${h}/newcomments/get?${A.toString()}`;
|
|
12909
12885
|
try {
|
|
12910
12886
|
console.log("Fetching comments from:", w);
|
|
12911
12887
|
const { data: v } = await re.get(w, {
|
|
@@ -13128,19 +13104,19 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13128
13104
|
throw new Error(
|
|
13129
13105
|
`Error al enviar comentario: ${u?.message} status: ${l.status}`
|
|
13130
13106
|
);
|
|
13131
|
-
const
|
|
13107
|
+
const h = Date.now(), m = Math.max(0, 2400 + Math.abs(h - d)), p = {
|
|
13132
13108
|
username: r.username,
|
|
13133
13109
|
firstname: r.firstname,
|
|
13134
13110
|
...r.lastname && { lastname: r.lastname },
|
|
13135
13111
|
...r.picture && { picture: r.picture }
|
|
13136
13112
|
};
|
|
13137
13113
|
return i({
|
|
13138
|
-
id:
|
|
13114
|
+
id: h.toString(),
|
|
13139
13115
|
text: c,
|
|
13140
13116
|
user: p,
|
|
13141
13117
|
date: { time: Date.now() },
|
|
13142
13118
|
reply: []
|
|
13143
|
-
}), t.current && (t.current.value = ""),
|
|
13119
|
+
}), t.current && (t.current.value = ""), m;
|
|
13144
13120
|
} catch (d) {
|
|
13145
13121
|
return console.error("Error enviando comentario:", d), alert(d.message || "Error al enviar el comentario."), !1;
|
|
13146
13122
|
}
|
|
@@ -13153,11 +13129,11 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13153
13129
|
closeForm: o,
|
|
13154
13130
|
CAPTCHA_KEY_V2: i
|
|
13155
13131
|
}) => {
|
|
13156
|
-
const [c, d] = K(!0), [l, u] = K(""),
|
|
13132
|
+
const [c, d] = K(!0), [l, u] = K(""), h = () => {
|
|
13157
13133
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${gt}`), d(!0), o();
|
|
13158
13134
|
};
|
|
13159
13135
|
return /* @__PURE__ */ f("div", { className: "comment-form reply-form", children: [
|
|
13160
|
-
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick:
|
|
13136
|
+
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: h, children: /* @__PURE__ */ a(Tt, {}) }),
|
|
13161
13137
|
/* @__PURE__ */ a(
|
|
13162
13138
|
Or,
|
|
13163
13139
|
{
|
|
@@ -13176,19 +13152,19 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13176
13152
|
children: /* @__PURE__ */ a(
|
|
13177
13153
|
Dr,
|
|
13178
13154
|
{
|
|
13179
|
-
onClick: async (
|
|
13155
|
+
onClick: async (m) => {
|
|
13180
13156
|
if (c) return;
|
|
13181
13157
|
const p = await Mr({
|
|
13182
13158
|
path: s,
|
|
13183
13159
|
ref: t,
|
|
13184
13160
|
captchaToken: l,
|
|
13185
|
-
button:
|
|
13161
|
+
button: m.currentTarget,
|
|
13186
13162
|
user: n,
|
|
13187
13163
|
id: e,
|
|
13188
13164
|
addComment: r
|
|
13189
13165
|
});
|
|
13190
13166
|
return p && typeof p == "number" ? (setTimeout(() => {
|
|
13191
|
-
|
|
13167
|
+
h();
|
|
13192
13168
|
}, p), !0) : !1;
|
|
13193
13169
|
},
|
|
13194
13170
|
isDisabled: c
|
|
@@ -13214,7 +13190,7 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13214
13190
|
] })
|
|
13215
13191
|
] }) });
|
|
13216
13192
|
}, a9 = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: r, onFlag: o, CAPTCHA_KEY_V2: i, DATE_CONFIG: c }) => {
|
|
13217
|
-
const d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [l, u] = K(d), [
|
|
13193
|
+
const d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [l, u] = K(d), [h, m] = Te.useState(!1), { PUBLIC_PUBLICATION_ID: p, PUBLIC_X_SECURITY_TOKEN: g } = Y(), A = e.text, w = Te.useRef(null);
|
|
13218
13194
|
let v = `${Ke.firstname} ${Ke.lastname}`, N = Ke.username;
|
|
13219
13195
|
e.user && (v = `${e.user.firstname} ${e.user.lastname}`, N = e.user.username);
|
|
13220
13196
|
const _ = (E) => {
|
|
@@ -13262,13 +13238,13 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13262
13238
|
},
|
|
13263
13239
|
E.id
|
|
13264
13240
|
)),
|
|
13265
|
-
|
|
13241
|
+
h ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(Je, {}) }) : l.morereply && /* @__PURE__ */ a(
|
|
13266
13242
|
"button",
|
|
13267
13243
|
{
|
|
13268
13244
|
className: "comment-replies-button reply-button",
|
|
13269
13245
|
onClick: async () => {
|
|
13270
13246
|
const E = l.reply[l.reply.length - 1]?.id;
|
|
13271
|
-
|
|
13247
|
+
m(!0);
|
|
13272
13248
|
try {
|
|
13273
13249
|
const T = await qa({
|
|
13274
13250
|
publication: p ?? "",
|
|
@@ -13280,9 +13256,9 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13280
13256
|
state: "5,6",
|
|
13281
13257
|
apiToken: g ?? ""
|
|
13282
13258
|
});
|
|
13283
|
-
|
|
13259
|
+
m(!1), u({ morereply: T.morecomment, reply: [...l.reply, ...T.comments] });
|
|
13284
13260
|
} catch (b) {
|
|
13285
|
-
throw
|
|
13261
|
+
throw m(!1), new Error(`Error al obtener comentarios: ${b}`);
|
|
13286
13262
|
}
|
|
13287
13263
|
},
|
|
13288
13264
|
children: "Más Respuestas"
|
|
@@ -13350,20 +13326,20 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13350
13326
|
}) => {
|
|
13351
13327
|
const i = t.replaceAll("/", "|"), [c, d] = K(
|
|
13352
13328
|
void 0
|
|
13353
|
-
), [l, u] = K(""), { comments:
|
|
13329
|
+
), [l, u] = K(""), { comments: h, setComments: m } = Zp(i), [p, g] = Te.useState(!1), A = Te.useRef(null), w = (q) => {
|
|
13354
13330
|
u(l === q ? "" : q);
|
|
13355
13331
|
}, v = (q) => {
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
...
|
|
13359
|
-
comments: [q, ...
|
|
13332
|
+
m(
|
|
13333
|
+
h ? {
|
|
13334
|
+
...h,
|
|
13335
|
+
comments: [q, ...h.comments ?? []]
|
|
13360
13336
|
} : void 0
|
|
13361
13337
|
);
|
|
13362
13338
|
}, N = (q) => {
|
|
13363
13339
|
d(q);
|
|
13364
13340
|
}, _ = async () => {
|
|
13365
|
-
if (!
|
|
13366
|
-
const q =
|
|
13341
|
+
if (!h || !h.morecomment || h.comments.length === 0) return;
|
|
13342
|
+
const q = h.comments[h.comments.length - 1];
|
|
13367
13343
|
if (!q) return;
|
|
13368
13344
|
g(!0);
|
|
13369
13345
|
const Q = q.id;
|
|
@@ -13378,14 +13354,14 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13378
13354
|
state: "5,6",
|
|
13379
13355
|
apiToken: o9
|
|
13380
13356
|
});
|
|
13381
|
-
|
|
13357
|
+
m({
|
|
13382
13358
|
morecomment: ee.morecomment ?? !1,
|
|
13383
|
-
comments: [...
|
|
13359
|
+
comments: [...h.comments, ...ee.comments]
|
|
13384
13360
|
}), g(!1);
|
|
13385
13361
|
} catch (ee) {
|
|
13386
13362
|
throw g(!1), new Error(`Error al obtener comentarios: ${ee}`);
|
|
13387
13363
|
}
|
|
13388
|
-
}, E =
|
|
13364
|
+
}, E = h?.comments && h.comments.length > 0, b = E ? "Comparte tu opinión de este artículo." : "Se el primero en compartir tu opinión de este artículo.", T = /* @__PURE__ */ a("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ a(Je, {}) });
|
|
13389
13365
|
return /* @__PURE__ */ f(J, { children: [
|
|
13390
13366
|
/* @__PURE__ */ a("div", { className: "comments-container", children: /* @__PURE__ */ a(ge, { title: E || e ? "COMENTARIOS" : !1, children: /* @__PURE__ */ f(J, { children: [
|
|
13391
13367
|
e && n && /* @__PURE__ */ f("div", { className: "comments-header", children: [
|
|
@@ -13408,13 +13384,13 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13408
13384
|
}
|
|
13409
13385
|
)
|
|
13410
13386
|
] }),
|
|
13411
|
-
|
|
13387
|
+
h ? h.comments && h.comments.length > 0 ? /* @__PURE__ */ f(
|
|
13412
13388
|
"div",
|
|
13413
13389
|
{
|
|
13414
13390
|
className: "comments-list",
|
|
13415
13391
|
"data-isauthenticated": `${e}`,
|
|
13416
13392
|
children: [
|
|
13417
|
-
|
|
13393
|
+
h.comments.map((q) => /* @__PURE__ */ a(
|
|
13418
13394
|
a9,
|
|
13419
13395
|
{
|
|
13420
13396
|
comment: q,
|
|
@@ -13432,7 +13408,7 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13432
13408
|
]
|
|
13433
13409
|
}
|
|
13434
13410
|
) : null : T,
|
|
13435
|
-
|
|
13411
|
+
h?.morecomment && !p && /* @__PURE__ */ a(
|
|
13436
13412
|
"button",
|
|
13437
13413
|
{
|
|
13438
13414
|
className: "comment-replies-button",
|
|
@@ -13501,7 +13477,7 @@ const { PUBLIC_PUBLICATION_ID: Kp } = Y(), Jp = Kp, Zp = (e) => {
|
|
|
13501
13477
|
}
|
|
13502
13478
|
];
|
|
13503
13479
|
function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
13504
|
-
const [s, r] = K({}), [o, i] = K(!1), [c, d] = K(!1), [l, u] = K(null), [
|
|
13480
|
+
const [s, r] = K({}), [o, i] = K(!1), [c, d] = K(!1), [l, u] = K(null), [h, m] = K(
|
|
13505
13481
|
"register"
|
|
13506
13482
|
), p = (v, N) => {
|
|
13507
13483
|
r((_) => ({ ..._, [v]: N }));
|
|
@@ -13543,12 +13519,12 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13543
13519
|
method: "POST",
|
|
13544
13520
|
headers: { "Content-Type": "application/json" },
|
|
13545
13521
|
body: JSON.stringify({ username: s.email })
|
|
13546
|
-
}),
|
|
13522
|
+
}), m("confirm");
|
|
13547
13523
|
return;
|
|
13548
13524
|
}
|
|
13549
13525
|
throw new Error(Q?.error || "Error al crear usuario");
|
|
13550
13526
|
}
|
|
13551
|
-
|
|
13527
|
+
m("confirm");
|
|
13552
13528
|
} catch (N) {
|
|
13553
13529
|
console.log(N), u(N?.message || N?.error || "Error inesperado");
|
|
13554
13530
|
} finally {
|
|
@@ -13573,7 +13549,7 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13573
13549
|
const _ = await N.json().catch(() => ({}));
|
|
13574
13550
|
throw new Error(_?.error || "Error al confirmar usuario");
|
|
13575
13551
|
}
|
|
13576
|
-
|
|
13552
|
+
m("success");
|
|
13577
13553
|
} catch (N) {
|
|
13578
13554
|
u(N?.message || "Error inesperado");
|
|
13579
13555
|
} finally {
|
|
@@ -13581,7 +13557,7 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13581
13557
|
}
|
|
13582
13558
|
}, w = s.password || "";
|
|
13583
13559
|
return /* @__PURE__ */ f(J, { children: [
|
|
13584
|
-
|
|
13560
|
+
h === "register" && /* @__PURE__ */ f(J, { children: [
|
|
13585
13561
|
/* @__PURE__ */ f("button", { onClick: t, className: k.google, children: [
|
|
13586
13562
|
/* @__PURE__ */ a(
|
|
13587
13563
|
"img",
|
|
@@ -13659,7 +13635,7 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13659
13635
|
}
|
|
13660
13636
|
)
|
|
13661
13637
|
] }),
|
|
13662
|
-
|
|
13638
|
+
h === "confirm" && /* @__PURE__ */ f(
|
|
13663
13639
|
"form",
|
|
13664
13640
|
{
|
|
13665
13641
|
onSubmit: A,
|
|
@@ -13689,7 +13665,7 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13689
13665
|
]
|
|
13690
13666
|
}
|
|
13691
13667
|
),
|
|
13692
|
-
|
|
13668
|
+
h === "success" && /* @__PURE__ */ f("form", { className: k.form, children: [
|
|
13693
13669
|
/* @__PURE__ */ f("div", { className: k.successContainer, children: [
|
|
13694
13670
|
/* @__PURE__ */ a("div", { className: k.thumbsUp, children: /* @__PURE__ */ a(
|
|
13695
13671
|
"svg",
|
|
@@ -13714,7 +13690,7 @@ function c9({ goToLogin: e, handleGoogleLogin: t, CAPTCHA_KEY: n }) {
|
|
|
13714
13690
|
] }),
|
|
13715
13691
|
/* @__PURE__ */ a("button", { onClick: e, className: k.primary, children: "Iniciar sesión" })
|
|
13716
13692
|
] }),
|
|
13717
|
-
|
|
13693
|
+
h === "register" && /* @__PURE__ */ f("p", { className: k.switch, children: [
|
|
13718
13694
|
"¿Ya tenés cuenta?",
|
|
13719
13695
|
/* @__PURE__ */ a("button", { type: "button", onClick: e, children: "Iniciar sesión" })
|
|
13720
13696
|
] })
|
|
@@ -13727,7 +13703,7 @@ function l9({
|
|
|
13727
13703
|
handleGoogleLogin: s,
|
|
13728
13704
|
CAPTCHA_KEY: r
|
|
13729
13705
|
}) {
|
|
13730
|
-
const [o, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [
|
|
13706
|
+
const [o, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [v, N] = K(!1), [_, E] = K(!1), [b, T] = K(null);
|
|
13731
13707
|
return console.log("CAPTCHA_KEY", r), /* @__PURE__ */ f(J, { children: [
|
|
13732
13708
|
o === "login" && /* @__PURE__ */ a(
|
|
13733
13709
|
d9,
|
|
@@ -13804,16 +13780,16 @@ function l9({
|
|
|
13804
13780
|
}
|
|
13805
13781
|
),
|
|
13806
13782
|
o === "changePassword" && /* @__PURE__ */ a(
|
|
13807
|
-
|
|
13783
|
+
h9,
|
|
13808
13784
|
{
|
|
13809
13785
|
email: c,
|
|
13810
|
-
confirmationCode:
|
|
13786
|
+
confirmationCode: h,
|
|
13811
13787
|
newPassword: p,
|
|
13812
13788
|
confirmNewPassword: A,
|
|
13813
13789
|
showPassword: v,
|
|
13814
13790
|
loading: _,
|
|
13815
13791
|
error: b,
|
|
13816
|
-
setConfirmationCode:
|
|
13792
|
+
setConfirmationCode: m,
|
|
13817
13793
|
setNewPassword: g,
|
|
13818
13794
|
setConfirmNewPassword: w,
|
|
13819
13795
|
setShowPassword: N,
|
|
@@ -13834,7 +13810,7 @@ function l9({
|
|
|
13834
13810
|
const te = await fetch("/api/auth/confirm-forgot-password", {
|
|
13835
13811
|
method: "POST",
|
|
13836
13812
|
headers: { "Content-Type": "application/json" },
|
|
13837
|
-
body: JSON.stringify({ email: c, code:
|
|
13813
|
+
body: JSON.stringify({ email: c, code: h, newPassword: p })
|
|
13838
13814
|
});
|
|
13839
13815
|
if (!te.ok) {
|
|
13840
13816
|
const ce = await te.json().catch(() => ({}));
|
|
@@ -13853,7 +13829,7 @@ function l9({
|
|
|
13853
13829
|
}
|
|
13854
13830
|
),
|
|
13855
13831
|
o === "feedback" && /* @__PURE__ */ a(
|
|
13856
|
-
|
|
13832
|
+
m9,
|
|
13857
13833
|
{
|
|
13858
13834
|
onBackToLogin: () => {
|
|
13859
13835
|
T(null), i("login");
|
|
@@ -13874,10 +13850,10 @@ function d9({
|
|
|
13874
13850
|
onSubmit: d,
|
|
13875
13851
|
onForgot: l,
|
|
13876
13852
|
onRegister: u,
|
|
13877
|
-
handleGoogleLogin:
|
|
13853
|
+
handleGoogleLogin: h
|
|
13878
13854
|
}) {
|
|
13879
13855
|
return /* @__PURE__ */ f(J, { children: [
|
|
13880
|
-
/* @__PURE__ */ f("button", { onClick:
|
|
13856
|
+
/* @__PURE__ */ f("button", { onClick: h, className: k.google, children: [
|
|
13881
13857
|
/* @__PURE__ */ a(
|
|
13882
13858
|
"img",
|
|
13883
13859
|
{
|
|
@@ -13903,7 +13879,7 @@ function d9({
|
|
|
13903
13879
|
{
|
|
13904
13880
|
type: "email",
|
|
13905
13881
|
value: e,
|
|
13906
|
-
onChange: (
|
|
13882
|
+
onChange: (m) => o(m.target.value),
|
|
13907
13883
|
className: k.input,
|
|
13908
13884
|
placeholder: ""
|
|
13909
13885
|
}
|
|
@@ -13916,7 +13892,7 @@ function d9({
|
|
|
13916
13892
|
{
|
|
13917
13893
|
type: n ? "text" : "password",
|
|
13918
13894
|
value: t,
|
|
13919
|
-
onChange: (
|
|
13895
|
+
onChange: (m) => i(m.target.value),
|
|
13920
13896
|
className: k.input,
|
|
13921
13897
|
placeholder: ""
|
|
13922
13898
|
}
|
|
@@ -13928,7 +13904,7 @@ function d9({
|
|
|
13928
13904
|
id: "showPasswordLogin",
|
|
13929
13905
|
type: "checkbox",
|
|
13930
13906
|
checked: n,
|
|
13931
|
-
onChange: (
|
|
13907
|
+
onChange: (m) => c(m.target.checked)
|
|
13932
13908
|
}
|
|
13933
13909
|
),
|
|
13934
13910
|
/* @__PURE__ */ a("label", { htmlFor: "showPasswordLogin", className: k.checkboxLabel, children: "Mostrar contraseña" })
|
|
@@ -13991,7 +13967,7 @@ function u9({
|
|
|
13991
13967
|
}
|
|
13992
13968
|
);
|
|
13993
13969
|
}
|
|
13994
|
-
function
|
|
13970
|
+
function h9({
|
|
13995
13971
|
email: e,
|
|
13996
13972
|
confirmationCode: t,
|
|
13997
13973
|
newPassword: n,
|
|
@@ -14003,13 +13979,13 @@ function m9({
|
|
|
14003
13979
|
setNewPassword: d,
|
|
14004
13980
|
setConfirmNewPassword: l,
|
|
14005
13981
|
setShowPassword: u,
|
|
14006
|
-
onSubmit:
|
|
14007
|
-
onBack:
|
|
13982
|
+
onSubmit: h,
|
|
13983
|
+
onBack: m
|
|
14008
13984
|
}) {
|
|
14009
13985
|
return /* @__PURE__ */ f(
|
|
14010
13986
|
"form",
|
|
14011
13987
|
{
|
|
14012
|
-
onSubmit:
|
|
13988
|
+
onSubmit: h,
|
|
14013
13989
|
className: k.form,
|
|
14014
13990
|
"data-error": i ? "true" : "false",
|
|
14015
13991
|
children: [
|
|
@@ -14097,12 +14073,12 @@ function m9({
|
|
|
14097
14073
|
children: o ? /* @__PURE__ */ a(Je, {}) : "Cambiar contraseña"
|
|
14098
14074
|
}
|
|
14099
14075
|
),
|
|
14100
|
-
/* @__PURE__ */ a("p", { className: k.switch, children: /* @__PURE__ */ a("button", { type: "button", onClick:
|
|
14076
|
+
/* @__PURE__ */ a("p", { className: k.switch, children: /* @__PURE__ */ a("button", { type: "button", onClick: m, children: "Volver" }) })
|
|
14101
14077
|
]
|
|
14102
14078
|
}
|
|
14103
14079
|
);
|
|
14104
14080
|
}
|
|
14105
|
-
function
|
|
14081
|
+
function m9({ onBackToLogin: e }) {
|
|
14106
14082
|
return /* @__PURE__ */ f("div", { className: k.form, children: [
|
|
14107
14083
|
/* @__PURE__ */ a("p", { className: k.success, children: "La contraseña fue cambiada con éxito" }),
|
|
14108
14084
|
/* @__PURE__ */ a("button", { type: "button", className: k.primary, onClick: e, children: "Iniciar Sesión" })
|
|
@@ -14230,7 +14206,7 @@ function p9({
|
|
|
14230
14206
|
COMMENTS_VARS: s,
|
|
14231
14207
|
DATE_CONFIG: r
|
|
14232
14208
|
}) {
|
|
14233
|
-
const [o, i] = K(null), [c, d] = K(null), l = s?.COGNITO_AUTH_PREFIX ?? "ASTRO_", u =
|
|
14209
|
+
const [o, i] = K(null), [c, d] = K(null), l = s?.COGNITO_AUTH_PREFIX ?? "ASTRO_", u = he(async () => {
|
|
14234
14210
|
if (e) {
|
|
14235
14211
|
if (console.log(l), document.cookie.search(l + "IS_AUTH=true") === -1) {
|
|
14236
14212
|
i(!1), d(null), console.log("user not logged");
|
|
@@ -14255,7 +14231,7 @@ function p9({
|
|
|
14255
14231
|
}
|
|
14256
14232
|
p.gtag("set", { user_id: c.username }), console.log("username setted successfully");
|
|
14257
14233
|
}, [c, e]);
|
|
14258
|
-
const
|
|
14234
|
+
const h = "/api/auth/login", m = /* @__PURE__ */ a(
|
|
14259
14235
|
"div",
|
|
14260
14236
|
{
|
|
14261
14237
|
style: {
|
|
@@ -14268,20 +14244,20 @@ function p9({
|
|
|
14268
14244
|
children: /* @__PURE__ */ a(Je, {})
|
|
14269
14245
|
}
|
|
14270
14246
|
);
|
|
14271
|
-
return o === null ?
|
|
14247
|
+
return o === null ? m : e ? /* @__PURE__ */ a(
|
|
14272
14248
|
g9,
|
|
14273
14249
|
{
|
|
14274
14250
|
icon: n,
|
|
14275
14251
|
isAuthenticated: o,
|
|
14276
14252
|
setIsAuthenticated: i,
|
|
14277
|
-
loginUrl:
|
|
14253
|
+
loginUrl: h,
|
|
14278
14254
|
user: c ?? void 0,
|
|
14279
14255
|
checkAuth: u,
|
|
14280
14256
|
path: t,
|
|
14281
14257
|
COMMENTS_VARS: s,
|
|
14282
14258
|
DATE_CONFIG: r
|
|
14283
14259
|
}
|
|
14284
|
-
) :
|
|
14260
|
+
) : m;
|
|
14285
14261
|
}
|
|
14286
14262
|
const x3 = ({
|
|
14287
14263
|
render: e,
|
|
@@ -14294,12 +14270,12 @@ const x3 = ({
|
|
|
14294
14270
|
COMMENTS_VARS: c,
|
|
14295
14271
|
DATE_CONFIG: d = { PUBLIC_LNG: "es", DATE_TIMEZONE: "America/Mexico_City" }
|
|
14296
14272
|
}) => {
|
|
14297
|
-
const l = Ps(null), [u,
|
|
14273
|
+
const l = Ps(null), [u, h] = Te.useState(i);
|
|
14298
14274
|
Te.useEffect(() => {
|
|
14299
14275
|
if (i || u) return;
|
|
14300
14276
|
const p = new IntersectionObserver(
|
|
14301
14277
|
([g]) => {
|
|
14302
|
-
g?.isIntersecting && (
|
|
14278
|
+
g?.isIntersecting && (h(!0), p.disconnect());
|
|
14303
14279
|
},
|
|
14304
14280
|
{
|
|
14305
14281
|
rootMargin: "0px",
|
|
@@ -14308,7 +14284,7 @@ const x3 = ({
|
|
|
14308
14284
|
);
|
|
14309
14285
|
return l.current && p.observe(l.current), () => p.disconnect();
|
|
14310
14286
|
}, []);
|
|
14311
|
-
const
|
|
14287
|
+
const m = {
|
|
14312
14288
|
comment: /* @__PURE__ */ a(
|
|
14313
14289
|
p9,
|
|
14314
14290
|
{
|
|
@@ -14337,7 +14313,7 @@ const x3 = ({
|
|
|
14337
14313
|
style: {
|
|
14338
14314
|
...r ? r["Modulo 1x3 Client"] ? r["Modulo 1x3 Client"] : r["Modulo 1x3"] : {}
|
|
14339
14315
|
},
|
|
14340
|
-
children:
|
|
14316
|
+
children: m[e]
|
|
14341
14317
|
}
|
|
14342
14318
|
);
|
|
14343
14319
|
};
|
|
@@ -14391,16 +14367,16 @@ async function T3({
|
|
|
14391
14367
|
message: "Captcha inválido. Intenta nuevamente.",
|
|
14392
14368
|
status: 403
|
|
14393
14369
|
};
|
|
14394
|
-
const
|
|
14370
|
+
const h = `${i}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`, m = {
|
|
14395
14371
|
publication: e,
|
|
14396
14372
|
path: t.replace(/\|/gi, "/"),
|
|
14397
14373
|
username: n ?? !1,
|
|
14398
14374
|
text: s.trim()
|
|
14399
14375
|
};
|
|
14400
|
-
r && (
|
|
14401
|
-
const p = new URLSearchParams(
|
|
14376
|
+
r && (m.id = r);
|
|
14377
|
+
const p = new URLSearchParams(m);
|
|
14402
14378
|
try {
|
|
14403
|
-
const { data: g } = await re.get(`${
|
|
14379
|
+
const { data: g } = await re.get(`${h}?${p.toString()}`, {
|
|
14404
14380
|
headers: {
|
|
14405
14381
|
"Content-Type": "application/json",
|
|
14406
14382
|
"x-security-token": d,
|
|
@@ -14483,13 +14459,13 @@ export {
|
|
|
14483
14459
|
yo as AssetsPreconnect,
|
|
14484
14460
|
b3 as AutorComponent,
|
|
14485
14461
|
nu as AutorHeader1,
|
|
14486
|
-
|
|
14462
|
+
mu as AutorHeader2,
|
|
14487
14463
|
Ae as BannerAdvertising,
|
|
14488
14464
|
at as BannerAdvertisingMiddle,
|
|
14489
14465
|
X9 as CarrouselCSR,
|
|
14490
14466
|
Et as CarrouselIRS,
|
|
14491
|
-
|
|
14492
|
-
|
|
14467
|
+
af as CarruselCard,
|
|
14468
|
+
mf as CarruselOpinion,
|
|
14493
14469
|
lt as CommonServices,
|
|
14494
14470
|
Gr as Comscore,
|
|
14495
14471
|
g3 as ContactInfoServer,
|
|
@@ -14499,8 +14475,8 @@ export {
|
|
|
14499
14475
|
Vt as ContentLayout1,
|
|
14500
14476
|
cs as ContentLayoutTema,
|
|
14501
14477
|
w3 as DEBUG_MainSlots,
|
|
14502
|
-
|
|
14503
|
-
|
|
14478
|
+
o2 as DestacadoNoticias,
|
|
14479
|
+
z2 as DestacadoVideos,
|
|
14504
14480
|
dc as DynamicBlockServices,
|
|
14505
14481
|
A3 as DynamicComponents,
|
|
14506
14482
|
Fn as DynamicMainSlot,
|
|
@@ -14523,8 +14499,8 @@ export {
|
|
|
14523
14499
|
tl as ImageOnlineClient,
|
|
14524
14500
|
$9 as IssuuServices,
|
|
14525
14501
|
xo as ItemListSchema,
|
|
14526
|
-
|
|
14527
|
-
|
|
14502
|
+
vm as JournalistArticule2,
|
|
14503
|
+
Tm as JournalistGroup,
|
|
14528
14504
|
Cr as LayoutNewsComponent,
|
|
14529
14505
|
x3 as LazyLoader,
|
|
14530
14506
|
O as LinkComponent,
|
|
@@ -14532,14 +14508,14 @@ export {
|
|
|
14532
14508
|
Z9 as Location,
|
|
14533
14509
|
T9 as MainComponentServices,
|
|
14534
14510
|
Fr as Marfeel,
|
|
14535
|
-
|
|
14511
|
+
ht as MiddleSection,
|
|
14536
14512
|
xr as Modulo1x3,
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
|
|
14513
|
+
nf as Modulo1x3Card,
|
|
14514
|
+
O2 as Modulo1x4,
|
|
14515
|
+
j2 as Modulo1x5,
|
|
14516
|
+
h3 as Modulo2Columnas,
|
|
14517
|
+
R2 as Modulo3Columnas,
|
|
14518
|
+
m3 as ModuloNewsletter,
|
|
14543
14519
|
d3 as ModuloOpinion,
|
|
14544
14520
|
Ig as NewListResponseDataPH,
|
|
14545
14521
|
To as NewsArticle,
|
|
@@ -14559,14 +14535,14 @@ export {
|
|
|
14559
14535
|
ca as SectionCardServerComponent,
|
|
14560
14536
|
f3 as SectionServerComponent,
|
|
14561
14537
|
wc as ShowSection,
|
|
14562
|
-
|
|
14538
|
+
Zf as SocialNetworks,
|
|
14563
14539
|
So as SpeculationRules,
|
|
14564
14540
|
p3 as StaticSlotWrapper,
|
|
14565
14541
|
pl as SubscribeColumn,
|
|
14566
14542
|
Il as SubscribeRow,
|
|
14567
14543
|
e3 as SubscribeWhatsAppColumn,
|
|
14568
14544
|
l3 as TagHeader,
|
|
14569
|
-
|
|
14545
|
+
dm as TagSection,
|
|
14570
14546
|
z1 as TimeLine,
|
|
14571
14547
|
_9 as TrimPathname,
|
|
14572
14548
|
n3 as VideoBlock3,
|
|
@@ -14588,7 +14564,7 @@ export {
|
|
|
14588
14564
|
v9 as formatDateEdiciones,
|
|
14589
14565
|
js as formatDateJournalistArticule,
|
|
14590
14566
|
lo as formatDateTimeline,
|
|
14591
|
-
|
|
14567
|
+
mo as formatNewsMeta,
|
|
14592
14568
|
bo as formatVideoData,
|
|
14593
14569
|
Y9 as generalGetData,
|
|
14594
14570
|
E3 as getCaptchaToken,
|
|
@@ -14596,9 +14572,9 @@ export {
|
|
|
14596
14572
|
Y as getConfig,
|
|
14597
14573
|
W9 as getDynamicSlots,
|
|
14598
14574
|
Mt as getEnvironmentUrl,
|
|
14599
|
-
|
|
14575
|
+
ho as getEnvironmentUrlFront,
|
|
14600
14576
|
E9 as getHydratorPath,
|
|
14601
|
-
|
|
14577
|
+
me as getImageUrl,
|
|
14602
14578
|
$t as getNextMeta,
|
|
14603
14579
|
Yt as getPage,
|
|
14604
14580
|
ba as getPlayIcon,
|
|
@@ -14615,7 +14591,7 @@ export {
|
|
|
14615
14591
|
qa as handleGetComments,
|
|
14616
14592
|
y9 as initLibrary,
|
|
14617
14593
|
Ao as metadataToJSX,
|
|
14618
|
-
|
|
14594
|
+
hc as metadata_defaults,
|
|
14619
14595
|
Gs as parseTags,
|
|
14620
14596
|
fo as pathnameSplit,
|
|
14621
14597
|
C9 as processExtractedRelatedNews,
|