sass-template-common 0.9.71 → 0.9.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.d.ts +13 -0
- package/dist/sass-template-common.js +596 -528
- package/dist/sass-template-common.umd.cjs +27 -27
- package/package.json +1 -1
|
@@ -177,7 +177,7 @@ function Oa() {
|
|
|
177
177
|
(function(s, n) {
|
|
178
178
|
e.exports = n();
|
|
179
179
|
})(Vn, (function() {
|
|
180
|
-
var s = 1e3, n = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month",
|
|
180
|
+
var s = 1e3, n = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", f = "quarter", g = "year", h = "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+)?$/, b = /\[([^\]]+)]|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, E = { 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(q) {
|
|
181
181
|
var x = ["th", "st", "nd", "rd"], U = q % 100;
|
|
182
182
|
return "[" + q + (x[(U - 20) % 10] || x[U] || x[0]) + "]";
|
|
183
183
|
} }, N = function(q, x, U) {
|
|
@@ -193,7 +193,7 @@ function Oa() {
|
|
|
193
193
|
}, a: function(q) {
|
|
194
194
|
return q < 0 ? Math.ceil(q) || 0 : Math.floor(q);
|
|
195
195
|
}, p: function(q) {
|
|
196
|
-
return { M: m, y: g, w: d, d: l, D:
|
|
196
|
+
return { M: m, y: g, w: d, d: l, D: h, h: u, m: c, s: o, ms: i, Q: f }[q] || String(q || "").toLowerCase().replace(/s$/, "");
|
|
197
197
|
}, u: function(q) {
|
|
198
198
|
return q === void 0;
|
|
199
199
|
} }, v = "en", I = {};
|
|
@@ -277,7 +277,7 @@ function Oa() {
|
|
|
277
277
|
var Y = this.$locale().weekStart || 0, ee = (G < Y ? G + 7 : G) - Y;
|
|
278
278
|
return T(F ? V - ee : V + (6 - ee), D);
|
|
279
279
|
case l:
|
|
280
|
-
case
|
|
280
|
+
case h:
|
|
281
281
|
return P(z + "Hours", 0);
|
|
282
282
|
case u:
|
|
283
283
|
return P(z + "Minutes", 1);
|
|
@@ -291,10 +291,10 @@ function Oa() {
|
|
|
291
291
|
}, x.endOf = function(U) {
|
|
292
292
|
return this.startOf(U, !1);
|
|
293
293
|
}, x.$set = function(U, M) {
|
|
294
|
-
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[
|
|
294
|
+
var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[h] = y + "Date", k[m] = y + "Month", k[g] = y + "FullYear", k[u] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (M - this.$W) : M;
|
|
295
295
|
if (F === m || F === g) {
|
|
296
|
-
var G = this.clone().set(
|
|
297
|
-
G.$d[T](P), G.init(), this.$d = G.set(
|
|
296
|
+
var G = this.clone().set(h, 1);
|
|
297
|
+
G.$d[T](P), G.init(), this.$d = G.set(h, Math.min(this.$D, G.daysInMonth())).$d;
|
|
298
298
|
} else T && this.$d[T](P);
|
|
299
299
|
return this.init(), this;
|
|
300
300
|
}, x.set = function(U, M) {
|
|
@@ -395,7 +395,7 @@ function Oa() {
|
|
|
395
395
|
case m:
|
|
396
396
|
F = V();
|
|
397
397
|
break;
|
|
398
|
-
case
|
|
398
|
+
case f:
|
|
399
399
|
F = V() / 3;
|
|
400
400
|
break;
|
|
401
401
|
case d:
|
|
@@ -437,7 +437,7 @@ function Oa() {
|
|
|
437
437
|
return this.$d.toUTCString();
|
|
438
438
|
}, q;
|
|
439
439
|
})(), se = H.prototype;
|
|
440
|
-
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", g], ["$D",
|
|
440
|
+
return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", g], ["$D", h]].forEach((function(q) {
|
|
441
441
|
se[q[1]] = function(x) {
|
|
442
442
|
return this.$g(x, q[0], q[1]);
|
|
443
443
|
};
|
|
@@ -460,15 +460,15 @@ function Wn() {
|
|
|
460
460
|
return function(s, n, r) {
|
|
461
461
|
s = s || {};
|
|
462
462
|
var i = n.prototype, o = { 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" };
|
|
463
|
-
function c(l, d, m,
|
|
464
|
-
return i.fromToBase(l, d, m,
|
|
463
|
+
function c(l, d, m, f) {
|
|
464
|
+
return i.fromToBase(l, d, m, f);
|
|
465
465
|
}
|
|
466
|
-
r.en.relativeTime = o, i.fromToBase = function(l, d, m,
|
|
467
|
-
for (var
|
|
466
|
+
r.en.relativeTime = o, i.fromToBase = function(l, d, m, f, g) {
|
|
467
|
+
for (var h, A, w, b = m.$locale().relativeTime || o, E = s.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 = E.length, S = 0; S < N; S += 1) {
|
|
468
468
|
var v = E[S];
|
|
469
|
-
v.d && (
|
|
470
|
-
var I = (s.rounding || Math.round)(Math.abs(
|
|
471
|
-
if (w =
|
|
469
|
+
v.d && (h = f ? r(l).diff(m, v.d, !0) : m.diff(l, v.d, !0));
|
|
470
|
+
var I = (s.rounding || Math.round)(Math.abs(h));
|
|
471
|
+
if (w = h > 0, I <= v.r || !v.r) {
|
|
472
472
|
I <= 1 && S > 0 && (v = E[S - 1]);
|
|
473
473
|
var R = b[v.l];
|
|
474
474
|
g && (I = g("" + I)), A = typeof R == "string" ? R.replace("%d", I) : R(I, d, v.l, w);
|
|
@@ -561,10 +561,10 @@ function Xn() {
|
|
|
561
561
|
var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
562
562
|
return (N = this.local().add(E + S, s)).$offset = E, N.$x.$localOffset = S, N;
|
|
563
563
|
};
|
|
564
|
-
var
|
|
564
|
+
var f = u.format;
|
|
565
565
|
u.format = function(A) {
|
|
566
566
|
var w = A || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
567
|
-
return
|
|
567
|
+
return f.call(this, w);
|
|
568
568
|
}, u.valueOf = function() {
|
|
569
569
|
var A = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
570
570
|
return this.$d.valueOf() - 6e4 * A;
|
|
@@ -579,11 +579,11 @@ function Xn() {
|
|
|
579
579
|
u.toDate = function(A) {
|
|
580
580
|
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : g.call(this);
|
|
581
581
|
};
|
|
582
|
-
var
|
|
582
|
+
var h = u.diff;
|
|
583
583
|
u.diff = function(A, w, b) {
|
|
584
|
-
if (A && this.$u === A.$u) return
|
|
584
|
+
if (A && this.$u === A.$u) return h.call(this, A, w, b);
|
|
585
585
|
var E = this.local(), N = c(A).local();
|
|
586
|
-
return
|
|
586
|
+
return h.call(E, N, w, b);
|
|
587
587
|
};
|
|
588
588
|
};
|
|
589
589
|
}));
|
|
@@ -599,56 +599,56 @@ function ar() {
|
|
|
599
599
|
})(sr, (function() {
|
|
600
600
|
var s = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
|
|
601
601
|
return function(r, i, o) {
|
|
602
|
-
var c, u = function(
|
|
603
|
-
|
|
604
|
-
var A = new Date(
|
|
602
|
+
var c, u = function(f, g, h) {
|
|
603
|
+
h === void 0 && (h = {});
|
|
604
|
+
var A = new Date(f), w = (function(b, E) {
|
|
605
605
|
E === void 0 && (E = {});
|
|
606
606
|
var N = E.timeZoneName || "short", S = b + "|" + N, v = n[S];
|
|
607
607
|
return v || (v = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: N }), n[S] = v), v;
|
|
608
|
-
})(g,
|
|
608
|
+
})(g, h);
|
|
609
609
|
return w.formatToParts(A);
|
|
610
|
-
}, l = function(
|
|
611
|
-
for (var
|
|
612
|
-
var b =
|
|
610
|
+
}, l = function(f, g) {
|
|
611
|
+
for (var h = u(f, g), A = [], w = 0; w < h.length; w += 1) {
|
|
612
|
+
var b = h[w], E = b.type, N = b.value, S = s[E];
|
|
613
613
|
S >= 0 && (A[S] = parseInt(N, 10));
|
|
614
614
|
}
|
|
615
|
-
var v = A[3], I = v === 24 ? 0 : v, R = A[0] + "-" + A[1] + "-" + A[2] + " " + I + ":" + A[4] + ":" + A[5] + ":000", Q = +
|
|
615
|
+
var v = A[3], I = v === 24 ? 0 : v, R = A[0] + "-" + A[1] + "-" + A[2] + " " + I + ":" + A[4] + ":" + A[5] + ":000", Q = +f;
|
|
616
616
|
return (o.utc(R).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
617
617
|
}, d = i.prototype;
|
|
618
|
-
d.tz = function(
|
|
619
|
-
|
|
620
|
-
var
|
|
621
|
-
if (!Number(N))
|
|
622
|
-
else if (
|
|
623
|
-
var S =
|
|
624
|
-
|
|
618
|
+
d.tz = function(f, g) {
|
|
619
|
+
f === void 0 && (f = c);
|
|
620
|
+
var h, A = this.utcOffset(), w = this.toDate(), b = w.toLocaleString("en-US", { timeZone: f }), E = Math.round((w - new Date(b)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - E;
|
|
621
|
+
if (!Number(N)) h = this.utcOffset(0, g);
|
|
622
|
+
else if (h = o(b, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(N, !0), g) {
|
|
623
|
+
var S = h.utcOffset();
|
|
624
|
+
h = h.add(A - S, "minute");
|
|
625
625
|
}
|
|
626
|
-
return
|
|
627
|
-
}, d.offsetName = function(
|
|
628
|
-
var g = this.$x.$timezone || o.tz.guess(),
|
|
626
|
+
return h.$x.$timezone = f, h;
|
|
627
|
+
}, d.offsetName = function(f) {
|
|
628
|
+
var g = this.$x.$timezone || o.tz.guess(), h = u(this.valueOf(), g, { timeZoneName: f }).find((function(A) {
|
|
629
629
|
return A.type.toLowerCase() === "timezonename";
|
|
630
630
|
}));
|
|
631
|
-
return
|
|
631
|
+
return h && h.value;
|
|
632
632
|
};
|
|
633
633
|
var m = d.startOf;
|
|
634
|
-
d.startOf = function(
|
|
635
|
-
if (!this.$x || !this.$x.$timezone) return m.call(this,
|
|
636
|
-
var
|
|
637
|
-
return m.call(
|
|
638
|
-
}, o.tz = function(
|
|
639
|
-
var A =
|
|
640
|
-
if (typeof
|
|
634
|
+
d.startOf = function(f, g) {
|
|
635
|
+
if (!this.$x || !this.$x.$timezone) return m.call(this, f, g);
|
|
636
|
+
var h = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
637
|
+
return m.call(h, f, g).tz(this.$x.$timezone, !0);
|
|
638
|
+
}, o.tz = function(f, g, h) {
|
|
639
|
+
var A = h && g, w = h || g || c, b = l(+o(), w);
|
|
640
|
+
if (typeof f != "string") return o(f).tz(w);
|
|
641
641
|
var E = (function(I, R, Q) {
|
|
642
642
|
var W = I - 60 * R * 1e3, j = l(W, Q);
|
|
643
643
|
if (R === j) return [W, R];
|
|
644
644
|
var L = l(W -= 60 * (j - R) * 1e3, Q);
|
|
645
645
|
return j === L ? [W, j] : [I - 60 * Math.min(j, L) * 1e3, Math.max(j, L)];
|
|
646
|
-
})(o.utc(
|
|
646
|
+
})(o.utc(f, A).valueOf(), b, w), N = E[0], S = E[1], v = o(N).utcOffset(S);
|
|
647
647
|
return v.$x.$timezone = w, v;
|
|
648
648
|
}, o.tz.guess = function() {
|
|
649
649
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
650
|
-
}, o.tz.setDefault = function(
|
|
651
|
-
c =
|
|
650
|
+
}, o.tz.setDefault = function(f) {
|
|
651
|
+
c = f;
|
|
652
652
|
};
|
|
653
653
|
};
|
|
654
654
|
}));
|
|
@@ -688,8 +688,8 @@ const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
|
|
|
688
688
|
r.forEach((g) => {
|
|
689
689
|
g.type !== "literal" && (i[g.type] = g.value);
|
|
690
690
|
});
|
|
691
|
-
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), u = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = u >= 0 ? "+" : "-", d = (g) => String(Math.floor(Math.abs(g))).padStart(2, "0"), m = d(u / 60),
|
|
692
|
-
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${
|
|
691
|
+
const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), u = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = u >= 0 ? "+" : "-", d = (g) => String(Math.floor(Math.abs(g))).padStart(2, "0"), m = d(u / 60), f = d(u % 60);
|
|
692
|
+
return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${f}`;
|
|
693
693
|
}, xe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
694
694
|
function He(e) {
|
|
695
695
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
@@ -764,15 +764,15 @@ function ns(e) {
|
|
|
764
764
|
const i = r.index + r[0].length;
|
|
765
765
|
let o = 1, c = i, u = i;
|
|
766
766
|
for (; c < t.length && o > 0; ) {
|
|
767
|
-
const g = t.slice(c),
|
|
767
|
+
const g = t.slice(c), h = g.match(/<div\b/i), A = g.match(/<\/div>/i), w = h?.index ?? -1, b = A?.index ?? -1;
|
|
768
768
|
if (b === -1) break;
|
|
769
769
|
const E = w === -1 ? 1 / 0 : c + w, N = c + b;
|
|
770
|
-
w !== -1 && w < b ? (o += 1, c = E +
|
|
770
|
+
w !== -1 && w < b ? (o += 1, c = E + h[0].length) : (o -= 1, u = N, c = N + A[0].length);
|
|
771
771
|
}
|
|
772
772
|
const l = t.slice(i, u), d = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
773
|
-
let
|
|
774
|
-
for (; (
|
|
775
|
-
const g =
|
|
773
|
+
let f;
|
|
774
|
+
for (; (f = m.exec(l)) !== null; ) {
|
|
775
|
+
const g = f[1];
|
|
776
776
|
g && d.push(g);
|
|
777
777
|
}
|
|
778
778
|
d.length > 0 && s.push(d), n = c;
|
|
@@ -827,7 +827,7 @@ const Ad = ns, ur = async (e, t) => {
|
|
|
827
827
|
PUBLIC_ASSETS_URL: r,
|
|
828
828
|
PUBLIC_API_FRONT: i,
|
|
829
829
|
DATE_TIMEZONE: o = "America/Mexico_City"
|
|
830
|
-
} = _(), c = qa(t.keywords) ?? "", u = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", d = mr(n), m = t.main.title.article,
|
|
830
|
+
} = _(), c = qa(t.keywords) ?? "", u = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", d = mr(n), m = t.main.title.article, f = Ws({
|
|
831
831
|
schemaImage: d,
|
|
832
832
|
socialImage: t?.social?.images?.facebook,
|
|
833
833
|
fallbackImage: u,
|
|
@@ -861,7 +861,7 @@ const Ad = ns, ur = async (e, t) => {
|
|
|
861
861
|
url: t?.info?.link?.canonical,
|
|
862
862
|
type: "article",
|
|
863
863
|
description: t?.social?.description ? t?.social?.description : t?.main?.subtitle?.striped ?? "",
|
|
864
|
-
images: [
|
|
864
|
+
images: [f],
|
|
865
865
|
siteName: s.name.toLocaleUpperCase(),
|
|
866
866
|
locale: s.lang.startsWith("en") ? "en_US" : s.lang === "es" ? "es_LA" : s.lang.replace("-", "_")
|
|
867
867
|
},
|
|
@@ -1340,7 +1340,7 @@ const De = (e, t) => {
|
|
|
1340
1340
|
n
|
|
1341
1341
|
), null;
|
|
1342
1342
|
const m = d?.riskAnalysis?.score;
|
|
1343
|
-
return m !== void 0 && (console.log("reCAPTCHA score:", m), d?.riskAnalysis?.reasons?.forEach((
|
|
1343
|
+
return m !== void 0 && (console.log("reCAPTCHA score:", m), d?.riskAnalysis?.reasons?.forEach((f) => console.log(f))), typeof m == "number" ? m : null;
|
|
1344
1344
|
} catch (l) {
|
|
1345
1345
|
return console.error("createAssessment error:", l), null;
|
|
1346
1346
|
}
|
|
@@ -1501,7 +1501,7 @@ const Lr = async ({
|
|
|
1501
1501
|
logow: t.socialBlockLogo?.width,
|
|
1502
1502
|
logoh: t.socialBlockLogo?.height,
|
|
1503
1503
|
authorurl: s + "/autor/"
|
|
1504
|
-
}, d = e.split("/")[1], m = d == "liveblogs" || d == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"],
|
|
1504
|
+
}, d = e.split("/")[1], m = d == "liveblogs" || d == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, g = r !== "false" && i !== "false" ? "/" + r + f : f;
|
|
1505
1505
|
o = (await Promise.all(
|
|
1506
1506
|
m.map(async (A) => {
|
|
1507
1507
|
const w = A === "/news-breadcrumb" ? { ...l, prefixtag: g } : A === "/news" && t.schemasNewsParams ? { ...l, ...t.schemasNewsParams } : l;
|
|
@@ -2411,22 +2411,22 @@ function Ot(e, t, s) {
|
|
|
2411
2411
|
const n = s.metaTokens, r = s.visitor || d, i = s.dots, o = s.indexes, u = (s.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
|
|
2412
2412
|
if (!C.isFunction(r))
|
|
2413
2413
|
throw new TypeError("visitor must be a function");
|
|
2414
|
-
function l(
|
|
2415
|
-
if (
|
|
2416
|
-
if (C.isDate(
|
|
2417
|
-
return
|
|
2418
|
-
if (C.isBoolean(
|
|
2419
|
-
return
|
|
2420
|
-
if (!u && C.isBlob(
|
|
2414
|
+
function l(h) {
|
|
2415
|
+
if (h === null) return "";
|
|
2416
|
+
if (C.isDate(h))
|
|
2417
|
+
return h.toISOString();
|
|
2418
|
+
if (C.isBoolean(h))
|
|
2419
|
+
return h.toString();
|
|
2420
|
+
if (!u && C.isBlob(h))
|
|
2421
2421
|
throw new Z("Blob is not supported. Use a Buffer instead.");
|
|
2422
|
-
return C.isArrayBuffer(
|
|
2422
|
+
return C.isArrayBuffer(h) || C.isTypedArray(h) ? u && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
|
|
2423
2423
|
}
|
|
2424
|
-
function d(
|
|
2425
|
-
let b =
|
|
2426
|
-
if (
|
|
2424
|
+
function d(h, A, w) {
|
|
2425
|
+
let b = h;
|
|
2426
|
+
if (h && !w && typeof h == "object") {
|
|
2427
2427
|
if (C.endsWith(A, "{}"))
|
|
2428
|
-
A = n ? A : A.slice(0, -2),
|
|
2429
|
-
else if (C.isArray(
|
|
2428
|
+
A = n ? A : A.slice(0, -2), h = JSON.stringify(h);
|
|
2429
|
+
else if (C.isArray(h) && Ii(h) || (C.isFileList(h) || C.endsWith(A, "[]")) && (b = C.toArray(h)))
|
|
2430
2430
|
return A = $a(A), b.forEach(function(N, S) {
|
|
2431
2431
|
!(C.isUndefined(N) || N === null) && t.append(
|
|
2432
2432
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -2435,24 +2435,24 @@ function Ot(e, t, s) {
|
|
|
2435
2435
|
);
|
|
2436
2436
|
}), !1;
|
|
2437
2437
|
}
|
|
2438
|
-
return is(
|
|
2438
|
+
return is(h) ? !0 : (t.append(Js(w, A, i), l(h)), !1);
|
|
2439
2439
|
}
|
|
2440
|
-
const m = [],
|
|
2440
|
+
const m = [], f = Object.assign(Ui, {
|
|
2441
2441
|
defaultVisitor: d,
|
|
2442
2442
|
convertValue: l,
|
|
2443
2443
|
isVisitable: is
|
|
2444
2444
|
});
|
|
2445
|
-
function g(
|
|
2446
|
-
if (!C.isUndefined(
|
|
2447
|
-
if (m.indexOf(
|
|
2445
|
+
function g(h, A) {
|
|
2446
|
+
if (!C.isUndefined(h)) {
|
|
2447
|
+
if (m.indexOf(h) !== -1)
|
|
2448
2448
|
throw Error("Circular reference detected in " + A.join("."));
|
|
2449
|
-
m.push(
|
|
2449
|
+
m.push(h), C.forEach(h, function(b, E) {
|
|
2450
2450
|
(!(C.isUndefined(b) || b === null) && r.call(
|
|
2451
2451
|
t,
|
|
2452
2452
|
b,
|
|
2453
2453
|
C.isString(E) ? E.trim() : E,
|
|
2454
2454
|
A,
|
|
2455
|
-
|
|
2455
|
+
f
|
|
2456
2456
|
)) === !0 && g(b, A ? A.concat(E) : [E]);
|
|
2457
2457
|
}), m.pop();
|
|
2458
2458
|
}
|
|
@@ -2938,13 +2938,13 @@ function Ki(e, t) {
|
|
|
2938
2938
|
return t = t !== void 0 ? t : 1e3, function(u) {
|
|
2939
2939
|
const l = Date.now(), d = n[i];
|
|
2940
2940
|
o || (o = l), s[r] = u, n[r] = l;
|
|
2941
|
-
let m = i,
|
|
2941
|
+
let m = i, f = 0;
|
|
2942
2942
|
for (; m !== r; )
|
|
2943
|
-
|
|
2943
|
+
f += s[m++], m = m % e;
|
|
2944
2944
|
if (r = (r + 1) % e, r === i && (i = (i + 1) % e), l - o < t)
|
|
2945
2945
|
return;
|
|
2946
2946
|
const g = d && l - d;
|
|
2947
|
-
return g ? Math.round(
|
|
2947
|
+
return g ? Math.round(f * 1e3 / g) : void 0;
|
|
2948
2948
|
};
|
|
2949
2949
|
}
|
|
2950
2950
|
function Ji(e, t) {
|
|
@@ -3031,14 +3031,14 @@ const sa = (e) => e instanceof Ae ? { ...e } : e;
|
|
|
3031
3031
|
function _e(e, t) {
|
|
3032
3032
|
t = t || {};
|
|
3033
3033
|
const s = {};
|
|
3034
|
-
function n(l, d, m,
|
|
3035
|
-
return C.isPlainObject(l) && C.isPlainObject(d) ? C.merge.call({ caseless:
|
|
3034
|
+
function n(l, d, m, f) {
|
|
3035
|
+
return C.isPlainObject(l) && C.isPlainObject(d) ? C.merge.call({ caseless: f }, l, d) : C.isPlainObject(d) ? C.merge({}, d) : C.isArray(d) ? d.slice() : d;
|
|
3036
3036
|
}
|
|
3037
|
-
function r(l, d, m,
|
|
3037
|
+
function r(l, d, m, f) {
|
|
3038
3038
|
if (C.isUndefined(d)) {
|
|
3039
3039
|
if (!C.isUndefined(l))
|
|
3040
|
-
return n(void 0, l, m,
|
|
3041
|
-
} else return n(l, d, m,
|
|
3040
|
+
return n(void 0, l, m, f);
|
|
3041
|
+
} else return n(l, d, m, f);
|
|
3042
3042
|
}
|
|
3043
3043
|
function i(l, d) {
|
|
3044
3044
|
if (!C.isUndefined(d))
|
|
@@ -3088,8 +3088,8 @@ function _e(e, t) {
|
|
|
3088
3088
|
headers: (l, d, m) => r(sa(l), sa(d), m, !0)
|
|
3089
3089
|
};
|
|
3090
3090
|
return C.forEach(Object.keys({ ...e, ...t }), function(d) {
|
|
3091
|
-
const m = u[d] || r,
|
|
3092
|
-
C.isUndefined(
|
|
3091
|
+
const m = u[d] || r, f = m(e[d], t[d], d);
|
|
3092
|
+
C.isUndefined(f) && m !== c || (s[d] = f);
|
|
3093
3093
|
}), s;
|
|
3094
3094
|
}
|
|
3095
3095
|
const rn = (e) => {
|
|
@@ -3118,9 +3118,9 @@ const rn = (e) => {
|
|
|
3118
3118
|
const r = rn(e);
|
|
3119
3119
|
let i = r.data;
|
|
3120
3120
|
const o = Ae.from(r.headers).normalize();
|
|
3121
|
-
let { responseType: c, onUploadProgress: u, onDownloadProgress: l } = r, d, m,
|
|
3121
|
+
let { responseType: c, onUploadProgress: u, onDownloadProgress: l } = r, d, m, f, g, h;
|
|
3122
3122
|
function A() {
|
|
3123
|
-
g && g(),
|
|
3123
|
+
g && g(), h && h(), r.cancelToken && r.cancelToken.unsubscribe(d), r.signal && r.signal.removeEventListener("abort", d);
|
|
3124
3124
|
}
|
|
3125
3125
|
let w = new XMLHttpRequest();
|
|
3126
3126
|
w.open(r.method.toUpperCase(), r.url, !0), w.timeout = r.timeout;
|
|
@@ -3161,7 +3161,7 @@ const rn = (e) => {
|
|
|
3161
3161
|
)), w = null;
|
|
3162
3162
|
}, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S, v) {
|
|
3163
3163
|
w.setRequestHeader(v, S);
|
|
3164
|
-
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([
|
|
3164
|
+
}), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([f, h] = It(l, !0), w.addEventListener("progress", f)), u && w.upload && ([m, g] = It(u), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (d = (N) => {
|
|
3165
3165
|
w && (n(!N || N.type ? new Je(null, e, w) : N), w.abort(), w = null);
|
|
3166
3166
|
}, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
|
|
3167
3167
|
const E = Yi(r.url);
|
|
@@ -3237,8 +3237,8 @@ const rn = (e) => {
|
|
|
3237
3237
|
}
|
|
3238
3238
|
let m = d.byteLength;
|
|
3239
3239
|
if (s) {
|
|
3240
|
-
let
|
|
3241
|
-
s(
|
|
3240
|
+
let f = i += m;
|
|
3241
|
+
s(f);
|
|
3242
3242
|
}
|
|
3243
3243
|
u.enqueue(new Uint8Array(d));
|
|
3244
3244
|
} catch (l) {
|
|
@@ -3270,46 +3270,46 @@ const rn = (e) => {
|
|
|
3270
3270
|
const { fetch: t, Request: s, Response: n } = e, r = t ? mt(t) : typeof fetch == "function", i = mt(s), o = mt(n);
|
|
3271
3271
|
if (!r)
|
|
3272
3272
|
return !1;
|
|
3273
|
-
const c = r && mt(ra), u = r && (typeof ia == "function" ? /* @__PURE__ */ ((
|
|
3274
|
-
let
|
|
3273
|
+
const c = r && mt(ra), u = r && (typeof ia == "function" ? /* @__PURE__ */ ((h) => (A) => h.encode(A))(new ia()) : async (h) => new Uint8Array(await new s(h).arrayBuffer())), l = i && c && oa(() => {
|
|
3274
|
+
let h = !1;
|
|
3275
3275
|
const A = new s(de.origin, {
|
|
3276
3276
|
body: new ra(),
|
|
3277
3277
|
method: "POST",
|
|
3278
3278
|
get duplex() {
|
|
3279
|
-
return
|
|
3279
|
+
return h = !0, "half";
|
|
3280
3280
|
}
|
|
3281
3281
|
}).headers.has("Content-Type");
|
|
3282
|
-
return
|
|
3282
|
+
return h && !A;
|
|
3283
3283
|
}), d = o && c && oa(() => C.isReadableStream(new n("").body)), m = {
|
|
3284
|
-
stream: d && ((
|
|
3284
|
+
stream: d && ((h) => h.body)
|
|
3285
3285
|
};
|
|
3286
|
-
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((
|
|
3287
|
-
!m[
|
|
3288
|
-
let b = A && A[
|
|
3286
|
+
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((h) => {
|
|
3287
|
+
!m[h] && (m[h] = (A, w) => {
|
|
3288
|
+
let b = A && A[h];
|
|
3289
3289
|
if (b)
|
|
3290
3290
|
return b.call(A);
|
|
3291
|
-
throw new Z(`Response type '${
|
|
3291
|
+
throw new Z(`Response type '${h}' is not supported`, Z.ERR_NOT_SUPPORT, w);
|
|
3292
3292
|
});
|
|
3293
3293
|
});
|
|
3294
|
-
const
|
|
3295
|
-
if (
|
|
3294
|
+
const f = async (h) => {
|
|
3295
|
+
if (h == null)
|
|
3296
3296
|
return 0;
|
|
3297
|
-
if (C.isBlob(
|
|
3298
|
-
return
|
|
3299
|
-
if (C.isSpecCompliantForm(
|
|
3297
|
+
if (C.isBlob(h))
|
|
3298
|
+
return h.size;
|
|
3299
|
+
if (C.isSpecCompliantForm(h))
|
|
3300
3300
|
return (await new s(de.origin, {
|
|
3301
3301
|
method: "POST",
|
|
3302
|
-
body:
|
|
3302
|
+
body: h
|
|
3303
3303
|
}).arrayBuffer()).byteLength;
|
|
3304
|
-
if (C.isArrayBufferView(
|
|
3305
|
-
return
|
|
3306
|
-
if (C.isURLSearchParams(
|
|
3307
|
-
return (await u(
|
|
3308
|
-
}, g = async (
|
|
3309
|
-
const w = C.toFiniteNumber(
|
|
3310
|
-
return w ??
|
|
3304
|
+
if (C.isArrayBufferView(h) || C.isArrayBuffer(h))
|
|
3305
|
+
return h.byteLength;
|
|
3306
|
+
if (C.isURLSearchParams(h) && (h = h + ""), C.isString(h))
|
|
3307
|
+
return (await u(h)).byteLength;
|
|
3308
|
+
}, g = async (h, A) => {
|
|
3309
|
+
const w = C.toFiniteNumber(h.getContentLength());
|
|
3310
|
+
return w ?? f(A);
|
|
3311
3311
|
};
|
|
3312
|
-
return async (
|
|
3312
|
+
return async (h) => {
|
|
3313
3313
|
let {
|
|
3314
3314
|
url: A,
|
|
3315
3315
|
method: w,
|
|
@@ -3323,7 +3323,7 @@ const rn = (e) => {
|
|
|
3323
3323
|
headers: Q,
|
|
3324
3324
|
withCredentials: W = "same-origin",
|
|
3325
3325
|
fetchOptions: j
|
|
3326
|
-
} = rn(
|
|
3326
|
+
} = rn(h), L = t || fetch;
|
|
3327
3327
|
R = R ? (R + "").toLowerCase() : "text";
|
|
3328
3328
|
let H = ao([E, N && N.toAbortSignal()], S), se = null;
|
|
3329
3329
|
const q = H && H.unsubscribe && (() => {
|
|
@@ -3375,24 +3375,24 @@ const rn = (e) => {
|
|
|
3375
3375
|
);
|
|
3376
3376
|
}
|
|
3377
3377
|
R = R || "text";
|
|
3378
|
-
let y = await m[C.findKey(m, R) || "text"](k,
|
|
3378
|
+
let y = await m[C.findKey(m, R) || "text"](k, h);
|
|
3379
3379
|
return !F && q && q(), await new Promise((T, P) => {
|
|
3380
3380
|
an(T, P, {
|
|
3381
3381
|
data: y,
|
|
3382
3382
|
headers: Ae.from(k.headers),
|
|
3383
3383
|
status: k.status,
|
|
3384
3384
|
statusText: k.statusText,
|
|
3385
|
-
config:
|
|
3385
|
+
config: h,
|
|
3386
3386
|
request: se
|
|
3387
3387
|
});
|
|
3388
3388
|
});
|
|
3389
3389
|
} catch (U) {
|
|
3390
3390
|
throw q && q(), U && U.name === "TypeError" && /Load failed|fetch/i.test(U.message) ? Object.assign(
|
|
3391
|
-
new Z("Network Error", Z.ERR_NETWORK,
|
|
3391
|
+
new Z("Network Error", Z.ERR_NETWORK, h, se),
|
|
3392
3392
|
{
|
|
3393
3393
|
cause: U.cause || U
|
|
3394
3394
|
}
|
|
3395
|
-
) : Z.from(U, U && U.code,
|
|
3395
|
+
) : Z.from(U, U && U.code, h, se);
|
|
3396
3396
|
}
|
|
3397
3397
|
};
|
|
3398
3398
|
}, lo = /* @__PURE__ */ new Map(), on = (e) => {
|
|
@@ -3590,8 +3590,8 @@ let qe = class {
|
|
|
3590
3590
|
);
|
|
3591
3591
|
i && C.forEach(
|
|
3592
3592
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
3593
|
-
(
|
|
3594
|
-
delete i[
|
|
3593
|
+
(h) => {
|
|
3594
|
+
delete i[h];
|
|
3595
3595
|
}
|
|
3596
3596
|
), s.headers = Ae.concat(o, i);
|
|
3597
3597
|
const c = [];
|
|
@@ -3603,19 +3603,19 @@ let qe = class {
|
|
|
3603
3603
|
this.interceptors.response.forEach(function(A) {
|
|
3604
3604
|
l.push(A.fulfilled, A.rejected);
|
|
3605
3605
|
});
|
|
3606
|
-
let d, m = 0,
|
|
3606
|
+
let d, m = 0, f;
|
|
3607
3607
|
if (!u) {
|
|
3608
|
-
const
|
|
3609
|
-
for (
|
|
3610
|
-
d = d.then(
|
|
3608
|
+
const h = [la.bind(this), void 0];
|
|
3609
|
+
for (h.unshift(...c), h.push(...l), f = h.length, d = Promise.resolve(s); m < f; )
|
|
3610
|
+
d = d.then(h[m++], h[m++]);
|
|
3611
3611
|
return d;
|
|
3612
3612
|
}
|
|
3613
|
-
|
|
3613
|
+
f = c.length;
|
|
3614
3614
|
let g = s;
|
|
3615
|
-
for (; m <
|
|
3616
|
-
const
|
|
3615
|
+
for (; m < f; ) {
|
|
3616
|
+
const h = c[m++], A = c[m++];
|
|
3617
3617
|
try {
|
|
3618
|
-
g =
|
|
3618
|
+
g = h(g);
|
|
3619
3619
|
} catch (w) {
|
|
3620
3620
|
A.call(this, w);
|
|
3621
3621
|
break;
|
|
@@ -3623,10 +3623,10 @@ let qe = class {
|
|
|
3623
3623
|
}
|
|
3624
3624
|
try {
|
|
3625
3625
|
d = la.call(this, g);
|
|
3626
|
-
} catch (
|
|
3627
|
-
return Promise.reject(
|
|
3626
|
+
} catch (h) {
|
|
3627
|
+
return Promise.reject(h);
|
|
3628
3628
|
}
|
|
3629
|
-
for (m = 0,
|
|
3629
|
+
for (m = 0, f = l.length; m < f; )
|
|
3630
3630
|
d = d.then(l[m++], l[m++]);
|
|
3631
3631
|
return d;
|
|
3632
3632
|
}
|
|
@@ -4200,7 +4200,7 @@ class Be {
|
|
|
4200
4200
|
exclude: n.getAutorInfo,
|
|
4201
4201
|
imagesizes: s.getAutorInfo
|
|
4202
4202
|
}))?.data.data ?? []);
|
|
4203
|
-
const l = ns(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((b) => ns(b)),
|
|
4203
|
+
const l = ns(c), m = (He(i)?.data ?? [])[0]?.list?.items?.map((b) => ns(b)), f = [];
|
|
4204
4204
|
console.log("newsRelatedList: ", m), m?.forEach((b) => {
|
|
4205
4205
|
b && b.length > 0 && b.forEach((E) => {
|
|
4206
4206
|
E.forEach((N) => {
|
|
@@ -4209,14 +4209,14 @@ class Be {
|
|
|
4209
4209
|
imagesizes: s.getNewsItemsRelated,
|
|
4210
4210
|
exclude: n.getNewsItemsRelated
|
|
4211
4211
|
});
|
|
4212
|
-
S &&
|
|
4212
|
+
S && f.push(
|
|
4213
4213
|
S
|
|
4214
4214
|
);
|
|
4215
4215
|
});
|
|
4216
4216
|
});
|
|
4217
|
-
}), console.log("newsRelatedListRequest: ",
|
|
4218
|
-
const
|
|
4219
|
-
...
|
|
4217
|
+
}), console.log("newsRelatedListRequest: ", f);
|
|
4218
|
+
const h = (await Promise.allSettled([
|
|
4219
|
+
...f
|
|
4220
4220
|
])).map(
|
|
4221
4221
|
(b) => He(b)?.data
|
|
4222
4222
|
), A = await ur(
|
|
@@ -4234,7 +4234,7 @@ class Be {
|
|
|
4234
4234
|
autor: u,
|
|
4235
4235
|
newsRelatedResponses: A,
|
|
4236
4236
|
itemList: He(i)?.data ?? [],
|
|
4237
|
-
newsRelatedListResponses:
|
|
4237
|
+
newsRelatedListResponses: h,
|
|
4238
4238
|
schemasImages: w ?? []
|
|
4239
4239
|
};
|
|
4240
4240
|
};
|
|
@@ -4409,21 +4409,21 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4409
4409
|
exclude: o
|
|
4410
4410
|
}), u = [];
|
|
4411
4411
|
for (let m = 1; m <= r; m++)
|
|
4412
|
-
for (let
|
|
4412
|
+
for (let f = 1; f <= i; f++)
|
|
4413
4413
|
u.push({
|
|
4414
4414
|
func: c.getBlockSass,
|
|
4415
|
-
slot_id: m + "_" +
|
|
4415
|
+
slot_id: m + "_" + f
|
|
4416
4416
|
});
|
|
4417
4417
|
const l = await Promise.allSettled([
|
|
4418
4418
|
...u.map((m) => m.func({ template: "Home_" + m.slot_id }))
|
|
4419
4419
|
]);
|
|
4420
4420
|
return (() => {
|
|
4421
4421
|
const m = {};
|
|
4422
|
-
for (let
|
|
4422
|
+
for (let f = 0; f < l.length; f++) {
|
|
4423
4423
|
const g = or(
|
|
4424
|
-
l[
|
|
4425
|
-
),
|
|
4426
|
-
g && (m[
|
|
4424
|
+
l[f]
|
|
4425
|
+
), h = "Home_" + (Math.floor(f / i) + 1) + "_" + (Math.floor(f % i) + 1);
|
|
4426
|
+
g && (m[h] = { ...g });
|
|
4427
4427
|
}
|
|
4428
4428
|
return m;
|
|
4429
4429
|
})();
|
|
@@ -4499,8 +4499,8 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4499
4499
|
page: l
|
|
4500
4500
|
});
|
|
4501
4501
|
if (!m) return fe(t);
|
|
4502
|
-
const
|
|
4503
|
-
return
|
|
4502
|
+
const f = m.data.data, g = f[0];
|
|
4503
|
+
return f.length < d || u.push({ rel: "next", url: lt(s, c, l) }), l > 1 && u.push({ rel: "prev", url: dt(s, c, l) }), {
|
|
4504
4504
|
...t,
|
|
4505
4505
|
title: `Últimas Noticias de ${g.info.section?.name} | ${s.name}`,
|
|
4506
4506
|
description: `Todas las últimas noticias de ${g.info.section?.name} en ${s.name}`,
|
|
@@ -4535,19 +4535,19 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4535
4535
|
}
|
|
4536
4536
|
},
|
|
4537
4537
|
tema: async (e) => {
|
|
4538
|
-
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = n.split("/"), u = [], l = ut(n), d = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""),
|
|
4538
|
+
const { meta: t, config: s, pathname: n, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = n.split("/"), u = [], l = ut(n), d = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), f = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: g } = _();
|
|
4539
4539
|
try {
|
|
4540
|
-
const
|
|
4541
|
-
tagid:
|
|
4540
|
+
const h = await o.getNewsListTags({
|
|
4541
|
+
tagid: f,
|
|
4542
4542
|
size: d,
|
|
4543
4543
|
tagtype: Number(g),
|
|
4544
4544
|
newstype: s.newsType,
|
|
4545
4545
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4546
4546
|
page: l
|
|
4547
4547
|
});
|
|
4548
|
-
if (!
|
|
4549
|
-
const A =
|
|
4550
|
-
return A ? (
|
|
4548
|
+
if (!h) return fe(t);
|
|
4549
|
+
const A = h.data.entity;
|
|
4550
|
+
return A ? (h.data.data?.length < d || u.push({
|
|
4551
4551
|
rel: "next",
|
|
4552
4552
|
url: lt(s, c, l)
|
|
4553
4553
|
}), l > 1 && u.push({
|
|
@@ -4583,8 +4583,8 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4583
4583
|
url: `${s.siteUrl}${n}`
|
|
4584
4584
|
}
|
|
4585
4585
|
}) : t;
|
|
4586
|
-
} catch (
|
|
4587
|
-
return console.error(
|
|
4586
|
+
} catch (h) {
|
|
4587
|
+
return console.error(h), fe(t);
|
|
4588
4588
|
}
|
|
4589
4589
|
},
|
|
4590
4590
|
"ultimas-noticias": (e) => {
|
|
@@ -4712,7 +4712,7 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4712
4712
|
user: i,
|
|
4713
4713
|
exclude: "groups",
|
|
4714
4714
|
imagesizes: r.sm
|
|
4715
|
-
}),
|
|
4715
|
+
}), f = await c.getNewsListAutor({
|
|
4716
4716
|
size: Number(s.newsListLimit) ?? 0,
|
|
4717
4717
|
user: i,
|
|
4718
4718
|
page: d,
|
|
@@ -4720,7 +4720,7 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4720
4720
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
4721
4721
|
imagesizes: r.md
|
|
4722
4722
|
});
|
|
4723
|
-
return
|
|
4723
|
+
return f ? (f.data.data.length < Number(s.newsListLimit) || l.push({
|
|
4724
4724
|
rel: "next",
|
|
4725
4725
|
url: lt(s, u, d)
|
|
4726
4726
|
}), d > 1 && l.push({
|
|
@@ -4761,7 +4761,7 @@ const Jd = async (e, t, s, n, r, i, o) => {
|
|
|
4761
4761
|
alternateName: e.info.nickname ? e.info.nickname : e.info.name,
|
|
4762
4762
|
identifier: e.info.id,
|
|
4763
4763
|
description: bo(e.addtional?.USER_MIBIO ?? ""),
|
|
4764
|
-
image: e.info.image ? e.info.image.sizes.map((m,
|
|
4764
|
+
image: e.info.image ? e.info.image.sizes.map((m, f) => f === 0 && e.info.image.sizes.length !== 1 ? null : l + m.url).filter(Boolean) : [],
|
|
4765
4765
|
sameAs: [
|
|
4766
4766
|
e.addtional?.USER_USERFB,
|
|
4767
4767
|
e.addtional?.USER_USERIG,
|
|
@@ -4796,9 +4796,9 @@ async function Zd({
|
|
|
4796
4796
|
autor: l,
|
|
4797
4797
|
listAutor: d,
|
|
4798
4798
|
currentNew: m,
|
|
4799
|
-
banners:
|
|
4799
|
+
banners: f,
|
|
4800
4800
|
schemasImages: g,
|
|
4801
|
-
internalPath:
|
|
4801
|
+
internalPath: h,
|
|
4802
4802
|
config: A,
|
|
4803
4803
|
socials: w,
|
|
4804
4804
|
speculationType: b = "Common",
|
|
@@ -4818,14 +4818,14 @@ async function Zd({
|
|
|
4818
4818
|
texts: c,
|
|
4819
4819
|
query: u,
|
|
4820
4820
|
axiosApi: e,
|
|
4821
|
-
internalPath:
|
|
4821
|
+
internalPath: h,
|
|
4822
4822
|
schemasImages: R
|
|
4823
4823
|
}), W = Ar(Q), j = v || Ga[r]({
|
|
4824
4824
|
pathname: i,
|
|
4825
4825
|
slug: o,
|
|
4826
4826
|
config: A,
|
|
4827
4827
|
currentNew: m,
|
|
4828
|
-
internalPath:
|
|
4828
|
+
internalPath: h
|
|
4829
4829
|
});
|
|
4830
4830
|
return /* @__PURE__ */ p(J, { children: [
|
|
4831
4831
|
/* @__PURE__ */ a("meta", { charSet: "utf-8" }),
|
|
@@ -4855,24 +4855,24 @@ async function Zd({
|
|
|
4855
4855
|
{
|
|
4856
4856
|
name: "headscripts",
|
|
4857
4857
|
replaces: j,
|
|
4858
|
-
banners:
|
|
4858
|
+
banners: f
|
|
4859
4859
|
}
|
|
4860
4860
|
),
|
|
4861
|
-
t.schemas_NewsArticle &&
|
|
4861
|
+
t.schemas_NewsArticle && h && /* @__PURE__ */ a(
|
|
4862
4862
|
Lr,
|
|
4863
4863
|
{
|
|
4864
4864
|
BASE_URL: A.siteUrl,
|
|
4865
4865
|
config: A,
|
|
4866
|
-
realPath:
|
|
4866
|
+
realPath: h,
|
|
4867
4867
|
axiosApi: e
|
|
4868
4868
|
}
|
|
4869
4869
|
),
|
|
4870
4870
|
/* @__PURE__ */ a(Pr, { config: A, socials: w }),
|
|
4871
|
-
t.schemas_Videos &&
|
|
4871
|
+
t.schemas_Videos && h && /* @__PURE__ */ a(
|
|
4872
4872
|
Or,
|
|
4873
4873
|
{
|
|
4874
4874
|
axiosApi: e,
|
|
4875
|
-
realPath:
|
|
4875
|
+
realPath: h,
|
|
4876
4876
|
config: A
|
|
4877
4877
|
}
|
|
4878
4878
|
),
|
|
@@ -4918,13 +4918,13 @@ const Xd = ({
|
|
|
4918
4918
|
scriptReplaces: l,
|
|
4919
4919
|
body_custom_elements: d
|
|
4920
4920
|
}) => {
|
|
4921
|
-
const m = Gn(c, u),
|
|
4921
|
+
const m = Gn(c, u), f = Ga[t]({
|
|
4922
4922
|
pathname: n,
|
|
4923
4923
|
slug: r,
|
|
4924
4924
|
config: i,
|
|
4925
4925
|
currentNew: c,
|
|
4926
4926
|
internalPath: o
|
|
4927
|
-
}), g = l.before.active,
|
|
4927
|
+
}), g = l.before.active, h = l.after.active, A = g ? l.before.customData ? l.before.customData : f : void 0, w = h ? l.after.customData ? l.after.customData : f : void 0;
|
|
4928
4928
|
return /* @__PURE__ */ p(J, { children: [
|
|
4929
4929
|
/* @__PURE__ */ a(Da, { name: "bodybefore", banners: s, replaces: A }),
|
|
4930
4930
|
e,
|
|
@@ -4971,7 +4971,7 @@ function No({
|
|
|
4971
4971
|
enableDrag: i,
|
|
4972
4972
|
onIndexChange: o
|
|
4973
4973
|
}) {
|
|
4974
|
-
const [c, u] = $(!1), [l, d] = $(0), [m,
|
|
4974
|
+
const [c, u] = $(!1), [l, d] = $(0), [m, f] = $(0), [g, h] = $(0), [A, w] = $(0), [b, E] = $(null), N = Mn(null), [S, v] = $(1), I = ce(() => {
|
|
4975
4975
|
if (r) return 1;
|
|
4976
4976
|
const y = N.current?.offsetWidth || window.innerWidth, T = s + n, P = Math.floor(y / T);
|
|
4977
4977
|
return Math.max(1, P);
|
|
@@ -5011,14 +5011,14 @@ function No({
|
|
|
5011
5011
|
[r, s, n, I, W]
|
|
5012
5012
|
), H = ce(
|
|
5013
5013
|
(y) => {
|
|
5014
|
-
i && (d(y),
|
|
5014
|
+
i && (d(y), f(y), h(0), w(Date.now()), u(!0), document.body.classList.add("dragging"));
|
|
5015
5015
|
},
|
|
5016
5016
|
[i]
|
|
5017
5017
|
), se = ce(
|
|
5018
5018
|
(y) => {
|
|
5019
5019
|
if (!c || !i) return;
|
|
5020
5020
|
const T = y - l, P = (s + n) * 1.2, G = e === 0 && T > 0, D = e === Q && T < 0, V = G || D ? Math.sign(T) * Math.min(Math.abs(T), P) : T;
|
|
5021
|
-
|
|
5021
|
+
f(y), h(V);
|
|
5022
5022
|
},
|
|
5023
5023
|
[c, l, i, e, Q, s, n]
|
|
5024
5024
|
), q = ce(
|
|
@@ -5038,7 +5038,7 @@ function No({
|
|
|
5038
5038
|
const Y = Math.min(Q, e + z);
|
|
5039
5039
|
o(Y);
|
|
5040
5040
|
}
|
|
5041
|
-
u(!1),
|
|
5041
|
+
u(!1), h(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", x), y.clientX === l && b?.dispatchEvent(new PointerEvent("click"));
|
|
5042
5042
|
},
|
|
5043
5043
|
[
|
|
5044
5044
|
c,
|
|
@@ -5108,14 +5108,14 @@ function tu(e) {
|
|
|
5108
5108
|
fullPageWidth: o = !1,
|
|
5109
5109
|
pagination: c = !1,
|
|
5110
5110
|
enableDrag: u = !0
|
|
5111
|
-
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] = $(0), [
|
|
5111
|
+
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] = $(0), [f, g] = $(!1);
|
|
5112
5112
|
Te(() => {
|
|
5113
5113
|
g(!0);
|
|
5114
5114
|
const j = document.getElementById("ssr-dummy_" + s);
|
|
5115
5115
|
j && j.remove();
|
|
5116
5116
|
}, []);
|
|
5117
5117
|
const {
|
|
5118
|
-
isDragging:
|
|
5118
|
+
isDragging: h,
|
|
5119
5119
|
translateOffset: A,
|
|
5120
5120
|
carrouselRef: w,
|
|
5121
5121
|
maxIndex: b,
|
|
@@ -5141,7 +5141,7 @@ function tu(e) {
|
|
|
5141
5141
|
}, [d, v]), R = ce(() => {
|
|
5142
5142
|
v(d + 1);
|
|
5143
5143
|
}, [d, v]);
|
|
5144
|
-
if (!
|
|
5144
|
+
if (!f) return;
|
|
5145
5145
|
const Q = E(d, A), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
|
|
5146
5146
|
return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
|
|
5147
5147
|
d > 0 && /* @__PURE__ */ a(
|
|
@@ -5204,7 +5204,7 @@ function tu(e) {
|
|
|
5204
5204
|
style: {
|
|
5205
5205
|
gap: i,
|
|
5206
5206
|
margin: i === 0 ? "0" : "0 0.5rem 1rem",
|
|
5207
|
-
cursor: u ?
|
|
5207
|
+
cursor: u ? h ? "grabbing" : "grab" : "default",
|
|
5208
5208
|
justifyContent: "start !important"
|
|
5209
5209
|
},
|
|
5210
5210
|
...S,
|
|
@@ -5214,11 +5214,11 @@ function tu(e) {
|
|
|
5214
5214
|
className: "card",
|
|
5215
5215
|
style: {
|
|
5216
5216
|
transform: W,
|
|
5217
|
-
transition:
|
|
5217
|
+
transition: h ? "none" : "transform 300ms ease",
|
|
5218
5218
|
minWidth: o ? "100%" : r,
|
|
5219
5219
|
width: "min-content",
|
|
5220
|
-
userSelect:
|
|
5221
|
-
pointerEvents:
|
|
5220
|
+
userSelect: h ? "none" : "auto",
|
|
5221
|
+
pointerEvents: h ? "none" : "auto"
|
|
5222
5222
|
},
|
|
5223
5223
|
dangerouslySetInnerHTML: { __html: j }
|
|
5224
5224
|
},
|
|
@@ -5229,11 +5229,11 @@ function tu(e) {
|
|
|
5229
5229
|
className: "card",
|
|
5230
5230
|
style: {
|
|
5231
5231
|
transform: W,
|
|
5232
|
-
transition:
|
|
5232
|
+
transition: h ? "none" : "transform 300ms ease",
|
|
5233
5233
|
minWidth: o ? "100%" : r,
|
|
5234
5234
|
width: "min-content",
|
|
5235
|
-
userSelect:
|
|
5236
|
-
pointerEvents:
|
|
5235
|
+
userSelect: h ? "none" : "auto",
|
|
5236
|
+
pointerEvents: h ? "none" : "auto"
|
|
5237
5237
|
},
|
|
5238
5238
|
children: j
|
|
5239
5239
|
},
|
|
@@ -5339,19 +5339,19 @@ const et = (e) => /* @__PURE__ */ a("div", { className: "su-flex su-flex-col sas
|
|
|
5339
5339
|
);
|
|
5340
5340
|
};
|
|
5341
5341
|
function O(e) {
|
|
5342
|
-
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = _(), { block_subPublication: r } = e, i = Io(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = n?.tema && i, u = n?.buscar && o, l = !r && !c && !u && t !== "false" && s !== "false" ? "/" + t : "", d = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""),
|
|
5342
|
+
const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = _(), { block_subPublication: r } = e, i = Io(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = n?.tema && i, u = n?.buscar && o, l = !r && !c && !u && t !== "false" && s !== "false" ? "/" + t : "", d = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), f = {
|
|
5343
5343
|
...e,
|
|
5344
5344
|
href: (!d && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
|
|
5345
5345
|
};
|
|
5346
5346
|
return d ? /* @__PURE__ */ a(
|
|
5347
5347
|
"a",
|
|
5348
5348
|
{
|
|
5349
|
-
target:
|
|
5350
|
-
rel:
|
|
5351
|
-
...
|
|
5349
|
+
target: f.target ?? "_blank",
|
|
5350
|
+
rel: f.rel ?? "noopener noreferrer",
|
|
5351
|
+
...f,
|
|
5352
5352
|
children: e.children
|
|
5353
5353
|
}
|
|
5354
|
-
) : /* @__PURE__ */ a("a", { ...
|
|
5354
|
+
) : /* @__PURE__ */ a("a", { ...f, children: e.children });
|
|
5355
5355
|
}
|
|
5356
5356
|
const Io = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
|
|
5357
5357
|
const { PUBLIC_ASSETS_URL: t } = _();
|
|
@@ -5508,7 +5508,15 @@ function Ro({ noteShare: e }) {
|
|
|
5508
5508
|
] }) : null;
|
|
5509
5509
|
}
|
|
5510
5510
|
const Qe = (e) => {
|
|
5511
|
-
const {
|
|
5511
|
+
const {
|
|
5512
|
+
share: t = !1,
|
|
5513
|
+
cutSubtitle: s = !0,
|
|
5514
|
+
keywords: n,
|
|
5515
|
+
info: r,
|
|
5516
|
+
paths: i,
|
|
5517
|
+
newsDescriptionSectionTag: o = "h3",
|
|
5518
|
+
speculationPrerenderClass: c
|
|
5519
|
+
} = e, { SHOW_TAG_BY_SECTION: u, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = _(), d = () => {
|
|
5512
5520
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
5513
5521
|
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
|
|
5514
5522
|
e.info?.date?.modified
|
|
@@ -5517,8 +5525,8 @@ const Qe = (e) => {
|
|
|
5517
5525
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
5518
5526
|
if (e?.config?.showtime)
|
|
5519
5527
|
return Ue(e.info?.date?.modified);
|
|
5520
|
-
},
|
|
5521
|
-
const
|
|
5528
|
+
}, m = () => {
|
|
5529
|
+
const h = {
|
|
5522
5530
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
5523
5531
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
5524
5532
|
"--colorSubTitle": e.colorSubTitle
|
|
@@ -5530,39 +5538,47 @@ const Qe = (e) => {
|
|
|
5530
5538
|
dangerouslySetInnerHTML: {
|
|
5531
5539
|
__html: e.main?.subtitle?.striped ?? ""
|
|
5532
5540
|
},
|
|
5533
|
-
style:
|
|
5541
|
+
style: h
|
|
5534
5542
|
}
|
|
5535
5543
|
);
|
|
5536
|
-
},
|
|
5537
|
-
if (
|
|
5538
|
-
const
|
|
5539
|
-
return le.createElement(
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5544
|
+
}, f = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, g = () => {
|
|
5545
|
+
if (u && n?.tags?.length && n.tags.length > 0) {
|
|
5546
|
+
const h = n.tags[0], A = h.name;
|
|
5547
|
+
return le.createElement(
|
|
5548
|
+
o,
|
|
5549
|
+
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
5550
|
+
/* @__PURE__ */ p(J, { children: [
|
|
5551
|
+
h.approved ? /* @__PURE__ */ a(
|
|
5552
|
+
O,
|
|
5553
|
+
{
|
|
5554
|
+
block_subPublication: l?.tema,
|
|
5555
|
+
"aria-label": A,
|
|
5556
|
+
className: "sass-com-nd-sectionDescription",
|
|
5557
|
+
href: De(h, i),
|
|
5558
|
+
children: A
|
|
5559
|
+
}
|
|
5560
|
+
) : /* @__PURE__ */ a("div", { className: "sass-com-nd-sectionDescription", children: A }),
|
|
5561
|
+
f()
|
|
5562
|
+
] })
|
|
5563
|
+
);
|
|
5552
5564
|
} else if (r?.section?.url) {
|
|
5553
|
-
const
|
|
5554
|
-
return le.createElement(
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5565
|
+
const h = r.section.name;
|
|
5566
|
+
return le.createElement(
|
|
5567
|
+
o,
|
|
5568
|
+
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
5569
|
+
/* @__PURE__ */ p(J, { children: [
|
|
5570
|
+
/* @__PURE__ */ a(
|
|
5571
|
+
O,
|
|
5572
|
+
{
|
|
5573
|
+
"aria-label": h,
|
|
5574
|
+
className: "sass-com-nd-sectionDescription",
|
|
5575
|
+
href: r.section.url,
|
|
5576
|
+
children: h
|
|
5577
|
+
}
|
|
5578
|
+
),
|
|
5579
|
+
f()
|
|
5580
|
+
] })
|
|
5581
|
+
);
|
|
5566
5582
|
}
|
|
5567
5583
|
return null;
|
|
5568
5584
|
};
|
|
@@ -5576,7 +5592,7 @@ const Qe = (e) => {
|
|
|
5576
5592
|
children: /* @__PURE__ */ a(Ro, { noteShare: { ...t } })
|
|
5577
5593
|
}
|
|
5578
5594
|
),
|
|
5579
|
-
/* @__PURE__ */ a(
|
|
5595
|
+
/* @__PURE__ */ a(g, {}),
|
|
5580
5596
|
le.createElement(
|
|
5581
5597
|
e.isTitle ? "h1" : "h2",
|
|
5582
5598
|
{
|
|
@@ -5586,7 +5602,7 @@ const Qe = (e) => {
|
|
|
5586
5602
|
O,
|
|
5587
5603
|
{
|
|
5588
5604
|
"aria-label": e.main?.title?.section,
|
|
5589
|
-
className: "sass-com-nd-linkStyled su-no-underline",
|
|
5605
|
+
className: c ? `${c} sass-com-nd-linkStyled su-no-underline` : "sass-com-nd-linkStyled su-no-underline",
|
|
5590
5606
|
style: {
|
|
5591
5607
|
"--isLink": "var(--news-description-title-color-hover-decoration)"
|
|
5592
5608
|
},
|
|
@@ -5596,17 +5612,17 @@ const Qe = (e) => {
|
|
|
5596
5612
|
}
|
|
5597
5613
|
) : e.main?.title?.section
|
|
5598
5614
|
),
|
|
5599
|
-
e.config?.showsubtitle && /* @__PURE__ */ a(
|
|
5615
|
+
e.config?.showsubtitle && /* @__PURE__ */ a(m, {}),
|
|
5600
5616
|
(e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(J, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
5601
5617
|
O,
|
|
5602
5618
|
{
|
|
5603
|
-
block_subPublication:
|
|
5604
|
-
"aria-label":
|
|
5619
|
+
block_subPublication: l?.autor,
|
|
5620
|
+
"aria-label": d(),
|
|
5605
5621
|
className: "sass-com-nd-correspondentLink",
|
|
5606
5622
|
href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
|
|
5607
|
-
children:
|
|
5623
|
+
children: d()
|
|
5608
5624
|
}
|
|
5609
|
-
) }) : /* @__PURE__ */ a("h3", { className: "sass-com-nd-correspondent", children:
|
|
5625
|
+
) }) : /* @__PURE__ */ a("h3", { className: "sass-com-nd-correspondent", children: d() }) })
|
|
5610
5626
|
] });
|
|
5611
5627
|
}, mn = (e) => /* @__PURE__ */ p(
|
|
5612
5628
|
"svg",
|
|
@@ -5823,7 +5839,14 @@ const ko = (e) => {
|
|
|
5823
5839
|
]
|
|
5824
5840
|
}
|
|
5825
5841
|
),
|
|
5826
|
-
/* @__PURE__ */ a(
|
|
5842
|
+
/* @__PURE__ */ a(
|
|
5843
|
+
Qe,
|
|
5844
|
+
{
|
|
5845
|
+
...s,
|
|
5846
|
+
paths: e.paths,
|
|
5847
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
5848
|
+
}
|
|
5849
|
+
)
|
|
5827
5850
|
]
|
|
5828
5851
|
},
|
|
5829
5852
|
`description-block-${n}`
|
|
@@ -7502,9 +7525,9 @@ const ru = (e) => {
|
|
|
7502
7525
|
}, ga = (e) => {
|
|
7503
7526
|
const { currentPage: t, showNext: s, maxPages: n, pathname: r, query: i, block_subPublication: o } = e, c = (u, l, d) => {
|
|
7504
7527
|
let m = "";
|
|
7505
|
-
const
|
|
7506
|
-
return
|
|
7507
|
-
|
|
7528
|
+
const f = l.split("/");
|
|
7529
|
+
return f.indexOf("page") !== -1 && f.splice(m.indexOf("page") - 1, f.length - 1), f.forEach((g, h) => {
|
|
7530
|
+
h !== 0 && (m += `/${g}`);
|
|
7508
7531
|
}), u === "next" ? m += `/page/${t + 1}${d ? `?query=${d}` : ""}` : m += `/page/${t - 1}${d ? `?query=${d}` : ""}`;
|
|
7509
7532
|
};
|
|
7510
7533
|
return (t > 1 || s && t < n) && /* @__PURE__ */ p("section", { className: "sass-com-np-content", children: [
|
|
@@ -7552,8 +7575,9 @@ const ru = (e) => {
|
|
|
7552
7575
|
isTitle: l,
|
|
7553
7576
|
priorityHigh: d = !1,
|
|
7554
7577
|
isLarge: m,
|
|
7555
|
-
paths:
|
|
7556
|
-
keywords: g
|
|
7578
|
+
paths: f,
|
|
7579
|
+
keywords: g,
|
|
7580
|
+
speculationPrerenderClass: h
|
|
7557
7581
|
} = e;
|
|
7558
7582
|
return /* @__PURE__ */ p(
|
|
7559
7583
|
"section",
|
|
@@ -7567,7 +7591,7 @@ const ru = (e) => {
|
|
|
7567
7591
|
O,
|
|
7568
7592
|
{
|
|
7569
7593
|
"aria-label": e.main?.title?.section,
|
|
7570
|
-
className: "sass-com-sc1-image",
|
|
7594
|
+
className: h ? `${h} sass-com-sc1-image` : "sass-com-sc1-image",
|
|
7571
7595
|
title: t?.title?.section,
|
|
7572
7596
|
href: n?.link?.url,
|
|
7573
7597
|
target: n?.link?.target,
|
|
@@ -7593,7 +7617,7 @@ const ru = (e) => {
|
|
|
7593
7617
|
config: c,
|
|
7594
7618
|
overImage: u,
|
|
7595
7619
|
isTitle: l,
|
|
7596
|
-
paths:
|
|
7620
|
+
paths: f,
|
|
7597
7621
|
keywords: g
|
|
7598
7622
|
}
|
|
7599
7623
|
) })
|
|
@@ -7778,7 +7802,7 @@ const ru = (e) => {
|
|
|
7778
7802
|
const t = e.trim();
|
|
7779
7803
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
7780
7804
|
}, Yo = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), uu = async (e) => {
|
|
7781
|
-
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""),
|
|
7805
|
+
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), f = ht(t?.addtional?.USER_USERIG ?? ""), g = ht(t?.addtional?.USER_USERTWT ?? ""), h = ht(t?.addtional?.USER_USERLIN ?? ""), A = () => !u || !c || c.trim() === "" ? !1 : Yo(c), w = (b) => `mailto:${b.trim()}`;
|
|
7782
7806
|
return /* @__PURE__ */ a(
|
|
7783
7807
|
"section",
|
|
7784
7808
|
{
|
|
@@ -7823,10 +7847,10 @@ const ru = (e) => {
|
|
|
7823
7847
|
children: n ? /* @__PURE__ */ a(_t, { className: "sass-com-ah1-social-icon sass-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ a(Mt, { className: "sass-com-ah1-facebook-icon sass-com-ah1-social-icon-facebook", forceSVG: !0 })
|
|
7824
7848
|
}
|
|
7825
7849
|
),
|
|
7826
|
-
|
|
7850
|
+
f && /* @__PURE__ */ a(
|
|
7827
7851
|
"a",
|
|
7828
7852
|
{
|
|
7829
|
-
href:
|
|
7853
|
+
href: f,
|
|
7830
7854
|
target: "_blank",
|
|
7831
7855
|
className: "sass-com-ah1-social-link",
|
|
7832
7856
|
rel: "noreferrer",
|
|
@@ -7843,10 +7867,10 @@ const ru = (e) => {
|
|
|
7843
7867
|
children: /* @__PURE__ */ a(Pe, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-x", forceSVG: !0 })
|
|
7844
7868
|
}
|
|
7845
7869
|
),
|
|
7846
|
-
|
|
7870
|
+
h && /* @__PURE__ */ a(
|
|
7847
7871
|
"a",
|
|
7848
7872
|
{
|
|
7849
|
-
href:
|
|
7873
|
+
href: h,
|
|
7850
7874
|
target: "_blank",
|
|
7851
7875
|
className: `sass-com-ah1-social-link ${n ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
7852
7876
|
rel: "noreferrer",
|
|
@@ -7858,7 +7882,7 @@ const ru = (e) => {
|
|
|
7858
7882
|
}
|
|
7859
7883
|
);
|
|
7860
7884
|
}, mu = async (e) => {
|
|
7861
|
-
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "",
|
|
7885
|
+
const { autor: t, autorIcon: s, socialIconsFilled: n = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "", f = t?.addtional?.USER_USERIG ?? "", g = t?.addtional?.USER_USERTWT ?? "", h = t?.addtional?.USER_USERLIN ?? "";
|
|
7862
7886
|
return /* @__PURE__ */ a(
|
|
7863
7887
|
"section",
|
|
7864
7888
|
{
|
|
@@ -7900,10 +7924,10 @@ const ru = (e) => {
|
|
|
7900
7924
|
children: n ? /* @__PURE__ */ a(_t, { className: "sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ a(Mt, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 })
|
|
7901
7925
|
}
|
|
7902
7926
|
),
|
|
7903
|
-
|
|
7927
|
+
f && /* @__PURE__ */ a(
|
|
7904
7928
|
"a",
|
|
7905
7929
|
{
|
|
7906
|
-
href:
|
|
7930
|
+
href: f,
|
|
7907
7931
|
target: "_blank",
|
|
7908
7932
|
rel: "noreferrer",
|
|
7909
7933
|
children: /* @__PURE__ */ a(
|
|
@@ -7924,10 +7948,10 @@ const ru = (e) => {
|
|
|
7924
7948
|
children: /* @__PURE__ */ a(Pe, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-x", forceSVG: !0 })
|
|
7925
7949
|
}
|
|
7926
7950
|
),
|
|
7927
|
-
|
|
7951
|
+
h && /* @__PURE__ */ a(
|
|
7928
7952
|
"a",
|
|
7929
7953
|
{
|
|
7930
|
-
href:
|
|
7954
|
+
href: h,
|
|
7931
7955
|
target: "_blank",
|
|
7932
7956
|
className: n ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
7933
7957
|
rel: "noreferrer",
|
|
@@ -9014,11 +9038,11 @@ function pu(e) {
|
|
|
9014
9038
|
priorityHigh: l,
|
|
9015
9039
|
share: d,
|
|
9016
9040
|
overImage: m,
|
|
9017
|
-
isTitle:
|
|
9041
|
+
isTitle: f,
|
|
9018
9042
|
paths: g
|
|
9019
|
-
} = e, { CONFIG_videoClipUrl:
|
|
9043
|
+
} = e, { CONFIG_videoClipUrl: h } = _(), A = i?.homepreview ?? "imagen", w = () => {
|
|
9020
9044
|
const v = e.videos?.[0]?.clip;
|
|
9021
|
-
return v ? /* @__PURE__ */ a("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ a("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ a("source", { src: `${
|
|
9045
|
+
return v ? /* @__PURE__ */ a("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ a("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ a("source", { src: `${h}${v}`, type: "video/mp4" }) }) }) : null;
|
|
9022
9046
|
}, b = () => {
|
|
9023
9047
|
if (!e.videos) return null;
|
|
9024
9048
|
const v = e.videos?.[0]?.code;
|
|
@@ -9152,7 +9176,7 @@ function pu(e) {
|
|
|
9152
9176
|
share: d,
|
|
9153
9177
|
config: i,
|
|
9154
9178
|
overImage: m,
|
|
9155
|
-
isTitle:
|
|
9179
|
+
isTitle: f,
|
|
9156
9180
|
paths: g,
|
|
9157
9181
|
keywords: o
|
|
9158
9182
|
}
|
|
@@ -9188,7 +9212,14 @@ const We = (e) => {
|
|
|
9188
9212
|
)
|
|
9189
9213
|
] }) : /* @__PURE__ */ a("div", { className: "sass-bmd-sup-tagmx", children: c });
|
|
9190
9214
|
} else if (e.info?.section?.url)
|
|
9191
|
-
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9215
|
+
return /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
|
|
9216
|
+
O,
|
|
9217
|
+
{
|
|
9218
|
+
className: "sass-bmd-sup-tagmx",
|
|
9219
|
+
href: e?.info?.section?.url,
|
|
9220
|
+
children: e?.info?.section?.name
|
|
9221
|
+
}
|
|
9222
|
+
) });
|
|
9192
9223
|
return null;
|
|
9193
9224
|
}, i = () => {
|
|
9194
9225
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
@@ -9211,6 +9242,7 @@ const We = (e) => {
|
|
|
9211
9242
|
/* @__PURE__ */ a(
|
|
9212
9243
|
O,
|
|
9213
9244
|
{
|
|
9245
|
+
className: e.speculationPrerenderClass,
|
|
9214
9246
|
href: e?.info?.link?.url,
|
|
9215
9247
|
target: e?.info?.link?.target,
|
|
9216
9248
|
style: {
|
|
@@ -9303,7 +9335,7 @@ const We = (e) => {
|
|
|
9303
9335
|
showSuper: l,
|
|
9304
9336
|
textPosition: d,
|
|
9305
9337
|
heightImageOverwrite: m,
|
|
9306
|
-
heightImageOverwriteMobile:
|
|
9338
|
+
heightImageOverwriteMobile: f
|
|
9307
9339
|
} = e;
|
|
9308
9340
|
return /* @__PURE__ */ p("section", { className: "su-grid su-w-full su-gap-8 sass-bmd-dd-content", children: [
|
|
9309
9341
|
l ? /* @__PURE__ */ a(
|
|
@@ -9324,7 +9356,8 @@ const We = (e) => {
|
|
|
9324
9356
|
paths: e.paths,
|
|
9325
9357
|
textPosition: d,
|
|
9326
9358
|
heightImageOverwrite: m,
|
|
9327
|
-
heightImageOverwriteMobile:
|
|
9359
|
+
heightImageOverwriteMobile: f,
|
|
9360
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
9328
9361
|
}
|
|
9329
9362
|
)
|
|
9330
9363
|
}
|
|
@@ -9338,6 +9371,7 @@ const We = (e) => {
|
|
|
9338
9371
|
preview: r,
|
|
9339
9372
|
isVideo: i,
|
|
9340
9373
|
config: o,
|
|
9374
|
+
speculationPrerenderClass: e.speculationPrerenderClass,
|
|
9341
9375
|
priorityHigh: !0
|
|
9342
9376
|
}
|
|
9343
9377
|
),
|
|
@@ -9356,7 +9390,8 @@ const We = (e) => {
|
|
|
9356
9390
|
priorityHigh: !0,
|
|
9357
9391
|
imageSize: u,
|
|
9358
9392
|
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
9359
|
-
paths: e.paths
|
|
9393
|
+
paths: e.paths,
|
|
9394
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
9360
9395
|
}
|
|
9361
9396
|
)
|
|
9362
9397
|
] });
|
|
@@ -9364,10 +9399,11 @@ const We = (e) => {
|
|
|
9364
9399
|
content: e,
|
|
9365
9400
|
customLargeSection: t,
|
|
9366
9401
|
customSmallSection: s,
|
|
9367
|
-
paths: n
|
|
9402
|
+
paths: n,
|
|
9403
|
+
speculationPrerenderClass: r
|
|
9368
9404
|
}) => {
|
|
9369
|
-
const
|
|
9370
|
-
return Array.isArray(e) && e.length > 0 &&
|
|
9405
|
+
const i = e[0];
|
|
9406
|
+
return Array.isArray(e) && e.length > 0 && i && /* @__PURE__ */ p("section", { className: "sass-bmd-dnh-content", children: [
|
|
9371
9407
|
/* @__PURE__ */ a(
|
|
9372
9408
|
"div",
|
|
9373
9409
|
{
|
|
@@ -9376,11 +9412,12 @@ const We = (e) => {
|
|
|
9376
9412
|
children: /* @__PURE__ */ a(
|
|
9377
9413
|
We,
|
|
9378
9414
|
{
|
|
9379
|
-
...
|
|
9415
|
+
...i,
|
|
9380
9416
|
textPosition: "start",
|
|
9381
9417
|
heightImageOverwrite: "512px",
|
|
9382
9418
|
heightImageOverwriteMobile: "270px",
|
|
9383
|
-
paths: n
|
|
9419
|
+
paths: n,
|
|
9420
|
+
speculationPrerenderClass: r
|
|
9384
9421
|
}
|
|
9385
9422
|
)
|
|
9386
9423
|
}
|
|
@@ -9390,15 +9427,16 @@ const We = (e) => {
|
|
|
9390
9427
|
{
|
|
9391
9428
|
style: s,
|
|
9392
9429
|
className: "su-flex su-flex-col su-gap-2 su-w-full su-h-auto su-md:gap-0 sass-bmd-dnh-secondSection",
|
|
9393
|
-
children: e.map((
|
|
9430
|
+
children: e.map((o, c) => c > 0 && /* @__PURE__ */ Le(
|
|
9394
9431
|
We,
|
|
9395
9432
|
{
|
|
9396
|
-
...
|
|
9397
|
-
key:
|
|
9433
|
+
...o,
|
|
9434
|
+
key: c,
|
|
9398
9435
|
textPosition: "start",
|
|
9399
9436
|
heightImageOverwrite: "256px",
|
|
9400
9437
|
heightImageOverwriteMobile: "270px",
|
|
9401
|
-
paths: n
|
|
9438
|
+
paths: n,
|
|
9439
|
+
speculationPrerenderClass: r
|
|
9402
9440
|
}
|
|
9403
9441
|
))
|
|
9404
9442
|
}
|
|
@@ -9408,43 +9446,40 @@ const We = (e) => {
|
|
|
9408
9446
|
content: e,
|
|
9409
9447
|
customLargeSection: t,
|
|
9410
9448
|
customSlimSection: s,
|
|
9411
|
-
paths: n
|
|
9412
|
-
|
|
9413
|
-
|
|
9449
|
+
paths: n,
|
|
9450
|
+
speculationPrerenderClass: r
|
|
9451
|
+
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a("section", { className: "su-grid su-w-full su-gap-2 sass-bmd-dnv-content", children: e.map((i, o) => o === 0 ? /* @__PURE__ */ a(
|
|
9452
|
+
"div",
|
|
9414
9453
|
{
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
{
|
|
9419
|
-
style: t,
|
|
9420
|
-
className: "su-w-full sass-bmd-dnv-firstSection",
|
|
9421
|
-
children: /* @__PURE__ */ a(
|
|
9422
|
-
We,
|
|
9423
|
-
{
|
|
9424
|
-
...r,
|
|
9425
|
-
isVertical: !0,
|
|
9426
|
-
textPosition: "start",
|
|
9427
|
-
heightImageOverwrite: "512px",
|
|
9428
|
-
heightImageOverwriteMobile: "270px",
|
|
9429
|
-
paths: n
|
|
9430
|
-
}
|
|
9431
|
-
)
|
|
9432
|
-
},
|
|
9433
|
-
i
|
|
9434
|
-
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */ Le(
|
|
9454
|
+
style: t,
|
|
9455
|
+
className: "su-w-full sass-bmd-dnv-firstSection",
|
|
9456
|
+
children: /* @__PURE__ */ a(
|
|
9435
9457
|
We,
|
|
9436
9458
|
{
|
|
9437
|
-
...
|
|
9438
|
-
key: i,
|
|
9459
|
+
...i,
|
|
9439
9460
|
isVertical: !0,
|
|
9440
9461
|
textPosition: "start",
|
|
9441
9462
|
heightImageOverwrite: "512px",
|
|
9442
9463
|
heightImageOverwriteMobile: "270px",
|
|
9443
|
-
paths: n
|
|
9464
|
+
paths: n,
|
|
9465
|
+
speculationPrerenderClass: r
|
|
9444
9466
|
}
|
|
9445
|
-
)
|
|
9446
|
-
}
|
|
9447
|
-
|
|
9467
|
+
)
|
|
9468
|
+
},
|
|
9469
|
+
o
|
|
9470
|
+
) : /* @__PURE__ */ a("section", { style: s, children: /* @__PURE__ */ Le(
|
|
9471
|
+
We,
|
|
9472
|
+
{
|
|
9473
|
+
...i,
|
|
9474
|
+
key: o,
|
|
9475
|
+
isVertical: !0,
|
|
9476
|
+
textPosition: "start",
|
|
9477
|
+
heightImageOverwrite: "512px",
|
|
9478
|
+
heightImageOverwriteMobile: "270px",
|
|
9479
|
+
paths: n,
|
|
9480
|
+
speculationPrerenderClass: r
|
|
9481
|
+
}
|
|
9482
|
+
) }, o)) }), En = (e) => {
|
|
9448
9483
|
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = _();
|
|
9449
9484
|
return /* @__PURE__ */ p("div", { className: "sass-com-bh-content", children: [
|
|
9450
9485
|
/* @__PURE__ */ a(() => {
|
|
@@ -9546,7 +9581,7 @@ const We = (e) => {
|
|
|
9546
9581
|
)
|
|
9547
9582
|
] });
|
|
9548
9583
|
}, Tt = async (e) => {
|
|
9549
|
-
const { data: t, autorIcon: s } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES:
|
|
9584
|
+
const { data: t, autorIcon: s, speculationPrerenderClass: n } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = _(), i = s, o = () => t?.config?.showtime ? `${Ue(t.info?.date?.modified)}` : "", c = /* @__PURE__ */ p("div", { className: "sass-com-oc2-autorContent", children: [
|
|
9550
9585
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
9551
9586
|
"img",
|
|
9552
9587
|
{
|
|
@@ -9556,24 +9591,24 @@ const We = (e) => {
|
|
|
9556
9591
|
src: await ue(t?.authors[0]?.image?.sizes[0]?.url || ""),
|
|
9557
9592
|
alt: t?.authors[0]?.fullname
|
|
9558
9593
|
}
|
|
9559
|
-
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: /* @__PURE__ */ a(
|
|
9594
|
+
) : /* @__PURE__ */ a("div", { className: "sass-com-oc2-contentIcon", children: /* @__PURE__ */ a(i, {}) }),
|
|
9560
9595
|
/* @__PURE__ */ a("p", { className: "sass-com-oc2-autorName", children: xe(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
9561
|
-
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children:
|
|
9596
|
+
/* @__PURE__ */ a("p", { className: "sass-com-oc2-time", children: o() })
|
|
9562
9597
|
] });
|
|
9563
9598
|
return /* @__PURE__ */ p("div", { className: "sass-com-oc2-content", children: [
|
|
9564
9599
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ a(
|
|
9565
9600
|
O,
|
|
9566
9601
|
{
|
|
9567
|
-
block_subPublication:
|
|
9602
|
+
block_subPublication: r?.autor,
|
|
9568
9603
|
href: t.authors[0]?.internaluser ? `/${e.paths.autor}/${t?.authors[0]?.name}` : "#",
|
|
9569
|
-
children:
|
|
9604
|
+
children: c
|
|
9570
9605
|
}
|
|
9571
|
-
) :
|
|
9606
|
+
) : c,
|
|
9572
9607
|
/* @__PURE__ */ p("div", { className: "sass-com-oc2-boxInformationContent", children: [
|
|
9573
9608
|
/* @__PURE__ */ a(
|
|
9574
9609
|
O,
|
|
9575
9610
|
{
|
|
9576
|
-
className: "sass-com-oc2-title",
|
|
9611
|
+
className: n ? `${n} sass-com-oc2-title` : "sass-com-oc2-title",
|
|
9577
9612
|
href: t?.info?.link?.url,
|
|
9578
9613
|
target: t?.info?.link?.target,
|
|
9579
9614
|
children: t?.main?.title?.home
|
|
@@ -9748,7 +9783,8 @@ const Au = (e) => {
|
|
|
9748
9783
|
{
|
|
9749
9784
|
...l,
|
|
9750
9785
|
isVideo: e.isVideo,
|
|
9751
|
-
paths: e.paths
|
|
9786
|
+
paths: e.paths,
|
|
9787
|
+
speculationPrerenderClass: e.speculationPrerender?.length && r < e.speculationPrerender.length ? e.speculationPrerender.class : void 0
|
|
9752
9788
|
}
|
|
9753
9789
|
) }, r)
|
|
9754
9790
|
), r++;
|
|
@@ -9771,7 +9807,8 @@ const Au = (e) => {
|
|
|
9771
9807
|
isVideo: e.isVideo,
|
|
9772
9808
|
banners: e.banners,
|
|
9773
9809
|
showVideoTime: e.showVideoTime,
|
|
9774
|
-
showVideosubtitle: e.showVideosubtitle
|
|
9810
|
+
showVideosubtitle: e.showVideosubtitle,
|
|
9811
|
+
speculationPrerender: e.speculationPrerender
|
|
9775
9812
|
}
|
|
9776
9813
|
) }), fc = (e) => {
|
|
9777
9814
|
const { content: t, title: s } = e;
|
|
@@ -10077,7 +10114,8 @@ const Au = (e) => {
|
|
|
10077
10114
|
{
|
|
10078
10115
|
data: t,
|
|
10079
10116
|
autorIcon: e.autorIcon,
|
|
10080
|
-
paths: e.paths
|
|
10117
|
+
paths: e.paths,
|
|
10118
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
10081
10119
|
}
|
|
10082
10120
|
) });
|
|
10083
10121
|
case "columnistaslocales":
|
|
@@ -10086,7 +10124,8 @@ const Au = (e) => {
|
|
|
10086
10124
|
{
|
|
10087
10125
|
data: t,
|
|
10088
10126
|
autorIcon: e.autorIcon,
|
|
10089
|
-
paths: e.paths
|
|
10127
|
+
paths: e.paths,
|
|
10128
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
10090
10129
|
}
|
|
10091
10130
|
) });
|
|
10092
10131
|
case "columnistas":
|
|
@@ -10095,7 +10134,8 @@ const Au = (e) => {
|
|
|
10095
10134
|
{
|
|
10096
10135
|
data: t,
|
|
10097
10136
|
autorIcon: e.autorIcon,
|
|
10098
|
-
paths: e.paths
|
|
10137
|
+
paths: e.paths,
|
|
10138
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
10099
10139
|
}
|
|
10100
10140
|
) });
|
|
10101
10141
|
/* case 'editorial':
|
|
@@ -10105,7 +10145,14 @@ const Au = (e) => {
|
|
|
10105
10145
|
</div>
|
|
10106
10146
|
); */
|
|
10107
10147
|
default:
|
|
10108
|
-
return /* @__PURE__ */ a("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ a(
|
|
10148
|
+
return /* @__PURE__ */ a("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ a(
|
|
10149
|
+
ke,
|
|
10150
|
+
{
|
|
10151
|
+
...t,
|
|
10152
|
+
paths: e.paths,
|
|
10153
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
10154
|
+
}
|
|
10155
|
+
) });
|
|
10109
10156
|
}
|
|
10110
10157
|
}, yu = (e) => {
|
|
10111
10158
|
const {
|
|
@@ -10134,7 +10181,9 @@ const Au = (e) => {
|
|
|
10134
10181
|
children: /* @__PURE__ */ a("section", { className: "sass-pg-sec-content", children: t.length > 0 ? /* @__PURE__ */ a(
|
|
10135
10182
|
pa,
|
|
10136
10183
|
{
|
|
10137
|
-
className: ["sass-pg-sec-newsContentSection", "padding-0"].join(
|
|
10184
|
+
className: ["sass-pg-sec-newsContentSection", "padding-0"].join(
|
|
10185
|
+
" "
|
|
10186
|
+
),
|
|
10138
10187
|
paginatorComponent: /* @__PURE__ */ a(
|
|
10139
10188
|
ga,
|
|
10140
10189
|
{
|
|
@@ -10147,20 +10196,27 @@ const Au = (e) => {
|
|
|
10147
10196
|
}
|
|
10148
10197
|
),
|
|
10149
10198
|
children: Array.isArray(t) && t?.map((d, m) => /* @__PURE__ */ p(ts, { children: [
|
|
10150
|
-
u.includes(m + 1) && /* @__PURE__ */ a(
|
|
10151
|
-
|
|
10199
|
+
u.includes(m + 1) && /* @__PURE__ */ a(
|
|
10200
|
+
"div",
|
|
10152
10201
|
{
|
|
10153
|
-
|
|
10154
|
-
|
|
10202
|
+
className: "sass-pg-sec-itemContent banner-context",
|
|
10203
|
+
children: /* @__PURE__ */ a(
|
|
10204
|
+
we,
|
|
10205
|
+
{
|
|
10206
|
+
banners: n ?? [],
|
|
10207
|
+
name: `block_2_${l[m + 1]}`
|
|
10208
|
+
}
|
|
10209
|
+
)
|
|
10155
10210
|
}
|
|
10156
|
-
)
|
|
10211
|
+
),
|
|
10157
10212
|
/* @__PURE__ */ a(
|
|
10158
10213
|
wa,
|
|
10159
10214
|
{
|
|
10160
10215
|
autorIcon: e.autorIcon,
|
|
10161
10216
|
item: d,
|
|
10162
10217
|
option: r,
|
|
10163
|
-
paths: e.paths
|
|
10218
|
+
paths: e.paths,
|
|
10219
|
+
speculationPrerenderClass: e.speculationPrerender?.length && m < e.speculationPrerender.length ? e.speculationPrerender.class : void 0
|
|
10164
10220
|
},
|
|
10165
10221
|
m
|
|
10166
10222
|
)
|
|
@@ -10223,7 +10279,8 @@ const Au = (e) => {
|
|
|
10223
10279
|
autorIcon: e.autorIcon,
|
|
10224
10280
|
item: d,
|
|
10225
10281
|
option: r,
|
|
10226
|
-
paths: e.paths
|
|
10282
|
+
paths: e.paths,
|
|
10283
|
+
speculationPrerenderClass: e.speculationPrerender?.length && m < e.speculationPrerender.length ? e.speculationPrerender.class : void 0
|
|
10227
10284
|
},
|
|
10228
10285
|
m
|
|
10229
10286
|
)
|
|
@@ -10510,7 +10567,7 @@ const Au = (e) => {
|
|
|
10510
10567
|
i = i.replace(c, v);
|
|
10511
10568
|
continue;
|
|
10512
10569
|
}
|
|
10513
|
-
const d = l.preview?.sizes?.[0], m = d ? await ue(d.url) : "",
|
|
10570
|
+
const d = l.preview?.sizes?.[0], m = d ? await ue(d.url) : "", f = l.info.section?.url ?? "#", g = l.info.section?.name ?? "Sección", h = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
10514
10571
|
l.preview?.sizes?.map(async (v) => {
|
|
10515
10572
|
const I = await ue(v.url);
|
|
10516
10573
|
return v.width < 200 ? `<source srcset="${I}" media="(width < 750px)"/>` : `<source srcset="${I}" media="(width >= 750px)"/>`;
|
|
@@ -10522,8 +10579,8 @@ const Au = (e) => {
|
|
|
10522
10579
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${A}" />
|
|
10523
10580
|
</picture>
|
|
10524
10581
|
<div>
|
|
10525
|
-
<a class="section" href="${
|
|
10526
|
-
<a class="title" href="${
|
|
10582
|
+
<a class="section" href="${f}">${g}</a>
|
|
10583
|
+
<a class="title" href="${h}">${A}</a>
|
|
10527
10584
|
</div>
|
|
10528
10585
|
</span>
|
|
10529
10586
|
`, S = c.replace(E, N);
|
|
@@ -10559,29 +10616,29 @@ async function Bc(e, t) {
|
|
|
10559
10616
|
let m = u;
|
|
10560
10617
|
if (d && l)
|
|
10561
10618
|
try {
|
|
10562
|
-
const
|
|
10563
|
-
if (
|
|
10564
|
-
const
|
|
10619
|
+
const f = await t.iframe({ path: l }), g = t.schema ? await t.schema(l) : null;
|
|
10620
|
+
if (f && f.data) {
|
|
10621
|
+
const h = f.data.data[0];
|
|
10565
10622
|
let A = "";
|
|
10566
10623
|
const w = u.match(
|
|
10567
10624
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10568
10625
|
), b = w && w[1] ? w[1].trim() : "";
|
|
10569
|
-
|
|
10626
|
+
h.info && h.info.type === "video-youtube" ? A = `<iframe
|
|
10570
10627
|
loading="lazy"
|
|
10571
10628
|
frameborder="0"
|
|
10572
10629
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10573
10630
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10574
10631
|
allowfullscreen
|
|
10575
10632
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10576
|
-
src="https://www.youtube.com/embed/${
|
|
10633
|
+
src="https://www.youtube.com/embed/${h.main?.code || h.main?.youtubeid || ""}"></iframe>` : h.info && h.info.type === "video-link" ? A = `<iframe
|
|
10577
10634
|
loading="lazy"
|
|
10578
10635
|
frameborder="0"
|
|
10579
10636
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10580
10637
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10581
10638
|
allowfullscreen
|
|
10582
10639
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
10583
|
-
src="${
|
|
10584
|
-
const E = b ||
|
|
10640
|
+
src="${h.main?.code || ""}"></iframe>` : A = h.main?.code || "";
|
|
10641
|
+
const E = b || h.main?.description || "";
|
|
10585
10642
|
m = `
|
|
10586
10643
|
<figure class="videoFigure">
|
|
10587
10644
|
${g && g.data && g.data.data ? `<script type="application/ld+json">${kt(
|
|
@@ -10592,8 +10649,8 @@ async function Bc(e, t) {
|
|
|
10592
10649
|
</figure>
|
|
10593
10650
|
`;
|
|
10594
10651
|
}
|
|
10595
|
-
} catch (
|
|
10596
|
-
console.error("replaceVideoSpansWithIframes error for", l,
|
|
10652
|
+
} catch (f) {
|
|
10653
|
+
console.error("replaceVideoSpansWithIframes error for", l, f), m = u;
|
|
10597
10654
|
}
|
|
10598
10655
|
n = c, s += m, r.lastIndex = c;
|
|
10599
10656
|
}
|
|
@@ -10852,39 +10909,39 @@ function Qc(e) {
|
|
|
10852
10909
|
function i(c) {
|
|
10853
10910
|
const u = [], l = [];
|
|
10854
10911
|
let d = "", m = !0;
|
|
10855
|
-
for (let
|
|
10856
|
-
const g = `[data-index="${
|
|
10912
|
+
for (let f = 0; f < c; f++) {
|
|
10913
|
+
const g = `[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f + 1}) {
|
|
10857
10914
|
background-color:var(--carrousel-pagination-background-color)
|
|
10858
10915
|
}`;
|
|
10859
10916
|
d += `
|
|
10860
10917
|
.${s}.carrousel-container {
|
|
10861
10918
|
${g}
|
|
10862
|
-
[data-index="${
|
|
10863
|
-
transform: translate(-${
|
|
10919
|
+
[data-index="${f}"]:checked ~ .carrousel-ssr {
|
|
10920
|
+
transform: translate(-${f * (100 + r) + "%"});
|
|
10864
10921
|
transition: transform 300ms;
|
|
10865
10922
|
}
|
|
10866
|
-
[data-index="${
|
|
10867
|
-
${
|
|
10923
|
+
[data-index="${f + 1}"]:checked ~ .visible-arrow.left[data-index="${f}"]
|
|
10924
|
+
${f < c - 1 ? `,[data-index="${f}"]:checked ~ .visible-arrow.right[data-index="${f}"]` : ""} {
|
|
10868
10925
|
display: flex;
|
|
10869
10926
|
}
|
|
10870
10927
|
}
|
|
10871
|
-
`,
|
|
10928
|
+
`, f > c - (n + 1) && (d += `
|
|
10872
10929
|
@media (min-width:900px) {
|
|
10873
10930
|
.${s}.carrousel-container {
|
|
10874
|
-
[data-index="${
|
|
10931
|
+
[data-index="${f}"]:checked ~ .visible-arrow.right[data-index="${f}"] {
|
|
10875
10932
|
display:none!important;
|
|
10876
10933
|
}
|
|
10877
10934
|
}
|
|
10878
10935
|
}`), u.push(
|
|
10879
|
-
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" +
|
|
10936
|
+
`<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" + f}" data-index="${f}" />`
|
|
10880
10937
|
), l.push(`
|
|
10881
|
-
<label for="${s + "input-check-" +
|
|
10938
|
+
<label for="${s + "input-check-" + f}" data-index="${f}" class="visible-arrow left">
|
|
10882
10939
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
10883
10940
|
<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" />
|
|
10884
10941
|
</svg>
|
|
10885
10942
|
</label>
|
|
10886
10943
|
|
|
10887
|
-
${
|
|
10944
|
+
${f < c - 1 ? `<label for="${s + "input-check-" + (f + 1)}" data-index="${f}" class="visible-arrow right">
|
|
10888
10945
|
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
10889
10946
|
<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" />
|
|
10890
10947
|
</svg>
|
|
@@ -11168,16 +11225,16 @@ const zc = async (e) => {
|
|
|
11168
11225
|
const { PUBLIC_IS_OFFLINE: t } = _();
|
|
11169
11226
|
if (!(t === "true")) {
|
|
11170
11227
|
const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, d = [...e.matchAll(l)], m = {};
|
|
11171
|
-
for (const
|
|
11172
|
-
const g =
|
|
11173
|
-
if (
|
|
11174
|
-
const A = await ue(
|
|
11228
|
+
for (const f of d) {
|
|
11229
|
+
const g = f[1] ?? "", h = e.includes(g) ? { url: g } : null;
|
|
11230
|
+
if (h) {
|
|
11231
|
+
const A = await ue(h.url) || "";
|
|
11175
11232
|
m[g] = A;
|
|
11176
11233
|
}
|
|
11177
11234
|
}
|
|
11178
11235
|
return e.replace(
|
|
11179
11236
|
l,
|
|
11180
|
-
(
|
|
11237
|
+
(f, g) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${m[g] || g}"`
|
|
11181
11238
|
);
|
|
11182
11239
|
}
|
|
11183
11240
|
let n = e;
|
|
@@ -11189,7 +11246,7 @@ const zc = async (e) => {
|
|
|
11189
11246
|
if (!l) break;
|
|
11190
11247
|
const d = l[0], m = l[1] ?? "";
|
|
11191
11248
|
r.add(m);
|
|
11192
|
-
const
|
|
11249
|
+
const f = d.match(/<img\b[^>]*\balt=["']([^"']*)["']/), g = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), A = h ? decodeURIComponent(h[1]) : null;
|
|
11193
11250
|
let w = 0, b = 0;
|
|
11194
11251
|
if (A) {
|
|
11195
11252
|
const I = A.match(/w:(\d+)/), R = A.match(/h:(\d+)/);
|
|
@@ -11223,7 +11280,7 @@ const zc = async (e) => {
|
|
|
11223
11280
|
for (const l of u) {
|
|
11224
11281
|
const d = l[0], m = l[1] ?? "";
|
|
11225
11282
|
if (r.has(m)) continue;
|
|
11226
|
-
const
|
|
11283
|
+
const f = d.match(/\balt=["']([^"']*)["']/), g = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), A = h ? decodeURIComponent(h[1]) : null;
|
|
11227
11284
|
let w = 0, b = 0;
|
|
11228
11285
|
if (A) {
|
|
11229
11286
|
const I = A.match(/w:(\d+)/), R = A.match(/h:(\d+)/);
|
|
@@ -11294,11 +11351,11 @@ const zc = async (e) => {
|
|
|
11294
11351
|
const [o, c = ""] = i, u = i.index, l = u + o.length;
|
|
11295
11352
|
n += e.slice(r, u);
|
|
11296
11353
|
const m = [...c.matchAll(/data-src="([^"]+)"/g)].map(
|
|
11297
|
-
(
|
|
11354
|
+
(h) => h[1]
|
|
11298
11355
|
).map(
|
|
11299
|
-
(
|
|
11300
|
-
),
|
|
11301
|
-
slot_id:
|
|
11356
|
+
(h) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${h}" class="carrusel-note-item" width="800" height="469"/>`
|
|
11357
|
+
), f = "gallery_embeded" + u.toString(), g = Qc({
|
|
11358
|
+
slot_id: f,
|
|
11302
11359
|
children: m,
|
|
11303
11360
|
visibleItems: 1,
|
|
11304
11361
|
cardGap: 0
|
|
@@ -11315,7 +11372,7 @@ const zc = async (e) => {
|
|
|
11315
11372
|
(E) => u.includes(E?.[0]?.info.link.internal || "")
|
|
11316
11373
|
);
|
|
11317
11374
|
if (!l || !l[0]) continue;
|
|
11318
|
-
const d = l[0].preview?.sizes?.[0], m = d ? await ue(d.url) : "",
|
|
11375
|
+
const d = l[0].preview?.sizes?.[0], m = d ? await ue(d.url) : "", f = l[0].info.section?.url ?? "#", g = l[0].info.section?.name ?? "Sección", h = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
11319
11376
|
l[0].preview?.sizes?.map(async (E, N) => {
|
|
11320
11377
|
const S = await ue(E.url);
|
|
11321
11378
|
return N === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
|
|
@@ -11327,8 +11384,8 @@ const zc = async (e) => {
|
|
|
11327
11384
|
<img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${A}" />
|
|
11328
11385
|
</picture>
|
|
11329
11386
|
<div>
|
|
11330
|
-
<a class="section" href="${
|
|
11331
|
-
<a class="title" href="${
|
|
11387
|
+
<a class="section" href="${f}">${g}</a>
|
|
11388
|
+
<a class="title" href="${h}">${A}</a>
|
|
11332
11389
|
</div>
|
|
11333
11390
|
</span>
|
|
11334
11391
|
`;
|
|
@@ -11353,11 +11410,11 @@ async function tl(e, t) {
|
|
|
11353
11410
|
}
|
|
11354
11411
|
b !== -1 && b < E ? (u += 1, l = b + 4) : (u -= 1, l = E + 6);
|
|
11355
11412
|
}
|
|
11356
|
-
const m = l,
|
|
11413
|
+
const m = l, f = e.slice(o, m);
|
|
11357
11414
|
let g = null;
|
|
11358
|
-
const
|
|
11415
|
+
const h = /<span\b([^>]*)>/gi;
|
|
11359
11416
|
let A;
|
|
11360
|
-
for (; (A =
|
|
11417
|
+
for (; (A = h.exec(f)) !== null; ) {
|
|
11361
11418
|
const b = A[1];
|
|
11362
11419
|
if (!b) break;
|
|
11363
11420
|
if (/data-type\s*=\s*["']?video["']?/i.test(b)) {
|
|
@@ -11369,7 +11426,7 @@ async function tl(e, t) {
|
|
|
11369
11426
|
}
|
|
11370
11427
|
}
|
|
11371
11428
|
if (!g) {
|
|
11372
|
-
const b =
|
|
11429
|
+
const b = f.match(
|
|
11373
11430
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
11374
11431
|
);
|
|
11375
11432
|
if (b) {
|
|
@@ -11384,7 +11441,7 @@ async function tl(e, t) {
|
|
|
11384
11441
|
if (b && b.data) {
|
|
11385
11442
|
const N = b.data.data[0];
|
|
11386
11443
|
let S = "";
|
|
11387
|
-
const v =
|
|
11444
|
+
const v = f.match(
|
|
11388
11445
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
11389
11446
|
), I = v && v[1] ? v[1].trim() : "";
|
|
11390
11447
|
N.info && N.info.type === "video-youtube" ? S = `<iframe
|
|
@@ -11417,7 +11474,7 @@ async function tl(e, t) {
|
|
|
11417
11474
|
console.error("insertVideos error for", g, b), w = "";
|
|
11418
11475
|
}
|
|
11419
11476
|
else
|
|
11420
|
-
w =
|
|
11477
|
+
w = f;
|
|
11421
11478
|
n = m, s += w, r.lastIndex = m;
|
|
11422
11479
|
}
|
|
11423
11480
|
return s += e.slice(n), s = Kc(s), s;
|
|
@@ -11443,9 +11500,9 @@ async function sl(e) {
|
|
|
11443
11500
|
e.texts,
|
|
11444
11501
|
n
|
|
11445
11502
|
), d = await tl(d, u), d = Wc(d), d = Yc(d);
|
|
11446
|
-
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT:
|
|
11503
|
+
const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: f, CONFIG_blockDefaultTwitterHydrator: g } = _(), h = t.config.articlepreview === Me.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
11447
11504
|
return /* @__PURE__ */ p(J, { children: [
|
|
11448
|
-
i !== "liveblogs" && e.showHeaderImage ?
|
|
11505
|
+
i !== "liveblogs" && e.showHeaderImage ? h ? /* @__PURE__ */ a(
|
|
11449
11506
|
jc,
|
|
11450
11507
|
{
|
|
11451
11508
|
commonServices: l,
|
|
@@ -11454,7 +11511,7 @@ async function sl(e) {
|
|
|
11454
11511
|
}
|
|
11455
11512
|
) : /* @__PURE__ */ a(bn, { preview: t.preview }) : null,
|
|
11456
11513
|
/* @__PURE__ */ a(we, { banners: s, name: "block_1" }),
|
|
11457
|
-
/* @__PURE__ */ a("div", { className: "sass-pg-nrs-journalistArticleContent", children:
|
|
11514
|
+
/* @__PURE__ */ a("div", { className: "sass-pg-nrs-journalistArticleContent", children: f === "op1" ? /* @__PURE__ */ a(
|
|
11458
11515
|
_c,
|
|
11459
11516
|
{
|
|
11460
11517
|
autorIcon: e.autorIcon,
|
|
@@ -11523,7 +11580,7 @@ const al = (e) => {
|
|
|
11523
11580
|
newsRelatedResponses: l = [],
|
|
11524
11581
|
newsRelatedListResponses: d = [],
|
|
11525
11582
|
itemList: m = [],
|
|
11526
|
-
socials:
|
|
11583
|
+
socials: f,
|
|
11527
11584
|
getVideos: g
|
|
11528
11585
|
} = e;
|
|
11529
11586
|
if (u)
|
|
@@ -11533,7 +11590,7 @@ const al = (e) => {
|
|
|
11533
11590
|
{
|
|
11534
11591
|
texts: t,
|
|
11535
11592
|
autorIcon: s,
|
|
11536
|
-
socials:
|
|
11593
|
+
socials: f,
|
|
11537
11594
|
news: u,
|
|
11538
11595
|
banners: c,
|
|
11539
11596
|
newsRelatedResponses: l,
|
|
@@ -11748,7 +11805,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11748
11805
|
{ label: n.passwordRuleSymbol, test: Ee[4] }
|
|
11749
11806
|
],
|
|
11750
11807
|
[n.passwordRuleMinLength, n.passwordRuleNumber, n.passwordRuleLowercase, n.passwordRuleUppercase, n.passwordRuleSymbol]
|
|
11751
|
-
), [o, c] = $({}), [u, l] = $(!1), [d, m] = $(!1), [
|
|
11808
|
+
), [o, c] = $({}), [u, l] = $(!1), [d, m] = $(!1), [f, g] = $(null), [h, A] = $(
|
|
11752
11809
|
"register"
|
|
11753
11810
|
), w = async () => {
|
|
11754
11811
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -11840,7 +11897,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11840
11897
|
}
|
|
11841
11898
|
}, S = o.password || "";
|
|
11842
11899
|
return /* @__PURE__ */ p(J, { children: [
|
|
11843
|
-
|
|
11900
|
+
h === "register" && /* @__PURE__ */ p(J, { children: [
|
|
11844
11901
|
/* @__PURE__ */ p("button", { onClick: w, className: "sass-pg-login-google", children: [
|
|
11845
11902
|
/* @__PURE__ */ a(
|
|
11846
11903
|
"img",
|
|
@@ -11858,7 +11915,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11858
11915
|
{
|
|
11859
11916
|
onSubmit: E,
|
|
11860
11917
|
className: "sass-pg-login-form",
|
|
11861
|
-
"data-error":
|
|
11918
|
+
"data-error": f ? "true" : "false",
|
|
11862
11919
|
children: [
|
|
11863
11920
|
/* @__PURE__ */ a("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([v, { label: I }]) => /* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
11864
11921
|
/* @__PURE__ */ a("label", { className: "sass-pg-login-label", children: I }),
|
|
@@ -11907,7 +11964,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11907
11964
|
)
|
|
11908
11965
|
] })
|
|
11909
11966
|
] }, v)) }),
|
|
11910
|
-
|
|
11967
|
+
f && /* @__PURE__ */ a("p", { className: "sass-pg-login-error", children: f }),
|
|
11911
11968
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-terms", children: [
|
|
11912
11969
|
n.termsPrefix,
|
|
11913
11970
|
" ",
|
|
@@ -11920,12 +11977,12 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11920
11977
|
}
|
|
11921
11978
|
)
|
|
11922
11979
|
] }),
|
|
11923
|
-
|
|
11980
|
+
h === "confirm" && /* @__PURE__ */ p(
|
|
11924
11981
|
"form",
|
|
11925
11982
|
{
|
|
11926
11983
|
onSubmit: N,
|
|
11927
11984
|
className: "sass-pg-login-form",
|
|
11928
|
-
"data-error":
|
|
11985
|
+
"data-error": f ? "true" : "false",
|
|
11929
11986
|
children: [
|
|
11930
11987
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
11931
11988
|
/* @__PURE__ */ a("label", { className: "sass-pg-login-label", children: n.verificationCodeLabel }),
|
|
@@ -11941,7 +11998,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11941
11998
|
}
|
|
11942
11999
|
)
|
|
11943
12000
|
] }),
|
|
11944
|
-
|
|
12001
|
+
f && /* @__PURE__ */ a("p", { className: "sass-pg-login-error", children: f }),
|
|
11945
12002
|
/* @__PURE__ */ a("button", { type: "submit", className: "sass-pg-login-primary", disabled: d, children: d ? /* @__PURE__ */ a(at, {}) : n.confirmAccountButton }),
|
|
11946
12003
|
/* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
11947
12004
|
n.alreadyConfirmedText,
|
|
@@ -11950,7 +12007,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11950
12007
|
]
|
|
11951
12008
|
}
|
|
11952
12009
|
),
|
|
11953
|
-
|
|
12010
|
+
h === "success" && /* @__PURE__ */ p("form", { className: "sass-pg-login-form", children: [
|
|
11954
12011
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-successContainer", children: [
|
|
11955
12012
|
/* @__PURE__ */ a("div", { className: "sass-pg-login-thumbsUp", children: /* @__PURE__ */ a(
|
|
11956
12013
|
"svg",
|
|
@@ -11975,7 +12032,7 @@ function Eu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
|
|
|
11975
12032
|
] }),
|
|
11976
12033
|
/* @__PURE__ */ a("a", { href: "./login", type: "submit", className: "sass-pg-login-primary", children: n.loginButtonText })
|
|
11977
12034
|
] }),
|
|
11978
|
-
|
|
12035
|
+
h === "register" && /* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
|
|
11979
12036
|
n.alreadyHasAccountText,
|
|
11980
12037
|
/* @__PURE__ */ a("a", { className: "sass-pg-login-toRegister", href: "./login", children: n.loginButtonText })
|
|
11981
12038
|
] })
|
|
@@ -12009,7 +12066,7 @@ function Tu({
|
|
|
12009
12066
|
API_ENV: e,
|
|
12010
12067
|
texts: t
|
|
12011
12068
|
}) {
|
|
12012
|
-
const s = { ...cl, ...t?.comentarios }, [n, r] = $("login"), [i, o] = $(""), [c, u] = $(""), [l, d] = $(""), [m,
|
|
12069
|
+
const s = { ...cl, ...t?.comentarios }, [n, r] = $("login"), [i, o] = $(""), [c, u] = $(""), [l, d] = $(""), [m, f] = $(""), [g, h] = $(""), [A, w] = $(!1), [b, E] = $(!1), [N, S] = $(null);
|
|
12013
12070
|
le.useEffect(() => {
|
|
12014
12071
|
if (typeof window > "u") return;
|
|
12015
12072
|
window.location.hash.includes("forgot") && n === "login" && r("forgot"), n === "login" && I();
|
|
@@ -12122,8 +12179,8 @@ function Tu({
|
|
|
12122
12179
|
loading: b,
|
|
12123
12180
|
error: N,
|
|
12124
12181
|
setConfirmationCode: d,
|
|
12125
|
-
setNewPassword:
|
|
12126
|
-
setConfirmNewPassword:
|
|
12182
|
+
setNewPassword: f,
|
|
12183
|
+
setConfirmNewPassword: h,
|
|
12127
12184
|
setShowPassword: w,
|
|
12128
12185
|
onSubmit: async (L) => {
|
|
12129
12186
|
if (b) return;
|
|
@@ -12213,7 +12270,7 @@ function ll({
|
|
|
12213
12270
|
{
|
|
12214
12271
|
type: "email",
|
|
12215
12272
|
value: e,
|
|
12216
|
-
onChange: (
|
|
12273
|
+
onChange: (f) => i(f.target.value),
|
|
12217
12274
|
className: "sass-pg-login-input",
|
|
12218
12275
|
placeholder: ""
|
|
12219
12276
|
}
|
|
@@ -12226,7 +12283,7 @@ function ll({
|
|
|
12226
12283
|
{
|
|
12227
12284
|
type: s ? "text" : "password",
|
|
12228
12285
|
value: t,
|
|
12229
|
-
onChange: (
|
|
12286
|
+
onChange: (f) => o(f.target.value),
|
|
12230
12287
|
className: "sass-pg-login-input",
|
|
12231
12288
|
placeholder: ""
|
|
12232
12289
|
}
|
|
@@ -12238,7 +12295,7 @@ function ll({
|
|
|
12238
12295
|
id: "showPasswordLogin",
|
|
12239
12296
|
type: "checkbox",
|
|
12240
12297
|
checked: s,
|
|
12241
|
-
onChange: (
|
|
12298
|
+
onChange: (f) => c(f.target.checked)
|
|
12242
12299
|
}
|
|
12243
12300
|
),
|
|
12244
12301
|
/* @__PURE__ */ a("label", { htmlFor: "showPasswordLogin", className: "sass-pg-login-checkboxLabel", children: m.showPassword })
|
|
@@ -12326,10 +12383,10 @@ function ml({
|
|
|
12326
12383
|
setConfirmNewPassword: l,
|
|
12327
12384
|
setShowPassword: d,
|
|
12328
12385
|
onSubmit: m,
|
|
12329
|
-
onBack:
|
|
12386
|
+
onBack: f,
|
|
12330
12387
|
t: g
|
|
12331
12388
|
}) {
|
|
12332
|
-
const
|
|
12389
|
+
const h = g.changePasswordMessage.replace("{{email}}", ul(e));
|
|
12333
12390
|
return /* @__PURE__ */ p(
|
|
12334
12391
|
"form",
|
|
12335
12392
|
{
|
|
@@ -12337,7 +12394,7 @@ function ml({
|
|
|
12337
12394
|
className: "sass-pg-login-form",
|
|
12338
12395
|
"data-error": o ? "true" : "false",
|
|
12339
12396
|
children: [
|
|
12340
|
-
/* @__PURE__ */ a("p", { className: "sass-pg-login-message", children:
|
|
12397
|
+
/* @__PURE__ */ a("p", { className: "sass-pg-login-message", children: h }),
|
|
12341
12398
|
/* @__PURE__ */ p("ul", { className: "sass-pg-login-formUl", children: [
|
|
12342
12399
|
/* @__PURE__ */ p("div", { className: "sass-pg-login-field", children: [
|
|
12343
12400
|
/* @__PURE__ */ a("label", { className: "sass-pg-login-label", children: g.verificationCodeLabel }),
|
|
@@ -12417,7 +12474,7 @@ function ml({
|
|
|
12417
12474
|
children: i ? /* @__PURE__ */ a(at, {}) : g.changePasswordButton
|
|
12418
12475
|
}
|
|
12419
12476
|
),
|
|
12420
|
-
/* @__PURE__ */ a("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ a("button", { type: "button", onClick:
|
|
12477
|
+
/* @__PURE__ */ a("p", { className: "sass-pg-login-switch", children: /* @__PURE__ */ a("button", { type: "button", onClick: f, children: g.backButton }) })
|
|
12421
12478
|
]
|
|
12422
12479
|
}
|
|
12423
12480
|
);
|
|
@@ -12443,8 +12500,8 @@ function Iu({ containerId: e, containerId2: t }) {
|
|
|
12443
12500
|
const i = n?.querySelectorAll("script[src]") ?? [], o = r?.querySelectorAll("script[src]") ?? [];
|
|
12444
12501
|
[...i, ...o].forEach((d) => {
|
|
12445
12502
|
const m = document.createElement("script");
|
|
12446
|
-
Array.from(d.attributes).forEach((
|
|
12447
|
-
m.setAttribute(
|
|
12503
|
+
Array.from(d.attributes).forEach((f) => {
|
|
12504
|
+
m.setAttribute(f.name, f.value);
|
|
12448
12505
|
}), d.replaceWith(m);
|
|
12449
12506
|
});
|
|
12450
12507
|
const u = document.querySelectorAll(
|
|
@@ -12476,8 +12533,8 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12476
12533
|
BackDropAuxHeigthMobile: r
|
|
12477
12534
|
//isVisible,
|
|
12478
12535
|
} = e, i = fn(), o = ss(() => {
|
|
12479
|
-
const
|
|
12480
|
-
if (
|
|
12536
|
+
const f = e?.preview?.sizes;
|
|
12537
|
+
if (f && Array.isArray(f) && f.length > 0) return f;
|
|
12481
12538
|
const g = e?.preview?.original;
|
|
12482
12539
|
return g?.url ? [{ url: g.url, width: g.width || 0, height: g.height || 0 }] : [];
|
|
12483
12540
|
}, [e?.preview?.sizes, e?.preview?.original]);
|
|
@@ -12615,7 +12672,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12615
12672
|
fetchConfig: o,
|
|
12616
12673
|
paths: c
|
|
12617
12674
|
}) => {
|
|
12618
|
-
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, d] = $({ data: Array.from({ length: u }, () => pl) }), [m,
|
|
12675
|
+
const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, d] = $({ data: Array.from({ length: u }, () => pl) }), [m, f] = $(!1), g = ce(async () => {
|
|
12619
12676
|
if (!t) return;
|
|
12620
12677
|
const w = new URLSearchParams({
|
|
12621
12678
|
section: e,
|
|
@@ -12624,7 +12681,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12624
12681
|
if (!b.ok)
|
|
12625
12682
|
throw new Error(`HTTP error! status: ${b.status}`);
|
|
12626
12683
|
return await b.json();
|
|
12627
|
-
}, [e, t]),
|
|
12684
|
+
}, [e, t]), h = ce(async () => {
|
|
12628
12685
|
const {
|
|
12629
12686
|
PUBLIC_API_FRONT: w,
|
|
12630
12687
|
PUBLIC_X_SECURITY_TOKEN: b,
|
|
@@ -12657,10 +12714,10 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12657
12714
|
};
|
|
12658
12715
|
}, [e, t, i]), A = ce(async () => {
|
|
12659
12716
|
if (!(m || !t)) {
|
|
12660
|
-
|
|
12717
|
+
f(!0);
|
|
12661
12718
|
try {
|
|
12662
12719
|
let w;
|
|
12663
|
-
i.PUBLIC_ENV !== "prod" ? w = await g() : w = await
|
|
12720
|
+
i.PUBLIC_ENV !== "prod" ? w = await g() : w = await h(), d({
|
|
12664
12721
|
...w,
|
|
12665
12722
|
data: w.data.slice(0, u)
|
|
12666
12723
|
});
|
|
@@ -12673,7 +12730,7 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12673
12730
|
t,
|
|
12674
12731
|
i.PUBLIC_ENV,
|
|
12675
12732
|
g,
|
|
12676
|
-
|
|
12733
|
+
h
|
|
12677
12734
|
]);
|
|
12678
12735
|
return Te(() => {
|
|
12679
12736
|
n && A();
|
|
@@ -12709,9 +12766,9 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12709
12766
|
info: l,
|
|
12710
12767
|
preview: d,
|
|
12711
12768
|
isVideo: m = !1,
|
|
12712
|
-
config:
|
|
12769
|
+
config: f,
|
|
12713
12770
|
overImage: g = "default",
|
|
12714
|
-
isTitle:
|
|
12771
|
+
isTitle: h = !1,
|
|
12715
12772
|
isLarge: A = !1,
|
|
12716
12773
|
keywords: w
|
|
12717
12774
|
} = i;
|
|
@@ -12751,9 +12808,9 @@ const Uu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
12751
12808
|
info: l,
|
|
12752
12809
|
preview: d,
|
|
12753
12810
|
share: e.share,
|
|
12754
|
-
config:
|
|
12811
|
+
config: f,
|
|
12755
12812
|
overImage: g,
|
|
12756
|
-
isTitle:
|
|
12813
|
+
isTitle: h,
|
|
12757
12814
|
paths: e.paths,
|
|
12758
12815
|
isVisible: e.isVisible,
|
|
12759
12816
|
DATE_CONFIG: e.API_ENV,
|
|
@@ -12931,7 +12988,7 @@ async function xu({
|
|
|
12931
12988
|
username: t ?? !1,
|
|
12932
12989
|
id: s,
|
|
12933
12990
|
type: d
|
|
12934
|
-
}),
|
|
12991
|
+
}), f = `${l}?${m.toString()}`;
|
|
12935
12992
|
try {
|
|
12936
12993
|
console.log("Reporting comment:", {
|
|
12937
12994
|
publication: e,
|
|
@@ -12939,9 +12996,9 @@ async function xu({
|
|
|
12939
12996
|
id: s,
|
|
12940
12997
|
type: n,
|
|
12941
12998
|
encodedType: d,
|
|
12942
|
-
url:
|
|
12999
|
+
url: f
|
|
12943
13000
|
});
|
|
12944
|
-
const g = await re.get(
|
|
13001
|
+
const g = await re.get(f, {
|
|
12945
13002
|
headers: {
|
|
12946
13003
|
"User-Agent": "blu3st@ck-react",
|
|
12947
13004
|
"x-security-token": c,
|
|
@@ -12959,9 +13016,9 @@ async function xu({
|
|
|
12959
13016
|
throw new Error(`Respuesta inesperada del servidor: ${g.status}`);
|
|
12960
13017
|
} catch (g) {
|
|
12961
13018
|
if (console.error("Error reporting comment:", g), re.isAxiosError(g)) {
|
|
12962
|
-
const
|
|
12963
|
-
throw
|
|
12964
|
-
A?.error || A?.message || `Error HTTP ${
|
|
13019
|
+
const h = g.response?.status, A = g.response?.data;
|
|
13020
|
+
throw h === 400 ? new Error("Datos inválidos para el reporte") : h === 401 ? new Error("Token de API inválido") : h === 403 ? new Error("Acceso denegado para reportar comentario") : h === 404 ? new Error("Comentario no encontrado") : h === 409 ? new Error("El comentario ya fue reportado por este usuario") : h === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
13021
|
+
A?.error || A?.message || `Error HTTP ${h}: No se pudo reportar el comentario`
|
|
12965
13022
|
);
|
|
12966
13023
|
}
|
|
12967
13024
|
throw g;
|
|
@@ -13013,7 +13070,7 @@ var ba;
|
|
|
13013
13070
|
function Nl() {
|
|
13014
13071
|
if (ba) return ae;
|
|
13015
13072
|
ba = 1;
|
|
13016
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13073
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13017
13074
|
function N(v) {
|
|
13018
13075
|
if (typeof v == "object" && v !== null) {
|
|
13019
13076
|
var I = v.$$typeof;
|
|
@@ -13031,7 +13088,7 @@ function Nl() {
|
|
|
13031
13088
|
switch (v = v && v.$$typeof, v) {
|
|
13032
13089
|
case c:
|
|
13033
13090
|
case d:
|
|
13034
|
-
case
|
|
13091
|
+
case h:
|
|
13035
13092
|
case g:
|
|
13036
13093
|
case o:
|
|
13037
13094
|
return v;
|
|
@@ -13047,7 +13104,7 @@ function Nl() {
|
|
|
13047
13104
|
function S(v) {
|
|
13048
13105
|
return N(v) === l;
|
|
13049
13106
|
}
|
|
13050
|
-
return ae.AsyncMode = u, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = o, ae.Element = t, ae.ForwardRef = d, ae.Fragment = n, ae.Lazy =
|
|
13107
|
+
return ae.AsyncMode = u, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = o, ae.Element = t, ae.ForwardRef = d, ae.Fragment = n, ae.Lazy = h, ae.Memo = g, ae.Portal = s, ae.Profiler = i, ae.StrictMode = r, ae.Suspense = m, ae.isAsyncMode = function(v) {
|
|
13051
13108
|
return S(v) || N(v) === u;
|
|
13052
13109
|
}, ae.isConcurrentMode = S, ae.isContextConsumer = function(v) {
|
|
13053
13110
|
return N(v) === c;
|
|
@@ -13060,7 +13117,7 @@ function Nl() {
|
|
|
13060
13117
|
}, ae.isFragment = function(v) {
|
|
13061
13118
|
return N(v) === n;
|
|
13062
13119
|
}, ae.isLazy = function(v) {
|
|
13063
|
-
return N(v) ===
|
|
13120
|
+
return N(v) === h;
|
|
13064
13121
|
}, ae.isMemo = function(v) {
|
|
13065
13122
|
return N(v) === g;
|
|
13066
13123
|
}, ae.isPortal = function(v) {
|
|
@@ -13072,17 +13129,17 @@ function Nl() {
|
|
|
13072
13129
|
}, ae.isSuspense = function(v) {
|
|
13073
13130
|
return N(v) === m;
|
|
13074
13131
|
}, ae.isValidElementType = function(v) {
|
|
13075
|
-
return typeof v == "string" || typeof v == "function" || v === n || v === l || v === i || v === r || v === m || v ===
|
|
13132
|
+
return typeof v == "string" || typeof v == "function" || v === n || v === l || v === i || v === r || v === m || v === f || typeof v == "object" && v !== null && (v.$$typeof === h || v.$$typeof === g || v.$$typeof === o || v.$$typeof === c || v.$$typeof === d || v.$$typeof === w || v.$$typeof === b || v.$$typeof === E || v.$$typeof === A);
|
|
13076
13133
|
}, ae.typeOf = N, ae;
|
|
13077
13134
|
}
|
|
13078
13135
|
var ne = {};
|
|
13079
13136
|
var ya;
|
|
13080
13137
|
function Sl() {
|
|
13081
13138
|
return ya || (ya = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
13082
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113,
|
|
13139
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, b = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
13083
13140
|
function N(B) {
|
|
13084
13141
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
13085
|
-
B === n || B === l || B === i || B === r || B === m || B ===
|
|
13142
|
+
B === n || B === l || B === i || B === r || B === m || B === f || typeof B == "object" && B !== null && (B.$$typeof === h || B.$$typeof === g || B.$$typeof === o || B.$$typeof === c || B.$$typeof === d || B.$$typeof === w || B.$$typeof === b || B.$$typeof === E || B.$$typeof === A);
|
|
13086
13143
|
}
|
|
13087
13144
|
function S(B) {
|
|
13088
13145
|
if (typeof B == "object" && B !== null) {
|
|
@@ -13103,7 +13160,7 @@ function Sl() {
|
|
|
13103
13160
|
switch (_s) {
|
|
13104
13161
|
case c:
|
|
13105
13162
|
case d:
|
|
13106
|
-
case
|
|
13163
|
+
case h:
|
|
13107
13164
|
case g:
|
|
13108
13165
|
case o:
|
|
13109
13166
|
return _s;
|
|
@@ -13116,7 +13173,7 @@ function Sl() {
|
|
|
13116
13173
|
}
|
|
13117
13174
|
}
|
|
13118
13175
|
}
|
|
13119
|
-
var v = u, I = l, R = c, Q = o, W = t, j = d, L = n, H =
|
|
13176
|
+
var v = u, I = l, R = c, Q = o, W = t, j = d, L = n, H = h, se = g, q = s, x = i, U = r, M = m, k = !1;
|
|
13120
13177
|
function F(B) {
|
|
13121
13178
|
return k || (k = !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(B) || S(B) === u;
|
|
13122
13179
|
}
|
|
@@ -13139,7 +13196,7 @@ function Sl() {
|
|
|
13139
13196
|
return S(B) === n;
|
|
13140
13197
|
}
|
|
13141
13198
|
function z(B) {
|
|
13142
|
-
return S(B) ===
|
|
13199
|
+
return S(B) === h;
|
|
13143
13200
|
}
|
|
13144
13201
|
function Y(B) {
|
|
13145
13202
|
return S(B) === g;
|
|
@@ -13202,8 +13259,8 @@ function El() {
|
|
|
13202
13259
|
t.call(c, m) && (u[m] = c[m]);
|
|
13203
13260
|
if (e) {
|
|
13204
13261
|
l = e(c);
|
|
13205
|
-
for (var
|
|
13206
|
-
s.call(c, l[
|
|
13262
|
+
for (var f = 0; f < l.length; f++)
|
|
13263
|
+
s.call(c, l[f]) && (u[l[f]] = c[l[f]]);
|
|
13207
13264
|
}
|
|
13208
13265
|
}
|
|
13209
13266
|
return u;
|
|
@@ -13244,14 +13301,14 @@ function Tl() {
|
|
|
13244
13301
|
var m;
|
|
13245
13302
|
try {
|
|
13246
13303
|
if (typeof i[d] != "function") {
|
|
13247
|
-
var
|
|
13304
|
+
var f = Error(
|
|
13248
13305
|
(u || "React class") + ": " + c + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
13249
13306
|
);
|
|
13250
|
-
throw
|
|
13307
|
+
throw f.name = "Invariant Violation", f;
|
|
13251
13308
|
}
|
|
13252
13309
|
m = i[d](o, d, u, c, null, t);
|
|
13253
|
-
} catch (
|
|
13254
|
-
m =
|
|
13310
|
+
} catch (h) {
|
|
13311
|
+
m = h;
|
|
13255
13312
|
}
|
|
13256
13313
|
if (m && !(m instanceof Error) && e(
|
|
13257
13314
|
(u || "React class") + ": type specification of " + c + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
@@ -13293,7 +13350,7 @@ function Il() {
|
|
|
13293
13350
|
if (typeof T == "function")
|
|
13294
13351
|
return T;
|
|
13295
13352
|
}
|
|
13296
|
-
var
|
|
13353
|
+
var f = "<<anonymous>>", g = {
|
|
13297
13354
|
array: b("array"),
|
|
13298
13355
|
bigint: b("bigint"),
|
|
13299
13356
|
bool: b("boolean"),
|
|
@@ -13314,7 +13371,7 @@ function Il() {
|
|
|
13314
13371
|
shape: H,
|
|
13315
13372
|
exact: se
|
|
13316
13373
|
};
|
|
13317
|
-
function
|
|
13374
|
+
function h(y, T) {
|
|
13318
13375
|
return y === T ? y !== 0 || 1 / y === 1 / T : y !== y && T !== T;
|
|
13319
13376
|
}
|
|
13320
13377
|
function A(y, T) {
|
|
@@ -13325,7 +13382,7 @@ function Il() {
|
|
|
13325
13382
|
if (process.env.NODE_ENV !== "production")
|
|
13326
13383
|
var T = {}, P = 0;
|
|
13327
13384
|
function G(V, z, Y, ee, te, K, ie) {
|
|
13328
|
-
if (ee = ee ||
|
|
13385
|
+
if (ee = ee || f, K = K || Y, ie !== s) {
|
|
13329
13386
|
if (u) {
|
|
13330
13387
|
var B = new Error(
|
|
13331
13388
|
"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"
|
|
@@ -13404,7 +13461,7 @@ function Il() {
|
|
|
13404
13461
|
function I(y) {
|
|
13405
13462
|
function T(P, G, D, V, z) {
|
|
13406
13463
|
if (!(P[G] instanceof y)) {
|
|
13407
|
-
var Y = y.name ||
|
|
13464
|
+
var Y = y.name || f, ee = F(P[G]);
|
|
13408
13465
|
return new A("Invalid " + V + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + D + "`, expected ") + ("instance of `" + Y + "`."));
|
|
13409
13466
|
}
|
|
13410
13467
|
return null;
|
|
@@ -13418,7 +13475,7 @@ function Il() {
|
|
|
13418
13475
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
13419
13476
|
function T(P, G, D, V, z) {
|
|
13420
13477
|
for (var Y = P[G], ee = 0; ee < y.length; ee++)
|
|
13421
|
-
if (
|
|
13478
|
+
if (h(Y, y[ee]))
|
|
13422
13479
|
return null;
|
|
13423
13480
|
var te = JSON.stringify(y, function(ie, B) {
|
|
13424
13481
|
var me = M(B);
|
|
@@ -13585,7 +13642,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
13585
13642
|
}
|
|
13586
13643
|
}
|
|
13587
13644
|
function F(y) {
|
|
13588
|
-
return !y.constructor || !y.constructor.name ?
|
|
13645
|
+
return !y.constructor || !y.constructor.name ? f : y.constructor.name;
|
|
13589
13646
|
}
|
|
13590
13647
|
return g.checkPropTypes = r, g.resetWarningCache = r.resetWarningCache, g.PropTypes = g, g;
|
|
13591
13648
|
}, $t;
|
|
@@ -13602,10 +13659,10 @@ function Ul() {
|
|
|
13602
13659
|
return s.resetWarningCache = t, Zt = function() {
|
|
13603
13660
|
function n(o, c, u, l, d, m) {
|
|
13604
13661
|
if (m !== e) {
|
|
13605
|
-
var
|
|
13662
|
+
var f = new Error(
|
|
13606
13663
|
"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"
|
|
13607
13664
|
);
|
|
13608
|
-
throw
|
|
13665
|
+
throw f.name = "Invariant Violation", f;
|
|
13609
13666
|
}
|
|
13610
13667
|
}
|
|
13611
13668
|
n.isRequired = n;
|
|
@@ -13816,30 +13873,30 @@ function Bl() {
|
|
|
13816
13873
|
type: !0
|
|
13817
13874
|
}, i = {};
|
|
13818
13875
|
i[e.ForwardRef] = n, i[e.Memo] = r;
|
|
13819
|
-
function o(
|
|
13820
|
-
return e.isMemo(
|
|
13876
|
+
function o(h) {
|
|
13877
|
+
return e.isMemo(h) ? r : i[h.$$typeof] || t;
|
|
13821
13878
|
}
|
|
13822
|
-
var c = Object.defineProperty, u = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf,
|
|
13823
|
-
function g(
|
|
13879
|
+
var c = Object.defineProperty, u = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, f = Object.prototype;
|
|
13880
|
+
function g(h, A, w) {
|
|
13824
13881
|
if (typeof A != "string") {
|
|
13825
|
-
if (
|
|
13882
|
+
if (f) {
|
|
13826
13883
|
var b = m(A);
|
|
13827
|
-
b && b !==
|
|
13884
|
+
b && b !== f && g(h, b, w);
|
|
13828
13885
|
}
|
|
13829
13886
|
var E = u(A);
|
|
13830
13887
|
l && (E = E.concat(l(A)));
|
|
13831
|
-
for (var N = o(
|
|
13888
|
+
for (var N = o(h), S = o(A), v = 0; v < E.length; ++v) {
|
|
13832
13889
|
var I = E[v];
|
|
13833
13890
|
if (!s[I] && !(w && w[I]) && !(S && S[I]) && !(N && N[I])) {
|
|
13834
13891
|
var R = d(A, I);
|
|
13835
13892
|
try {
|
|
13836
|
-
c(
|
|
13893
|
+
c(h, I, R);
|
|
13837
13894
|
} catch {
|
|
13838
13895
|
}
|
|
13839
13896
|
}
|
|
13840
13897
|
}
|
|
13841
13898
|
}
|
|
13842
|
-
return
|
|
13899
|
+
return h;
|
|
13843
13900
|
}
|
|
13844
13901
|
return Xt = g, Xt;
|
|
13845
13902
|
}
|
|
@@ -13871,8 +13928,8 @@ function Gl(e, t) {
|
|
|
13871
13928
|
var r = n.displayName || n.name || "Component", i = /* @__PURE__ */ (function(c) {
|
|
13872
13929
|
Dl(u, c);
|
|
13873
13930
|
function u(d, m) {
|
|
13874
|
-
var
|
|
13875
|
-
return
|
|
13931
|
+
var f;
|
|
13932
|
+
return f = c.call(this, d, m) || this, f.state = {}, f.__scriptURL = "", f;
|
|
13876
13933
|
}
|
|
13877
13934
|
var l = u.prototype;
|
|
13878
13935
|
return l.asyncScriptLoaderGetScriptLoaderID = function() {
|
|
@@ -13880,24 +13937,24 @@ function Gl(e, t) {
|
|
|
13880
13937
|
}, l.setupScriptURL = function() {
|
|
13881
13938
|
return this.__scriptURL = typeof e == "function" ? e() : e, this.__scriptURL;
|
|
13882
13939
|
}, l.asyncScriptLoaderHandleLoad = function(m) {
|
|
13883
|
-
var
|
|
13940
|
+
var f = this;
|
|
13884
13941
|
this.setState(m, function() {
|
|
13885
|
-
return
|
|
13942
|
+
return f.props.asyncScriptOnLoad && f.props.asyncScriptOnLoad(f.state);
|
|
13886
13943
|
});
|
|
13887
13944
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
13888
13945
|
var m = Ce[this.__scriptURL];
|
|
13889
13946
|
if (!m || !m.loaded)
|
|
13890
13947
|
throw new Error("Script is not loaded.");
|
|
13891
|
-
for (var
|
|
13892
|
-
m.observers[
|
|
13948
|
+
for (var f in m.observers)
|
|
13949
|
+
m.observers[f](m);
|
|
13893
13950
|
delete window[t.callbackName];
|
|
13894
13951
|
}, l.componentDidMount = function() {
|
|
13895
|
-
var m = this,
|
|
13896
|
-
if (A && typeof window[A] < "u" && (Ce[
|
|
13952
|
+
var m = this, f = this.setupScriptURL(), g = this.asyncScriptLoaderGetScriptLoaderID(), h = t, A = h.globalName, w = h.callbackName, b = h.scriptId;
|
|
13953
|
+
if (A && typeof window[A] < "u" && (Ce[f] = {
|
|
13897
13954
|
loaded: !0,
|
|
13898
13955
|
observers: {}
|
|
13899
|
-
}), Ce[
|
|
13900
|
-
var E = Ce[
|
|
13956
|
+
}), Ce[f]) {
|
|
13957
|
+
var E = Ce[f];
|
|
13901
13958
|
if (E && (E.loaded || E.errored)) {
|
|
13902
13959
|
this.asyncScriptLoaderHandleLoad(E);
|
|
13903
13960
|
return;
|
|
@@ -13910,18 +13967,18 @@ function Gl(e, t) {
|
|
|
13910
13967
|
var N = {};
|
|
13911
13968
|
N[g] = function(R) {
|
|
13912
13969
|
return m.asyncScriptLoaderHandleLoad(R);
|
|
13913
|
-
}, Ce[
|
|
13970
|
+
}, Ce[f] = {
|
|
13914
13971
|
loaded: !1,
|
|
13915
13972
|
observers: N
|
|
13916
13973
|
};
|
|
13917
13974
|
var S = document.createElement("script");
|
|
13918
|
-
S.src =
|
|
13975
|
+
S.src = f, S.async = !0;
|
|
13919
13976
|
for (var v in t.attributes)
|
|
13920
13977
|
S.setAttribute(v, t.attributes[v]);
|
|
13921
13978
|
b && (S.id = b);
|
|
13922
13979
|
var I = function(Q) {
|
|
13923
|
-
if (Ce[
|
|
13924
|
-
var W = Ce[
|
|
13980
|
+
if (Ce[f]) {
|
|
13981
|
+
var W = Ce[f], j = W.observers;
|
|
13925
13982
|
for (var L in j)
|
|
13926
13983
|
Q(j[L]) && delete j[L];
|
|
13927
13984
|
}
|
|
@@ -13929,12 +13986,12 @@ function Gl(e, t) {
|
|
|
13929
13986
|
w && typeof window < "u" && (window[w] = function() {
|
|
13930
13987
|
return m.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
13931
13988
|
}), S.onload = function() {
|
|
13932
|
-
var R = Ce[
|
|
13989
|
+
var R = Ce[f];
|
|
13933
13990
|
R && (R.loaded = !0, I(function(Q) {
|
|
13934
13991
|
return w ? !1 : (Q(R), !0);
|
|
13935
13992
|
}));
|
|
13936
13993
|
}, S.onerror = function() {
|
|
13937
|
-
var R = Ce[
|
|
13994
|
+
var R = Ce[f];
|
|
13938
13995
|
R && (R.errored = !0, I(function(Q) {
|
|
13939
13996
|
return Q(R), !0;
|
|
13940
13997
|
}));
|
|
@@ -13942,15 +13999,15 @@ function Gl(e, t) {
|
|
|
13942
13999
|
}, l.componentWillUnmount = function() {
|
|
13943
14000
|
var m = this.__scriptURL;
|
|
13944
14001
|
if (t.removeOnUnmount === !0)
|
|
13945
|
-
for (var
|
|
13946
|
-
|
|
13947
|
-
var
|
|
13948
|
-
|
|
14002
|
+
for (var f = document.getElementsByTagName("script"), g = 0; g < f.length; g += 1)
|
|
14003
|
+
f[g].src.indexOf(m) > -1 && f[g].parentNode && f[g].parentNode.removeChild(f[g]);
|
|
14004
|
+
var h = Ce[m];
|
|
14005
|
+
h && (delete h.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Ce[m]);
|
|
13949
14006
|
}, l.render = function() {
|
|
13950
|
-
var m = t.globalName,
|
|
13951
|
-
|
|
13952
|
-
var g =
|
|
13953
|
-
return m && typeof window < "u" && (
|
|
14007
|
+
var m = t.globalName, f = this.props;
|
|
14008
|
+
f.asyncScriptOnLoad;
|
|
14009
|
+
var g = f.forwardedRef, h = Ml(f, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
14010
|
+
return m && typeof window < "u" && (h[m] = typeof window[m] < "u" ? window[m] : void 0), h.ref = g, Le(n, h);
|
|
13954
14011
|
}, u;
|
|
13955
14012
|
})(Dn), o = Ba(function(c, u) {
|
|
13956
14013
|
return Le(i, ms({}, c, {
|
|
@@ -14004,9 +14061,9 @@ const Ln = Gl(Ql, {
|
|
|
14004
14061
|
CAPTCHA_KEY_V2: i,
|
|
14005
14062
|
texts: o
|
|
14006
14063
|
}) => {
|
|
14007
|
-
const c = { ...Hl, ...o?.comentarios }, u = { ...ls, ...c.reportReasons ?? {} }, [l, d] = $("form"), [m,
|
|
14064
|
+
const c = { ...Hl, ...o?.comentarios }, u = { ...ls, ...c.reportReasons ?? {} }, [l, d] = $("form"), [m, f] = $(
|
|
14008
14065
|
""
|
|
14009
|
-
), [g,
|
|
14066
|
+
), [g, h] = $(""), [A, w] = $(""), b = [
|
|
14010
14067
|
{ id: "spam", label: u.spam },
|
|
14011
14068
|
{ id: "inappropriate", label: u.inappropriate },
|
|
14012
14069
|
{ id: "hate", label: u.hate },
|
|
@@ -14017,10 +14074,10 @@ const Ln = Gl(Ql, {
|
|
|
14017
14074
|
], E = async () => {
|
|
14018
14075
|
if (!(!m || !s)) {
|
|
14019
14076
|
if (Rn(document).includes(s)) {
|
|
14020
|
-
|
|
14077
|
+
h(c.errorAlreadyReported);
|
|
14021
14078
|
return;
|
|
14022
14079
|
}
|
|
14023
|
-
d("loading"),
|
|
14080
|
+
d("loading"), h("");
|
|
14024
14081
|
try {
|
|
14025
14082
|
const v = await (await fetch("/api/comments-report", {
|
|
14026
14083
|
method: "POST",
|
|
@@ -14043,11 +14100,11 @@ const Ln = Gl(Ql, {
|
|
|
14043
14100
|
else
|
|
14044
14101
|
throw new Error(v.message || c.errorReportComment);
|
|
14045
14102
|
} catch (S) {
|
|
14046
|
-
console.error("Error reporting comment:", S),
|
|
14103
|
+
console.error("Error reporting comment:", S), h(S.message || c.errorReportComment), d("form");
|
|
14047
14104
|
}
|
|
14048
14105
|
}
|
|
14049
14106
|
}, N = () => {
|
|
14050
|
-
d("form"),
|
|
14107
|
+
d("form"), f(""), h(""), t();
|
|
14051
14108
|
};
|
|
14052
14109
|
return !e || !s || !r ? null : /* @__PURE__ */ a("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ p("div", { className: "sass-pg-cmt-rp-popup", children: [
|
|
14053
14110
|
/* @__PURE__ */ a("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ a($e, {}) }),
|
|
@@ -14062,7 +14119,7 @@ const Ln = Gl(Ql, {
|
|
|
14062
14119
|
name: "reportReason",
|
|
14063
14120
|
value: S.id,
|
|
14064
14121
|
checked: m === S.id,
|
|
14065
|
-
onChange: (v) =>
|
|
14122
|
+
onChange: (v) => f(v.target.value),
|
|
14066
14123
|
className: "sass-pg-cmt-rp-radioInput"
|
|
14067
14124
|
}
|
|
14068
14125
|
),
|
|
@@ -14209,20 +14266,20 @@ async function zl({
|
|
|
14209
14266
|
throw new Error("Invalid input types for publication or path");
|
|
14210
14267
|
if (!c)
|
|
14211
14268
|
throw new Error("Missing CMS API token");
|
|
14212
|
-
const { PUBLIC_ENV: l, PUBLIC_API_HOST: d = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION:
|
|
14269
|
+
const { PUBLIC_ENV: l, PUBLIC_API_HOST: d = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION: f } = u, g = parseInt(String(s), 10), h = parseInt(String(n), 10);
|
|
14213
14270
|
if (isNaN(g) || g <= 0)
|
|
14214
14271
|
throw new Error("Invalid size parameter");
|
|
14215
|
-
if (isNaN(
|
|
14272
|
+
if (isNaN(h) || h < 0)
|
|
14216
14273
|
throw new Error("Invalid sizereply parameter");
|
|
14217
14274
|
const A = l !== "prod" ? `${d}${m}` : "", w = new URLSearchParams({
|
|
14218
14275
|
publication: e,
|
|
14219
14276
|
path: t,
|
|
14220
14277
|
size: g.toString(),
|
|
14221
|
-
sizereply:
|
|
14278
|
+
sizereply: h.toString(),
|
|
14222
14279
|
state: o
|
|
14223
14280
|
});
|
|
14224
14281
|
r && w.append("id", r), i && w.append("lastid", i);
|
|
14225
|
-
const b = `${A}${
|
|
14282
|
+
const b = `${A}${f}/newcomments/get?${w.toString()}`;
|
|
14226
14283
|
try {
|
|
14227
14284
|
const { data: E } = await re.get(b, {
|
|
14228
14285
|
headers: {
|
|
@@ -14483,11 +14540,11 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14483
14540
|
if (!u || !s.CONFIG_commentsV2 || !i || !document) return;
|
|
14484
14541
|
const g = document.getElementById("comment-button");
|
|
14485
14542
|
if (!g) return;
|
|
14486
|
-
const
|
|
14543
|
+
const h = g.closest(".comment-form"), A = h?.querySelector('input[name="username"]'), w = h?.querySelector('textarea[name="comment"]'), b = h?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
14487
14544
|
A?.value?.trim() && w?.value?.trim() && b?.value?.trim() && g.click();
|
|
14488
14545
|
});
|
|
14489
|
-
const
|
|
14490
|
-
return o ? /* @__PURE__ */ a("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ a("img", { className: "success-gif su-absolute", src:
|
|
14546
|
+
const f = oe("/Success.gif");
|
|
14547
|
+
return o ? /* @__PURE__ */ a("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ a("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */ p(J, { children: [
|
|
14491
14548
|
d && s.CONFIG_commentsV2 && i && /* @__PURE__ */ a(Kl, { API_ENV: s, icon: n, handleGoogleLogin: r, onClose: (g) => {
|
|
14492
14549
|
g && l(!0), m(!1);
|
|
14493
14550
|
} }),
|
|
@@ -14546,9 +14603,9 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14546
14603
|
return g && (g.style.display = "block"), !1;
|
|
14547
14604
|
}
|
|
14548
14605
|
if (!r && !u) return;
|
|
14549
|
-
const
|
|
14606
|
+
const f = r ? l : "[[" + u + "]] " + l;
|
|
14550
14607
|
try {
|
|
14551
|
-
const g = Date.now(),
|
|
14608
|
+
const g = Date.now(), h = await fetch("/api/comments-add", {
|
|
14552
14609
|
method: "POST",
|
|
14553
14610
|
headers: { "Content-Type": "application/json" },
|
|
14554
14611
|
body: JSON.stringify({
|
|
@@ -14556,19 +14613,19 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14556
14613
|
path: e,
|
|
14557
14614
|
id: i,
|
|
14558
14615
|
username: r ? r.username : !1,
|
|
14559
|
-
comment:
|
|
14616
|
+
comment: f,
|
|
14560
14617
|
recaptchaResponse: s
|
|
14561
14618
|
})
|
|
14562
14619
|
});
|
|
14563
14620
|
let A = null;
|
|
14564
14621
|
try {
|
|
14565
|
-
A = await
|
|
14622
|
+
A = await h.json();
|
|
14566
14623
|
} catch (S) {
|
|
14567
14624
|
console.error("Error parsing JSON response:", S);
|
|
14568
14625
|
}
|
|
14569
|
-
if (!
|
|
14626
|
+
if (!h.ok)
|
|
14570
14627
|
throw new Error(
|
|
14571
|
-
`Error al enviar comentario: ${A?.message} status: ${
|
|
14628
|
+
`Error al enviar comentario: ${A?.message} status: ${h.status}`
|
|
14572
14629
|
);
|
|
14573
14630
|
const w = Date.now(), b = Math.max(0, 2400 + Math.abs(w - g)), E = r || { username: u, firstname: u }, N = {
|
|
14574
14631
|
username: E.username,
|
|
@@ -14619,13 +14676,13 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14619
14676
|
children: /* @__PURE__ */ a(
|
|
14620
14677
|
qs,
|
|
14621
14678
|
{
|
|
14622
|
-
onClick: async (
|
|
14679
|
+
onClick: async (f) => {
|
|
14623
14680
|
if (c) return;
|
|
14624
14681
|
const g = await Ms({
|
|
14625
14682
|
path: n,
|
|
14626
14683
|
ref: t,
|
|
14627
14684
|
captchaToken: l,
|
|
14628
|
-
button:
|
|
14685
|
+
button: f.currentTarget,
|
|
14629
14686
|
user: s,
|
|
14630
14687
|
id: e,
|
|
14631
14688
|
addComment: r,
|
|
@@ -14661,7 +14718,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14661
14718
|
}, Zl = {
|
|
14662
14719
|
moreRepliesButton: "Más Respuestas"
|
|
14663
14720
|
}, Xl = ({ comment: e, replyingTo: t, path: s, user: n, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: c }) => {
|
|
14664
|
-
const u = { ...Zl, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = $(l), [
|
|
14721
|
+
const u = { ...Zl, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = $(l), [f, g] = le.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: A } = o, w = e.text, b = le.useRef(null);
|
|
14665
14722
|
let E = `${Ie.firstname} ${Ie.lastname ?? ""}`, N = Ie.username;
|
|
14666
14723
|
e.user && (E = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
|
|
14667
14724
|
const S = (v) => {
|
|
@@ -14709,7 +14766,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14709
14766
|
},
|
|
14710
14767
|
v.id
|
|
14711
14768
|
)),
|
|
14712
|
-
|
|
14769
|
+
f ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(Ls, {}) }) : d.morereply && /* @__PURE__ */ a(
|
|
14713
14770
|
"button",
|
|
14714
14771
|
{
|
|
14715
14772
|
className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
|
|
@@ -14718,7 +14775,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14718
14775
|
g(!0);
|
|
14719
14776
|
try {
|
|
14720
14777
|
const R = await Ps({
|
|
14721
|
-
publication:
|
|
14778
|
+
publication: h ?? "",
|
|
14722
14779
|
path: s ?? "",
|
|
14723
14780
|
size: 2,
|
|
14724
14781
|
sizereply: 2,
|
|
@@ -14838,7 +14895,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14838
14895
|
children: /* @__PURE__ */ a(
|
|
14839
14896
|
qs,
|
|
14840
14897
|
{
|
|
14841
|
-
onClick: async (
|
|
14898
|
+
onClick: async (f) => {
|
|
14842
14899
|
if (c) {
|
|
14843
14900
|
console.log("error");
|
|
14844
14901
|
return;
|
|
@@ -14847,19 +14904,19 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14847
14904
|
console.log("invalidForm");
|
|
14848
14905
|
return;
|
|
14849
14906
|
}
|
|
14850
|
-
const g = e.current.value,
|
|
14907
|
+
const g = e.current.value, h = await Ms({
|
|
14851
14908
|
path: s,
|
|
14852
14909
|
ref: t,
|
|
14853
14910
|
captchaToken: l,
|
|
14854
|
-
button:
|
|
14911
|
+
button: f.currentTarget,
|
|
14855
14912
|
user: void 0,
|
|
14856
14913
|
addComment: i,
|
|
14857
14914
|
API_ENV: o,
|
|
14858
14915
|
anonimusUser: g
|
|
14859
14916
|
});
|
|
14860
|
-
return d(""),
|
|
14917
|
+
return d(""), h && typeof h == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), u(!0), setTimeout(() => {
|
|
14861
14918
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), u(!0);
|
|
14862
|
-
},
|
|
14919
|
+
}, h), !0) : !1;
|
|
14863
14920
|
},
|
|
14864
14921
|
isDisabled: c,
|
|
14865
14922
|
API_ENV: o,
|
|
@@ -14888,9 +14945,9 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14888
14945
|
API_ENV: o,
|
|
14889
14946
|
texts: c
|
|
14890
14947
|
}) => {
|
|
14891
|
-
const u = { ...ad, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: d } = o, m = l ?? "",
|
|
14948
|
+
const u = { ...ad, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: d } = o, m = l ?? "", f = t.replaceAll("/", "|"), [g, h] = $(
|
|
14892
14949
|
void 0
|
|
14893
|
-
), [A, w] = $(""), { comments: b, setComments: E } = Wl(
|
|
14950
|
+
), [A, w] = $(""), { comments: b, setComments: E } = Wl(f, o), [N, S] = le.useState(!1), v = le.useRef(null), I = le.useRef(null), R = (x) => {
|
|
14894
14951
|
w(A === x ? "" : x);
|
|
14895
14952
|
}, Q = (x) => {
|
|
14896
14953
|
E(
|
|
@@ -14900,7 +14957,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14900
14957
|
} : void 0
|
|
14901
14958
|
);
|
|
14902
14959
|
}, W = (x) => {
|
|
14903
|
-
|
|
14960
|
+
h(x);
|
|
14904
14961
|
}, j = async () => {
|
|
14905
14962
|
if (!b || !b.morecomment || b.comments.length === 0) return;
|
|
14906
14963
|
const x = b.comments[b.comments.length - 1];
|
|
@@ -14910,7 +14967,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14910
14967
|
try {
|
|
14911
14968
|
const M = await Ps({
|
|
14912
14969
|
publication: m,
|
|
14913
|
-
path:
|
|
14970
|
+
path: f ?? "",
|
|
14914
14971
|
size: 5,
|
|
14915
14972
|
sizereply: 2,
|
|
14916
14973
|
id: void 0,
|
|
@@ -14946,7 +15003,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14946
15003
|
commentRef: v,
|
|
14947
15004
|
user: s,
|
|
14948
15005
|
addComment: Q,
|
|
14949
|
-
path:
|
|
15006
|
+
path: f,
|
|
14950
15007
|
API_ENV: o
|
|
14951
15008
|
}
|
|
14952
15009
|
)
|
|
@@ -14964,7 +15021,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14964
15021
|
icon: r,
|
|
14965
15022
|
handleGoogleLogin: i,
|
|
14966
15023
|
addComment: Q,
|
|
14967
|
-
path:
|
|
15024
|
+
path: f,
|
|
14968
15025
|
API_ENV: o
|
|
14969
15026
|
}
|
|
14970
15027
|
)
|
|
@@ -14983,7 +15040,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
14983
15040
|
handleReplyingTo: R,
|
|
14984
15041
|
onFlag: W,
|
|
14985
15042
|
user: s ?? Ie,
|
|
14986
|
-
path:
|
|
15043
|
+
path: f,
|
|
14987
15044
|
API_ENV: o,
|
|
14988
15045
|
texts: c
|
|
14989
15046
|
},
|
|
@@ -15009,7 +15066,7 @@ const qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: n, handleGoogleLogin:
|
|
|
15009
15066
|
publication: m,
|
|
15010
15067
|
commentId: g,
|
|
15011
15068
|
isOpen: g !== void 0,
|
|
15012
|
-
onClose: () =>
|
|
15069
|
+
onClose: () => h(void 0),
|
|
15013
15070
|
CAPTCHA_KEY_V2: o.CAPTCHA_KEY_V2 ?? "",
|
|
15014
15071
|
texts: c
|
|
15015
15072
|
}
|
|
@@ -15076,8 +15133,8 @@ function id({
|
|
|
15076
15133
|
try {
|
|
15077
15134
|
const A = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
15078
15135
|
o(A.isAuthenticated ?? !1), u(A.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
|
|
15079
|
-
} catch (
|
|
15080
|
-
console.error("Error checking auth:",
|
|
15136
|
+
} catch (h) {
|
|
15137
|
+
console.error("Error checking auth:", h), o(!1), u(null);
|
|
15081
15138
|
}
|
|
15082
15139
|
}
|
|
15083
15140
|
}, [e, l]);
|
|
@@ -15085,14 +15142,14 @@ function id({
|
|
|
15085
15142
|
d();
|
|
15086
15143
|
}, [d, e]), Te(() => {
|
|
15087
15144
|
if (!c || !e || typeof window > "u") return;
|
|
15088
|
-
const
|
|
15089
|
-
if (typeof
|
|
15145
|
+
const h = window;
|
|
15146
|
+
if (typeof h != "function") {
|
|
15090
15147
|
console.warn("gtag no está disponible todavía");
|
|
15091
15148
|
return;
|
|
15092
15149
|
}
|
|
15093
|
-
|
|
15150
|
+
h.gtag("set", { user_id: c.username }), console.log("username setted successfully");
|
|
15094
15151
|
}, [c, e]);
|
|
15095
|
-
const m = "/api/auth/login",
|
|
15152
|
+
const m = "/api/auth/login", f = /* @__PURE__ */ a(
|
|
15096
15153
|
"div",
|
|
15097
15154
|
{
|
|
15098
15155
|
className: "su-flex-center su-relative",
|
|
@@ -15101,7 +15158,7 @@ function id({
|
|
|
15101
15158
|
}
|
|
15102
15159
|
}
|
|
15103
15160
|
);
|
|
15104
|
-
if (i === null) return
|
|
15161
|
+
if (i === null) return f;
|
|
15105
15162
|
const g = t.replaceAll("|", "/");
|
|
15106
15163
|
return e ? /* @__PURE__ */ a(
|
|
15107
15164
|
rd,
|
|
@@ -15116,7 +15173,7 @@ function id({
|
|
|
15116
15173
|
API_ENV: n,
|
|
15117
15174
|
texts: r
|
|
15118
15175
|
}
|
|
15119
|
-
) :
|
|
15176
|
+
) : f;
|
|
15120
15177
|
}
|
|
15121
15178
|
const ku = ({
|
|
15122
15179
|
internalPath: e,
|
|
@@ -15188,7 +15245,7 @@ async function Pu({
|
|
|
15188
15245
|
message: "Faltan campos obligatorios. Por favor, completa todos los campos.",
|
|
15189
15246
|
status: 400
|
|
15190
15247
|
};
|
|
15191
|
-
if ([e, t, n].some((
|
|
15248
|
+
if ([e, t, n].some((h) => typeof h != "string"))
|
|
15192
15249
|
return {
|
|
15193
15250
|
type: "error",
|
|
15194
15251
|
message: "Datos inválidos. Intenta de nuevo.",
|
|
@@ -15207,15 +15264,15 @@ async function Pu({
|
|
|
15207
15264
|
message: "Captcha inválido. Intenta nuevamente.",
|
|
15208
15265
|
status: 403
|
|
15209
15266
|
};
|
|
15210
|
-
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`,
|
|
15267
|
+
const m = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/add`, f = {
|
|
15211
15268
|
publication: e,
|
|
15212
15269
|
path: t.replace(/\|/gi, "/"),
|
|
15213
15270
|
text: n.trim()
|
|
15214
15271
|
};
|
|
15215
|
-
s && (
|
|
15216
|
-
const g = new URLSearchParams(
|
|
15272
|
+
s && (f.username = s), r && (f.id = r);
|
|
15273
|
+
const g = new URLSearchParams(f);
|
|
15217
15274
|
try {
|
|
15218
|
-
const { data:
|
|
15275
|
+
const { data: h } = await re.get(`${m}?${g.toString()}`, {
|
|
15219
15276
|
headers: {
|
|
15220
15277
|
"Content-Type": "application/json",
|
|
15221
15278
|
"x-security-token": u,
|
|
@@ -15223,18 +15280,18 @@ async function Pu({
|
|
|
15223
15280
|
"User-Agent": "amplifyapp-comments-saas"
|
|
15224
15281
|
}
|
|
15225
15282
|
});
|
|
15226
|
-
return !
|
|
15283
|
+
return !h || h.error ? (console.error("CMS error response:", h), {
|
|
15227
15284
|
type: "error",
|
|
15228
15285
|
message: "No se pudo guardar el comentario. Intenta nuevamente en unos minutos.",
|
|
15229
15286
|
status: 502
|
|
15230
|
-
}) : (console.log("Comentario enviado con éxito",
|
|
15287
|
+
}) : (console.log("Comentario enviado con éxito", h), {
|
|
15231
15288
|
type: "success",
|
|
15232
15289
|
message: "Comentario enviado con éxito.",
|
|
15233
15290
|
status: 200
|
|
15234
15291
|
});
|
|
15235
|
-
} catch (
|
|
15236
|
-
if (console.error("Error enviando comentario:",
|
|
15237
|
-
const A =
|
|
15292
|
+
} catch (h) {
|
|
15293
|
+
if (console.error("Error enviando comentario:", h), re.isAxiosError(h)) {
|
|
15294
|
+
const A = h.response?.status ?? 500, w = h.response?.data;
|
|
15238
15295
|
return A === 400 ? {
|
|
15239
15296
|
type: "error",
|
|
15240
15297
|
message: w?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
@@ -15491,7 +15548,8 @@ const Pa = {
|
|
|
15491
15548
|
customSectionCardStyles: e.customSectionCardStyles,
|
|
15492
15549
|
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
15493
15550
|
paths: e.paths,
|
|
15494
|
-
textPosition: e.textPosition
|
|
15551
|
+
textPosition: e.textPosition,
|
|
15552
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
15495
15553
|
}
|
|
15496
15554
|
);
|
|
15497
15555
|
},
|
|
@@ -15510,18 +15568,27 @@ const Pa = {
|
|
|
15510
15568
|
rightOnlyBanner: e.rightOnlyBanner,
|
|
15511
15569
|
customSectionCardStyles: e.customSectionCardStyles,
|
|
15512
15570
|
customNewsDescriptionStyles: e.customNewsDescriptionStyles,
|
|
15513
|
-
paths: e.paths
|
|
15571
|
+
paths: e.paths,
|
|
15572
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
15514
15573
|
}
|
|
15515
15574
|
);
|
|
15516
15575
|
},
|
|
15517
|
-
Super: (e) => /* @__PURE__ */ a(
|
|
15576
|
+
Super: (e) => /* @__PURE__ */ a(
|
|
15577
|
+
We,
|
|
15578
|
+
{
|
|
15579
|
+
...e.data[0],
|
|
15580
|
+
paths: e.paths,
|
|
15581
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
15582
|
+
}
|
|
15583
|
+
),
|
|
15518
15584
|
"3 notas verticales": (e) => /* @__PURE__ */ a(
|
|
15519
15585
|
lc,
|
|
15520
15586
|
{
|
|
15521
15587
|
content: e.data,
|
|
15522
15588
|
customLargeSection: e.customLargeSection,
|
|
15523
15589
|
customSlimSection: e.customSlimSection,
|
|
15524
|
-
paths: e.paths
|
|
15590
|
+
paths: e.paths,
|
|
15591
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
15525
15592
|
}
|
|
15526
15593
|
),
|
|
15527
15594
|
"3 notas horizontales": (e) => /* @__PURE__ */ a(
|
|
@@ -15530,7 +15597,8 @@ const Pa = {
|
|
|
15530
15597
|
content: e.data,
|
|
15531
15598
|
customLargeSection: e.customLargeSection,
|
|
15532
15599
|
customSmallSection: e.customSmallSection,
|
|
15533
|
-
paths: e.paths
|
|
15600
|
+
paths: e.paths,
|
|
15601
|
+
speculationPrerenderClass: e.speculationPrerenderClass
|
|
15534
15602
|
}
|
|
15535
15603
|
)
|
|
15536
15604
|
}, es = ({
|
|
@@ -15553,15 +15621,15 @@ const Pa = {
|
|
|
15553
15621
|
}) => {
|
|
15554
15622
|
const c = [], l = t, d = Object.keys(e).length / l;
|
|
15555
15623
|
for (let m = 1; m <= d; m++)
|
|
15556
|
-
for (let
|
|
15557
|
-
const g = "Home_" + m + "_" +
|
|
15624
|
+
for (let f = 1; f <= l; f++) {
|
|
15625
|
+
const g = "Home_" + m + "_" + f;
|
|
15558
15626
|
!e[g] || !e[g].blockSass || !e[g].blockSass[0] || !e[g].blockSass[0].value || !e[g].blockSass[0].block || e[g].blockSass[0].block === "No Mostrar" || (e[g].blockSass[0]?.block === "Modulo iframe" ? c.push(
|
|
15559
15627
|
/* @__PURE__ */ p(
|
|
15560
15628
|
ma,
|
|
15561
15629
|
{
|
|
15562
15630
|
id: e[g].blockSass[0].key,
|
|
15563
15631
|
show: !!e[g].blockSass[0].value,
|
|
15564
|
-
order: (m - 1) * l + (
|
|
15632
|
+
order: (m - 1) * l + (f - 1),
|
|
15565
15633
|
children: [
|
|
15566
15634
|
/* @__PURE__ */ a(
|
|
15567
15635
|
La,
|
|
@@ -15580,12 +15648,12 @@ const Pa = {
|
|
|
15580
15648
|
Ve,
|
|
15581
15649
|
{
|
|
15582
15650
|
banners: i,
|
|
15583
|
-
index: "dynamic_" + m + "_" +
|
|
15651
|
+
index: "dynamic_" + m + "_" + f
|
|
15584
15652
|
}
|
|
15585
15653
|
) })
|
|
15586
15654
|
]
|
|
15587
15655
|
},
|
|
15588
|
-
m + "_" +
|
|
15656
|
+
m + "_" + f
|
|
15589
15657
|
)
|
|
15590
15658
|
) : c.push(
|
|
15591
15659
|
/* @__PURE__ */ p(
|
|
@@ -15593,7 +15661,7 @@ const Pa = {
|
|
|
15593
15661
|
{
|
|
15594
15662
|
id: e[g].blockSass[0].key,
|
|
15595
15663
|
show: !!e[g].content?.data,
|
|
15596
|
-
order: (m - 1) * l + (
|
|
15664
|
+
order: (m - 1) * l + (f - 1),
|
|
15597
15665
|
children: [
|
|
15598
15666
|
/* @__PURE__ */ a(
|
|
15599
15667
|
La,
|
|
@@ -15616,12 +15684,12 @@ const Pa = {
|
|
|
15616
15684
|
Ve,
|
|
15617
15685
|
{
|
|
15618
15686
|
banners: i,
|
|
15619
|
-
index: "dynamic_" + m + "_" +
|
|
15687
|
+
index: "dynamic_" + m + "_" + f
|
|
15620
15688
|
}
|
|
15621
15689
|
) })
|
|
15622
15690
|
]
|
|
15623
15691
|
},
|
|
15624
|
-
m + "_" +
|
|
15692
|
+
m + "_" + f
|
|
15625
15693
|
)
|
|
15626
15694
|
));
|
|
15627
15695
|
}
|