sass-template-common 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -36
- package/dist/sass-template-common.d.ts +3 -0
- package/dist/sass-template-common.js +460 -463
- package/dist/sass-template-common.umd.cjs +37 -37
- package/package.json +71 -71
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s, Fragment as Q, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import * as ha from "react";
|
|
3
|
-
import ue, { useState as z, useRef as Mr, useCallback as me, useEffect as je, createElement as rt, forwardRef as _r, Fragment as As, useMemo as Ht, Component as
|
|
3
|
+
import ue, { useState as z, useRef as Mr, useCallback as me, useEffect as je, createElement as rt, forwardRef as _r, Fragment as As, useMemo as Ht, Component as li } from "react";
|
|
4
4
|
let ys = {
|
|
5
5
|
PUBLIC_API_HOST: "",
|
|
6
6
|
PUBLIC_API_FRONT: "",
|
|
@@ -85,14 +85,14 @@ function Af(e = {}) {
|
|
|
85
85
|
function I() {
|
|
86
86
|
return ys;
|
|
87
87
|
}
|
|
88
|
-
const
|
|
88
|
+
const di = "recaptcha-disabled";
|
|
89
89
|
function Re(e) {
|
|
90
90
|
return (e?.CONFIG_blockRecaptcha ?? I().CONFIG_blockRecaptcha) === !0;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ui(e, t, n = I()) {
|
|
93
93
|
return (n.CONFIG_bannersRequireQuery ?? ["buscar"]).includes(e) ? !!t?.trim() : !0;
|
|
94
94
|
}
|
|
95
|
-
const
|
|
95
|
+
const mi = () => {
|
|
96
96
|
const { ANALYTICS_comscore: e } = I();
|
|
97
97
|
return e && /* @__PURE__ */ s(
|
|
98
98
|
"script",
|
|
@@ -107,12 +107,12 @@ const ui = () => {
|
|
|
107
107
|
function Wt(e) {
|
|
108
108
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
109
109
|
}
|
|
110
|
-
var An = { exports: {} },
|
|
110
|
+
var An = { exports: {} }, hi = An.exports, fa;
|
|
111
111
|
function Dr() {
|
|
112
112
|
return fa || (fa = 1, (function(e, t) {
|
|
113
113
|
(function(n, a) {
|
|
114
114
|
e.exports = a();
|
|
115
|
-
})(
|
|
115
|
+
})(hi, (function() {
|
|
116
116
|
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", c = "minute", l = "hour", d = "day", u = "week", h = "month", m = "quarter", p = "year", f = "date", b = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|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, C = { 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(B) {
|
|
117
117
|
var U = ["th", "st", "nd", "rd"], L = B % 100;
|
|
118
118
|
return "[" + B + (U[(L - 20) % 10] || U[L] || U[0]) + "]";
|
|
@@ -385,14 +385,14 @@ function Dr() {
|
|
|
385
385
|
}));
|
|
386
386
|
})(An)), An.exports;
|
|
387
387
|
}
|
|
388
|
-
var
|
|
389
|
-
const Ne = /* @__PURE__ */ Wt(
|
|
390
|
-
var yn = { exports: {} },
|
|
391
|
-
function
|
|
388
|
+
var fi = Dr();
|
|
389
|
+
const Ne = /* @__PURE__ */ Wt(fi);
|
|
390
|
+
var yn = { exports: {} }, pi = yn.exports, pa;
|
|
391
|
+
function gi() {
|
|
392
392
|
return pa || (pa = 1, (function(e, t) {
|
|
393
393
|
(function(n, a) {
|
|
394
394
|
e.exports = a(Dr());
|
|
395
|
-
})(
|
|
395
|
+
})(pi, (function(n) {
|
|
396
396
|
function a(i) {
|
|
397
397
|
return i && typeof i == "object" && "default" in i ? i : { default: i };
|
|
398
398
|
}
|
|
@@ -403,13 +403,13 @@ function pi() {
|
|
|
403
403
|
}));
|
|
404
404
|
})(yn)), yn.exports;
|
|
405
405
|
}
|
|
406
|
-
|
|
407
|
-
var vn = { exports: {} },
|
|
408
|
-
function
|
|
406
|
+
gi();
|
|
407
|
+
var vn = { exports: {} }, bi = vn.exports, ga;
|
|
408
|
+
function wi() {
|
|
409
409
|
return ga || (ga = 1, (function(e, t) {
|
|
410
410
|
(function(n, a) {
|
|
411
411
|
e.exports = a();
|
|
412
|
-
})(
|
|
412
|
+
})(bi, (function() {
|
|
413
413
|
var n = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
414
414
|
return function(o, i, c) {
|
|
415
415
|
var l = i.prototype;
|
|
@@ -479,14 +479,14 @@ function bi() {
|
|
|
479
479
|
}));
|
|
480
480
|
})(vn)), vn.exports;
|
|
481
481
|
}
|
|
482
|
-
var
|
|
483
|
-
const
|
|
484
|
-
var Cn = { exports: {} },
|
|
485
|
-
function
|
|
482
|
+
var Ai = wi();
|
|
483
|
+
const yi = /* @__PURE__ */ Wt(Ai);
|
|
484
|
+
var Cn = { exports: {} }, vi = Cn.exports, ba;
|
|
485
|
+
function Ci() {
|
|
486
486
|
return ba || (ba = 1, (function(e, t) {
|
|
487
487
|
(function(n, a) {
|
|
488
488
|
e.exports = a();
|
|
489
|
-
})(
|
|
489
|
+
})(vi, (function() {
|
|
490
490
|
var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
|
|
491
491
|
return function(r, o, i) {
|
|
492
492
|
var c, l = function(m, p, f) {
|
|
@@ -544,10 +544,10 @@ function vi() {
|
|
|
544
544
|
}));
|
|
545
545
|
})(Cn)), Cn.exports;
|
|
546
546
|
}
|
|
547
|
-
var
|
|
548
|
-
const
|
|
549
|
-
Ne.extend(
|
|
550
|
-
Ne.extend(
|
|
547
|
+
var Ni = Ci();
|
|
548
|
+
const Si = /* @__PURE__ */ Wt(Ni);
|
|
549
|
+
Ne.extend(yi);
|
|
550
|
+
Ne.extend(Si);
|
|
551
551
|
const Yt = (e) => e === "en" ? "en" : "es", Pe = (e, t) => {
|
|
552
552
|
const { PUBLIC_LNG: n, DATE_TIMEZONE: a } = t || I(), r = Yt(n ?? "es");
|
|
553
553
|
return Ne.tz(e, a).locale(r).format("DD MMMM YYYY");
|
|
@@ -556,7 +556,7 @@ const Yt = (e) => e === "en" ? "en" : "es", Pe = (e, t) => {
|
|
|
556
556
|
return Ne.tz(e, n).locale(a).format(
|
|
557
557
|
a === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
558
558
|
);
|
|
559
|
-
},
|
|
559
|
+
}, xi = (e) => {
|
|
560
560
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = I(), a = Yt(t ?? "es");
|
|
561
561
|
return Ne.tz(e, n).locale(a).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
562
562
|
}, yf = (e) => {
|
|
@@ -565,11 +565,11 @@ const Yt = (e) => e === "en" ? "en" : "es", Pe = (e, t) => {
|
|
|
565
565
|
}, Ge = (e, t) => {
|
|
566
566
|
if (!e) return "";
|
|
567
567
|
try {
|
|
568
|
-
return
|
|
568
|
+
return Ei(e, t);
|
|
569
569
|
} catch {
|
|
570
570
|
return "";
|
|
571
571
|
}
|
|
572
|
-
},
|
|
572
|
+
}, Ei = (e, t) => {
|
|
573
573
|
const n = new Date(e), r = new Intl.DateTimeFormat("en-CA", {
|
|
574
574
|
timeZone: t,
|
|
575
575
|
year: "numeric",
|
|
@@ -585,7 +585,7 @@ const Yt = (e) => e === "en" ? "en" : "es", Pe = (e, t) => {
|
|
|
585
585
|
});
|
|
586
586
|
const i = new Date(n.toLocaleString("en-US", { timeZone: "UTC" })), l = (new Date(n.toLocaleString("en-US", { timeZone: t })).getTime() - i.getTime()) / 6e4, d = l >= 0 ? "+" : "-", u = (p) => String(Math.floor(Math.abs(p))).padStart(2, "0"), h = u(l / 60), m = u(l % 60);
|
|
587
587
|
return `${o.year}-${o.month}-${o.day}T${o.hour}:${o.minute}:${o.second}${d}${h}:${m}`;
|
|
588
|
-
}, Ms = 48, wa = 6e4, vs = 36e5, Aa = 864e5,
|
|
588
|
+
}, Ms = 48, wa = 6e4, vs = 36e5, Aa = 864e5, Ti = {
|
|
589
589
|
es: {
|
|
590
590
|
moments: "hace instantes",
|
|
591
591
|
minutes: (e) => `hace ${e} ${e === 1 ? "minuto" : "minutos"}`,
|
|
@@ -598,26 +598,26 @@ const Yt = (e) => e === "en" ? "en" : "es", Pe = (e, t) => {
|
|
|
598
598
|
hours: (e) => `${e} ${e === 1 ? "hour" : "hours"} ago`,
|
|
599
599
|
days: (e) => `${e} ${e === 1 ? "day" : "days"} ago`
|
|
600
600
|
}
|
|
601
|
-
},
|
|
602
|
-
const n =
|
|
601
|
+
}, ki = (e, t) => {
|
|
602
|
+
const n = Ti[t];
|
|
603
603
|
return e < wa ? n.moments : e < vs ? n.minutes(Math.floor(e / wa)) : e < Aa ? n.hours(Math.floor(e / vs)) : n.days(Math.floor(e / Aa));
|
|
604
604
|
}, qr = (e, t, n = Ms) => {
|
|
605
605
|
if (!Number.isFinite(e) || !Number.isFinite(t) || e <= 0) return !1;
|
|
606
606
|
const a = t - e;
|
|
607
607
|
return a >= 0 && a <= n * vs;
|
|
608
|
-
},
|
|
608
|
+
}, Ii = (e, t, n = Ms, a) => {
|
|
609
609
|
if (!qr(e, t, n))
|
|
610
610
|
return Pe(e, a);
|
|
611
611
|
const { PUBLIC_LNG: r } = a || I();
|
|
612
|
-
return
|
|
612
|
+
return ki(t - e, Yt(r ?? "es"));
|
|
613
613
|
}, Ye = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
614
|
-
function
|
|
614
|
+
function bt(e) {
|
|
615
615
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Li(e) {
|
|
618
618
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
619
619
|
}
|
|
620
|
-
const
|
|
620
|
+
const Ui = { url: "", target: "_self", canonical: "", internal: "" }, Pi = {
|
|
621
621
|
date: "",
|
|
622
622
|
created: 0,
|
|
623
623
|
modified: 0,
|
|
@@ -646,8 +646,8 @@ const Vt = (e, t, n, a) => {
|
|
|
646
646
|
title: ""
|
|
647
647
|
},
|
|
648
648
|
info: {
|
|
649
|
-
date: { ...
|
|
650
|
-
link: e?.info?.link ??
|
|
649
|
+
date: { ...Pi, ...e?.info?.date },
|
|
650
|
+
link: e?.info?.link ?? Ui
|
|
651
651
|
},
|
|
652
652
|
preview: {
|
|
653
653
|
sizes: e?.main?.image?.sizes ?? [],
|
|
@@ -672,10 +672,10 @@ const Vt = (e, t, n, a) => {
|
|
|
672
672
|
tags: []
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
|
-
},
|
|
675
|
+
}, Ri = { sizes: [], description: "" };
|
|
676
676
|
function Kt(e) {
|
|
677
677
|
if (!e || typeof e != "object")
|
|
678
|
-
return { ...
|
|
678
|
+
return { ...Ri };
|
|
679
679
|
const t = e;
|
|
680
680
|
return {
|
|
681
681
|
...t,
|
|
@@ -690,31 +690,31 @@ const jr = {
|
|
|
690
690
|
"video-flash": "vf",
|
|
691
691
|
"video-youtube": "vy",
|
|
692
692
|
"video-embedded": "ve"
|
|
693
|
-
}, Gr = /\/videos\/(video-flash|video-youtube|video-embedded)\/(\d{4})\/(\d{2})\/(\d{2})\/([^/]+)$/i, ya = /-(vf|vy|ve)(\d{8})([A-Za-z0-9]*)\.html?$/i,
|
|
693
|
+
}, Gr = /\/videos\/(video-flash|video-youtube|video-embedded)\/(\d{4})\/(\d{2})\/(\d{2})\/([^/]+)$/i, ya = /-(vf|vy|ve)(\d{8})([A-Za-z0-9]*)\.html?$/i, Oi = {
|
|
694
694
|
date: "",
|
|
695
695
|
created: 0,
|
|
696
696
|
modified: 0,
|
|
697
697
|
firstpublish: 0,
|
|
698
698
|
lastpublish: 0
|
|
699
|
-
},
|
|
699
|
+
}, Bi = {
|
|
700
700
|
showcomments: !1,
|
|
701
701
|
showtime: !1,
|
|
702
702
|
showauthor: !1,
|
|
703
703
|
showuppertitle: !1,
|
|
704
704
|
showsubtitle: !1,
|
|
705
705
|
showads: !1
|
|
706
|
-
},
|
|
707
|
-
const t =
|
|
706
|
+
}, Mi = (e) => e.replace(/^[a-z][a-z0-9+.-]*:\/\/[^/]+/i, ""), va = (e) => {
|
|
707
|
+
const t = Mi(e).trim();
|
|
708
708
|
return t ? t.startsWith("/") ? t : `/${t}` : "";
|
|
709
|
-
},
|
|
709
|
+
}, _i = (e) => e.normalize("NFD").split("").filter((t) => {
|
|
710
710
|
const n = t.charCodeAt(0);
|
|
711
711
|
return n < 768 || n > 879;
|
|
712
|
-
}).join(""),
|
|
712
|
+
}).join(""), Di = (e) => _i(e).toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/(^-|-$)/g, "").slice(0, 80), Fr = (e) => {
|
|
713
713
|
const t = e?.info?.link ?? {}, n = ya.exec(t.url ?? "") ?? ya.exec(t.canonical ?? "");
|
|
714
714
|
if (n?.[1]) return n[1].toLowerCase();
|
|
715
715
|
const a = Gr.exec(t.internal ?? "");
|
|
716
716
|
if (a?.[1]) return jr[a[1].toLowerCase()];
|
|
717
|
-
},
|
|
717
|
+
}, qi = (e) => e?.info?.type === "video" || !!Fr(e), ji = (e, t = {}) => {
|
|
718
718
|
const n = Gr.exec(e ?? "");
|
|
719
719
|
if (!n) return "";
|
|
720
720
|
const [, a = "", r = "", o = "", i = "", c = ""] = n, l = jr[a.toLowerCase()];
|
|
@@ -724,19 +724,19 @@ const jr = {
|
|
|
724
724
|
const p = c.lastIndexOf("."), f = p > 0 ? c.slice(0, p) : c, b = p > 0 ? c.slice(p + 1) : "";
|
|
725
725
|
return `/${d}/${f}-vf${u}${b}.html`;
|
|
726
726
|
}
|
|
727
|
-
const h = c.match(/_([^.]+)\.lnk$/i)?.[1] ?? c.replace(/\.[^.]+$/, ""), m =
|
|
727
|
+
const h = c.match(/_([^.]+)\.lnk$/i)?.[1] ?? c.replace(/\.[^.]+$/, ""), m = Di(t.title ?? "") || a.toLowerCase();
|
|
728
728
|
return `/${d}/${m}-${l}${u}${h}.html`;
|
|
729
729
|
}, Ca = (e, t, n) => {
|
|
730
730
|
const a = e?.info?.link ?? {};
|
|
731
|
-
return a.url ? va(a.url) : a.canonical ? va(a.canonical) : t && a.internal ?
|
|
731
|
+
return a.url ? va(a.url) : a.canonical ? va(a.canonical) : t && a.internal ? ji(a.internal, {
|
|
732
732
|
videoPath: n.videoPath,
|
|
733
733
|
title: Mn(e?.main?.title)
|
|
734
734
|
}) : "";
|
|
735
|
-
},
|
|
735
|
+
}, Gi = (e) => !!Mn(e?.main?.title), Fi = (e, t) => {
|
|
736
736
|
if (e?.url) return e;
|
|
737
737
|
if (!(!t?.name || !t?.url))
|
|
738
738
|
return { name: t.name, slug: t.slug ?? "", url: t.url };
|
|
739
|
-
},
|
|
739
|
+
}, Hi = (e, t = {}) => {
|
|
740
740
|
if (!e || typeof e != "object") return null;
|
|
741
741
|
const n = e.info ?? {}, a = n.link ?? {}, r = Fr(e);
|
|
742
742
|
if (!(n.type === "video" || !!r)) {
|
|
@@ -747,7 +747,7 @@ const jr = {
|
|
|
747
747
|
info: { ...n, link: { ...a, url: f } }
|
|
748
748
|
} : e;
|
|
749
749
|
}
|
|
750
|
-
const i =
|
|
750
|
+
const i = Fi(n.section, t.videoSection);
|
|
751
751
|
if (n.type === "video" && !!a.url && !!e.main?.title?.home)
|
|
752
752
|
return i && i !== n.section ? { ...e, info: { ...n, section: i } } : e;
|
|
753
753
|
const l = e.main?.title, d = Mn(l), u = l && typeof l == "object" ? l : {}, h = Kt(e.preview), m = Ca(e, !0, t), p = {
|
|
@@ -755,7 +755,7 @@ const jr = {
|
|
|
755
755
|
type: "video",
|
|
756
756
|
videoOp: r,
|
|
757
757
|
section: i,
|
|
758
|
-
date: { ...
|
|
758
|
+
date: { ...Oi, ...n.date },
|
|
759
759
|
link: {
|
|
760
760
|
...a,
|
|
761
761
|
url: m,
|
|
@@ -782,11 +782,11 @@ const jr = {
|
|
|
782
782
|
sizes: h.sizes ?? [],
|
|
783
783
|
description: h.description ?? ""
|
|
784
784
|
},
|
|
785
|
-
config: e.config ??
|
|
785
|
+
config: e.config ?? Bi
|
|
786
786
|
};
|
|
787
|
-
}, Tn = (e, t = {}) => Array.isArray(e) ? e.map((n) =>
|
|
788
|
-
(n) => !!n &&
|
|
789
|
-
) : [],
|
|
787
|
+
}, Tn = (e, t = {}) => Array.isArray(e) ? e.map((n) => Hi(n, t)).filter(
|
|
788
|
+
(n) => !!n && Gi(n)
|
|
789
|
+
) : [], Vi = (e, t = {}) => {
|
|
790
790
|
if (!e || typeof e != "object") return e;
|
|
791
791
|
const n = e.data;
|
|
792
792
|
return n && Array.isArray(n.data) ? {
|
|
@@ -814,7 +814,7 @@ const jr = {
|
|
|
814
814
|
author: ["avatar", "multiCrop"],
|
|
815
815
|
video: ["xl", "lg", "md"],
|
|
816
816
|
og: ["social"]
|
|
817
|
-
},
|
|
817
|
+
}, zi = [
|
|
818
818
|
"featuredSuperSecondary",
|
|
819
819
|
"featuredVerticalPrimary",
|
|
820
820
|
"featuredVerticalSecondary",
|
|
@@ -822,7 +822,7 @@ const jr = {
|
|
|
822
822
|
"featuredHorizontalSecondary",
|
|
823
823
|
"featuredDiarioImageThumb"
|
|
824
824
|
], as = /^(w:\d+,h:\d+,t:[12](,c:[0-9a-f]{3,6})?;)+$/i;
|
|
825
|
-
function
|
|
825
|
+
function $i(e) {
|
|
826
826
|
if (typeof e != "object" || e === null)
|
|
827
827
|
throw new Error(
|
|
828
828
|
"ImageSizesContract inválido: se esperaba un objeto con los grupos note/author/video/og."
|
|
@@ -843,7 +843,7 @@ function zi(e) {
|
|
|
843
843
|
const a = n.note;
|
|
844
844
|
if (typeof a == "object" && a !== null) {
|
|
845
845
|
const o = a;
|
|
846
|
-
for (const i of
|
|
846
|
+
for (const i of zi) {
|
|
847
847
|
const c = o[i];
|
|
848
848
|
c !== void 0 && (typeof c != "string" || !as.test(c)) && t.push(`note.${i}`);
|
|
849
849
|
}
|
|
@@ -887,7 +887,7 @@ const an = {
|
|
|
887
887
|
og: {
|
|
888
888
|
social: "w:1200,h:630,t:2;"
|
|
889
889
|
}
|
|
890
|
-
},
|
|
890
|
+
}, Qi = /* @__PURE__ */ new Set([
|
|
891
891
|
"featuredSuperSecondary",
|
|
892
892
|
"featuredVerticalPrimary",
|
|
893
893
|
"featuredVerticalSecondary",
|
|
@@ -910,7 +910,7 @@ function _n(e) {
|
|
|
910
910
|
an.note,
|
|
911
911
|
e?.note,
|
|
912
912
|
t,
|
|
913
|
-
|
|
913
|
+
Qi
|
|
914
914
|
),
|
|
915
915
|
author: rn(
|
|
916
916
|
"author",
|
|
@@ -930,7 +930,7 @@ function _n(e) {
|
|
|
930
930
|
// NO se agrega a `legacyFieldsUsed` (no hay default que "usar").
|
|
931
931
|
...e?.squareLg !== void 0 ? { squareLg: e.squareLg } : {}
|
|
932
932
|
};
|
|
933
|
-
return
|
|
933
|
+
return $i(n), { contract: n, legacyFieldsUsed: t };
|
|
934
934
|
}
|
|
935
935
|
function Cf(e) {
|
|
936
936
|
const { legacyFieldsUsed: t } = _n(e);
|
|
@@ -952,7 +952,7 @@ function Nf(e, t) {
|
|
|
952
952
|
Migrar cada slot listado a un valor explícito en tu imageSizes.ts (REFACTOR_IMGSIZES_PLAN.md §3).`
|
|
953
953
|
);
|
|
954
954
|
}
|
|
955
|
-
const
|
|
955
|
+
const Wi = (() => {
|
|
956
956
|
const { contract: e } = _n(void 0);
|
|
957
957
|
return `${e.note.relatedPrimary}${e.note.relatedThumb}`;
|
|
958
958
|
})(), Sa = /<div\b[^>]*class=["'][^"']*\bck-related-news\b[^"']*["'][^>]*>/gi;
|
|
@@ -982,7 +982,7 @@ function Cs(e) {
|
|
|
982
982
|
}
|
|
983
983
|
return n;
|
|
984
984
|
}
|
|
985
|
-
const Sf = Cs,
|
|
985
|
+
const Sf = Cs, Yi = async (e, t, n = Wi) => {
|
|
986
986
|
const a = [];
|
|
987
987
|
return e.forEach((i) => {
|
|
988
988
|
i.forEach((c) => {
|
|
@@ -994,15 +994,15 @@ const Sf = Cs, Wi = async (e, t, n = Qi) => {
|
|
|
994
994
|
l && a.push(l);
|
|
995
995
|
});
|
|
996
996
|
}), (await Promise.allSettled(a)).map(
|
|
997
|
-
(i) =>
|
|
997
|
+
(i) => bt(i)?.data
|
|
998
998
|
);
|
|
999
|
-
},
|
|
999
|
+
}, ut = () => {
|
|
1000
1000
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = I();
|
|
1001
1001
|
return e == "local" && (!n || n === "false") ? t : n && n !== "false" ? n : "";
|
|
1002
1002
|
}, xf = () => {
|
|
1003
1003
|
const { PUBLIC_ENV: e, PUBLIC_API_FRONT: t } = I();
|
|
1004
1004
|
return e === "local" ? t : "";
|
|
1005
|
-
},
|
|
1005
|
+
}, Ki = (e) => e.replace(/^https?:?\/\/[^/]+/, "");
|
|
1006
1006
|
function Hr(e = I()) {
|
|
1007
1007
|
const { PUBLIC_SERVICE_PREFIX: t } = e;
|
|
1008
1008
|
return t && t !== "false" ? "/" + t : "";
|
|
@@ -1015,7 +1015,7 @@ function he(e = I()) {
|
|
|
1015
1015
|
} = e;
|
|
1016
1016
|
return a && a !== "" ? "/" + a : t && t !== "false" && n && n !== "false" ? "/" + t : "";
|
|
1017
1017
|
}
|
|
1018
|
-
const xa = (e) => e.replace(/^\/+|\/+$/g, ""),
|
|
1018
|
+
const xa = (e) => e.replace(/^\/+|\/+$/g, ""), Ji = (e, t) => {
|
|
1019
1019
|
const { LINK_REMOVE: n } = e;
|
|
1020
1020
|
return n ? xa(n) === xa(t) : !1;
|
|
1021
1021
|
};
|
|
@@ -1024,7 +1024,7 @@ function Gt(e, t, n = I()) {
|
|
|
1024
1024
|
const a = Hr(n);
|
|
1025
1025
|
if (!a) return e;
|
|
1026
1026
|
const r = he(n);
|
|
1027
|
-
if (!r && !
|
|
1027
|
+
if (!r && !Ji(n, a))
|
|
1028
1028
|
return e;
|
|
1029
1029
|
let o;
|
|
1030
1030
|
try {
|
|
@@ -1051,7 +1051,7 @@ function Ef(e, t = I()) {
|
|
|
1051
1051
|
}
|
|
1052
1052
|
return a && (o === a || o.startsWith(a + "/")) && (o = o.slice(a.length) || "/"), o !== n && !o.startsWith(n + "/") && (o = n + o), `${r}${o}${i}`;
|
|
1053
1053
|
}
|
|
1054
|
-
const
|
|
1054
|
+
const Zi = (e) => {
|
|
1055
1055
|
if (!e?.preview?.length) return null;
|
|
1056
1056
|
const t = e.preview;
|
|
1057
1057
|
return t.find((n) => n.format === "1.91:1") ?? t[t.length - 1];
|
|
@@ -1073,13 +1073,13 @@ const Ji = (e) => {
|
|
|
1073
1073
|
width: r,
|
|
1074
1074
|
height: o,
|
|
1075
1075
|
alt: i
|
|
1076
|
-
},
|
|
1076
|
+
}, Xi = (e, t, n, a) => {
|
|
1077
1077
|
if (!t) return {};
|
|
1078
1078
|
const {
|
|
1079
1079
|
PUBLIC_ASSETS_URL: r,
|
|
1080
1080
|
PUBLIC_API_FRONT: o,
|
|
1081
1081
|
DATE_TIMEZONE: i = "America/Mexico_City"
|
|
1082
|
-
} = I(), c = Vr(t.keywords) ?? "", l = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", d = (r !== "false" ? r : o) ?? "", u =
|
|
1082
|
+
} = I(), c = Vr(t.keywords) ?? "", l = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", d = (r !== "false" ? r : o) ?? "", u = Zi(a), h = t.main.title.article, m = Ea({
|
|
1083
1083
|
schemaImage: u,
|
|
1084
1084
|
socialImage: t?.social?.images?.facebook,
|
|
1085
1085
|
fallbackImage: l,
|
|
@@ -1147,10 +1147,10 @@ const Ji = (e) => {
|
|
|
1147
1147
|
tag: t?.keywords?.tags ?? []
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
|
-
}, Vr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"),
|
|
1150
|
+
}, Vr = (e) => !e || !e?.tags || e?.tags?.length === 0 ? "" : e?.tags?.map((t) => t.name).join(", ").replaceAll('"', "'").replaceAll("`", "'"), ec = (e) => {
|
|
1151
1151
|
const t = e?.match(/^\/(?:[^/]+\/)?([^/]+)\/([^/]+\.html)$/);
|
|
1152
1152
|
return t ? { slug: t[1] ?? "", path: t[2] ?? "" } : { slug: "", path: "" };
|
|
1153
|
-
},
|
|
1153
|
+
}, tc = (e) => e.replaceAll("/", "").replaceAll("_", "").replace(".html", ""), nc = {
|
|
1154
1154
|
description: { attr: "name", value: "description" },
|
|
1155
1155
|
robots: { attr: "name", value: "robots" },
|
|
1156
1156
|
keywords: { attr: "name", value: "keywords" },
|
|
@@ -1167,11 +1167,11 @@ const Ji = (e) => {
|
|
|
1167
1167
|
"twitter.site": { attr: "name", value: "twitter:site" },
|
|
1168
1168
|
"twitter.domain": { attr: "name", value: "twitter:domain" },
|
|
1169
1169
|
"twitter.url": { attr: "name", value: "twitter:url" }
|
|
1170
|
-
},
|
|
1170
|
+
}, sc = (e) => {
|
|
1171
1171
|
const t = [];
|
|
1172
1172
|
let n = 0;
|
|
1173
1173
|
const a = (i) => t.push(i);
|
|
1174
|
-
return e.title && typeof e.title == "string" && a(/* @__PURE__ */ s("title", { children: e.title }, `title-${n++}`)), Object.entries(
|
|
1174
|
+
return e.title && typeof e.title == "string" && a(/* @__PURE__ */ s("title", { children: e.title }, `title-${n++}`)), Object.entries(nc).forEach(([i, c]) => {
|
|
1175
1175
|
const l = i.split(".").reduce((d, u) => d?.[u], e);
|
|
1176
1176
|
l && a(
|
|
1177
1177
|
/* @__PURE__ */ s(
|
|
@@ -1381,32 +1381,32 @@ const Ji = (e) => {
|
|
|
1381
1381
|
);
|
|
1382
1382
|
}), t;
|
|
1383
1383
|
}, fe = async (e) => {
|
|
1384
|
-
const t =
|
|
1384
|
+
const t = ut() ?? "", n = e;
|
|
1385
1385
|
return n?.startsWith("http") || n?.includes(t) || t === "" ? n : t + n;
|
|
1386
1386
|
}, Jt = (e, t) => {
|
|
1387
1387
|
const n = e || "";
|
|
1388
1388
|
return t ? n.replaceAll("[section_replace]", t["[section_replace]"] ?? "").replaceAll("[tag_replace]", t["[tag_replace]"] ?? "").replaceAll("[tags_replace]", t["[tags_replace]"] ?? "").replaceAll("[url_replace]", t["[url_replace]"] ?? "").replaceAll("[author_replace]", t["[author_replace]"] ?? "").replaceAll("[creator_replace]", t["[creator_replace]"] ?? "") || "" : n || "";
|
|
1389
|
-
},
|
|
1389
|
+
}, ac = /\[(?:general|seccion:[^\]]+|tema:\d+)\][\s\S]*?\[\/(?:general|seccion:[^\]]+|tema:\d+)\]/i, rc = /\[(general|seccion:[^\]]+|tema:\d+)\]([\s\S]*?)\[\/\1\]/gi, oc = (e) => !e || e.type === "general" ? "general" : e.type === "seccion" ? `seccion:${e.value}`.toLowerCase() : `tema:${e.value}`, _s = (e, t) => {
|
|
1390
1390
|
const n = e || "";
|
|
1391
|
-
if (!
|
|
1391
|
+
if (!ac.test(n)) return n;
|
|
1392
1392
|
const a = /* @__PURE__ */ new Map();
|
|
1393
|
-
for (const c of n.matchAll(
|
|
1393
|
+
for (const c of n.matchAll(rc)) {
|
|
1394
1394
|
const l = c[1]?.toLowerCase(), d = c[2];
|
|
1395
1395
|
l && d !== void 0 && !a.has(l) && a.set(l, d);
|
|
1396
1396
|
}
|
|
1397
1397
|
if (a.size === 0) return n;
|
|
1398
|
-
const r =
|
|
1398
|
+
const r = oc(t), o = a.get(r);
|
|
1399
1399
|
if (o !== void 0) return o;
|
|
1400
1400
|
const i = a.get("general");
|
|
1401
1401
|
return i !== void 0 ? i : "";
|
|
1402
|
-
},
|
|
1402
|
+
}, zr = (e, t) => {
|
|
1403
1403
|
const n = t === void 0 ? [] : Array.isArray(t) ? t : [t], a = [];
|
|
1404
1404
|
for (const r of [e, ...n])
|
|
1405
1405
|
r && !a.includes(r) && a.push(r);
|
|
1406
1406
|
return a;
|
|
1407
1407
|
}, Ds = (e, t, n) => {
|
|
1408
1408
|
if (!(!e || e.length === 0))
|
|
1409
|
-
for (const a of
|
|
1409
|
+
for (const a of zr(t, n)) {
|
|
1410
1410
|
const r = e.find((o) => o.key === a);
|
|
1411
1411
|
if (r) return r;
|
|
1412
1412
|
}
|
|
@@ -1557,7 +1557,7 @@ const uc = (e) => {
|
|
|
1557
1557
|
/\bsrc\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i
|
|
1558
1558
|
);
|
|
1559
1559
|
return t?.[1] || t?.[2] || t?.[3] || null;
|
|
1560
|
-
},
|
|
1560
|
+
}, $r = (e, t, n, a) => {
|
|
1561
1561
|
try {
|
|
1562
1562
|
const r = uc(e);
|
|
1563
1563
|
return r.src ? /* @__PURE__ */ s("script", { "data-bs-name": a, ...r }, n) : /* @__PURE__ */ s(
|
|
@@ -1584,7 +1584,7 @@ const uc = (e) => {
|
|
|
1584
1584
|
}, hc = (e) => {
|
|
1585
1585
|
const t = /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/gi;
|
|
1586
1586
|
return [...e.matchAll(t)];
|
|
1587
|
-
},
|
|
1587
|
+
}, Qr = (e) => {
|
|
1588
1588
|
const t = e.banners.find(
|
|
1589
1589
|
(r) => r.key === e.name
|
|
1590
1590
|
);
|
|
@@ -1595,7 +1595,7 @@ const uc = (e) => {
|
|
|
1595
1595
|
), a = hc(n);
|
|
1596
1596
|
return /* @__PURE__ */ s(Q, { children: a.map((r, o) => {
|
|
1597
1597
|
const i = r[1] || r[3] || "", c = r[2]?.trim() || "";
|
|
1598
|
-
return
|
|
1598
|
+
return $r(i, c, o, e.name);
|
|
1599
1599
|
}) });
|
|
1600
1600
|
}, fc = (e) => {
|
|
1601
1601
|
const t = e.banners.find(
|
|
@@ -1614,7 +1614,7 @@ const uc = (e) => {
|
|
|
1614
1614
|
);
|
|
1615
1615
|
if (i) {
|
|
1616
1616
|
const c = i[1] || i[3] || "", l = i[2]?.trim() || "";
|
|
1617
|
-
return
|
|
1617
|
+
return $r(c, l, o, e.name);
|
|
1618
1618
|
}
|
|
1619
1619
|
return r.trim() && /<[a-zA-Z]/.test(r) ? /* @__PURE__ */ s(
|
|
1620
1620
|
"div",
|
|
@@ -1828,7 +1828,7 @@ function Bf(e) {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
return t;
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function Wr(e) {
|
|
1832
1832
|
const t = {};
|
|
1833
1833
|
for (const [n, a] of Object.entries(e)) {
|
|
1834
1834
|
const r = atob(n.split("").reverse().join(""));
|
|
@@ -1882,28 +1882,28 @@ const Mf = async (e, t, n) => {
|
|
|
1882
1882
|
preview: c
|
|
1883
1883
|
};
|
|
1884
1884
|
};
|
|
1885
|
-
function
|
|
1885
|
+
function Yr(e, t) {
|
|
1886
1886
|
return function() {
|
|
1887
1887
|
return e.apply(t, arguments);
|
|
1888
1888
|
};
|
|
1889
1889
|
}
|
|
1890
|
-
const { toString: wc } = Object.prototype, { getPrototypeOf: qs } = Object, { iterator: Dn, toStringTag:
|
|
1890
|
+
const { toString: wc } = Object.prototype, { getPrototypeOf: qs } = Object, { iterator: Dn, toStringTag: Kr } = Symbol, qn = /* @__PURE__ */ ((e) => (t) => {
|
|
1891
1891
|
const n = wc.call(t);
|
|
1892
1892
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1893
1893
|
})(/* @__PURE__ */ Object.create(null)), Oe = (e) => (e = e.toLowerCase(), (t) => qn(t) === e), jn = (e) => (t) => typeof t === e, { isArray: Et } = Array, Nt = jn("undefined");
|
|
1894
1894
|
function Zt(e) {
|
|
1895
1895
|
return e !== null && !Nt(e) && e.constructor !== null && !Nt(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1896
1896
|
}
|
|
1897
|
-
const
|
|
1897
|
+
const Jr = Oe("ArrayBuffer");
|
|
1898
1898
|
function Ac(e) {
|
|
1899
1899
|
let t;
|
|
1900
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
1900
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Jr(e.buffer), t;
|
|
1901
1901
|
}
|
|
1902
|
-
const yc = jn("string"), Se = jn("function"),
|
|
1902
|
+
const yc = jn("string"), Se = jn("function"), Zr = jn("number"), Xt = (e) => e !== null && typeof e == "object", vc = (e) => e === !0 || e === !1, Nn = (e) => {
|
|
1903
1903
|
if (qn(e) !== "object")
|
|
1904
1904
|
return !1;
|
|
1905
1905
|
const t = qs(e);
|
|
1906
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
1906
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Kr in e) && !(Dn in e);
|
|
1907
1907
|
}, Cc = (e) => {
|
|
1908
1908
|
if (!Xt(e) || Zt(e))
|
|
1909
1909
|
return !1;
|
|
@@ -1933,7 +1933,7 @@ function en(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
1933
1933
|
c = o[a], t.call(null, e[c], c, e);
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
|
-
function
|
|
1936
|
+
function Xr(e, t) {
|
|
1937
1937
|
if (Zt(e))
|
|
1938
1938
|
return null;
|
|
1939
1939
|
t = t.toLowerCase();
|
|
@@ -1944,10 +1944,10 @@ function Zr(e, t) {
|
|
|
1944
1944
|
return r;
|
|
1945
1945
|
return null;
|
|
1946
1946
|
}
|
|
1947
|
-
const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
1947
|
+
const dt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, eo = (e) => !Nt(e) && e !== dt;
|
|
1948
1948
|
function Ns() {
|
|
1949
|
-
const { caseless: e, skipUndefined: t } =
|
|
1950
|
-
const i = e &&
|
|
1949
|
+
const { caseless: e, skipUndefined: t } = eo(this) && this || {}, n = {}, a = (r, o) => {
|
|
1950
|
+
const i = e && Xr(n, o) || o;
|
|
1951
1951
|
Nn(n[i]) && Nn(r) ? n[i] = Ns(n[i], r) : Nn(r) ? n[i] = Ns({}, r) : Et(r) ? n[i] = r.slice() : (!t || !Nt(r)) && (n[i] = r);
|
|
1952
1952
|
};
|
|
1953
1953
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -1955,7 +1955,7 @@ function Ns() {
|
|
|
1955
1955
|
return n;
|
|
1956
1956
|
}
|
|
1957
1957
|
const Bc = (e, t, n, { allOwnKeys: a } = {}) => (en(t, (r, o) => {
|
|
1958
|
-
n && Se(r) ? e[o] =
|
|
1958
|
+
n && Se(r) ? e[o] = Yr(r, n) : e[o] = r;
|
|
1959
1959
|
}, { allOwnKeys: a }), e), Mc = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), _c = (e, t, n, a) => {
|
|
1960
1960
|
e.prototype = Object.create(t.prototype, a), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
1961
1961
|
value: t.prototype
|
|
@@ -1978,7 +1978,7 @@ const Bc = (e, t, n, { allOwnKeys: a } = {}) => (en(t, (r, o) => {
|
|
|
1978
1978
|
if (!e) return null;
|
|
1979
1979
|
if (Et(e)) return e;
|
|
1980
1980
|
let t = e.length;
|
|
1981
|
-
if (!
|
|
1981
|
+
if (!Zr(t)) return null;
|
|
1982
1982
|
const n = new Array(t);
|
|
1983
1983
|
for (; t-- > 0; )
|
|
1984
1984
|
n[t] = e[t];
|
|
@@ -2001,14 +2001,14 @@ const Bc = (e, t, n, { allOwnKeys: a } = {}) => (en(t, (r, o) => {
|
|
|
2001
2001
|
function(n, a, r) {
|
|
2002
2002
|
return a.toUpperCase() + r;
|
|
2003
2003
|
}
|
|
2004
|
-
), La = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), $c = Oe("RegExp"),
|
|
2004
|
+
), La = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), $c = Oe("RegExp"), to = (e, t) => {
|
|
2005
2005
|
const n = Object.getOwnPropertyDescriptors(e), a = {};
|
|
2006
2006
|
en(n, (r, o) => {
|
|
2007
2007
|
let i;
|
|
2008
2008
|
(i = t(r, o, e)) !== !1 && (a[o] = i || r);
|
|
2009
2009
|
}), Object.defineProperties(e, a);
|
|
2010
2010
|
}, Qc = (e) => {
|
|
2011
|
-
|
|
2011
|
+
to(e, (t, n) => {
|
|
2012
2012
|
if (Se(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2013
2013
|
return !1;
|
|
2014
2014
|
const a = e[n];
|
|
@@ -2032,7 +2032,7 @@ const Bc = (e, t, n, { allOwnKeys: a } = {}) => (en(t, (r, o) => {
|
|
|
2032
2032
|
}, Yc = () => {
|
|
2033
2033
|
}, Kc = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
2034
2034
|
function Jc(e) {
|
|
2035
|
-
return !!(e && Se(e.append) && e[
|
|
2035
|
+
return !!(e && Se(e.append) && e[Kr] === "FormData" && e[Dn]);
|
|
2036
2036
|
}
|
|
2037
2037
|
const Zc = (e) => {
|
|
2038
2038
|
const t = new Array(10), n = (a, r) => {
|
|
@@ -2053,21 +2053,21 @@ const Zc = (e) => {
|
|
|
2053
2053
|
return a;
|
|
2054
2054
|
};
|
|
2055
2055
|
return n(e, 0);
|
|
2056
|
-
}, Xc = Oe("AsyncFunction"), el = (e) => e && (Xt(e) || Se(e)) && Se(e.then) && Se(e.catch),
|
|
2056
|
+
}, Xc = Oe("AsyncFunction"), el = (e) => e && (Xt(e) || Se(e)) && Se(e.then) && Se(e.catch), no = ((e, t) => e ? setImmediate : t ? ((n, a) => (dt.addEventListener("message", ({ source: r, data: o }) => {
|
|
2057
2057
|
r === dt && o === n && a.length && a.shift()();
|
|
2058
2058
|
}, !1), (r) => {
|
|
2059
2059
|
a.push(r), dt.postMessage(n, "*");
|
|
2060
2060
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
2061
2061
|
typeof setImmediate == "function",
|
|
2062
2062
|
Se(dt.postMessage)
|
|
2063
|
-
), tl = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick ||
|
|
2063
|
+
), tl = typeof queueMicrotask < "u" ? queueMicrotask.bind(dt) : typeof process < "u" && process.nextTick || no, nl = (e) => e != null && Se(e[Dn]), E = {
|
|
2064
2064
|
isArray: Et,
|
|
2065
|
-
isArrayBuffer:
|
|
2065
|
+
isArrayBuffer: Jr,
|
|
2066
2066
|
isBuffer: Zt,
|
|
2067
2067
|
isFormData: kc,
|
|
2068
2068
|
isArrayBufferView: Ac,
|
|
2069
2069
|
isString: yc,
|
|
2070
|
-
isNumber:
|
|
2070
|
+
isNumber: Zr,
|
|
2071
2071
|
isBoolean: vc,
|
|
2072
2072
|
isObject: Xt,
|
|
2073
2073
|
isPlainObject: Nn,
|
|
@@ -2103,20 +2103,20 @@ const Zc = (e) => {
|
|
|
2103
2103
|
hasOwnProperty: La,
|
|
2104
2104
|
hasOwnProp: La,
|
|
2105
2105
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
2106
|
-
reduceDescriptors:
|
|
2106
|
+
reduceDescriptors: to,
|
|
2107
2107
|
freezeMethods: Qc,
|
|
2108
2108
|
toObjectSet: Wc,
|
|
2109
2109
|
toCamelCase: zc,
|
|
2110
2110
|
noop: Yc,
|
|
2111
2111
|
toFiniteNumber: Kc,
|
|
2112
|
-
findKey:
|
|
2112
|
+
findKey: Xr,
|
|
2113
2113
|
global: dt,
|
|
2114
|
-
isContextDefined:
|
|
2114
|
+
isContextDefined: eo,
|
|
2115
2115
|
isSpecCompliantForm: Jc,
|
|
2116
2116
|
toJSONObject: Zc,
|
|
2117
2117
|
isAsyncFn: Xc,
|
|
2118
2118
|
isThenable: el,
|
|
2119
|
-
setImmediate:
|
|
2119
|
+
setImmediate: no,
|
|
2120
2120
|
asap: tl,
|
|
2121
2121
|
isIterable: nl
|
|
2122
2122
|
};
|
|
@@ -2144,7 +2144,7 @@ E.inherits(te, Error, {
|
|
|
2144
2144
|
};
|
|
2145
2145
|
}
|
|
2146
2146
|
});
|
|
2147
|
-
const
|
|
2147
|
+
const so = te.prototype, ao = {};
|
|
2148
2148
|
[
|
|
2149
2149
|
"ERR_BAD_OPTION_VALUE",
|
|
2150
2150
|
"ERR_BAD_OPTION",
|
|
@@ -2160,12 +2160,12 @@ const no = te.prototype, so = {};
|
|
|
2160
2160
|
"ERR_INVALID_URL"
|
|
2161
2161
|
// eslint-disable-next-line func-names
|
|
2162
2162
|
].forEach((e) => {
|
|
2163
|
-
|
|
2163
|
+
ao[e] = { value: e };
|
|
2164
2164
|
});
|
|
2165
|
-
Object.defineProperties(te,
|
|
2166
|
-
Object.defineProperty(
|
|
2165
|
+
Object.defineProperties(te, ao);
|
|
2166
|
+
Object.defineProperty(so, "isAxiosError", { value: !0 });
|
|
2167
2167
|
te.from = (e, t, n, a, r, o) => {
|
|
2168
|
-
const i = Object.create(
|
|
2168
|
+
const i = Object.create(so);
|
|
2169
2169
|
E.toFlatObject(e, i, function(u) {
|
|
2170
2170
|
return u !== Error.prototype;
|
|
2171
2171
|
}, (d) => d !== "isAxiosError");
|
|
@@ -2176,12 +2176,12 @@ const sl = null;
|
|
|
2176
2176
|
function Ss(e) {
|
|
2177
2177
|
return E.isPlainObject(e) || E.isArray(e);
|
|
2178
2178
|
}
|
|
2179
|
-
function
|
|
2179
|
+
function ro(e) {
|
|
2180
2180
|
return E.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
2181
2181
|
}
|
|
2182
2182
|
function Ua(e, t, n) {
|
|
2183
2183
|
return e ? e.concat(t).map(function(r, o) {
|
|
2184
|
-
return r =
|
|
2184
|
+
return r = ro(r), !n && o ? "[" + r + "]" : r;
|
|
2185
2185
|
}).join(n ? "." : "") : t;
|
|
2186
2186
|
}
|
|
2187
2187
|
function al(e) {
|
|
@@ -2219,7 +2219,7 @@ function Gn(e, t, n) {
|
|
|
2219
2219
|
if (E.endsWith(b, "{}"))
|
|
2220
2220
|
b = a ? b : b.slice(0, -2), f = JSON.stringify(f);
|
|
2221
2221
|
else if (E.isArray(f) && al(f) || (E.isFileList(f) || E.endsWith(b, "[]")) && (A = E.toArray(f)))
|
|
2222
|
-
return b =
|
|
2222
|
+
return b = ro(b), A.forEach(function(N, v) {
|
|
2223
2223
|
!(E.isUndefined(N) || N === null) && t.append(
|
|
2224
2224
|
// eslint-disable-next-line no-nested-ternary
|
|
2225
2225
|
i === !0 ? Ua([b], v, o) : i === null ? b : b + "[]",
|
|
@@ -2270,11 +2270,11 @@ function Pa(e) {
|
|
|
2270
2270
|
function js(e, t) {
|
|
2271
2271
|
this._pairs = [], e && Gn(e, this, t);
|
|
2272
2272
|
}
|
|
2273
|
-
const
|
|
2274
|
-
|
|
2273
|
+
const oo = js.prototype;
|
|
2274
|
+
oo.append = function(t, n) {
|
|
2275
2275
|
this._pairs.push([t, n]);
|
|
2276
2276
|
};
|
|
2277
|
-
|
|
2277
|
+
oo.toString = function(t) {
|
|
2278
2278
|
const n = t ? function(a) {
|
|
2279
2279
|
return t.call(this, a, Pa);
|
|
2280
2280
|
} : Pa;
|
|
@@ -2285,7 +2285,7 @@ ro.toString = function(t) {
|
|
|
2285
2285
|
function ol(e) {
|
|
2286
2286
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
2287
2287
|
}
|
|
2288
|
-
function
|
|
2288
|
+
function io(e, t, n) {
|
|
2289
2289
|
if (!t)
|
|
2290
2290
|
return e;
|
|
2291
2291
|
const a = n && n.encode || ol;
|
|
@@ -2354,7 +2354,7 @@ class Ra {
|
|
|
2354
2354
|
});
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
|
-
const
|
|
2357
|
+
const co = {
|
|
2358
2358
|
silentJSONParsing: !0,
|
|
2359
2359
|
forcedJSONParsing: !0,
|
|
2360
2360
|
clarifyTimeoutError: !1
|
|
@@ -2398,7 +2398,7 @@ function bl(e) {
|
|
|
2398
2398
|
o = n[a], t[o] = e[o];
|
|
2399
2399
|
return t;
|
|
2400
2400
|
}
|
|
2401
|
-
function
|
|
2401
|
+
function lo(e) {
|
|
2402
2402
|
function t(n, a, r, o) {
|
|
2403
2403
|
let i = n[o++];
|
|
2404
2404
|
if (i === "__proto__") return !0;
|
|
@@ -2424,12 +2424,12 @@ function wl(e, t, n) {
|
|
|
2424
2424
|
return (n || JSON.stringify)(e);
|
|
2425
2425
|
}
|
|
2426
2426
|
const tn = {
|
|
2427
|
-
transitional:
|
|
2427
|
+
transitional: co,
|
|
2428
2428
|
adapter: ["xhr", "http", "fetch"],
|
|
2429
2429
|
transformRequest: [function(t, n) {
|
|
2430
2430
|
const a = n.getContentType() || "", r = a.indexOf("application/json") > -1, o = E.isObject(t);
|
|
2431
2431
|
if (o && E.isHTMLForm(t) && (t = new FormData(t)), E.isFormData(t))
|
|
2432
|
-
return r ? JSON.stringify(
|
|
2432
|
+
return r ? JSON.stringify(lo(t)) : t;
|
|
2433
2433
|
if (E.isArrayBuffer(t) || E.isBuffer(t) || E.isStream(t) || E.isFile(t) || E.isBlob(t) || E.isReadableStream(t))
|
|
2434
2434
|
return t;
|
|
2435
2435
|
if (E.isArrayBufferView(t))
|
|
@@ -2700,7 +2700,7 @@ function os(e, t) {
|
|
|
2700
2700
|
o = c.call(n, o, r.normalize(), t ? t.status : void 0);
|
|
2701
2701
|
}), r.normalize(), o;
|
|
2702
2702
|
}
|
|
2703
|
-
function
|
|
2703
|
+
function uo(e) {
|
|
2704
2704
|
return !!(e && e.__CANCEL__);
|
|
2705
2705
|
}
|
|
2706
2706
|
function Tt(e, t, n) {
|
|
@@ -2709,7 +2709,7 @@ function Tt(e, t, n) {
|
|
|
2709
2709
|
E.inherits(Tt, te, {
|
|
2710
2710
|
__CANCEL__: !0
|
|
2711
2711
|
});
|
|
2712
|
-
function
|
|
2712
|
+
function mo(e, t, n) {
|
|
2713
2713
|
const a = n.config.validateStatus;
|
|
2714
2714
|
!n.status || !a || a(n.status) ? e(n) : t(new te(
|
|
2715
2715
|
"Request failed with status code " + n.status,
|
|
@@ -2815,12 +2815,12 @@ function Ll(e) {
|
|
|
2815
2815
|
function Ul(e, t) {
|
|
2816
2816
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
2817
2817
|
}
|
|
2818
|
-
function
|
|
2818
|
+
function ho(e, t, n) {
|
|
2819
2819
|
let a = !Ll(t);
|
|
2820
2820
|
return e && (a || n == !1) ? Ul(e, t) : t;
|
|
2821
2821
|
}
|
|
2822
2822
|
const _a = (e) => e instanceof xe ? { ...e } : e;
|
|
2823
|
-
function
|
|
2823
|
+
function ht(e, t) {
|
|
2824
2824
|
t = t || {};
|
|
2825
2825
|
const n = {};
|
|
2826
2826
|
function a(d, u, h, m) {
|
|
@@ -2884,10 +2884,10 @@ function ft(e, t) {
|
|
|
2884
2884
|
E.isUndefined(m) && h !== c || (n[u] = m);
|
|
2885
2885
|
}), n;
|
|
2886
2886
|
}
|
|
2887
|
-
const
|
|
2888
|
-
const t =
|
|
2887
|
+
const fo = (e) => {
|
|
2888
|
+
const t = ht({}, e);
|
|
2889
2889
|
let { data: n, withXSRFToken: a, xsrfHeaderName: r, xsrfCookieName: o, headers: i, auth: c } = t;
|
|
2890
|
-
if (t.headers = i = xe.from(i), t.url =
|
|
2890
|
+
if (t.headers = i = xe.from(i), t.url = io(ho(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), c && i.set(
|
|
2891
2891
|
"Authorization",
|
|
2892
2892
|
"Basic " + btoa((c.username || "") + ":" + (c.password ? unescape(encodeURIComponent(c.password)) : ""))
|
|
2893
2893
|
), E.isFormData(n)) {
|
|
@@ -2907,7 +2907,7 @@ const ho = (e) => {
|
|
|
2907
2907
|
return t;
|
|
2908
2908
|
}, Pl = typeof XMLHttpRequest < "u", Rl = Pl && function(e) {
|
|
2909
2909
|
return new Promise(function(n, a) {
|
|
2910
|
-
const r =
|
|
2910
|
+
const r = fo(e);
|
|
2911
2911
|
let o = r.data;
|
|
2912
2912
|
const i = xe.from(r.headers).normalize();
|
|
2913
2913
|
let { responseType: c, onUploadProgress: l, onDownloadProgress: d } = r, u, h, m, p, f;
|
|
@@ -2929,7 +2929,7 @@ const ho = (e) => {
|
|
|
2929
2929
|
config: e,
|
|
2930
2930
|
request: w
|
|
2931
2931
|
};
|
|
2932
|
-
|
|
2932
|
+
mo(function(T) {
|
|
2933
2933
|
n(T), b();
|
|
2934
2934
|
}, function(T) {
|
|
2935
2935
|
a(T), b();
|
|
@@ -2944,7 +2944,7 @@ const ho = (e) => {
|
|
|
2944
2944
|
S.event = v || null, a(S), w = null;
|
|
2945
2945
|
}, w.ontimeout = function() {
|
|
2946
2946
|
let v = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
2947
|
-
const y = r.transitional ||
|
|
2947
|
+
const y = r.transitional || co;
|
|
2948
2948
|
r.timeoutErrorMessage && (v = r.timeoutErrorMessage), a(new te(
|
|
2949
2949
|
v,
|
|
2950
2950
|
y.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
|
|
@@ -3115,7 +3115,7 @@ const ho = (e) => {
|
|
|
3115
3115
|
headers: P,
|
|
3116
3116
|
withCredentials: $ = "same-origin",
|
|
3117
3117
|
fetchOptions: _
|
|
3118
|
-
} =
|
|
3118
|
+
} = fo(f), R = t || fetch;
|
|
3119
3119
|
T = T ? (T + "").toLowerCase() : "text";
|
|
3120
3120
|
let D = Ol([C, N && N.toAbortSignal()], v), H = null;
|
|
3121
3121
|
const B = D && D.unsubscribe && (() => {
|
|
@@ -3169,7 +3169,7 @@ const ho = (e) => {
|
|
|
3169
3169
|
T = T || "text";
|
|
3170
3170
|
let x = await h[E.findKey(h, T) || "text"](M, f);
|
|
3171
3171
|
return !Y && B && B(), await new Promise((k, q) => {
|
|
3172
|
-
|
|
3172
|
+
mo(k, q, {
|
|
3173
3173
|
data: x,
|
|
3174
3174
|
headers: xe.from(M.headers),
|
|
3175
3175
|
status: M.status,
|
|
@@ -3187,7 +3187,7 @@ const ho = (e) => {
|
|
|
3187
3187
|
) : te.from(L, L && L.code, f, H);
|
|
3188
3188
|
}
|
|
3189
3189
|
};
|
|
3190
|
-
}, jl = /* @__PURE__ */ new Map(),
|
|
3190
|
+
}, jl = /* @__PURE__ */ new Map(), po = (e) => {
|
|
3191
3191
|
let t = e && e.env || {};
|
|
3192
3192
|
const { fetch: n, Request: a, Response: r } = t, o = [
|
|
3193
3193
|
a,
|
|
@@ -3199,12 +3199,12 @@ const ho = (e) => {
|
|
|
3199
3199
|
l = o[c], d = u.get(l), d === void 0 && u.set(l, d = c ? /* @__PURE__ */ new Map() : ql(t)), u = d;
|
|
3200
3200
|
return d;
|
|
3201
3201
|
};
|
|
3202
|
-
|
|
3202
|
+
po();
|
|
3203
3203
|
const Fs = {
|
|
3204
3204
|
http: sl,
|
|
3205
3205
|
xhr: Rl,
|
|
3206
3206
|
fetch: {
|
|
3207
|
-
get:
|
|
3207
|
+
get: po
|
|
3208
3208
|
}
|
|
3209
3209
|
};
|
|
3210
3210
|
E.forEach(Fs, (e, t) => {
|
|
@@ -3245,7 +3245,7 @@ function Fl(e, t) {
|
|
|
3245
3245
|
}
|
|
3246
3246
|
return r;
|
|
3247
3247
|
}
|
|
3248
|
-
const
|
|
3248
|
+
const go = {
|
|
3249
3249
|
/**
|
|
3250
3250
|
* Resolve an adapter from a list of adapter names or functions.
|
|
3251
3251
|
* @type {Function}
|
|
@@ -3265,21 +3265,21 @@ function Va(e) {
|
|
|
3265
3265
|
return is(e), e.headers = xe.from(e.headers), e.data = os.call(
|
|
3266
3266
|
e,
|
|
3267
3267
|
e.transformRequest
|
|
3268
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
3268
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), go.getAdapter(e.adapter || tn.adapter, e)(e).then(function(a) {
|
|
3269
3269
|
return is(e), a.data = os.call(
|
|
3270
3270
|
e,
|
|
3271
3271
|
e.transformResponse,
|
|
3272
3272
|
a
|
|
3273
3273
|
), a.headers = xe.from(a.headers), a;
|
|
3274
3274
|
}, function(a) {
|
|
3275
|
-
return
|
|
3275
|
+
return uo(a) || (is(e), a && a.response && (a.response.data = os.call(
|
|
3276
3276
|
e,
|
|
3277
3277
|
e.transformResponse,
|
|
3278
3278
|
a.response
|
|
3279
3279
|
), a.response.headers = xe.from(a.response.headers))), Promise.reject(a);
|
|
3280
3280
|
});
|
|
3281
3281
|
}
|
|
3282
|
-
const
|
|
3282
|
+
const bo = "1.13.2", Fn = {};
|
|
3283
3283
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
3284
3284
|
Fn[e] = function(a) {
|
|
3285
3285
|
return typeof a === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -3288,7 +3288,7 @@ const go = "1.13.2", Fn = {};
|
|
|
3288
3288
|
const za = {};
|
|
3289
3289
|
Fn.transitional = function(t, n, a) {
|
|
3290
3290
|
function r(o, i) {
|
|
3291
|
-
return "[Axios v" +
|
|
3291
|
+
return "[Axios v" + bo + "] Transitional option '" + o + "'" + i + (a ? ". " + a : "");
|
|
3292
3292
|
}
|
|
3293
3293
|
return (o, i, c) => {
|
|
3294
3294
|
if (t === !1)
|
|
@@ -3328,7 +3328,7 @@ const xn = {
|
|
|
3328
3328
|
assertOptions: Hl,
|
|
3329
3329
|
validators: Fn
|
|
3330
3330
|
}, Be = xn.validators;
|
|
3331
|
-
let
|
|
3331
|
+
let mt = class {
|
|
3332
3332
|
constructor(t) {
|
|
3333
3333
|
this.defaults = t || {}, this.interceptors = {
|
|
3334
3334
|
request: new Ra(),
|
|
@@ -3361,7 +3361,7 @@ let ht = class {
|
|
|
3361
3361
|
}
|
|
3362
3362
|
}
|
|
3363
3363
|
_request(t, n) {
|
|
3364
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
3364
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = ht(this.defaults, n);
|
|
3365
3365
|
const { transitional: a, paramsSerializer: r, headers: o } = n;
|
|
3366
3366
|
a !== void 0 && xn.assertOptions(a, {
|
|
3367
3367
|
silentJSONParsing: Be.transitional(Be.boolean),
|
|
@@ -3423,14 +3423,14 @@ let ht = class {
|
|
|
3423
3423
|
return u;
|
|
3424
3424
|
}
|
|
3425
3425
|
getUri(t) {
|
|
3426
|
-
t =
|
|
3427
|
-
const n =
|
|
3428
|
-
return
|
|
3426
|
+
t = ht(this.defaults, t);
|
|
3427
|
+
const n = ho(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
3428
|
+
return io(n, t.params, t.paramsSerializer);
|
|
3429
3429
|
}
|
|
3430
3430
|
};
|
|
3431
3431
|
E.forEach(["delete", "get", "head", "options"], function(t) {
|
|
3432
|
-
|
|
3433
|
-
return this.request(
|
|
3432
|
+
mt.prototype[t] = function(n, a) {
|
|
3433
|
+
return this.request(ht(a || {}, {
|
|
3434
3434
|
method: t,
|
|
3435
3435
|
url: n,
|
|
3436
3436
|
data: (a || {}).data
|
|
@@ -3440,7 +3440,7 @@ E.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
3440
3440
|
E.forEach(["post", "put", "patch"], function(t) {
|
|
3441
3441
|
function n(a) {
|
|
3442
3442
|
return function(o, i, c) {
|
|
3443
|
-
return this.request(
|
|
3443
|
+
return this.request(ht(c || {}, {
|
|
3444
3444
|
method: t,
|
|
3445
3445
|
headers: a ? {
|
|
3446
3446
|
"Content-Type": "multipart/form-data"
|
|
@@ -3450,9 +3450,9 @@ E.forEach(["post", "put", "patch"], function(t) {
|
|
|
3450
3450
|
}));
|
|
3451
3451
|
};
|
|
3452
3452
|
}
|
|
3453
|
-
|
|
3453
|
+
mt.prototype[t] = n(), mt.prototype[t + "Form"] = n(!0);
|
|
3454
3454
|
});
|
|
3455
|
-
let Vl = class
|
|
3455
|
+
let Vl = class wo {
|
|
3456
3456
|
constructor(t) {
|
|
3457
3457
|
if (typeof t != "function")
|
|
3458
3458
|
throw new TypeError("executor must be a function.");
|
|
@@ -3518,7 +3518,7 @@ let Vl = class bo {
|
|
|
3518
3518
|
static source() {
|
|
3519
3519
|
let t;
|
|
3520
3520
|
return {
|
|
3521
|
-
token: new
|
|
3521
|
+
token: new wo(function(r) {
|
|
3522
3522
|
t = r;
|
|
3523
3523
|
}),
|
|
3524
3524
|
cancel: t
|
|
@@ -3607,18 +3607,18 @@ const Es = {
|
|
|
3607
3607
|
Object.entries(Es).forEach(([e, t]) => {
|
|
3608
3608
|
Es[t] = e;
|
|
3609
3609
|
});
|
|
3610
|
-
function
|
|
3611
|
-
const t = new
|
|
3612
|
-
return E.extend(n,
|
|
3613
|
-
return
|
|
3610
|
+
function Ao(e) {
|
|
3611
|
+
const t = new mt(e), n = Yr(mt.prototype.request, t);
|
|
3612
|
+
return E.extend(n, mt.prototype, t, { allOwnKeys: !0 }), E.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
3613
|
+
return Ao(ht(e, r));
|
|
3614
3614
|
}, n;
|
|
3615
3615
|
}
|
|
3616
|
-
const oe =
|
|
3617
|
-
oe.Axios =
|
|
3616
|
+
const oe = Ao(tn);
|
|
3617
|
+
oe.Axios = mt;
|
|
3618
3618
|
oe.CanceledError = Tt;
|
|
3619
3619
|
oe.CancelToken = Vl;
|
|
3620
|
-
oe.isCancel =
|
|
3621
|
-
oe.VERSION =
|
|
3620
|
+
oe.isCancel = uo;
|
|
3621
|
+
oe.VERSION = bo;
|
|
3622
3622
|
oe.toFormData = Gn;
|
|
3623
3623
|
oe.AxiosError = te;
|
|
3624
3624
|
oe.Cancel = oe.CanceledError;
|
|
@@ -3627,10 +3627,10 @@ oe.all = function(t) {
|
|
|
3627
3627
|
};
|
|
3628
3628
|
oe.spread = zl;
|
|
3629
3629
|
oe.isAxiosError = $l;
|
|
3630
|
-
oe.mergeConfig =
|
|
3630
|
+
oe.mergeConfig = ht;
|
|
3631
3631
|
oe.AxiosHeaders = xe;
|
|
3632
|
-
oe.formToJSON = (e) =>
|
|
3633
|
-
oe.getAdapter =
|
|
3632
|
+
oe.formToJSON = (e) => lo(E.isHTMLForm(e) ? new FormData(e) : e);
|
|
3633
|
+
oe.getAdapter = go.getAdapter;
|
|
3634
3634
|
oe.HttpStatusCode = Es;
|
|
3635
3635
|
oe.default = oe;
|
|
3636
3636
|
const {
|
|
@@ -3703,17 +3703,17 @@ function Yl() {
|
|
|
3703
3703
|
return t <= 0 ? 0 : t;
|
|
3704
3704
|
}
|
|
3705
3705
|
async function Wa(e, t) {
|
|
3706
|
-
const n =
|
|
3706
|
+
const n = yo(e), a = performance.now();
|
|
3707
3707
|
try {
|
|
3708
3708
|
const r = await t();
|
|
3709
|
-
return
|
|
3709
|
+
return At({
|
|
3710
3710
|
...n,
|
|
3711
3711
|
outcome: "network",
|
|
3712
3712
|
durationMs: performance.now() - a,
|
|
3713
3713
|
ok: !0
|
|
3714
3714
|
}), r;
|
|
3715
3715
|
} catch (r) {
|
|
3716
|
-
throw
|
|
3716
|
+
throw At({
|
|
3717
3717
|
...n,
|
|
3718
3718
|
outcome: "network",
|
|
3719
3719
|
durationMs: performance.now() - a,
|
|
@@ -3721,20 +3721,20 @@ async function Wa(e, t) {
|
|
|
3721
3721
|
}), r;
|
|
3722
3722
|
}
|
|
3723
3723
|
}
|
|
3724
|
-
function
|
|
3725
|
-
const a =
|
|
3724
|
+
function wt(e, t, n = {}) {
|
|
3725
|
+
const a = yo(e), r = typeof n == "number" ? n : n.ttlMs ?? Yl(), o = typeof n == "number" ? void 0 : n.shouldCache, i = typeof n == "number" ? !1 : !!n.staleOnError;
|
|
3726
3726
|
if (r <= 0)
|
|
3727
3727
|
return Wa(e, t);
|
|
3728
3728
|
const c = Date.now(), l = Ie.get(e);
|
|
3729
3729
|
if (l?.value !== void 0 && l.expiresAt > c)
|
|
3730
|
-
return
|
|
3730
|
+
return At({
|
|
3731
3731
|
...a,
|
|
3732
3732
|
outcome: "cache-hit",
|
|
3733
3733
|
durationMs: 0
|
|
3734
3734
|
}), Promise.resolve(l.value);
|
|
3735
3735
|
if (l?.promise) {
|
|
3736
3736
|
if (l.expiresAt > c)
|
|
3737
|
-
return
|
|
3737
|
+
return At({
|
|
3738
3738
|
...a,
|
|
3739
3739
|
outcome: "dedup",
|
|
3740
3740
|
durationMs: 0
|
|
@@ -3747,7 +3747,7 @@ function At(e, t, n = {}) {
|
|
|
3747
3747
|
}
|
|
3748
3748
|
const d = Ie.get(e), u = d?.lastGood, h = (d?.generation ?? 0) + 1, m = Wa(e, t).then((p) => {
|
|
3749
3749
|
const f = Ie.get(e);
|
|
3750
|
-
return f?.generation !== h ? p : o && !o(p) ? (f?.generation === h && Qa(e, h, u), i && u !== void 0 ? (
|
|
3750
|
+
return f?.generation !== h ? p : o && !o(p) ? (f?.generation === h && Qa(e, h, u), i && u !== void 0 ? (At({
|
|
3751
3751
|
...a,
|
|
3752
3752
|
outcome: "stale",
|
|
3753
3753
|
durationMs: 0,
|
|
@@ -3758,7 +3758,7 @@ function At(e, t, n = {}) {
|
|
|
3758
3758
|
value: p,
|
|
3759
3759
|
lastGood: p
|
|
3760
3760
|
}), p);
|
|
3761
|
-
}).catch((p) => (Ie.get(e)?.generation === h && Qa(e, h, u), i && u !== void 0 ? (
|
|
3761
|
+
}).catch((p) => (Ie.get(e)?.generation === h && Qa(e, h, u), i && u !== void 0 ? (At({
|
|
3762
3762
|
...a,
|
|
3763
3763
|
outcome: "stale",
|
|
3764
3764
|
durationMs: 0,
|
|
@@ -3995,7 +3995,7 @@ const $t = [];
|
|
|
3995
3995
|
function Hs() {
|
|
3996
3996
|
return I().HTML_AUDIT === !0;
|
|
3997
3997
|
}
|
|
3998
|
-
function
|
|
3998
|
+
function yo(e) {
|
|
3999
3999
|
const [, t, n, ...a] = e.split(":");
|
|
4000
4000
|
return {
|
|
4001
4001
|
kind: t === "banners" ? "banners" : "menu",
|
|
@@ -4003,7 +4003,7 @@ function Ao(e) {
|
|
|
4003
4003
|
target: a.join(":")
|
|
4004
4004
|
};
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function vo(e) {
|
|
4007
4007
|
const t = e.outcome === "network" ? ` ${e.durationMs.toFixed(0)}ms` : "", n = e.outcome === "network" && e.ok === !1 ? " FAIL" : "";
|
|
4008
4008
|
return `[config-origin] ${e.outcome.toUpperCase()} ${e.origin} ${e.kind}${t}${n} → ${e.target}`;
|
|
4009
4009
|
}
|
|
@@ -4030,15 +4030,15 @@ function sd(e) {
|
|
|
4030
4030
|
` entries: ${n.length} | network: ${t.network} (avg ${o}ms) | cache-hit: ${t.cacheHit} | dedup: ${t.dedup} | stale: ${t.stale}`,
|
|
4031
4031
|
` origen: api=${t.api} bucket=${t.bucket}`,
|
|
4032
4032
|
...n.map(
|
|
4033
|
-
(i) => ` · ${
|
|
4033
|
+
(i) => ` · ${vo(i).replace("[config-origin] ", "")}`
|
|
4034
4034
|
)
|
|
4035
4035
|
);
|
|
4036
4036
|
}
|
|
4037
4037
|
return a?.rows.length && r.push(td(a)), r.length ? (r.push("────────────────────────────"), r.join(`
|
|
4038
4038
|
`)) : "[config-origin] (sin fetches de menú/banners)";
|
|
4039
4039
|
}
|
|
4040
|
-
function
|
|
4041
|
-
Hs() && ($t.push(e), console.log(
|
|
4040
|
+
function At(e) {
|
|
4041
|
+
Hs() && ($t.push(e), console.log(vo(e)));
|
|
4042
4042
|
}
|
|
4043
4043
|
function ad(e) {
|
|
4044
4044
|
return { ...nd(), comparison: e ?? null };
|
|
@@ -4105,7 +4105,7 @@ const rd = (e) => e === "/" || e === "/index.html", od = /* @__PURE__ */ new Set
|
|
|
4105
4105
|
"audio",
|
|
4106
4106
|
"video",
|
|
4107
4107
|
"portal"
|
|
4108
|
-
], cd = ["class", "dir", "lang", "title"],
|
|
4108
|
+
], cd = ["class", "dir", "lang", "title"], Co = {
|
|
4109
4109
|
a: ["href", "target", "rel", "aria-label"],
|
|
4110
4110
|
abbr: [],
|
|
4111
4111
|
b: [],
|
|
@@ -4151,7 +4151,7 @@ const rd = (e) => e === "/" || e === "/index.html", od = /* @__PURE__ */ new Set
|
|
|
4151
4151
|
const a = /^([a-z][a-z0-9+.-]*):/i.exec(n);
|
|
4152
4152
|
return a ? t.has(a[1].toLowerCase()) : !0;
|
|
4153
4153
|
}, Za = (e) => e.replace(/&(?![a-z#][a-z0-9]{0,30};)/gi, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"), Xa = /([a-z_:][\w:.-]*)\s*(?:=\s*("[^"]*"|'[^']*'|[^\s"'=<>]+))?/gi, md = (e, t) => {
|
|
4154
|
-
const n = /* @__PURE__ */ new Set([...cd, ...
|
|
4154
|
+
const n = /* @__PURE__ */ new Set([...cd, ...Co[e]]), a = [];
|
|
4155
4155
|
let r = !1, o = "";
|
|
4156
4156
|
Xa.lastIndex = 0;
|
|
4157
4157
|
let i;
|
|
@@ -4176,7 +4176,7 @@ const rd = (e) => e === "/" || e === "/index.html", od = /* @__PURE__ */ new Set
|
|
|
4176
4176
|
o = c.join(" ");
|
|
4177
4177
|
}
|
|
4178
4178
|
return o && a.push(`rel="${Za(o)}"`), a.length ? ` ${a.join(" ")}` : "";
|
|
4179
|
-
},
|
|
4179
|
+
}, No = (e) => {
|
|
4180
4180
|
let t = e;
|
|
4181
4181
|
for (const n of id)
|
|
4182
4182
|
t = t.replace(
|
|
@@ -4187,9 +4187,9 @@ const rd = (e) => e === "/" || e === "/index.html", od = /* @__PURE__ */ new Set
|
|
|
4187
4187
|
}, hd = /<(\/)?([a-z][a-z0-9]*)\b([^>]*?)(\/)?>/gi, Vs = (e) => {
|
|
4188
4188
|
if (!e) return "";
|
|
4189
4189
|
let t = String(e);
|
|
4190
|
-
return t = t.replace(/<!--[\s\S]*?-->/g, "").replace(/<!--[\s\S]*$/g, ""), t = t.replace(/<![\s\S]*?>/g, ""), t =
|
|
4190
|
+
return t = t.replace(/<!--[\s\S]*?-->/g, "").replace(/<!--[\s\S]*$/g, ""), t = t.replace(/<![\s\S]*?>/g, ""), t = No(t), t = t.replace(hd, (n, a, r, o, i) => {
|
|
4191
4191
|
const c = String(r).toLowerCase();
|
|
4192
|
-
if (!(c in
|
|
4192
|
+
if (!(c in Co)) return "";
|
|
4193
4193
|
if (a) return Ka.has(c) ? "" : `</${c}>`;
|
|
4194
4194
|
const l = md(c, String(o));
|
|
4195
4195
|
return Ka.has(c) ? `<${c}${l} />` : `<${c}${l}>`;
|
|
@@ -4243,7 +4243,7 @@ const rd = (e) => e === "/" || e === "/index.html", od = /* @__PURE__ */ new Set
|
|
|
4243
4243
|
copy: "©",
|
|
4244
4244
|
reg: "®",
|
|
4245
4245
|
trade: "™"
|
|
4246
|
-
}, pd = (e) => e ?
|
|
4246
|
+
}, pd = (e) => e ? No(String(e)).replace(/<!--[\s\S]*?-->/g, "").replace(/<(?:br|\/p|\/div|\/li|\/h[1-6]|\/blockquote)\b[^>]*>/gi, " ").replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/"/gi, '"').replace(/'/gi, "'").replace(/&#x([0-9a-f]+);/gi, (t, n) => er(t, parseInt(n, 16))).replace(/&#(\d+);/g, (t, n) => er(t, parseInt(n, 10))).replace(/&([a-zA-Z]+);/g, (t, n) => fd[n] ?? t).replace(/</gi, "<").replace(/>/gi, ">").replace(/&/gi, "&").replace(/\s+/g, " ").trim() : "";
|
|
4247
4247
|
function tr(e) {
|
|
4248
4248
|
return e.replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<");
|
|
4249
4249
|
}
|
|
@@ -4257,7 +4257,7 @@ function gd(e) {
|
|
|
4257
4257
|
function sr(e, t, n) {
|
|
4258
4258
|
return e.toLowerCase().indexOf(t, n);
|
|
4259
4259
|
}
|
|
4260
|
-
function
|
|
4260
|
+
function So(e, t, n) {
|
|
4261
4261
|
let a = 1, r = n;
|
|
4262
4262
|
const o = e.length;
|
|
4263
4263
|
for (; r < o && a > 0; ) {
|
|
@@ -4283,7 +4283,7 @@ function wd(e) {
|
|
|
4283
4283
|
let n = e;
|
|
4284
4284
|
if (t !== -1) {
|
|
4285
4285
|
const o = e.indexOf(">", t) + 1;
|
|
4286
|
-
n =
|
|
4286
|
+
n = So(e, t, o).fullBlock;
|
|
4287
4287
|
}
|
|
4288
4288
|
const a = bd(n);
|
|
4289
4289
|
if (!a) return null;
|
|
@@ -4314,7 +4314,7 @@ function yd(e, t) {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
return null;
|
|
4316
4316
|
}
|
|
4317
|
-
function
|
|
4317
|
+
function xo(e) {
|
|
4318
4318
|
if (!e || !e.includes("ck-audio-player") && !e.includes("ck-editor-audios"))
|
|
4319
4319
|
return e;
|
|
4320
4320
|
let t = "", n = 0, a = 0;
|
|
@@ -4322,7 +4322,7 @@ function So(e) {
|
|
|
4322
4322
|
const r = yd(e, a);
|
|
4323
4323
|
if (!r) break;
|
|
4324
4324
|
t += e.slice(n, r.start);
|
|
4325
|
-
const { blockEnd: o, fullBlock: i } =
|
|
4325
|
+
const { blockEnd: o, fullBlock: i } = So(e, r.start, r.tagEnd), c = wd(i);
|
|
4326
4326
|
t += c ? Ad(c.src, c.title) : i, n = o, a = o;
|
|
4327
4327
|
}
|
|
4328
4328
|
return t += e.slice(n), t;
|
|
@@ -4813,7 +4813,7 @@ const Md = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4813
4813
|
} catch (a) {
|
|
4814
4814
|
return console.error("Error fetching video schemas:", a), null;
|
|
4815
4815
|
}
|
|
4816
|
-
}, Gd = "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
|
|
4816
|
+
}, Gd = "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD", Eo = (e) => e?.startsWith("family=") ?? !1, Fd = (e) => e.fontS3Url && e.useS3Font ? { url: e.fontS3Url, isS3: !0 } : e.googleFontFamily && !Eo(e.googleFontFamily) ? { url: e.googleFontFamily, isS3: !1 } : { url: "", isS3: !0 }, Hd = (e, t, n, a) => `@font-face {
|
|
4817
4817
|
font-family: '${e.fontName}';
|
|
4818
4818
|
font-style: normal;
|
|
4819
4819
|
font-weight: ${e.fontWeight};
|
|
@@ -4856,7 +4856,7 @@ const Md = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4856
4856
|
] });
|
|
4857
4857
|
}, $d = ({ config: e }) => {
|
|
4858
4858
|
const t = e.fontDisplay ?? "swap", { url: n, isS3: a } = Fd(e);
|
|
4859
|
-
return n ? /* @__PURE__ */ s(zd, { config: e, fontUrl: n, isS3: a }) :
|
|
4859
|
+
return n ? /* @__PURE__ */ s(zd, { config: e, fontUrl: n, isS3: a }) : Eo(e.googleFontFamily) ? /* @__PURE__ */ g(Q, { children: [
|
|
4860
4860
|
/* @__PURE__ */ s("link", { rel: "preconnect", href: "https://fonts.googleapis.com" }),
|
|
4861
4861
|
/* @__PURE__ */ s(
|
|
4862
4862
|
"link",
|
|
@@ -4874,7 +4874,7 @@ const Md = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4874
4874
|
}
|
|
4875
4875
|
)
|
|
4876
4876
|
] }) : null;
|
|
4877
|
-
},
|
|
4877
|
+
}, To = {
|
|
4878
4878
|
404: () => {
|
|
4879
4879
|
},
|
|
4880
4880
|
home: () => ({
|
|
@@ -4893,7 +4893,7 @@ const Md = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4893
4893
|
"[author_replace]": e.currentNew?.authors?.[0]?.name ?? "",
|
|
4894
4894
|
"[section_replace]": e.currentNew?.info?.section?.slug ?? "",
|
|
4895
4895
|
"[tag_replace]": Vr(e.currentNew?.keywords),
|
|
4896
|
-
"[url_replace]":
|
|
4896
|
+
"[url_replace]": tc(e.internalPath ?? "")
|
|
4897
4897
|
}),
|
|
4898
4898
|
seccion: (e) => ({
|
|
4899
4899
|
"[author_replace]": "",
|
|
@@ -4973,7 +4973,7 @@ const Md = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4973
4973
|
404: () => "404",
|
|
4974
4974
|
home: () => "home",
|
|
4975
4975
|
slug: (e) => ke(e.pathname),
|
|
4976
|
-
news: (e) =>
|
|
4976
|
+
news: (e) => ec(e.pathname)?.slug,
|
|
4977
4977
|
seccion: (e) => ke(e.pathname),
|
|
4978
4978
|
tema: (e) => ke(e.pathname),
|
|
4979
4979
|
pages: (e) => ke(e.pathname),
|
|
@@ -5073,7 +5073,7 @@ class cp {
|
|
|
5073
5073
|
"bloques",
|
|
5074
5074
|
"destacado",
|
|
5075
5075
|
o
|
|
5076
|
-
), l = r.referer ?? Ct, d = `origin:destacado:bucket:${c}`, u = await
|
|
5076
|
+
), l = r.referer ?? Ct, d = `origin:destacado:bucket:${c}`, u = await wt(
|
|
5077
5077
|
d,
|
|
5078
5078
|
() => Ft(
|
|
5079
5079
|
() => zt(r.proxyUrl ?? r.url, l).get(c),
|
|
@@ -5250,8 +5250,8 @@ class cp {
|
|
|
5250
5250
|
}
|
|
5251
5251
|
}
|
|
5252
5252
|
}
|
|
5253
|
-
const
|
|
5254
|
-
function
|
|
5253
|
+
const gt = Symbol("bucket-retry-exhausted");
|
|
5254
|
+
function ko(e) {
|
|
5255
5255
|
return Array.isArray(e?.data) ? {
|
|
5256
5256
|
...e,
|
|
5257
5257
|
data: e.data.map(
|
|
@@ -5260,7 +5260,7 @@ function To(e) {
|
|
|
5260
5260
|
} : e;
|
|
5261
5261
|
}
|
|
5262
5262
|
function Me(e, t, n) {
|
|
5263
|
-
return e.get(t, { params: n }).then((a) => (a.data =
|
|
5263
|
+
return e.get(t, { params: n }).then((a) => (a.data = ko(a.data), a)).catch((a) => (console.log(`[${t}] Error: ${a.message}`), Promise.reject(a)));
|
|
5264
5264
|
}
|
|
5265
5265
|
class st {
|
|
5266
5266
|
constructor(t) {
|
|
@@ -5312,22 +5312,22 @@ class st {
|
|
|
5312
5312
|
"menu",
|
|
5313
5313
|
c,
|
|
5314
5314
|
i
|
|
5315
|
-
), d = n.referer ?? Ct, u = `origin:menu:bucket:${l}`, h = await
|
|
5315
|
+
), d = n.referer ?? Ct, u = `origin:menu:bucket:${l}`, h = await wt(
|
|
5316
5316
|
u,
|
|
5317
5317
|
() => Ft(
|
|
5318
5318
|
() => zt(n.proxyUrl ?? n.url, d).get(l),
|
|
5319
|
-
|
|
5319
|
+
gt,
|
|
5320
5320
|
{ label: "bucket:menu", endpoint: l, params: t }
|
|
5321
5321
|
),
|
|
5322
5322
|
{
|
|
5323
|
-
shouldCache: (m) => m !==
|
|
5323
|
+
shouldCache: (m) => m !== gt,
|
|
5324
5324
|
staleOnError: !0
|
|
5325
5325
|
}
|
|
5326
5326
|
);
|
|
5327
|
-
return h ===
|
|
5327
|
+
return h === gt ? (In("menu", l), a) : h;
|
|
5328
5328
|
}
|
|
5329
5329
|
const o = `origin:menu:api:${t.path ?? ""}`;
|
|
5330
|
-
return
|
|
5330
|
+
return wt(o, () => r(), {
|
|
5331
5331
|
staleOnError: !0
|
|
5332
5332
|
}).catch(() => a);
|
|
5333
5333
|
};
|
|
@@ -5380,22 +5380,22 @@ class st {
|
|
|
5380
5380
|
"banners",
|
|
5381
5381
|
d,
|
|
5382
5382
|
l
|
|
5383
|
-
), h = n.referer ?? Ct, m = `origin:banners:bucket:${u}`, p = await
|
|
5383
|
+
), h = n.referer ?? Ct, m = `origin:banners:bucket:${u}`, p = await wt(
|
|
5384
5384
|
m,
|
|
5385
5385
|
() => Ft(
|
|
5386
5386
|
() => zt(n.proxyUrl ?? n.url, h).get(u),
|
|
5387
|
-
|
|
5387
|
+
gt,
|
|
5388
5388
|
{ label: "bucket:banners", endpoint: u, params: t }
|
|
5389
5389
|
),
|
|
5390
5390
|
{
|
|
5391
|
-
shouldCache: (f) => f !==
|
|
5391
|
+
shouldCache: (f) => f !== gt,
|
|
5392
5392
|
staleOnError: !0
|
|
5393
5393
|
}
|
|
5394
5394
|
);
|
|
5395
|
-
return p ===
|
|
5395
|
+
return p === gt ? (In("banners", u), a) : p;
|
|
5396
5396
|
}
|
|
5397
5397
|
const o = t.path ? t.path : `/${this.configVersion}/banners.html`, c = `origin:banners:api:${`${this.props?.config?.servicePrefix ?? ""}${o}`}:${t.template ?? ""}`;
|
|
5398
|
-
return
|
|
5398
|
+
return wt(c, () => r(), {
|
|
5399
5399
|
staleOnError: !0
|
|
5400
5400
|
}).catch(() => a);
|
|
5401
5401
|
};
|
|
@@ -5409,14 +5409,14 @@ class st {
|
|
|
5409
5409
|
{ data: [] },
|
|
5410
5410
|
{ label: "bucket:ranking", endpoint: t }
|
|
5411
5411
|
);
|
|
5412
|
-
return
|
|
5412
|
+
return Vi(a);
|
|
5413
5413
|
};
|
|
5414
5414
|
getNews = (t) => this.props?.axiosApi.get("/news", {
|
|
5415
5415
|
params: {
|
|
5416
5416
|
...t,
|
|
5417
5417
|
exclude: `${t.exclude},pixel`
|
|
5418
5418
|
}
|
|
5419
|
-
}).then((n) => (n.data =
|
|
5419
|
+
}).then((n) => (n.data = ko(n.data), n)).catch((n) => (console.log(`[/news] Error: ${n.message}`), Promise.reject(n)));
|
|
5420
5420
|
getNewsMultimedia = (t) => this.props?.axiosApi.get("/news-items-multimedia", { params: t }).catch((n) => (console.log(`[/news-items-multimedia] Error: ${n.message}`), Promise.reject(n)));
|
|
5421
5421
|
getNewsItemsList = (t) => this.props?.axiosApi.get("/news-items-list", { params: t }).catch((n) => (console.log(`[/news-items-list] Error: ${n.message}`), Promise.reject(n)));
|
|
5422
5422
|
getNewsListPath = (t) => this.props?.axiosApi.get("/news-list-paths", { params: t }).catch((n) => (console.log(`[/news-list-paths] Error: ${n.message}`), Promise.reject(n)));
|
|
@@ -5462,7 +5462,7 @@ class st {
|
|
|
5462
5462
|
path: t,
|
|
5463
5463
|
imagesizes: n.getNewsItemsList
|
|
5464
5464
|
})
|
|
5465
|
-
]), i =
|
|
5465
|
+
]), i = bt(
|
|
5466
5466
|
r
|
|
5467
5467
|
)?.data, c = i?.[0];
|
|
5468
5468
|
let l = [];
|
|
@@ -5471,7 +5471,7 @@ class st {
|
|
|
5471
5471
|
exclude: a.getAutorInfo,
|
|
5472
5472
|
imagesizes: n.getAutorInfo
|
|
5473
5473
|
}))?.data.data ?? []);
|
|
5474
|
-
const d = Cs(c), h = (
|
|
5474
|
+
const d = Cs(c), h = (bt(o)?.data ?? [])[0]?.list?.items?.map((A) => Cs(A)), m = [];
|
|
5475
5475
|
h?.forEach((A) => {
|
|
5476
5476
|
A && A.length > 0 && A.forEach((C) => {
|
|
5477
5477
|
C.forEach((N) => {
|
|
@@ -5489,8 +5489,8 @@ class st {
|
|
|
5489
5489
|
const f = (await Promise.allSettled([
|
|
5490
5490
|
...m
|
|
5491
5491
|
])).map(
|
|
5492
|
-
(A) =>
|
|
5493
|
-
), b = await
|
|
5492
|
+
(A) => bt(A)?.data
|
|
5493
|
+
), b = await Yi(
|
|
5494
5494
|
d,
|
|
5495
5495
|
this.getNews,
|
|
5496
5496
|
`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`
|
|
@@ -5505,7 +5505,7 @@ class st {
|
|
|
5505
5505
|
news: i ?? [],
|
|
5506
5506
|
autor: l,
|
|
5507
5507
|
newsRelatedResponses: b,
|
|
5508
|
-
itemList:
|
|
5508
|
+
itemList: bt(o)?.data ?? [],
|
|
5509
5509
|
newsRelatedListResponses: f,
|
|
5510
5510
|
schemasImages: w ?? []
|
|
5511
5511
|
};
|
|
@@ -5660,7 +5660,7 @@ const ls = Symbol("bucket-retry-exhausted"), Jd = async (e, t) => {
|
|
|
5660
5660
|
"bloques",
|
|
5661
5661
|
"modulos-dinamicos",
|
|
5662
5662
|
a
|
|
5663
|
-
), o = n.referer ?? Ct, i = `origin:slots:bucket:${r}`, c = await
|
|
5663
|
+
), o = n.referer ?? Ct, i = `origin:slots:bucket:${r}`, c = await wt(
|
|
5664
5664
|
i,
|
|
5665
5665
|
() => Ft(
|
|
5666
5666
|
() => zt(n.proxyUrl ?? n.url, o).get(r),
|
|
@@ -5699,7 +5699,7 @@ const ls = Symbol("bucket-retry-exhausted"), Jd = async (e, t) => {
|
|
|
5699
5699
|
...d.map((m) => m.func({ template: "Home_" + m.slot_id }))
|
|
5700
5700
|
]), h = {};
|
|
5701
5701
|
for (let m = 0; m < u.length; m++) {
|
|
5702
|
-
const p =
|
|
5702
|
+
const p = Li(
|
|
5703
5703
|
u[m]
|
|
5704
5704
|
), f = "Home_" + (Math.floor(m / o) + 1) + "_" + (Math.floor(m % o) + 1);
|
|
5705
5705
|
p && (h[f] = { ...p });
|
|
@@ -5708,7 +5708,7 @@ const ls = Symbol("bucket-retry-exhausted"), Jd = async (e, t) => {
|
|
|
5708
5708
|
};
|
|
5709
5709
|
return I().BUCKET_ORIGIN?.slots ? Jd(c, t) : l();
|
|
5710
5710
|
}, Zd = (e) => {
|
|
5711
|
-
const t =
|
|
5711
|
+
const t = bt(e);
|
|
5712
5712
|
return t && t.data ? t.data : t;
|
|
5713
5713
|
}, up = async (e) => {
|
|
5714
5714
|
const t = await Promise.allSettled(
|
|
@@ -5783,7 +5783,7 @@ const ls = Symbol("bucket-retry-exhausted"), Jd = async (e, t) => {
|
|
|
5783
5783
|
news: (e) => {
|
|
5784
5784
|
const { meta: t, config: n, currentNew: a, schemasImages: r } = e;
|
|
5785
5785
|
if (!a) return pe(t, n);
|
|
5786
|
-
const o =
|
|
5786
|
+
const o = Xi(t, a, n, r);
|
|
5787
5787
|
return o ? { ...t, ...o } : pe(t, n);
|
|
5788
5788
|
},
|
|
5789
5789
|
seccion: async (e) => {
|
|
@@ -6703,7 +6703,7 @@ async function mp({
|
|
|
6703
6703
|
schemasCustomEndpoints: P,
|
|
6704
6704
|
configOriginAuditReport: $
|
|
6705
6705
|
}) {
|
|
6706
|
-
const _ = { ...lu, ...t }, R =
|
|
6706
|
+
const _ = { ...lu, ...t }, R = ui(r, l), D = p && p[0] && p[0].preview ? p[0] : void 0, H = he(), B = Number(w.newsListLimit) || 0, U = {
|
|
6707
6707
|
...b,
|
|
6708
6708
|
...b?.fullname === void 0 && d ? { fullname: d.info?.fullname } : {},
|
|
6709
6709
|
...b?.hasNextPage === void 0 && u ? { hasNextPage: !(u.length < B) } : {}
|
|
@@ -6720,7 +6720,7 @@ async function mp({
|
|
|
6720
6720
|
internalPath: f,
|
|
6721
6721
|
metaSource: U,
|
|
6722
6722
|
schemasImages: D
|
|
6723
|
-
}), G =
|
|
6723
|
+
}), G = sc(L), M = S || To[r]({
|
|
6724
6724
|
pathname: o,
|
|
6725
6725
|
slug: i,
|
|
6726
6726
|
config: w,
|
|
@@ -6746,11 +6746,11 @@ async function mp({
|
|
|
6746
6746
|
{
|
|
6747
6747
|
images: [
|
|
6748
6748
|
{
|
|
6749
|
-
href:
|
|
6749
|
+
href: ut() + (h.preview.sizes[0]?.url ?? ""),
|
|
6750
6750
|
media: "(min-width: 900px)"
|
|
6751
6751
|
},
|
|
6752
6752
|
{
|
|
6753
|
-
href:
|
|
6753
|
+
href: ut() + (h.preview.sizes[1]?.url ?? ""),
|
|
6754
6754
|
media: "(max-width: 900px)"
|
|
6755
6755
|
}
|
|
6756
6756
|
]
|
|
@@ -6761,7 +6761,7 @@ async function mp({
|
|
|
6761
6761
|
{
|
|
6762
6762
|
images: N.map((Y) => ({
|
|
6763
6763
|
...Y,
|
|
6764
|
-
href:
|
|
6764
|
+
href: ut() + Ki(Y.href)
|
|
6765
6765
|
}))
|
|
6766
6766
|
}
|
|
6767
6767
|
),
|
|
@@ -6823,7 +6823,7 @@ async function mp({
|
|
|
6823
6823
|
}
|
|
6824
6824
|
),
|
|
6825
6825
|
R && /* @__PURE__ */ s(
|
|
6826
|
-
|
|
6826
|
+
Qr,
|
|
6827
6827
|
{
|
|
6828
6828
|
name: "headscripts",
|
|
6829
6829
|
replaces: M,
|
|
@@ -6848,7 +6848,7 @@ const hp = ({
|
|
|
6848
6848
|
}) => {
|
|
6849
6849
|
const h = vd(c, l);
|
|
6850
6850
|
c && !c.authors && Je("GenerateBody", "currentNew.authors");
|
|
6851
|
-
const m =
|
|
6851
|
+
const m = To[t]({
|
|
6852
6852
|
pathname: a,
|
|
6853
6853
|
slug: r,
|
|
6854
6854
|
config: o,
|
|
@@ -6856,10 +6856,10 @@ const hp = ({
|
|
|
6856
6856
|
internalPath: i
|
|
6857
6857
|
}), p = n.find((C) => C.key === "event_analytics"), f = d.before.active, b = d.after.active, w = f ? d.before.customData ? d.before.customData : m : void 0, A = b ? d.after.customData ? d.after.customData : m : void 0;
|
|
6858
6858
|
return /* @__PURE__ */ g(Q, { children: [
|
|
6859
|
-
/* @__PURE__ */ s(
|
|
6859
|
+
/* @__PURE__ */ s(Qr, { name: "bodybefore", banners: n, replaces: w }),
|
|
6860
6860
|
e,
|
|
6861
6861
|
/* @__PURE__ */ s(Sd, {}),
|
|
6862
|
-
/* @__PURE__ */ s(
|
|
6862
|
+
/* @__PURE__ */ s(mi, {}),
|
|
6863
6863
|
/* @__PURE__ */ s(
|
|
6864
6864
|
Cd,
|
|
6865
6865
|
{
|
|
@@ -7277,13 +7277,13 @@ function et(e) {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
);
|
|
7279
7279
|
}
|
|
7280
|
-
const
|
|
7280
|
+
const yt = (e) => /* @__PURE__ */ s("div", { className: "su-flex su-flex-col sass-com-mid-content", children: e.children }), hu = (e) => e.replace(
|
|
7281
7281
|
/<script\b([^>]*)>/gi,
|
|
7282
7282
|
(t, n) => (
|
|
7283
7283
|
// Reemplaza o agrega type="text/deferred-banner" para que el browser no ejecute
|
|
7284
7284
|
n.includes("type=") ? `<script ${n.replace(/type\s*=\s*["'][^"']*["']/i, 'type="text/deferred-banner"')}>` : `<script ${n} type="text/deferred-banner">`
|
|
7285
7285
|
)
|
|
7286
|
-
),
|
|
7286
|
+
), vt = ({
|
|
7287
7287
|
banners: e,
|
|
7288
7288
|
index: t,
|
|
7289
7289
|
name: n,
|
|
@@ -7394,12 +7394,12 @@ const gp = async (e) => {
|
|
|
7394
7394
|
]
|
|
7395
7395
|
}
|
|
7396
7396
|
) : null;
|
|
7397
|
-
}, Un = "data-rel-ts", Qs = "data-rel-prefix", Ws = "data-rel-scope",
|
|
7398
|
-
if (!
|
|
7397
|
+
}, Un = "data-rel-ts", Qs = "data-rel-prefix", Ws = "data-rel-scope", Io = (e) => typeof e == "number" && Number.isFinite(e) && e > 0, Ze = (e, t, n = "summary") => {
|
|
7398
|
+
if (!Io(e)) return {};
|
|
7399
7399
|
const a = { [Un]: e };
|
|
7400
7400
|
return t && (a[Qs] = t), n === "note" && (a[Ws] = n), a;
|
|
7401
7401
|
}, ir = (e) => String(e).replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">"), ks = (e, t, n = "summary") => {
|
|
7402
|
-
if (!
|
|
7402
|
+
if (!Io(e)) return "";
|
|
7403
7403
|
let a = ` ${Un}="${ir(e)}"`;
|
|
7404
7404
|
return t && (a += ` ${Qs}="${ir(t)}"`), n === "note" && (a += ` ${Ws}="${n}"`), a;
|
|
7405
7405
|
}, re = (e, t) => {
|
|
@@ -7498,7 +7498,7 @@ const gp = async (e) => {
|
|
|
7498
7498
|
}, cr = (e) => {
|
|
7499
7499
|
const { PUBLIC_ENV: t } = I(), n = re("/message.svg");
|
|
7500
7500
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ s("svg", { width: "30", height: "30", viewBox: "0 0 30 30", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ s("path", { d: "M15 4C21.0751 4 26 8.92487 26 15C26 16.2691 25.5577 17.9814 24.6729 20.1367L24.502 20.5459L25.5459 24.8428C25.5943 25.042 25.5804 25.2514 25.5059 25.4424C25.3194 25.92 24.8065 26.1738 24.3223 26.0469L24.2109 26.0107L20.4648 24.5488C18.1478 25.5163 16.326 26 15 26C8.92487 26 4 21.0751 4 15C4 8.92487 8.92487 4 15 4ZM15 5.5C9.75329 5.5 5.5 9.75329 5.5 15C5.5 20.2467 9.75329 24.5 15 24.5C16.0245 24.5 17.5449 24.1124 19.5127 23.3184L20.4453 22.9316L23.8623 24.2637L22.9268 20.417L23.2715 19.6006C24.0971 17.5954 24.5 16.0455 24.5 15C24.5 9.75329 20.2467 5.5 15 5.5Z", fill: "currentColor" }) });
|
|
7501
|
-
}, Pn = "test-company",
|
|
7501
|
+
}, Pn = "test-company", ft = () => {
|
|
7502
7502
|
const { PUBLIC_LNG: e } = I();
|
|
7503
7503
|
return e === "en" ? wu : Au;
|
|
7504
7504
|
}, wu = {
|
|
@@ -7769,7 +7769,7 @@ const gp = async (e) => {
|
|
|
7769
7769
|
function vu({ noteShare: e }) {
|
|
7770
7770
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
7771
7771
|
if (!e) return null;
|
|
7772
|
-
const n =
|
|
7772
|
+
const n = ft();
|
|
7773
7773
|
return /* @__PURE__ */ g("div", { className: "sass-com-nd-socialNetworkSection sass-news-description-social-network-section", children: [
|
|
7774
7774
|
e.options?.map((a) => {
|
|
7775
7775
|
const r = yu[a];
|
|
@@ -7810,7 +7810,7 @@ function vu({ noteShare: e }) {
|
|
|
7810
7810
|
)
|
|
7811
7811
|
] });
|
|
7812
7812
|
}
|
|
7813
|
-
const
|
|
7813
|
+
const Lo = ({
|
|
7814
7814
|
subtitle: e = "",
|
|
7815
7815
|
cutSubtitle: t = !0,
|
|
7816
7816
|
fontSizeSubTitle: n,
|
|
@@ -7948,7 +7948,7 @@ const tt = (e) => {
|
|
|
7948
7948
|
) : e.main?.title?.section
|
|
7949
7949
|
),
|
|
7950
7950
|
e.config?.showsubtitle && /* @__PURE__ */ s(
|
|
7951
|
-
|
|
7951
|
+
Lo,
|
|
7952
7952
|
{
|
|
7953
7953
|
subtitle: e.main?.subtitle?.striped,
|
|
7954
7954
|
cutSubtitle: n,
|
|
@@ -7960,7 +7960,7 @@ const tt = (e) => {
|
|
|
7960
7960
|
),
|
|
7961
7961
|
C()
|
|
7962
7962
|
] });
|
|
7963
|
-
},
|
|
7963
|
+
}, Uo = (e) => /* @__PURE__ */ g(
|
|
7964
7964
|
"svg",
|
|
7965
7965
|
{
|
|
7966
7966
|
width: "43",
|
|
@@ -7982,12 +7982,12 @@ const tt = (e) => {
|
|
|
7982
7982
|
}
|
|
7983
7983
|
);
|
|
7984
7984
|
function Qn() {
|
|
7985
|
-
return I().COMPONENTS?.PlayIcon ||
|
|
7985
|
+
return I().COMPONENTS?.PlayIcon || Uo;
|
|
7986
7986
|
}
|
|
7987
|
-
function
|
|
7988
|
-
return I().COMPONENTS?.PlayIcon ||
|
|
7987
|
+
function Po() {
|
|
7988
|
+
return I().COMPONENTS?.PlayIcon || Uo;
|
|
7989
7989
|
}
|
|
7990
|
-
const
|
|
7990
|
+
const Ro = (e) => {
|
|
7991
7991
|
const { isVideo: t = !1, priorityHigh: n = !1 } = e, a = Qn(), r = e.preview.sizes;
|
|
7992
7992
|
return r ? r.length === 1 ? /* @__PURE__ */ g("figure", { className: "sass-com-img-figure", children: [
|
|
7993
7993
|
/* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
@@ -8071,7 +8071,7 @@ const Po = (e) => {
|
|
|
8071
8071
|
] }),
|
|
8072
8072
|
e.figCaption && e.figCaption !== "" && /* @__PURE__ */ s("figcaption", { children: e.figCaption })
|
|
8073
8073
|
] }) : null;
|
|
8074
|
-
},
|
|
8074
|
+
}, pt = (e) => /* @__PURE__ */ g("svg", { width: "28", height: "28", viewBox: "0 0 28 28", ...e, xmlns: "http://www.w3.org/2000/svg", children: [
|
|
8075
8075
|
/* @__PURE__ */ s("g", { clipPath: "url(#clip0_2503_6565)", children: /* @__PURE__ */ s("path", { d: "M22.1668 7.47825L20.5218 5.83325L14.0002 12.3549L7.4785 5.83325L5.8335 7.47825L12.3552 13.9999L5.8335 20.5216L7.4785 22.1666L14.0002 15.6449L20.5218 22.1666L22.1668 20.5216L15.6452 13.9999L22.1668 7.47825Z", fill: "currentColor" }) }),
|
|
8076
8076
|
/* @__PURE__ */ s("defs", { children: /* @__PURE__ */ s("clipPath", { id: "clip0_2503_6565", children: /* @__PURE__ */ s("rect", { width: "28", height: "28", fill: "currentColor" }) }) })
|
|
8077
8077
|
] }), Nu = (e) => {
|
|
@@ -8080,7 +8080,7 @@ const Po = (e) => {
|
|
|
8080
8080
|
isVideo: n = !1,
|
|
8081
8081
|
hasShadow: a = !1,
|
|
8082
8082
|
priorityHigh: r = !1
|
|
8083
|
-
} = e, o =
|
|
8083
|
+
} = e, o = Po();
|
|
8084
8084
|
let i;
|
|
8085
8085
|
const c = t?.sizes;
|
|
8086
8086
|
return c?.[0]?.url ? i = `/api/image-proxy?url=${encodeURIComponent(c[0].url)}` : i = c?.[0]?.url, c && i && i !== "invalidURL" ? /* @__PURE__ */ s("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
@@ -8106,7 +8106,7 @@ const Po = (e) => {
|
|
|
8106
8106
|
}
|
|
8107
8107
|
) })
|
|
8108
8108
|
] })
|
|
8109
|
-
] }) }) : i === "invalidURL" ? /* @__PURE__ */ s("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center", children: /* @__PURE__ */ s(
|
|
8109
|
+
] }) }) : i === "invalidURL" ? /* @__PURE__ */ s("div", { className: "sass-com-img-imageLogoPlaceholder su-flex-center", children: /* @__PURE__ */ s(pt, { style: { color: "var(--grey-100)" } }) }) : /* @__PURE__ */ s(
|
|
8110
8110
|
"div",
|
|
8111
8111
|
{
|
|
8112
8112
|
"data-hydrate": "ImageOffline",
|
|
@@ -8141,7 +8141,7 @@ const Po = (e) => {
|
|
|
8141
8141
|
...t,
|
|
8142
8142
|
sizes: o
|
|
8143
8143
|
};
|
|
8144
|
-
return /* @__PURE__ */ s(
|
|
8144
|
+
return /* @__PURE__ */ s(Ro, { ...e, preview: i });
|
|
8145
8145
|
}, Ys = (e) => {
|
|
8146
8146
|
const { itemReverseOrder: t = !1 } = e;
|
|
8147
8147
|
return /* @__PURE__ */ s(
|
|
@@ -8173,7 +8173,7 @@ const Po = (e) => {
|
|
|
8173
8173
|
{
|
|
8174
8174
|
preview: n.preview,
|
|
8175
8175
|
priorityHigh: e.priorityHigh,
|
|
8176
|
-
isVideo:
|
|
8176
|
+
isVideo: qi(n)
|
|
8177
8177
|
}
|
|
8178
8178
|
)
|
|
8179
8179
|
]
|
|
@@ -9138,7 +9138,7 @@ const Po = (e) => {
|
|
|
9138
9138
|
}
|
|
9139
9139
|
} : u.main
|
|
9140
9140
|
}), i = (e.paths?.videos ?? "").replace(/^\/+|\/+$/g, ""), c = i ? {
|
|
9141
|
-
name: e.videosSectionLabel ??
|
|
9141
|
+
name: e.videosSectionLabel ?? ft().videosSectionTitle,
|
|
9142
9142
|
slug: i,
|
|
9143
9143
|
url: `/${i}`
|
|
9144
9144
|
} : void 0, l = { videoPath: e.videoPath, videoSection: c }, d = Tn(e.content, l);
|
|
@@ -9374,10 +9374,10 @@ const Po = (e) => {
|
|
|
9374
9374
|
"path",
|
|
9375
9375
|
{
|
|
9376
9376
|
fill: "currentColor",
|
|
9377
|
-
d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6
|
|
9378
|
-
c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1
|
|
9379
|
-
c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5
|
|
9380
|
-
v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1
|
|
9377
|
+
d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6\r
|
|
9378
|
+
c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1\r
|
|
9379
|
+
c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5\r
|
|
9380
|
+
v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1\r
|
|
9381
9381
|
C25.9,18.2,25.9,18.2,25.7,18.2L25.7,18.2z`
|
|
9382
9382
|
}
|
|
9383
9383
|
) })
|
|
@@ -9569,13 +9569,13 @@ const Po = (e) => {
|
|
|
9569
9569
|
"path",
|
|
9570
9570
|
{
|
|
9571
9571
|
fill: "currentColor",
|
|
9572
|
-
d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4
|
|
9573
|
-
c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8
|
|
9574
|
-
c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9
|
|
9575
|
-
c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6
|
|
9576
|
-
c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1
|
|
9577
|
-
c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3
|
|
9578
|
-
c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4
|
|
9572
|
+
d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4\r
|
|
9573
|
+
c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8\r
|
|
9574
|
+
c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9\r
|
|
9575
|
+
c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6\r
|
|
9576
|
+
c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1\r
|
|
9577
|
+
c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3\r
|
|
9578
|
+
c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4\r
|
|
9579
9579
|
C14,21.8,13,22,12,21.8c-1.8-0.4-3-2-2.7-3.9c0.3-1.7,1.8-2.9,3.6-2.7v-1.9C12.9,13.4,12.8,13.4,12.7,13.4z`
|
|
9580
9580
|
}
|
|
9581
9581
|
) })
|
|
@@ -9601,13 +9601,13 @@ const Po = (e) => {
|
|
|
9601
9601
|
"path",
|
|
9602
9602
|
{
|
|
9603
9603
|
fill: "currentColor",
|
|
9604
|
-
d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3
|
|
9605
|
-
c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2
|
|
9606
|
-
l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5
|
|
9607
|
-
C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9
|
|
9608
|
-
c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4
|
|
9609
|
-
c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0
|
|
9610
|
-
c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5
|
|
9604
|
+
d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3\r
|
|
9605
|
+
c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2\r
|
|
9606
|
+
l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5\r
|
|
9607
|
+
C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9\r
|
|
9608
|
+
c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4\r
|
|
9609
|
+
c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0\r
|
|
9610
|
+
c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5\r
|
|
9611
9611
|
c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C19.7,17.1,19.6,17,19.4,16.9`
|
|
9612
9612
|
}
|
|
9613
9613
|
) }) })
|
|
@@ -9637,9 +9637,9 @@ const Po = (e) => {
|
|
|
9637
9637
|
"path",
|
|
9638
9638
|
{
|
|
9639
9639
|
fill: "currentColor",
|
|
9640
|
-
d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9
|
|
9641
|
-
c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4
|
|
9642
|
-
c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
|
|
9640
|
+
d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9\r
|
|
9641
|
+
c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4\r
|
|
9642
|
+
c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4\r
|
|
9643
9643
|
c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`
|
|
9644
9644
|
}
|
|
9645
9645
|
),
|
|
@@ -9662,7 +9662,7 @@ const Po = (e) => {
|
|
|
9662
9662
|
threads: (e) => /* @__PURE__ */ s(Ou, { ...e }),
|
|
9663
9663
|
pinterest: (e) => /* @__PURE__ */ s(Kn, { ...e })
|
|
9664
9664
|
}, Ap = (e) => {
|
|
9665
|
-
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i =
|
|
9665
|
+
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i = ft();
|
|
9666
9666
|
return /* @__PURE__ */ g(
|
|
9667
9667
|
"footer",
|
|
9668
9668
|
{
|
|
@@ -9897,7 +9897,7 @@ const Po = (e) => {
|
|
|
9897
9897
|
function _u({ noteShare: e }) {
|
|
9898
9898
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
9899
9899
|
if (!e) return null;
|
|
9900
|
-
const n =
|
|
9900
|
+
const n = ft();
|
|
9901
9901
|
return /* @__PURE__ */ g("div", { className: "sass-com-ja3-socialNetworkSection", children: [
|
|
9902
9902
|
e.options?.map((a) => {
|
|
9903
9903
|
const r = Mu[a];
|
|
@@ -10012,7 +10012,7 @@ const yp = (e) => {
|
|
|
10012
10012
|
),
|
|
10013
10013
|
/* @__PURE__ */ s(Q, { children: e.paginatorComponent })
|
|
10014
10014
|
] });
|
|
10015
|
-
},
|
|
10015
|
+
}, Oo = ({
|
|
10016
10016
|
homepreview: e = "imagen",
|
|
10017
10017
|
videos: t,
|
|
10018
10018
|
external: n,
|
|
@@ -10046,7 +10046,7 @@ const yp = (e) => {
|
|
|
10046
10046
|
if (!C?.code) return null;
|
|
10047
10047
|
const v = /src\s*=\s*"([^"]+)"/.exec(C.code), y = v ? v[1] : null;
|
|
10048
10048
|
if (!y) return null;
|
|
10049
|
-
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "", T =
|
|
10049
|
+
const S = a.original?.url ?? a.sizes?.[0]?.url ?? "", T = ut() ?? "", P = S.startsWith("http") || S.includes(T) || T === "" ? S : T + S;
|
|
10050
10050
|
return /* @__PURE__ */ s(
|
|
10051
10051
|
"iframe",
|
|
10052
10052
|
{
|
|
@@ -10123,7 +10123,7 @@ const yp = (e) => {
|
|
|
10123
10123
|
},
|
|
10124
10124
|
children: [
|
|
10125
10125
|
/* @__PURE__ */ s("div", { className: "sass-com-sc1-contentWrapper", children: /* @__PURE__ */ s(
|
|
10126
|
-
|
|
10126
|
+
Oo,
|
|
10127
10127
|
{
|
|
10128
10128
|
homepreview: c?.homepreview,
|
|
10129
10129
|
videos: e.videos,
|
|
@@ -10267,7 +10267,7 @@ const yp = (e) => {
|
|
|
10267
10267
|
] }), xp = (e) => /* @__PURE__ */ g("div", { className: "sass-com-cta-content", children: [
|
|
10268
10268
|
/* @__PURE__ */ s("label", { className: "sass-com-cta-label", children: e.label }),
|
|
10269
10269
|
/* @__PURE__ */ s("textarea", { className: "sass-com-cta-input", ...e })
|
|
10270
|
-
] }),
|
|
10270
|
+
] }), Bo = (e) => {
|
|
10271
10271
|
const t = Kt(e.preview);
|
|
10272
10272
|
let n = "";
|
|
10273
10273
|
return t.description && (n = t.description), t.copyright && (n = `${n} ${t.copyright}`), t.photographer && (n = `${n} ${t.photographer}`), /* @__PURE__ */ s("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ s(Te, { preview: t, isLarge: !0, priorityHigh: !0, figCaption: n }) });
|
|
@@ -10363,7 +10363,7 @@ const yp = (e) => {
|
|
|
10363
10363
|
[Ue.videoEmbedded]: Du,
|
|
10364
10364
|
[Ue.videoYouTube]: qu,
|
|
10365
10365
|
[Ue.iframe]: ju
|
|
10366
|
-
},
|
|
10366
|
+
}, Mo = ({ news: e, commonServices: t }) => {
|
|
10367
10367
|
const { config: n, info: a } = e;
|
|
10368
10368
|
n || Je("ArticulePreview", "config");
|
|
10369
10369
|
const r = n?.articlepreview, o = a?.link?.internal, i = r ? Gu[r] : null;
|
|
@@ -10383,12 +10383,12 @@ const yp = (e) => {
|
|
|
10383
10383
|
const t = e.config?.articlepreview, n = !!e.commonServices && !!t && t !== Ue.imagen && Fu.has(t);
|
|
10384
10384
|
return console.log("useArticlePreview", t, n), /* @__PURE__ */ s(Q, { children: /* @__PURE__ */ g("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
|
|
10385
10385
|
n ? /* @__PURE__ */ s(
|
|
10386
|
-
|
|
10386
|
+
Mo,
|
|
10387
10387
|
{
|
|
10388
10388
|
news: e,
|
|
10389
10389
|
commonServices: e.commonServices
|
|
10390
10390
|
}
|
|
10391
|
-
) : /* @__PURE__ */ s(
|
|
10391
|
+
) : /* @__PURE__ */ s(Bo, { preview: e.preview }),
|
|
10392
10392
|
/* @__PURE__ */ g("div", { className: "sass-com-lbh-textBox", children: [
|
|
10393
10393
|
/* @__PURE__ */ g("div", { className: "sass-com-lbh-contentBox", children: [
|
|
10394
10394
|
e?.info?.section && /* @__PURE__ */ s(
|
|
@@ -10419,9 +10419,9 @@ const yp = (e) => {
|
|
|
10419
10419
|
] })
|
|
10420
10420
|
] }) });
|
|
10421
10421
|
}, Vu = (e) => /* @__PURE__ */ s("section", { className: "sass-com-tl-content sass-liveblog-time-line", children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ g("div", { className: "sass-com-tl-contentLine", children: [
|
|
10422
|
-
/* @__PURE__ */ s("div", { className: "sass-com-tl-dateLink", children:
|
|
10422
|
+
/* @__PURE__ */ s("div", { className: "sass-com-tl-dateLink", children: xi(t.date) }),
|
|
10423
10423
|
/* @__PURE__ */ s(O, { className: "sass-com-tl-contentText", href: `#item-${n + 1}`, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
10424
|
-
] }, n)) }),
|
|
10424
|
+
] }, n)) }), _o = (e) => {
|
|
10425
10425
|
const { PUBLIC_ENV: t } = I(), n = re("/linkedin-black.svg");
|
|
10426
10426
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ s(
|
|
10427
10427
|
"svg",
|
|
@@ -10445,8 +10445,8 @@ const yp = (e) => {
|
|
|
10445
10445
|
strokeLinecap: "round",
|
|
10446
10446
|
strokeLinejoin: "round",
|
|
10447
10447
|
strokeMiterlimit: "10",
|
|
10448
|
-
d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
|
|
10449
|
-
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
|
|
10448
|
+
d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9\r
|
|
10449
|
+
H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3\r
|
|
10450
10450
|
h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
|
|
10451
10451
|
}
|
|
10452
10452
|
)
|
|
@@ -10597,7 +10597,7 @@ const yp = (e) => {
|
|
|
10597
10597
|
target: "_blank",
|
|
10598
10598
|
className: `sass-com-ah1-social-link ${a ? "sass-com-ah1-social-filled" : "sass-com-ah1-social-stroke"}`,
|
|
10599
10599
|
rel: "noreferrer",
|
|
10600
|
-
children: r ? nt(a ? "linkedin-black" : "linkedin", "LinkedIn", "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin") : a ? /* @__PURE__ */ s(
|
|
10600
|
+
children: r ? nt(a ? "linkedin-black" : "linkedin", "LinkedIn", "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin") : a ? /* @__PURE__ */ s(_o, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ s(Fe, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-linkedin", forceSVG: !0 })
|
|
10601
10601
|
}
|
|
10602
10602
|
),
|
|
10603
10603
|
y && /* @__PURE__ */ s(
|
|
@@ -10735,7 +10735,7 @@ const yp = (e) => {
|
|
|
10735
10735
|
target: "_blank",
|
|
10736
10736
|
className: a ? "sass-com-ah2-socialIconFilled" : "sass-com-ah2-socialIconStroke",
|
|
10737
10737
|
rel: "noreferrer",
|
|
10738
|
-
children: a ? /* @__PURE__ */ s(
|
|
10738
|
+
children: a ? /* @__PURE__ */ s(_o, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 }) : /* @__PURE__ */ s(Fe, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-linkedin", forceSVG: !0 })
|
|
10739
10739
|
}
|
|
10740
10740
|
),
|
|
10741
10741
|
N && /* @__PURE__ */ s(
|
|
@@ -11004,7 +11004,7 @@ const yp = (e) => {
|
|
|
11004
11004
|
}
|
|
11005
11005
|
)
|
|
11006
11006
|
}
|
|
11007
|
-
), Xu = () => /* @__PURE__ */ s("div", { className: "sass-com-sb-buttonContent", children: /* @__PURE__ */ s("label", { className: "sass-com-sb-buttonStyled", htmlFor: "side-bar-state", children: /* @__PURE__ */ s(
|
|
11007
|
+
), Xu = () => /* @__PURE__ */ s("div", { className: "sass-com-sb-buttonContent", children: /* @__PURE__ */ s("label", { className: "sass-com-sb-buttonStyled", htmlFor: "side-bar-state", children: /* @__PURE__ */ s(pt, { className: "sass-com-sb-icon" }) }) }), em = ({ action: e, placeholder: t, ariaLabel: n }) => /* @__PURE__ */ s("div", { className: "sass-com-sb-inputContent", children: /* @__PURE__ */ g("form", { className: "sass-com-sb-inputStyled", action: e, method: "GET", children: [
|
|
11008
11008
|
/* @__PURE__ */ s(
|
|
11009
11009
|
"input",
|
|
11010
11010
|
{
|
|
@@ -11130,7 +11130,7 @@ const yp = (e) => {
|
|
|
11130
11130
|
]
|
|
11131
11131
|
}
|
|
11132
11132
|
);
|
|
11133
|
-
},
|
|
11133
|
+
}, Do = (e) => /* @__PURE__ */ s("svg", { width: "27", height: "18", viewBox: "0 0 27 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ s("path", { d: "M1.5 18H25.5C26.325 18 27 17.325 27 16.5C27 15.675 26.325 15 25.5 15H1.5C0.675 15 0 15.675 0 16.5C0 17.325 0.675 18 1.5 18ZM1.5 10.5H25.5C26.325 10.5 27 9.825 27 9C27 8.175 26.325 7.5 25.5 7.5H1.5C0.675 7.5 0 8.175 0 9C0 9.825 0.675 10.5 1.5 10.5ZM0 1.5C0 2.325 0.675 3 1.5 3H25.5C26.325 3 27 2.325 27 1.5C27 0.675 26.325 0 25.5 0H1.5C0.675 0 0 0.675 0 1.5Z", fill: e.color }) }), qo = (e) => {
|
|
11134
11134
|
const { alertZone: t, id: n = "close-alert" } = e, a = () => /* @__PURE__ */ s(
|
|
11135
11135
|
O,
|
|
11136
11136
|
{
|
|
@@ -11165,14 +11165,14 @@ const yp = (e) => {
|
|
|
11165
11165
|
/* @__PURE__ */ g("div", { className: "sass-com-hlm-live", children: [
|
|
11166
11166
|
/* @__PURE__ */ s("div", { className: "sass-com-hlm-chipStyled", children: t?.entity?.description }),
|
|
11167
11167
|
e.forceShow && /* @__PURE__ */ s(a, {}),
|
|
11168
|
-
/* @__PURE__ */ s("label", { htmlFor: n, children: /* @__PURE__ */ s(
|
|
11168
|
+
/* @__PURE__ */ s("label", { htmlFor: n, children: /* @__PURE__ */ s(pt, { className: "sass-com-hlm-closeLiveStyled" }) })
|
|
11169
11169
|
] }),
|
|
11170
11170
|
/* @__PURE__ */ s(a, {})
|
|
11171
11171
|
]
|
|
11172
11172
|
}
|
|
11173
11173
|
)
|
|
11174
11174
|
] });
|
|
11175
|
-
},
|
|
11175
|
+
}, jo = (e) => {
|
|
11176
11176
|
const { cintillo: t, tapeTitle: n, socials: a } = e, r = "", o = t?.findIndex((i) => i.link === r) ?? 0;
|
|
11177
11177
|
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */ g("section", { className: "sass-com-htape-content", children: [
|
|
11178
11178
|
Array.isArray(t) && /* @__PURE__ */ g("div", { className: "sass-com-htape-tabs header-page-tape-content", children: [
|
|
@@ -11238,7 +11238,7 @@ const yp = (e) => {
|
|
|
11238
11238
|
id: "saas-header-sticky",
|
|
11239
11239
|
children: [
|
|
11240
11240
|
e.socialIcons && e.headerTape?.sticky && /* @__PURE__ */ s(
|
|
11241
|
-
|
|
11241
|
+
jo,
|
|
11242
11242
|
{
|
|
11243
11243
|
socialIcons: e.socialIcons,
|
|
11244
11244
|
cintillo: e.cintillo,
|
|
@@ -11261,7 +11261,7 @@ const yp = (e) => {
|
|
|
11261
11261
|
"aria-labelledby": "menu",
|
|
11262
11262
|
title: "menu",
|
|
11263
11263
|
children: /* @__PURE__ */ s(
|
|
11264
|
-
|
|
11264
|
+
Do,
|
|
11265
11265
|
{
|
|
11266
11266
|
className: "sass-com-h1sk-startIcon",
|
|
11267
11267
|
color: "var(--header-menu-icon-color, var(--header-icons))",
|
|
@@ -11344,7 +11344,7 @@ const yp = (e) => {
|
|
|
11344
11344
|
),
|
|
11345
11345
|
e.customComponent && e.customComponent,
|
|
11346
11346
|
!e.showAlertPop && /* @__PURE__ */ s(
|
|
11347
|
-
|
|
11347
|
+
qo,
|
|
11348
11348
|
{
|
|
11349
11349
|
alertZone: t,
|
|
11350
11350
|
forceShow: e.showAlertPop
|
|
@@ -11399,7 +11399,7 @@ const yp = (e) => {
|
|
|
11399
11399
|
children: [
|
|
11400
11400
|
e.preHeader,
|
|
11401
11401
|
e.socialIcons && e.headerTape?.static && /* @__PURE__ */ s(
|
|
11402
|
-
|
|
11402
|
+
jo,
|
|
11403
11403
|
{
|
|
11404
11404
|
socialIcons: e.socialIcons,
|
|
11405
11405
|
cintillo: e.cintillo,
|
|
@@ -11431,7 +11431,7 @@ const yp = (e) => {
|
|
|
11431
11431
|
title: "menu",
|
|
11432
11432
|
children: [
|
|
11433
11433
|
/* @__PURE__ */ s(
|
|
11434
|
-
|
|
11434
|
+
Do,
|
|
11435
11435
|
{
|
|
11436
11436
|
color: "var(--header-menu-icon-color, var(--header-icons))",
|
|
11437
11437
|
width: 27,
|
|
@@ -11513,7 +11513,7 @@ const yp = (e) => {
|
|
|
11513
11513
|
id: "content-layout",
|
|
11514
11514
|
children: [
|
|
11515
11515
|
e.showAlertPop && /* @__PURE__ */ s(
|
|
11516
|
-
|
|
11516
|
+
qo,
|
|
11517
11517
|
{
|
|
11518
11518
|
alertZone: t,
|
|
11519
11519
|
forceShow: e.showAlertPop,
|
|
@@ -12185,7 +12185,7 @@ function Pp(e) {
|
|
|
12185
12185
|
if (!y?.code) return null;
|
|
12186
12186
|
const T = /src\s*=\s*"([^"]+)"/.exec(y.code), P = T ? T[1] : null;
|
|
12187
12187
|
if (!P) return null;
|
|
12188
|
-
const $ = r.original?.url ?? r.sizes?.[0]?.url ?? "", _ =
|
|
12188
|
+
const $ = r.original?.url ?? r.sizes?.[0]?.url ?? "", _ = ut() ?? "", R = $.startsWith("http") || $.includes(_) || _ === "" ? $ : _ + $;
|
|
12189
12189
|
return /* @__PURE__ */ s(
|
|
12190
12190
|
"iframe",
|
|
12191
12191
|
{
|
|
@@ -12374,7 +12374,7 @@ const sa = {
|
|
|
12374
12374
|
function mm({ noteShare: e, GoogleProfile: t }) {
|
|
12375
12375
|
const n = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
12376
12376
|
if (!e) return null;
|
|
12377
|
-
const a = e.variant === "custom", r =
|
|
12377
|
+
const a = e.variant === "custom", r = ft();
|
|
12378
12378
|
return /* @__PURE__ */ g("div", { className: "sass-com-ja5-socialNetworkSection", children: [
|
|
12379
12379
|
e.options?.map((o) => {
|
|
12380
12380
|
const i = um[o];
|
|
@@ -12882,7 +12882,7 @@ async function gm(e) {
|
|
|
12882
12882
|
title: t?.title?.section,
|
|
12883
12883
|
href: n?.link?.url,
|
|
12884
12884
|
target: n?.link?.target,
|
|
12885
|
-
children: /* @__PURE__ */ s(
|
|
12885
|
+
children: /* @__PURE__ */ s(Ro, { preview: a, isVideo: o })
|
|
12886
12886
|
},
|
|
12887
12887
|
f
|
|
12888
12888
|
);
|
|
@@ -13119,7 +13119,7 @@ const bm = (e) => {
|
|
|
13119
13119
|
paths: a,
|
|
13120
13120
|
speculationPrerenderClass: r
|
|
13121
13121
|
}
|
|
13122
|
-
) }, i)) }),
|
|
13122
|
+
) }, i)) }), Go = (e) => {
|
|
13123
13123
|
const { SHOW_TAG_BY_SECTION: t, SUB_PUBLICATION_PREFIX_IN_ROUTES: n } = I(), a = kt(
|
|
13124
13124
|
"sass-com-bh-title",
|
|
13125
13125
|
e.speculationPrerenderClass
|
|
@@ -13181,7 +13181,7 @@ const bm = (e) => {
|
|
|
13181
13181
|
className: "su-flex su-flex-col-reverse su-overflow-hidden sass-bd-dn-headerSection",
|
|
13182
13182
|
children: [
|
|
13183
13183
|
/* @__PURE__ */ s(
|
|
13184
|
-
|
|
13184
|
+
Go,
|
|
13185
13185
|
{
|
|
13186
13186
|
mainNew: c,
|
|
13187
13187
|
goTo: e.goTo,
|
|
@@ -13190,7 +13190,7 @@ const bm = (e) => {
|
|
|
13190
13190
|
}
|
|
13191
13191
|
),
|
|
13192
13192
|
/* @__PURE__ */ s(
|
|
13193
|
-
|
|
13193
|
+
Oo,
|
|
13194
13194
|
{
|
|
13195
13195
|
homepreview: c.config?.homepreview,
|
|
13196
13196
|
videos: d.videos,
|
|
@@ -13432,58 +13432,61 @@ const Rp = (e) => {
|
|
|
13432
13432
|
] }), Cm = (e) => {
|
|
13433
13433
|
const { content: t } = e;
|
|
13434
13434
|
if (!t || t.length === 0) return;
|
|
13435
|
-
const n = (
|
|
13436
|
-
let
|
|
13437
|
-
for (let
|
|
13438
|
-
e.banners && e.bannerPositionIndex?.includes(
|
|
13439
|
-
/* @__PURE__ */ s("section", { className: n(
|
|
13440
|
-
(
|
|
13435
|
+
const n = (l) => e.hasLines && (l + 1) % 3 !== 0 ? "sass-bs-m3c-contentSeparator" : "", a = (l) => `${e.slot_id}_${l}`, r = (l) => e.legacySlotId ? `${e.legacySlotId}_${l}` : void 0, o = [];
|
|
13436
|
+
let i = 0, c = 1;
|
|
13437
|
+
for (let l = 0; l < t.length; l++) {
|
|
13438
|
+
e.banners && e.bannerPositionIndex?.includes(l) && (o.push(
|
|
13439
|
+
/* @__PURE__ */ s("section", { className: n(i), children: e.banners?.some(
|
|
13440
|
+
(m) => zr(a(c), r(c)).includes(
|
|
13441
|
+
m.key
|
|
13442
|
+
)
|
|
13441
13443
|
) && /* @__PURE__ */ s(
|
|
13442
13444
|
Ce,
|
|
13443
13445
|
{
|
|
13444
13446
|
banners: e.banners,
|
|
13445
|
-
name:
|
|
13447
|
+
name: a(c),
|
|
13448
|
+
legacy: r(c)
|
|
13446
13449
|
}
|
|
13447
|
-
) },
|
|
13448
|
-
),
|
|
13449
|
-
const
|
|
13450
|
-
t[
|
|
13450
|
+
) }, i)
|
|
13451
|
+
), i++, c++);
|
|
13452
|
+
const d = e.isVideo ? Vt(
|
|
13453
|
+
t[l],
|
|
13451
13454
|
e.showVideoTime,
|
|
13452
13455
|
e.showVideosubtitle,
|
|
13453
13456
|
e.showVideoAuthor
|
|
13454
|
-
) : t[
|
|
13455
|
-
if (!
|
|
13456
|
-
const
|
|
13457
|
-
...
|
|
13457
|
+
) : t[l];
|
|
13458
|
+
if (!d) continue;
|
|
13459
|
+
const u = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1"), h = {
|
|
13460
|
+
...d,
|
|
13458
13461
|
main: {
|
|
13459
|
-
...
|
|
13462
|
+
...d.main,
|
|
13460
13463
|
title: {
|
|
13461
|
-
...
|
|
13462
|
-
section:
|
|
13464
|
+
...d.main.title,
|
|
13465
|
+
section: u ? d.main.title.home : d.main.title.section
|
|
13463
13466
|
}
|
|
13464
13467
|
}
|
|
13465
13468
|
};
|
|
13466
|
-
|
|
13467
|
-
/* @__PURE__ */ s("section", { className: n(
|
|
13469
|
+
o.push(
|
|
13470
|
+
/* @__PURE__ */ s("section", { className: n(i), children: /* @__PURE__ */ s(
|
|
13468
13471
|
Ve,
|
|
13469
13472
|
{
|
|
13470
|
-
...
|
|
13473
|
+
...h,
|
|
13471
13474
|
isVideo: e.isVideo,
|
|
13472
13475
|
paths: e.paths,
|
|
13473
13476
|
speculationPrerenderClass: gu(
|
|
13474
|
-
|
|
13477
|
+
i,
|
|
13475
13478
|
e.speculationPrerenderClass,
|
|
13476
13479
|
e.speculationPrerender
|
|
13477
13480
|
)
|
|
13478
13481
|
}
|
|
13479
|
-
) },
|
|
13480
|
-
),
|
|
13482
|
+
) }, i)
|
|
13483
|
+
), i++;
|
|
13481
13484
|
}
|
|
13482
|
-
return
|
|
13485
|
+
return o.length === 2 && o.push(/* @__PURE__ */ s("div", {}, i)), /* @__PURE__ */ s(
|
|
13483
13486
|
"div",
|
|
13484
13487
|
{
|
|
13485
13488
|
className: `${e.hasLines ? "sass-bs-m3c-newsContentWithLines" : "sass-bs-m3c-newsContentWithoutLines"} sass-bs-m3c-newsContent`,
|
|
13486
|
-
children:
|
|
13489
|
+
children: o
|
|
13487
13490
|
}
|
|
13488
13491
|
);
|
|
13489
13492
|
};
|
|
@@ -13565,6 +13568,7 @@ const _p = (e) => {
|
|
|
13565
13568
|
content: e.content,
|
|
13566
13569
|
paths: e.paths,
|
|
13567
13570
|
slot_id: e.slot_id,
|
|
13571
|
+
legacySlotId: e.legacySlotId,
|
|
13568
13572
|
hasLines: e.hasLines,
|
|
13569
13573
|
bannerPositionIndex: e.bannerPositionIndex,
|
|
13570
13574
|
isVideo: e.isVideo,
|
|
@@ -13641,7 +13645,7 @@ const _p = (e) => {
|
|
|
13641
13645
|
return r && i && /* @__PURE__ */ g(ge, { title: n, titleUrl: e.titleUrl, children: [
|
|
13642
13646
|
/* @__PURE__ */ g("div", { className: "sass-bd-dv-headerSection", children: [
|
|
13643
13647
|
/* @__PURE__ */ s(
|
|
13644
|
-
|
|
13648
|
+
Go,
|
|
13645
13649
|
{
|
|
13646
13650
|
goTo: e.goTo,
|
|
13647
13651
|
mainNew: Vt(r),
|
|
@@ -14031,7 +14035,8 @@ const _p = (e) => {
|
|
|
14031
14035
|
Ce,
|
|
14032
14036
|
{
|
|
14033
14037
|
banners: a ?? [],
|
|
14034
|
-
name: `
|
|
14038
|
+
name: `block_${d[m + 1]}`,
|
|
14039
|
+
legacy: `block_2_${d[m + 1]}`
|
|
14035
14040
|
}
|
|
14036
14041
|
)
|
|
14037
14042
|
}
|
|
@@ -14097,7 +14102,8 @@ const _p = (e) => {
|
|
|
14097
14102
|
Ce,
|
|
14098
14103
|
{
|
|
14099
14104
|
banners: a ?? [],
|
|
14100
|
-
name: `
|
|
14105
|
+
name: `block_${d[m + 1]}`,
|
|
14106
|
+
legacy: `block_2_${d[m + 1]}`
|
|
14101
14107
|
}
|
|
14102
14108
|
) }),
|
|
14103
14109
|
/* @__PURE__ */ s(
|
|
@@ -14275,17 +14281,8 @@ const _p = (e) => {
|
|
|
14275
14281
|
);
|
|
14276
14282
|
}
|
|
14277
14283
|
}, {}),
|
|
14278
|
-
/* @__PURE__ */ s(
|
|
14279
|
-
ut,
|
|
14280
|
-
{
|
|
14281
|
-
banners: e.banners,
|
|
14282
|
-
name: "post_header",
|
|
14283
|
-
legacy: "middle_1",
|
|
14284
|
-
scope: e.scope
|
|
14285
|
-
}
|
|
14286
|
-
),
|
|
14287
14284
|
!t && e.commonServices && /* @__PURE__ */ s(
|
|
14288
|
-
|
|
14285
|
+
Mo,
|
|
14289
14286
|
{
|
|
14290
14287
|
news: e.news[0],
|
|
14291
14288
|
commonServices: e.commonServices
|
|
@@ -14331,7 +14328,7 @@ const _p = (e) => {
|
|
|
14331
14328
|
return o;
|
|
14332
14329
|
}, Dm = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), qm = (e) => {
|
|
14333
14330
|
const t = /\ssrc="\/(?!\/)(.*?)"/g;
|
|
14334
|
-
return e.replace(t, ` src="${
|
|
14331
|
+
return e.replace(t, ` src="${ut()}/$1"`);
|
|
14335
14332
|
};
|
|
14336
14333
|
function jm(e) {
|
|
14337
14334
|
if (!e) return e;
|
|
@@ -14414,7 +14411,7 @@ const Hm = async ({
|
|
|
14414
14411
|
return u = Fm(u), u = await Gm(
|
|
14415
14412
|
u,
|
|
14416
14413
|
r
|
|
14417
|
-
), u =
|
|
14414
|
+
), u = xo(u), {
|
|
14418
14415
|
...l,
|
|
14419
14416
|
body: {
|
|
14420
14417
|
...l.body,
|
|
@@ -14788,7 +14785,7 @@ const Km = (e) => /* @__PURE__ */ s(
|
|
|
14788
14785
|
function Zm({ noteShare: e }) {
|
|
14789
14786
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
14790
14787
|
if (!e) return null;
|
|
14791
|
-
const n =
|
|
14788
|
+
const n = ft();
|
|
14792
14789
|
return /* @__PURE__ */ g("div", { className: "sass-com-ja4-socialNetworkSection", children: [
|
|
14793
14790
|
e.options?.map((a) => {
|
|
14794
14791
|
const r = Jm[a];
|
|
@@ -15327,7 +15324,7 @@ async function lh(e) {
|
|
|
15327
15324
|
m,
|
|
15328
15325
|
e.texts,
|
|
15329
15326
|
a
|
|
15330
|
-
), m = await ch(m, l), m =
|
|
15327
|
+
), m = await ch(m, l), m = xo(m), m = eh(m), m = th(m);
|
|
15331
15328
|
const p = t.main?.sources ?? [], { NEWS_JOURNALIST_COMPONENT: f, CONFIG_blockDefaultTwitterHydrator: b } = I(), w = t.config?.articlepreview === Ue.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
15332
15329
|
return /* @__PURE__ */ g(Q, { children: [
|
|
15333
15330
|
o !== "liveblogs" && e.showHeaderImage ? w ? /* @__PURE__ */ s(
|
|
@@ -15337,7 +15334,7 @@ async function lh(e) {
|
|
|
15337
15334
|
newsformated: t,
|
|
15338
15335
|
internal: t.info?.link?.internal
|
|
15339
15336
|
}
|
|
15340
|
-
) : /* @__PURE__ */ s(Q, { children: /* @__PURE__ */ s(
|
|
15337
|
+
) : /* @__PURE__ */ s(Q, { children: /* @__PURE__ */ s(Bo, { preview: t.preview }) }) : null,
|
|
15341
15338
|
e.subtitleBeforeImage && t.main?.subtitle?.striped && /* @__PURE__ */ s(
|
|
15342
15339
|
"div",
|
|
15343
15340
|
{
|
|
@@ -15347,7 +15344,7 @@ async function lh(e) {
|
|
|
15347
15344
|
...o !== "liveblogs" ? e.headerSectionStyles?.common : e.headerSectionStyles?.liveblogs
|
|
15348
15345
|
},
|
|
15349
15346
|
children: /* @__PURE__ */ s(
|
|
15350
|
-
|
|
15347
|
+
Lo,
|
|
15351
15348
|
{
|
|
15352
15349
|
subtitle: t.main?.subtitle?.striped,
|
|
15353
15350
|
cutSubtitle: !1
|
|
@@ -15661,7 +15658,7 @@ const De = [
|
|
|
15661
15658
|
(e) => /[a-z]/.test(e),
|
|
15662
15659
|
(e) => /[A-Z]/.test(e),
|
|
15663
15660
|
(e) => /[^A-Za-z0-9]/.test(e)
|
|
15664
|
-
],
|
|
15661
|
+
], Fo = [
|
|
15665
15662
|
{ label: "La contraseña debe tener al menos 8 caracteres", test: De[0] },
|
|
15666
15663
|
{ label: "Usa un número", test: De[1] },
|
|
15667
15664
|
{ label: "Usa una letra minúscula", test: De[2] },
|
|
@@ -16065,7 +16062,7 @@ function Hp({
|
|
|
16065
16062
|
v("Las contraseñas no coinciden");
|
|
16066
16063
|
return;
|
|
16067
16064
|
}
|
|
16068
|
-
if (
|
|
16065
|
+
if (Fo.some(
|
|
16069
16066
|
(H) => !H.test(h)
|
|
16070
16067
|
)) {
|
|
16071
16068
|
v("La contraseña no cumple con los requisitos");
|
|
@@ -16299,7 +16296,7 @@ function Ah({
|
|
|
16299
16296
|
name: "password"
|
|
16300
16297
|
}
|
|
16301
16298
|
),
|
|
16302
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children:
|
|
16299
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: Fo.map((b, w) => {
|
|
16303
16300
|
const A = b.test(n);
|
|
16304
16301
|
return /* @__PURE__ */ g("div", { className: A ? "sass-pg-login-valid" : "sass-pg-login-invalid", children: [
|
|
16305
16302
|
/* @__PURE__ */ s("div", { children: A ? "✔" : "○" }),
|
|
@@ -16409,7 +16406,7 @@ const zp = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
16409
16406
|
hasShadow: a = !1,
|
|
16410
16407
|
BackDropAuxHeigthMobile: r
|
|
16411
16408
|
//isVisible,
|
|
16412
|
-
} = e, o =
|
|
16409
|
+
} = e, o = Po(), i = Ht(() => {
|
|
16413
16410
|
const m = e?.preview?.sizes;
|
|
16414
16411
|
if (m && Array.isArray(m) && m.length > 0) return m;
|
|
16415
16412
|
const p = e?.preview?.original;
|
|
@@ -16855,7 +16852,7 @@ const Th = (e) => {
|
|
|
16855
16852
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: n })
|
|
16856
16853
|
] })
|
|
16857
16854
|
] }) });
|
|
16858
|
-
},
|
|
16855
|
+
}, Ho = async (e, t) => {
|
|
16859
16856
|
if (Re(t)) return !0;
|
|
16860
16857
|
if (!e) return !1;
|
|
16861
16858
|
const { CAPTCHA_PROJECT: n, CAPTCHA_KEY_V2: a, COMMENTS_CAPTCHA_API_KEY: r } = t;
|
|
@@ -16896,7 +16893,7 @@ async function $p({
|
|
|
16896
16893
|
);
|
|
16897
16894
|
if (typeof e != "string" || typeof t != "string" || typeof n != "string" || typeof a != "string" || !d && typeof o != "string")
|
|
16898
16895
|
throw new Error("Todos los parámetros deben ser strings");
|
|
16899
|
-
if (!await
|
|
16896
|
+
if (!await Ho(o, l))
|
|
16900
16897
|
throw new Error("Token de captcha inválido");
|
|
16901
16898
|
if (!i)
|
|
16902
16899
|
throw new Error("Falta el token de API del CMS");
|
|
@@ -16968,7 +16965,7 @@ const ts = (e, t, n) => {
|
|
|
16968
16965
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
16969
16966
|
const a = e.current?.value || "", r = a.length > Xe, { PUBLIC_ENV: o } = n, c = o === "local" || Re(n), l = a.trim() !== "" && (c || t !== "") && !r, d = r ? `No debes exceder el limite de ${Xe} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
16970
16967
|
return { boolean: l, text: d };
|
|
16971
|
-
},
|
|
16968
|
+
}, Vo = (e) => {
|
|
16972
16969
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
16973
16970
|
if (!t) return [];
|
|
16974
16971
|
try {
|
|
@@ -16977,7 +16974,7 @@ const ts = (e, t, n) => {
|
|
|
16977
16974
|
return [];
|
|
16978
16975
|
}
|
|
16979
16976
|
}, Uh = (e, t) => {
|
|
16980
|
-
const n =
|
|
16977
|
+
const n = Vo(e);
|
|
16981
16978
|
n.includes(t) || (n.push(t), e.cookie = `reported=${encodeURIComponent(
|
|
16982
16979
|
JSON.stringify(n)
|
|
16983
16980
|
)}; path=/; max-age=${3600 * 24 * 1}`);
|
|
@@ -17202,7 +17199,7 @@ function ra() {
|
|
|
17202
17199
|
return ms = e, ms;
|
|
17203
17200
|
}
|
|
17204
17201
|
var hs, yr;
|
|
17205
|
-
function
|
|
17202
|
+
function zo() {
|
|
17206
17203
|
return yr || (yr = 1, hs = Function.call.bind(Object.prototype.hasOwnProperty)), hs;
|
|
17207
17204
|
}
|
|
17208
17205
|
var fs, vr;
|
|
@@ -17212,7 +17209,7 @@ function Mh() {
|
|
|
17212
17209
|
var e = function() {
|
|
17213
17210
|
};
|
|
17214
17211
|
if (process.env.NODE_ENV !== "production") {
|
|
17215
|
-
var t = /* @__PURE__ */ ra(), n = {}, a = /* @__PURE__ */
|
|
17212
|
+
var t = /* @__PURE__ */ ra(), n = {}, a = /* @__PURE__ */ zo();
|
|
17216
17213
|
e = function(o) {
|
|
17217
17214
|
var i = "Warning: " + o;
|
|
17218
17215
|
typeof console < "u" && console.error(i);
|
|
@@ -17258,7 +17255,7 @@ var ps, Cr;
|
|
|
17258
17255
|
function _h() {
|
|
17259
17256
|
if (Cr) return ps;
|
|
17260
17257
|
Cr = 1;
|
|
17261
|
-
var e = aa(), t = Bh(), n = /* @__PURE__ */ ra(), a = /* @__PURE__ */
|
|
17258
|
+
var e = aa(), t = Bh(), n = /* @__PURE__ */ ra(), a = /* @__PURE__ */ zo(), r = /* @__PURE__ */ Mh(), o = function() {
|
|
17262
17259
|
};
|
|
17263
17260
|
process.env.NODE_ENV !== "production" && (o = function(c) {
|
|
17264
17261
|
var l = "Warning: " + c;
|
|
@@ -17937,7 +17934,7 @@ function Kh(e, t) {
|
|
|
17937
17934
|
var p = m.forwardedRef, f = Qh(m, ["asyncScriptOnLoad", "forwardedRef"]);
|
|
17938
17935
|
return h && typeof window < "u" && (f[h] = typeof window[h] < "u" ? window[h] : void 0), f.ref = p, rt(a, f);
|
|
17939
17936
|
}, l;
|
|
17940
|
-
})(
|
|
17937
|
+
})(li), i = _r(function(c, l) {
|
|
17941
17938
|
return rt(o, Ps({}, c, {
|
|
17942
17939
|
forwardedRef: l
|
|
17943
17940
|
}));
|
|
@@ -17955,7 +17952,7 @@ function Zh() {
|
|
|
17955
17952
|
var e = Os(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
17956
17953
|
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + Rs + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + Rs + "&render=explicit";
|
|
17957
17954
|
}
|
|
17958
|
-
const
|
|
17955
|
+
const $o = Kh(Zh, {
|
|
17959
17956
|
callbackName: Rs,
|
|
17960
17957
|
globalName: Jh,
|
|
17961
17958
|
attributes: Os().nonce ? {
|
|
@@ -18002,7 +17999,7 @@ const zo = Kh(Zh, {
|
|
|
18002
17999
|
{ id: "bullying", label: d.bullying }
|
|
18003
18000
|
], N = async () => {
|
|
18004
18001
|
if (!(!m || !n)) {
|
|
18005
|
-
if (
|
|
18002
|
+
if (Vo(document).includes(n)) {
|
|
18006
18003
|
b(l.errorAlreadyReported);
|
|
18007
18004
|
return;
|
|
18008
18005
|
}
|
|
@@ -18036,7 +18033,7 @@ const zo = Kh(Zh, {
|
|
|
18036
18033
|
h("form"), p(""), b(""), t();
|
|
18037
18034
|
};
|
|
18038
18035
|
return !e || !n || !r ? null : /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-popup", children: [
|
|
18039
|
-
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: v, children: /* @__PURE__ */ s(
|
|
18036
|
+
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: v, children: /* @__PURE__ */ s(pt, {}) }),
|
|
18040
18037
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-title", children: l.reportAbuseTitle }),
|
|
18041
18038
|
u === "loading" && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ s(it, {}) }),
|
|
18042
18039
|
u === "form" || u === "loading" ? /* @__PURE__ */ g(Q, { children: [
|
|
@@ -18057,7 +18054,7 @@ const zo = Kh(Zh, {
|
|
|
18057
18054
|
] }, y.id)) }),
|
|
18058
18055
|
f && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-errorMessage", children: f }),
|
|
18059
18056
|
!i && /* @__PURE__ */ s(
|
|
18060
|
-
|
|
18057
|
+
$o,
|
|
18061
18058
|
{
|
|
18062
18059
|
sitekey: o,
|
|
18063
18060
|
theme: "light",
|
|
@@ -18253,7 +18250,7 @@ const s1 = (e, t) => {
|
|
|
18253
18250
|
}
|
|
18254
18251
|
})();
|
|
18255
18252
|
}, [n]), { comments: n, setComments: a };
|
|
18256
|
-
},
|
|
18253
|
+
}, Qo = ({ username: e, date: t, DATE_CONFIG: n }) => /* @__PURE__ */ g("div", { className: "comment-header su-flex su-items-center su-relative su-flex-wrap", children: [
|
|
18257
18254
|
/* @__PURE__ */ s("span", { className: "comment-username su-font-bold su-truncate", children: e }),
|
|
18258
18255
|
/* @__PURE__ */ s("span", { className: "comment-header-dot", children: "•" }),
|
|
18259
18256
|
/* @__PURE__ */ s(
|
|
@@ -18265,14 +18262,14 @@ const s1 = (e, t) => {
|
|
|
18265
18262
|
children: Lh(Pe(Number(t), n))
|
|
18266
18263
|
}
|
|
18267
18264
|
)
|
|
18268
|
-
] }),
|
|
18265
|
+
] }), Wo = ({ user: e }) => /* @__PURE__ */ s("div", { className: "comment-avatar su-flex-center su-rounded-full su-font-bold su-overflow-hidden", children: e.picture ? /* @__PURE__ */ s(
|
|
18269
18266
|
"img",
|
|
18270
18267
|
{
|
|
18271
18268
|
className: "comment-avatar-img su-h-full",
|
|
18272
18269
|
src: e.picture,
|
|
18273
18270
|
alt: e.username
|
|
18274
18271
|
}
|
|
18275
|
-
) : e.firstname.charAt(0).toUpperCase() }),
|
|
18272
|
+
) : e.firstname.charAt(0).toUpperCase() }), Yo = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */ g("div", { className: "comment-actions su-flex", children: [
|
|
18276
18273
|
!e && t && /* @__PURE__ */ s(
|
|
18277
18274
|
"button",
|
|
18278
18275
|
{
|
|
@@ -18354,7 +18351,7 @@ const s1 = (e, t) => {
|
|
|
18354
18351
|
const o = ts(e, t, r);
|
|
18355
18352
|
return /* @__PURE__ */ g("div", { className: "form-actions su-flex-between", children: [
|
|
18356
18353
|
!Re(r) && /* @__PURE__ */ s(
|
|
18357
|
-
|
|
18354
|
+
$o,
|
|
18358
18355
|
{
|
|
18359
18356
|
sitekey: r.CAPTCHA_KEY_V2 ?? "",
|
|
18360
18357
|
theme: "light",
|
|
@@ -18431,7 +18428,7 @@ function i1({
|
|
|
18431
18428
|
},
|
|
18432
18429
|
className: "sass-pg-cmt-lp-close",
|
|
18433
18430
|
"aria-label": o.popupCloseAriaLabel,
|
|
18434
|
-
children: /* @__PURE__ */ s(
|
|
18431
|
+
children: /* @__PURE__ */ s(pt, {})
|
|
18435
18432
|
}
|
|
18436
18433
|
)
|
|
18437
18434
|
] }),
|
|
@@ -18607,7 +18604,7 @@ const c1 = {
|
|
|
18607
18604
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Xe}`), d(!0), o();
|
|
18608
18605
|
};
|
|
18609
18606
|
return /* @__PURE__ */ g("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
18610
|
-
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: m, children: /* @__PURE__ */ s(
|
|
18607
|
+
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: m, children: /* @__PURE__ */ s(pt, {}) }),
|
|
18611
18608
|
/* @__PURE__ */ s(
|
|
18612
18609
|
ia,
|
|
18613
18610
|
{
|
|
@@ -18658,9 +18655,9 @@ const c1 = {
|
|
|
18658
18655
|
const i = { ...d1, ...o?.comentarios }, c = e.text;
|
|
18659
18656
|
let l = `${Qe.firstname} ${Qe.lastname ?? ""}`, d = Qe.username;
|
|
18660
18657
|
return e.user && (l = `${e.user.firstname} ${e.user.lastname ?? ""}`, d = e.user.username), /* @__PURE__ */ s("div", { className: "comment-item reply", children: /* @__PURE__ */ g("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
18661
|
-
/* @__PURE__ */ s(
|
|
18658
|
+
/* @__PURE__ */ s(Wo, { user: e.user ? e.user : Qe }),
|
|
18662
18659
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
18663
|
-
/* @__PURE__ */ s(
|
|
18660
|
+
/* @__PURE__ */ s(Qo, { username: l, date: e.date.time, DATE_CONFIG: r }),
|
|
18664
18661
|
/* @__PURE__ */ g("div", { className: "comment-reply-to", children: [
|
|
18665
18662
|
i.replyingToLabel,
|
|
18666
18663
|
" ",
|
|
@@ -18668,7 +18665,7 @@ const c1 = {
|
|
|
18668
18665
|
] }),
|
|
18669
18666
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: c }),
|
|
18670
18667
|
n?.username.toLowerCase() !== d.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
18671
|
-
/* @__PURE__ */ s(
|
|
18668
|
+
/* @__PURE__ */ s(Yo, { isReply: !0, onFlag: () => a(e.id) })
|
|
18672
18669
|
] })
|
|
18673
18670
|
] }) });
|
|
18674
18671
|
}, m1 = {
|
|
@@ -18686,13 +18683,13 @@ const c1 = {
|
|
|
18686
18683
|
className: "comment-header-container su-flex su-relative",
|
|
18687
18684
|
"data-hasreplies": u.reply.length > 0 ? "true" : "false",
|
|
18688
18685
|
children: [
|
|
18689
|
-
/* @__PURE__ */ s(
|
|
18686
|
+
/* @__PURE__ */ s(Wo, { user: e.user ? e.user : Qe }),
|
|
18690
18687
|
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
18691
|
-
/* @__PURE__ */ s(
|
|
18688
|
+
/* @__PURE__ */ s(Qo, { username: C, date: e.date.time, DATE_CONFIG: i }),
|
|
18692
18689
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: w }),
|
|
18693
18690
|
a?.username.toLowerCase() !== N.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
18694
18691
|
/* @__PURE__ */ s(
|
|
18695
|
-
|
|
18692
|
+
Yo,
|
|
18696
18693
|
{
|
|
18697
18694
|
onReply: () => r(e.id),
|
|
18698
18695
|
onFlag: () => o(e.id)
|
|
@@ -19051,7 +19048,7 @@ const c1 = {
|
|
|
19051
19048
|
)
|
|
19052
19049
|
] });
|
|
19053
19050
|
}, ss = async (e, t, n) => {
|
|
19054
|
-
if (Re(n)) return
|
|
19051
|
+
if (Re(n)) return di;
|
|
19055
19052
|
if (!e) throw new Error("No action provided");
|
|
19056
19053
|
if (!t) throw new Error("No site key provided");
|
|
19057
19054
|
const a = window.grecaptcha;
|
|
@@ -19117,7 +19114,7 @@ const qe = [
|
|
|
19117
19114
|
(e) => /[a-z]/.test(e),
|
|
19118
19115
|
(e) => /[A-Z]/.test(e),
|
|
19119
19116
|
(e) => /[^A-Za-z0-9]/.test(e)
|
|
19120
|
-
],
|
|
19117
|
+
], Ko = [
|
|
19121
19118
|
{ label: "La contraseña debe tener al menos 8 caracteres", test: qe[0] },
|
|
19122
19119
|
{ label: "Usa un número", test: qe[1] },
|
|
19123
19120
|
{ label: "Usa una letra minúscula", test: qe[2] },
|
|
@@ -19495,7 +19492,7 @@ function S1({
|
|
|
19495
19492
|
P("Las contraseñas no coinciden");
|
|
19496
19493
|
return;
|
|
19497
19494
|
}
|
|
19498
|
-
if (
|
|
19495
|
+
if (Ko.some(
|
|
19499
19496
|
(B) => !B.test(b)
|
|
19500
19497
|
)) {
|
|
19501
19498
|
P("La contraseña no cumple con los requisitos");
|
|
@@ -19719,7 +19716,7 @@ function T1({
|
|
|
19719
19716
|
name: "password"
|
|
19720
19717
|
}
|
|
19721
19718
|
),
|
|
19722
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-passwordChecker", children:
|
|
19719
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-passwordChecker", children: Ko.map((b, w) => {
|
|
19723
19720
|
const A = b.test(n);
|
|
19724
19721
|
return /* @__PURE__ */ g("div", { className: A ? "sass-pg-cmt-lp-valid" : "sass-pg-cmt-lp-invalid", children: [
|
|
19725
19722
|
/* @__PURE__ */ s("div", { children: A ? "✔" : "○" }),
|
|
@@ -19815,7 +19812,7 @@ function I1({
|
|
|
19815
19812
|
onClick: t,
|
|
19816
19813
|
className: "sass-pg-cmt-lp-close",
|
|
19817
19814
|
"aria-label": "Cerrar",
|
|
19818
|
-
children: /* @__PURE__ */ s(
|
|
19815
|
+
children: /* @__PURE__ */ s(pt, {})
|
|
19819
19816
|
}
|
|
19820
19817
|
)
|
|
19821
19818
|
] }),
|
|
@@ -19988,7 +19985,7 @@ const Wp = ({
|
|
|
19988
19985
|
API_ENV: n,
|
|
19989
19986
|
texts: a
|
|
19990
19987
|
}) => {
|
|
19991
|
-
const r = ue.useMemo(() =>
|
|
19988
|
+
const r = ue.useMemo(() => Wr(n), [n]);
|
|
19992
19989
|
return ue.useEffect(() => {
|
|
19993
19990
|
if (!document || Re(r)) return;
|
|
19994
19991
|
if (document.getElementById("recaptcha-enterprise-script")) return console.log("recaptcha already appended");
|
|
@@ -20025,7 +20022,7 @@ const Wp = ({
|
|
|
20025
20022
|
isVisible: !0,
|
|
20026
20023
|
paths: a,
|
|
20027
20024
|
fetchConfig: o,
|
|
20028
|
-
API_ENV:
|
|
20025
|
+
API_ENV: Wr(r)
|
|
20029
20026
|
}
|
|
20030
20027
|
)
|
|
20031
20028
|
}
|
|
@@ -20067,7 +20064,7 @@ async function Kp({
|
|
|
20067
20064
|
message: "El comentario no puede estar vacío.",
|
|
20068
20065
|
status: 400
|
|
20069
20066
|
};
|
|
20070
|
-
const u = await
|
|
20067
|
+
const u = await Ho(o, d);
|
|
20071
20068
|
if (console.log("Verifying captcha token...", u), !u)
|
|
20072
20069
|
return {
|
|
20073
20070
|
type: "error",
|
|
@@ -20517,8 +20514,8 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20517
20514
|
}
|
|
20518
20515
|
}
|
|
20519
20516
|
),
|
|
20520
|
-
/* @__PURE__ */ s(
|
|
20521
|
-
|
|
20517
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(
|
|
20518
|
+
vt,
|
|
20522
20519
|
{
|
|
20523
20520
|
banners: o,
|
|
20524
20521
|
...u(T)
|
|
@@ -20555,8 +20552,8 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20555
20552
|
}
|
|
20556
20553
|
}
|
|
20557
20554
|
),
|
|
20558
|
-
/* @__PURE__ */ s(
|
|
20559
|
-
|
|
20555
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(
|
|
20556
|
+
vt,
|
|
20560
20557
|
{
|
|
20561
20558
|
banners: o,
|
|
20562
20559
|
...u(T)
|
|
@@ -20614,7 +20611,7 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20614
20611
|
banners: a
|
|
20615
20612
|
}
|
|
20616
20613
|
),
|
|
20617
|
-
/* @__PURE__ */ s(
|
|
20614
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(vt, { banners: a, index: 1 }) }),
|
|
20618
20615
|
/* @__PURE__ */ s(
|
|
20619
20616
|
bn,
|
|
20620
20617
|
{
|
|
@@ -20623,7 +20620,7 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20623
20620
|
banners: a
|
|
20624
20621
|
}
|
|
20625
20622
|
),
|
|
20626
|
-
/* @__PURE__ */ s(
|
|
20623
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(vt, { banners: a, index: 1 }) }),
|
|
20627
20624
|
/* @__PURE__ */ s(
|
|
20628
20625
|
bn,
|
|
20629
20626
|
{
|
|
@@ -20632,7 +20629,7 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20632
20629
|
banners: a
|
|
20633
20630
|
}
|
|
20634
20631
|
),
|
|
20635
|
-
/* @__PURE__ */ s(
|
|
20632
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(vt, { banners: a, index: 1 }) }),
|
|
20636
20633
|
/* @__PURE__ */ s(
|
|
20637
20634
|
bn,
|
|
20638
20635
|
{
|
|
@@ -20642,7 +20639,7 @@ const D1 = (e) => e?.main?.title ? {
|
|
|
20642
20639
|
commonServices: r
|
|
20643
20640
|
}
|
|
20644
20641
|
),
|
|
20645
|
-
/* @__PURE__ */ s(
|
|
20642
|
+
/* @__PURE__ */ s(yt, { children: /* @__PURE__ */ s(vt, { banners: a, index: 1 }) })
|
|
20646
20643
|
] });
|
|
20647
20644
|
};
|
|
20648
20645
|
function tg({ debugCfg: e }) {
|
|
@@ -20758,25 +20755,25 @@ function F1({ error: e }) {
|
|
|
20758
20755
|
function a() {
|
|
20759
20756
|
navigator.clipboard?.writeText(JSON.stringify(e, null, 2));
|
|
20760
20757
|
}
|
|
20761
|
-
return /* @__PURE__ */ g("div", { style:
|
|
20762
|
-
/* @__PURE__ */ g("button", { onClick: () => n((r) => !r), style:
|
|
20763
|
-
/* @__PURE__ */ s("span", { style:
|
|
20764
|
-
/* @__PURE__ */ s("span", { style:
|
|
20765
|
-
e.status !== void 0 && /* @__PURE__ */ s("span", { style:
|
|
20758
|
+
return /* @__PURE__ */ g("div", { style: Jo("#1a0a0a", "#3d1a1a"), children: [
|
|
20759
|
+
/* @__PURE__ */ g("button", { onClick: () => n((r) => !r), style: Zo, children: [
|
|
20760
|
+
/* @__PURE__ */ s("span", { style: Xo, children: t ? "▼" : "▶" }),
|
|
20761
|
+
/* @__PURE__ */ s("span", { style: ri(e.layer), children: e.layer }),
|
|
20762
|
+
e.status !== void 0 && /* @__PURE__ */ s("span", { style: oi(e.status), children: e.status }),
|
|
20766
20763
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#f87171" }, children: G1(e) }),
|
|
20767
|
-
/* @__PURE__ */ g("span", { style:
|
|
20764
|
+
/* @__PURE__ */ g("span", { style: ei, children: [
|
|
20768
20765
|
e.method,
|
|
20769
20766
|
" ",
|
|
20770
20767
|
e.endpoint
|
|
20771
20768
|
] })
|
|
20772
20769
|
] }),
|
|
20773
|
-
t && /* @__PURE__ */ g("div", { style:
|
|
20770
|
+
t && /* @__PURE__ */ g("div", { style: ti, children: [
|
|
20774
20771
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
20775
20772
|
/* @__PURE__ */ s("div", { style: { fontSize: 12, color: "#f87171", marginBottom: 4 }, children: e.message }),
|
|
20776
20773
|
e.params && /* @__PURE__ */ s("pre", { style: Bs, children: JSON.stringify(e.params, null, 2) }),
|
|
20777
|
-
/* @__PURE__ */ g("div", { style:
|
|
20778
|
-
/* @__PURE__ */ s("span", { style:
|
|
20779
|
-
/* @__PURE__ */ s("button", { onClick: a, style:
|
|
20774
|
+
/* @__PURE__ */ g("div", { style: ni, children: [
|
|
20775
|
+
/* @__PURE__ */ s("span", { style: si, children: e.timestamp }),
|
|
20776
|
+
/* @__PURE__ */ s("button", { onClick: a, style: ai, children: "Copy" })
|
|
20780
20777
|
] })
|
|
20781
20778
|
] })
|
|
20782
20779
|
] });
|
|
@@ -20787,13 +20784,13 @@ function H1({ entry: e }) {
|
|
|
20787
20784
|
navigator.clipboard?.writeText(JSON.stringify(e, null, 2));
|
|
20788
20785
|
}
|
|
20789
20786
|
const r = e.service ? e.service.split(".").pop() ?? e.service : e.endpoint.split("/").filter(Boolean).pop() ?? e.endpoint;
|
|
20790
|
-
return /* @__PURE__ */ g("div", { style:
|
|
20791
|
-
/* @__PURE__ */ g("button", { onClick: () => n((o) => !o), style:
|
|
20792
|
-
/* @__PURE__ */ s("span", { style:
|
|
20793
|
-
/* @__PURE__ */ s("span", { style:
|
|
20794
|
-
/* @__PURE__ */ s("span", { style:
|
|
20787
|
+
return /* @__PURE__ */ g("div", { style: Jo("#0a1a0a", "#1a3d1a"), children: [
|
|
20788
|
+
/* @__PURE__ */ g("button", { onClick: () => n((o) => !o), style: Zo, children: [
|
|
20789
|
+
/* @__PURE__ */ s("span", { style: Xo, children: t ? "▼" : "▶" }),
|
|
20790
|
+
/* @__PURE__ */ s("span", { style: ri(e.layer), children: e.layer }),
|
|
20791
|
+
/* @__PURE__ */ s("span", { style: oi(e.status), children: e.status }),
|
|
20795
20792
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#4ade80" }, children: r }),
|
|
20796
|
-
/* @__PURE__ */ g("span", { style:
|
|
20793
|
+
/* @__PURE__ */ g("span", { style: ei, children: [
|
|
20797
20794
|
e.method,
|
|
20798
20795
|
" ",
|
|
20799
20796
|
e.endpoint
|
|
@@ -20804,7 +20801,7 @@ function H1({ entry: e }) {
|
|
|
20804
20801
|
"ms"
|
|
20805
20802
|
] })
|
|
20806
20803
|
] }),
|
|
20807
|
-
t && /* @__PURE__ */ g("div", { style:
|
|
20804
|
+
t && /* @__PURE__ */ g("div", { style: ti, children: [
|
|
20808
20805
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
20809
20806
|
e.params && /* @__PURE__ */ g(Q, { children: [
|
|
20810
20807
|
/* @__PURE__ */ s("div", { style: Pr, children: "Params" }),
|
|
@@ -20814,9 +20811,9 @@ function H1({ entry: e }) {
|
|
|
20814
20811
|
/* @__PURE__ */ s("div", { style: Pr, children: "Response" }),
|
|
20815
20812
|
/* @__PURE__ */ s("pre", { style: { ...Bs, color: "#86efac" }, children: e.responsePreview })
|
|
20816
20813
|
] }),
|
|
20817
|
-
/* @__PURE__ */ g("div", { style:
|
|
20818
|
-
/* @__PURE__ */ s("span", { style:
|
|
20819
|
-
/* @__PURE__ */ s("button", { onClick: a, style:
|
|
20814
|
+
/* @__PURE__ */ g("div", { style: ni, children: [
|
|
20815
|
+
/* @__PURE__ */ s("span", { style: si, children: e.timestamp }),
|
|
20816
|
+
/* @__PURE__ */ s("button", { onClick: a, style: ai, children: "Copy" })
|
|
20820
20817
|
] })
|
|
20821
20818
|
] })
|
|
20822
20819
|
] });
|
|
@@ -20943,7 +20940,7 @@ const K1 = {
|
|
|
20943
20940
|
cursor: "pointer",
|
|
20944
20941
|
fontSize: 13
|
|
20945
20942
|
};
|
|
20946
|
-
function
|
|
20943
|
+
function Jo(e, t) {
|
|
20947
20944
|
return {
|
|
20948
20945
|
background: e,
|
|
20949
20946
|
border: `1px solid ${t}`,
|
|
@@ -20951,7 +20948,7 @@ function Ko(e, t) {
|
|
|
20951
20948
|
padding: 10
|
|
20952
20949
|
};
|
|
20953
20950
|
}
|
|
20954
|
-
const
|
|
20951
|
+
const Zo = {
|
|
20955
20952
|
display: "flex",
|
|
20956
20953
|
alignItems: "center",
|
|
20957
20954
|
gap: 7,
|
|
@@ -20964,11 +20961,11 @@ const Jo = {
|
|
|
20964
20961
|
padding: 0,
|
|
20965
20962
|
fontSize: 13,
|
|
20966
20963
|
flexWrap: "wrap"
|
|
20967
|
-
},
|
|
20964
|
+
}, Xo = {
|
|
20968
20965
|
fontSize: 10,
|
|
20969
20966
|
color: "#aaa",
|
|
20970
20967
|
flexShrink: 0
|
|
20971
|
-
},
|
|
20968
|
+
}, ei = {
|
|
20972
20969
|
fontSize: 11,
|
|
20973
20970
|
color: "#9ca3af",
|
|
20974
20971
|
fontFamily: "ui-monospace, monospace",
|
|
@@ -20998,7 +20995,7 @@ const Jo = {
|
|
|
20998
20995
|
textOverflow: "ellipsis",
|
|
20999
20996
|
whiteSpace: "nowrap",
|
|
21000
20997
|
maxWidth: "100%"
|
|
21001
|
-
},
|
|
20998
|
+
}, ti = {
|
|
21002
20999
|
marginTop: 10,
|
|
21003
21000
|
paddingTop: 10,
|
|
21004
21001
|
borderTop: "1px solid #2a2a4e"
|
|
@@ -21019,15 +21016,15 @@ const Jo = {
|
|
|
21019
21016
|
margin: "0 0 4px",
|
|
21020
21017
|
whiteSpace: "pre-wrap",
|
|
21021
21018
|
wordBreak: "break-all"
|
|
21022
|
-
},
|
|
21019
|
+
}, ni = {
|
|
21023
21020
|
display: "flex",
|
|
21024
21021
|
justifyContent: "space-between",
|
|
21025
21022
|
alignItems: "center",
|
|
21026
21023
|
marginTop: 8
|
|
21027
|
-
},
|
|
21024
|
+
}, si = {
|
|
21028
21025
|
fontSize: 10,
|
|
21029
21026
|
color: "#6b7280"
|
|
21030
|
-
},
|
|
21027
|
+
}, ai = {
|
|
21031
21028
|
background: "#2a2a4e",
|
|
21032
21029
|
color: "#fff",
|
|
21033
21030
|
border: "1px solid #444",
|
|
@@ -21040,7 +21037,7 @@ const Jo = {
|
|
|
21040
21037
|
margin: 0,
|
|
21041
21038
|
fontSize: 13
|
|
21042
21039
|
};
|
|
21043
|
-
function
|
|
21040
|
+
function ri(e) {
|
|
21044
21041
|
return {
|
|
21045
21042
|
background: {
|
|
21046
21043
|
"axios-service": "#3498db",
|
|
@@ -21056,7 +21053,7 @@ function ai(e) {
|
|
|
21056
21053
|
flexShrink: 0
|
|
21057
21054
|
};
|
|
21058
21055
|
}
|
|
21059
|
-
function
|
|
21056
|
+
function oi(e) {
|
|
21060
21057
|
return {
|
|
21061
21058
|
background: e >= 500 ? "#c0392b" : e >= 400 ? "#e67e22" : "#27ae60",
|
|
21062
21059
|
color: "#fff",
|
|
@@ -21089,7 +21086,7 @@ const sf = {
|
|
|
21089
21086
|
}
|
|
21090
21087
|
};
|
|
21091
21088
|
function af(e) {
|
|
21092
|
-
const t = e.url || "", n =
|
|
21089
|
+
const t = e.url || "", n = ft(), a = (e.options ?? []).map((i) => {
|
|
21093
21090
|
const c = String(i).toLowerCase(), l = sf[c];
|
|
21094
21091
|
if (!l) return "";
|
|
21095
21092
|
const d = l.url(t), u = re(l.icon);
|
|
@@ -21183,7 +21180,7 @@ function ng(e, t, n, a, r = !1) {
|
|
|
21183
21180
|
}
|
|
21184
21181
|
const lf = " · ", Or = 24, df = 36e5, Br = /* @__PURE__ */ new WeakMap();
|
|
21185
21182
|
let wn, Dt;
|
|
21186
|
-
const
|
|
21183
|
+
const ii = (e) => {
|
|
21187
21184
|
const t = I().CONFIG_relativeTime;
|
|
21188
21185
|
return {
|
|
21189
21186
|
enabled: e?.enabled ?? t?.enabled ?? !1,
|
|
@@ -21200,17 +21197,17 @@ const oi = (e) => {
|
|
|
21200
21197
|
PUBLIC_LNG: (e?.PUBLIC_LNG || t.PUBLIC_LNG || mf() || "es").toLowerCase().split("-")[0],
|
|
21201
21198
|
DATE_TIMEZONE: e?.DATE_TIMEZONE || t.DATE_TIMEZONE || uf
|
|
21202
21199
|
};
|
|
21203
|
-
},
|
|
21200
|
+
}, ci = (e, t) => t === "none" ? !1 : t === "all" ? !0 : t === "notes" ? e : !e, ff = /\d{1,2}:\d{2}(?::\d{2})?\s*(?:hs?|hrs?)?\.?\s*$/i, pf = (e) => {
|
|
21204
21201
|
const t = e.match(ff);
|
|
21205
21202
|
if (!t || t.index === void 0) return;
|
|
21206
21203
|
const n = e.slice(0, t.index);
|
|
21207
21204
|
if (n.trim())
|
|
21208
21205
|
return /\s$/.test(n) ? n : n + " ";
|
|
21209
21206
|
}, gf = (e, t) => {
|
|
21210
|
-
const { original: n, isNote: a, ts: r, now: o, maxAgeHours: i } = t, c =
|
|
21207
|
+
const { original: n, isNote: a, ts: r, now: o, maxAgeHours: i } = t, c = ci(a, t.keepAbsolute), l = c ? Math.min(i, Or) : i;
|
|
21211
21208
|
if (!qr(r, o, l) || c && o - r >= Or * df)
|
|
21212
21209
|
return n;
|
|
21213
|
-
const d =
|
|
21210
|
+
const d = Ii(r, o, l, t.DATE_CONFIG);
|
|
21214
21211
|
if (c) {
|
|
21215
21212
|
const h = n.trim();
|
|
21216
21213
|
if (!h) return d;
|
|
@@ -21220,12 +21217,12 @@ const oi = (e) => {
|
|
|
21220
21217
|
return (e.getAttribute(Qs) ?? "") + d;
|
|
21221
21218
|
}, ws = (e) => {
|
|
21222
21219
|
if (typeof document > "u") return;
|
|
21223
|
-
const { enabled: t, maxAgeHours: n, scope: a, keepAbsolute: r, separator: o, root: i } =
|
|
21220
|
+
const { enabled: t, maxAgeHours: n, scope: a, keepAbsolute: r, separator: o, root: i } = ii(e);
|
|
21224
21221
|
if (!t) return;
|
|
21225
21222
|
const c = Date.now(), l = hf(e);
|
|
21226
21223
|
(i ?? document).querySelectorAll(`[${Un}]`).forEach((u) => {
|
|
21227
21224
|
const h = u.getAttribute(Ws) === "note";
|
|
21228
|
-
if (!
|
|
21225
|
+
if (!ci(h, a)) return;
|
|
21229
21226
|
const m = Number(u.getAttribute(Un));
|
|
21230
21227
|
if (!Number.isFinite(m) || m <= 0) return;
|
|
21231
21228
|
let p = Br.get(u);
|
|
@@ -21249,7 +21246,7 @@ const oi = (e) => {
|
|
|
21249
21246
|
wn !== void 0 && clearInterval(wn), wn = void 0, Dt && document.removeEventListener("visibilitychange", Dt), Dt = void 0;
|
|
21250
21247
|
};
|
|
21251
21248
|
t();
|
|
21252
|
-
const { enabled: n, refreshMs: a } =
|
|
21249
|
+
const { enabled: n, refreshMs: a } = ii(e);
|
|
21253
21250
|
return n ? (ws(e), a > 0 && (wn = setInterval(() => {
|
|
21254
21251
|
document.visibilityState === "visible" && ws(e);
|
|
21255
21252
|
}, a), Dt = () => {
|
|
@@ -21262,7 +21259,7 @@ export {
|
|
|
21262
21259
|
Ep as AutorHeader1,
|
|
21263
21260
|
Tp as AutorHeader2,
|
|
21264
21261
|
Ce as BannerAdvertising,
|
|
21265
|
-
|
|
21262
|
+
vt as BannerAdvertisingMiddle,
|
|
21266
21263
|
Yd as BannersPreconnect,
|
|
21267
21264
|
pp as CarrouselCSR,
|
|
21268
21265
|
et as CarrouselIRS,
|
|
@@ -21270,7 +21267,7 @@ export {
|
|
|
21270
21267
|
Pm as CarruselOpinion,
|
|
21271
21268
|
Wp as CommentLazyLoader,
|
|
21272
21269
|
st as CommonServices,
|
|
21273
|
-
|
|
21270
|
+
mi as Comscore,
|
|
21274
21271
|
qp as ContactInfoServer,
|
|
21275
21272
|
Np as ContactInput,
|
|
21276
21273
|
Sp as ContactSelect,
|
|
@@ -21290,13 +21287,13 @@ export {
|
|
|
21290
21287
|
Xp as DynamicComponents,
|
|
21291
21288
|
bn as DynamicMainSlot,
|
|
21292
21289
|
Tr as DynamicSlot,
|
|
21293
|
-
|
|
21290
|
+
Ri as EMPTY_PREVIEW,
|
|
21294
21291
|
Op as EditorialBlock,
|
|
21295
21292
|
Cp as ErrorComponent,
|
|
21296
21293
|
$d as Font,
|
|
21297
21294
|
Ap as Footer,
|
|
21298
21295
|
fc as FormatAfterScripts,
|
|
21299
|
-
|
|
21296
|
+
Qr as FormatScripts,
|
|
21300
21297
|
Cd as GA4,
|
|
21301
21298
|
Nd as GTM,
|
|
21302
21299
|
Wm as GalleryHeader,
|
|
@@ -21308,7 +21305,7 @@ export {
|
|
|
21308
21305
|
ju as IframeHeader,
|
|
21309
21306
|
Nu as ImageOffline,
|
|
21310
21307
|
Te as ImageOnline,
|
|
21311
|
-
|
|
21308
|
+
Ro as ImageOnlineClient,
|
|
21312
21309
|
lp as IssuuServices,
|
|
21313
21310
|
Rd as ItemListSchema,
|
|
21314
21311
|
lm as JournalistArticule2,
|
|
@@ -21323,7 +21320,7 @@ export {
|
|
|
21323
21320
|
cp as MainComponentServices,
|
|
21324
21321
|
Sd as Marfeel,
|
|
21325
21322
|
Yp as MasNoticiasLazyLoader,
|
|
21326
|
-
|
|
21323
|
+
yt as MiddleSection,
|
|
21327
21324
|
Sm as Modulo1x3,
|
|
21328
21325
|
Im as Modulo1x3Card,
|
|
21329
21326
|
xm as Modulo1x4,
|
|
@@ -21344,7 +21341,7 @@ export {
|
|
|
21344
21341
|
lr as NextPrev,
|
|
21345
21342
|
Dd as OrgList,
|
|
21346
21343
|
Ia as PreloadImages,
|
|
21347
|
-
|
|
21344
|
+
di as RECAPTCHA_DISABLED_TOKEN,
|
|
21348
21345
|
Un as RELATIVE_TIME_ATTR,
|
|
21349
21346
|
Qs as RELATIVE_TIME_PREFIX_ATTR,
|
|
21350
21347
|
Ws as RELATIVE_TIME_SCOPE_ATTR,
|
|
@@ -21385,16 +21382,16 @@ export {
|
|
|
21385
21382
|
qd as WebsiteList,
|
|
21386
21383
|
Kp as addComment,
|
|
21387
21384
|
ws as applyRelativeTime,
|
|
21388
|
-
|
|
21385
|
+
$i as assertImageSizesContract,
|
|
21389
21386
|
re as assetsImagesPrefixer,
|
|
21390
|
-
|
|
21391
|
-
|
|
21392
|
-
|
|
21387
|
+
At as auditConfigOrigin,
|
|
21388
|
+
zr as bannerKeyCandidates,
|
|
21389
|
+
ui as bannersEnabledForRequest,
|
|
21393
21390
|
Jt as bannersReplace,
|
|
21394
21391
|
Vt as becomeVideoObject,
|
|
21395
21392
|
cn as buildConfigMenuApiPath,
|
|
21396
21393
|
ot as buildTagUrl,
|
|
21397
|
-
|
|
21394
|
+
ji as buildVideoUrlFromInternal,
|
|
21398
21395
|
Cf as checkImageSizes,
|
|
21399
21396
|
Ke as cleanSchema,
|
|
21400
21397
|
rp as clearConfigOriginAudit,
|
|
@@ -21405,22 +21402,22 @@ export {
|
|
|
21405
21402
|
Je as contractWarn,
|
|
21406
21403
|
Pf as createAssessment,
|
|
21407
21404
|
Ye as cutString,
|
|
21408
|
-
|
|
21405
|
+
Wr as decodeApiEnv,
|
|
21409
21406
|
dc as emptyNewListResponse,
|
|
21410
21407
|
Bf as encodeApiEnv,
|
|
21411
21408
|
Kt as ensurePreview,
|
|
21412
21409
|
ke as extractMainSlug,
|
|
21413
21410
|
Sf as extractRealtedNews,
|
|
21414
21411
|
Cs as extractRelatedNews,
|
|
21415
|
-
|
|
21412
|
+
wt as fetchWithConfigCache,
|
|
21416
21413
|
Ds as findBanner,
|
|
21417
21414
|
td as formatConfigOriginComparisonTable,
|
|
21418
21415
|
Pe as formatDate,
|
|
21419
21416
|
yf as formatDateEdiciones,
|
|
21420
21417
|
Bn as formatDateJournalistArticule,
|
|
21421
|
-
|
|
21422
|
-
|
|
21423
|
-
|
|
21418
|
+
xi as formatDateTimeline,
|
|
21419
|
+
Xi as formatNewsMeta,
|
|
21420
|
+
Ii as formatRelativeDate,
|
|
21424
21421
|
gc as formatVideoData,
|
|
21425
21422
|
up as generalGetData,
|
|
21426
21423
|
zt as getBucketHttpClient,
|
|
@@ -21430,7 +21427,7 @@ export {
|
|
|
21430
21427
|
Yl as getConfigCacheTtlMs,
|
|
21431
21428
|
ad as getConfigOriginAuditReport,
|
|
21432
21429
|
dp as getDynamicSlots,
|
|
21433
|
-
|
|
21430
|
+
ut as getEnvironmentUrl,
|
|
21434
21431
|
xf as getEnvironmentUrlFront,
|
|
21435
21432
|
he as getFrontPrefix,
|
|
21436
21433
|
Lf as getHydratorPath,
|
|
@@ -21443,10 +21440,10 @@ export {
|
|
|
21443
21440
|
Ut as getPrevMeta,
|
|
21444
21441
|
Uf as getRelatedNewsCarrousel,
|
|
21445
21442
|
Qp as getReportReasonLabel,
|
|
21446
|
-
|
|
21447
|
-
|
|
21443
|
+
bt as getResponse,
|
|
21444
|
+
Li as getResponsePromise,
|
|
21448
21445
|
zs as getSchemas,
|
|
21449
|
-
|
|
21446
|
+
To as getScriptReplaces,
|
|
21450
21447
|
Hr as getServicePrefix,
|
|
21451
21448
|
Wd as getSlugs,
|
|
21452
21449
|
Rf as getTextsStringValue,
|
|
@@ -21458,29 +21455,29 @@ export {
|
|
|
21458
21455
|
ng as homeCardImagenToHTMLString,
|
|
21459
21456
|
Af as initLibrary,
|
|
21460
21457
|
sg as initRelativeTime,
|
|
21461
|
-
|
|
21458
|
+
xo as insertCkAudioPlayers,
|
|
21462
21459
|
Hs as isConfigOriginAuditEnabled,
|
|
21463
21460
|
rd as isHomePath,
|
|
21464
21461
|
Of as isPhotoGallery,
|
|
21465
21462
|
Re as isRecaptchaBlocked,
|
|
21466
|
-
|
|
21463
|
+
qi as isVideoContentItem,
|
|
21467
21464
|
qr as isWithinRelativeWindow,
|
|
21468
|
-
|
|
21465
|
+
sc as metadataToJSX,
|
|
21469
21466
|
Xd as metadata_defaults,
|
|
21470
21467
|
xd as new_speculationRules_home,
|
|
21471
21468
|
Td as new_speculationRules_note,
|
|
21472
21469
|
kd as new_speculationRules_noteList,
|
|
21473
21470
|
Ed as new_speculationRules_section,
|
|
21474
21471
|
We as normalizeAuthorSocialUrl,
|
|
21475
|
-
|
|
21472
|
+
Hi as normalizeRankingItem,
|
|
21476
21473
|
Tn as normalizeRankingList,
|
|
21477
|
-
|
|
21478
|
-
|
|
21474
|
+
Vi as normalizeRankingResponse,
|
|
21475
|
+
yo as parseConfigOriginCacheKey,
|
|
21479
21476
|
Vr as parseTags,
|
|
21480
|
-
|
|
21477
|
+
ec as pathnameSplit,
|
|
21481
21478
|
_s as pickBannerVariant,
|
|
21482
21479
|
Nf as printImageSizesReport,
|
|
21483
|
-
|
|
21480
|
+
Yi as processExtractedRelatedNews,
|
|
21484
21481
|
Ze as relativeTimeAttrs,
|
|
21485
21482
|
ks as relativeTimeAttrsHTML,
|
|
21486
21483
|
Qd as removePages,
|
|
@@ -21500,9 +21497,9 @@ export {
|
|
|
21500
21497
|
Ge as toISOWithTimeZone,
|
|
21501
21498
|
Gt as toPublicEditionUrl,
|
|
21502
21499
|
Ef as toPublicShareUrl,
|
|
21503
|
-
|
|
21504
|
-
|
|
21505
|
-
|
|
21500
|
+
tc as urlReplaces,
|
|
21501
|
+
Po as usePlayIcon,
|
|
21502
|
+
Ki as validateHttpUrl,
|
|
21506
21503
|
Jp as verifyCaptchaTokenEnterprise,
|
|
21507
21504
|
vf as withPreviewFallback,
|
|
21508
21505
|
kt as withSpeculationPrerenderClass
|