sass-template-common 0.3.43 → 0.3.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as f, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as Ha from "react";
|
|
3
|
-
import ke, { useState as K, useRef as Fs, useCallback as ue, useEffect as
|
|
3
|
+
import ke, { useState as K, useRef as Fs, useCallback as ue, useEffect as Qe, createElement as it, forwardRef as $s, Fragment as vn, useMemo as Jo, Component as Zo } from "react";
|
|
4
4
|
let ia = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -160,15 +160,15 @@ function Ws() {
|
|
|
160
160
|
(function(n, s) {
|
|
161
161
|
e.exports = s();
|
|
162
162
|
})(sr, (function() {
|
|
163
|
-
var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
163
|
+
var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
164
164
|
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
165
165
|
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
166
|
-
} },
|
|
166
|
+
} }, C = function(M, U, E) {
|
|
167
167
|
var D = String(M);
|
|
168
168
|
return !D || D.length >= U ? M : "" + Array(U + 1 - D.length).join(E) + M;
|
|
169
|
-
}, x = { s:
|
|
169
|
+
}, x = { s: C, z: function(M) {
|
|
170
170
|
var U = -M.utcOffset(), E = Math.abs(U), D = Math.floor(E / 60), T = E % 60;
|
|
171
|
-
return (U <= 0 ? "+" : "-") +
|
|
171
|
+
return (U <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(T, 2, "0");
|
|
172
172
|
}, m: function M(U, E) {
|
|
173
173
|
if (U.date() < E.date()) return -M(E, U);
|
|
174
174
|
var D = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(D, h), z = E - T < 0, y = U.clone().add(D + (z ? -1 : 1), h);
|
|
@@ -302,15 +302,15 @@ function Ws() {
|
|
|
302
302
|
}, U.format = function(E) {
|
|
303
303
|
var D = this, T = this.$locale();
|
|
304
304
|
if (!this.isValid()) return T.invalidDate || A;
|
|
305
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = B.z(this), S = this.$H, R = this.$m, j = this.$M, O = T.weekdays, H = T.months, V = T.meridiem, F = function($, ie, L,
|
|
306
|
-
return $ && ($[ie] || $(D, z)) || L[ie].slice(0,
|
|
305
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = B.z(this), S = this.$H, R = this.$m, j = this.$M, O = T.weekdays, H = T.months, V = T.meridiem, F = function($, ie, L, ve) {
|
|
306
|
+
return $ && ($[ie] || $(D, z)) || L[ie].slice(0, ve);
|
|
307
307
|
}, Z = function($) {
|
|
308
308
|
return B.s(S % 12 || 12, $, "0");
|
|
309
309
|
}, X = V || function($, ie, L) {
|
|
310
|
-
var
|
|
311
|
-
return L ?
|
|
310
|
+
var ve = $ < 12 ? "AM" : "PM";
|
|
311
|
+
return L ? ve.toLowerCase() : ve;
|
|
312
312
|
};
|
|
313
|
-
return z.replace(
|
|
313
|
+
return z.replace(v, (function($, ie) {
|
|
314
314
|
return ie || (function(L) {
|
|
315
315
|
switch (L) {
|
|
316
316
|
case "YY":
|
|
@@ -447,19 +447,19 @@ function ir() {
|
|
|
447
447
|
return r.fromToBase(l, u, h, m);
|
|
448
448
|
}
|
|
449
449
|
o.en.relativeTime = i, r.fromToBase = function(l, u, h, m, p) {
|
|
450
|
-
for (var g, A, w,
|
|
450
|
+
for (var g, A, w, v = h.$locale().relativeTime || i, N = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], C = N.length, x = 0; x < C; x += 1) {
|
|
451
451
|
var _ = N[x];
|
|
452
452
|
_.d && (g = m ? o(l).diff(h, _.d, !0) : h.diff(l, _.d, !0));
|
|
453
453
|
var I = (n.rounding || Math.round)(Math.abs(g));
|
|
454
454
|
if (w = g > 0, I <= _.r || !_.r) {
|
|
455
455
|
I <= 1 && x > 0 && (_ = N[x - 1]);
|
|
456
|
-
var P =
|
|
456
|
+
var P = v[_.l];
|
|
457
457
|
p && (I = p("" + I)), A = typeof P == "string" ? P.replace("%d", I) : P(I, u, _.l, w);
|
|
458
458
|
break;
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
if (u) return A;
|
|
462
|
-
var Q = w ?
|
|
462
|
+
var Q = w ? v.future : v.past;
|
|
463
463
|
return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
|
|
464
464
|
}, r.to = function(l, u) {
|
|
465
465
|
return c(l, u, this, !0);
|
|
@@ -528,8 +528,8 @@ function mr() {
|
|
|
528
528
|
};
|
|
529
529
|
var h = d.utcOffset;
|
|
530
530
|
d.utcOffset = function(A, w) {
|
|
531
|
-
var
|
|
532
|
-
if (
|
|
531
|
+
var v = this.$utils().u;
|
|
532
|
+
if (v(A)) return this.$u ? 0 : v(this.$offset) ? h.call(this) : this.$offset;
|
|
533
533
|
if (typeof A == "string" && (A = (function(_) {
|
|
534
534
|
_ === void 0 && (_ = "");
|
|
535
535
|
var I = _.match(s);
|
|
@@ -539,10 +539,10 @@ function mr() {
|
|
|
539
539
|
})(A), A === null)) return this;
|
|
540
540
|
var N = Math.abs(A) <= 16 ? 60 * A : A;
|
|
541
541
|
if (N === 0) return this.utc(w);
|
|
542
|
-
var
|
|
543
|
-
if (w) return
|
|
542
|
+
var C = this.clone();
|
|
543
|
+
if (w) return C.$offset = N, C.$u = !1, C;
|
|
544
544
|
var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
545
|
-
return (
|
|
545
|
+
return (C = this.local().add(N + x, n)).$offset = N, C.$x.$localOffset = x, C;
|
|
546
546
|
};
|
|
547
547
|
var m = d.format;
|
|
548
548
|
d.format = function(A) {
|
|
@@ -563,10 +563,10 @@ function mr() {
|
|
|
563
563
|
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
564
564
|
};
|
|
565
565
|
var g = d.diff;
|
|
566
|
-
d.diff = function(A, w,
|
|
567
|
-
if (A && this.$u === A.$u) return g.call(this, A, w,
|
|
568
|
-
var N = this.local(),
|
|
569
|
-
return g.call(N,
|
|
566
|
+
d.diff = function(A, w, v) {
|
|
567
|
+
if (A && this.$u === A.$u) return g.call(this, A, w, v);
|
|
568
|
+
var N = this.local(), C = c(A).local();
|
|
569
|
+
return g.call(N, C, w, v);
|
|
570
570
|
};
|
|
571
571
|
};
|
|
572
572
|
}));
|
|
@@ -584,25 +584,25 @@ function Ar() {
|
|
|
584
584
|
return function(o, r, i) {
|
|
585
585
|
var c, d = function(m, p, g) {
|
|
586
586
|
g === void 0 && (g = {});
|
|
587
|
-
var A = new Date(m), w = (function(
|
|
587
|
+
var A = new Date(m), w = (function(v, N) {
|
|
588
588
|
N === void 0 && (N = {});
|
|
589
|
-
var
|
|
590
|
-
return _ || (_ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone:
|
|
589
|
+
var C = N.timeZoneName || "short", x = v + "|" + C, _ = s[x];
|
|
590
|
+
return _ || (_ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: C }), s[x] = _), _;
|
|
591
591
|
})(p, g);
|
|
592
592
|
return w.formatToParts(A);
|
|
593
593
|
}, l = function(m, p) {
|
|
594
594
|
for (var g = d(m, p), A = [], w = 0; w < g.length; w += 1) {
|
|
595
|
-
var
|
|
596
|
-
x >= 0 && (A[x] = parseInt(
|
|
595
|
+
var v = g[w], N = v.type, C = v.value, x = n[N];
|
|
596
|
+
x >= 0 && (A[x] = parseInt(C, 10));
|
|
597
597
|
}
|
|
598
598
|
var _ = A[3], I = _ === 24 ? 0 : _, P = A[0] + "-" + A[1] + "-" + A[2] + " " + I + ":" + A[4] + ":" + A[5] + ":000", Q = +m;
|
|
599
599
|
return (i.utc(P).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
600
600
|
}, u = r.prototype;
|
|
601
601
|
u.tz = function(m, p) {
|
|
602
602
|
m === void 0 && (m = c);
|
|
603
|
-
var g, A = this.utcOffset(), w = this.toDate(),
|
|
604
|
-
if (!Number(
|
|
605
|
-
else if (g = i(
|
|
603
|
+
var g, A = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: m }), N = Math.round((w - new Date(v)) / 1e3 / 60), C = 15 * -Math.round(w.getTimezoneOffset() / 15) - N;
|
|
604
|
+
if (!Number(C)) g = this.utcOffset(0, p);
|
|
605
|
+
else if (g = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(C, !0), p) {
|
|
606
606
|
var x = g.utcOffset();
|
|
607
607
|
g = g.add(A - x, "minute");
|
|
608
608
|
}
|
|
@@ -619,14 +619,14 @@ function Ar() {
|
|
|
619
619
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
620
620
|
return h.call(g, m, p).tz(this.$x.$timezone, !0);
|
|
621
621
|
}, i.tz = function(m, p, g) {
|
|
622
|
-
var A = g && p, w = g || p || c,
|
|
622
|
+
var A = g && p, w = g || p || c, v = l(+i(), w);
|
|
623
623
|
if (typeof m != "string") return i(m).tz(w);
|
|
624
624
|
var N = (function(I, P, Q) {
|
|
625
625
|
var W = I - 60 * P * 1e3, G = l(W, Q);
|
|
626
626
|
if (P === G) return [W, P];
|
|
627
627
|
var B = l(W -= 60 * (G - P) * 1e3, Q);
|
|
628
628
|
return G === B ? [W, G] : [I - 60 * Math.min(G, B) * 1e3, Math.max(G, B)];
|
|
629
|
-
})(i.utc(m, A).valueOf(),
|
|
629
|
+
})(i.utc(m, A).valueOf(), v, w), C = N[0], x = N[1], _ = i(C).utcOffset(x);
|
|
630
630
|
return _.$x.$timezone = w, _;
|
|
631
631
|
}, i.tz.guess = function() {
|
|
632
632
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -642,7 +642,7 @@ const yr = /* @__PURE__ */ It(wr);
|
|
|
642
642
|
Te.extend(gr);
|
|
643
643
|
Te.extend(yr);
|
|
644
644
|
Te.extend(lr);
|
|
645
|
-
const In = (e) => e === "en" ? "en" : "es",
|
|
645
|
+
const In = (e) => e === "en" ? "en" : "es", Ge = (e, t) => {
|
|
646
646
|
const { PUBLIC_LNG: n, DATE_TIMEZONE: s } = t || te(), o = In(n ?? "es");
|
|
647
647
|
return Te.tz(e, s).locale(o).format("DD MMMM YYYY");
|
|
648
648
|
}, _a = (e) => {
|
|
@@ -650,17 +650,17 @@ const In = (e) => e === "en" ? "en" : "es", Qe = (e, t) => {
|
|
|
650
650
|
return Te.tz(e, n).locale(s).format(
|
|
651
651
|
s === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
652
652
|
);
|
|
653
|
-
},
|
|
653
|
+
}, vr = (e) => {
|
|
654
654
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = te(), s = In(t ?? "es");
|
|
655
655
|
return Te.tz(e, n).locale(s).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
656
656
|
}, a3 = (e) => {
|
|
657
657
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = te(), s = In(t ?? "es");
|
|
658
658
|
return Te.tz(e, n).locale(s).format("dddd DD [de] MMMM YYYY");
|
|
659
|
-
},
|
|
659
|
+
}, He = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
660
660
|
function St(e) {
|
|
661
661
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Cr(e) {
|
|
664
664
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
665
665
|
}
|
|
666
666
|
const Ht = (e, t, n, s) => ({
|
|
@@ -738,7 +738,7 @@ const _r = async (e, t) => {
|
|
|
738
738
|
}), (await Promise.allSettled(n)).map(
|
|
739
739
|
(r) => St(r)?.data
|
|
740
740
|
);
|
|
741
|
-
},
|
|
741
|
+
}, Cn = () => {
|
|
742
742
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = te();
|
|
743
743
|
return e == "local" ? t : n && n !== "false" ? n : "";
|
|
744
744
|
}, s3 = () => {
|
|
@@ -927,7 +927,7 @@ const _r = async (e, t) => {
|
|
|
927
927
|
)
|
|
928
928
|
);
|
|
929
929
|
}), t;
|
|
930
|
-
}, pe = async (e) => `${
|
|
930
|
+
}, pe = async (e) => `${Cn()}${e}`, ba = (e, t) => {
|
|
931
931
|
const n = e || "";
|
|
932
932
|
return t ? n.replaceAll("[section_replace]", t["[section_replace]"] ?? "").replaceAll("[tag_replace]", t["[tag_replace]"] ?? "").replaceAll("[url_replace]", t["[url_replace]"] ?? "").replaceAll("[author_replace]", t["[author_replace]"] ?? "") || "" : n || "";
|
|
933
933
|
}, Ks = (e) => {
|
|
@@ -1365,24 +1365,24 @@ const Dr = async ({
|
|
|
1365
1365
|
if (e.search("/page/") === -1) return e.replace("/", "");
|
|
1366
1366
|
const t = e.split("/"), n = t.indexOf("page") - 1;
|
|
1367
1367
|
return n < 0 ? e : (t[n] ?? "").replace("/", "");
|
|
1368
|
-
},
|
|
1368
|
+
}, qe = (e) => {
|
|
1369
1369
|
const n = e.replace(/^\/|\/$/g, "").split("/"), s = n.indexOf("page");
|
|
1370
1370
|
return s > 0 ? n[s - 1] ?? "" : n[n.length - 1] ?? "";
|
|
1371
1371
|
}, zr = {
|
|
1372
1372
|
404: () => "404",
|
|
1373
1373
|
home: () => "home",
|
|
1374
|
-
slug: (e) =>
|
|
1374
|
+
slug: (e) => qe(e.pathname),
|
|
1375
1375
|
news: (e) => Nr(e.pathname)?.slug,
|
|
1376
|
-
seccion: (e) =>
|
|
1377
|
-
tema: (e) =>
|
|
1378
|
-
pages: (e) =>
|
|
1379
|
-
buscar: (e) =>
|
|
1380
|
-
"ultimas-noticias": (e) =>
|
|
1381
|
-
anuncia: () =>
|
|
1382
|
-
contacto: () =>
|
|
1383
|
-
autor: (e) =>
|
|
1384
|
-
video: (e) =>
|
|
1385
|
-
videos: (e) =>
|
|
1376
|
+
seccion: (e) => qe(e.pathname),
|
|
1377
|
+
tema: (e) => qe(e.pathname),
|
|
1378
|
+
pages: (e) => qe(e.pathname),
|
|
1379
|
+
buscar: (e) => qe(e.pathname),
|
|
1380
|
+
"ultimas-noticias": (e) => qe(e.pathname),
|
|
1381
|
+
anuncia: () => (e) => qe(e.pathname),
|
|
1382
|
+
contacto: () => (e) => qe(e.pathname),
|
|
1383
|
+
autor: (e) => qe(e.pathname),
|
|
1384
|
+
video: (e) => qe(e.pathname),
|
|
1385
|
+
videos: (e) => qe(e.pathname)
|
|
1386
1386
|
}, Zt = (e) => {
|
|
1387
1387
|
const t = e.split("/"), n = t[t.length - 1] ?? "1";
|
|
1388
1388
|
return Number(n) > 0 ? Number(n) : 1;
|
|
@@ -1528,11 +1528,11 @@ function Zs(e, t) {
|
|
|
1528
1528
|
const { toString: Vr } = Object.prototype, { getPrototypeOf: Sa } = Object, { iterator: kn, toStringTag: Xs } = Symbol, Un = /* @__PURE__ */ ((e) => (t) => {
|
|
1529
1529
|
const n = Vr.call(t);
|
|
1530
1530
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1531
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
1531
|
+
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => Un(t) === e), Rn = (e) => (t) => typeof t === e, { isArray: Tt } = Array, xt = Rn("undefined");
|
|
1532
1532
|
function zt(e) {
|
|
1533
1533
|
return e !== null && !xt(e) && e.constructor !== null && !xt(e.constructor) && Ne(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1534
1534
|
}
|
|
1535
|
-
const eo =
|
|
1535
|
+
const eo = De("ArrayBuffer");
|
|
1536
1536
|
function Fr(e) {
|
|
1537
1537
|
let t;
|
|
1538
1538
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && eo(e.buffer), t;
|
|
@@ -1550,11 +1550,11 @@ const $r = Rn("string"), Ne = Rn("function"), to = Rn("number"), Vt = (e) => e !
|
|
|
1550
1550
|
} catch {
|
|
1551
1551
|
return !1;
|
|
1552
1552
|
}
|
|
1553
|
-
}, Kr =
|
|
1553
|
+
}, Kr = De("Date"), Jr = De("File"), Zr = De("Blob"), Xr = De("FileList"), ei = (e) => Vt(e) && Ne(e.pipe), ti = (e) => {
|
|
1554
1554
|
let t;
|
|
1555
1555
|
return e && (typeof FormData == "function" && e instanceof FormData || Ne(e.append) && ((t = Un(e)) === "formdata" || // detect form-data instance
|
|
1556
1556
|
t === "object" && Ne(e.toString) && e.toString() === "[object FormData]"));
|
|
1557
|
-
}, ni =
|
|
1557
|
+
}, ni = De("URLSearchParams"), [ai, si, oi, ri] = ["ReadableStream", "Request", "Response", "Headers"].map(De), ii = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
1558
1558
|
function Ft(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
1559
1559
|
if (e === null || typeof e > "u")
|
|
1560
1560
|
return;
|
|
@@ -1634,18 +1634,18 @@ const ci = (e, t, n, { allOwnKeys: s } = {}) => (Ft(t, (o, r) => {
|
|
|
1634
1634
|
for (; (n = e.exec(t)) !== null; )
|
|
1635
1635
|
s.push(n);
|
|
1636
1636
|
return s;
|
|
1637
|
-
}, Ai =
|
|
1637
|
+
}, Ai = De("HTMLFormElement"), wi = (e) => e.toLowerCase().replace(
|
|
1638
1638
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
1639
1639
|
function(n, s, o) {
|
|
1640
1640
|
return s.toUpperCase() + o;
|
|
1641
1641
|
}
|
|
1642
|
-
), Ja = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), yi =
|
|
1642
|
+
), Ja = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), yi = De("RegExp"), so = (e, t) => {
|
|
1643
1643
|
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
1644
1644
|
Ft(n, (o, r) => {
|
|
1645
1645
|
let i;
|
|
1646
1646
|
(i = t(o, r, e)) !== !1 && (s[r] = i || o);
|
|
1647
1647
|
}), Object.defineProperties(e, s);
|
|
1648
|
-
},
|
|
1648
|
+
}, vi = (e) => {
|
|
1649
1649
|
so(e, (t, n) => {
|
|
1650
1650
|
if (Ne(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1651
1651
|
return !1;
|
|
@@ -1660,7 +1660,7 @@ const ci = (e, t, n, { allOwnKeys: s } = {}) => (Ft(t, (o, r) => {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
1662
|
});
|
|
1663
|
-
},
|
|
1663
|
+
}, Ci = (e, t) => {
|
|
1664
1664
|
const n = {}, s = (o) => {
|
|
1665
1665
|
o.forEach((r) => {
|
|
1666
1666
|
n[r] = !0;
|
|
@@ -1691,7 +1691,7 @@ const Si = (e) => {
|
|
|
1691
1691
|
return s;
|
|
1692
1692
|
};
|
|
1693
1693
|
return n(e, 0);
|
|
1694
|
-
}, xi =
|
|
1694
|
+
}, xi = De("AsyncFunction"), Ei = (e) => e && (Vt(e) || Ne(e)) && Ne(e.then) && Ne(e.catch), oo = ((e, t) => e ? setImmediate : t ? ((n, s) => (mt.addEventListener("message", ({ source: o, data: r }) => {
|
|
1695
1695
|
o === mt && r === n && s.length && s.shift()();
|
|
1696
1696
|
}, !1), (o) => {
|
|
1697
1697
|
s.push(o), mt.postMessage(n, "*");
|
|
@@ -1732,7 +1732,7 @@ const Si = (e) => {
|
|
|
1732
1732
|
inherits: di,
|
|
1733
1733
|
toFlatObject: ui,
|
|
1734
1734
|
kindOf: Un,
|
|
1735
|
-
kindOfTest:
|
|
1735
|
+
kindOfTest: De,
|
|
1736
1736
|
endsWith: hi,
|
|
1737
1737
|
toArray: mi,
|
|
1738
1738
|
forEachEntry: gi,
|
|
@@ -1742,8 +1742,8 @@ const Si = (e) => {
|
|
|
1742
1742
|
hasOwnProp: Ja,
|
|
1743
1743
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1744
1744
|
reduceDescriptors: so,
|
|
1745
|
-
freezeMethods:
|
|
1746
|
-
toObjectSet:
|
|
1745
|
+
freezeMethods: vi,
|
|
1746
|
+
toObjectSet: Ci,
|
|
1747
1747
|
toCamelCase: wi,
|
|
1748
1748
|
noop: _i,
|
|
1749
1749
|
toFiniteNumber: bi,
|
|
@@ -1852,16 +1852,16 @@ function Ln(e, t, n) {
|
|
|
1852
1852
|
return b.isArrayBuffer(g) || b.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1853
1853
|
}
|
|
1854
1854
|
function u(g, A, w) {
|
|
1855
|
-
let
|
|
1855
|
+
let v = g;
|
|
1856
1856
|
if (g && !w && typeof g == "object") {
|
|
1857
1857
|
if (b.endsWith(A, "{}"))
|
|
1858
1858
|
A = s ? A : A.slice(0, -2), g = JSON.stringify(g);
|
|
1859
|
-
else if (b.isArray(g) && Ui(g) || (b.isFileList(g) || b.endsWith(A, "[]")) && (
|
|
1860
|
-
return A = co(A),
|
|
1861
|
-
!(b.isUndefined(
|
|
1859
|
+
else if (b.isArray(g) && Ui(g) || (b.isFileList(g) || b.endsWith(A, "[]")) && (v = b.toArray(g)))
|
|
1860
|
+
return A = co(A), v.forEach(function(C, x) {
|
|
1861
|
+
!(b.isUndefined(C) || C === null) && t.append(
|
|
1862
1862
|
// eslint-disable-next-line no-nested-ternary
|
|
1863
1863
|
i === !0 ? Za([A], x, r) : i === null ? A : A + "[]",
|
|
1864
|
-
l(
|
|
1864
|
+
l(C)
|
|
1865
1865
|
);
|
|
1866
1866
|
}), !1;
|
|
1867
1867
|
}
|
|
@@ -1876,14 +1876,14 @@ function Ln(e, t, n) {
|
|
|
1876
1876
|
if (!b.isUndefined(g)) {
|
|
1877
1877
|
if (h.indexOf(g) !== -1)
|
|
1878
1878
|
throw Error("Circular reference detected in " + A.join("."));
|
|
1879
|
-
h.push(g), b.forEach(g, function(
|
|
1880
|
-
(!(b.isUndefined(
|
|
1879
|
+
h.push(g), b.forEach(g, function(v, N) {
|
|
1880
|
+
(!(b.isUndefined(v) || v === null) && o.call(
|
|
1881
1881
|
t,
|
|
1882
|
-
|
|
1882
|
+
v,
|
|
1883
1883
|
b.isString(N) ? N.trim() : N,
|
|
1884
1884
|
A,
|
|
1885
1885
|
m
|
|
1886
|
-
)) === !0 && p(
|
|
1886
|
+
)) === !0 && p(v, A ? A.concat(N) : [N]);
|
|
1887
1887
|
}), h.pop();
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
@@ -2554,16 +2554,16 @@ const Ao = (e) => {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
let w = new XMLHttpRequest();
|
|
2556
2556
|
w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
|
|
2557
|
-
function
|
|
2557
|
+
function v() {
|
|
2558
2558
|
if (!w)
|
|
2559
2559
|
return;
|
|
2560
|
-
const
|
|
2560
|
+
const C = Se.from(
|
|
2561
2561
|
"getAllResponseHeaders" in w && w.getAllResponseHeaders()
|
|
2562
2562
|
), _ = {
|
|
2563
2563
|
data: !c || c === "text" || c === "json" ? w.responseText : w.response,
|
|
2564
2564
|
status: w.status,
|
|
2565
2565
|
statusText: w.statusText,
|
|
2566
|
-
headers:
|
|
2566
|
+
headers: C,
|
|
2567
2567
|
config: e,
|
|
2568
2568
|
request: w
|
|
2569
2569
|
};
|
|
@@ -2573,8 +2573,8 @@ const Ao = (e) => {
|
|
|
2573
2573
|
s(P), A();
|
|
2574
2574
|
}, _), w = null;
|
|
2575
2575
|
}
|
|
2576
|
-
"onloadend" in w ? w.onloadend =
|
|
2577
|
-
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
2576
|
+
"onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
|
|
2577
|
+
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
2578
2578
|
}, w.onabort = function() {
|
|
2579
2579
|
w && (s(new Y("Request aborted", Y.ECONNABORTED, e, w)), w = null);
|
|
2580
2580
|
}, w.onerror = function(x) {
|
|
@@ -2591,8 +2591,8 @@ const Ao = (e) => {
|
|
|
2591
2591
|
)), w = null;
|
|
2592
2592
|
}, r === void 0 && i.setContentType(null), "setRequestHeader" in w && b.forEach(i.toJSON(), function(x, _) {
|
|
2593
2593
|
w.setRequestHeader(_, x);
|
|
2594
|
-
}), b.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = _n(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (
|
|
2595
|
-
w && (s(!
|
|
2594
|
+
}), b.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = _n(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (C) => {
|
|
2595
|
+
w && (s(!C || C.type ? new kt(null, e, w) : C), w.abort(), w = null);
|
|
2596
2596
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2597
2597
|
const N = Zi(o.url);
|
|
2598
2598
|
if (N && we.protocols.indexOf(N) === -1) {
|
|
@@ -2715,9 +2715,9 @@ const Ao = (e) => {
|
|
|
2715
2715
|
};
|
|
2716
2716
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2717
2717
|
!h[g] && (h[g] = (A, w) => {
|
|
2718
|
-
let
|
|
2719
|
-
if (
|
|
2720
|
-
return
|
|
2718
|
+
let v = A && A[g];
|
|
2719
|
+
if (v)
|
|
2720
|
+
return v.call(A);
|
|
2721
2721
|
throw new Y(`Response type '${g}' is not supported`, Y.ERR_NOT_SUPPORT, w);
|
|
2722
2722
|
});
|
|
2723
2723
|
});
|
|
@@ -2743,9 +2743,9 @@ const Ao = (e) => {
|
|
|
2743
2743
|
let {
|
|
2744
2744
|
url: A,
|
|
2745
2745
|
method: w,
|
|
2746
|
-
data:
|
|
2746
|
+
data: v,
|
|
2747
2747
|
signal: N,
|
|
2748
|
-
cancelToken:
|
|
2748
|
+
cancelToken: C,
|
|
2749
2749
|
timeout: x,
|
|
2750
2750
|
onDownloadProgress: _,
|
|
2751
2751
|
onUploadProgress: I,
|
|
@@ -2755,24 +2755,24 @@ const Ao = (e) => {
|
|
|
2755
2755
|
fetchOptions: G
|
|
2756
2756
|
} = Ao(g), B = t || fetch;
|
|
2757
2757
|
P = P ? (P + "").toLowerCase() : "text";
|
|
2758
|
-
let ee = ic([N,
|
|
2758
|
+
let ee = ic([N, C && C.toAbortSignal()], x), le = null;
|
|
2759
2759
|
const M = ee && ee.unsubscribe && (() => {
|
|
2760
2760
|
ee.unsubscribe();
|
|
2761
2761
|
});
|
|
2762
2762
|
let U;
|
|
2763
2763
|
try {
|
|
2764
|
-
if (I && l && w !== "get" && w !== "head" && (U = await p(Q,
|
|
2764
|
+
if (I && l && w !== "get" && w !== "head" && (U = await p(Q, v)) !== 0) {
|
|
2765
2765
|
let S = new n(A, {
|
|
2766
2766
|
method: "POST",
|
|
2767
|
-
body:
|
|
2767
|
+
body: v,
|
|
2768
2768
|
duplex: "half"
|
|
2769
2769
|
}), R;
|
|
2770
|
-
if (b.isFormData(
|
|
2770
|
+
if (b.isFormData(v) && (R = S.headers.get("content-type")) && Q.setContentType(R), S.body) {
|
|
2771
2771
|
const [j, O] = ns(
|
|
2772
2772
|
U,
|
|
2773
2773
|
_n(as(I))
|
|
2774
2774
|
);
|
|
2775
|
-
|
|
2775
|
+
v = os(S.body, rs, j, O);
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
2778
|
b.isString(W) || (W = W ? "include" : "omit");
|
|
@@ -2781,7 +2781,7 @@ const Ao = (e) => {
|
|
|
2781
2781
|
signal: ee,
|
|
2782
2782
|
method: w.toUpperCase(),
|
|
2783
2783
|
headers: Q.normalize().toJSON(),
|
|
2784
|
-
body:
|
|
2784
|
+
body: v,
|
|
2785
2785
|
duplex: "half",
|
|
2786
2786
|
credentials: E ? W : void 0
|
|
2787
2787
|
};
|
|
@@ -2917,7 +2917,7 @@ function us(e) {
|
|
|
2917
2917
|
), s.response.headers = Se.from(s.response.headers))), Promise.reject(s);
|
|
2918
2918
|
});
|
|
2919
2919
|
}
|
|
2920
|
-
const
|
|
2920
|
+
const vo = "1.13.2", qn = {};
|
|
2921
2921
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2922
2922
|
qn[e] = function(s) {
|
|
2923
2923
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -2926,7 +2926,7 @@ const Co = "1.13.2", qn = {};
|
|
|
2926
2926
|
const hs = {};
|
|
2927
2927
|
qn.transitional = function(t, n, s) {
|
|
2928
2928
|
function o(r, i) {
|
|
2929
|
-
return "[Axios v" +
|
|
2929
|
+
return "[Axios v" + vo + "] Transitional option '" + r + "'" + i + (s ? ". " + s : "");
|
|
2930
2930
|
}
|
|
2931
2931
|
return (r, i, c) => {
|
|
2932
2932
|
if (t === !1)
|
|
@@ -2965,7 +2965,7 @@ function pc(e, t, n) {
|
|
|
2965
2965
|
const wn = {
|
|
2966
2966
|
assertOptions: pc,
|
|
2967
2967
|
validators: qn
|
|
2968
|
-
},
|
|
2968
|
+
}, Me = wn.validators;
|
|
2969
2969
|
let ft = class {
|
|
2970
2970
|
constructor(t) {
|
|
2971
2971
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -3002,17 +3002,17 @@ let ft = class {
|
|
|
3002
3002
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = wt(this.defaults, n);
|
|
3003
3003
|
const { transitional: s, paramsSerializer: o, headers: r } = n;
|
|
3004
3004
|
s !== void 0 && wn.assertOptions(s, {
|
|
3005
|
-
silentJSONParsing:
|
|
3006
|
-
forcedJSONParsing:
|
|
3007
|
-
clarifyTimeoutError:
|
|
3005
|
+
silentJSONParsing: Me.transitional(Me.boolean),
|
|
3006
|
+
forcedJSONParsing: Me.transitional(Me.boolean),
|
|
3007
|
+
clarifyTimeoutError: Me.transitional(Me.boolean)
|
|
3008
3008
|
}, !1), o != null && (b.isFunction(o) ? n.paramsSerializer = {
|
|
3009
3009
|
serialize: o
|
|
3010
3010
|
} : wn.assertOptions(o, {
|
|
3011
|
-
encode:
|
|
3012
|
-
serialize:
|
|
3011
|
+
encode: Me.function,
|
|
3012
|
+
serialize: Me.function
|
|
3013
3013
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), wn.assertOptions(n, {
|
|
3014
|
-
baseUrl:
|
|
3015
|
-
withXsrfToken:
|
|
3014
|
+
baseUrl: Me.spelling("baseURL"),
|
|
3015
|
+
withXsrfToken: Me.spelling("withXSRFToken")
|
|
3016
3016
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
3017
3017
|
let i = r && b.merge(
|
|
3018
3018
|
r.common,
|
|
@@ -3090,7 +3090,7 @@ b.forEach(["post", "put", "patch"], function(t) {
|
|
|
3090
3090
|
}
|
|
3091
3091
|
ft.prototype[t] = n(), ft.prototype[t + "Form"] = n(!0);
|
|
3092
3092
|
});
|
|
3093
|
-
let Ac = class
|
|
3093
|
+
let Ac = class Co {
|
|
3094
3094
|
constructor(t) {
|
|
3095
3095
|
if (typeof t != "function")
|
|
3096
3096
|
throw new TypeError("executor must be a function.");
|
|
@@ -3156,7 +3156,7 @@ let Ac = class vo {
|
|
|
3156
3156
|
static source() {
|
|
3157
3157
|
let t;
|
|
3158
3158
|
return {
|
|
3159
|
-
token: new
|
|
3159
|
+
token: new Co(function(o) {
|
|
3160
3160
|
t = o;
|
|
3161
3161
|
}),
|
|
3162
3162
|
cancel: t
|
|
@@ -3256,7 +3256,7 @@ oe.Axios = ft;
|
|
|
3256
3256
|
oe.CanceledError = kt;
|
|
3257
3257
|
oe.CancelToken = Ac;
|
|
3258
3258
|
oe.isCancel = fo;
|
|
3259
|
-
oe.VERSION =
|
|
3259
|
+
oe.VERSION = vo;
|
|
3260
3260
|
oe.toFormData = Ln;
|
|
3261
3261
|
oe.AxiosError = Y;
|
|
3262
3262
|
oe.Cancel = oe.CanceledError;
|
|
@@ -3279,8 +3279,8 @@ const {
|
|
|
3279
3279
|
CancelToken: A3,
|
|
3280
3280
|
VERSION: w3,
|
|
3281
3281
|
all: y3,
|
|
3282
|
-
Cancel:
|
|
3283
|
-
isAxiosError:
|
|
3282
|
+
Cancel: v3,
|
|
3283
|
+
isAxiosError: C3,
|
|
3284
3284
|
spread: _3,
|
|
3285
3285
|
toFormData: b3,
|
|
3286
3286
|
AxiosHeaders: N3,
|
|
@@ -3402,9 +3402,9 @@ class ht {
|
|
|
3402
3402
|
(w) => Ya(w.body.rendered)
|
|
3403
3403
|
), m = [];
|
|
3404
3404
|
h?.forEach((w) => {
|
|
3405
|
-
w && w.length > 0 && w[0].forEach((
|
|
3405
|
+
w && w.length > 0 && w[0].forEach((v) => {
|
|
3406
3406
|
const N = this.getNews({
|
|
3407
|
-
path:
|
|
3407
|
+
path: v?.replaceAll("|", "/") ?? "",
|
|
3408
3408
|
imagesizes: n.getNewsItemsRelated,
|
|
3409
3409
|
exclude: s.getNewsItemsRelated
|
|
3410
3410
|
});
|
|
@@ -3430,7 +3430,7 @@ class ht {
|
|
|
3430
3430
|
};
|
|
3431
3431
|
};
|
|
3432
3432
|
}
|
|
3433
|
-
class
|
|
3433
|
+
class vc extends ht {
|
|
3434
3434
|
getBlockSass = async (t) => {
|
|
3435
3435
|
const n = await this.props?.axiosApi.get("/config/blocks-saas", {
|
|
3436
3436
|
params: {
|
|
@@ -3524,7 +3524,7 @@ class T3 {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
}
|
|
3526
3526
|
const k3 = async (e, t, n, s, o, r, i) => {
|
|
3527
|
-
const c = new
|
|
3527
|
+
const c = new vc({
|
|
3528
3528
|
config: t,
|
|
3529
3529
|
imgSizes: n,
|
|
3530
3530
|
imgSizesVideo: s,
|
|
@@ -3543,14 +3543,14 @@ const k3 = async (e, t, n, s, o, r, i) => {
|
|
|
3543
3543
|
return (() => {
|
|
3544
3544
|
const h = {};
|
|
3545
3545
|
for (let m = 0; m < l.length; m++) {
|
|
3546
|
-
const p =
|
|
3546
|
+
const p = Cr(
|
|
3547
3547
|
l[m]
|
|
3548
3548
|
), g = "Home_" + (Math.floor(m / r) + 1) + "_" + (Math.floor(m % r) + 1);
|
|
3549
3549
|
p && (h[g] = { ...p });
|
|
3550
3550
|
}
|
|
3551
3551
|
return h;
|
|
3552
3552
|
})();
|
|
3553
|
-
},
|
|
3553
|
+
}, Cc = (e) => {
|
|
3554
3554
|
const t = St(e);
|
|
3555
3555
|
return t && t.data ? t.data : t;
|
|
3556
3556
|
}, U3 = async (e) => {
|
|
@@ -3560,7 +3560,7 @@ const k3 = async (e, t, n, s, o, r, i) => {
|
|
|
3560
3560
|
for (const o in e) {
|
|
3561
3561
|
const r = e[o];
|
|
3562
3562
|
if (!r) continue;
|
|
3563
|
-
const i = r.custom_extractData ??
|
|
3563
|
+
const i = r.custom_extractData ?? Cc;
|
|
3564
3564
|
s[o] = i(t[n.indexOf(o)]);
|
|
3565
3565
|
}
|
|
3566
3566
|
return s;
|
|
@@ -3878,11 +3878,11 @@ async function R3({
|
|
|
3878
3878
|
speculationType: g = "Common",
|
|
3879
3879
|
preloadImageUrl: A,
|
|
3880
3880
|
custom_Speculation: w,
|
|
3881
|
-
custom_metadata:
|
|
3881
|
+
custom_metadata: v,
|
|
3882
3882
|
custom_scriptReplaces: N,
|
|
3883
|
-
head_custom_elements:
|
|
3883
|
+
head_custom_elements: C
|
|
3884
3884
|
}) {
|
|
3885
|
-
const x =
|
|
3885
|
+
const x = v || await _c[o]({
|
|
3886
3886
|
meta: n,
|
|
3887
3887
|
config: m,
|
|
3888
3888
|
currentNew: l,
|
|
@@ -3911,11 +3911,11 @@ async function R3({
|
|
|
3911
3911
|
{
|
|
3912
3912
|
images: [
|
|
3913
3913
|
{
|
|
3914
|
-
href:
|
|
3914
|
+
href: Cn() + (l.preview.sizes[0]?.url ?? ""),
|
|
3915
3915
|
media: "(min-width: 900px)"
|
|
3916
3916
|
},
|
|
3917
3917
|
{
|
|
3918
|
-
href:
|
|
3918
|
+
href: Cn() + (l.preview.sizes[1]?.url ?? ""),
|
|
3919
3919
|
media: "(max-width: 900px)"
|
|
3920
3920
|
}
|
|
3921
3921
|
]
|
|
@@ -3967,7 +3967,7 @@ async function R3({
|
|
|
3967
3967
|
customSpeculation: w
|
|
3968
3968
|
}
|
|
3969
3969
|
),
|
|
3970
|
-
|
|
3970
|
+
C
|
|
3971
3971
|
] });
|
|
3972
3972
|
}
|
|
3973
3973
|
const L3 = ({
|
|
@@ -4041,12 +4041,12 @@ function Tc({
|
|
|
4041
4041
|
enableDrag: r,
|
|
4042
4042
|
onIndexChange: i
|
|
4043
4043
|
}) {
|
|
4044
|
-
const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [
|
|
4044
|
+
const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [v, N] = K(null), C = Fs(null), [x, _] = K(1), I = ue(() => {
|
|
4045
4045
|
if (o) return 1;
|
|
4046
|
-
const y =
|
|
4046
|
+
const y = C.current?.offsetWidth || window.innerWidth, S = n + s, R = Math.floor(y / S);
|
|
4047
4047
|
return Math.max(1, R);
|
|
4048
4048
|
}, [o, n, s]);
|
|
4049
|
-
|
|
4049
|
+
Qe(() => {
|
|
4050
4050
|
const y = () => {
|
|
4051
4051
|
const S = I();
|
|
4052
4052
|
_(S);
|
|
@@ -4062,7 +4062,7 @@ function Tc({
|
|
|
4062
4062
|
}, [I]), G = ue(
|
|
4063
4063
|
(y, S = 0) => {
|
|
4064
4064
|
if (o) {
|
|
4065
|
-
const R =
|
|
4065
|
+
const R = C.current?.offsetWidth || window.innerWidth;
|
|
4066
4066
|
return -(y * (100 + s)) + S / R * 100;
|
|
4067
4067
|
}
|
|
4068
4068
|
return -(y * (n + s)) + S;
|
|
@@ -4070,7 +4070,7 @@ function Tc({
|
|
|
4070
4070
|
[o, n, s]
|
|
4071
4071
|
), B = ue(
|
|
4072
4072
|
(y) => {
|
|
4073
|
-
const S =
|
|
4073
|
+
const S = C.current?.offsetWidth || window.innerWidth, R = I(), j = W();
|
|
4074
4074
|
if (o)
|
|
4075
4075
|
return Math.abs(y) / S * 100 > 30 ? 1 : 0;
|
|
4076
4076
|
{
|
|
@@ -4108,7 +4108,7 @@ function Tc({
|
|
|
4108
4108
|
const F = Math.min(Q, e + V);
|
|
4109
4109
|
i(F);
|
|
4110
4110
|
}
|
|
4111
|
-
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l &&
|
|
4111
|
+
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
4112
4112
|
},
|
|
4113
4113
|
[
|
|
4114
4114
|
c,
|
|
@@ -4121,7 +4121,7 @@ function Tc({
|
|
|
4121
4121
|
i,
|
|
4122
4122
|
B,
|
|
4123
4123
|
M,
|
|
4124
|
-
|
|
4124
|
+
v
|
|
4125
4125
|
]
|
|
4126
4126
|
), E = ue(
|
|
4127
4127
|
(y) => {
|
|
@@ -4144,18 +4144,18 @@ function Tc({
|
|
|
4144
4144
|
},
|
|
4145
4145
|
[U]
|
|
4146
4146
|
);
|
|
4147
|
-
return
|
|
4147
|
+
return Qe(() => {
|
|
4148
4148
|
if (c)
|
|
4149
|
-
return
|
|
4150
|
-
|
|
4149
|
+
return C.current?.addEventListener("mousemove", M), C.current?.addEventListener("mouseup", U), () => {
|
|
4150
|
+
C.current?.removeEventListener(
|
|
4151
4151
|
"mousemove",
|
|
4152
4152
|
M
|
|
4153
|
-
),
|
|
4153
|
+
), C.current?.removeEventListener("mouseup", U);
|
|
4154
4154
|
};
|
|
4155
4155
|
}, [c, le, U, M]), {
|
|
4156
4156
|
isDragging: c,
|
|
4157
4157
|
translateOffset: p,
|
|
4158
|
-
carrouselRef:
|
|
4158
|
+
carrouselRef: C,
|
|
4159
4159
|
maxIndex: Q,
|
|
4160
4160
|
getTranslateValue: G,
|
|
4161
4161
|
actualVisibleItems: x,
|
|
@@ -4179,7 +4179,7 @@ function B3(e) {
|
|
|
4179
4179
|
pagination: c = !1,
|
|
4180
4180
|
enableDrag: d = !0
|
|
4181
4181
|
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = K(0), [m, p] = K(!1);
|
|
4182
|
-
|
|
4182
|
+
Qe(() => {
|
|
4183
4183
|
p(!0);
|
|
4184
4184
|
const G = document.getElementById("ssr-dummy_" + n);
|
|
4185
4185
|
G && G.remove();
|
|
@@ -4188,9 +4188,9 @@ function B3(e) {
|
|
|
4188
4188
|
isDragging: g,
|
|
4189
4189
|
translateOffset: A,
|
|
4190
4190
|
carrouselRef: w,
|
|
4191
|
-
maxIndex:
|
|
4191
|
+
maxIndex: v,
|
|
4192
4192
|
getTranslateValue: N,
|
|
4193
|
-
actualVisibleItems:
|
|
4193
|
+
actualVisibleItems: C,
|
|
4194
4194
|
dragHandlers: x
|
|
4195
4195
|
} = Tc({
|
|
4196
4196
|
currentIndex: u,
|
|
@@ -4202,10 +4202,10 @@ function B3(e) {
|
|
|
4202
4202
|
onIndexChange: h
|
|
4203
4203
|
}), _ = ue(
|
|
4204
4204
|
(G) => {
|
|
4205
|
-
const B = Math.max(0, Math.min(G,
|
|
4205
|
+
const B = Math.max(0, Math.min(G, v));
|
|
4206
4206
|
h(B);
|
|
4207
4207
|
},
|
|
4208
|
-
[
|
|
4208
|
+
[v]
|
|
4209
4209
|
), I = ue(() => {
|
|
4210
4210
|
_(u - 1);
|
|
4211
4211
|
}, [u, _]), P = ue(() => {
|
|
@@ -4240,7 +4240,7 @@ function B3(e) {
|
|
|
4240
4240
|
)
|
|
4241
4241
|
}
|
|
4242
4242
|
),
|
|
4243
|
-
u <
|
|
4243
|
+
u < v && /* @__PURE__ */ a(
|
|
4244
4244
|
"button",
|
|
4245
4245
|
{
|
|
4246
4246
|
className: "visible-arrow right",
|
|
@@ -4311,14 +4311,14 @@ function B3(e) {
|
|
|
4311
4311
|
}
|
|
4312
4312
|
),
|
|
4313
4313
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4314
|
-
{ length: Math.ceil(l.length /
|
|
4314
|
+
{ length: Math.ceil(l.length / C) },
|
|
4315
4315
|
(G, B) => {
|
|
4316
|
-
const ee = Math.floor(u /
|
|
4316
|
+
const ee = Math.floor(u / C) === B;
|
|
4317
4317
|
return /* @__PURE__ */ a(
|
|
4318
4318
|
"li",
|
|
4319
4319
|
{
|
|
4320
4320
|
className: ee ? "active" : "",
|
|
4321
|
-
onClick: () => _(B *
|
|
4321
|
+
onClick: () => _(B * C),
|
|
4322
4322
|
style: {
|
|
4323
4323
|
cursor: "pointer",
|
|
4324
4324
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
@@ -4573,20 +4573,20 @@ function Zc({ noteShare: e }) {
|
|
|
4573
4573
|
const Rt = (e) => {
|
|
4574
4574
|
const { share: t = !1, cutSubtitle: n = !0, keywords: s, info: o, paths: r } = e, { SHOW_TAG_BY_SECTION: i } = te(), c = () => {
|
|
4575
4575
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4576
|
-
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${
|
|
4576
|
+
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ge(
|
|
4577
4577
|
e.info?.date?.modified
|
|
4578
4578
|
)}`;
|
|
4579
4579
|
if (e.config?.showauthor)
|
|
4580
4580
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
4581
4581
|
if (e?.config?.showtime)
|
|
4582
|
-
return
|
|
4582
|
+
return Ge(e.info?.date?.modified);
|
|
4583
4583
|
}, d = () => {
|
|
4584
4584
|
const h = {
|
|
4585
4585
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4586
4586
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4587
4587
|
"--colorSubTitle": e.colorSubTitle
|
|
4588
4588
|
};
|
|
4589
|
-
return n ? /* @__PURE__ */ a("p", { className: ne.description, children:
|
|
4589
|
+
return n ? /* @__PURE__ */ a("p", { className: ne.description, children: He(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4590
4590
|
"h2",
|
|
4591
4591
|
{
|
|
4592
4592
|
className: ne.description,
|
|
@@ -4802,7 +4802,7 @@ const ul = (e) => {
|
|
|
4802
4802
|
hasShadow: s = !1,
|
|
4803
4803
|
priorityHigh: o = !1
|
|
4804
4804
|
} = e, r = No(), [i, c] = K(void 0), d = t?.sizes;
|
|
4805
|
-
return
|
|
4805
|
+
return Qe(() => {
|
|
4806
4806
|
(async () => {
|
|
4807
4807
|
d?.[0]?.url ? c(
|
|
4808
4808
|
`/api/image-proxy?url=${encodeURIComponent(d[0].url)}`
|
|
@@ -5861,25 +5861,25 @@ const ul = (e) => {
|
|
|
5861
5861
|
]
|
|
5862
5862
|
}
|
|
5863
5863
|
);
|
|
5864
|
-
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50",
|
|
5864
|
+
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50", vl = "_title_6azvz_55", Cl = "_inputStyled_6azvz_72", _l = "_buttonStyled_6azvz_112", bl = "_contentTerms_6azvz_123", Nl = "_subscribeText_6azvz_128", Sl = "_terms_6azvz_138", Be = {
|
|
5865
5865
|
content: pl,
|
|
5866
5866
|
subscribeImage: Al,
|
|
5867
5867
|
tag: wl,
|
|
5868
5868
|
contentTitle: yl,
|
|
5869
|
-
title:
|
|
5870
|
-
inputStyled:
|
|
5869
|
+
title: vl,
|
|
5870
|
+
inputStyled: Cl,
|
|
5871
5871
|
buttonStyled: _l,
|
|
5872
5872
|
contentTerms: bl,
|
|
5873
5873
|
subscribeText: Nl,
|
|
5874
5874
|
terms: Sl
|
|
5875
|
-
}, xl = (e) => /* @__PURE__ */ f("section", { className: [
|
|
5876
|
-
/* @__PURE__ */ a("div", { className:
|
|
5877
|
-
/* @__PURE__ */ a("div", { className:
|
|
5878
|
-
/* @__PURE__ */ f("div", { className:
|
|
5879
|
-
/* @__PURE__ */ a("p", { className:
|
|
5880
|
-
/* @__PURE__ */ a("p", { className:
|
|
5875
|
+
}, xl = (e) => /* @__PURE__ */ f("section", { className: [Be.content, e.className ?? ""].join(" "), children: [
|
|
5876
|
+
/* @__PURE__ */ a("div", { className: Be.subscribeImage, children: e.image }),
|
|
5877
|
+
/* @__PURE__ */ a("div", { className: Be.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
5878
|
+
/* @__PURE__ */ f("div", { className: Be.contentTitle, children: [
|
|
5879
|
+
/* @__PURE__ */ a("p", { className: Be.title, children: e.title }),
|
|
5880
|
+
/* @__PURE__ */ a("p", { className: Be.subTitle, children: e.sibtitle })
|
|
5881
5881
|
] }),
|
|
5882
|
-
/* @__PURE__ */ a("div", { className:
|
|
5882
|
+
/* @__PURE__ */ a("div", { className: Be.inputStyled, children: /* @__PURE__ */ a(
|
|
5883
5883
|
"input",
|
|
5884
5884
|
{
|
|
5885
5885
|
type: "email",
|
|
@@ -5888,13 +5888,13 @@ const ul = (e) => {
|
|
|
5888
5888
|
}
|
|
5889
5889
|
) }),
|
|
5890
5890
|
/* @__PURE__ */ a("span", { id: "newsletter-message" }),
|
|
5891
|
-
/* @__PURE__ */ a("button", { id: "newsletter-button", className:
|
|
5892
|
-
/* @__PURE__ */ f("div", { className:
|
|
5893
|
-
/* @__PURE__ */ a("p", { className:
|
|
5891
|
+
/* @__PURE__ */ a("button", { id: "newsletter-button", className: Be.buttonStyled, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5892
|
+
/* @__PURE__ */ f("div", { className: Be.contentTerms, children: [
|
|
5893
|
+
/* @__PURE__ */ a("p", { className: Be.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5894
5894
|
/* @__PURE__ */ a(
|
|
5895
5895
|
q,
|
|
5896
5896
|
{
|
|
5897
|
-
className:
|
|
5897
|
+
className: Be.terms,
|
|
5898
5898
|
href: e.termsLink,
|
|
5899
5899
|
target: e.termsLinkTarget,
|
|
5900
5900
|
children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones"
|
|
@@ -6293,14 +6293,14 @@ const ul = (e) => {
|
|
|
6293
6293
|
)
|
|
6294
6294
|
] })
|
|
6295
6295
|
] });
|
|
6296
|
-
}, gd = "_content_1xykj_1", pd = "_imageContent_1xykj_9", Ad = "_width1Autor_1xykj_18", wd = "_width2Autor_1xykj_22", yd = "_width3Autor_1xykj_26",
|
|
6296
|
+
}, gd = "_content_1xykj_1", pd = "_imageContent_1xykj_9", Ad = "_width1Autor_1xykj_18", wd = "_width2Autor_1xykj_22", yd = "_width3Autor_1xykj_26", vd = "_imageAutor_1xykj_30", Cd = "_imageStyled_1xykj_69", _d = "_contentIconStyled_1xykj_70", bd = "_avatarContent_1xykj_87", Nd = "_journalistSection_1xykj_101", Sd = "_journalistInfo_1xykj_109", xd = "_journalistInfoLink_1xykj_110", Ed = "_socialNetworkSection_1xykj_146", Id = "_avatarStyled_1xykj_158", Td = "_article_1xykj_163", kd = "_socialButton_1xykj_167", Ud = "_facebookStyled_1xykj_183", Rd = "_emailStyled_1xykj_187", Ld = "_xStyled_1xykj_191", qd = "_linkedinStyled_1xykj_195", Bd = "_whatsappStyled_1xykj_199", Od = "_whatsappLink_1xykj_203", Pd = "_clipboardButton_1xykj_219", Dd = "_googleProfileButton_1xykj_255", he = {
|
|
6297
6297
|
content: gd,
|
|
6298
6298
|
imageContent: pd,
|
|
6299
6299
|
width1Autor: Ad,
|
|
6300
6300
|
width2Autor: wd,
|
|
6301
6301
|
width3Autor: yd,
|
|
6302
|
-
imageAutor:
|
|
6303
|
-
imageStyled:
|
|
6302
|
+
imageAutor: vd,
|
|
6303
|
+
imageStyled: Cd,
|
|
6304
6304
|
contentIconStyled: _d,
|
|
6305
6305
|
avatarContent: bd,
|
|
6306
6306
|
journalistSection: Nd,
|
|
@@ -6518,7 +6518,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6518
6518
|
iframeStyled: $d,
|
|
6519
6519
|
contentFrame: Wd
|
|
6520
6520
|
}, M3 = (e) => {
|
|
6521
|
-
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${
|
|
6521
|
+
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Ge(
|
|
6522
6522
|
e.video.info.date.created
|
|
6523
6523
|
)}` : e?.video.main.author;
|
|
6524
6524
|
return /* @__PURE__ */ a("div", { className: Ve.content, children: /* @__PURE__ */ a(Wt, { children: /* @__PURE__ */ f("div", { className: Ve.videoContent, children: [
|
|
@@ -6549,7 +6549,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6549
6549
|
}
|
|
6550
6550
|
),
|
|
6551
6551
|
/* @__PURE__ */ f("div", { className: Ve.articleSection, children: [
|
|
6552
|
-
/* @__PURE__ */ a("p", { className: Ve.article, children:
|
|
6552
|
+
/* @__PURE__ */ a("p", { className: Ve.article, children: He(e.video.main.description) }),
|
|
6553
6553
|
/* @__PURE__ */ a("p", { className: Ve.correspondent, children: t() })
|
|
6554
6554
|
] })
|
|
6555
6555
|
] }) }) });
|
|
@@ -6742,7 +6742,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6742
6742
|
}, d1 = "_content_kro73_1", u1 = "_contentLayout_kro73_5", As = {
|
|
6743
6743
|
content: d1,
|
|
6744
6744
|
contentLayout: u1
|
|
6745
|
-
}, ws = (e) => /* @__PURE__ */ a("div", { className: As.content, children: /* @__PURE__ */ a(Wt, { className: `${As.contentLayout} ${e.className}`, children: e.children }) }), h1 = "_content_1nqra_1", m1 = "_before_1nqra_11", f1 = "_textContent_1nqra_22", g1 = "_title_1nqra_37", p1 = "_description_1nqra_46", A1 = "_linkStyled_1nqra_57",
|
|
6745
|
+
}, ws = (e) => /* @__PURE__ */ a("div", { className: As.content, children: /* @__PURE__ */ a(Wt, { className: `${As.contentLayout} ${e.className}`, children: e.children }) }), h1 = "_content_1nqra_1", m1 = "_before_1nqra_11", f1 = "_textContent_1nqra_22", g1 = "_title_1nqra_37", p1 = "_description_1nqra_46", A1 = "_linkStyled_1nqra_57", Ct = {
|
|
6746
6746
|
content: h1,
|
|
6747
6747
|
before: m1,
|
|
6748
6748
|
textContent: f1,
|
|
@@ -6751,20 +6751,20 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6751
6751
|
linkStyled: A1
|
|
6752
6752
|
}, j3 = (e) => {
|
|
6753
6753
|
const t = e.logo;
|
|
6754
|
-
return /* @__PURE__ */ f("section", { className:
|
|
6755
|
-
e.backgroundImgURL && /* @__PURE__ */ a("img", { className:
|
|
6756
|
-
/* @__PURE__ */ f("div", { className: `${
|
|
6754
|
+
return /* @__PURE__ */ f("section", { className: Ct.content, children: [
|
|
6755
|
+
e.backgroundImgURL && /* @__PURE__ */ a("img", { className: Ct.before, src: e.backgroundImgURL, alt: "" }),
|
|
6756
|
+
/* @__PURE__ */ f("div", { className: `${Ct.textContent} error-text-content`, children: [
|
|
6757
6757
|
/* @__PURE__ */ a(t, {}),
|
|
6758
|
-
/* @__PURE__ */ a("p", { className:
|
|
6759
|
-
/* @__PURE__ */ a("p", { className:
|
|
6760
|
-
/* @__PURE__ */ a(q, { className:
|
|
6758
|
+
/* @__PURE__ */ a("p", { className: Ct.title, children: e.title }),
|
|
6759
|
+
/* @__PURE__ */ a("p", { className: Ct.description, children: e.description }),
|
|
6760
|
+
/* @__PURE__ */ a(q, { className: Ct.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6761
6761
|
] })
|
|
6762
6762
|
] });
|
|
6763
|
-
}, w1 = "_content_zxcog_1", y1 = "_contentLabel_zxcog_8",
|
|
6763
|
+
}, w1 = "_content_zxcog_1", y1 = "_contentLabel_zxcog_8", v1 = "_label_zxcog_13", C1 = "_required_zxcog_22", _1 = "_input_zxcog_28", Bt = {
|
|
6764
6764
|
content: w1,
|
|
6765
6765
|
contentLabel: y1,
|
|
6766
|
-
label:
|
|
6767
|
-
required:
|
|
6766
|
+
label: v1,
|
|
6767
|
+
required: C1,
|
|
6768
6768
|
input: _1
|
|
6769
6769
|
}, Q3 = (e) => /* @__PURE__ */ f("div", { className: Bt.content, children: [
|
|
6770
6770
|
/* @__PURE__ */ f("div", { className: Bt.contentLabel, children: [
|
|
@@ -6848,7 +6848,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6848
6848
|
contentText: z1,
|
|
6849
6849
|
dateLink: V1
|
|
6850
6850
|
}, F1 = (e) => /* @__PURE__ */ a("section", { className: nn.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ f("div", { className: nn.contentLine, children: [
|
|
6851
|
-
/* @__PURE__ */ a(q, { className: nn.dateLink, href: `#item-${n + 1}`, children:
|
|
6851
|
+
/* @__PURE__ */ a(q, { className: nn.dateLink, href: `#item-${n + 1}`, children: vr(t.date) }),
|
|
6852
6852
|
/* @__PURE__ */ a("div", { className: nn.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6853
6853
|
] }, n)) }), $1 = "_content_1gtqm_1", W1 = "_contentInfo_1gtqm_11", Y1 = "_imageContainer_1gtqm_19", K1 = "_imageStyled_1gtqm_28", J1 = "_contentIconStyled_1gtqm_39", Z1 = "_name_1gtqm_65", X1 = "_email_1gtqm_74", eu = "_description_1gtqm_90", tu = "_contenSocialNetwork_1gtqm_102", nu = "_socialIcon_1gtqm_112", au = "_faceBookIcon_1gtqm_117", su = "_socialFacebookIcon_1gtqm_122", ou = "_socialIconLink_1gtqm_126", ru = "_socialIconStroke_1gtqm_130", me = {
|
|
6854
6854
|
content: $1,
|
|
@@ -7023,9 +7023,9 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7023
7023
|
] })
|
|
7024
7024
|
] })
|
|
7025
7025
|
] }) });
|
|
7026
|
-
},
|
|
7027
|
-
content:
|
|
7028
|
-
bannerSection:
|
|
7026
|
+
}, vu = "_content_jg6i2_1", Cu = "_bannerSection_jg6i2_25", ys = {
|
|
7027
|
+
content: vu,
|
|
7028
|
+
bannerSection: Cu
|
|
7029
7029
|
}, Ro = (e) => /* @__PURE__ */ f("section", { className: ys.content, children: [
|
|
7030
7030
|
e.children,
|
|
7031
7031
|
/* @__PURE__ */ f("div", { className: ys.bannerSection, children: [
|
|
@@ -7046,7 +7046,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7046
7046
|
),
|
|
7047
7047
|
e.banner
|
|
7048
7048
|
] })
|
|
7049
|
-
] }), _u = "_content_1bw8m_1", bu = "_header_1bw8m_30", Nu = "_videos_1bw8m_56", Su = "_videoContent_1bw8m_63", xu = "_articleSection_1bw8m_70", Eu = "_contentLayoutVideoSection_1bw8m_85", Iu = "_sectionVideoList_1bw8m_93", Tu = "_iframeStyled_1bw8m_166", ku = "_contentFrame_1bw8m_172",
|
|
7049
|
+
] }), _u = "_content_1bw8m_1", bu = "_header_1bw8m_30", Nu = "_videos_1bw8m_56", Su = "_videoContent_1bw8m_63", xu = "_articleSection_1bw8m_70", Eu = "_contentLayoutVideoSection_1bw8m_85", Iu = "_sectionVideoList_1bw8m_93", Tu = "_iframeStyled_1bw8m_166", ku = "_contentFrame_1bw8m_172", Oe = {
|
|
7050
7050
|
content: _u,
|
|
7051
7051
|
header: bu,
|
|
7052
7052
|
videos: Nu,
|
|
@@ -7067,7 +7067,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7067
7067
|
...e.main,
|
|
7068
7068
|
title: {
|
|
7069
7069
|
...e.main.title,
|
|
7070
|
-
article:
|
|
7070
|
+
article: He(e.main.title.article, 60)
|
|
7071
7071
|
}
|
|
7072
7072
|
}
|
|
7073
7073
|
};
|
|
@@ -7087,8 +7087,8 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7087
7087
|
),
|
|
7088
7088
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(Rt, { ...n, paths: e.paths }) })
|
|
7089
7089
|
] }) : null;
|
|
7090
|
-
}, z3 = (e) => /* @__PURE__ */ a("div", { className:
|
|
7091
|
-
/* @__PURE__ */ f("a", { className:
|
|
7090
|
+
}, z3 = (e) => /* @__PURE__ */ a("div", { className: Oe.content, children: /* @__PURE__ */ f(Wt, { className: Oe.contentLayoutVideoSection, children: [
|
|
7091
|
+
/* @__PURE__ */ f("a", { className: Oe.header, href: e.goBackLink ?? "/videos", children: [
|
|
7092
7092
|
/* @__PURE__ */ a(
|
|
7093
7093
|
"svg",
|
|
7094
7094
|
{
|
|
@@ -7110,12 +7110,12 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7110
7110
|
),
|
|
7111
7111
|
e.titleGoBack ?? "VOLVER A VIDEOS"
|
|
7112
7112
|
] }),
|
|
7113
|
-
/* @__PURE__ */ f("div", { className:
|
|
7114
|
-
/* @__PURE__ */ f("div", { className:
|
|
7113
|
+
/* @__PURE__ */ f("div", { className: Oe.videos, children: [
|
|
7114
|
+
/* @__PURE__ */ f("div", { className: Oe.videoContent, style: e.mainVideoStyles, children: [
|
|
7115
7115
|
e.type === "vy" && /* @__PURE__ */ a(
|
|
7116
7116
|
"iframe",
|
|
7117
7117
|
{
|
|
7118
|
-
className:
|
|
7118
|
+
className: Oe.iframeStyled,
|
|
7119
7119
|
src: `https://www.youtube.com/embed/${e.video?.main?.code}`,
|
|
7120
7120
|
frameBorder: "0",
|
|
7121
7121
|
allowFullScreen: !0
|
|
@@ -7124,7 +7124,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7124
7124
|
e.type === "vf" && /* @__PURE__ */ a(
|
|
7125
7125
|
"iframe",
|
|
7126
7126
|
{
|
|
7127
|
-
className:
|
|
7127
|
+
className: Oe.iframeStyled,
|
|
7128
7128
|
src: e.video?.main?.code,
|
|
7129
7129
|
frameBorder: "0",
|
|
7130
7130
|
allowFullScreen: !0,
|
|
@@ -7135,13 +7135,13 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7135
7135
|
e.type === "ve" && /* @__PURE__ */ a(
|
|
7136
7136
|
"div",
|
|
7137
7137
|
{
|
|
7138
|
-
className:
|
|
7138
|
+
className: Oe.contentFrame,
|
|
7139
7139
|
dangerouslySetInnerHTML: {
|
|
7140
7140
|
__html: e.video?.main?.code ?? ""
|
|
7141
7141
|
}
|
|
7142
7142
|
}
|
|
7143
7143
|
),
|
|
7144
|
-
/* @__PURE__ */ a("div", { className:
|
|
7144
|
+
/* @__PURE__ */ a("div", { className: Oe.articleSection, children: /* @__PURE__ */ a(
|
|
7145
7145
|
Rt,
|
|
7146
7146
|
{
|
|
7147
7147
|
isTitle: !0,
|
|
@@ -7168,7 +7168,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7168
7168
|
/* @__PURE__ */ f(
|
|
7169
7169
|
"div",
|
|
7170
7170
|
{
|
|
7171
|
-
className:
|
|
7171
|
+
className: Oe.sectionVideoList,
|
|
7172
7172
|
style: e.listVideoStyles,
|
|
7173
7173
|
children: [
|
|
7174
7174
|
e.banner && /* @__PURE__ */ a(
|
|
@@ -7178,7 +7178,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7178
7178
|
name: e.banner.bannerName
|
|
7179
7179
|
}
|
|
7180
7180
|
),
|
|
7181
|
-
e.relatedName && /* @__PURE__ */ a("h2", { className: `${
|
|
7181
|
+
e.relatedName && /* @__PURE__ */ a("h2", { className: `${Oe.relatedTitle} saas-video-related-title`, children: e.relatedName }),
|
|
7182
7182
|
Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */ it(
|
|
7183
7183
|
qu,
|
|
7184
7184
|
{
|
|
@@ -7480,7 +7480,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7480
7480
|
}
|
|
7481
7481
|
)
|
|
7482
7482
|
] });
|
|
7483
|
-
}, hh = "_content_kc9w6_1", mh = "_linkStyled_kc9w6_14", fh = "_linkSocialNetwork_kc9w6_28", gh = "_title_kc9w6_54", ph = "_tabs_kc9w6_65", Ah = "_socialNetwork_kc9w6_73", wh = "_icon_kc9w6_83", yh = "_facebook_kc9w6_89",
|
|
7483
|
+
}, hh = "_content_kc9w6_1", mh = "_linkStyled_kc9w6_14", fh = "_linkSocialNetwork_kc9w6_28", gh = "_title_kc9w6_54", ph = "_tabs_kc9w6_65", Ah = "_socialNetwork_kc9w6_73", wh = "_icon_kc9w6_83", yh = "_facebook_kc9w6_89", vh = "_youtube_kc9w6_93", Ch = "_x_kc9w6_97", _h = "_instagram_kc9w6_101", bh = "_gnews_kc9w6_105", Nh = "_tiktok_kc9w6_109", Sh = "_whatsapp_kc9w6_113", $e = {
|
|
7484
7484
|
content: hh,
|
|
7485
7485
|
linkStyled: mh,
|
|
7486
7486
|
linkSocialNetwork: fh,
|
|
@@ -7489,8 +7489,8 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7489
7489
|
socialNetwork: Ah,
|
|
7490
7490
|
icon: wh,
|
|
7491
7491
|
facebook: yh,
|
|
7492
|
-
youtube:
|
|
7493
|
-
x:
|
|
7492
|
+
youtube: vh,
|
|
7493
|
+
x: Ch,
|
|
7494
7494
|
instagram: _h,
|
|
7495
7495
|
gnews: bh,
|
|
7496
7496
|
tiktok: Nh,
|
|
@@ -7614,7 +7614,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7614
7614
|
href: t.data[0]?.info.link.url,
|
|
7615
7615
|
target: t.data[0]?.info.link.target,
|
|
7616
7616
|
title: t.data[0]?.main.title.home,
|
|
7617
|
-
children:
|
|
7617
|
+
children: He(t.data[0]?.main.title.home ?? "", 120)
|
|
7618
7618
|
}
|
|
7619
7619
|
)
|
|
7620
7620
|
] }),
|
|
@@ -7689,7 +7689,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7689
7689
|
}
|
|
7690
7690
|
) }, r)) }) })
|
|
7691
7691
|
] }, s)) });
|
|
7692
|
-
}, Fh = "_headerStyled_q9qvi_1", $h = "_headerContent_q9qvi_23", Wh = "_menuButtonSection_q9qvi_33", Yh = "_menuButton_q9qvi_33", Kh = "_buttonSection_q9qvi_84", Jh = "_buttonSectionSearch_q9qvi_101", Zh = "_hasAlertZone_q9qvi_112", Xh = "_buttonText_q9qvi_131", em = "_logoContent_q9qvi_141", tm = "_logoStyled_q9qvi_149", nm = "_headLineContent_q9qvi_173", am = "_headLineTitle_q9qvi_188", sm = "_menuSection_q9qvi_204", om = "_headLine_q9qvi_173", rm = "_line_q9qvi_256",
|
|
7692
|
+
}, Fh = "_headerStyled_q9qvi_1", $h = "_headerContent_q9qvi_23", Wh = "_menuButtonSection_q9qvi_33", Yh = "_menuButton_q9qvi_33", Kh = "_buttonSection_q9qvi_84", Jh = "_buttonSectionSearch_q9qvi_101", Zh = "_hasAlertZone_q9qvi_112", Xh = "_buttonText_q9qvi_131", em = "_logoContent_q9qvi_141", tm = "_logoStyled_q9qvi_149", nm = "_headLineContent_q9qvi_173", am = "_headLineTitle_q9qvi_188", sm = "_menuSection_q9qvi_204", om = "_headLine_q9qvi_173", rm = "_line_q9qvi_256", Ce = {
|
|
7693
7693
|
headerStyled: Fh,
|
|
7694
7694
|
headerContent: $h,
|
|
7695
7695
|
menuButtonSection: Wh,
|
|
@@ -7710,7 +7710,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7710
7710
|
return /* @__PURE__ */ f(
|
|
7711
7711
|
"header",
|
|
7712
7712
|
{
|
|
7713
|
-
className:
|
|
7713
|
+
className: Ce.headerStyled,
|
|
7714
7714
|
style: { top: e.cintillo || e.socialIcons && !e.headerTape?.static ? 40 : 0 },
|
|
7715
7715
|
children: [
|
|
7716
7716
|
e.socialIcons && e.headerTape?.static && /* @__PURE__ */ a(
|
|
@@ -7727,14 +7727,14 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7727
7727
|
{
|
|
7728
7728
|
style: e.showAlertPop ? { gap: 0 } : {},
|
|
7729
7729
|
className: [
|
|
7730
|
-
|
|
7731
|
-
n?.data ?
|
|
7730
|
+
Ce.headerContent,
|
|
7731
|
+
n?.data ? Ce.hasAlertZone : ""
|
|
7732
7732
|
].join(" "),
|
|
7733
7733
|
children: [
|
|
7734
|
-
/* @__PURE__ */ a("div", { className: `${
|
|
7734
|
+
/* @__PURE__ */ a("div", { className: `${Ce.menuButtonSection} sass-header-menu-button`, children: /* @__PURE__ */ f(
|
|
7735
7735
|
qa,
|
|
7736
7736
|
{
|
|
7737
|
-
className:
|
|
7737
|
+
className: Ce.menuButton,
|
|
7738
7738
|
id: "button-app",
|
|
7739
7739
|
toggledrawerevent: "true",
|
|
7740
7740
|
"aria-label": "menu",
|
|
@@ -7742,44 +7742,44 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7742
7742
|
title: "menu",
|
|
7743
7743
|
children: [
|
|
7744
7744
|
/* @__PURE__ */ a(Lo, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7745
|
-
/* @__PURE__ */ a("p", { className:
|
|
7745
|
+
/* @__PURE__ */ a("p", { className: Ce.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7746
7746
|
]
|
|
7747
7747
|
}
|
|
7748
7748
|
) }),
|
|
7749
|
-
/* @__PURE__ */ a("div", { className:
|
|
7749
|
+
/* @__PURE__ */ a("div", { className: Ce.logoContent, children: /* @__PURE__ */ a(q, { href: "/", "aria-label": "Home", className: "header-logo-link", children: ke.createElement(
|
|
7750
7750
|
"span",
|
|
7751
|
-
{ className: `${
|
|
7751
|
+
{ className: `${Ce.logoStyled}` },
|
|
7752
7752
|
e.icon
|
|
7753
7753
|
) }) }),
|
|
7754
|
-
/* @__PURE__ */ f("div", { className: `${
|
|
7754
|
+
/* @__PURE__ */ f("div", { className: `${Ce.buttonSection} sass-header-right-button-section`, children: [
|
|
7755
7755
|
/* @__PURE__ */ a(
|
|
7756
7756
|
q,
|
|
7757
7757
|
{
|
|
7758
7758
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7759
|
-
className:
|
|
7759
|
+
className: Ce.buttonSectionSearch,
|
|
7760
7760
|
"aria-label": e.searchKeyWord,
|
|
7761
7761
|
children: /* @__PURE__ */ a(Oa, { width: 28, height: 28, color: "currentColor" })
|
|
7762
7762
|
}
|
|
7763
7763
|
),
|
|
7764
7764
|
e.rightZone
|
|
7765
7765
|
] }),
|
|
7766
|
-
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className:
|
|
7767
|
-
/* @__PURE__ */ a("p", { className: `${
|
|
7766
|
+
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className: Ce.headLineContent, children: [
|
|
7767
|
+
/* @__PURE__ */ a("p", { className: `${Ce.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7768
7768
|
/* @__PURE__ */ a(
|
|
7769
7769
|
q,
|
|
7770
7770
|
{
|
|
7771
|
-
className:
|
|
7771
|
+
className: Ce.headLine,
|
|
7772
7772
|
href: n.data[0]?.info.link.url,
|
|
7773
7773
|
target: n.data[0]?.info.link.target,
|
|
7774
7774
|
title: n.data[0]?.main.title.home,
|
|
7775
|
-
children:
|
|
7775
|
+
children: He(n.data[0]?.main.title.home ?? "", 120)
|
|
7776
7776
|
}
|
|
7777
7777
|
)
|
|
7778
|
-
] }) : /* @__PURE__ */ a("div", { className:
|
|
7778
|
+
] }) : /* @__PURE__ */ a("div", { className: Ce.line }),
|
|
7779
7779
|
/* @__PURE__ */ a(
|
|
7780
7780
|
"div",
|
|
7781
7781
|
{
|
|
7782
|
-
className:
|
|
7782
|
+
className: Ce.menuSection,
|
|
7783
7783
|
style: e.showAlertPop ? { "--showAlertPop": "0px" } : {},
|
|
7784
7784
|
children: Array.isArray(t) && /* @__PURE__ */ a(Vh, { items: t })
|
|
7785
7785
|
}
|
|
@@ -7844,24 +7844,24 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7844
7844
|
}, pm = (e) => /* @__PURE__ */ a("section", { className: _t.content, children: Array.isArray(e.tags) && /* @__PURE__ */ f("div", { className: _t.tags, children: [
|
|
7845
7845
|
/* @__PURE__ */ a("p", { className: _t.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7846
7846
|
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(q, { href: At(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${_t.chipStyled} ${_t.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: _t.chipStyled, children: t.name }, n))
|
|
7847
|
-
] }) }), Am = "
|
|
7847
|
+
] }) }), Am = "_contentBox_1svvm_1", wm = "_content_1svvm_1", ym = "_imageStyled_1svvm_22", vm = "_contentIconStyled_1svvm_29", Cm = "_avatarContent_1svvm_49", _m = "_journalistSection_1svvm_56", bm = "_journalistInfo_1svvm_62", Nm = "_socialNetworkSection_1svvm_81", Sm = "_article_1svvm_94", je = {
|
|
7848
7848
|
contentBox: Am,
|
|
7849
7849
|
content: wm,
|
|
7850
7850
|
imageStyled: ym,
|
|
7851
|
-
contentIconStyled:
|
|
7852
|
-
avatarContent:
|
|
7851
|
+
contentIconStyled: vm,
|
|
7852
|
+
avatarContent: Cm,
|
|
7853
7853
|
journalistSection: _m,
|
|
7854
7854
|
journalistInfo: bm,
|
|
7855
7855
|
socialNetworkSection: Nm,
|
|
7856
7856
|
article: Sm
|
|
7857
7857
|
}, xm = async (e) => {
|
|
7858
7858
|
const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, s = t?.info?.name ?? "", o = t?.info?.fullname ?? "", r = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", d = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", u = t?.addtional?.USER_USERLIN ?? "";
|
|
7859
|
-
return n && /* @__PURE__ */ a("section", { className:
|
|
7860
|
-
/* @__PURE__ */ f("div", { className:
|
|
7859
|
+
return n && /* @__PURE__ */ a("section", { className: je.contentBox, children: /* @__PURE__ */ f("div", { className: je.content, children: [
|
|
7860
|
+
/* @__PURE__ */ f("div", { className: je.avatarContent, children: [
|
|
7861
7861
|
/* @__PURE__ */ a(
|
|
7862
7862
|
q,
|
|
7863
7863
|
{
|
|
7864
|
-
className:
|
|
7864
|
+
className: je.journalistInfo,
|
|
7865
7865
|
href: `/${e.paths.autor}/${s}`,
|
|
7866
7866
|
children: r ? /* @__PURE__ */ a(
|
|
7867
7867
|
"img",
|
|
@@ -7869,15 +7869,15 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7869
7869
|
fetchPriority: "low",
|
|
7870
7870
|
loading: "lazy",
|
|
7871
7871
|
alt: "autor-image",
|
|
7872
|
-
className:
|
|
7872
|
+
className: je.imageStyled,
|
|
7873
7873
|
src: await pe(r)
|
|
7874
7874
|
}
|
|
7875
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
7875
|
+
) : /* @__PURE__ */ a("div", { className: je.contentIconStyled, children: e.autorIcon() })
|
|
7876
7876
|
}
|
|
7877
7877
|
),
|
|
7878
|
-
/* @__PURE__ */ f("section", { className:
|
|
7879
|
-
/* @__PURE__ */ a("h3", { className:
|
|
7880
|
-
/* @__PURE__ */ f("section", { className:
|
|
7878
|
+
/* @__PURE__ */ f("section", { className: je.journalistSection, children: [
|
|
7879
|
+
/* @__PURE__ */ a("h3", { className: je.journalistInfo, children: /* @__PURE__ */ a(q, { href: `/${e.paths.autor}/${s}`, children: o }) }),
|
|
7880
|
+
/* @__PURE__ */ f("section", { className: je.socialNetworkSection, children: [
|
|
7881
7881
|
c && /* @__PURE__ */ a(
|
|
7882
7882
|
"a",
|
|
7883
7883
|
{
|
|
@@ -8038,7 +8038,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8038
8038
|
n && /* @__PURE__ */ a(
|
|
8039
8039
|
"p",
|
|
8040
8040
|
{
|
|
8041
|
-
className:
|
|
8041
|
+
className: je.article,
|
|
8042
8042
|
dangerouslySetInnerHTML: {
|
|
8043
8043
|
__html: `${i} <a aria-label="${s}" href="/${e.paths.autor}/${s}">${e.texts.authorViewMore ?? "Ver más"}</a>`
|
|
8044
8044
|
}
|
|
@@ -8197,13 +8197,13 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8197
8197
|
}, Et = (e) => {
|
|
8198
8198
|
const { SHOW_TAG_BY_SECTION: t } = te(), n = () => {
|
|
8199
8199
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8200
|
-
return `${e?.authors[0]?.fullname} - ${
|
|
8200
|
+
return `${e?.authors[0]?.fullname} - ${Ge(
|
|
8201
8201
|
e.info?.date?.modified
|
|
8202
8202
|
)}`;
|
|
8203
8203
|
if (e.config?.showauthor)
|
|
8204
8204
|
return e?.authors[0]?.fullname;
|
|
8205
8205
|
if (e?.config?.showtime)
|
|
8206
|
-
return
|
|
8206
|
+
return Ge(e.info?.date?.modified);
|
|
8207
8207
|
}, s = () => {
|
|
8208
8208
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
8209
8209
|
const r = e.keywords.tags[0], i = r.name;
|
|
@@ -8320,7 +8320,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8320
8320
|
}
|
|
8321
8321
|
)
|
|
8322
8322
|
] });
|
|
8323
|
-
},
|
|
8323
|
+
}, vs = (e) => {
|
|
8324
8324
|
const {
|
|
8325
8325
|
main: t,
|
|
8326
8326
|
authors: n,
|
|
@@ -8418,7 +8418,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8418
8418
|
}
|
|
8419
8419
|
)) })
|
|
8420
8420
|
] });
|
|
8421
|
-
}, c2 = "_content_wsx1m_1", l2 = "_firstSection_wsx1m_8",
|
|
8421
|
+
}, c2 = "_content_wsx1m_1", l2 = "_firstSection_wsx1m_8", Cs = {
|
|
8422
8422
|
content: c2,
|
|
8423
8423
|
firstSection: l2
|
|
8424
8424
|
}, d2 = ({
|
|
@@ -8426,11 +8426,11 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8426
8426
|
customLargeSection: t,
|
|
8427
8427
|
customSlimSection: n,
|
|
8428
8428
|
paths: s
|
|
8429
|
-
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a("section", { className:
|
|
8429
|
+
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a("section", { className: Cs.content, children: e.map((o, r) => r === 0 ? /* @__PURE__ */ a(
|
|
8430
8430
|
"div",
|
|
8431
8431
|
{
|
|
8432
8432
|
style: t,
|
|
8433
|
-
className:
|
|
8433
|
+
className: Cs.firstSection,
|
|
8434
8434
|
children: /* @__PURE__ */ a(
|
|
8435
8435
|
Et,
|
|
8436
8436
|
{
|
|
@@ -8553,9 +8553,9 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8553
8553
|
})
|
|
8554
8554
|
] })
|
|
8555
8555
|
] });
|
|
8556
|
-
},
|
|
8557
|
-
content:
|
|
8558
|
-
autorContent:
|
|
8556
|
+
}, v2 = "_content_1stvq_1", C2 = "_autorContent_1stvq_8", _2 = "_image_1stvq_24", b2 = "_contentIcon_1stvq_25", N2 = "_boxInformationContent_1stvq_47", S2 = "_autorName_1stvq_53", x2 = "_time_1stvq_85", E2 = "_comment_1stvq_98", I2 = "_title_1stvq_107", Ye = {
|
|
8557
|
+
content: v2,
|
|
8558
|
+
autorContent: C2,
|
|
8559
8559
|
image: _2,
|
|
8560
8560
|
contentIcon: b2,
|
|
8561
8561
|
boxInformationContent: N2,
|
|
@@ -8564,7 +8564,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8564
8564
|
comment: E2,
|
|
8565
8565
|
title: I2
|
|
8566
8566
|
}, yn = async (e) => {
|
|
8567
|
-
const { data: t, autorIcon: n } = e, s = n, o = () => t?.config?.showtime ? `${
|
|
8567
|
+
const { data: t, autorIcon: n } = e, s = n, o = () => t?.config?.showtime ? `${Ge(t.info?.date?.modified)}` : "", r = /* @__PURE__ */ f("div", { className: Ye.autorContent, children: [
|
|
8568
8568
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
8569
8569
|
"img",
|
|
8570
8570
|
{
|
|
@@ -8575,7 +8575,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8575
8575
|
alt: t?.authors[0]?.fullname
|
|
8576
8576
|
}
|
|
8577
8577
|
) : /* @__PURE__ */ a("div", { className: Ye.contentIcon, children: /* @__PURE__ */ a(s, {}) }),
|
|
8578
|
-
/* @__PURE__ */ a("p", { className: Ye.autorName, children:
|
|
8578
|
+
/* @__PURE__ */ a("p", { className: Ye.autorName, children: He(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
8579
8579
|
/* @__PURE__ */ a("p", { className: Ye.time, children: o() })
|
|
8580
8580
|
] });
|
|
8581
8581
|
return /* @__PURE__ */ f("div", { className: Ye.content, children: [
|
|
@@ -8596,7 +8596,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8596
8596
|
children: t?.main?.title?.home
|
|
8597
8597
|
}
|
|
8598
8598
|
),
|
|
8599
|
-
/* @__PURE__ */ a("p", { className: Ye.comment, children:
|
|
8599
|
+
/* @__PURE__ */ a("p", { className: Ye.comment, children: He(t?.main?.subtitle?.striped || "") })
|
|
8600
8600
|
] })
|
|
8601
8601
|
] });
|
|
8602
8602
|
}, T2 = "_content_1d7mg_1", k2 = "_boxPosition_1d7mg_8", U2 = "_contentFlex_1d7mg_21", R2 = "_bannerContent_1d7mg_29", L2 = "_bannerContentAux_1d7mg_40", bt = {
|
|
@@ -8974,7 +8974,7 @@ const $3 = (e) => {
|
|
|
8974
8974
|
children: (t ? e?.main?.title?.section : e?.info?.section?.name) ?? ""
|
|
8975
8975
|
}
|
|
8976
8976
|
),
|
|
8977
|
-
/* @__PURE__ */ a("p", { className: Dt.dateText, children:
|
|
8977
|
+
/* @__PURE__ */ a("p", { className: Dt.dateText, children: Ge(e?.info?.date?.modified) })
|
|
8978
8978
|
] })
|
|
8979
8979
|
]
|
|
8980
8980
|
}
|
|
@@ -9060,11 +9060,11 @@ const $3 = (e) => {
|
|
|
9060
9060
|
})
|
|
9061
9061
|
}
|
|
9062
9062
|
) });
|
|
9063
|
-
}, wf = "_content_1mj79_1", yf = "_imageStyled_1mj79_14",
|
|
9063
|
+
}, wf = "_content_1mj79_1", yf = "_imageStyled_1mj79_14", vf = "_contentIcon_1mj79_23", Cf = "_boxInformation_1mj79_44", _f = "_comment_1mj79_51", bf = "_title_1mj79_60", Nf = "_authorName_1mj79_81", ot = {
|
|
9064
9064
|
content: wf,
|
|
9065
9065
|
imageStyled: yf,
|
|
9066
|
-
contentIcon:
|
|
9067
|
-
boxInformation:
|
|
9066
|
+
contentIcon: vf,
|
|
9067
|
+
boxInformation: Cf,
|
|
9068
9068
|
comment: _f,
|
|
9069
9069
|
title: bf,
|
|
9070
9070
|
authorName: Nf
|
|
@@ -9095,7 +9095,7 @@ const $3 = (e) => {
|
|
|
9095
9095
|
className: ot.linkStyled,
|
|
9096
9096
|
href: t?.info?.link?.url,
|
|
9097
9097
|
target: t?.info?.link?.target,
|
|
9098
|
-
children:
|
|
9098
|
+
children: He(t?.main?.title?.home, 40)
|
|
9099
9099
|
}
|
|
9100
9100
|
) }),
|
|
9101
9101
|
/* @__PURE__ */ a("p", { className: ot.comment, children: t?.main?.subtitle?.striped })
|
|
@@ -9218,7 +9218,7 @@ const $3 = (e) => {
|
|
|
9218
9218
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9219
9219
|
}
|
|
9220
9220
|
),
|
|
9221
|
-
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(
|
|
9221
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(vn, { children: [
|
|
9222
9222
|
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent + " banner-context", children: /* @__PURE__ */ a(
|
|
9223
9223
|
ye,
|
|
9224
9224
|
{
|
|
@@ -9281,7 +9281,7 @@ const $3 = (e) => {
|
|
|
9281
9281
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9282
9282
|
}
|
|
9283
9283
|
),
|
|
9284
|
-
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(
|
|
9284
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(vn, { children: [
|
|
9285
9285
|
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent, children: /* @__PURE__ */ a(
|
|
9286
9286
|
ye,
|
|
9287
9287
|
{
|
|
@@ -9492,7 +9492,7 @@ const $3 = (e) => {
|
|
|
9492
9492
|
let l;
|
|
9493
9493
|
if (n.forEach((N) => {
|
|
9494
9494
|
Array.isArray(N) && (l = N.find(
|
|
9495
|
-
(
|
|
9495
|
+
(C) => d.replaceAll("/", "|").includes(C?.info.link.internal || "")
|
|
9496
9496
|
));
|
|
9497
9497
|
}), !l) {
|
|
9498
9498
|
r = r.replace("ck-related-news", "ck-related-news-empty");
|
|
@@ -9500,10 +9500,10 @@ const $3 = (e) => {
|
|
|
9500
9500
|
}
|
|
9501
9501
|
const u = l.preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
9502
9502
|
l.preview?.sizes?.map(async (N) => {
|
|
9503
|
-
const
|
|
9504
|
-
return N.width < 200 ? `<source srcset="${
|
|
9503
|
+
const C = await pe(N.url);
|
|
9504
|
+
return N.width < 200 ? `<source srcset="${C}" media="(width < 750px)"/>` : `<source srcset="${C}" media="(width >= 750px)"/>`;
|
|
9505
9505
|
})
|
|
9506
|
-
)).reduce((N,
|
|
9506
|
+
)).reduce((N, C) => N += C, ""), v = `
|
|
9507
9507
|
<span data-src="${d}">
|
|
9508
9508
|
<picture style='display: flex'>
|
|
9509
9509
|
${w}
|
|
@@ -9515,12 +9515,12 @@ const $3 = (e) => {
|
|
|
9515
9515
|
</div>
|
|
9516
9516
|
</span>
|
|
9517
9517
|
`;
|
|
9518
|
-
r = r.replace(c,
|
|
9518
|
+
r = r.replace(c, v);
|
|
9519
9519
|
}
|
|
9520
9520
|
return r;
|
|
9521
9521
|
}, o0 = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), r0 = (e) => {
|
|
9522
9522
|
const t = /src="\/(?!\/)(.*?)"/g;
|
|
9523
|
-
return e.replace(t, `src="${
|
|
9523
|
+
return e.replace(t, `src="${Cn()}/$1"`);
|
|
9524
9524
|
}, xs = {
|
|
9525
9525
|
2: 1,
|
|
9526
9526
|
4: 2,
|
|
@@ -9553,7 +9553,7 @@ async function c0(e, t) {
|
|
|
9553
9553
|
let A = "";
|
|
9554
9554
|
const w = d.match(
|
|
9555
9555
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
9556
|
-
),
|
|
9556
|
+
), v = w && w[1] ? w[1].trim() : "";
|
|
9557
9557
|
g.info && g.info.type === "video-youtube" ? A = `<iframe
|
|
9558
9558
|
loading="lazy"
|
|
9559
9559
|
frameborder="0"
|
|
@@ -9569,7 +9569,7 @@ async function c0(e, t) {
|
|
|
9569
9569
|
allowfullscreen
|
|
9570
9570
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
9571
9571
|
src="${g.main?.code || ""}"></iframe>` : A = g.main?.code || "";
|
|
9572
|
-
const N =
|
|
9572
|
+
const N = v || g.main?.description || "";
|
|
9573
9573
|
h = `
|
|
9574
9574
|
<figure class="videoFigure">
|
|
9575
9575
|
${p && p.data && p.data.data ? `<script type="application/ld+json">${Tn(
|
|
@@ -9616,7 +9616,7 @@ const d0 = async ({
|
|
|
9616
9616
|
}
|
|
9617
9617
|
};
|
|
9618
9618
|
});
|
|
9619
|
-
return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(
|
|
9619
|
+
return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(vn, { children: [
|
|
9620
9620
|
/* @__PURE__ */ a(a0, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: Ke.contentWithinCard, children: [
|
|
9621
9621
|
(await c).date > 0 && /* @__PURE__ */ f("div", { className: Ke.contentDate, children: [
|
|
9622
9622
|
/* @__PURE__ */ a(
|
|
@@ -9809,7 +9809,7 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9809
9809
|
noteSource: A0
|
|
9810
9810
|
}, w0 = "_summaryContent_zuvmo_1", y0 = {
|
|
9811
9811
|
summaryContent: w0
|
|
9812
|
-
},
|
|
9812
|
+
}, v0 = async ({ summary: e }) => e && e.rendered && /* @__PURE__ */ a(
|
|
9813
9813
|
"section",
|
|
9814
9814
|
{
|
|
9815
9815
|
className: `${y0.summaryContent} sass-summary-content`,
|
|
@@ -9817,7 +9817,7 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9817
9817
|
__html: e.rendered
|
|
9818
9818
|
}
|
|
9819
9819
|
}
|
|
9820
|
-
),
|
|
9820
|
+
), C0 = async ({
|
|
9821
9821
|
newsformated: e,
|
|
9822
9822
|
internal: t,
|
|
9823
9823
|
commonServices: n
|
|
@@ -10300,25 +10300,25 @@ const hg = async (e) => {
|
|
|
10300
10300
|
const u = l[0], h = l[2] ?? "";
|
|
10301
10301
|
i.add(h);
|
|
10302
10302
|
const m = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10303
|
-
let w = 0,
|
|
10303
|
+
let w = 0, v = 0;
|
|
10304
10304
|
if (A) {
|
|
10305
10305
|
const I = A.match(/w:(\d+)/), P = A.match(/h:(\d+)/);
|
|
10306
|
-
w = I ? parseInt(I[1]) : 0,
|
|
10306
|
+
w = I ? parseInt(I[1]) : 0, v = P ? parseInt(P[1]) : 0;
|
|
10307
10307
|
}
|
|
10308
|
-
const
|
|
10308
|
+
const C = {
|
|
10309
10309
|
preview: {
|
|
10310
10310
|
sizes: [
|
|
10311
10311
|
{
|
|
10312
|
-
scale: A || `w:${w},h:${
|
|
10312
|
+
scale: A || `w:${w},h:${v},t:2`,
|
|
10313
10313
|
url: h,
|
|
10314
10314
|
width: w,
|
|
10315
|
-
height:
|
|
10315
|
+
height: v
|
|
10316
10316
|
}
|
|
10317
10317
|
],
|
|
10318
10318
|
original: {
|
|
10319
10319
|
url: h.split("?")[0],
|
|
10320
10320
|
width: w,
|
|
10321
|
-
height:
|
|
10321
|
+
height: v
|
|
10322
10322
|
},
|
|
10323
10323
|
copyright: !1,
|
|
10324
10324
|
description: p,
|
|
@@ -10326,7 +10326,7 @@ const hg = async (e) => {
|
|
|
10326
10326
|
},
|
|
10327
10327
|
isLarge: !1,
|
|
10328
10328
|
priorityHigh: !1
|
|
10329
|
-
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(
|
|
10329
|
+
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(C))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
10330
10330
|
s = s.replace(u, _);
|
|
10331
10331
|
}
|
|
10332
10332
|
const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...s.matchAll(c)];
|
|
@@ -10334,25 +10334,25 @@ const hg = async (e) => {
|
|
|
10334
10334
|
const u = l[0], h = l[1] ?? "";
|
|
10335
10335
|
if (i.has(h)) continue;
|
|
10336
10336
|
const m = u.match(/\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10337
|
-
let w = 0,
|
|
10337
|
+
let w = 0, v = 0;
|
|
10338
10338
|
if (A) {
|
|
10339
10339
|
const I = A.match(/w:(\d+)/), P = A.match(/h:(\d+)/);
|
|
10340
|
-
w = I ? parseInt(I[1]) : 0,
|
|
10340
|
+
w = I ? parseInt(I[1]) : 0, v = P ? parseInt(P[1]) : 0;
|
|
10341
10341
|
}
|
|
10342
|
-
const
|
|
10342
|
+
const C = {
|
|
10343
10343
|
preview: {
|
|
10344
10344
|
sizes: [
|
|
10345
10345
|
{
|
|
10346
|
-
scale: A || `w:${w},h:${
|
|
10346
|
+
scale: A || `w:${w},h:${v},t:2`,
|
|
10347
10347
|
url: h,
|
|
10348
10348
|
width: w,
|
|
10349
|
-
height:
|
|
10349
|
+
height: v
|
|
10350
10350
|
}
|
|
10351
10351
|
],
|
|
10352
10352
|
original: {
|
|
10353
10353
|
url: h.split("?")[0],
|
|
10354
10354
|
width: w,
|
|
10355
|
-
height:
|
|
10355
|
+
height: v
|
|
10356
10356
|
},
|
|
10357
10357
|
copyright: !1,
|
|
10358
10358
|
description: p,
|
|
@@ -10360,7 +10360,7 @@ const hg = async (e) => {
|
|
|
10360
10360
|
},
|
|
10361
10361
|
isLarge: !1,
|
|
10362
10362
|
priorityHigh: !1
|
|
10363
|
-
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(
|
|
10363
|
+
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(C))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
10364
10364
|
s = s.replace(u, _);
|
|
10365
10365
|
}
|
|
10366
10366
|
return s;
|
|
@@ -10413,7 +10413,7 @@ const hg = async (e) => {
|
|
|
10413
10413
|
s += p, o = l;
|
|
10414
10414
|
}
|
|
10415
10415
|
return s += e.slice(o), s;
|
|
10416
|
-
},
|
|
10416
|
+
}, vg = async (e, t, n) => {
|
|
10417
10417
|
if (!n) return e;
|
|
10418
10418
|
const s = /<span data-src="(.*?)"><\/span>/g, o = [...e.matchAll(s)];
|
|
10419
10419
|
let r = e;
|
|
@@ -10423,11 +10423,11 @@ const hg = async (e) => {
|
|
|
10423
10423
|
);
|
|
10424
10424
|
if (!l || !l[0]) continue;
|
|
10425
10425
|
const u = l[0].preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
10426
|
-
l[0].preview?.sizes?.map(async (N,
|
|
10426
|
+
l[0].preview?.sizes?.map(async (N, C) => {
|
|
10427
10427
|
const x = await pe(N.url);
|
|
10428
|
-
return
|
|
10428
|
+
return C === 0 ? `<source srcset="${x}" media="(width >= 900px)"/>` : `<source srcset="${x}" media="(width < 900px)"/>`;
|
|
10429
10429
|
})
|
|
10430
|
-
)).reduce((N,
|
|
10430
|
+
)).reduce((N, C) => N += C, ""), v = `
|
|
10431
10431
|
<span data-src="${d}">
|
|
10432
10432
|
<picture style='display: flex'>
|
|
10433
10433
|
${w}
|
|
@@ -10439,11 +10439,11 @@ const hg = async (e) => {
|
|
|
10439
10439
|
</div>
|
|
10440
10440
|
</span>
|
|
10441
10441
|
`;
|
|
10442
|
-
r = r.replace(c,
|
|
10442
|
+
r = r.replace(c, v);
|
|
10443
10443
|
}
|
|
10444
10444
|
return r;
|
|
10445
10445
|
};
|
|
10446
|
-
async function
|
|
10446
|
+
async function Cg(e, t) {
|
|
10447
10447
|
let n = "", s = 0;
|
|
10448
10448
|
const o = /<div\b[^>]*\bclass=(["'])(?:(?!\1).)*\bck-video-player\b(?:(?!\1).)*\1[^>]*>/gi;
|
|
10449
10449
|
let r;
|
|
@@ -10453,22 +10453,22 @@ async function vg(e, t) {
|
|
|
10453
10453
|
let d = 1, l = c;
|
|
10454
10454
|
const u = e.length;
|
|
10455
10455
|
for (; l < u && d > 0; ) {
|
|
10456
|
-
const
|
|
10456
|
+
const v = e.indexOf("<div", l), N = e.indexOf("</div>", l);
|
|
10457
10457
|
if (N === -1) {
|
|
10458
10458
|
l = u;
|
|
10459
10459
|
break;
|
|
10460
10460
|
}
|
|
10461
|
-
|
|
10461
|
+
v !== -1 && v < N ? (d += 1, l = v + 4) : (d -= 1, l = N + 6);
|
|
10462
10462
|
}
|
|
10463
10463
|
const h = l, m = e.slice(i, h);
|
|
10464
10464
|
let p = null;
|
|
10465
10465
|
const g = /<span\b([^>]*)>/gi;
|
|
10466
10466
|
let A;
|
|
10467
10467
|
for (; (A = g.exec(m)) !== null; ) {
|
|
10468
|
-
const
|
|
10469
|
-
if (!
|
|
10470
|
-
if (/data-type\s*=\s*["']?video["']?/i.test(
|
|
10471
|
-
const N =
|
|
10468
|
+
const v = A[1];
|
|
10469
|
+
if (!v) break;
|
|
10470
|
+
if (/data-type\s*=\s*["']?video["']?/i.test(v)) {
|
|
10471
|
+
const N = v.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
10472
10472
|
if (N) {
|
|
10473
10473
|
p = N[1] ?? "";
|
|
10474
10474
|
break;
|
|
@@ -10476,40 +10476,40 @@ async function vg(e, t) {
|
|
|
10476
10476
|
}
|
|
10477
10477
|
}
|
|
10478
10478
|
if (!p) {
|
|
10479
|
-
const
|
|
10479
|
+
const v = m.match(
|
|
10480
10480
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
10481
10481
|
);
|
|
10482
|
-
if (
|
|
10483
|
-
const N =
|
|
10482
|
+
if (v) {
|
|
10483
|
+
const N = v[0].match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
10484
10484
|
N && (p = N[1] ?? "");
|
|
10485
10485
|
}
|
|
10486
10486
|
}
|
|
10487
10487
|
let w = "";
|
|
10488
10488
|
if (p)
|
|
10489
10489
|
try {
|
|
10490
|
-
const
|
|
10491
|
-
if (
|
|
10492
|
-
const
|
|
10490
|
+
const v = await t.iframe({ path: p }), N = t.schema ? await t.schema(p) : null;
|
|
10491
|
+
if (v && v.data) {
|
|
10492
|
+
const C = v.data.data[0];
|
|
10493
10493
|
let x = "";
|
|
10494
10494
|
const _ = m.match(
|
|
10495
10495
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10496
10496
|
), I = _ && _[1] ? _[1].trim() : "";
|
|
10497
|
-
|
|
10497
|
+
C.info && C.info.type === "video-youtube" ? x = `<iframe
|
|
10498
10498
|
loading="lazy"
|
|
10499
10499
|
frameborder="0"
|
|
10500
10500
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10501
10501
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10502
10502
|
allowfullscreen
|
|
10503
10503
|
style="position: relative!important;"
|
|
10504
|
-
src="https://www.youtube.com/embed/${
|
|
10504
|
+
src="https://www.youtube.com/embed/${C.main?.code || C.main?.youtubeid || ""}"></iframe>` : C.info && C.info.type === "video-link" ? x = `<iframe
|
|
10505
10505
|
loading="lazy"
|
|
10506
10506
|
frameborder="0"
|
|
10507
10507
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10508
10508
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10509
10509
|
allowfullscreen
|
|
10510
10510
|
style="position: relative!important;"
|
|
10511
|
-
src="${
|
|
10512
|
-
const P = I ||
|
|
10511
|
+
src="${C.main?.code || ""}"></iframe>` : x = C.main?.code || "";
|
|
10512
|
+
const P = I || C.main?.description || "";
|
|
10513
10513
|
w = `
|
|
10514
10514
|
<figure class="videoFigure">
|
|
10515
10515
|
${N && N.data && N.data.data ? `<script type="application/ld+json">${Tn(
|
|
@@ -10520,8 +10520,8 @@ async function vg(e, t) {
|
|
|
10520
10520
|
</figure>
|
|
10521
10521
|
`;
|
|
10522
10522
|
}
|
|
10523
|
-
} catch (
|
|
10524
|
-
console.error("insertVideos error for", p,
|
|
10523
|
+
} catch (v) {
|
|
10524
|
+
console.error("insertVideos error for", p, v), w = "";
|
|
10525
10525
|
}
|
|
10526
10526
|
else
|
|
10527
10527
|
w = m;
|
|
@@ -10542,15 +10542,15 @@ async function _g(e) {
|
|
|
10542
10542
|
commonServices: l
|
|
10543
10543
|
} = e;
|
|
10544
10544
|
let u = t?.body?.rendered ?? "";
|
|
10545
|
-
u = u.replace(/ /g, ""), u = wg(u, n), u = yg(u), u = await Ag(u), u = await
|
|
10545
|
+
u = u.replace(/ /g, ""), u = wg(u, n), u = yg(u), u = await Ag(u), u = await vg(
|
|
10546
10546
|
u,
|
|
10547
10547
|
e.texts,
|
|
10548
10548
|
s
|
|
10549
|
-
), u = await
|
|
10549
|
+
), u = await Cg(u, d), u = fg(u), u = gg(u);
|
|
10550
10550
|
const h = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: m } = te(), p = t.config.articlepreview === pt.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
10551
10551
|
return /* @__PURE__ */ f("div", { className: rn.content, children: [
|
|
10552
10552
|
r !== "liveblogs" && e.showHeaderImage ? p ? /* @__PURE__ */ a(
|
|
10553
|
-
|
|
10553
|
+
C0,
|
|
10554
10554
|
{
|
|
10555
10555
|
commonServices: l,
|
|
10556
10556
|
newsformated: t,
|
|
@@ -10579,7 +10579,7 @@ async function _g(e) {
|
|
|
10579
10579
|
paths: e.paths
|
|
10580
10580
|
}
|
|
10581
10581
|
) }),
|
|
10582
|
-
/* @__PURE__ */ a(
|
|
10582
|
+
/* @__PURE__ */ a(v0, { summary: t.main.summary }),
|
|
10583
10583
|
/* @__PURE__ */ a(
|
|
10584
10584
|
"div",
|
|
10585
10585
|
{
|
|
@@ -10770,7 +10770,7 @@ const Ts = {
|
|
|
10770
10770
|
if (!e?.data || e.data.length === 0) return;
|
|
10771
10771
|
const t = e.data.slice(1);
|
|
10772
10772
|
return /* @__PURE__ */ a(
|
|
10773
|
-
|
|
10773
|
+
vs,
|
|
10774
10774
|
{
|
|
10775
10775
|
...e.data[0],
|
|
10776
10776
|
itemReverseOrder: !0,
|
|
@@ -10789,7 +10789,7 @@ const Ts = {
|
|
|
10789
10789
|
if (!e?.data || e.data.length === 0) return;
|
|
10790
10790
|
const t = e.data.slice(1);
|
|
10791
10791
|
return /* @__PURE__ */ a(
|
|
10792
|
-
|
|
10792
|
+
vs,
|
|
10793
10793
|
{
|
|
10794
10794
|
...e.data[0],
|
|
10795
10795
|
itemReverseOrder: !0,
|
|
@@ -11209,7 +11209,7 @@ const Ts = {
|
|
|
11209
11209
|
showNext: !(t.length < e.newsListLimit)
|
|
11210
11210
|
}
|
|
11211
11211
|
),
|
|
11212
|
-
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(
|
|
11212
|
+
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(vn, { children: [
|
|
11213
11213
|
h.includes(g + 1) && /* @__PURE__ */ a(
|
|
11214
11214
|
"div",
|
|
11215
11215
|
{
|
|
@@ -11414,7 +11414,7 @@ const Ts = {
|
|
|
11414
11414
|
}
|
|
11415
11415
|
);
|
|
11416
11416
|
}, gp = (e) => {
|
|
11417
|
-
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${
|
|
11417
|
+
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Ge(
|
|
11418
11418
|
e.video.info.date.created
|
|
11419
11419
|
)}` : e?.video.main.author;
|
|
11420
11420
|
return /* @__PURE__ */ a("div", { className: ut.content, children: /* @__PURE__ */ a(Wt, { className: ut.contentLatout, children: /* @__PURE__ */ a(Ae, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ f("div", { className: ut.videoContent, children: [
|
|
@@ -11429,7 +11429,7 @@ const Ts = {
|
|
|
11429
11429
|
children: e.video.main.title
|
|
11430
11430
|
}
|
|
11431
11431
|
),
|
|
11432
|
-
/* @__PURE__ */ a("p", { className: ut.article, children:
|
|
11432
|
+
/* @__PURE__ */ a("p", { className: ut.article, children: He(e.video.main.description) }),
|
|
11433
11433
|
/* @__PURE__ */ a("p", { className: ut.correspondent, children: t() })
|
|
11434
11434
|
] })
|
|
11435
11435
|
] }) }) }) });
|
|
@@ -11444,7 +11444,7 @@ const Ts = {
|
|
|
11444
11444
|
}
|
|
11445
11445
|
};
|
|
11446
11446
|
function r6({ containerId: e, containerId2: t }) {
|
|
11447
|
-
return
|
|
11447
|
+
return Qe(() => {
|
|
11448
11448
|
try {
|
|
11449
11449
|
let n = function() {
|
|
11450
11450
|
const u = window.twttr;
|
|
@@ -11638,13 +11638,13 @@ const pp = (e) => {
|
|
|
11638
11638
|
const {
|
|
11639
11639
|
PUBLIC_API_FRONT: A,
|
|
11640
11640
|
PUBLIC_X_SECURITY_TOKEN: w,
|
|
11641
|
-
PUBLIC_API_PATH_VERSION:
|
|
11641
|
+
PUBLIC_API_PATH_VERSION: v,
|
|
11642
11642
|
PUBLIC_PUBLICATION_ID: N
|
|
11643
11643
|
} = r;
|
|
11644
|
-
if (!A || !w || !N || !
|
|
11644
|
+
if (!A || !w || !N || !v)
|
|
11645
11645
|
throw new Error("Missing required environment variables");
|
|
11646
|
-
const
|
|
11647
|
-
`${A}${
|
|
11646
|
+
const C = await oe.get(
|
|
11647
|
+
`${A}${v}/news-list-section`,
|
|
11648
11648
|
{
|
|
11649
11649
|
params: {
|
|
11650
11650
|
size: 7,
|
|
@@ -11660,8 +11660,8 @@ const pp = (e) => {
|
|
|
11660
11660
|
}
|
|
11661
11661
|
);
|
|
11662
11662
|
return {
|
|
11663
|
-
...
|
|
11664
|
-
data:
|
|
11663
|
+
...C.data,
|
|
11664
|
+
data: C.data.data.filter(
|
|
11665
11665
|
(x) => x.info.link.internal !== t.info.link.internal
|
|
11666
11666
|
)
|
|
11667
11667
|
};
|
|
@@ -11685,10 +11685,10 @@ const pp = (e) => {
|
|
|
11685
11685
|
m,
|
|
11686
11686
|
p
|
|
11687
11687
|
]);
|
|
11688
|
-
return
|
|
11688
|
+
return Qe(() => {
|
|
11689
11689
|
s && g();
|
|
11690
11690
|
}, [s, g]), !d?.data || d.data.length === 0 ? null : /* @__PURE__ */ a(
|
|
11691
|
-
|
|
11691
|
+
vp,
|
|
11692
11692
|
{
|
|
11693
11693
|
news: d.data,
|
|
11694
11694
|
title: "Más Noticias",
|
|
@@ -11702,7 +11702,7 @@ const pp = (e) => {
|
|
|
11702
11702
|
isVisible: s
|
|
11703
11703
|
}
|
|
11704
11704
|
);
|
|
11705
|
-
},
|
|
11705
|
+
}, vp = (e) => {
|
|
11706
11706
|
const { news: t, hasLines: n = !1, API_ENV: s } = e, o = (r) => n && (r + 1) % 3 !== 0 ? ma.contentSeparator : "";
|
|
11707
11707
|
return /* @__PURE__ */ a(
|
|
11708
11708
|
"div",
|
|
@@ -11753,7 +11753,7 @@ const pp = (e) => {
|
|
|
11753
11753
|
}
|
|
11754
11754
|
),
|
|
11755
11755
|
/* @__PURE__ */ a("div", { className: Gt.newsDescription, children: /* @__PURE__ */ a(
|
|
11756
|
-
|
|
11756
|
+
Cp,
|
|
11757
11757
|
{
|
|
11758
11758
|
main: c,
|
|
11759
11759
|
SHOW_TAG_BY_SECTION: s.SHOW_TAG_BY_SECTION,
|
|
@@ -11777,10 +11777,10 @@ const pp = (e) => {
|
|
|
11777
11777
|
})
|
|
11778
11778
|
}
|
|
11779
11779
|
);
|
|
11780
|
-
},
|
|
11780
|
+
}, Cp = (e) => {
|
|
11781
11781
|
const { share: t = !1, cutSubtitle: n = !0, SHOW_TAG_BY_SECTION: s, keywords: o, info: r } = e, c = (() => {
|
|
11782
11782
|
if (!e?.authors || e.authors.length === 0) return "";
|
|
11783
|
-
const u = e.authors[0], h =
|
|
11783
|
+
const u = e.authors[0], h = Ge(e.info?.date?.modified, e.DATE_CONFIG);
|
|
11784
11784
|
return u && e?.config?.showtime && e.config?.showauthor ? `${u.fullname} - ${h}` : u && e.config?.showauthor ? u.fullname : e?.config?.showtime ? h : "";
|
|
11785
11785
|
})(), d = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, l = () => {
|
|
11786
11786
|
if (s && o?.tags?.length && o.tags.length > 0) {
|
|
@@ -11839,7 +11839,7 @@ const pp = (e) => {
|
|
|
11839
11839
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
11840
11840
|
"--colorSubTitle": e.colorSubTitle
|
|
11841
11841
|
},
|
|
11842
|
-
children: n ?
|
|
11842
|
+
children: n ? He(e.main.subtitle.striped) : e.main.subtitle.striped
|
|
11843
11843
|
}
|
|
11844
11844
|
),
|
|
11845
11845
|
(e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ a(J, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -12005,7 +12005,7 @@ const Je = {
|
|
|
12005
12005
|
function c6(e) {
|
|
12006
12006
|
return Je[e];
|
|
12007
12007
|
}
|
|
12008
|
-
const
|
|
12008
|
+
const vt = 300, Xe = {
|
|
12009
12009
|
username: "anonimo",
|
|
12010
12010
|
firstname: "Usuario",
|
|
12011
12011
|
lastname: "Anonimo"
|
|
@@ -12018,7 +12018,7 @@ function Qp(e) {
|
|
|
12018
12018
|
}
|
|
12019
12019
|
const Da = (e, t, n) => {
|
|
12020
12020
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
12021
|
-
const s = e.current?.value || "", o = s.length >
|
|
12021
|
+
const s = e.current?.value || "", o = s.length > vt, { PUBLIC_ENV: r } = n, i = r === "local", c = s.trim() !== "" && (i || t !== "") && !o, d = o ? `No debes exceder el limite de ${vt} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
12022
12022
|
return { boolean: c, text: d };
|
|
12023
12023
|
}, jo = (e) => {
|
|
12024
12024
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
@@ -12050,8 +12050,8 @@ var qs;
|
|
|
12050
12050
|
function zp() {
|
|
12051
12051
|
if (qs) return ae;
|
|
12052
12052
|
qs = 1;
|
|
12053
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
12054
|
-
function
|
|
12053
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
12054
|
+
function C(_) {
|
|
12055
12055
|
if (typeof _ == "object" && _ !== null) {
|
|
12056
12056
|
var I = _.$$typeof;
|
|
12057
12057
|
switch (I) {
|
|
@@ -12082,49 +12082,49 @@ function zp() {
|
|
|
12082
12082
|
}
|
|
12083
12083
|
}
|
|
12084
12084
|
function x(_) {
|
|
12085
|
-
return
|
|
12085
|
+
return C(_) === l;
|
|
12086
12086
|
}
|
|
12087
12087
|
return ae.AsyncMode = d, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = i, ae.Element = t, ae.ForwardRef = u, ae.Fragment = s, ae.Lazy = g, ae.Memo = p, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = h, ae.isAsyncMode = function(_) {
|
|
12088
|
-
return x(_) ||
|
|
12088
|
+
return x(_) || C(_) === d;
|
|
12089
12089
|
}, ae.isConcurrentMode = x, ae.isContextConsumer = function(_) {
|
|
12090
|
-
return
|
|
12090
|
+
return C(_) === c;
|
|
12091
12091
|
}, ae.isContextProvider = function(_) {
|
|
12092
|
-
return
|
|
12092
|
+
return C(_) === i;
|
|
12093
12093
|
}, ae.isElement = function(_) {
|
|
12094
12094
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
12095
12095
|
}, ae.isForwardRef = function(_) {
|
|
12096
|
-
return
|
|
12096
|
+
return C(_) === u;
|
|
12097
12097
|
}, ae.isFragment = function(_) {
|
|
12098
|
-
return
|
|
12098
|
+
return C(_) === s;
|
|
12099
12099
|
}, ae.isLazy = function(_) {
|
|
12100
|
-
return
|
|
12100
|
+
return C(_) === g;
|
|
12101
12101
|
}, ae.isMemo = function(_) {
|
|
12102
|
-
return
|
|
12102
|
+
return C(_) === p;
|
|
12103
12103
|
}, ae.isPortal = function(_) {
|
|
12104
|
-
return
|
|
12104
|
+
return C(_) === n;
|
|
12105
12105
|
}, ae.isProfiler = function(_) {
|
|
12106
|
-
return
|
|
12106
|
+
return C(_) === r;
|
|
12107
12107
|
}, ae.isStrictMode = function(_) {
|
|
12108
|
-
return
|
|
12108
|
+
return C(_) === o;
|
|
12109
12109
|
}, ae.isSuspense = function(_) {
|
|
12110
|
-
return
|
|
12110
|
+
return C(_) === h;
|
|
12111
12111
|
}, ae.isValidElementType = function(_) {
|
|
12112
|
-
return typeof _ == "string" || typeof _ == "function" || _ === s || _ === l || _ === r || _ === o || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === p || _.$$typeof === i || _.$$typeof === c || _.$$typeof === u || _.$$typeof === w || _.$$typeof ===
|
|
12113
|
-
}, ae.typeOf =
|
|
12112
|
+
return typeof _ == "string" || typeof _ == "function" || _ === s || _ === l || _ === r || _ === o || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === p || _.$$typeof === i || _.$$typeof === c || _.$$typeof === u || _.$$typeof === w || _.$$typeof === v || _.$$typeof === N || _.$$typeof === A);
|
|
12113
|
+
}, ae.typeOf = C, ae;
|
|
12114
12114
|
}
|
|
12115
12115
|
var se = {};
|
|
12116
12116
|
var Bs;
|
|
12117
12117
|
function Vp() {
|
|
12118
12118
|
return Bs || (Bs = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
12119
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
12120
|
-
function
|
|
12119
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
12120
|
+
function C(L) {
|
|
12121
12121
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
12122
|
-
L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof ===
|
|
12122
|
+
L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof === v || L.$$typeof === N || L.$$typeof === A);
|
|
12123
12123
|
}
|
|
12124
12124
|
function x(L) {
|
|
12125
12125
|
if (typeof L == "object" && L !== null) {
|
|
12126
|
-
var
|
|
12127
|
-
switch (
|
|
12126
|
+
var ve = L.$$typeof;
|
|
12127
|
+
switch (ve) {
|
|
12128
12128
|
case t:
|
|
12129
12129
|
var Yt = L.type;
|
|
12130
12130
|
switch (Yt) {
|
|
@@ -12145,11 +12145,11 @@ function Vp() {
|
|
|
12145
12145
|
case i:
|
|
12146
12146
|
return Ga;
|
|
12147
12147
|
default:
|
|
12148
|
-
return
|
|
12148
|
+
return ve;
|
|
12149
12149
|
}
|
|
12150
12150
|
}
|
|
12151
12151
|
case n:
|
|
12152
|
-
return
|
|
12152
|
+
return ve;
|
|
12153
12153
|
}
|
|
12154
12154
|
}
|
|
12155
12155
|
}
|
|
@@ -12193,7 +12193,7 @@ function Vp() {
|
|
|
12193
12193
|
function ie(L) {
|
|
12194
12194
|
return x(L) === h;
|
|
12195
12195
|
}
|
|
12196
|
-
se.AsyncMode = _, se.ConcurrentMode = I, se.ContextConsumer = P, se.ContextProvider = Q, se.Element = W, se.ForwardRef = G, se.Fragment = B, se.Lazy = ee, se.Memo = le, se.Portal = M, se.Profiler = U, se.StrictMode = E, se.Suspense = D, se.isAsyncMode = z, se.isConcurrentMode = y, se.isContextConsumer = S, se.isContextProvider = R, se.isElement = j, se.isForwardRef = O, se.isFragment = H, se.isLazy = V, se.isMemo = F, se.isPortal = Z, se.isProfiler = X, se.isStrictMode = $, se.isSuspense = ie, se.isValidElementType =
|
|
12196
|
+
se.AsyncMode = _, se.ConcurrentMode = I, se.ContextConsumer = P, se.ContextProvider = Q, se.Element = W, se.ForwardRef = G, se.Fragment = B, se.Lazy = ee, se.Memo = le, se.Portal = M, se.Profiler = U, se.StrictMode = E, se.Suspense = D, se.isAsyncMode = z, se.isConcurrentMode = y, se.isContextConsumer = S, se.isContextProvider = R, se.isElement = j, se.isForwardRef = O, se.isFragment = H, se.isLazy = V, se.isMemo = F, se.isPortal = Z, se.isProfiler = X, se.isStrictMode = $, se.isSuspense = ie, se.isValidElementType = C, se.typeOf = x;
|
|
12197
12197
|
})()), se;
|
|
12198
12198
|
}
|
|
12199
12199
|
var Os;
|
|
@@ -12331,16 +12331,16 @@ function Wp() {
|
|
|
12331
12331
|
return S;
|
|
12332
12332
|
}
|
|
12333
12333
|
var m = "<<anonymous>>", p = {
|
|
12334
|
-
array:
|
|
12335
|
-
bigint:
|
|
12336
|
-
bool:
|
|
12337
|
-
func:
|
|
12338
|
-
number:
|
|
12339
|
-
object:
|
|
12340
|
-
string:
|
|
12341
|
-
symbol:
|
|
12334
|
+
array: v("array"),
|
|
12335
|
+
bigint: v("bigint"),
|
|
12336
|
+
bool: v("boolean"),
|
|
12337
|
+
func: v("function"),
|
|
12338
|
+
number: v("number"),
|
|
12339
|
+
object: v("object"),
|
|
12340
|
+
string: v("string"),
|
|
12341
|
+
symbol: v("symbol"),
|
|
12342
12342
|
any: N(),
|
|
12343
|
-
arrayOf:
|
|
12343
|
+
arrayOf: C,
|
|
12344
12344
|
element: x(),
|
|
12345
12345
|
elementType: _(),
|
|
12346
12346
|
instanceOf: I,
|
|
@@ -12369,11 +12369,11 @@ function Wp() {
|
|
|
12369
12369
|
);
|
|
12370
12370
|
throw L.name = "Invariant Violation", L;
|
|
12371
12371
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
12372
|
-
var
|
|
12373
|
-
!S[
|
|
12372
|
+
var ve = Z + ":" + F;
|
|
12373
|
+
!S[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
12374
12374
|
R < 3 && (r(
|
|
12375
12375
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
12376
|
-
), S[
|
|
12376
|
+
), S[ve] = !0, R++);
|
|
12377
12377
|
}
|
|
12378
12378
|
}
|
|
12379
12379
|
return V[F] == null ? H ? V[F] === null ? new A("The " + X + " `" + $ + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new A("The " + X + " `" + $ + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : y(V, F, Z, X, $);
|
|
@@ -12381,7 +12381,7 @@ function Wp() {
|
|
|
12381
12381
|
var O = j.bind(null, !1);
|
|
12382
12382
|
return O.isRequired = j.bind(null, !0), O;
|
|
12383
12383
|
}
|
|
12384
|
-
function
|
|
12384
|
+
function v(y) {
|
|
12385
12385
|
function S(R, j, O, H, V, F) {
|
|
12386
12386
|
var Z = R[j], X = E(Z);
|
|
12387
12387
|
if (X !== y) {
|
|
@@ -12398,7 +12398,7 @@ function Wp() {
|
|
|
12398
12398
|
function N() {
|
|
12399
12399
|
return w(i);
|
|
12400
12400
|
}
|
|
12401
|
-
function
|
|
12401
|
+
function C(y) {
|
|
12402
12402
|
function S(R, j, O, H, V) {
|
|
12403
12403
|
if (typeof y != "function")
|
|
12404
12404
|
return new A("Property `" + V + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
@@ -12458,8 +12458,8 @@ function Wp() {
|
|
|
12458
12458
|
if (g(F, y[Z]))
|
|
12459
12459
|
return null;
|
|
12460
12460
|
var X = JSON.stringify(y, function(ie, L) {
|
|
12461
|
-
var
|
|
12462
|
-
return
|
|
12461
|
+
var ve = D(L);
|
|
12462
|
+
return ve === "symbol" ? String(L) : L;
|
|
12463
12463
|
});
|
|
12464
12464
|
return new A("Invalid " + H + " `" + V + "` of value `" + String(F) + "` " + ("supplied to `" + O + "`, expected one of " + X + "."));
|
|
12465
12465
|
}
|
|
@@ -12499,8 +12499,8 @@ function Wp() {
|
|
|
12499
12499
|
return null;
|
|
12500
12500
|
L.data && s(L.data, "expectedType") && X.push(L.data.expectedType);
|
|
12501
12501
|
}
|
|
12502
|
-
var
|
|
12503
|
-
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" +
|
|
12502
|
+
var ve = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
12503
|
+
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" + ve + "."));
|
|
12504
12504
|
}
|
|
12505
12505
|
return w(j);
|
|
12506
12506
|
}
|
|
@@ -12860,14 +12860,14 @@ function t9() {
|
|
|
12860
12860
|
function p(g, A, w) {
|
|
12861
12861
|
if (typeof A != "string") {
|
|
12862
12862
|
if (m) {
|
|
12863
|
-
var
|
|
12864
|
-
|
|
12863
|
+
var v = h(A);
|
|
12864
|
+
v && v !== m && p(g, v, w);
|
|
12865
12865
|
}
|
|
12866
12866
|
var N = d(A);
|
|
12867
12867
|
l && (N = N.concat(l(A)));
|
|
12868
|
-
for (var
|
|
12868
|
+
for (var C = i(g), x = i(A), _ = 0; _ < N.length; ++_) {
|
|
12869
12869
|
var I = N[_];
|
|
12870
|
-
if (!n[I] && !(w && w[I]) && !(x && x[I]) && !(
|
|
12870
|
+
if (!n[I] && !(w && w[I]) && !(x && x[I]) && !(C && C[I])) {
|
|
12871
12871
|
var P = u(A, I);
|
|
12872
12872
|
try {
|
|
12873
12873
|
c(g, I, P);
|
|
@@ -12902,7 +12902,7 @@ function s9(e, t) {
|
|
|
12902
12902
|
function o9(e, t) {
|
|
12903
12903
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
12904
12904
|
}
|
|
12905
|
-
var
|
|
12905
|
+
var Pe = {}, r9 = 0;
|
|
12906
12906
|
function i9(e, t) {
|
|
12907
12907
|
return t = t || {}, function(s) {
|
|
12908
12908
|
var o = s.displayName || s.name || "Component", r = /* @__PURE__ */ (function(c) {
|
|
@@ -12922,19 +12922,19 @@ function i9(e, t) {
|
|
|
12922
12922
|
return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
|
|
12923
12923
|
});
|
|
12924
12924
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
12925
|
-
var h =
|
|
12925
|
+
var h = Pe[this.__scriptURL];
|
|
12926
12926
|
if (!h || !h.loaded)
|
|
12927
12927
|
throw new Error("Script is not loaded.");
|
|
12928
12928
|
for (var m in h.observers)
|
|
12929
12929
|
h.observers[m](h);
|
|
12930
12930
|
delete window[t.callbackName];
|
|
12931
12931
|
}, l.componentDidMount = function() {
|
|
12932
|
-
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, w = g.callbackName,
|
|
12933
|
-
if (A && typeof window[A] < "u" && (
|
|
12932
|
+
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, w = g.callbackName, v = g.scriptId;
|
|
12933
|
+
if (A && typeof window[A] < "u" && (Pe[m] = {
|
|
12934
12934
|
loaded: !0,
|
|
12935
12935
|
observers: {}
|
|
12936
|
-
}),
|
|
12937
|
-
var N =
|
|
12936
|
+
}), Pe[m]) {
|
|
12937
|
+
var N = Pe[m];
|
|
12938
12938
|
if (N && (N.loaded || N.errored)) {
|
|
12939
12939
|
this.asyncScriptLoaderHandleLoad(N);
|
|
12940
12940
|
return;
|
|
@@ -12944,21 +12944,21 @@ function i9(e, t) {
|
|
|
12944
12944
|
};
|
|
12945
12945
|
return;
|
|
12946
12946
|
}
|
|
12947
|
-
var
|
|
12948
|
-
|
|
12947
|
+
var C = {};
|
|
12948
|
+
C[p] = function(P) {
|
|
12949
12949
|
return h.asyncScriptLoaderHandleLoad(P);
|
|
12950
|
-
},
|
|
12950
|
+
}, Pe[m] = {
|
|
12951
12951
|
loaded: !1,
|
|
12952
|
-
observers:
|
|
12952
|
+
observers: C
|
|
12953
12953
|
};
|
|
12954
12954
|
var x = document.createElement("script");
|
|
12955
12955
|
x.src = m, x.async = !0;
|
|
12956
12956
|
for (var _ in t.attributes)
|
|
12957
12957
|
x.setAttribute(_, t.attributes[_]);
|
|
12958
|
-
|
|
12958
|
+
v && (x.id = v);
|
|
12959
12959
|
var I = function(Q) {
|
|
12960
|
-
if (
|
|
12961
|
-
var W =
|
|
12960
|
+
if (Pe[m]) {
|
|
12961
|
+
var W = Pe[m], G = W.observers;
|
|
12962
12962
|
for (var B in G)
|
|
12963
12963
|
Q(G[B]) && delete G[B];
|
|
12964
12964
|
}
|
|
@@ -12966,12 +12966,12 @@ function i9(e, t) {
|
|
|
12966
12966
|
w && typeof window < "u" && (window[w] = function() {
|
|
12967
12967
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
12968
12968
|
}), x.onload = function() {
|
|
12969
|
-
var P =
|
|
12969
|
+
var P = Pe[m];
|
|
12970
12970
|
P && (P.loaded = !0, I(function(Q) {
|
|
12971
12971
|
return w ? !1 : (Q(P), !0);
|
|
12972
12972
|
}));
|
|
12973
12973
|
}, x.onerror = function() {
|
|
12974
|
-
var P =
|
|
12974
|
+
var P = Pe[m];
|
|
12975
12975
|
P && (P.errored = !0, I(function(Q) {
|
|
12976
12976
|
return Q(P), !0;
|
|
12977
12977
|
}));
|
|
@@ -12981,8 +12981,8 @@ function i9(e, t) {
|
|
|
12981
12981
|
if (t.removeOnUnmount === !0)
|
|
12982
12982
|
for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
|
|
12983
12983
|
m[p].src.indexOf(h) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
|
|
12984
|
-
var g =
|
|
12985
|
-
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete
|
|
12984
|
+
var g = Pe[h];
|
|
12985
|
+
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Pe[h]);
|
|
12986
12986
|
}, l.render = function() {
|
|
12987
12987
|
var h = t.globalName, m = this.props;
|
|
12988
12988
|
m.asyncScriptOnLoad;
|
|
@@ -12999,21 +12999,21 @@ function i9(e, t) {
|
|
|
12999
12999
|
}, a9(i, s);
|
|
13000
13000
|
};
|
|
13001
13001
|
}
|
|
13002
|
-
var
|
|
13003
|
-
function
|
|
13002
|
+
var va = "onloadcallback", c9 = "grecaptcha";
|
|
13003
|
+
function Ca() {
|
|
13004
13004
|
return typeof window < "u" && window.recaptchaOptions || {};
|
|
13005
13005
|
}
|
|
13006
13006
|
function l9() {
|
|
13007
|
-
var e =
|
|
13008
|
-
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" +
|
|
13007
|
+
var e = Ca(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
13008
|
+
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + va + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + va + "&render=explicit";
|
|
13009
13009
|
}
|
|
13010
13010
|
const Go = i9(l9, {
|
|
13011
|
-
callbackName:
|
|
13011
|
+
callbackName: va,
|
|
13012
13012
|
globalName: c9,
|
|
13013
|
-
attributes:
|
|
13014
|
-
nonce:
|
|
13013
|
+
attributes: Ca().nonce ? {
|
|
13014
|
+
nonce: Ca().nonce
|
|
13015
13015
|
} : {}
|
|
13016
|
-
})(Dn), d9 = "_overlay_18ksj_1", u9 = "_header_18ksj_18", h9 = "_logo_18ksj_25", m9 = "_card_18ksj_32", f9 = "_close_18ksj_47", g9 = "_form_18ksj_71", p9 = "_formUl_18ksj_80", A9 = "_field_18ksj_92", w9 = "_label_18ksj_99", y9 = "_input_18ksj_108",
|
|
13016
|
+
})(Dn), d9 = "_overlay_18ksj_1", u9 = "_header_18ksj_18", h9 = "_logo_18ksj_25", m9 = "_card_18ksj_32", f9 = "_close_18ksj_47", g9 = "_form_18ksj_71", p9 = "_formUl_18ksj_80", A9 = "_field_18ksj_92", w9 = "_label_18ksj_99", y9 = "_input_18ksj_108", v9 = "_error_18ksj_126", C9 = "_primary_18ksj_132", _9 = "_divider_18ksj_170", b9 = "_google_18ksj_196", N9 = "_googleIcon_18ksj_226", S9 = "_spin_18ksj_259", x9 = "_checkboxRow_18ksj_281", E9 = "_terms_18ksj_318", I9 = "_message_18ksj_349", T9 = "_passwordChecker_18ksj_354", k9 = "_valid_18ksj_373", U9 = "_invalid_18ksj_377", R9 = "_forgotPassword_18ksj_381", L9 = "_successContainer_18ksj_400", q9 = "_thumbsUp_18ksj_408", B9 = "_successMessage_18ksj_414", k = {
|
|
13017
13017
|
overlay: d9,
|
|
13018
13018
|
header: u9,
|
|
13019
13019
|
logo: h9,
|
|
@@ -13024,8 +13024,8 @@ const Go = i9(l9, {
|
|
|
13024
13024
|
field: A9,
|
|
13025
13025
|
label: w9,
|
|
13026
13026
|
input: y9,
|
|
13027
|
-
error:
|
|
13028
|
-
primary:
|
|
13027
|
+
error: v9,
|
|
13028
|
+
primary: C9,
|
|
13029
13029
|
divider: _9,
|
|
13030
13030
|
google: b9,
|
|
13031
13031
|
googleIcon: N9,
|
|
@@ -13107,8 +13107,8 @@ const Go = i9(l9, {
|
|
|
13107
13107
|
}, 3e3);
|
|
13108
13108
|
else
|
|
13109
13109
|
throw new Error(N.message || "Error al reportar comentario");
|
|
13110
|
-
} catch (
|
|
13111
|
-
console.error("Error reporting comment:",
|
|
13110
|
+
} catch (v) {
|
|
13111
|
+
console.error("Error reporting comment:", v), h(v.message || "Error al reportar comentario"), c("form");
|
|
13112
13112
|
}
|
|
13113
13113
|
}
|
|
13114
13114
|
}, w = () => {
|
|
@@ -13119,21 +13119,21 @@ const Go = i9(l9, {
|
|
|
13119
13119
|
/* @__PURE__ */ a("h2", { className: ge.title, children: "Reportar Abuso" }),
|
|
13120
13120
|
i === "loading" && /* @__PURE__ */ a("div", { className: ge.loadingContainer, children: /* @__PURE__ */ a(et, {}) }),
|
|
13121
13121
|
i === "form" || i === "loading" ? /* @__PURE__ */ f(J, { children: [
|
|
13122
|
-
/* @__PURE__ */ a("div", { className: ge.optionsContainer, children: g.map((
|
|
13122
|
+
/* @__PURE__ */ a("div", { className: ge.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ge.option, children: [
|
|
13123
13123
|
/* @__PURE__ */ a(
|
|
13124
13124
|
"input",
|
|
13125
13125
|
{
|
|
13126
13126
|
type: "radio",
|
|
13127
13127
|
name: "reportReason",
|
|
13128
|
-
value:
|
|
13129
|
-
checked: d ===
|
|
13128
|
+
value: v.id,
|
|
13129
|
+
checked: d === v.id,
|
|
13130
13130
|
onChange: (N) => l(N.target.value),
|
|
13131
13131
|
className: ge.radioInput
|
|
13132
13132
|
}
|
|
13133
13133
|
),
|
|
13134
13134
|
/* @__PURE__ */ a("span", { className: ge.radioCustom }),
|
|
13135
|
-
/* @__PURE__ */ a("span", { className: ge.optionLabel, children:
|
|
13136
|
-
] },
|
|
13135
|
+
/* @__PURE__ */ a("span", { className: ge.optionLabel, children: v.label })
|
|
13136
|
+
] }, v.id)) }),
|
|
13137
13137
|
u && /* @__PURE__ */ a("div", { className: ge.errorMessage, children: u }),
|
|
13138
13138
|
/* @__PURE__ */ a(
|
|
13139
13139
|
Go,
|
|
@@ -13141,7 +13141,7 @@ const Go = i9(l9, {
|
|
|
13141
13141
|
sitekey: r,
|
|
13142
13142
|
theme: "light",
|
|
13143
13143
|
size: "normal",
|
|
13144
|
-
onChange: (
|
|
13144
|
+
onChange: (v) => p(v ?? ""),
|
|
13145
13145
|
onExpired: () => p("")
|
|
13146
13146
|
}
|
|
13147
13147
|
),
|
|
@@ -13287,10 +13287,10 @@ async function D9({
|
|
|
13287
13287
|
state: i
|
|
13288
13288
|
});
|
|
13289
13289
|
o && w.append("id", o), r && w.append("lastid", r);
|
|
13290
|
-
const
|
|
13290
|
+
const v = `${A}${m}/newcomments/get?${w.toString()}`;
|
|
13291
13291
|
try {
|
|
13292
|
-
console.log("Fetching comments from:",
|
|
13293
|
-
const { data: N } = await oe.get(
|
|
13292
|
+
console.log("Fetching comments from:", v);
|
|
13293
|
+
const { data: N } = await oe.get(v, {
|
|
13294
13294
|
headers: {
|
|
13295
13295
|
"x-api-token": c,
|
|
13296
13296
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -13303,15 +13303,15 @@ async function D9({
|
|
|
13303
13303
|
return N.data || N || [];
|
|
13304
13304
|
} catch (N) {
|
|
13305
13305
|
if (console.error("Error fetching comments:", N), oe.isAxiosError(N)) {
|
|
13306
|
-
const
|
|
13307
|
-
throw
|
|
13306
|
+
const C = N.response?.status, x = N.response?.data;
|
|
13307
|
+
throw C === 404 ? new Error("Comments not found") : C === 403 ? new Error("Access forbidden - check API token") : C === 401 ? new Error("Unauthorized - invalid API token") : C === 500 ? new Error("Internal server error from CMS") : new Error(x?.error || x?.message || `HTTP ${C}: Failed to fetch comments`);
|
|
13308
13308
|
}
|
|
13309
13309
|
throw N;
|
|
13310
13310
|
}
|
|
13311
13311
|
}
|
|
13312
13312
|
const M9 = (e, t) => {
|
|
13313
13313
|
const [n, s] = K(void 0), { PUBLIC_PUBLICATION_ID: o } = t, r = o;
|
|
13314
|
-
return
|
|
13314
|
+
return Qe(() => {
|
|
13315
13315
|
if (n) return;
|
|
13316
13316
|
(async () => {
|
|
13317
13317
|
const { PUBLIC_X_SECURITY_TOKEN: c } = t;
|
|
@@ -13336,7 +13336,7 @@ const M9 = (e, t) => {
|
|
|
13336
13336
|
}, Ho = ({ username: e, date: t, DATE_CONFIG: n }) => /* @__PURE__ */ f("div", { className: "comment-header", children: [
|
|
13337
13337
|
/* @__PURE__ */ a("span", { className: "comment-username", children: e }),
|
|
13338
13338
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
13339
|
-
/* @__PURE__ */ a("span", { className: "comment-date", children: Qp(
|
|
13339
|
+
/* @__PURE__ */ a("span", { className: "comment-date", children: Qp(Ge(Number(t), n)) })
|
|
13340
13340
|
] }), zo = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
|
|
13341
13341
|
"img",
|
|
13342
13342
|
{
|
|
@@ -13390,12 +13390,12 @@ const M9 = (e, t) => {
|
|
|
13390
13390
|
]
|
|
13391
13391
|
}
|
|
13392
13392
|
) })
|
|
13393
|
-
] }), Fo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n, API_ENV: s }) => (
|
|
13393
|
+
] }), Fo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n, API_ENV: s }) => (Qe(() => {
|
|
13394
13394
|
const o = e.current;
|
|
13395
13395
|
if (!o) return;
|
|
13396
13396
|
const r = () => {
|
|
13397
13397
|
const c = o.value.length;
|
|
13398
|
-
o.parentElement && (o.parentElement.dataset.text = `${c}/${
|
|
13398
|
+
o.parentElement && (o.parentElement.dataset.text = `${c}/${vt}`), o.classList.toggle("over-limit", c > vt), n(!Da(e, t, s).boolean);
|
|
13399
13399
|
};
|
|
13400
13400
|
return o.addEventListener("input", r), r(), () => o.removeEventListener("input", r);
|
|
13401
13401
|
}, [e, t, n]), /* @__PURE__ */ f("div", { children: [
|
|
@@ -13507,8 +13507,8 @@ const M9 = (e, t) => {
|
|
|
13507
13507
|
let p = null;
|
|
13508
13508
|
try {
|
|
13509
13509
|
p = await m.json();
|
|
13510
|
-
} catch (
|
|
13511
|
-
console.error("Error parsing JSON response:",
|
|
13510
|
+
} catch (v) {
|
|
13511
|
+
console.error("Error parsing JSON response:", v);
|
|
13512
13512
|
}
|
|
13513
13513
|
if (!m.ok)
|
|
13514
13514
|
throw new Error(
|
|
@@ -13540,7 +13540,7 @@ const M9 = (e, t) => {
|
|
|
13540
13540
|
API_ENV: i
|
|
13541
13541
|
}) => {
|
|
13542
13542
|
const [c, d] = K(!0), [l, u] = K(""), h = () => {
|
|
13543
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
13543
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${vt}`), d(!0), r();
|
|
13544
13544
|
};
|
|
13545
13545
|
return /* @__PURE__ */ f("div", { className: "comment-form reply-form", children: [
|
|
13546
13546
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: h, children: /* @__PURE__ */ a(Lt, {}) }),
|
|
@@ -13604,10 +13604,10 @@ const M9 = (e, t) => {
|
|
|
13604
13604
|
] }) });
|
|
13605
13605
|
}, G9 = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: r, API_ENV: i }) => {
|
|
13606
13606
|
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = K(c), [u, h] = ke.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = i, g = e.text, A = ke.useRef(null);
|
|
13607
|
-
let w = `${Xe.firstname} ${Xe.lastname ?? ""}`,
|
|
13608
|
-
e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`,
|
|
13609
|
-
const N = (
|
|
13610
|
-
l({ morereply: d.morereply, reply: [
|
|
13607
|
+
let w = `${Xe.firstname} ${Xe.lastname ?? ""}`, v = Xe.username;
|
|
13608
|
+
e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`, v = e.user.username);
|
|
13609
|
+
const N = (C) => {
|
|
13610
|
+
l({ morereply: d.morereply, reply: [C, ...d.reply] });
|
|
13611
13611
|
};
|
|
13612
13612
|
return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ f(
|
|
13613
13613
|
"div",
|
|
@@ -13619,7 +13619,7 @@ const M9 = (e, t) => {
|
|
|
13619
13619
|
/* @__PURE__ */ f("div", { style: { flex: 1 }, children: [
|
|
13620
13620
|
/* @__PURE__ */ a(Ho, { username: w, date: e.date.time, DATE_CONFIG: i }),
|
|
13621
13621
|
/* @__PURE__ */ a("p", { className: "comment-text", children: g }),
|
|
13622
|
-
s?.username.toLowerCase() !==
|
|
13622
|
+
s?.username.toLowerCase() !== v.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
13623
13623
|
/* @__PURE__ */ a(
|
|
13624
13624
|
Vo,
|
|
13625
13625
|
{
|
|
@@ -13640,23 +13640,23 @@ const M9 = (e, t) => {
|
|
|
13640
13640
|
}
|
|
13641
13641
|
),
|
|
13642
13642
|
d.reply.length > 0 && /* @__PURE__ */ f("div", { className: "comment-replies", children: [
|
|
13643
|
-
d.reply.map((
|
|
13643
|
+
d.reply.map((C) => /* @__PURE__ */ a(
|
|
13644
13644
|
Q9,
|
|
13645
13645
|
{
|
|
13646
13646
|
user: s,
|
|
13647
|
-
reply:
|
|
13647
|
+
reply: C,
|
|
13648
13648
|
replyingTo: w,
|
|
13649
13649
|
onFlag: r,
|
|
13650
13650
|
DATE_CONFIG: i
|
|
13651
13651
|
},
|
|
13652
|
-
|
|
13652
|
+
C.id
|
|
13653
13653
|
)),
|
|
13654
13654
|
u ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(et, {}) }) : d.morereply && /* @__PURE__ */ a(
|
|
13655
13655
|
"button",
|
|
13656
13656
|
{
|
|
13657
13657
|
className: "comment-replies-button reply-button",
|
|
13658
13658
|
onClick: async () => {
|
|
13659
|
-
const
|
|
13659
|
+
const C = d.reply[d.reply.length - 1]?.id;
|
|
13660
13660
|
h(!0);
|
|
13661
13661
|
try {
|
|
13662
13662
|
const _ = await Qa({
|
|
@@ -13665,7 +13665,7 @@ const M9 = (e, t) => {
|
|
|
13665
13665
|
size: 2,
|
|
13666
13666
|
sizereply: 2,
|
|
13667
13667
|
id: e.id,
|
|
13668
|
-
lastid:
|
|
13668
|
+
lastid: C,
|
|
13669
13669
|
state: "5,6",
|
|
13670
13670
|
apiToken: p ?? "",
|
|
13671
13671
|
API_ENV: i
|
|
@@ -13722,8 +13722,8 @@ const M9 = (e, t) => {
|
|
|
13722
13722
|
addComment: s,
|
|
13723
13723
|
API_ENV: o
|
|
13724
13724
|
});
|
|
13725
|
-
return u && typeof u == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
13726
|
-
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
13725
|
+
return u && typeof u == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${vt}`), i(!0), setTimeout(() => {
|
|
13726
|
+
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${vt}`), i(!0);
|
|
13727
13727
|
}, u), !0) : !1;
|
|
13728
13728
|
},
|
|
13729
13729
|
isDisabled: r,
|
|
@@ -13742,9 +13742,9 @@ const M9 = (e, t) => {
|
|
|
13742
13742
|
}) => {
|
|
13743
13743
|
const { PUBLIC_PUBLICATION_ID: r, PUBLIC_X_SECURITY_TOKEN: i } = o, c = r ?? "", d = t.replaceAll("/", "|"), [l, u] = K(
|
|
13744
13744
|
void 0
|
|
13745
|
-
), [h, m] = K(""), { comments: p, setComments: g } = M9(d, o), [A, w] = ke.useState(!1),
|
|
13745
|
+
), [h, m] = K(""), { comments: p, setComments: g } = M9(d, o), [A, w] = ke.useState(!1), v = ke.useRef(null), N = (W) => {
|
|
13746
13746
|
m(h === W ? "" : W);
|
|
13747
|
-
},
|
|
13747
|
+
}, C = (W) => {
|
|
13748
13748
|
g(
|
|
13749
13749
|
p ? {
|
|
13750
13750
|
...p,
|
|
@@ -13793,9 +13793,9 @@ const M9 = (e, t) => {
|
|
|
13793
13793
|
/* @__PURE__ */ a(
|
|
13794
13794
|
H9,
|
|
13795
13795
|
{
|
|
13796
|
-
commentRef:
|
|
13796
|
+
commentRef: v,
|
|
13797
13797
|
user: n,
|
|
13798
|
-
addComment:
|
|
13798
|
+
addComment: C,
|
|
13799
13799
|
path: d,
|
|
13800
13800
|
API_ENV: o
|
|
13801
13801
|
}
|
|
@@ -13895,10 +13895,10 @@ const M9 = (e, t) => {
|
|
|
13895
13895
|
function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
13896
13896
|
const [s, o] = K({}), [r, i] = K(!1), [c, d] = K(!1), [l, u] = K(null), [h, m] = K(
|
|
13897
13897
|
"register"
|
|
13898
|
-
), p = (
|
|
13899
|
-
o((
|
|
13900
|
-
}, g = async (
|
|
13901
|
-
|
|
13898
|
+
), p = (v, N) => {
|
|
13899
|
+
o((C) => ({ ...C, [v]: N }));
|
|
13900
|
+
}, g = async (v) => {
|
|
13901
|
+
v.preventDefault(), u(null), d(!0);
|
|
13902
13902
|
try {
|
|
13903
13903
|
const N = Object.keys(Vs).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: s[Q] }));
|
|
13904
13904
|
if (N.some((Q) => {
|
|
@@ -13909,9 +13909,9 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13909
13909
|
u("Las contraseñas no coinciden");
|
|
13910
13910
|
return;
|
|
13911
13911
|
}
|
|
13912
|
-
const
|
|
13912
|
+
const C = s.password || "";
|
|
13913
13913
|
if (En.some(
|
|
13914
|
-
(Q) => !Q.test(
|
|
13914
|
+
(Q) => !Q.test(C)
|
|
13915
13915
|
)) {
|
|
13916
13916
|
u("La contraseña no es válida");
|
|
13917
13917
|
return;
|
|
@@ -13951,8 +13951,8 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13951
13951
|
} finally {
|
|
13952
13952
|
d(!1);
|
|
13953
13953
|
}
|
|
13954
|
-
}, A = async (
|
|
13955
|
-
if (
|
|
13954
|
+
}, A = async (v) => {
|
|
13955
|
+
if (v.preventDefault(), !s.confirmationCode) {
|
|
13956
13956
|
u("Debes ingresar el código de verificación");
|
|
13957
13957
|
return;
|
|
13958
13958
|
}
|
|
@@ -13967,8 +13967,8 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13967
13967
|
})
|
|
13968
13968
|
});
|
|
13969
13969
|
if (!N.ok) {
|
|
13970
|
-
const
|
|
13971
|
-
throw new Error(
|
|
13970
|
+
const C = await N.json().catch(() => ({}));
|
|
13971
|
+
throw new Error(C?.error || "Error al confirmar usuario");
|
|
13972
13972
|
}
|
|
13973
13973
|
m("success");
|
|
13974
13974
|
} catch (N) {
|
|
@@ -13998,41 +13998,41 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13998
13998
|
className: k.form,
|
|
13999
13999
|
"data-error": l ? "true" : "false",
|
|
14000
14000
|
children: [
|
|
14001
|
-
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(Vs).map(([
|
|
14001
|
+
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(Vs).map(([v, { label: N }]) => /* @__PURE__ */ f("div", { className: k.field, children: [
|
|
14002
14002
|
/* @__PURE__ */ a("label", { className: k.label, children: N }),
|
|
14003
14003
|
/* @__PURE__ */ a(
|
|
14004
14004
|
"input",
|
|
14005
14005
|
{
|
|
14006
|
-
type:
|
|
14007
|
-
name:
|
|
14008
|
-
value: s[
|
|
14009
|
-
onChange: (
|
|
14006
|
+
type: v.toLowerCase().includes("password") ? r ? "text" : "password" : v === "birthdate" ? "date" : v === "email" ? "email" : v === "phone_number" ? "tel" : "text",
|
|
14007
|
+
name: v,
|
|
14008
|
+
value: s[v] || "",
|
|
14009
|
+
onChange: (C) => p(v, C.target.value),
|
|
14010
14010
|
className: k.input,
|
|
14011
14011
|
placeholder: ""
|
|
14012
14012
|
}
|
|
14013
14013
|
),
|
|
14014
|
-
|
|
14015
|
-
const _ =
|
|
14014
|
+
v === "password" && /* @__PURE__ */ a("div", { className: k.passwordChecker, children: En.map((C, x) => {
|
|
14015
|
+
const _ = C.test(w);
|
|
14016
14016
|
return /* @__PURE__ */ f(
|
|
14017
14017
|
"div",
|
|
14018
14018
|
{
|
|
14019
14019
|
className: _ ? k.valid : k.invalid,
|
|
14020
14020
|
children: [
|
|
14021
14021
|
/* @__PURE__ */ a("div", { children: _ ? "✔" : "○" }),
|
|
14022
|
-
/* @__PURE__ */ a("div", { children:
|
|
14022
|
+
/* @__PURE__ */ a("div", { children: C.label })
|
|
14023
14023
|
]
|
|
14024
14024
|
},
|
|
14025
14025
|
x
|
|
14026
14026
|
);
|
|
14027
14027
|
}) }),
|
|
14028
|
-
|
|
14028
|
+
v === "confirmPassword" && /* @__PURE__ */ f("div", { className: k.checkboxRow, children: [
|
|
14029
14029
|
/* @__PURE__ */ a(
|
|
14030
14030
|
"input",
|
|
14031
14031
|
{
|
|
14032
14032
|
id: "showPasswordRegister",
|
|
14033
14033
|
type: "checkbox",
|
|
14034
14034
|
checked: r,
|
|
14035
|
-
onChange: (
|
|
14035
|
+
onChange: (C) => i(C.target.checked)
|
|
14036
14036
|
}
|
|
14037
14037
|
),
|
|
14038
14038
|
/* @__PURE__ */ a(
|
|
@@ -14044,7 +14044,7 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
14044
14044
|
}
|
|
14045
14045
|
)
|
|
14046
14046
|
] })
|
|
14047
|
-
] },
|
|
14047
|
+
] }, v)) }),
|
|
14048
14048
|
l && /* @__PURE__ */ a("p", { className: k.error, children: l }),
|
|
14049
14049
|
/* @__PURE__ */ f("p", { className: k.terms, children: [
|
|
14050
14050
|
"Al continuar, confirmo que he leído y aceptado los",
|
|
@@ -14071,7 +14071,7 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
14071
14071
|
type: "text",
|
|
14072
14072
|
name: "confirmationCode",
|
|
14073
14073
|
value: s.confirmationCode || "",
|
|
14074
|
-
onChange: (
|
|
14074
|
+
onChange: (v) => p("confirmationCode", v.target.value),
|
|
14075
14075
|
className: k.input,
|
|
14076
14076
|
required: !0
|
|
14077
14077
|
}
|
|
@@ -14124,21 +14124,21 @@ function F9({
|
|
|
14124
14124
|
handleGoogleLogin: s,
|
|
14125
14125
|
API_ENV: o
|
|
14126
14126
|
}) {
|
|
14127
|
-
const [r, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [
|
|
14127
|
+
const [r, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [v, N] = K(!1), [C, x] = K(!1), [_, I] = K(null);
|
|
14128
14128
|
return /* @__PURE__ */ f(J, { children: [
|
|
14129
14129
|
r === "login" && /* @__PURE__ */ a(
|
|
14130
14130
|
$9,
|
|
14131
14131
|
{
|
|
14132
14132
|
email: c,
|
|
14133
14133
|
password: l,
|
|
14134
|
-
showPassword:
|
|
14135
|
-
loading:
|
|
14134
|
+
showPassword: v,
|
|
14135
|
+
loading: C,
|
|
14136
14136
|
error: _,
|
|
14137
14137
|
setEmail: d,
|
|
14138
14138
|
setPassword: u,
|
|
14139
14139
|
setShowPassword: N,
|
|
14140
14140
|
onSubmit: async (G) => {
|
|
14141
|
-
if (!
|
|
14141
|
+
if (!C) {
|
|
14142
14142
|
G.preventDefault(), I(null), x(!0);
|
|
14143
14143
|
try {
|
|
14144
14144
|
const B = o.PUBLIC_ENV === "local" ? "token" : await Ko("comment_login", o.CAPTCHA_KEY || "");
|
|
@@ -14173,10 +14173,10 @@ function F9({
|
|
|
14173
14173
|
{
|
|
14174
14174
|
email: c,
|
|
14175
14175
|
setEmail: d,
|
|
14176
|
-
loading:
|
|
14176
|
+
loading: C,
|
|
14177
14177
|
error: _,
|
|
14178
14178
|
onSubmit: async (G) => {
|
|
14179
|
-
if (!
|
|
14179
|
+
if (!C) {
|
|
14180
14180
|
G.preventDefault(), I(null), x(!0);
|
|
14181
14181
|
try {
|
|
14182
14182
|
const B = await fetch("/api/auth/forgot-password", {
|
|
@@ -14208,15 +14208,15 @@ function F9({
|
|
|
14208
14208
|
confirmationCode: h,
|
|
14209
14209
|
newPassword: p,
|
|
14210
14210
|
confirmNewPassword: A,
|
|
14211
|
-
showPassword:
|
|
14212
|
-
loading:
|
|
14211
|
+
showPassword: v,
|
|
14212
|
+
loading: C,
|
|
14213
14213
|
error: _,
|
|
14214
14214
|
setConfirmationCode: m,
|
|
14215
14215
|
setNewPassword: g,
|
|
14216
14216
|
setConfirmNewPassword: w,
|
|
14217
14217
|
setShowPassword: N,
|
|
14218
14218
|
onSubmit: async (G) => {
|
|
14219
|
-
if (
|
|
14219
|
+
if (C) return;
|
|
14220
14220
|
if (G.preventDefault(), p !== A) {
|
|
14221
14221
|
I("Las contraseñas no coinciden");
|
|
14222
14222
|
return;
|
|
@@ -14648,9 +14648,9 @@ function X9({
|
|
|
14648
14648
|
}
|
|
14649
14649
|
}
|
|
14650
14650
|
}, [e, d]);
|
|
14651
|
-
|
|
14651
|
+
Qe(() => {
|
|
14652
14652
|
l();
|
|
14653
|
-
}, [l, e]),
|
|
14653
|
+
}, [l, e]), Qe(() => {
|
|
14654
14654
|
if (!i || !e || typeof window > "u") return;
|
|
14655
14655
|
const m = window;
|
|
14656
14656
|
if (typeof m != "function") {
|
|
@@ -14907,7 +14907,7 @@ export {
|
|
|
14907
14907
|
t6 as DEBUG_MainSlots,
|
|
14908
14908
|
y2 as DestacadoNoticias,
|
|
14909
14909
|
af as DestacadoVideos,
|
|
14910
|
-
|
|
14910
|
+
vc as DynamicBlockServices,
|
|
14911
14911
|
e6 as DynamicComponents,
|
|
14912
14912
|
Zn as DynamicMainSlot,
|
|
14913
14913
|
pa as DynamicSlot,
|
|
@@ -14919,7 +14919,7 @@ export {
|
|
|
14919
14919
|
Ks as FormatScripts,
|
|
14920
14920
|
tr as GA4,
|
|
14921
14921
|
nr as GTM,
|
|
14922
|
-
|
|
14922
|
+
C0 as GalleryHeader,
|
|
14923
14923
|
L3 as GenerateBody,
|
|
14924
14924
|
R3 as GenerateHead,
|
|
14925
14925
|
V3 as Header,
|
|
@@ -14988,13 +14988,13 @@ export {
|
|
|
14988
14988
|
At as buildTagUrl,
|
|
14989
14989
|
P3 as coloringByStrokeSVGs,
|
|
14990
14990
|
Pa as compileStyleProps,
|
|
14991
|
-
|
|
14992
|
-
|
|
14991
|
+
He as cutString,
|
|
14992
|
+
qe as extractMainSlug,
|
|
14993
14993
|
Ya as extractRealtedNews,
|
|
14994
|
-
|
|
14994
|
+
Ge as formatDate,
|
|
14995
14995
|
a3 as formatDateEdiciones,
|
|
14996
14996
|
_a as formatDateJournalistArticule,
|
|
14997
|
-
|
|
14997
|
+
vr as formatDateTimeline,
|
|
14998
14998
|
br as formatNewsMeta,
|
|
14999
14999
|
Ur as formatVideoData,
|
|
15000
15000
|
U3 as generalGetData,
|
|
@@ -15002,7 +15002,7 @@ export {
|
|
|
15002
15002
|
D9 as getComments,
|
|
15003
15003
|
te as getConfig,
|
|
15004
15004
|
k3 as getDynamicSlots,
|
|
15005
|
-
|
|
15005
|
+
Cn as getEnvironmentUrl,
|
|
15006
15006
|
s3 as getEnvironmentUrlFront,
|
|
15007
15007
|
c3 as getHydratorPath,
|
|
15008
15008
|
pe as getImageUrl,
|
|
@@ -15013,7 +15013,7 @@ export {
|
|
|
15013
15013
|
Jt as getPrevMeta,
|
|
15014
15014
|
c6 as getReportReasonLabel,
|
|
15015
15015
|
St as getResponse,
|
|
15016
|
-
|
|
15016
|
+
Cr as getResponsePromise,
|
|
15017
15017
|
Na as getSchemas,
|
|
15018
15018
|
Js as getScriptReplaces,
|
|
15019
15019
|
zr as getSlugs,
|